[jboss-svn-commits] JBL Code SVN: r16539 - in labs/jbosslabs/trunk/portal-extensions: binaries/as and 610 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Nov 12 12:19:37 EST 2007


Author: szimano
Date: 2007-11-12 12:19:26 -0500 (Mon, 12 Nov 2007)
New Revision: 16539

Added:
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/JBossORG-EULA.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/classpath.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_hpux.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_redhat.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_suse.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/probe.bat
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/probe.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.bat
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.conf
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.bat
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.bat
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsconsume.bat
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsconsume.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsprovide.bat
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsprovide.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsrunclient.bat
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsrunclient.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wstools.bat
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wstools.sh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/activation.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/antlr.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/auth.conf
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/avalon-framework.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/commons-codec.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/commons-httpclient.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/commons-logging.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/concurrent.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/ejb3-persistence.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/getopt.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/hibernate-annotations.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/hibernate-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jacorb.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/javassist.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxb-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxb-impl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxb-xjc.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxws-rt.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxws-tools.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-annotations-ejb3.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-aop-jdk50-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-aspect-jdk50-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-common-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-deployment.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-ejb3-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-ejb3x.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-iiop-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-j2ee.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-jaxrpc.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-jaxws.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-jsr77-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-remoting.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-saaj.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-serialization.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-srp-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-system-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-transaction-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-xml-binding.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossall-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbosscx-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossha-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossjmx-ant.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossmq-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbosssx-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-common.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-framework.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-jboss42.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-spi.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jmx-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jmx-invoker-adaptor-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jnp-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/log4j.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/logkit.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/mail.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/policy.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/scout.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/servlet-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/stax-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/stax-ex.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/streambuffer.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/trove.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/wsdl4j.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/wstx.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/xmlsec.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/copyright.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/README-DTD.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/XMLSchema.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application-client_1_3.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application_1_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application_1_3.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/connector_1_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/datatypes.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/ejb-jar.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/ejb-jar_2_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws_2_4.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws_3_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_3_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_3_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_4_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_4_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_3_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_4_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_4_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-ds_1_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-ds_1_5.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_3_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_4_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_4_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-subscription.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_3_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_3_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_4_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_4_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_2_4.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_3_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_3_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_4_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_4_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_1.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_3_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_3_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_4_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_4_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/security_config.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/service-ref_4_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/service-ref_4_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-app_2_2.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-app_2_3.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-facesconfig_1_0.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-facesconfig_1_1.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/binding-manager/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/binding-manager/sample-bindings.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/asapxcess-jb3.2-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/cicsr9s-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-400-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-jcc-xa-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-xa-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/derby-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/facets-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/fastobjects-jboss32-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/firebird-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/generic-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hajndi-jms-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hsqldb-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hsqldb-encrypted-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/informix-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/informix-xa-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jdatastore-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jms-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jsql-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/lido-versant-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mimer-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mimer-xa-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/msaccess-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mssql-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mssql-xa-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mysql-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/oracle-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/oracle-xa-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/pointbase-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/pointbase-xa-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/postgres-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/progress-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sapdb-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sapr3-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/solid-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sybase-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sybase-xa-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/as400-jdbc2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/conf/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/conf/jbossmq-state.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/db2-jdbc2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/derby-jdbc2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/file-state-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/mssql-jdbc2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/mysql-jdbc2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/null-persistence-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/oil-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/oracle-jdbc2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/postgres-jdbc2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/rmi-il-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/ssl-uil2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/build.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/cluster-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/sybase-jdbc2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/uil-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/ejb-management.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/deploy/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/deploy/default-ds-monitor-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/deploy/jvm-monitor-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/lib/logging-monitor.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/org/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/org/jboss/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/org/jboss/jmx/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/org/jboss/jmx/examples/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/org/jboss/jmx/examples/persistence/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/org/jboss/jmx/examples/persistence/PersistentServiceExample.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/org/jboss/jmx/examples/persistence/PersistentServiceExampleMBean.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/netboot/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/netboot/netboot.war
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/build.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/deployment-service.sar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/schema/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/schema/jboss-template-config.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/VM_global_library.vm
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/jms-queue/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/jms-queue/template-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/jms-queue/vm/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/jms-queue/vm/jms-queue.xml.vm
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/local-tx-datasource/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/local-tx-datasource/template-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/local-tx-datasource/vm/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/local-tx-datasource/vm/local-tx-datasource.vm
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/no-tx-datasource/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/no-tx-datasource/template-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/no-tx-datasource/vm/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/no-tx-datasource/vm/no-tx-datasource.vm
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/xa-datasource/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/xa-datasource/template-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/xa-datasource/vm/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/xa-datasource/vm/xa-datasource.vm
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/derby-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/entity-resolver-manager/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/entity-resolver-manager/xmlresolver-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/jboss-bindings.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/antlr.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/apache-1.1.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/apache-2.0.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/bsd.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/cddl.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/cpl-1.0.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/dom4j.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/hsqldb.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/ironsmith.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/jaxen.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/juddi.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/lgpl.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/license-info.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/oswego.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/thirdparty-licenses.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/xdoclet.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/README-SCHEMA.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application-client_1_4.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application-client_5.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application_1_4.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application_5.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/bean-deployer_1_0.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/connector_1_5.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/ejb-jar_2_1.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/ejb-jar_3_0.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_1_4.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_jaxrpc_mapping_1_1.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_web_services_1_1.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_web_services_client_1_1.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/java-properties_1_0.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_5.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_web_services_1_2.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_web_services_client_1_2.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jbxb_1_0.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jndi-binding-service_1_0.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jsp_2_0.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jsp_2_1.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/orm_1_0.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/persistence_1_0.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/security-config_4_0.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/security-config_4_1.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/user-roles_1_0.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-app_2_4.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-app_2_5.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-facesconfig_1_2.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-jsptaglibrary_2_0.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/xml.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/tests/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/tests/TESTS-TestSuites.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/jar-versions.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lgpl.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/commons-codec.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/commons-httpclient.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/commons-logging.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/concurrent.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/endorsed/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/endorsed/serializer.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/endorsed/xalan.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/endorsed/xercesImpl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/getopt.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-common.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-jmx.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-system.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-xml-binding.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/log4j-boot.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/readme.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jacorb.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-log4j.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-minimal.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jbossjta-properties.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jndi.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/login-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jbossws-roles.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jbossws-users.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jmx-console-roles.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jmx-console-users.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/standardjboss.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/standardjbosscmp-jdbc.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/AttributePersistenceService-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/ClientUserTransaction-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/JNDIView-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/Log4jService-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/NamingBean-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/NamingService-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/TransactionManagerService-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/hsqldb-jdbc-state-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/hsqldb-jdbc2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-destinations-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/http/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/http/servlet/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/http/servlet/HTTPServerILServlet.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jvm-il-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/uil2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/bsh-deployer.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/cache-invalidation-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/client-deployer-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/cluster-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/deploy-hasingleton-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/deploy.last/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/deploy.last/farm-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ear-deployer.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb-deployer.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-clustered-sfsbcache-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-entity-cache-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-interceptors-aop.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/META-INF/persistence.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/jboss-annotations-ejb3.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/jboss-ejb3.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/hsqldb-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetCredentialAction.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetPrincipalAction.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/NamingFactoryServlet.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/iiop-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/base-aop.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/trove.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-bean-deployer.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-container.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-dependency.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-microcontainer.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-ha-local-jdbc.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-ha-xa-jdbc.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-local-jdbc.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web-cluster.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web-cluster.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web-cluster.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web-cluster.sar/jboss-web-cluster.aop
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/META-INF/webserver-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/favicon.ico
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/index.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/jboss.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/manager/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/manager/xform.xsl
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/conf/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/conf/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/context.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jasper-jdt.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jbossweb-extras.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jbossweb-service.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jbossweb.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jsf-libs/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jsf-libs/jboss-faces.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jsf-libs/jsf-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jsf-libs/jsf-impl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jstl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/server.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-xa-jdbc.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossjca-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxrpc-client-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxrpc-endpoint-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jaxb-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jaxb-impl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-jaxb-intros.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-jaxrpc.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-jaxws.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-saaj.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/index.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/styles.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-core.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-native.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws.beans/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws.beans/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/policy.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/stax-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/wsdl4j.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/wstx.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/xmlsec.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jms/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jms/hajndi-jms-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jms/jms-ra.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AddressPort.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AttrResultInfo.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/OpResultInfo.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/Server.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/JMXOpsAccessControlFilter.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/DomainData.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/MBeanData.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/checkJNDI.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/bootstrap.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/clusterView.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/index.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/displayMBeans.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/displayOpResult.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/images/logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/index.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/inspectMBean.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/jboss.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/style_master.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-invoker-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jsr88-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_create_db.ddl
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_data.ddl
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_drop_db.ddl
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi-saaj.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi-service.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/classes/org/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/classes/org/jboss/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/classes/org/jboss/jaxr/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/classes/org/jboss/jaxr/juddi/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/classes/org/jboss/jaxr/juddi/JUDDIServlet.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/juddi.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/index.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/styles.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/scout.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/mail-ra.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/mail-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/console-mgr-classes.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/jcommon.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/jfreechart.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPBinding.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPClassMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorConstructorCallerChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMethodCallerChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPDefaultMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPFieldChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPFieldMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPIntroductionPointcut.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodConstructorCallerChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodMethodCallerChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EJB.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EJBModule.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EntityEjb.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/J2EEApp.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/JNDIView.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/MdbEjb.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Queue.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/ServerInfo.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Servlet.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/StatefulEjb.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/StatelessEjb.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/SysProperties.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Topic.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/TopicNavigation.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/TopicSubscriptions.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/Classloaders.bsh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/J2EEFolder.bsh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/JNDIView.bsh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/SystemFolder.bsh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-roles.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/webconsole.tld
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WebModule.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/applet.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/applet.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createSnapshot.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitor.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitorSummary.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitor.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitorSummary.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/css/dtree.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/css/jboss.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/dtree.js
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/EspressoMaker.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/bean.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/beans.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/card.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/container.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/database.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/elements32.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/flash.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/jboss.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/jndiview.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/otherimages.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/recycle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/rubiks.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/server.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/service.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/serviceset.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/servinghand.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/settings32.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/smallnet.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/spirale.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/spirale32.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/starfolder.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/base.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/cd.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/empty.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/folder.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/folderopen.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/globe.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/imgfolder.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/join.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/joinbottom.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/line.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/minus.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/minusbottom.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/musicfolder.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/nolines_minus.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/nolines_plus.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/page.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/plus.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/plusbottom.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/question.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/trash.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/index.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/listActiveAlarmTable.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/listMonitors.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageSnapshot.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageStringThresholdMonitor.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageThresholdMonitor.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/xform.xsl
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/monitoring-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/properties-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/quartz-ra.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/schedule-manager-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/scheduler-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/attributes.mib
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/attributes.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/managers.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/notifications.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/snmp-adaptor.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/sqlexception-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGenerator.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactory.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactoryMBean.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGenerator.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactory.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryService.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryServiceMBean.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/farm/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/farm/cluster-examples-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/activation.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/antlr.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/autonumber-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/avalon-framework.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bcel.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bindingservice-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bsf.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bsh-deployer.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bsh.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/cglib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-codec.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-collections.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-httpclient.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-logging.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/dom4j.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/ejb3-persistence.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/el-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hibernate-annotations.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hibernate-entitymanager.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hibernate3.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hsqldb-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hsqldb.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jacorb.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/javassist.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jaxen.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-cache-jdk50.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-common-jdbc-wrapper.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-ejb3x.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-hibernate.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-iiop.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-j2ee.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jaxrpc.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jaxws.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jca.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jsr77.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jsr88.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-management.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-monitoring.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-remoting-int.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-remoting.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-saaj.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-serialization.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-srp.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-transaction.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-vfs.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossha.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossjta-integration.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossjta.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossmq.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbosssx.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossts-common.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-common.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-framework.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-jboss42.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-spi.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jgroups.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jmx-adaptor-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jnpserver.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/joesnmp.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jpl-pattern.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jpl-util.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jsp-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/log4j-snmp-appender.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/log4j.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/mail-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/mail.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/properties-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/quartz.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/scheduler-plugin-example.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/scheduler-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/servlet-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/xmlentitymgr.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-log4j.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-minimal.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jbossjta-properties.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jndi.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/login-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jbossws-roles.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jbossws-users.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jmx-console-roles.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jmx-console-users.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/standardjboss.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/standardjbosscmp-jdbc.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/AttributePersistenceService-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/ClientUserTransaction-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/JNDIView-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/Log4jService-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/NamingBean-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/NamingService-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/TransactionManagerService-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/bsh-deployer.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/cache-invalidation-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/client-deployer-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ear-deployer.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb-deployer.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3-interceptors-aop.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/META-INF/persistence.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/jboss-annotations-ejb3.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/jboss-ejb3.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/hsqldb-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetCredentialAction.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetPrincipalAction.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/NamingFactoryServlet.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/base-aop.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/trove.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-bean-deployer.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-container.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-dependency.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-microcontainer.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-ha-local-jdbc.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-ha-xa-jdbc.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-local-jdbc.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/META-INF/webserver-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/favicon.ico
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/index.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/jboss.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/manager/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/manager/xform.xsl
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/conf/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/conf/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/conf/web.xml.old.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/context.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jasper-jdt.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jbossweb-extras.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jbossweb-service.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jbossweb.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jsf-libs/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jsf-libs/jboss-faces.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jsf-libs/jsf-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jsf-libs/jsf-impl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jstl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/server.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-xa-jdbc.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossjca-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxrpc-client-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxrpc-endpoint-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jaxb-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jaxb-impl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-jaxb-intros.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-jaxrpc.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-jaxws.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-saaj.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/index.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/styles.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-core.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-native.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws.beans/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/policy.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/stax-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/wsdl4j.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/wstx.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/xmlsec.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/hsqldb-jdbc-state-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/hsqldb-jdbc2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-destinations-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/http/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/http/servlet/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/http/servlet/HTTPServerILServlet.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jms-ds.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jms-ra.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jvm-il-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/uil2-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AddressPort.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AttrResultInfo.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/OpResultInfo.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/Server.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/JMXOpsAccessControlFilter.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/DomainData.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/MBeanData.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/checkJNDI.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/bootstrap.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/clusterView.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/index.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/displayMBeans.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/displayOpResult.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/images/logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/index.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/inspectMBean.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/jboss.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/style_master.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-invoker-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jsr88-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/mail-ra.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/mail-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/console-mgr-classes.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/jcommon.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/jfreechart.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPBinding.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPClassMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorConstructorCallerChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMethodCallerChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPDefaultMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPFieldChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPFieldMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPIntroductionPointcut.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodConstructorCallerChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodMetaData.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodMethodCallerChain.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EJB.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EJBModule.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EntityEjb.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/J2EEApp.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/JNDIView.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/MdbEjb.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Queue.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/ServerInfo.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Servlet.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/StatefulEjb.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/StatelessEjb.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/SysProperties.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Topic.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/TopicNavigation.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/TopicSubscriptions.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/Classloaders.bsh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/J2EEFolder.bsh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/JNDIView.bsh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/SystemFolder.bsh
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-roles.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/webconsole.tld
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WebModule.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/applet.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/applet.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createSnapshot.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitor.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitorSummary.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitor.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitorSummary.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/css/dtree.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/css/jboss.css
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/dtree.js
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/EspressoMaker.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/bean.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/beans.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/card.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/container.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/database.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/elements32.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/flash.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/jboss.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/jndiview.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/otherimages.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/recycle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/rubiks.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/server.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/service.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/serviceset.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/servinghand.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/settings32.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/smallnet.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/spirale.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/spirale32.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/starfolder.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/base.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/cd.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/empty.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/folder.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/folderopen.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/globe.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/imgfolder.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/join.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/joinbottom.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/line.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/minus.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/minusbottom.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/musicfolder.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/nolines_minus.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/nolines_plus.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/page.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/plus.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/plusbottom.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/question.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/trash.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/index.html
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/listActiveAlarmTable.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/listMonitors.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageSnapshot.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageStringThresholdMonitor.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageThresholdMonitor.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/xform.xsl
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/monitoring-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/properties-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/quartz-ra.rar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/schedule-manager-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/scheduler-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/sqlexception-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGenerator.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactory.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactoryMBean.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGenerator.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactory.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryService.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryServiceMBean.class
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/activation.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/antlr.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/autonumber-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bcel.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bindingservice-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bsf.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bsh-deployer.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bsh.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/cglib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-codec.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-collections.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-httpclient.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-logging.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/dom4j.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/ejb3-persistence.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/el-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hibernate-annotations.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hibernate-entitymanager.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hibernate3.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hsqldb-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hsqldb.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/javassist.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jaxen.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-cache-jdk50.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-common-jdbc-wrapper.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-ejb3x.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-hibernate.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-j2ee.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jaxrpc.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jaxws.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jca.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jsr77.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jsr88.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-management.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-monitoring.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-remoting-int.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-remoting.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-saaj.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-serialization.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-srp.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-transaction.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-vfs.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossjta-integration.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossjta.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossmq.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbosssx.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossts-common.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-common.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-framework.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-jboss42.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-spi.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jmx-adaptor-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jnpserver.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/joesnmp.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jpl-pattern.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jpl-util.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jsp-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/log4j-snmp-appender.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/log4j.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/mail-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/mail.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/properties-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/quartz.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/scheduler-plugin-example.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/scheduler-plugin.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/servlet-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/xmlentitymgr.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jboss-log4j.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jndi.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/xmdesc/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/xmdesc/NamingBean-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/xmdesc/NamingService-xmbean.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/deploy/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/jboss-management.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/jboss-minimal.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/jnpserver.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/log4j.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_en.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_es.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_fr.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_it.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/data/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/data/default-object.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/domain.hbm.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/ehcache.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/hibernate.cfg.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/domain.hbm.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/ehcache.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/hibernate.cfg.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/domain.hbm.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/ehcache.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/hibernate.cfg.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/domain.hbm.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/ehcache.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/hibernate.cfg.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/setup.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/workflow/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/workflow/ehcache.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/workflow/hibernate.cfg.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/identity-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/ldap_identity-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/profile-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/standardidentity-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/login-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/standardjboss-portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/theme/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/theme/portal-layout.tld
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/identity-config_2_6.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/jboss-app_2_6.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/jboss-portlet_2_6.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/portal-object_2_6.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/portlet-instances_2_6.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/profile-config_2_6.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/commons-collections.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/commons-fileupload.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/commons-io.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/ehcache.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/freemarker.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/javassist.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jboss-backport-concurrent.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jboss-portlet-api-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jbpm-identity.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jbpm.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-api-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-common-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-common-portal-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-core-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-format-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-identity-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-identity-sso-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-jems-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-bridge-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-federation-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-jsr168api-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-management-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-server-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-registration-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-search-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-security-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-server-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-theme-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-web-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-workflow-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portals-bridges-common.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/lib/portal-faces-loader-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/faces-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jboss-portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jboss_portal.tld
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/confirm.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPageErrorHandling.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPageLayout.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPortalErrorHandling.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPreferences.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editProperties.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editSecurity.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editTheme.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editWindowTheme.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/showPortletDetails.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/tabContainer.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/confirmDeleteInstance.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboard/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboard/dashboard.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboards.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboardsTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editContext.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPage.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageLayout.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageSecurity.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageTheme.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPortalSecurity.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPortalTheme.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editProperties.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindow.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindowSecurity.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindowTheme.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/instances.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/instancesTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objectNavigation.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objectTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objects.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/portlets.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/portletsTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/renameObject.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/newWindowTpl.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/newWindowWizardConfirm.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPage.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPortal.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPortlet.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectRegion.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-beanutils.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-digester.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-el.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-lang.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/el-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/el-ri.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-example.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jstl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/myfaces-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/myfaces-impl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-core-admin-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-faces-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portal.taglib.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portlet-instances.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Add.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_CreateInstance.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Delete.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Details.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_IsDefault.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Layout.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_MakeDefault.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_MoveDown.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_MoveUp.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Properties.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Rename.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Security.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Theme.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/msgIcon_Warning.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/objectPath_Arrow.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/pathBackground.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/pathSeparator.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/builder.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/controls.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/dragdrop.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/dyna.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/effects.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/prototype.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/scriptaculous.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/slider.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/unittest.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-aop.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/domain.hbm.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/ehcache.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/hibernate.cfg.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/ant.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/commons-collections.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jackrabbit-core.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jackrabbit-index-filters.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jboss-cache.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jcr-1.0.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jgroups.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/lucene.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/nekohtml.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/portal-cms-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/portal-core-cms-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/slf4j-log4j12.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_es.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_fr.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_it.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_pt_BR.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/default-object.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jboss-portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmcopy.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmcreatecollection.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmdelete.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmmove.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/create.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/edit.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/editbinary.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive_pickup.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive_pickup_error.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/folderlist.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/help.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/main.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/pending_items.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/searchResults.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/securenode.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/upload.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/uploadarchive.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/viewfile.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/edit.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/editor/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/editor/main.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/help.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portal-lib.tld
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portlet-instances.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/actionIcon_IsDefault.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/actionIcon_MakeDefault.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/binaryfile.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/browse.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/copy.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/createfile.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/createfolder.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/delete.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/downarrow.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/edit.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/export_archive.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/export_pickup.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/file.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/folder.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/folder_home.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/info.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/live.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/move.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/plus.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/reload.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/blank.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ar.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ca_fr.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/cz.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/de.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/dk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/el.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/es.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/fi.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/fr.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/hu.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/it.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/jp.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ko.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/nl.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/no.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/pl.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ru.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/se.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/uk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/css/advhr.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/images/advhr.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/jscripts/rule.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/de.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/se.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/uk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/rule.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/css/advimage.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/image.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/images/sample.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/jscripts/functions.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/de.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/ko.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/se.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/uk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/css/advlink.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/jscripts/functions.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/de.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/ko.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/se.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/uk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/link.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/cleanup/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/cleanup/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/cleanup/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/cleanup/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/css/contextmenu.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/images/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/css/devkit.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/css/devkit_ui.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/devkit.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/images/flip_down.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/images/flip_up.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/jscripts/devkit.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/jscripts/diff.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/images/ltr.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/images/rtl.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/emotions.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/emotions.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-cool.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-cry.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-embarassed.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-foot-in-mouth.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-frown.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-innocent.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-kiss.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-laughing.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-money-mouth.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-sealed.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-smile.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-surprised.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-tongue-out.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-undecided.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-wink.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-yell.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/jscripts/functions.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/ca_fr.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/el.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/it.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/ko.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/se.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/uk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/css/content.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/css/flash.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/flash.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/images/flash.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/jscripts/flash.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/de.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/se.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/uk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/blank.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/css/fullpage.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/fullpage.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/add.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/fullpage.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/move_down.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/move_up.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/remove.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/jscripts/fullpage.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/css/content.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/images/fullscreen.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/images/iespell.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/ca_fr.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/el.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/it.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/ko.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/se.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/uk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/css/inlinepopup.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_close.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_maximize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_minimize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_resize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/jscripts/mcwindows.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/images/insertdate.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/images/inserttime.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/ca_fr.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/el.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/it.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/ko.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/se.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/uk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/absolute.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/backward.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/forward.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/insert_layer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/insertlayer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/movebackward.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/moveforward.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/css/content.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/css/media.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/flash.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/media.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/quicktime.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/realmedia.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/shockwave.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/windowsmedia.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/jscripts/embed.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/jscripts/media.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/media.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/images/nonbreaking.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/css/noneditable.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/blank.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/css/blank.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/css/pasteword.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/images/pastetext.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/images/pasteword.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/images/selectall.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/jscripts/pastetext.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/jscripts/pasteword.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/pastetext.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/pasteword.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/example.html
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/images/preview.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/jscripts/embed.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/ca_fr.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/de.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/el.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/it.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/ko.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/se.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/uk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/images/print.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/images/save.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/css/searchreplace.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/replace.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/replace_all_button_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/replace_button_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/search.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/jscripts/searchreplace.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/searchreplace.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/css/props.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/images/apply_button_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/images/style_info.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/images/styleprops.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/jscripts/props.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/props.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/cell.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/cell.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/row.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/table.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/buttons.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_cell_props.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_delete.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_delete_col.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_delete_row.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_col_after.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_col_before.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_row_after.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_row_before.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_merge_cells.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_row_props.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_split_cells.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/cell.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/merge_cells.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/row.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/table.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/merge_cells.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/row.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/table.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/images/visualchars.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/abbr.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/acronym.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/cite.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/css/popup.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/css/xhtmlxtras.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/del.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/abbr.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/acronym.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/cite.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/date_time.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/del.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/ins.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/remove_button_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/ins.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/abbr.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/acronym.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/cite.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/del.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/element_common.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/ins.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/editor_plugin.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/editor_plugin_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/langs/se.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/langs/uk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/anchor.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/charmap.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/color_picker.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_content.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_popup.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_ui.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/images/insert_table_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_table_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/images/insert_image_window.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/images/insert_link_window.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/images/insert_table_window.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_table_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_table_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/images/insert_table_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_table_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/images/insert_table_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_table_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_anchor_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_table_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_anchor_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_table_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/html_source_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_anchor_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_specchar_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_table_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_anchor_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_specchar_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_table_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_anchor_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_table_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_anchor_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_table_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_anchor_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_table_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_anchor_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_table_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_anchor_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_table_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_anchor_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_table_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_content.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_popup.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_template.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_template_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_ui.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/image.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/anchor.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/anchor_symbol.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/backcolor.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_de_se.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_es.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_fr.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_ru.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_tw.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/browse.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bullist.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/button_menu.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/buttons.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/cancel_button_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/center.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/charmap.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/cleanup.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/close.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/code.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/color.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/copy.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/custom_1.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/cut.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/forecolor.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/full.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/help.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/hr.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/image.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/indent.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/insert_button_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_de_se.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_es.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_ru.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_tw.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifycenter.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifyfull.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifyleft.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifyright.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/link.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/menu_check.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/newdocument.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/numlist.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/opacity.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/outdent.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/paste.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/redo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/removeformat.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/separator.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/statusbar_resize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/strikethrough.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/sub.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/sup.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_delete_col.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_delete_row.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_col_after.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_col_before.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_row_after.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_row_before.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_es.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_fr.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_ru.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_tw.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/undo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/unlink.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/visualaid.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_end.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tabs_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/about.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/anchor.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/charmap.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/color_picker.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/image.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/link.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/source_editor.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ar.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ca_fr.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/cz.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/de.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/dk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/el.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/en.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/es.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/fi.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/hu.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/it.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/jp.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ko.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/nl.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/no.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/pl.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/se.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/tw.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/uk.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/link.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/source_editor.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/table.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/images/Thumbs.db
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/images/insert_image_window.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/images/insert_link_window.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/about.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/common_buttons.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/images/insert_image_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/images/insert_link_window.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/index.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/insert_image_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/insert_link_button.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_content.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_popup.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_template.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_ui.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/image.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold_de_se.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold_fr.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold_ru.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bullist.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/center.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/cleanup.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/copy.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/cut.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/full.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/help.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/image.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/indent.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/italic.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/italic_de_se.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/italic_ru.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/link.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/numlist.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/outdent.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/paste.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/redo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/strikethrough.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/underline.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/underline_ru.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/undo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/unlink.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/link.htm
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_content.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_popup.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_ui.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_content.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_popup.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_template.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_template_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_ui.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_de_se.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_fr.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_ru.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_tw.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bullist.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/buttons.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/cleanup.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic_de_se.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic_ru.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic_tw.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/numlist.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/redo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/separator.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/strikethrough.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline_fr.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline_ru.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline_tw.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/undo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce_popup.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce_src.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/editable_selects.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/form_utils.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/mclayer.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/mctabs.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/validate.js
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/up.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/upfolder.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/upload.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/upload_archive.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/view.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/back.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/bookmark.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/jbportal_logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/back.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/check.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_cornerelement.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_cornerelement.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_jbosslogo.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_main.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/index.html
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/code.html
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/confidential/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/confidential/license.html
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/license.html
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/project.html
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/support.html
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_es.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_fr.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_it.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_pt_BR.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/nodesk/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/nodesk/Modes.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/nodesk/WindowStates.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/phalanx/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/phalanx/Modes.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/phalanx/WindowStates.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/templates/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/templates/user/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/templates/user/emailTemplate.tpl
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/templates/user/emailTemplate_fr.tpl
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-app.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/catalog/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/catalog/index.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/catalog/sitemap.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/content/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/content/portlet_editor.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/error/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/error/page.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/error/portal.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/header/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/header/header.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/header/tabs.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/createRole.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editListRoleMembers.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editRole.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editRoleMembers.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editUserRoles.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/menu.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIf01.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude01.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude02.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude03.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate01.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate02.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate03.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testTaglib01.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testTaglib02.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/editProfile.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/editUserRoles.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/listUsers.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/login.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/menu.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/register.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/registerUser.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/registerUser_admin.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/register_ty.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/viewProfile.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/layout/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/layout/portal-renderSet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-layouts.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-lib.tld
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-themes.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portlet-instances.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/theme-basic-lib.tld
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/catalog/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/catalog/bullet.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/favicon.ico
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/back.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/bullet.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/delete.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/next.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/previous.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/role.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/contents.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/edit_profile.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/exit.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/ico_adduser.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/identity.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/logout.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/new_user.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/redled.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/userlist.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/1column/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/1column/index.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/3columns/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/3columns/index.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/generic/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/generic/index.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/generic/maximized.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/login/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/login/error.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/login/index.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/css/portal_style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/css/portal_style_editor.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/decoration.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_add.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_create.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_01.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_02.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_03.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_04.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_05.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_06.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_07.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_08.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_09.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_01.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_02.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_03.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_04.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_05.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_06.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_07.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_08.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_09.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_submit.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/line.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_background.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_border_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_head.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_head.jpg
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_table_background.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_01.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_02.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_03.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_04.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_05.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_06.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_07.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_08.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_09.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_10.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_11.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_12.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_13.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_14.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_15.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_16.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_17.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_18.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_01.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_02.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_03.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_04.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_05.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_06.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_07.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_08.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_09.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_10.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_11.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_12.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_13.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_14.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_15.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_16.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_17.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_18.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_19.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_20.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_background.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_01.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_02.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_03.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_04.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_05.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_06.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_07.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_08.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_09.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_10.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_11.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_12.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_13.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_14.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_15.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_background.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_01.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_02.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_03.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_04.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_05.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_06.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_07.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_08.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_09.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_10.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_11.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_12.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_13.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_14.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_15.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_16.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_17.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_18.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_middle_top_03.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/edit.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/help.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/maximize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/minimize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/normal.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_background.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_01.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_02.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_03.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_04.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_05.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_06.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_07.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_08.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_12.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_13.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_14.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_15.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_16.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_17.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_18.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_19.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_20.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_21.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/view.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_01.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_02.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_03.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_04.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_05.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_06.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_07.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_08.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_09.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_10.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_11.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_12.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_13.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_14.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_15.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_16.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_17.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_18.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/edit.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/help.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/maximize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/minimize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/normal.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_01.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_02.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_03.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_04.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_08.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_09.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_10.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_11.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_12.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_13.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_14.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_15.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_16.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_17.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_18.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_19.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/view.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/index.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/css/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/css/portal_style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/decoration.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/edit.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/header_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/header_border_bottom.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/header_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/help.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/maximize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/minimize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/modes_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/modes_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/modes_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/normal.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_bottom.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_top.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_header_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_border_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_btm_center.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_btm_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_btm_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_top_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_top_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/view.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/index.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/window.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/JBossLogo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/JBossLogoV2.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/Thumbs.db
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/activeTab.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/admin.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/edit.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/favicon.ico
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/header.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/help.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/highlightedTab.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/ico_addcontent.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/maximize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/minimize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/normal.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portal_background.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-bottom-left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-bottom-middle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-bottom-right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-left-vertical.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-right-vertical.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-top-left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-top-middle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-top-right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-win-decoration.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/reload.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/remove.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/view.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/portal_style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/Thumbs.db
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/activeTab.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/activeTabLeft.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/admin.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/bullet.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/edit.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/favicon.ico
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/faviconv2.ico
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/header.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/help.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/ico_addcontent.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/maximize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/minimize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/nav-bar-header.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/normal.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portal-background.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-bottom-left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-bottom-middle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-bottom-right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-left-vertical.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-right-vertical.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-titlebar-decoration.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-top-left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-top-middle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-top-right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/reload.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/remove.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/thumb_Maple.jpg
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/view.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/portal_style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/BusinessMan.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/Thumbs.db
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/admin.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/bullet.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/edit.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/favicon.ico
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/form-button-bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/help.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/ico_addcontent.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/input-bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/maximize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/minimize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/normal.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal-header.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal-header.jpg
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal_background.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal_background.jpg
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-background.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-bottom-left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-bottom-middle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-bottom-right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-left-vertical.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-right-vertical.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-section-alt-bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-section-alt-bg2.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-section-header.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-top-left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-top-middle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-top-right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-win-decoration.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/reload.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/remove.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/restore.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/thumb_MissionCritical.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/view.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/portal_style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/readme.txt
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/Thumbs.db
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/admin.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/edit.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/header_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/header_border_bottom.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/header_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/help.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/ico_addcontent.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/maximize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/minimize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/modes_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/modes_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/modes_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/normal.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_bottom.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_top.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-bottom-left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-bottom-middle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-bottom-right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-content-left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-right-vertical.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-top-left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-top-middle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-top-right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-win-decoration.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_header_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_border_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_btm_center.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_btm_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_btm_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_top_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_top_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_left_hover2.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_left_unselected.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_right_hover2.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_right_unselected.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/view.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/portal_style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/animated_favicon1.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/favicon.ico
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/header_bg.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/homeimg_cornerelement.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_help.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_maximize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_minimize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_normal.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_reload.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_remove.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_swizzleclosed.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_swizzleopen.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_addcontent.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_admin.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_blue_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_blue_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_grey_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_grey_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_cancel.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_edit.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_listelement.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/logo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-bottom-left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-bottom-middle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-bottom-right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-left-vertical.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-right-vertical.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-top-left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-top-middle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-top-right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/spacer.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left_admin.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left_current.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left_hover2.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right_admin.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right_current.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right_hover2.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_swizzle.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/portal_style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/bundles/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/bundles/Identity.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/bundles/Identity_de.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/identity-ui-configuration.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/custom.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validate_email.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validation_approval_workflow.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validation_workflow.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/schema/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/schema/identity-ui-configuration.xsd
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/changeEmail/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/changeEmail/emailTemplate.tpl
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/lostPassword/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/lostPassword/emailTemplate.tpl
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/register/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/register/emailTemplate.tpl
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/register/emailTemplate_fr.tpl
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/lib/jcaptcha.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/lib/portal-core-identity-services-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/lib/portal-faces-loader-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/faces-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jboss-portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/assignRoles.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/editProfile.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/index.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/createRole.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/deleteRole.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/editRole.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/roleMembers.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/roleTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/changePassword.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/confirmPendingAction.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/createUser.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/deleteUser.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/pendingUsers.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/registerConfirm.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/registerRoles.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/resetPassword.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/searchUsers.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/userTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/captcha.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/confirm.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/noTabContainer.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/profile.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/register.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/tabContainer.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/userInfo.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/index.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/lost.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/lostTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/status.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/changeEmail.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/changePassword.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfile.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfileRedirect.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfileTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/status.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/viewProfile.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/viewProfileTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/confirm.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/overview.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/register.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/registerTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/success.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/startTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/validationStatus/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/validationStatus/jbp_status.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-beanutils.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-digester.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-el.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-lang.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/el-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/el-ri.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-example.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jstl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/myfaces-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/myfaces-impl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-core-identity-ui-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portal.taglib.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portlet-instances.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Add.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_CreateInstance.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Delete.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Details.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_IsDefault.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Layout.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_MakeDefault.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_MoveDown.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_MoveUp.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Properties.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Rename.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Security.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Theme.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/msgIcon_Warning.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/objectPath_Arrow.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/pathBackground.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/pathSeparator.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-management.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-management.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-management.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-management.sar/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-management.sar/lib/portal-core-management-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/context.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/jboss-web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/error.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_bottom.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_bottom_left.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_bottom_right.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_left.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_right.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_top.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_top_left.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_top_right.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/login.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/jsp/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/jsp/edit.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/lib/portal-widget-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/portlet-instances.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-workflow.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-workflow.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-workflow.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/domain.hbm.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/ehcache.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/hibernate.cfg.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/producer/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/producer/config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/default-wsrp.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/dtd/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/dtd/jboss-wsrp-consumer_2_6.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/dtd/jboss-wsrp-producer_2_6.dtd
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/META-INF/MANIFEST.MF
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/faces-config.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jboss-portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/common/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/common/tabContainer.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/consumerTemplate.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/consumers.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/editConsumer.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/producer.xhtml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib/portal-faces-loader-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-beanutils.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-digester.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-el.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-lang.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/el-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/el-ri.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/jsf-example.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/jsf-facelets.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/jstl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/myfaces-api.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/myfaces-impl.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/portal-faces-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/portal-wsrp-admin-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/portlet-instances.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/wsrp-object.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Activate.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Configure.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Deactivate.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Delete.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/pathBackground.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/pathSeparator.png
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/style.css
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-client.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.jse
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/wsrp-aop.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/jsp/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/jsp/jsp/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/jsp/jsp/view.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/lib/portal-jsp-samples-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/portlet-instances.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/images/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/images/accessorize.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/images/dodemo.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/images/getcode.gif
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/default-object.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/jsp/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/jsp/news/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/jsp/news/edit.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/lib/portal-news-samples-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/portlet-instances.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/xsl/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/xsl/news/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/xsl/news/Rss1.xsl
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/xsl/news/Rss2.xsl
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/META-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/lib/portal-users-samples-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/classes/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/classes/Resource.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/classes/Resource_it.properties
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jboss-portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/noUser.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/oneUser.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/users.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portal-lib.tld
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portlet-instances.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/default-object.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/jsp/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/jsp/weather/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/jsp/weather/edit.jsp
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/lib/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/lib/portal-weather-samples-lib.jar
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/portlet-instances.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/portlet.xml
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/xsl/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/xsl/weather/
   labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/xsl/weather/Rss.xsl
   labs/jbosslabs/trunk/portal-extensions/configuration/to-copy-install/bin/debug.sh
Removed:
   labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/ear-deployer.xml
   labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jbossweb-tomcat55.sar/
Modified:
   labs/jbosslabs/trunk/portal-extensions/common.xml
   labs/jbosslabs/trunk/portal-extensions/configuration/to-copy-install/bin/run.conf
   labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/conf/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/META-INF/jboss-service.xml
   labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/conf/login-config.xml
   labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/portal-server.war/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/portal-login-ds.xml.sample
   labs/jbosslabs/trunk/portal-extensions/forge-blog/binaries/jboss-blog.sar/jboss-blog.war/WEB-INF/lib/jstl.jar
   labs/jbosslabs/trunk/portal-extensions/forge-blog/binaries/jboss-blog.sar/lib/portal-identity-lib.jar
   labs/jbosslabs/trunk/portal-extensions/forge-blog/forge-blog.iml
   labs/jbosslabs/trunk/portal-extensions/forge-blog/project.xml
   labs/jbosslabs/trunk/portal-extensions/forge-common/project.xml
   labs/jbosslabs/trunk/portal-extensions/forge-contributor/forge-contributor.iml
   labs/jbosslabs/trunk/portal-extensions/forge-contributor/project.xml
   labs/jbosslabs/trunk/portal-extensions/forge-contributor/src/web/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/forge-file-access/project.xml
   labs/jbosslabs/trunk/portal-extensions/forge-kosmos-portlets/project.xml
   labs/jbosslabs/trunk/portal-extensions/forge-login-portlet/project.xml
   labs/jbosslabs/trunk/portal-extensions/forge-login/project.xml
   labs/jbosslabs/trunk/portal-extensions/forge-login/src/java/org/jboss/labs/login/LabsLoginModule.java
   labs/jbosslabs/trunk/portal-extensions/forge-mapper/project.xml
   labs/jbosslabs/trunk/portal-extensions/forge-mapper/src/java/org/jboss/labs/mapper/command/PortalObjectCFImpl.java
   labs/jbosslabs/trunk/portal-extensions/forge-portal-attr/project.xml
   labs/jbosslabs/trunk/portal-extensions/forge-portlets/project.xml
   labs/jbosslabs/trunk/portal-extensions/forge-portlets/src/web/WEB-INF/web.xml
   labs/jbosslabs/trunk/portal-extensions/forge-theme/project.xml
   labs/jbosslabs/trunk/portal-extensions/jboss-forums/forums-portlets/project.xml
   labs/jbosslabs/trunk/portal-extensions/jbosswiki/forge-wiki/project.xml
   labs/jbosslabs/trunk/portal-extensions/jbosswiki/wiki-common/project.xml
   labs/jbosslabs/trunk/portal-extensions/jbosswiki/wiki-test/project.xml
   labs/jbosslabs/trunk/portal-extensions/maven.xml
   labs/jbosslabs/trunk/portal-extensions/portal-default/project.xml
Log:
upgrade to JBoss 4.2.2 and Portal 2.6.2

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/JBossORG-EULA.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/JBossORG-EULA.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/JBossORG-EULA.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,104 @@
+LICENSE AGREEMENT
+JBOSS(r)
+
+This License Agreement governs the use of the Software Packages and any updates to the Software 
+Packages, regardless of the delivery mechanism.  Each Software Package is a collective work 
+under U.S. Copyright Law.  Subject to the following terms, Red Hat, Inc. ("Red Hat") grants to 
+the user ("Client") a license to the applicable collective work(s) pursuant to the 
+GNU Lesser General Public License v. 2.1 except for the following Software Packages: 
+(a) JBoss Portal Forums and JBoss Transactions JTS, each of which is licensed pursuant to the 
+GNU General Public License v.2; 
+
+(b) JBoss Rules, which is licensed pursuant to the Apache  License v.2.0;
+
+(c) an optional download for JBoss Cache for the Berkeley DB for Java database, which is licensed under the 
+(open source) Sleepycat License (if Client does not wish to use the open source version of this database, 
+it may purchase a license from Sleepycat Software); 
+
+and (d) the BPEL extension for JBoss jBPM, which is licensed under the Common Public License v.1, 
+and, pursuant to the OASIS BPEL4WS standard, requires parties wishing to redistribute to enter various 
+royalty-free patent licenses.  
+
+Each of the foregoing licenses is available at http://www.opensource.org/licenses/index.php.
+
+1.  The Software.  "Software Packages" refer to the various software modules that are created and made available 
+for distribution by the JBoss.org open source community at http://www.jboss.org.   Each of the Software Packages 
+may be comprised of hundreds of software components.  The end user license agreement for each component is located in 
+the component's source code.  With the exception of certain image files identified in Section 2 below, 
+the license terms for the components permit Client to copy, modify, and redistribute the component, 
+in both source code and binary code forms.  This agreement does not limit Client's rights under, 
+or grant Client rights that supersede, the license terms of any particular component.
+
+2.  Intellectual Property Rights.  The Software Packages are owned by Red Hat and others and are protected under copyright 
+and other laws.  Title to the Software Packages and any component, or to any copy, modification, or merged portion shall 
+remain with the aforementioned, subject to the applicable license.  The "JBoss" trademark, "Red Hat" trademark, the 
+individual Software Package trademarks, and the "Shadowman" logo are registered trademarks of Red Hat and its affiliates 
+in the U.S. and other countries.  This agreement permits Client to distribute unmodified copies of the Software Packages 
+using the Red Hat trademarks that Red Hat has inserted in the Software Packages on the condition that Client follows Red Hat's 
+trademark guidelines for those trademarks located at http://www.redhat.com/about/corporate/trademark/.  Client must abide by 
+these trademark guidelines when distributing the Software Packages, regardless of whether the Software Packages have been modified. 
+If Client modifies the Software Packages, then Client must replace all Red Hat trademarks and logos identified at 
+http://www.jboss.com/company/logos unless a separate agreement with Red Hat is executed or other permission granted.  
+Merely deleting the files containing the Red Hat trademarks may corrupt the Software Packages.  
+
+3.  Limited Warranty.  Except as specifically stated in this Paragraph 3 or a license for a particular 
+component, to the maximum extent permitted under applicable law, the Software Packages and the 
+components are provided and licensed "as is" without warranty of any kind, expressed or implied, 
+including the implied warranties of merchantability, non-infringement or fitness for a particular purpose.  
+Red Hat warrants that the media on which Software Packages may be furnished will be free from defects in 
+materials and manufacture under normal use for a period of 30 days from the date of delivery to Client.  
+Red Hat does not warrant that the functions contained in the Software Packages will meet Client's requirements 
+or that the operation of the Software Packages will be entirely error free or appear precisely as described 
+in the accompanying documentation. This warranty extends only to the party that purchases the Services 
+pertaining to the Software Packages from Red Hat or a Red Hat authorized distributor. 
+
+4.  Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, the remedies 
+described below are accepted by Client as its only remedies.  Red Hat's entire liability, and Client's 
+exclusive remedies, shall be: If the Software media is defective, Client may return it within 30 days of 
+delivery along with a copy of Client's payment receipt and Red Hat, at its option, will replace it or 
+refund the money paid by Client for the Software.  To the maximum extent permitted by applicable law, 
+Red Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential 
+damages, including lost profits or lost savings arising out of the use or inability to use the Software, 
+even if Red Hat or such dealer has been advised of the possibility of such damages.  In no event shall 
+Red Hat's liability under this agreement exceed the amount that Client paid to Red Hat under this 
+Agreement during the twelve months preceding the action.
+
+5.  Export Control.  As required by U.S. law, Client represents and warrants that it: 
+(a) understands that the Software Packages are subject to export controls under the 
+U.S. Commerce Department's Export Administration Regulations ("EAR"); 
+
+(b) is not located in a prohibited destination country under the EAR or U.S. sanctions regulations 
+(currently Cuba, Iran, Iraq, Libya, North Korea, Sudan and Syria); 
+
+(c) will not export, re-export, or transfer the Software Packages to any prohibited destination, entity, 
+or individual without the necessary export license(s) or authorizations(s) from the U.S. Government; 
+
+(d) will not use or transfer the Software Packages for use in any sensitive nuclear, chemical or 
+biological weapons, or missile technology end-uses unless authorized by the U.S. Government by 
+regulation or specific license; 
+
+(e) understands and agrees that if it is in the United States and exports or transfers the Software 
+Packages to eligible end users, it will, as required by EAR Section 740.17(e), submit semi-annual 
+reports to the Commerce Department's Bureau of Industry & Security (BIS), which include the name and 
+address (including country) of each transferee; 
+
+and (f) understands that countries other than the United States may restrict the import, use, or 
+export of encryption products and that it shall be solely responsible for compliance with any such 
+import, use, or export restrictions.
+
+6.  Third Party Programs. Red Hat may distribute third party software programs with the Software Packages 
+that are not part of the Software Packages and which Client must install separately.  These third party 
+programs are subject to their own license terms.  The license terms either accompany the programs or 
+can be viewed at http://www.redhat.com/licenses/.  If Client does not agree to abide by the applicable 
+license terms for such programs, then Client may not install them.  If Client wishes to install the programs 
+on more than one system or transfer the programs to another party, then Client must contact the licensor 
+of the programs.
+
+7.  General.  If any provision of this agreement is held to be unenforceable, that shall not affect the 
+enforceability of the remaining provisions.  This License Agreement shall be governed by the laws of the 
+State of North Carolina and of the United States, without regard to any conflict of laws provisions, 
+except that the United Nations Convention on the International Sale of Goods shall not apply.
+
+Copyright 2006-2007 Red Hat, Inc.  All rights reserved.  
+"JBoss" and the JBoss logo are registered trademarks of Red Hat, Inc.  
+All other trademarks are the property of their respective owners.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/classpath.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/classpath.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/classpath.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,193 @@
+#!/bin/sh
+### ====================================================================== ###
+##                                                                          ##
+##  A tool to determine JBoss classpaths.                                   ##
+##                                                                          ##
+### ====================================================================== ###
+
+### $Id: classpath.sh 7809 2002-05-22 02:39:56Z user57 $ ###
+
+DIRNAME=`dirname $0`
+PROGNAME=`basename $0`
+CAT="cat"
+
+#
+# Helper to complain.
+#
+warn() {
+    echo "${PROGNAME}: $*"
+}
+
+#
+# Helper to puke.
+#
+die() {
+    warn $*
+    exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+darwin=false;
+case "`uname`" in
+    CYGWIN*)
+        cygwin=true
+        ;;
+
+    Darwin*)
+        darwin=true
+        ;;
+esac
+
+#
+# Print the command line help message.
+#
+printHelpMessage() {
+    $CAT <<EOF
+usage: $PROGNAME [options] <classpath>
+
+options:
+    -h, --help            Print this help message.
+    --                    Stop processing options.
+    -r, --relative        Use relative paths.
+
+classpath:
+    -c, --client          Client classpath (client/*).
+    -s, --server          Server classpath (lib/*).
+    -b, --both            Both the client and server classpaths.
+EOF
+}
+
+RELATIVE=false
+
+#
+# Process command line options.
+#
+processCommandLine() {
+    while [ "x$1" != "x" ]; do
+	case "$1" in
+	    --help|-h)
+		printHelpMessage
+		exit 1
+		;;
+
+	    --relative|-r)
+		RELATIVE=true
+		;;
+
+	    --)
+		shift
+		if [ "x$argv" = "x" ]; then
+		    argv="$1"
+		else
+		    argv="$argv $1"
+		fi
+		break
+		;;
+
+	    *)
+		if [ "x$argv" = "x" ]; then
+		    argv="$1"
+		else
+		    argv="$argv $1"
+		fi
+		;;
+	esac
+	shift
+    done
+}
+
+if [ -n "$CLASSPATH" ] ; then
+  LOCALCLASSPATH=$CLASSPATH
+fi
+
+#
+# Print the class path for the given type.
+#
+printClassPath() {
+
+#
+# jason: should be fixed to only include proper classpath bits
+#
+
+    case "$1" in
+	-c|--client)
+            DIRLIBS="`ls $JBOSS_HOME/client/*`:$JBOSS_HOME/client"
+	    ;;
+
+	-s|--server)
+            DIRLIBS=`ls $JBOSS_HOME/lib/*`
+	    ;;
+
+	-b|--both)
+	    DIRLIBS="`ls $JBOSS_HOME/client/*`:$JBOSS_HOME/client"
+            DIRLIBS="${DIRLIBS}:`ls $JBOSS_HOME/lib/*`"
+	    ;;
+
+	*)
+	    printHelpMessage
+	    exit 0
+	    ;;
+    esac
+
+    for i in ${DIRLIBS}; do 
+	if [ "$i" != "${DIRLIBS}" ] ; then
+	    if [ -z "$LOCALCLASSPATH" ] ; then
+		LOCALCLASSPATH=$i
+	    else
+		LOCALCLASSPATH="$i":$LOCALCLASSPATH
+	    fi
+	fi
+    done
+
+    # For Cygwin, switch paths to Windows format before running java
+    if $cygwin; then
+	LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
+    fi
+
+    echo $LOCALCLASSPATH
+}
+
+#
+# Main entry-point.
+#
+main() {
+    argv=""
+
+    # process the command line
+    processCommandLine "$@"
+
+    # For Cygwin, ensure paths are in UNIX format before anything is touched
+    if $cygwin ; then
+	[ -n "$JBOSS_HOME" ] &&
+	    JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
+	[ -n "$JAVA_HOME" ] &&
+	    JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+	[ -n "$JAVAC_JAR" ] &&
+	    JAVAC_JAR=`cygpath --unix "$JAVAC_JAR"`
+    fi
+
+    # Setup JBOSS_HOME
+    if [ "x$JBOSS_HOME" = "x" ]; then
+	if $RELATIVE ; then
+	    JBOSS_HOME="$DIRNAME/.."
+	else
+	    # get the full path (without any relative bits)
+	    JBOSS_HOME=`cd $DIRNAME/..; pwd`
+	fi
+    fi
+
+    if [ "x$argv" = "x" ]; then
+	printHelpMessage
+	exit 0
+    fi
+
+    printClassPath $argv
+}
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+
+#
+# Boot-strap
+#
+main "$@"


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/classpath.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_hpux.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_hpux.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_hpux.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,257 @@
+#!/bin/sh
+#
+# $Id: jboss_init_hpux.sh 57105 2006-09-23 14:09:27Z dimitris at jboss.org $
+#
+# JBoss Control Script for HP-UX
+#
+# description: JBoss Applicaton Server / EJB Container
+#
+# Run this script as the root user.  This script will start
+# as many instances of JBoss as there are array entries in a
+# startup configuration file under /etc/rc.config.d/ as
+# defined below.  If no configuration file exists, the script
+# will still attempt to start at least one server using default
+# values.
+#
+# Installation Instructions:
+# 1. Copy <jboss-home>/bin/jboss_init_hpux.sh to/sbin/init.d/jboss
+# 2. Create softlinks to the file from the various startup and shutdown 
+#    directories:
+#    ln -s /sbin/init.d/jboss /sbin/rc2.d/K001jboss
+#    ln -s /sbin/init.d/jboss /sbin/rc3.d/S999jboss
+# 3. Create /etc/rc.config.d/jboss with the variables defined below. For 
+#    example if you have two servers at /opt/jboss1 and /opt/jboss2 that run 
+#    as users jboss1 and jboss2 using the default instances, then you would 
+#    create the following configuration entries:
+#############
+#    JBOSS_HOME[0]=/opt/jboss1
+#    JBOSS_USER[0]=jboss1
+#    SERVER_NAME[0]=default
+#    JBOSS_START[0]=1
+##   default console logging (you can also just omit the next line)
+#    JBOSS_CONSOLE[0]=""
+#############
+#    JBOSS_HOME[1]=/opt/jboss2
+#    JBOSS_USER[1]=jboss2
+#    SERVER_NAME[1]=default
+#    JBOSS_START[1]=1
+##   No Console logging
+#    JBOSS_CONSOLE[1]=/dev/null
+#
+
+##################################################################
+#
+# This script will start as many instances of JBoss as there are 
+# consecutive array entries for the variables defined below.
+#
+# There may be a unique jboss server instance for each $JBOSS_HOME[i] 
+# and $SERVER_NAME[i] combination.
+#
+# The following variables should be defined in /etc/rc.config.d/jboss.
+# If they are not, the variables are defaulted below:
+#
+# JBOSS_HOME[i] - root directory for jboss installation, like 
+#   /opt/jboss-<version>. 
+#   The default for the 1st instance is /opt/jboss: JBOSS_HOME[0]=/opt/jboss.
+#   No default for any other instance.
+#
+# SERVER_NAME[i] - server instance name.  Normally "all", "default", or
+#   "minimal". Maps to server instance at $JBOSS_HOME/server/$SERVER_NAME
+#   The default value is "default".
+#
+# JBOSS_START[i] - set to "0" to force JBOSS to not start when this script
+#   is run. Usefull when this script is run automatically at system
+#   startup time. Default is "1" to startup.
+#
+# JBOSS_USER[i] - it is username by which the jboss application server
+#   is started. The default user is jboss.
+#
+# JBOSS_CONSOLE[i] - file where jboss console logging will be written
+#   Use "/dev/null" if console logging is not desired.
+#   default is /var/opt/jboss/jboss_<user>_<instance>.log
+#
+# JAVA_HOME should also be defined in the target users environment, such
+#   as is the case when it is exported from ~/.profile.
+#
+# NOTE: The notation for array subscript [0] is optional.  You can refer to 
+# JBOSS_HOME[0] as JBOSS_HOME. 
+#
+# read config variables from files in /etc/rc.config.d
+# by convention the config values should be in a file /etc/rc.config.d,
+# such as /etc/rc.config.d/jboss. If these variables are not defined
+# in a configuration file in rc.config.d, we will attempt to deal with it by
+# setting defaults in the program
+
+if [ -f /etc/rc.config ] 
+then
+    . /etc/rc.config
+else
+    print "ERROR: /etc/rc.config default file MISSING" 1>&2
+fi
+umask 022
+
+#
+# Make sure variables are defined at least for the first instance of the
+# array.  Note that $SERVER_NAME is the same as ${SERVER_NAME[0]}
+
+JBOSS_HOME=${JBOSS_HOME:-"/opt/jboss"}
+
+PATH=/sbin:/usr/sbin:/usr/bin:$PATH
+export PATH
+
+#Usage: isJBossRunning <jbossHome> <jbossUserId> <instance>
+# sets non zero return code if Jboss is not running
+# sets global isJBossRunningPid with 1st process id if it is running 
+isJBossRunning()
+{
+    typeset JBossHome=$2 JBossUserId=$1 instance=$3 junk
+    ((isJBossRunningPid=0))
+    # pipeline reads 1st jboss pid if it is running for user, jboss home, and instance
+    ps -xu $JBossUserId | 
+    grep "$JBossHome.*org.jboss.Main.*\-c[ \t]*$instance" | grep -v "grep" | 
+    read isJBossRunningPid junk
+}
+
+#USAGE: isUserOK
+# prints any problems on standard error and returns with a non-zero status
+# returns a 0 status if all is OK
+isUserOK()
+{
+    # check if the user exists
+    id ${JBOSS_USER[i]} >/dev/null 2>&1
+    if (($?!=0)); then
+	echo "ERROR: The user ${JBOSS_USER[i]} does not exist." 1>&2
+	return 1
+    fi
+
+    # check if the user has write permission on the jboss instance directory
+    su ${JBOSS_USER[i]} -c "test -w ${JBOSS_HOME[i]}/server/${SERVER_NAME[i]}" >/dev/null 2>&1
+    if (($?!=0)); then
+	echo "ERROR: The user ${JBOSS_USER[i]} does not have write access to ${JBOSS_HOME[i]}/server/${SERVER_NAME[i]}" 1>&2
+	return 2
+    fi
+
+    # user must have JAVA_HOME defined
+    su - ${JBOSS_USER[i]} -c 'whence java || [[ -d $JAVA_HOME ]]' >/dev/null 2>&1
+    if (($?!=0)); then
+	echo "ERROR: The user \"${JBOSS_USER[i]}\" does not have \$JAVA_HOME defined; either define \$JAVA_HOME for this user or ensure that a path to \"java\" exists." 1>&2
+	return 3
+    fi
+
+    # user looks good so far
+    return 0
+}
+
+# Usage: startJBoss <index>
+startJBoss()
+{
+    typeset -i i=$1
+
+    (( ${JBOSS_START[i]} != 1 )) && return 0
+
+    # make sure the console log exists with appropriate permissions for JBOSS_USER[i]
+    if [[ ! -d ${JBOSS_CONSOLE[i]%/*} ]]; then
+	mkdir -p ${JBOSS_CONSOLE[i]%/*}
+	chmod 0755 ${JBOSS_CONSOLE[i]%/*} 
+	chown ${JBOSS_USER[i]} ${JBOSS_CONSOLE[i]%/*}
+    fi
+
+    # do some basic error checking
+    if [[ ! -d ${JBOSS_HOME[i]} ]]; then
+	echo "ERROR: JBOSS_HOME[$i] is not a valid directory : ${JBOSS_HOME[i]}" 1>&2
+	return 1
+    fi
+
+    isUserOK || return 2
+
+    isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]}
+    if (( $? == 0 )); then
+	echo "JBoss AS is already running for user ${JBOSS_USER[i]} at ${JBOSS_HOME[i]} with instance ${SERVER_NAME[i]}" 1>&2
+	return 3
+    fi
+
+    # keep last version of the console log around
+    [[ -f ${JBOSS_CONSOLE[i]} ]] && mv ${JBOSS_CONSOLE[i]} ${JBOSS_CONSOLE[i]}.old
+
+    # JBoss is not running, start it up
+    CMD_START="${JBOSS_HOME[i]}/bin/run.sh -c ${SERVER_NAME[i]}"
+    nohup su - ${JBOSS_USER[i]} -c "sh $CMD_START" >${JBOSS_CONSOLE[i]} 2>&1 &
+    echo "Starting JBoss AS for user ${JBOSS_USER[i]} at ${JBOSS_HOME[i]} with instance ${SERVER_NAME[i]}."
+    
+    # wait a few seconds then check if it started ok
+    #isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} || sleep 2 ||
+    #isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} || sleep 3 ||
+    #echo "... server not started yet. Check the log files for errors"
+}
+
+# Usage: stopJBoss <index>
+stopJBoss()
+{
+    typeset -i i=$1
+
+    # return silently if JBoss AS is not running
+    isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} || return 0
+
+    # JBoss is running and $isJBossRunningPid is set to the process id
+    #  SIGTERM does a gracefull shutdown like ^C
+    echo "Stopping JBoss AS PID $isJBossRunningPid for user ${JBOSS_USER[i]} at ${JBOSS_HOME[i]} with instance ${SERVER_NAME[i]}"
+    kill -s SIGTERM $isJBossRunningPid
+
+    # wait for up to 30 seconds for the process to terminate gracefully
+    isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} && printf "please wait " && sleep 5 &&
+    isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} && printf "." && sleep 10 &&
+    isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} && printf "." && sleep 15 &&
+    isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} && 
+    echo "NOT Terminated! Wait a moment then check to see if the process has shut down gracefully, or terminate it now with\n  \"kill -s SIGKILL $isJBossRunningPid\"" >&2
+}
+
+# Usage: doAll <command> <command args>
+doAll()
+{
+    typeset cmd=$1
+    typeset -i rc=0
+    shift
+
+    # loop thru the configuration file for servers to start or stop as identified by JBOSS_HOME[i] and the
+    # other parameters
+
+    ((i=0))
+    while [[ ${JBOSS_HOME[i]} != "" ]]
+    do
+
+      # set defaults for any missing values
+      SERVER_NAME[$i]=${SERVER_NAME[i]:-"default"}
+      JBOSS_USER[$i]=${JBOSS_USER[i]:-"jboss"} 
+      JBOSS_CONSOLE[$i]=${JBOSS_CONSOLE[i]:-/var/opt/jboss/${JBOSS_USER[i]}/jboss_${SERVER_NAME[i]}.log}
+      JBOSS_START[$i]=${JBOSS_START[i]:-1}
+
+      $cmd $i $*
+      (($? != 0)) && rc=$?
+      ((i=i+1))
+    done
+    return $rc
+}
+
+case "$1" in
+    start_msg)
+	echo "Starting JBoss"
+	;;
+    start)
+	doAll startJBoss
+	;;
+    stop_msg)
+	echo "Stopping JBoss"
+	;;
+    stop)
+	doAll stopJBoss
+	;;
+    restart)
+	$0 stop
+	$0 start
+	;;
+    *)
+	echo "usage: $0 (start|stop|restart|help)" 1>&2
+	exit 1
+esac
+
+exit $?


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_hpux.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_redhat.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_redhat.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_redhat.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,98 @@
+#!/bin/sh
+#
+# $Id: jboss_init_redhat.sh 60992 2007-02-28 11:33:27Z dimitris at jboss.org $
+#
+# JBoss Control Script
+#
+# To use this script run it as root - it will switch to the specified user
+#
+# Here is a little (and extremely primitive) startup/shutdown script
+# for RedHat systems. It assumes that JBoss lives in /usr/local/jboss,
+# it's run by user 'jboss' and JDK binaries are in /usr/local/jdk/bin.
+# All this can be changed in the script itself. 
+#
+# Either modify this script for your requirements or just ensure that
+# the following variables are set correctly before calling the script.
+
+#define where jboss is - this is the directory containing directories log, bin, conf etc
+JBOSS_HOME=${JBOSS_HOME:-"/usr/local/jboss"}
+
+#define the user under which jboss will run, or use 'RUNASIS' to run as the current user
+JBOSS_USER=${JBOSS_USER:-"jboss"}
+
+#make sure java is in your path
+JAVAPTH=${JAVAPTH:-"/usr/local/jdk/bin"}
+
+#configuration to use, usually one of 'minimal', 'default', 'all'
+JBOSS_CONF=${JBOSS_CONF:-"default"}
+
+#if JBOSS_HOST specified, use -b to bind jboss services to that address
+JBOSS_BIND_ADDR=${JBOSS_HOST:+"-b $JBOSS_HOST"}
+
+#define the classpath for the shutdown class
+JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"}
+
+#define the script to use to start jboss
+JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c $JBOSS_CONF $JBOSS_BIND_ADDR"}
+
+if [ "$JBOSS_USER" = "RUNASIS" ]; then
+  SUBIT=""
+else
+  SUBIT="su - $JBOSS_USER -c "
+fi
+
+if [ -n "$JBOSS_CONSOLE" -a ! -d "$JBOSS_CONSOLE" ]; then
+  # ensure the file exists
+  touch $JBOSS_CONSOLE
+  if [ ! -z "$SUBIT" ]; then
+    chown $JBOSS_USER $JBOSS_CONSOLE
+  fi 
+fi
+
+if [ -n "$JBOSS_CONSOLE" -a ! -f "$JBOSS_CONSOLE" ]; then
+  echo "WARNING: location for saving console log invalid: $JBOSS_CONSOLE"
+  echo "WARNING: ignoring it and using /dev/null"
+  JBOSS_CONSOLE="/dev/null"
+fi
+
+#define what will be done with the console log
+JBOSS_CONSOLE=${JBOSS_CONSOLE:-"/dev/null"}
+
+JBOSS_CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH"
+JBOSS_CMD_STOP=${JBOSS_CMD_STOP:-"java -classpath $JBOSSCP org.jboss.Shutdown --shutdown"}
+
+if [ -z "`echo $PATH | grep $JAVAPTH`" ]; then
+  export PATH=$PATH:$JAVAPTH
+fi
+
+if [ ! -d "$JBOSS_HOME" ]; then
+  echo JBOSS_HOME does not exist as a valid directory : $JBOSS_HOME
+  exit 1
+fi
+
+echo JBOSS_CMD_START = $JBOSS_CMD_START
+
+case "$1" in
+start)
+    cd $JBOSS_HOME/bin
+    if [ -z "$SUBIT" ]; then
+        eval $JBOSS_CMD_START >${JBOSS_CONSOLE} 2>&1 &
+    else
+        $SUBIT "$JBOSS_CMD_START >${JBOSS_CONSOLE} 2>&1 &" 
+    fi
+    ;;
+stop)
+    if [ -z "$SUBIT" ]; then
+        $JBOSS_CMD_STOP
+    else
+        $SUBIT "$JBOSS_CMD_STOP"
+    fi 
+    ;;
+restart)
+    $0 stop
+    $0 start
+    ;;
+*)
+    echo "usage: $0 (start|stop|restart|help)"
+esac
+


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_redhat.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_suse.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_suse.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_suse.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,133 @@
+#!/bin/sh
+#
+# JBoss Control Script
+#
+# To use this script
+# run it as root - it will switch to the specified user
+# It loses all console output - use the log.
+#
+# Here is a little (and extremely primitive)
+# startup/shutdown script for SuSE systems. It assumes
+# that JBoss lives in /usr/local/jboss, it's run by user
+# 'jboss' and JDK binaries are in /usr/local/jdk/bin. All
+# this can be changed in the script itself.
+#
+# Either amend this script for your requirements
+# or just ensure that the following variables are set correctly
+# before calling the script.
+#
+### BEGIN INIT INFO
+# Provides: jboss
+# Default-Start: 3 5
+# Default-Stop: 0 1 2 6
+# Description: Start the JBoss application server.
+### END INIT INFO
+
+#define where jboss is - this is the directory containing directories log, bin, conf etc
+JBOSS_HOME=${JBOSS_HOME:-"/opt/jboss"}
+
+#make java is on your path
+JAVAPTH=${JAVAPTH:-"/usr/java/j2sdk1.4.1/bin"}
+
+#define the classpath for the shutdown class
+JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"}
+
+#define the script to use to start jboss
+JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c default"}
+
+# Shell functions sourced from /etc/rc.status:
+#      rc_check         check and set local and overall rc status
+#      rc_status        check and set local and overall rc status
+#      rc_status -v     ditto but be verbose in local rc status
+#      rc_status -v -r  ditto and clear the local rc status
+#      rc_failed        set local and overall rc status to failed
+#      rc_reset         clear local rc status (overall remains)
+#      rc_exit          exit appropriate to overall rc status
+. /etc/rc.status
+
+# First reset status of this service
+rc_reset
+
+# Return values acc. to LSB for all commands but status:
+# 0 - success
+# 1 - misc error
+# 2 - invalid or excess args
+# 3 - unimplemented feature (e.g. reload)
+# 4 - insufficient privilege
+# 5 - program not installed
+# 6 - program not configured
+#
+# Note that starting an already running service, stopping
+# or restarting a not-running service as well as the restart
+# with force-reload (in case signalling is not supported) are
+# considered a success.
+
+if [ -n "$JBOSS_CONSOLE" -a ! -d "$JBOSS_CONSOLE" ]; then
+  # ensure the file exists
+  touch $JBOSS_CONSOLE
+fi
+
+if [ -n "$JBOSS_CONSOLE" -a ! -f "$JBOSS_CONSOLE" ]; then
+  echo "WARNING: location for saving console log invalid: $JBOSS_CONSOLE"
+  echo "WARNING: ignoring it and using /dev/null"
+  JBOSS_CONSOLE="/dev/null"
+fi
+
+#define what will be done with the console log
+JBOSS_CONSOLE=${JBOSS_CONSOLE:-"/opt/jboss/log/jboss.log"}
+
+#define the user under which jboss will run, or use RUNASIS to run as the current user
+JBOSSUS=${JBOSSUS:-"jboss"}
+
+CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH"
+CMD_STOP="java -classpath $JBOSSCP org.jboss.Shutdown --shutdown"
+
+if [ "$JBOSSUS" = "RUNASIS" ]; then
+  SUBIT=""
+else
+  SUBIT="su - $JBOSSUS -c "
+fi
+
+if [ -z "`echo $PATH | grep $JAVAPTH`" ]; then
+  export PATH=$PATH:$JAVAPTH
+fi
+
+if [ ! -d "$JBOSS_HOME" ]; then
+  echo JBOSS_HOME does not exist as a valid directory : $JBOSS_HOME
+  exit 1
+fi
+
+case "$1" in
+start)
+    echo -n "Starting JBoss application server: "
+    cd $JBOSS_HOME/bin
+    if [ -z "$SUBIT" ]; then
+        eval $CMD_START >${JBOSS_CONSOLE} 2>&1 &
+    else
+        $SUBIT "$CMD_START >${JBOSS_CONSOLE} 2>&1 &"
+    fi
+
+    # Remember status and be verbose
+    rc_status -v
+    ;;
+stop)
+    echo -n "Shutting down JBoss application server: "
+    if [ -z "$SUBIT" ]; then
+        $CMD_STOP
+    else
+        $SUBIT "$CMD_STOP"
+    fi
+
+    # Remember status and be verbose
+    rc_status -v
+    ;;
+restart)
+    $0 stop
+    $0 start
+
+    # Remember status and be quiet
+    rc_status
+    ;;
+*)
+    echo "usage: $0 (start|stop|restart|help)"
+esac


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/jboss_init_suse.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/probe.bat
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/probe.bat	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/probe.bat	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,13 @@
+ at echo off
+rem -------------------------------------------------------------------------
+rem JGroups Cluster Discovery Script for Win32
+rem -------------------------------------------------------------------------
+
+REM Discovers all UDP-based members running on a certain mcast address (use -help for help)
+REM Probe [-help] [-addr <addr>] [-port <port>] [-ttl <ttl>] [-timeout <timeout>]
+
+set CLASSPATH=..\lib\commons-logging.jar;..\server\all\lib\jgroups.jar
+
+set CP=%CLASSPATH%
+
+java -cp %CP% org.jgroups.tests.Probe %*

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/probe.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/probe.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/probe.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+#!/bin/sh
+### ====================================================================== ###
+##                                                                          ##
+##  JGroups Cluster Discovery Script                                        ##
+##                                                                          ##
+### ====================================================================== ###
+
+# Discovers all UDP-based members running on a certain mcast address (use -help for help)
+# Probe [-help] [-addr <addr>] [-port <port>] [-ttl <ttl>] [-timeout <timeout>]
+
+CLASSPATH=.:../lib/commons-logging.jar:../server/all/lib/jgroups.jar:$CLASSPATH
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+case "`uname`" in
+    CYGWIN*)
+        cygwin=true
+        ;;
+esac
+
+if [ $cygwin = "true" ]; then
+   CP=`cygpath -wp $CLASSPATH`
+else
+   CP=$CLASSPATH
+fi
+
+java -cp $CP org.jgroups.tests.Probe $*


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/probe.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.bat
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.bat	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.bat	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,120 @@
+ at echo off
+rem -------------------------------------------------------------------------
+rem JBoss Bootstrap Script for Win32
+rem -------------------------------------------------------------------------
+
+rem $Id: run.bat 63249 2007-05-30 13:20:25Z dimitris at jboss.org $
+
+ at if not "%ECHO%" == ""  echo %ECHO%
+ at if "%OS%" == "Windows_NT"  setlocal
+
+set DIRNAME=.\
+if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
+set PROGNAME=run.bat
+if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
+
+pushd %DIRNAME%..
+set JBOSS_HOME=%CD%
+popd
+
+REM Add bin/native to the PATH if present
+if exist "%JBOSS_HOME%\bin\native" set PATH=%JBOSS_HOME%\bin\native;%PATH%
+if exist "%JBOSS_HOME%\bin\native" set JAVA_OPTS=%JAVA_OPTS% -Djava.library.path="%PATH%"
+
+rem Read all command line arguments
+
+REM
+REM The %ARGS% env variable commented out in favor of using %* to include
+REM all args in java command line. See bug #840239. [jpl]
+REM
+REM set ARGS=
+REM :loop
+REM if [%1] == [] goto endloop
+REM         set ARGS=%ARGS% %1
+REM         shift
+REM         goto loop
+REM :endloop
+
+rem Find run.jar, or we can't continue
+
+set RUNJAR=%JBOSS_HOME%\bin\run.jar
+if exist "%RUNJAR%" goto FOUND_RUN_JAR
+echo Could not locate %RUNJAR%. Please check that you are in the
+echo bin directory when running this script.
+goto END
+
+:FOUND_RUN_JAR
+
+if not "%JAVA_HOME%" == "" goto ADD_TOOLS
+
+set JAVA=java
+
+echo JAVA_HOME is not set.  Unexpected results may occur.
+echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
+goto SKIP_TOOLS
+
+:ADD_TOOLS
+
+set JAVA=%JAVA_HOME%\bin\java
+
+rem A full JDK with toos.jar is not required anymore since jboss web packages
+rem the eclipse jdt compiler and javassist has its own internal compiler.
+if not exist "%JAVA_HOME%\lib\tools.jar" goto SKIP_TOOLS
+
+rem If exists, point to the JDK javac compiler in case the user wants to
+rem later override the eclipse jdt compiler for compiling JSP pages.
+set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar
+
+:SKIP_TOOLS
+
+rem If JBOSS_CLASSPATH or JAVAC_JAR is empty, don't include it, as this will 
+rem result in including the local directory in the classpath, which makes
+rem error tracking harder.
+if not "%JAVAC_JAR%" == "" set RUNJAR=%JAVAC_JAR%;%RUNJAR%
+if "%JBOSS_CLASSPATH%" == "" set RUN_CLASSPATH=%RUNJAR%
+if "%RUN_CLASSPATH%" == "" set RUN_CLASSPATH=%JBOSS_CLASSPATH%;%RUNJAR%
+
+set JBOSS_CLASSPATH=%RUN_CLASSPATH%
+
+rem Setup JBoss specific properties
+set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%
+
+rem Add -server to the JVM options, if supported
+"%JAVA%" -version 2>&1 | findstr /I hotspot > nul
+if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server)
+
+rem JVM memory allocation pool parameters. Modify as appropriate.
+set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
+
+rem With Sun JVMs reduce the RMI GCs to once per hour
+set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
+
+rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
+rem set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
+
+rem Setup the java endorsed dirs
+set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed
+
+echo ===============================================================================
+echo.
+echo   JBoss Bootstrap Environment
+echo.
+echo   JBOSS_HOME: %JBOSS_HOME%
+echo.
+echo   JAVA: %JAVA%
+echo.
+echo   JAVA_OPTS: %JAVA_OPTS%
+echo.
+echo   CLASSPATH: %JBOSS_CLASSPATH%
+echo.
+echo ===============================================================================
+echo.
+
+:RESTART
+"%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*
+if ERRORLEVEL 10 goto RESTART
+
+:END
+if "%NOPAUSE%" == "" pause
+
+:END_NO_PAUSE

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.conf
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.conf	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.conf	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,50 @@
+## -*- shell-script -*- ######################################################
+##                                                                          ##
+##  JBoss Bootstrap Script Configuration                                    ##
+##                                                                          ##
+##############################################################################
+
+### $Id: run.conf 62747 2007-05-02 17:43:36Z dimitris at jboss.org $
+
+#
+# This file is optional; it may be removed if not needed.
+#
+
+#
+# Specify the maximum file descriptor limit, use "max" or "maximum" to use
+# the default, as queried by the system.
+#
+# Defaults to "maximum"
+#
+#MAX_FD="maximum"
+
+#
+# Specify the profiler configuration file to load.
+#
+# Default is to not load profiler configuration file.
+#
+#PROFILER=""
+
+#
+# Specify the location of the Java home directory.  If set then $JAVA will
+# be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".
+#
+#JAVA_HOME="/opt/java/jdk"
+
+#
+# Specify the exact Java VM executable to use.
+#
+#JAVA=""
+
+#
+# Specify options to pass to the Java VM.
+#
+if [ "x$JAVA_OPTS" = "x" ]; then
+   JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
+fi
+
+# Sample JPDA settings for remote socket debuging
+#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
+
+# Sample JPDA settings for shared memory debugging 
+#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,247 @@
+#!/bin/sh
+### ====================================================================== ###
+##                                                                          ##
+##  JBoss Bootstrap Script                                                  ##
+##                                                                          ##
+### ====================================================================== ###
+
+### $Id: run.sh 64199 2007-07-23 15:57:38Z cazzius $ ###
+
+DIRNAME=`dirname $0`
+PROGNAME=`basename $0`
+GREP="grep"
+
+# Use the maximum available, or set MAX_FD != -1 to use that
+MAX_FD="maximum"
+
+#
+# Helper to complain.
+#
+warn() {
+    echo "${PROGNAME}: $*"
+}
+
+#
+# Helper to puke.
+#
+die() {
+    warn $*
+    exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+darwin=false;
+linux=false;
+case "`uname`" in
+    CYGWIN*)
+        cygwin=true
+        ;;
+
+    Darwin*)
+        darwin=true
+        ;;
+        
+    Linux)
+        linux=true
+        ;;
+esac
+
+# Read an optional running configuration file
+if [ "x$RUN_CONF" = "x" ]; then
+    RUN_CONF="$DIRNAME/run.conf"
+fi
+if [ -r "$RUN_CONF" ]; then
+    . "$RUN_CONF"
+fi
+
+# Force IPv4 on Linux systems since IPv6 doesn't work correctly with jdk5 and lower
+if [ "$linux" = "true" ]; then
+   JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+    [ -n "$JBOSS_HOME" ] &&
+        JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
+    [ -n "$JAVA_HOME" ] &&
+        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+    [ -n "$JAVAC_JAR" ] &&
+        JAVAC_JAR=`cygpath --unix "$JAVAC_JAR"`
+fi
+
+# Setup JBOSS_HOME
+if [ "x$JBOSS_HOME" = "x" ]; then
+    # get the full path (without any relative bits)
+    JBOSS_HOME=`cd $DIRNAME/..; pwd`
+fi
+export JBOSS_HOME
+
+# Increase the maximum file descriptors if we can
+if [ "$cygwin" = "false" ]; then
+    MAX_FD_LIMIT=`ulimit -H -n`
+    if [ $? -eq 0 ]; then
+	if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
+	    # use the system max
+	    MAX_FD="$MAX_FD_LIMIT"
+	fi
+
+	ulimit -n $MAX_FD
+	if [ $? -ne 0 ]; then
+	    warn "Could not set maximum file descriptor limit: $MAX_FD"
+	fi
+    else
+	warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
+    fi
+fi
+
+# Setup the JVM
+if [ "x$JAVA" = "x" ]; then
+    if [ "x$JAVA_HOME" != "x" ]; then
+	JAVA="$JAVA_HOME/bin/java"
+    else
+	JAVA="java"
+    fi
+fi
+
+# Setup the classpath
+runjar="$JBOSS_HOME/bin/run.jar"
+if [ ! -f "$runjar" ]; then
+    die "Missing required file: $runjar"
+fi
+JBOSS_BOOT_CLASSPATH="$runjar"
+
+# Tomcat uses the JDT Compiler
+# Only include tools.jar if someone wants to use the JDK instead.
+# compatible distribution which JAVA_HOME points to
+if [ "x$JAVAC_JAR" = "x" ]; then
+    JAVAC_JAR_FILE="$JAVA_HOME/lib/tools.jar"
+else
+    JAVAC_JAR_FILE="$JAVAC_JAR"
+fi
+if [ ! -f "$JAVAC_JAR_FILE" ]; then
+   # MacOSX does not have a seperate tools.jar
+   if [ "$darwin" != "true" -a "x$JAVAC_JAR" != "x" ]; then
+      warn "Missing file: JAVAC_JAR=$JAVAC_JAR"
+      warn "Unexpected results may occur."
+   fi
+   JAVAC_JAR_FILE=
+fi
+
+if [ "x$JBOSS_CLASSPATH" = "x" ]; then
+    JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH"
+else
+    JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH"
+fi
+if [ "x$JAVAC_JAR_FILE" != "x" ]; then
+    JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JAVAC_JAR_FILE"
+fi
+
+# If -server not set in JAVA_OPTS, set it, if supported
+SERVER_SET=`echo $JAVA_OPTS | $GREP "\-server"`
+if [ "x$SERVER_SET" = "x" ]; then
+
+    # Check for SUN(tm) JVM w/ HotSpot support
+    if [ "x$HAS_HOTSPOT" = "x" ]; then
+	HAS_HOTSPOT=`"$JAVA" -version 2>&1 | $GREP -i HotSpot`
+    fi
+
+    # Enable -server if we have Hotspot, unless we can't
+    if [ "x$HAS_HOTSPOT" != "x" ]; then
+	# MacOS does not support -server flag
+	if [ "$darwin" != "true" ]; then
+	    JAVA_OPTS="-server $JAVA_OPTS"
+	fi
+    fi
+fi
+
+# Setup JBosst Native library path
+JBOSS_NATIVE_DIR="$JBOSS_HOME/bin/native"
+if [ -d "$JBOSS_NATIVE_DIR" ]; then
+    if $cygwin ; then
+        export PATH="$JBOSS_NATIVE_DIR:$PATH"
+        JBOSS_NATIVE_DIR=`cygpath --dos "$JBOSS_NATIVE_DIR"`
+    fi
+    if [ "x$LD_LIBRARY_PATH" = "x" ]; then
+        LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR"
+    else
+        LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR:$LD_LIBRARY_PATH"
+    fi
+    export LD_LIBRARY_PATH
+    if [ "x$JAVA_OPTS" = "x" ]; then
+        JAVA_OPTS="-Djava.library.path=$JBOSS_NATIVE_DIR"
+    else
+        JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$JBOSS_NATIVE_DIR"
+    fi
+fi
+
+# Setup JBoss specific properties
+JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS"
+
+# Setup the java endorsed dirs
+JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+    JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+    JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"`
+    JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"`
+fi
+
+# Display our environment
+echo "========================================================================="
+echo ""
+echo "  JBoss Bootstrap Environment"
+echo ""
+echo "  JBOSS_HOME: $JBOSS_HOME"
+echo ""
+echo "  JAVA: $JAVA"
+echo ""
+echo "  JAVA_OPTS: $JAVA_OPTS"
+echo ""
+echo "  CLASSPATH: $JBOSS_CLASSPATH"
+echo ""
+echo "========================================================================="
+echo ""
+
+while true; do
+   if [ "x$LAUNCH_JBOSS_IN_BACKGROUND" = "x" ]; then
+      # Execute the JVM in the foreground
+      "$JAVA" $JAVA_OPTS \
+         -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
+         -classpath "$JBOSS_CLASSPATH" \
+         org.jboss.Main "$@"
+      JBOSS_STATUS=$?
+   else
+      # Execute the JVM in the background
+      "$JAVA" $JAVA_OPTS \
+         -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
+         -classpath "$JBOSS_CLASSPATH" \
+         org.jboss.Main "$@" &
+      JBOSS_PID=$!
+      # Trap common signals and relay them to the jboss process
+      trap "kill -HUP  $JBOSS_PID" HUP
+      trap "kill -TERM $JBOSS_PID" INT
+      trap "kill -QUIT $JBOSS_PID" QUIT
+      trap "kill -PIPE $JBOSS_PID" PIPE
+      trap "kill -TERM $JBOSS_PID" TERM
+      # Wait until the background process exits
+      WAIT_STATUS=0
+      while [ "$WAIT_STATUS" -ne 127 ]; do
+         JBOSS_STATUS=$WAIT_STATUS
+         wait $JBOSS_PID 2>/dev/null
+         WAIT_STATUS=$?
+      done
+   fi
+   # If restart doesn't work, check you are running JBossAS 4.0.4+
+   #    http://jira.jboss.com/jira/browse/JBAS-2483
+   # or the following if you're running Red Hat 7.0
+   #    http://developer.java.sun.com/developer/bugParade/bugs/4465334.html   
+   if [ $JBOSS_STATUS -eq 10 ]; then
+      echo "Restarting JBoss..."
+   else
+      exit $JBOSS_STATUS
+   fi
+done
+


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/run.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.bat
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.bat	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.bat	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,66 @@
+ at echo off
+rem -------------------------------------------------------------------------
+rem JBoss JVM Launcher
+rem -------------------------------------------------------------------------
+
+rem $Id: shutdown.bat 22783 2004-08-07 19:39:38Z starksm $
+
+if not "%ECHO%" == ""  echo %ECHO%
+if "%OS%" == "Windows_NT"  setlocal
+
+set MAIN_JAR_NAME=shutdown.jar
+set MAIN_CLASS=org.jboss.Shutdown
+
+set DIRNAME=.\
+if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
+set PROGNAME=run.bat
+if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
+
+rem Read all command line arguments
+
+set ARGS=
+:loop
+if [%1] == [] goto end
+        set ARGS=%ARGS% %1
+        shift
+        goto loop
+:end
+
+rem Find MAIN_JAR, or we can't continue
+
+set MAIN_JAR=%DIRNAME%\%MAIN_JAR_NAME%
+if exist "%MAIN_JAR%" goto FOUND_MAIN_JAR
+echo Could not locate %MAIN_JAR%. Please check that you are in the
+echo bin directory when running this script.
+goto END
+
+:FOUND_MAIN_JAR
+
+if not "%JAVA_HOME%" == "" goto HAVE_JAVA_HOME
+
+set JAVA=java
+
+echo JAVA_HOME is not set.  Unexpected results may occur.
+echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
+goto SKIP_SET_JAVA_HOME
+
+:HAVE_JAVA_HOME
+
+set JAVA=%JAVA_HOME%\bin\java
+
+:SKIP_SET_JAVA_HOME
+
+set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%MAIN_JAR%;%DIRNAME%/../client/jbossall-client.jar
+
+rem Setup JBoss sepecific properties
+set JAVA_OPTS=%JAVA_OPTS% -Djboss.boot.loader.name=%PROGNAME%
+
+rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
+rem set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
+
+"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" %MAIN_CLASS% %ARGS%
+
+:END
+if "%NOPAUSE%" == "" pause
+
+:END_NO_PAUSE

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,73 @@
+#!/bin/sh
+### ====================================================================== ###
+##                                                                          ##
+##  JBoss Shutdown Script                                                   ##
+##                                                                          ##
+### ====================================================================== ###
+
+### $Id: shutdown.sh 62718 2007-05-02 09:06:09Z dimitris at jboss.org $ ###
+
+DIRNAME=`dirname $0`
+PROGNAME=`basename $0`
+GREP="grep"
+
+#
+# Helper to complain.
+#
+die() {
+    echo "${PROGNAME}: $*"
+    exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+case "`uname`" in
+    CYGWIN*)
+        cygwin=true
+        ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+    [ -n "$JBOSS_HOME" ] &&
+        JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
+    [ -n "$JAVA_HOME" ] &&
+        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Setup JBOSS_HOME
+if [ "x$JBOSS_HOME" = "x" ]; then
+    JBOSS_HOME=`cd $DIRNAME/..; pwd`
+fi
+export JBOSS_HOME
+
+# Setup the JVM
+if [ "x$JAVA" = "x" ]; then
+    if [ "x$JAVA_HOME" != "x" ]; then
+        JAVA="$JAVA_HOME/bin/java"
+    else
+        JAVA="java"
+    fi
+fi
+
+# Setup the classpath
+JBOSS_BOOT_CLASSPATH="$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jbossall-client.jar"
+
+if [ "x$JBOSS_CLASSPATH" = "x" ]; then
+    JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH"
+else
+    JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH"
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+    JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+    JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"`
+fi
+
+# Execute the JVM
+exec "$JAVA" \
+    $JAVA_OPTS \
+    -classpath $JBOSS_CLASSPATH \
+    org.jboss.Shutdown "$@"


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/shutdown.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.bat
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.bat	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.bat	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,71 @@
+ at echo off
+rem -------------------------------------------------------------------------
+rem JBoss JVM Launcher
+rem -------------------------------------------------------------------------
+
+rem $Id: twiddle.bat 62209 2007-04-10 12:41:38Z dimitris at jboss.org $
+
+if not "%ECHO%" == ""  echo %ECHO%
+if "%OS%" == "Windows_NT"  setlocal
+
+set MAIN_JAR_NAME=twiddle.jar
+set MAIN_CLASS=org.jboss.console.twiddle.Twiddle
+
+set DIRNAME=.\
+if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
+set PROGNAME=run.bat
+if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
+
+rem Read all command line arguments
+
+set ARGS=
+:loop
+if [%1] == [] goto end
+        set ARGS=%ARGS% %1
+        shift
+        goto loop
+:end
+
+rem Find MAIN_JAR, or we can't continue
+
+set MAIN_JAR=%DIRNAME%\%MAIN_JAR_NAME%
+if exist "%MAIN_JAR%" goto FOUND_MAIN_JAR
+echo Could not locate %MAIN_JAR%. Please check that you are in the
+echo bin directory when running this script.
+goto END
+
+:FOUND_MAIN_JAR
+
+if not "%JAVA_HOME%" == "" goto HAVE_JAVA_HOME
+
+set JAVA=java
+
+echo JAVA_HOME is not set.  Unexpected results may occur.
+echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
+goto SKIP_SET_JAVA_HOME
+
+:HAVE_JAVA_HOME
+
+set JAVA=%JAVA_HOME%\bin\java
+
+:SKIP_SET_JAVA_HOME
+
+rem only include jbossall-client.jar in classpath, if
+rem JBOSS_CLASSPATH was not yet set
+if not "%JBOSS_CLASSPATH%" == "" GOTO HAVE_JB_CP
+set JBOSS_CLASSPATH=%DIRNAME%\..\client\jbossall-client.jar
+set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\client\getopt.jar
+set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\client\log4j.jar
+set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\jboss-jmx.jar
+:HAVE_JB_CP
+
+set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%MAIN_JAR%
+
+rem Setup JBoss sepecific properties
+set JBOSS_HOME=%DIRNAME%\..
+set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed
+set JAVA_OPTS=%JAVA_OPTS% -Djboss.boot.loader.name=%PROGNAME%
+
+"%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" %MAIN_CLASS% %ARGS%
+
+:END

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,81 @@
+#!/bin/sh
+### ====================================================================== ###
+##                                                                          ##
+##  JBoss Shutdown Script                                                   ##
+##                                                                          ##
+### ====================================================================== ###
+
+### $Id: twiddle.sh 57032 2006-09-20 22:03:16Z dimitris at jboss.org $ ###
+
+DIRNAME=`dirname $0`
+PROGNAME=`basename $0`
+GREP="grep"
+
+#
+# Helper to complain.
+#
+die() {
+    echo "${PROGNAME}: $*"
+    exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+case "`uname`" in
+    CYGWIN*)
+        cygwin=true
+        ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+    [ -n "$JBOSS_HOME" ] &&
+        JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
+    [ -n "$JAVA_HOME" ] &&
+        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Setup JBOSS_HOME
+if [ "x$JBOSS_HOME" = "x" ]; then
+    JBOSS_HOME=`cd $DIRNAME/..; pwd`
+fi
+export JBOSS_HOME
+
+# Setup the JVM
+if [ "x$JAVA_HOME" != "x" ]; then
+    JAVA=$JAVA_HOME/bin/java
+else
+    JAVA="java"
+fi
+
+# Setup the classpath
+JBOSS_BOOT_CLASSPATH="$JBOSS_HOME/bin/twiddle.jar"
+
+if [ "x$JBOSS_CLASSPATH" = "x" ]; then
+    JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH"
+    JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/jbossall-client.jar"
+    JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/getopt.jar"
+    JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/log4j.jar"
+    JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/lib/jboss-jmx.jar"
+else
+    JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH"
+fi
+
+# Setup the java endorsed dirs
+JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+    JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+    JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"`
+    JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"`    
+fi
+
+# Execute the JVM
+exec "$JAVA" \
+    $JAVA_OPTS \
+    -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
+    -Dprogram.name="$PROGNAME" \
+    -classpath $JBOSS_CLASSPATH \
+    org.jboss.console.twiddle.Twiddle "$@"


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/twiddle.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsconsume.bat
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsconsume.bat	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsconsume.bat	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,55 @@
+ at echo off
+
+rem $Id: wsgen.bat 2158 2007-01-27 06:20:59Z jason.greene at jboss.com $
+
+ at if not "%ECHO%" == ""  echo %ECHO%
+ at if "%OS%" == "Windows_NT"  setlocal
+
+set DIRNAME=.\
+if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
+set PROGNAME=run.bat
+if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
+
+rem Read all command line arguments
+
+REM
+REM The %ARGS% env variable commented out in favor of using %* to include
+REM all args in java command line. See bug #840239. [jpl]
+REM
+REM set ARGS=
+REM :loop
+REM if [%1] == [] goto endloop
+REM         set ARGS=%ARGS% %1
+REM         shift
+REM         goto loop
+REM :endloop
+
+set JAVA=%JAVA_HOME%\bin\java
+set JBOSS_HOME=%DIRNAME%\..
+rem Setup the java endorsed dirs
+set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed
+
+rem Setup the wstools classpath
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JAVA_HOME%/lib/tools.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-xml-binding.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/wstx.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/activation.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/javassist.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/getopt.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxb-api.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/stax-api.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxb-impl.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxb-xjc.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxws-rt.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxws-tools.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jbossws-spi.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jbossall-client.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-saaj.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxrpc.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxws.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jbossws-client.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/log4j.jar
+set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/mail.jar
+
+rem Execute the JVM
+"%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -Dlog4j.configuration=wstools-log4j.xml -classpath "%WSCONSUME_CLASSPATH%" org.jboss.wsf.spi.tools.cmd.WSConsume %*

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsconsume.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsconsume.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsconsume.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,129 @@
+#!/bin/sh
+
+#
+# Invoke wsconsume with dynamic classpath
+# depending on the deployed stack and the location
+#
+# @author Heiko.Braun at jboss.com
+# @version $Id: $
+#
+
+DIRNAME=`dirname $0`
+PROGNAME=`basename $0`
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+case "`uname`" in
+    CYGWIN*)
+        cygwin=true
+        ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+    [ -n "$JBOSS_HOME" ] &&
+        JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
+    [ -n "$JAVA_HOME" ] &&
+        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Setup JBOSS_HOME
+if [ "x$JBOSS_HOME" = "x" ]; then
+    # get the full path (without any relative bits)
+    JBOSS_HOME=`cd $DIRNAME/..; pwd`
+fi
+export JBOSS_HOME
+
+# Setup the JVM
+if [ "x$JAVA" = "x" ]; then
+    if [ "x$JAVA_HOME" != "x" ]; then
+	JAVA="$JAVA_HOME/bin/java"
+    else
+	JAVA="java"
+    fi
+fi
+
+#JPDA options. Uncomment and modify as appropriate to enable remote debugging .
+#JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y $JAVA_OPTS"
+
+# Setup JBoss sepecific properties
+JAVA_OPTS="$JAVA_OPTS"
+
+# Setup the java endorsed dirs
+JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"
+
+###
+# Setup the LIBDIR
+# This script maybe used form within the jbossws distribution
+# or installed under JBOSS_HOME/bin
+###
+
+PARENT=`cd $DIRNAME/..; pwd`
+if [ -d $PARENT/client ]; then	
+	LIBDIR=$JBOSS_HOME/client
+else
+	LIBDIR=$PARENT/lib	
+fi
+
+# Is it a JBossWS-native or SunRI installation?
+if [ -a $LIBDIR/jbossws-client.jar ]; then
+    JBOSSWS_NATIVE="true"
+fi
+
+###
+# Setup the wsconsume classpath
+# The classpath is dynamically build depending on the stack that
+# is deployed. See $JBOSSWS_NATIVE above.
+###
+
+# shared libs
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$JAVA_HOME/lib/tools.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/activation.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/getopt.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/wstx.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jbossall-client.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/log4j.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/mail.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jbossws-spi.jar"
+
+# shared jaxws libs 
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jaxws-tools.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jaxws-rt.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/stax-api.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jaxb-api.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jaxb-impl.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jaxb-xjc.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/streambuffer.jar"
+WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/stax-ex.jar"
+
+# stack specific dependencies
+if [ "x$JBOSSWS_NATIVE" = "x" ]; then
+   echo "JBossWS-SunRI stack deployed"
+   WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jbossws-sunri-client.jar"
+else
+   echo "JBossWS-Native stack deployed"
+   WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/javassist.jar"
+   WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jboss-xml-binding.jar"
+   WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jbossws-client.jar"
+   WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jboss-jaxws.jar"
+   WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jboss-jaxrpc.jar"
+   WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jboss-saaj.jar"
+fi
+
+###
+# Execute the JVM
+###
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+    JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+    WSCONSUME_CLASSPATH=`cygpath --path --windows "$WSCONSUME_CLASSPATH"`
+    JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"`
+fi
+
+"$JAVA" $JAVA_OPTS \
+   -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
+   -Dlog4j.configuration=wstools-log4j.xml \
+   -classpath "$WSCONSUME_CLASSPATH" \
+   org.jboss.wsf.spi.tools.cmd.WSConsume "$@"


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsconsume.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsprovide.bat
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsprovide.bat	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsprovide.bat	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,49 @@
+ at echo off
+
+rem $Id: wsprovide.bat 3101 2007-05-16 08:26:33Z heiko.braun at jboss.com $
+
+ at if not "%ECHO%" == ""  echo %ECHO%
+ at if "%OS%" == "Windows_NT"  setlocal
+
+set DIRNAME=.\
+if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
+set PROGNAME=run.bat
+if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
+
+rem Read all command line arguments
+
+REM
+REM The %ARGS% env variable commented out in favor of using %* to include
+REM all args in java command line. See bug #840239. [jpl]
+REM
+REM set ARGS=
+REM :loop
+REM if [%1] == [] goto endloop
+REM         set ARGS=%ARGS% %1
+REM         shift
+REM         goto loop
+REM :endloop
+
+set JAVA=%JAVA_HOME%\bin\java
+set JBOSS_HOME=%DIRNAME%\..
+rem Setup the java endorsed dirs
+set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed
+
+rem Setup the wstools classpath
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jboss-xml-binding.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/activation.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/javassist.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/getopt.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jaxb-api.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jaxb-impl.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jbossall-client.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jbossws-client.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxws.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxrpc.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jboss-saaj.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/log4j.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/mail.jar
+set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jbossws-spi.jar
+
+rem Execute the JVM
+"%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -Dlog4j.configuration=wstools-log4j.xml -classpath "%WSPROVIDE_CLASSPATH%" org.jboss.wsf.spi.tools.cmd.WSProvide %*

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsprovide.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsprovide.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsprovide.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,136 @@
+#!/bin/sh
+
+#
+# Invoke wsprovide with dynamic classpath
+# depending on the deployed stack and the location
+#
+# @author Heiko.Braun at jboss.com
+# @version $Id: $
+#
+
+DIRNAME=`dirname $0`
+PROGNAME=`basename $0`
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+case "`uname`" in
+    CYGWIN*)
+        cygwin=true
+        ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+    [ -n "$JBOSS_HOME" ] &&
+        JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
+    [ -n "$JAVA_HOME" ] &&
+        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Setup JBOSS_HOME
+if [ "x$JBOSS_HOME" = "x" ]; then
+    # get the full path (without any relative bits)
+    JBOSS_HOME=`cd $DIRNAME/..; pwd`
+fi
+export JBOSS_HOME
+
+# Setup the JVM
+if [ "x$JAVA" = "x" ]; then
+    if [ "x$JAVA_HOME" != "x" ]; then
+	JAVA="$JAVA_HOME/bin/java"
+    else
+	JAVA="java"
+    fi
+fi
+
+#JPDA options. Uncomment and modify as appropriate to enable remote debugging .
+#JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y $JAVA_OPTS"
+
+# Setup JBoss sepecific properties
+JAVA_OPTS="$JAVA_OPTS"
+
+# Setup the java endorsed dirs
+JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"
+
+###
+# Setup the LIBDIR
+# This script maybe used form within the jbossws distribution
+# or installed under JBOSS_HOME/bin
+###
+
+PARENT=`cd $DIRNAME/..; pwd`
+if [ -d $PARENT/client ]; then
+	LIBDIR=$JBOSS_HOME/client
+else
+	LIBDIR=$PARENT/lib
+fi
+
+# is it a JBossWS-native or SunRI installation?
+if [ -a $LIBDIR/jbossws-client.jar ]; then
+    JBOSSWS_NATIVE="true"
+fi
+
+###
+# Setup the wsprovide classpath
+# The classpath is dynamically build depending on the stack that
+# is deployed. See $JBOSSWS_NATIVE above.
+###
+
+# shared libs
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JAVA_HOME/lib/tools.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jbossws-spi.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/activation.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/getopt.jar"
+
+# TODO: verify jbossall-client.jar dependency. It might be just logging
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jbossall-client.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/log4j.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/mail.jar"
+
+# shared jaxws libs
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxb-api.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxb-impl.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxb-xjc.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxws-tools.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxws-rt.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/streambuffer.jar"
+WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/stax-ex.jar"
+
+# stack specific dependencies
+if [ "x$JBOSSWS_NATIVE" = "x" ]; then
+   echo "JBossWS-SunRI stack deployed"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jbossws-sunri-client.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxws-api.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jsr181-api.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/saaj-api.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/saaj-impl.jar"
+else
+   echo "JBossWS-Native stack deployed"	
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jboss-xml-binding.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/javassist.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jbossall-client.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jbossws-client.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jboss-jaxws.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jboss-jaxrpc.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jboss-saaj.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/policy.jar"
+   WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/wsdl4j.jar"
+fi
+
+###
+# Execute the JVM
+###
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+    JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+    WSPROVIDE_CLASSPATH=`cygpath --path --windows "$WSPROVIDE_CLASSPATH"`
+    JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"`
+fi
+
+"$JAVA" $JAVA_OPTS \
+   -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
+   -Dlog4j.configuration=wstools-log4j.xml \
+   -classpath "$WSPROVIDE_CLASSPATH" \
+   org.jboss.wsf.spi.tools.cmd.WSProvide "$@"


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsprovide.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsrunclient.bat
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsrunclient.bat	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsrunclient.bat	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,68 @@
+ at echo off
+
+rem $Id: wsprovide.bat 2325 2007-02-09 22:14:15Z jason.greene at jboss.com $
+
+ at if not "%ECHO%" == ""  echo %ECHO%
+ at if "%OS%" == "Windows_NT"  setlocal
+
+set DIRNAME=.\
+if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
+set PROGNAME=run.bat
+if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
+
+
+if not [%1] == [] goto start
+    echo %PROGNAME% is a command line tool that invokes a JBossWS JAX-WS Web Service client.
+    echo It builds the correct classpath and endorsed libs for you. Feel free to use
+    echo the code for this script to make your own shell scripts. It is open source
+    echo after all.
+    echo.
+    echo usage: %PROGNAME% [-classpath ^<additional class path^>] ^<java-main-class^> [arguments...]
+    goto EOF 
+:start 
+set ARGS=
+:loop
+if [%1] == [] goto endloop
+    if not %1 == -classpath goto argset 
+      set WSRUNCLIENT_CLASSPATH=%2
+      shift 
+      shift
+      goto loop
+    :argset
+      set ARGS=%ARGS% %1 
+      shift
+      goto loop
+:endloop
+
+set JAVA=%JAVA_HOME%\bin\java
+set JBOSS_HOME=%DIRNAME%\..
+rem Setup the java endorsed dirs
+set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed
+
+rem Setup the wstools classpath
+
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/activation.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/mail.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/log4j.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/javassist.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jaxb-api.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jaxb-impl.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jbossws-client.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jbossws-spi.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxws.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxrpc.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-saaj.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-xml-binding.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/wsdl4j.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/policy.jar
+
+rem taken from jbossall-client.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-logging-spi.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-common-core.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/concurrent.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/commons-logging.jar
+set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-remoting.jar
+
+rem Execute the JVM
+"%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -Dlog4j.configuration=wstools-log4j.xml -classpath "%WSRUNCLIENT_CLASSPATH%" %ARGS%
+:EOF

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsrunclient.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsrunclient.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsrunclient.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,90 @@
+#!/bin/sh
+
+# $Id: wsprovide 2325 2007-02-09 22:14:15Z jason.greene at jboss.com $
+DIRNAME=`dirname $0`
+PROGNAME=`basename $0`
+
+if [ $# -eq 0 ]; then
+    echo "$PROGNAME is a command line tool that invokes a JBossWS JAX-WS Web Service client."
+    echo "It builds the correct classpath and endorsed libs for you. Feel free to use"
+    echo "the code for this script to make your own shell scripts. It is open source"
+    echo "after all."
+    echo 
+    echo "usage: $PROGNAME [-classpath <additional class path>] <java-main-class> [arguments...]"
+    exit 1;
+fi
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+case "`uname`" in
+    CYGWIN*)
+        cygwin=true
+        ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+    [ -n "$JBOSS_HOME" ] &&
+        JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
+    [ -n "$JAVA_HOME" ] &&
+        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Setup JBOSS_HOME
+if [ "x$JBOSS_HOME" = "x" ]; then
+    # get the full path (without any relative bits)
+    JBOSS_HOME=`cd $DIRNAME/..; pwd`
+fi
+export JBOSS_HOME
+
+# Setup the JVM
+if [ "x$JAVA" = "x" ]; then
+    if [ "x$JAVA_HOME" != "x" ]; then
+	JAVA="$JAVA_HOME/bin/java"
+    else
+	JAVA="java"
+    fi
+fi
+
+#JPDA options. Uncomment and modify as appropriate to enable remote debugging .
+#JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS"
+
+# Setup JBoss sepecific properties
+JAVA_OPTS="$JAVA_OPTS"
+
+# Setup the java endorsed dirs
+JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"
+
+# Setup the client classpath
+WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/log4j.jar"
+WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jbossws-client.jar"
+
+# JBossAS-5.0 subset of jbossall-client.jar
+WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jboss-logging-spi.jar"
+WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jboss-common-core.jar"
+
+# JBossAS-4.2 subset of jbossall-client.jar
+WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jboss-common-client.jar"
+
+while [ $# -ge 1 ]; do
+   case $1 in
+       "-classpath") WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$2"; shift;;
+       *) args="$args \"$1\"";;
+   esac
+   shift
+done
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+    JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+    WSRUNCLIENT_CLASSPATH=`cygpath --path --windows "$WSRUNCLIENT_CLASSPATH"`
+    JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"`
+fi
+
+# Execute the JVM
+eval "$JAVA" $JAVA_OPTS \
+   -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
+   -Dlog4j.configuration=wstools-log4j.xml \
+   -classpath "$WSRUNCLIENT_CLASSPATH" \
+   "$args"


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wsrunclient.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wstools.bat
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wstools.bat	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wstools.bat	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,68 @@
+ at echo off
+
+rem $Id: wstools.bat 2156 2007-01-27 05:59:35Z jason.greene at jboss.com $
+
+ at if not "%ECHO%" == ""  echo %ECHO%
+ at if "%OS%" == "Windows_NT"  setlocal
+
+set DIRNAME=.\
+if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
+set PROGNAME=run.bat
+if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
+
+rem Read all command line arguments
+
+REM
+REM The %ARGS% env variable commented out in favor of using %* to include
+REM all args in java command line. See bug #840239. [jpl]
+REM
+REM set ARGS=
+REM :loop
+REM if [%1] == [] goto endloop
+REM         set ARGS=%ARGS% %1
+REM         shift
+REM         goto loop
+REM :endloop
+
+set JAVA=%JAVA_HOME%\bin\java
+set JBOSS_HOME=%DIRNAME%\..
+rem Setup the java endorsed dirs
+set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed
+
+rem Setup the wstools classpath
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;$JAVA_HOME/lib/tools.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/activation.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/getopt.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/wstx.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jbossall-client.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/log4j.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/mail.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/concurrent.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jbossws-spi.jar
+
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/javassist.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-xml-binding.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jbossws-client.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxws.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxrpc.jar
+set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-saaj.jar
+
+rem Display our environment
+echo ========================================================================="
+echo . 
+echo   WSTools Environment
+echo .
+echo   JBOSS_HOME: %JBOSS_HOME%
+echo .
+echo   JAVA: %JAVA%
+echo .
+echo   JAVA_OPTS: %JAVA_OPTS%
+echo .
+rem echo   CLASSPATH: %WSTOOLS_CLASSPATH%
+rem echo .
+echo ========================================================================="
+echo .
+
+rem Execute the JVM
+"%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -Dlog4j.configuration=wstools-log4j.xml -classpath "%WSTOOLS_CLASSPATH%" org.jboss.ws.tools.WSTools %*
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wstools.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wstools.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wstools.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,98 @@
+#!/bin/sh
+
+# $Id: wstools.sh 2157 2007-01-27 06:03:58Z jason.greene at jboss.com $
+
+DIRNAME=`dirname $0`
+PROGNAME=`basename $0`
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+case "`uname`" in
+    CYGWIN*)
+        cygwin=true
+        ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+    [ -n "$JBOSS_HOME" ] &&
+        JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
+    [ -n "$JAVA_HOME" ] &&
+        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Setup JBOSS_HOME
+if [ "x$JBOSS_HOME" = "x" ]; then
+    # get the full path (without any relative bits)
+    JBOSS_HOME=`cd $DIRNAME/..; pwd`
+fi
+export JBOSS_HOME
+
+# Setup the JVM
+if [ "x$JAVA" = "x" ]; then
+    if [ "x$JAVA_HOME" != "x" ]; then
+	JAVA="$JAVA_HOME/bin/java"
+    else
+	JAVA="java"
+    fi
+fi
+
+#JPDA options. Uncomment and modify as appropriate to enable remote debugging .
+#JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS"
+
+# Setup JBoss sepecific properties
+JAVA_OPTS="$JAVA_OPTS"
+
+# Setup the java endorsed dirs
+JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"
+
+# Setup the wstools classpath
+# shared libs
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JAVA_HOME/lib/tools.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/activation.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/getopt.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/wstx.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jbossall-client.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/log4j.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/mail.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/concurrent.jar" 
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jbossws-spi.jar"
+
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/javassist.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jboss-xml-binding.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jbossws-client.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jboss-jaxws.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jboss-jaxrpc.jar"
+WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jboss-saaj.jar"
+
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+    JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+    WSTOOLS_CLASSPATH=`cygpath --path --windows "$WSTOOLS_CLASSPATH"`
+    JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"`
+fi
+
+# Display our environment
+echo "========================================================================="
+echo ""
+echo "  WSTools Environment"
+echo ""
+echo "  JBOSS_HOME: $JBOSS_HOME"
+echo ""
+echo "  JAVA: $JAVA"
+echo ""
+echo "  JAVA_OPTS: $JAVA_OPTS"
+echo ""
+#echo "  CLASSPATH: $WSTOOLS_CLASSPATH"
+#echo ""
+echo "========================================================================="
+echo ""
+
+# Execute the JVM
+"$JAVA" $JAVA_OPTS \
+   -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
+   -Dlog4j.configuration=wstools-log4j.xml \
+   -classpath "$WSTOOLS_CLASSPATH" \
+   org.jboss.ws.tools.WSTools "$@"


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/bin/wstools.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/activation.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/activation.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/antlr.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/antlr.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/auth.conf
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/auth.conf	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/auth.conf	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+srp-client {
+   // Example client auth.conf for using the SRPLoginModule
+   org.jboss.security.srp.jaas.SRPLoginModule required
+   password-stacking="useFirstPass"
+   principalClassName="org.jboss.security.SimplePrincipal"
+   srpServerJndiName="SRPServerInterface"
+   debug=true
+	;
+
+   // jBoss LoginModule
+   org.jboss.security.ClientLoginModule  required
+   password-stacking="useFirstPass"
+   ;
+
+   // Put your login modules that need jBoss here
+};
+
+other {
+   // jBoss LoginModule
+   org.jboss.security.ClientLoginModule  required
+   ;
+
+   // Put your login modules that need jBoss here
+};
+ 

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/avalon-framework.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/avalon-framework.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/commons-codec.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/commons-codec.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/commons-httpclient.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/commons-httpclient.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/commons-logging.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/commons-logging.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/concurrent.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/concurrent.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/ejb3-persistence.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/ejb3-persistence.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/getopt.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/getopt.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/hibernate-annotations.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/hibernate-annotations.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/hibernate-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/hibernate-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jacorb.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jacorb.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/javassist.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/javassist.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxb-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxb-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxb-impl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxb-impl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxb-xjc.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxb-xjc.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxws-rt.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxws-rt.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxws-tools.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jaxws-tools.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-annotations-ejb3.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-annotations-ejb3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-aop-jdk50-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-aop-jdk50-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-aspect-jdk50-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-aspect-jdk50-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-common-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-common-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-deployment.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-deployment.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-ejb3-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-ejb3-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-ejb3x.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-ejb3x.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-iiop-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-iiop-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-j2ee.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-j2ee.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-jaxrpc.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-jaxrpc.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-jaxws.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-jaxws.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-jsr77-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-jsr77-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-remoting.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-remoting.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-saaj.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-saaj.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-serialization.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-serialization.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-srp-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-srp-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-system-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-system-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-transaction-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-transaction-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-xml-binding.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jboss-xml-binding.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossall-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossall-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbosscx-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbosscx-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossha-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossha-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossjmx-ant.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossjmx-ant.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossmq-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossmq-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbosssx-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbosssx-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-common.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-common.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-framework.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-framework.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-jboss42.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-jboss42.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-spi.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jbossws-spi.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jmx-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jmx-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jmx-invoker-adaptor-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jmx-invoker-adaptor-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jnp-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/jnp-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/log4j.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/log4j.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/logkit.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/logkit.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/mail.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/mail.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/policy.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/policy.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/scout.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/scout.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/servlet-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/servlet-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/stax-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/stax-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/stax-ex.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/stax-ex.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/streambuffer.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/streambuffer.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/trove.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/trove.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/wsdl4j.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/wsdl4j.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/wstx.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/wstx.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/xmlsec.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/client/xmlsec.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/copyright.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/copyright.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/copyright.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,158 @@
+The JBoss(R)* app server is Copyright 2000-2007, Red Hat Middleware LLC
+and individual contributors, and is licensed under the GNU LGPL.
+
+A summary of the individual contributors is given below.
+Any omission should be sent to scott.stark at jboss.org.
+
+CVS Login(s)            Name
+-------------------------------------------------------------------------------
+adrian,ejort            Adrian Brock
+aloubyansky,loubyansky  Alex Loubyansky
+asaldhana,osdchicago    Anil Saldhana
+csuconic,clebert        Clebert Suconic
+dimitris,andd           Dimitris Andreadis
+kkhan,kabkhan           Kabir Khan
+ovidiu,ovidiuf          Ovidiu Feodorov
+starksm,stark           Scott M Stark
+tdiesler                Thomas Diesler
+timfox                  Tim Fox
+bstansberry             Brian Stansberry
+jgreene,nihility        Jason Greene
+rloehr                  Ruel Loehr
+reverbel                Francisco Reverbel
+alesj                   Ales Justin
+bdecoste                Bill DeCoste
+bill,patriot1burke      Bill Burke
+telrod                  Tom Elrod
+schrouf                 Ulf Schroeter
+rrajasekaran            Rajesh Rajasekaran
+genman                  Elias Ross
+clin                    Chi Lin
+ssilvert                Stan Silvert
+peterj                  Peter Johnson
+rcampbell,recampbell    Ryan Cambell
+acoliver,acoliver2      Andy Oliver
+walkerrl49              Bob Walker
+bwang,bwang00           Ben Wang
+pilhuhn                 Heiko W. Rupp
+jerrygauth              Jerry Gauthier
+ltexier                 Luc Texier
+jchang                  Jack Chang
+nrichards,orb           Norman Richards
+remm                    Remy Maucherat
+nrocher,noelrocher      Noel Rocher
+ccrouch                 Charles Crouch
+sacha,slaboure          Sacha Labourey
+bela,belaan             Bela Ban
+jmoran                  Jim Moran
+gavin,oneovthafew       Gavin King
+msurtani                Manik Surtani
+sebersole,steveebersole Steve Ebersole
+smarlow                 Scott Marlow
+hbarlas                 Haroon Barlas
+rawb                    Robert Stryker
+flaviarnn               Flavia Rainone
+cazzius                 Claudio Vesco
+russo,royrusso          Roy Russo
+theute                  Thomas Heute
+mnf999,fleury           Marc Fleury
+aveitas                 Algirdas Veitas
+deb                     Deborah Hooker
+karan_malhi             Karan Singh
+pharaohh                Les A. Hazlewood
+ricardoarguello         Ricardo Arguello
+rauschuber              Chris Rauschuber
+jhaynie                 Jeff Haynie
+vietj,cooperfbi         Julien Viet
+richarzk                Klaus Richarz
+chussenet               Claude Hussenet
+aclute                  Andrew Clute
+juntao                  Juntao Yuan
+kevconner               Kevin Conner
+mlavergn                Marc Lavergne
+triathlon98             Joachim Van der Auwera
+ivelin                  Ivelin Atanasoff Ivanov
+kimptoc,kimptonc        Chris Kimpton
+marshall_law,mculpepper Marshall Culpepper
+tpeuss                  Thomas Peuss
+essington               Jason Essington
+posselt                 Dietmar Posselt
+juhalindfors,juha       Juha Lindfors
+lqd                     Christian Riege
+scoy                    Stephen Coy
+cgjung                  Christoph Georg Jung
+rnjn5                   Neil Dattani
+luke_t,negaton          Luke Taylor
+sreich                  Stefan Reich
+thomasra                Thomas Roka-Aardal
+mikefinn                Mike Finn
+d_jencks                David Jencks
+jules_gosnell           Jules Gosnell
+dsundstrom              Dain Sundstrom
+gregwilkins             Greg Wilkins
+janb                    Jan Bartel
+eli201                  Eli Tilevich
+harald_gliebe           Harald Gliebe
+mnewcomb                Michael Newcomb
+andygodwin              Andy Godwin
+chirino,hiram           Hiram Chirino
+user57                  Jason Dillon
+nphelps                 Nathan W. Phelps
+sasp                    Spyridon Samothrakis
+igorfie                 Igor Fedorenko
+jboynes                 Jeremy Boynes
+kbirch                  Kevin Birch
+yanikc                  Yanik Crepeau
+alindsey                Aaron Lindsey
+mclaugs                 Scott McLaughlin
+austinchau              Austin Chau
+binaryfeed              Jeffrey Wescott
+pra                     Peter Antman
+jcooley                 James Cooley
+gropi                   Tobias Frech
+mattmunz                Matthew Munz
+stormy_sky,schaefera    Andreas Schaefer
+peter_f                 Peter Fagerlund
+sparre,osh              Ole Husgaard
+bartmann                Michael Bartmann
+lsanders                Larry Sanderson
+thesitesman             Seth Sites
+azakkerman              Anatoly Akkerman
+sgturner                Greg Turner
+fbrier                  Frederick N. Brier
+biorn_steedom,simone    Simone Bordet
+yarrumretep             Peter M. Murray
+peterbraswell           Peter Braswell
+jwalters                Jay Walters
+danch                   Dan Christopherson
+fhanik                  Filip Hanik
+squirest                Trevor Squires
+olegnitz,oleg           Oleg Nitz
+neales                  Neale Swinnerton
+mikesr                  Mike Swainston-Rainford
+dbudworth               David Budworth
+weave                   Brian Weaver
+vharcq                  Vincent Harcq
+dmaplesden              David Maplesden
+boissier                Guillaume Boissiere
+plevart                 Peter Levart
+thedug                  Doug Ferguson
+lepe,lennart            Lennart Petersson
+charles_chan            Charles Chan
+pkendall                Paul Kendall
+vlada                   Vladimir Blagojevic
+rickardoberg,oberg      Rickard Öberg
+jayeshpk                Jayesh Parayali
+deerwood                Georg Rehfeld
+tobyallsopp,allsopp     Toby Allsopp
+kvvinaymenon            KV Vinay Menon
+docodan                 Daniel OConnor
+stacycurl               Stacy Curl
+phox                    Fulco Muriglio
+dmcnair                 Dewayne McNair
+vladimir                Vladimir Ivanovic
+joel                    Joel Phillips
+
+-------------------------------------------------------------------------------
+* JBoss is a registered trademark of Red Hat Middleware LLC.
+ 
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/README-DTD.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/README-DTD.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/README-DTD.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+# $Id: README-DTD.txt 60564 2007-02-15 11:12:12Z dimitris at jboss.org $
+The following files contained within this folder are covered by license terms
+documented in docs/licenses/sun-specs.txt of the distribution.
+
+application_1_2.dtd
+application_1_3.dtd
+application-client_1_3.dtd
+connector_1_0.dtd
+ejb-jar.dtd
+ejb-jar_2_0.dtd
+web-app_2_2.dtd
+web-app_2_3.dtd
+
+More details on using these J2EE Schemas are available at:
+java.sun.com/xml/ns/j2ee/#usage

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/XMLSchema.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/XMLSchema.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/XMLSchema.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,402 @@
+<!-- DTD for XML Schemas: Part 1: Structures
+     Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN"
+     Official Location: http://www.w3.org/2001/XMLSchema.dtd -->
+<!-- $Id: XMLSchema.dtd 20476 2004-04-17 13:29:24Z tdiesler $ -->
+<!-- Note this DTD is NOT normative, or even definitive. -->           <!--d-->
+<!-- prose copy in the structures REC is the definitive version -->    <!--d-->
+<!-- (which shouldn't differ from this one except for this -->         <!--d-->
+<!-- comment and entity expansions, but just in case) -->              <!--d-->
+<!-- With the exception of cases with multiple namespace
+     prefixes for the XML Schema namespace, any XML document which is
+     not valid per this DTD given redefinitions in its internal subset of the
+     'p' and 's' parameter entities below appropriate to its namespace
+     declaration of the XML Schema namespace is almost certainly not
+     a valid schema. -->
+
+<!-- The simpleType element and its constituent parts
+     are defined in XML Schema: Part 2: Datatypes -->
+<!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' >
+
+<!ENTITY % p 'xs:'> <!-- can be overriden in the internal subset of a
+                         schema document to establish a different
+                         namespace prefix -->
+<!ENTITY % s ':xs'> <!-- if %p is defined (e.g. as foo:) then you must
+                         also define %s as the suffix for the appropriate
+                         namespace declaration (e.g. :foo) -->
+<!ENTITY % nds 'xmlns%s;'>
+
+<!-- Define all the element names, with optional prefix -->
+<!ENTITY % schema "%p;schema">
+<!ENTITY % complexType "%p;complexType">
+<!ENTITY % complexContent "%p;complexContent">
+<!ENTITY % simpleContent "%p;simpleContent">
+<!ENTITY % extension "%p;extension">
+<!ENTITY % element "%p;element">
+<!ENTITY % unique "%p;unique">
+<!ENTITY % key "%p;key">
+<!ENTITY % keyref "%p;keyref">
+<!ENTITY % selector "%p;selector">
+<!ENTITY % field "%p;field">
+<!ENTITY % group "%p;group">
+<!ENTITY % all "%p;all">
+<!ENTITY % choice "%p;choice">
+<!ENTITY % sequence "%p;sequence">
+<!ENTITY % any "%p;any">
+<!ENTITY % anyAttribute "%p;anyAttribute">
+<!ENTITY % attribute "%p;attribute">
+<!ENTITY % attributeGroup "%p;attributeGroup">
+<!ENTITY % include "%p;include">
+<!ENTITY % import "%p;import">
+<!ENTITY % redefine "%p;redefine">
+<!ENTITY % notation "%p;notation">
+
+<!-- annotation elements -->
+<!ENTITY % annotation "%p;annotation">
+<!ENTITY % appinfo "%p;appinfo">
+<!ENTITY % documentation "%p;documentation">
+
+<!-- Customisation entities for the ATTLIST of each element type.
+     Define one of these if your schema takes advantage of the
+     anyAttribute='##other' in the schema for schemas -->
+
+<!ENTITY % schemaAttrs ''>
+<!ENTITY % complexTypeAttrs ''>
+<!ENTITY % complexContentAttrs ''>
+<!ENTITY % simpleContentAttrs ''>
+<!ENTITY % extensionAttrs ''>
+<!ENTITY % elementAttrs ''>
+<!ENTITY % groupAttrs ''>
+<!ENTITY % allAttrs ''>
+<!ENTITY % choiceAttrs ''>
+<!ENTITY % sequenceAttrs ''>
+<!ENTITY % anyAttrs ''>
+<!ENTITY % anyAttributeAttrs ''>
+<!ENTITY % attributeAttrs ''>
+<!ENTITY % attributeGroupAttrs ''>
+<!ENTITY % uniqueAttrs ''>
+<!ENTITY % keyAttrs ''>
+<!ENTITY % keyrefAttrs ''>
+<!ENTITY % selectorAttrs ''>
+<!ENTITY % fieldAttrs ''>
+<!ENTITY % includeAttrs ''>
+<!ENTITY % importAttrs ''>
+<!ENTITY % redefineAttrs ''>
+<!ENTITY % notationAttrs ''>
+<!ENTITY % annotationAttrs ''>
+<!ENTITY % appinfoAttrs ''>
+<!ENTITY % documentationAttrs ''>
+
+<!ENTITY % complexDerivationSet "CDATA">
+      <!-- #all or space-separated list drawn from derivationChoice -->
+<!ENTITY % blockSet "CDATA">
+      <!-- #all or space-separated list drawn from
+                      derivationChoice + 'substitution' -->
+
+<!ENTITY % mgs '%all; | %choice; | %sequence;'>
+<!ENTITY % cs '%choice; | %sequence;'>
+<!ENTITY % formValues '(qualified|unqualified)'>
+
+
+<!ENTITY % attrDecls    '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'>
+
+<!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'>
+
+<!-- This is used in part2 -->
+<!ENTITY % restriction1 '((%mgs; | %group;)?)'>
+
+%xs-datatypes;
+
+<!-- the duplication below is to produce an unambiguous content model
+     which allows annotation everywhere -->
+<!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*,
+                    ((%simpleType; | %complexType;
+                      | %element; | %attribute;
+                      | %attributeGroup; | %group;
+                      | %notation; ),
+                     (%annotation;)*)* )>
+<!ATTLIST %schema;
+   targetNamespace      %URIref;               #IMPLIED
+   version              CDATA                  #IMPLIED
+   %nds;                %URIref;               #FIXED 'http://www.w3.org/2001/XMLSchema'
+   xmlns                CDATA                  #IMPLIED
+   finalDefault         %complexDerivationSet; ''
+   blockDefault         %blockSet;             ''
+   id                   ID                     #IMPLIED
+   elementFormDefault   %formValues;           'unqualified'
+   attributeFormDefault %formValues;           'unqualified'
+   xml:lang             CDATA                  #IMPLIED
+   %schemaAttrs;>
+<!-- Note the xmlns declaration is NOT in the Schema for Schemas,
+     because at the Infoset level where schemas operate,
+     xmlns(:prefix) is NOT an attribute! -->
+<!-- The declaration of xmlns is a convenience for schema authors -->
+ 
+<!-- The id attribute here and below is for use in external references
+     from non-schemas using simple fragment identifiers.
+     It is NOT used for schema-to-schema reference, internal or
+     external. -->
+
+<!-- a type is a named content type specification which allows attribute
+     declarations-->
+<!-- -->
+
+<!ELEMENT %complexType; ((%annotation;)?,
+                         (%simpleContent;|%complexContent;|
+                          %particleAndAttrs;))>
+
+<!ATTLIST %complexType;
+          name      %NCName;                        #IMPLIED
+          id        ID                              #IMPLIED
+          abstract  %boolean;                       #IMPLIED
+          final     %complexDerivationSet;          #IMPLIED
+          block     %complexDerivationSet;          #IMPLIED
+          mixed (true|false) 'false'
+          %complexTypeAttrs;>
+
+<!-- particleAndAttrs is shorthand for a root type -->
+<!-- mixed is disallowed if simpleContent, overriden if complexContent
+     has one too. -->
+
+<!-- If anyAttribute appears in one or more referenced attributeGroups
+     and/or explicitly, the intersection of the permissions is used -->
+
+<!ELEMENT %complexContent; ((%annotation;)?, (%restriction;|%extension;))>
+<!ATTLIST %complexContent;
+          mixed (true|false) #IMPLIED
+          id    ID           #IMPLIED
+          %complexContentAttrs;>
+
+<!-- restriction should use the branch defined above, not the simple
+     one from part2; extension should use the full model  -->
+
+<!ELEMENT %simpleContent; ((%annotation;)?, (%restriction;|%extension;))>
+<!ATTLIST %simpleContent;
+          id    ID           #IMPLIED
+          %simpleContentAttrs;>
+
+<!-- restriction should use the simple branch from part2, not the 
+     one defined above; extension should have no particle  -->
+
+<!ELEMENT %extension; ((%annotation;)?, (%particleAndAttrs;))>
+<!ATTLIST %extension;
+          base  %QName;      #REQUIRED
+          id    ID           #IMPLIED
+          %extensionAttrs;>
+
+<!-- an element is declared by either:
+ a name and a type (either nested or referenced via the type attribute)
+ or a ref to an existing element declaration -->
+
+<!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?,
+                     (%unique; | %key; | %keyref;)*)>
+<!-- simpleType or complexType only if no type|ref attribute -->
+<!-- ref not allowed at top level -->
+<!ATTLIST %element;
+            name               %NCName;               #IMPLIED
+            id                 ID                     #IMPLIED
+            ref                %QName;                #IMPLIED
+            type               %QName;                #IMPLIED
+            minOccurs          %nonNegativeInteger;   #IMPLIED
+            maxOccurs          CDATA                  #IMPLIED
+            nillable           %boolean;              #IMPLIED
+            substitutionGroup  %QName;                #IMPLIED
+            abstract           %boolean;              #IMPLIED
+            final              %complexDerivationSet; #IMPLIED
+            block              %blockSet;             #IMPLIED
+            default            CDATA                  #IMPLIED
+            fixed              CDATA                  #IMPLIED
+            form               %formValues;           #IMPLIED
+            %elementAttrs;>
+<!-- type and ref are mutually exclusive.
+     name and ref are mutually exclusive, one is required -->
+<!-- In the absence of type AND ref, type defaults to type of
+     substitutionGroup, if any, else the ur-type, i.e. unconstrained -->
+<!-- default and fixed are mutually exclusive -->
+
+<!ELEMENT %group; ((%annotation;)?,(%mgs;)?)>
+<!ATTLIST %group; 
+          name        %NCName;               #IMPLIED
+          ref         %QName;                #IMPLIED
+          minOccurs   %nonNegativeInteger;   #IMPLIED
+          maxOccurs   CDATA                  #IMPLIED
+          id          ID                     #IMPLIED
+          %groupAttrs;>
+
+<!ELEMENT %all; ((%annotation;)?, (%element;)*)>
+<!ATTLIST %all;
+          minOccurs   (1)                    #IMPLIED
+          maxOccurs   (1)                    #IMPLIED
+          id          ID                     #IMPLIED
+          %allAttrs;>
+
+<!ELEMENT %choice; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
+<!ATTLIST %choice;
+          minOccurs   %nonNegativeInteger;   #IMPLIED
+          maxOccurs   CDATA                  #IMPLIED
+          id          ID                     #IMPLIED
+          %choiceAttrs;>
+
+<!ELEMENT %sequence; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
+<!ATTLIST %sequence;
+          minOccurs   %nonNegativeInteger;   #IMPLIED
+          maxOccurs   CDATA                  #IMPLIED
+          id          ID                     #IMPLIED
+          %sequenceAttrs;>
+
+<!-- an anonymous grouping in a model, or
+     a top-level named group definition, or a reference to same -->
+
+<!-- Note that if order is 'all', group is not allowed inside.
+     If order is 'all' THIS group must be alone (or referenced alone) at
+     the top level of a content model -->
+<!-- If order is 'all', minOccurs==maxOccurs==1 on element/any inside -->
+<!-- Should allow minOccurs=0 inside order='all' . . . -->
+
+<!ELEMENT %any; (%annotation;)?>
+<!ATTLIST %any;
+            namespace       CDATA                  '##any'
+            processContents (skip|lax|strict)      'strict'
+            minOccurs       %nonNegativeInteger;   '1'
+            maxOccurs       CDATA                  '1'
+            id              ID                     #IMPLIED
+            %anyAttrs;>
+
+<!-- namespace is interpreted as follows:
+                  ##any      - - any non-conflicting WFXML at all
+
+                  ##other    - - any non-conflicting WFXML from namespace other
+                                  than targetNamespace
+
+                  ##local    - - any unqualified non-conflicting WFXML/attribute
+                  one or     - - any non-conflicting WFXML from
+                  more URI        the listed namespaces
+                  references
+
+                  ##targetNamespace ##local may appear in the above list,
+                    with the obvious meaning -->
+
+<!ELEMENT %anyAttribute; (%annotation;)?>
+<!ATTLIST %anyAttribute;
+            namespace       CDATA              '##any'
+            processContents (skip|lax|strict)  'strict'
+            id              ID                 #IMPLIED
+            %anyAttributeAttrs;>
+<!-- namespace is interpreted as for 'any' above -->
+
+<!-- simpleType only if no type|ref attribute -->
+<!-- ref not allowed at top level, name iff at top level -->
+<!ELEMENT %attribute; ((%annotation;)?, (%simpleType;)?)>
+<!ATTLIST %attribute;
+          name      %NCName;      #IMPLIED
+          id        ID            #IMPLIED
+          ref       %QName;       #IMPLIED
+          type      %QName;       #IMPLIED
+          use       (prohibited|optional|required) #IMPLIED
+          default   CDATA         #IMPLIED
+          fixed     CDATA         #IMPLIED
+          form      %formValues;  #IMPLIED
+          %attributeAttrs;>
+<!-- type and ref are mutually exclusive.
+     name and ref are mutually exclusive, one is required -->
+<!-- default for use is optional when nested, none otherwise -->
+<!-- default and fixed are mutually exclusive -->
+<!-- type attr and simpleType content are mutually exclusive -->
+
+<!-- an attributeGroup is a named collection of attribute decls, or a
+     reference thereto -->
+<!ELEMENT %attributeGroup; ((%annotation;)?,
+                       (%attribute; | %attributeGroup;)*,
+                       (%anyAttribute;)?) >
+<!ATTLIST %attributeGroup;
+                 name       %NCName;       #IMPLIED
+                 id         ID             #IMPLIED
+                 ref        %QName;        #IMPLIED
+                 %attributeGroupAttrs;>
+
+<!-- ref iff no content, no name.  ref iff not top level -->
+
+<!-- better reference mechanisms -->
+<!ELEMENT %unique; ((%annotation;)?, %selector;, (%field;)+)>
+<!ATTLIST %unique;
+          name     %NCName;       #REQUIRED
+	  id       ID             #IMPLIED
+	  %uniqueAttrs;>
+
+<!ELEMENT %key;    ((%annotation;)?, %selector;, (%field;)+)>
+<!ATTLIST %key;
+          name     %NCName;       #REQUIRED
+	  id       ID             #IMPLIED
+	  %keyAttrs;>
+
+<!ELEMENT %keyref; ((%annotation;)?, %selector;, (%field;)+)>
+<!ATTLIST %keyref;
+          name     %NCName;       #REQUIRED
+	  refer    %QName;        #REQUIRED
+	  id       ID             #IMPLIED
+	  %keyrefAttrs;>
+
+<!ELEMENT %selector; ((%annotation;)?)>
+<!ATTLIST %selector;
+          xpath %XPathExpr; #REQUIRED
+          id    ID          #IMPLIED
+          %selectorAttrs;>
+<!ELEMENT %field; ((%annotation;)?)>
+<!ATTLIST %field;
+          xpath %XPathExpr; #REQUIRED
+          id    ID          #IMPLIED
+          %fieldAttrs;>
+
+<!-- Schema combination mechanisms -->
+<!ELEMENT %include; (%annotation;)?>
+<!ATTLIST %include;
+          schemaLocation %URIref; #REQUIRED
+          id             ID       #IMPLIED
+          %includeAttrs;>
+
+<!ELEMENT %import; (%annotation;)?>
+<!ATTLIST %import;
+          namespace      %URIref; #IMPLIED
+          schemaLocation %URIref; #IMPLIED
+          id             ID       #IMPLIED
+          %importAttrs;>
+
+<!ELEMENT %redefine; (%annotation; | %simpleType; | %complexType; |
+                      %attributeGroup; | %group;)*>
+<!ATTLIST %redefine;
+          schemaLocation %URIref; #REQUIRED
+          id             ID       #IMPLIED
+          %redefineAttrs;>
+
+<!ELEMENT %notation; (%annotation;)?>
+<!ATTLIST %notation;
+	  name        %NCName;    #REQUIRED
+	  id          ID          #IMPLIED
+	  public      CDATA       #REQUIRED
+	  system      %URIref;    #IMPLIED
+	  %notationAttrs;>
+
+<!-- Annotation is either application information or documentation -->
+<!-- By having these here they are available for datatypes as well
+     as all the structures elements -->
+
+<!ELEMENT %annotation; (%appinfo; | %documentation;)*>
+<!ATTLIST %annotation; %annotationAttrs;>
+
+<!-- User must define annotation elements in internal subset for this
+     to work -->
+<!ELEMENT %appinfo; ANY>   <!-- too restrictive -->
+<!ATTLIST %appinfo;
+          source     %URIref;      #IMPLIED
+          id         ID         #IMPLIED
+          %appinfoAttrs;>
+<!ELEMENT %documentation; ANY>   <!-- too restrictive -->
+<!ATTLIST %documentation;
+          source     %URIref;   #IMPLIED
+          id         ID         #IMPLIED
+          xml:lang   CDATA      #IMPLIED
+          %documentationAttrs;>
+
+<!NOTATION XMLSchemaStructures PUBLIC
+           'structures' 'http://www.w3.org/2001/XMLSchema.xsd' >
+<!NOTATION XML PUBLIC
+           'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' >

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application-client_1_3.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application-client_1_3.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application-client_1_3.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,506 @@
+<!--
+Copyright (c) 2000 Sun Microsystems, Inc.,
+901 San Antonio Road,
+Palo Alto, California 94303, U.S.A.
+All rights reserved.
+
+Sun Microsystems, Inc. has intellectual property rights relating to
+technology embodied in the product that is described in this document.
+In particular, and without limitation, these intellectual property
+rights may include one or more of the U.S. patents listed at
+http://www.sun.com/patents and one or more additional patents or
+pending patent applications in the U.S. and in other countries.
+
+This document and the product to which it pertains are distributed
+under licenses restricting their use, copying, distribution, and
+decompilation.  This document may be reproduced and distributed but may
+not be changed without prior written authorization of Sun and its
+licensors, if any.
+
+Third-party software, including font technology, is copyrighted and
+licensed from Sun suppliers.
+
+Sun,  Sun Microsystems,  the Sun logo,  Java,  JavaServer Pages,  Java
+Naming and Directory Interface,  JDBC,  JDK,  JavaMail and  and
+Enterprise JavaBeans are trademarks or registered trademarks of Sun
+Microsystems, Inc. in the U.S. and other countries.
+
+Federal Acquisitions: Commercial Software - Government Users Subject to
+Standard License Terms and Conditions.
+
+DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
+CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
+WARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
+DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
+
+
+_________________________________________________________________________
+
+Copyright (c) 2000 Sun Microsystems, Inc.,
+901 San Antonio Road,
+Palo Alto, California 94303, E'tats-Unis.
+Tous droits re'serve's.
+
+Sun Microsystems, Inc. a les droits de proprie'te' intellectuels
+relatants a` la technologie incorpore'e dans le produit qui est de'crit
+dans ce document. En particulier, et sans la limitation, ces droits de
+proprie'te' intellectuels peuvent inclure un ou plus des brevets
+ame'ricains e'nume're's a` http://www.sun.com/patents et un ou les
+brevets plus supple'mentaires ou les applications de brevet en attente
+dans les E'tats-Unis et dans les autres pays.
+
+Ce produit ou document est prote'ge' par un copyright et distribue'
+avec des licences qui en restreignent l'utilisation, la copie, la
+distribution, et la de'compilation.  Ce documention associe n peut
+e^tre reproduite et distribuer, par quelque moyen que ce soit, sans
+l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de
+licence, le cas e'che'ant.
+
+Le logiciel de'tenu par des tiers, et qui comprend la technologie
+relative aux polices de caracte`res, est prote'ge' par un copyright et
+licencie' par des fournisseurs de Sun.
+
+Sun,  Sun Microsystems,  le logo Sun,  Java,  JavaServer Pages,  Java
+Naming and Directory Interface,  JDBC,  JDK,  JavaMail et  and
+Enterprise JavaBeans sont des marques de fabrique ou des marques
+de'pose'es de Sun Microsystems, Inc. aux E'tats-Unis et dans d'autres
+pays.
+
+LA DOCUMENTATION EST FOURNIE "EN L'E'TAT" ET TOUTES AUTRES CONDITIONS,
+DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT
+EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS
+NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A
+L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE
+CONTREFAC,ON.
+-->
+
+<!--
+This is the XML DTD for the J2EE 1.3 application client deployment
+descriptor.  All J2EE 1.3 application client deployment descriptors
+must include a DOCTYPE of the following form:
+
+  <!DOCTYPE application-client PUBLIC
+	"-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN"
+	"http://java.sun.com/dtd/application-client_1_3.dtd">
+
+-->
+
+<!--
+The following conventions apply to all J2EE deployment descriptor
+elements unless indicated otherwise.
+
+- In elements that contain PCDATA, leading and trailing whitespace
+  in the data may be ignored.
+
+- In elements whose value is an "enumerated type", the value is
+  case sensitive.
+
+- In elements that specify a pathname to a file within the same
+  JAR file, relative filenames (i.e., those not starting with "/")
+  are considered relative to the root of the JAR file's namespace.
+  Absolute filenames (i.e., those starting with "/") also specify
+  names in the root of the JAR file's namespace.  In general, relative
+  names are preferred.  The exception is .war files where absolute
+  names are preferred for consistency with the servlet API.
+-->
+
+
+<!--
+The application-client element is the root element of an application
+client deployment descriptor.  The application client deployment
+descriptor describes the EJB components and external resources
+referenced by the application client.
+-->
+<!ELEMENT application-client (icon?, display-name, description?,
+		env-entry*, ejb-ref*, resource-ref*, resource-env-ref*,
+		callback-handler?)>
+
+<!--
+The callback-handler element names a class provided by the
+application.  The class must have a no args constructor and must
+implement the javax.security.auth.callback.CallbackHandler interface.
+The class will be instantiated by the application client container and
+used by the container to collect authentication information from the
+user.
+
+Used in: application-client
+-->
+<!ELEMENT callback-handler (#PCDATA)>
+
+<!--
+The description element is used to provide text describing the parent
+element.  The description element should include any information that
+the application client jar file producer wants to provide to the consumer of
+the application client jar file (i.e., to the Deployer). Typically, the tools
+used by the application client jar file consumer will display the description
+when processing the parent element that contains the description.
+
+Used in: application-client, ejb-ref, env-entry, resource-env-ref,
+resource-ref
+-->
+<!ELEMENT description (#PCDATA)>
+
+<!--
+The display-name element contains a short name that is intended to be
+displayed by tools.  The display name need not be unique.
+
+Used in: application-client
+
+Example:
+
+<display-name>Employee Self Service</display-name>
+-->
+<!ELEMENT display-name (#PCDATA)>
+
+<!--
+The ejb-link element is used in the ejb-ref element
+to specify that an EJB reference is linked to an
+enterprise bean.
+
+The name in the ejb-link element is composed of a
+path name specifying the ejb-jar containing the referenced enterprise
+bean with the ejb-name of the target bean appended and separated from
+the path name by "#".  The path name is relative to the jar file
+containing the application client that is referencing the enterprise bean.
+This allows multiple enterprise beans with the same ejb-name to be
+uniquely identified.
+
+Used in: ejb-ref
+
+Examples:
+
+	<ejb-link>EmployeeRecord</ejb-link>
+
+	<ejb-link>../products/product.jar#ProductEJB</ejb-link>
+
+-->
+<!ELEMENT ejb-link (#PCDATA)>
+
+<!--
+The ejb-ref element is used for the declaration of a reference to
+an enterprise bean's home. The declaration consists of:
+
+	- an optional description
+	- the EJB reference name used in the code of
+	  the application client that's referencing the enterprise bean
+	- the expected type of the referenced enterprise bean
+	- the expected home and remote interfaces of the referenced
+	  enterprise bean
+	- optional ejb-link information, used to specify the referenced
+	  enterprise bean
+
+Used in: application-client
+-->
+<!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type,
+		home, remote, ejb-link?)>
+
+<!--
+The ejb-ref-name element contains the name of an EJB reference. The
+EJB reference is an entry in the application client's environment and is
+relative to the java:comp/env context.  The name must be unique
+within the application client.
+
+It is recommended that name is prefixed with "ejb/".
+
+Used in: ejb-ref
+
+Example:
+
+<ejb-ref-name>ejb/Payroll</ejb-ref-name>
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--
+The ejb-ref-type element contains the expected type of the
+referenced enterprise bean.
+
+The ejb-ref-type element must be one of the following:
+
+	<ejb-ref-type>Entity</ejb-ref-type>
+	<ejb-ref-type>Session</ejb-ref-type>
+
+Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-type (#PCDATA)>
+
+<!--
+The env-entry element contains the declaration of an application client's
+environment entry. The declaration consists of an optional
+description, the name of the environment entry, and an optional
+value.  If a value is not specified, one must be supplied
+during deployment.
+
+Used in: application-client
+-->
+<!ELEMENT env-entry (description?, env-entry-name, env-entry-type,
+		env-entry-value?)>
+
+<!--
+The env-entry-name element contains the name of an application client's
+environment entry.  The name is a JNDI name relative to the
+java:comp/env context.  The name must be unique within an application client.
+
+Used in: env-entry
+
+Example:
+
+<env-entry-name>minAmount</env-entry-name>
+-->
+<!ELEMENT env-entry-name (#PCDATA)>
+
+<!--
+The env-entry-type element contains the fully-qualified Java type of
+the environment entry value that is expected by the application client's
+code.
+
+The following are the legal values of env-entry-type:
+
+	java.lang.Boolean
+	java.lang.Byte
+	java.lang.Character
+	java.lang.String
+	java.lang.Short
+	java.lang.Integer
+	java.lang.Long
+	java.lang.Float
+	java.lang.Double
+
+
+Used in: env-entry
+
+Example:
+
+<env-entry-type>java.lang.Boolean</env-entry-type>
+-->
+<!ELEMENT env-entry-type (#PCDATA)>
+
+<!--
+The env-entry-value element contains the value of an application client's
+environment entry. The value must be a String that is valid for the
+constructor of the specified type that takes a single String
+parameter, or for java.lang.Character, a single character.
+
+Used in: env-entry
+
+Example:
+
+<env-entry-value>100.00</env-entry-value>
+-->
+<!ELEMENT env-entry-value (#PCDATA)>
+
+<!--
+The home element contains the fully-qualified name of the enterprise
+bean's home interface.
+
+Used in: ejb-ref
+
+Example:
+
+<home>com.aardvark.payroll.PayrollHome</home>
+-->
+<!ELEMENT home (#PCDATA)>
+
+<!--
+The icon element contains small-icon and large-icon elements that
+specify the file names for small and a large GIF or JPEG icon images
+used to represent the parent element in a GUI tool.
+
+Used in: application-client
+-->
+<!ELEMENT icon (small-icon?, large-icon?)>
+
+<!--
+The large-icon element contains the name of a file
+containing a large (32 x 32) icon image. The file
+name is a relative path within the application client's
+jar file.
+
+The image may be either in the JPEG or GIF format.
+The icon can be used by tools.
+
+Used in: icon
+
+Example:
+
+<large-icon>employee-service-icon32x32.jpg</large-icon>
+-->
+<!ELEMENT large-icon (#PCDATA)>
+
+<!--
+The remote element contains the fully-qualified name of the enterprise
+bean's remote interface.
+
+Used in: ejb-ref
+
+Example:
+
+<remote>com.wombat.empl.EmployeeService</remote>
+-->
+<!ELEMENT remote (#PCDATA)>
+
+<!--
+The res-auth element specifies whether the application client code signs
+on programmatically to the resource manager, or whether the Container
+will sign on to the resource manager on behalf of the application client. In the
+latter case, the Container uses information that is supplied by the
+Deployer.
+
+The value of this element must be one of the two following:
+
+	<res-auth>Application</res-auth>
+	<res-auth>Container</res-auth>
+
+Used in: resource-ref
+-->
+<!ELEMENT res-auth (#PCDATA)>
+
+<!--
+The res-ref-name element specifies the name of a resource manager
+connection factory reference.  The name is a JNDI name relative to the
+java:comp/env context.  The name must be unique within an application client.
+
+Used in: resource-ref
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+The res-sharing-scope element specifies whether connections obtained
+through the given resource manager connection factory reference can be
+shared. The value of this element, if specified, must be one of the
+two following:
+
+	<res-sharing-scope>Shareable</res-sharing-scope>
+	<res-sharing-scope>Unshareable</res-sharing-scope>
+
+The default value is Shareable.
+
+Used in: resource-ref
+-->
+<!ELEMENT res-sharing-scope (#PCDATA)>
+
+<!--
+The res-type element specifies the type of the data source. The type
+is specified by the fully qualified Java language class or interface
+expected to be implemented by the data source.
+
+Used in: resource-ref
+-->
+<!ELEMENT res-type (#PCDATA)>
+
+<!--
+The resource-env-ref element contains a declaration of an application client's
+reference to an administered object associated with a resource
+in the application client's environment.  It consists of an optional
+description, the resource environment reference name, and an
+indication of the resource environment reference type expected by
+the application client code.
+
+Used in: application-client
+
+Example:
+
+<resource-env-ref>
+    <resource-env-ref-name>jms/StockQueue</resource-env-ref-name>
+    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
+</resource-env-ref>
+-->
+<!ELEMENT resource-env-ref (description?, resource-env-ref-name,
+		resource-env-ref-type)>
+
+<!--
+The resource-env-ref-name element specifies the name of a resource
+environment reference; its value is the environment entry name used in
+the application client code.  The name is a JNDI name relative to the
+java:comp/env context and must be unique within an application client.
+
+Used in: resource-env-ref
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--
+The resource-env-ref-type element specifies the type of a resource
+environment reference.  It is the fully qualified name of a Java
+language class or interface.
+
+Used in: resource-env-ref
+-->
+<!ELEMENT resource-env-ref-type (#PCDATA)>
+
+<!--
+The resource-ref element contains a declaration of an application client's
+reference to an external resource. It consists of an optional
+description, the resource manager connection factory reference name,
+the indication of the resource manager connection factory type
+expected by the application client code, the type of authentication
+(Application or Container), and an optional specification of the
+shareability of connections obtained from the resource (Shareable or
+Unshareable).
+
+Used in: application-client
+
+Example:
+
+    <resource-ref>
+	<res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
+	<res-type>javax.sql.DataSource</res-type>
+	<res-auth>Container</res-auth>
+	<res-sharing-scope>Shareable</res-sharing-scope>
+    </resource-ref>
+-->
+<!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth,
+		res-sharing-scope?)>
+
+<!--
+The small-icon element contains the name of a file
+containing a small (16 x 16) icon image. The file
+name is a relative path within the application client's
+jar file.
+
+The image may be either in the JPEG or GIF format.
+The icon can be used by tools.
+
+Used in: icon
+
+Example:
+
+<small-icon>employee-service-icon16x16.jpg</small-icon>
+-->
+<!ELEMENT small-icon (#PCDATA)>
+
+<!--
+The ID mechanism is to allow tools that produce additional deployment
+information (i.e., information beyond the standard deployment
+descriptor information) to store the non-standard information in a
+separate file, and easily refer from these tool-specific files to the
+information in the standard deployment descriptor.
+
+Tools are not allowed to add the non-standard information into the
+standard deployment descriptor.
+-->
+
+<!ATTLIST application-client id ID #IMPLIED>
+<!ATTLIST callback-handler id ID #IMPLIED>
+<!ATTLIST description id ID #IMPLIED>
+<!ATTLIST display-name id ID #IMPLIED>
+<!ATTLIST ejb-link id ID #IMPLIED>
+<!ATTLIST ejb-ref id ID #IMPLIED>
+<!ATTLIST ejb-ref-name id ID #IMPLIED>
+<!ATTLIST ejb-ref-type id ID #IMPLIED>
+<!ATTLIST env-entry id ID #IMPLIED>
+<!ATTLIST env-entry-name id ID #IMPLIED>
+<!ATTLIST env-entry-type id ID #IMPLIED>
+<!ATTLIST env-entry-value id ID #IMPLIED>
+<!ATTLIST home id ID #IMPLIED>
+<!ATTLIST icon id ID #IMPLIED>
+<!ATTLIST large-icon id ID #IMPLIED>
+<!ATTLIST remote id ID #IMPLIED>
+<!ATTLIST res-auth id ID #IMPLIED>
+<!ATTLIST res-ref-name id ID #IMPLIED>
+<!ATTLIST res-sharing-scope id ID #IMPLIED>
+<!ATTLIST res-type id ID #IMPLIED>
+<!ATTLIST resource-env-ref id ID #IMPLIED>
+<!ATTLIST resource-env-ref-name id ID #IMPLIED>
+<!ATTLIST resource-env-ref-type id ID #IMPLIED>
+<!ATTLIST resource-ref id ID #IMPLIED>
+<!ATTLIST small-icon id ID #IMPLIED>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application_1_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application_1_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application_1_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,197 @@
+<!--
+Copyright 1999 Sun Microsystems, Inc. 901 San Antonio Road,
+Palo Alto, CA  94303, U.S.A.  All rights reserved.
+ 
+This product or document is protected by copyright and distributed
+under licenses restricting its use, copying, distribution, and
+decompilation.  No part of this product or documentation may be
+reproduced in any form by any means without prior written authorization
+of Sun and its licensors, if any.  
+
+Third party software, including font technology, is copyrighted and 
+licensed from Sun suppliers. 
+
+Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java 
+Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans, 
+are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S. 
+and other countries.
+
+All SPARC trademarks are used under license and are trademarks
+or registered trademarks of SPARC International, Inc.
+in the U.S. and other countries. Products bearing SPARC
+trademarks are based upon an architecture developed by Sun Microsystems, Inc. 
+
+PostScript is a registered trademark of Adobe Systems, Inc. 
+
+ 
+Federal Acquisitions: Commercial Software - Government Users Subject to 
+Standard License Terms and Conditions.
+
+
+ 
+DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
+CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
+IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT
+TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY
+INVALID.
+
+_________________________________________________________________________
+Copyright 1999 Sun Microsystems, Inc., 
+901 San Antonio Road, Palo Alto, CA  94303, Etats-Unis. 
+Tous droits re'serve's.
+ 
+
+Ce produit ou document est prote'ge' par un copyright et distribue' avec 
+des licences qui en restreignent l'utilisation, la copie, la distribution,
+et la de'compilation.  Aucune partie de ce produit ou de sa documentation
+associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen 
+que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses 
+bailleurs de licence, s'il y en a.  
+
+Le logiciel de'tenu par des tiers, et qui comprend la technologie 
+relative aux polices de caracte`res, est prote'ge' par un copyright 
+et licencie' par des fournisseurs de Sun.
+ 
+Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java 
+Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans,  
+sont des marques de fabrique ou des marques de'pose'es de Sun 
+Microsystems, Inc. aux Etats-Unis et dans d'autres pays.
+ 
+Toutes les marques SPARC sont utilise'es sous licence et sont
+des marques de fabrique ou des marques de'pose'es de SPARC
+International, Inc. aux Etats-Unis et  dans
+d'autres pays. Les produits portant les marques SPARC sont
+base's sur une architecture de'veloppe'e par Sun Microsystems, Inc.  
+
+Postcript est une marque enregistre'e d'Adobe Systems Inc. 
+ 
+LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS,
+DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES,
+DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT
+TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE
+A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.
+-->
+
+<!--
+The alt-dd element specifies an optional URI to the post-assembly version of the
+deployment descriptor file for a particular J2EE module. The URI must specify
+the full pathname of the deployment descriptor file relative to the
+application's root directory. If alt-dd is not specified, the deployer must read
+the deployment descriptor from the default location and file name required by
+the respective component specification.
+-->
+<!ELEMENT alt-dd (#PCDATA)>
+
+<!--
+The application element is the root element of a J2EE application deployment
+descriptor.
+-->
+<!ELEMENT application (icon?, display-name, description?, module+,
+security-role*)>
+
+<!--
+The context-root element specifies the context root of a web application
+-->
+<!ELEMENT context-root (#PCDATA)>
+
+<!--
+The description element provides a human readable description of the
+application. The description element should include any information that the
+application assembler wants to provide the deployer.
+-->
+<!ELEMENT description (#PCDATA)>
+
+<!--
+The display-name element specifies an application name.
+The application name is assigned to the application by the application assembler
+and is used to identify the application to the deployer at deployment time.
+-->
+<!ELEMENT display-name (#PCDATA)>
+
+<!--
+The ejb element specifies the URI of a ejb-jar, relative to the top level of the
+application package.
+-->
+<!ELEMENT ejb (#PCDATA)>
+
+<!--
+The icon element contains a small-icon and large-icon element which specify the
+URIs for a small and a large GIF or JPEG icon image to represent the application
+in a GUI.
+-->
+<!ELEMENT icon (small-icon?, large-icon?)>
+
+<!--
+The java element specifies the URI of a java application client module, relative
+to the top level of the application package.
+-->
+<!ELEMENT java (#PCDATA)>
+
+<!--
+The large-icon element specifies the URI for a large GIF or JPEG icon image to
+represent the application in a GUI.
+-->
+<!ELEMENT large-icon (#PCDATA)>
+
+<!--
+The module element represents a single J2EE module and contains an ejb, java, or
+web element, which indicates the module type and contains a path to the module
+file, and an optional alt-dd element, which specifies an optional URI to the
+post-assembly version of the deployment descriptor.
+The application deployment descriptor must have one module element for each J2EE
+module in the application package.
+-->
+<!ELEMENT module ((ejb | java | web), alt-dd?)>
+
+<!--
+The role-name element contains the name of a security role.
+-->
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+The security-role element contains the definition of a security role which is
+global to the application. The definition consists of a description of the
+security role, and the security role name. The descriptions at this level
+override those in the component level security-role definitions and must be the
+descriptions tool display to the deployer.
+-->
+<!ELEMENT security-role (description?, role-name)>
+
+<!--
+The small-icon element specifies the URI for a small GIF or JPEG icon image to
+represent the application in a GUI.
+-->
+<!ELEMENT small-icon (#PCDATA)>
+
+<!--
+The web element contains the web-uri and context-root of a web application
+module.
+-->
+<!ELEMENT web (web-uri, context-root)>
+
+<!--
+The web-uri element specifies the URI of a web application file, relative to the
+top level of the application package.
+-->
+<!ELEMENT web-uri (#PCDATA)>
+
+<!--
+The ID mechanism is to allow tools to easily make tool-specific references to
+the elements of the deployment descriptor.
+ -->
+<!ATTLIST alt-dd id ID #IMPLIED>
+<!ATTLIST application id ID #IMPLIED>
+<!ATTLIST context-root id ID #IMPLIED>
+<!ATTLIST description id ID #IMPLIED>
+<!ATTLIST display-name id ID #IMPLIED>
+<!ATTLIST ejb id ID #IMPLIED>
+<!ATTLIST icon id ID #IMPLIED>
+<!ATTLIST java id ID #IMPLIED>
+<!ATTLIST large-icon id ID #IMPLIED>
+<!ATTLIST module id ID #IMPLIED>
+<!ATTLIST role-name id ID #IMPLIED>
+<!ATTLIST security-role id ID #IMPLIED>
+<!ATTLIST small-icon id ID #IMPLIED>
+<!ATTLIST web id ID #IMPLIED>
+<!ATTLIST web-uri id ID #IMPLIED>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application_1_3.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application_1_3.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/application_1_3.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,312 @@
+<!--
+Copyright (c) 2000 Sun Microsystems, Inc.,
+901 San Antonio Road,
+Palo Alto, California 94303, U.S.A.
+All rights reserved.
+
+Sun Microsystems, Inc. has intellectual property rights relating to
+technology embodied in the product that is described in this document.
+In particular, and without limitation, these intellectual property
+rights may include one or more of the U.S. patents listed at
+http://www.sun.com/patents and one or more additional patents or
+pending patent applications in the U.S. and in other countries.
+
+This document and the product to which it pertains are distributed
+under licenses restricting their use, copying, distribution, and
+decompilation.  This document may be reproduced and distributed but may
+not be changed without prior written authorization of Sun and its
+licensors, if any.
+
+Third-party software, including font technology, is copyrighted and
+licensed from Sun suppliers.
+
+Sun,  Sun Microsystems,  the Sun logo,  Java,  JavaServer Pages,  Java
+Naming and Directory Interface,  JDBC,  JDK,  JavaMail and  and
+Enterprise JavaBeans are trademarks or registered trademarks of Sun
+Microsystems, Inc. in the U.S. and other countries.
+
+Federal Acquisitions: Commercial Software - Government Users Subject to
+Standard License Terms and Conditions.
+
+DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
+CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
+WARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
+DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
+
+
+_________________________________________________________________________
+
+Copyright (c) 2000 Sun Microsystems, Inc.,
+901 San Antonio Road,
+Palo Alto, California 94303, E'tats-Unis.
+Tous droits re'serve's.
+
+Sun Microsystems, Inc. a les droits de proprie'te' intellectuels
+relatants a` la technologie incorpore'e dans le produit qui est de'crit
+dans ce document. En particulier, et sans la limitation, ces droits de
+proprie'te' intellectuels peuvent inclure un ou plus des brevets
+ame'ricains e'nume're's a` http://www.sun.com/patents et un ou les
+brevets plus supple'mentaires ou les applications de brevet en attente
+dans les E'tats-Unis et dans les autres pays.
+
+Ce produit ou document est prote'ge' par un copyright et distribue'
+avec des licences qui en restreignent l'utilisation, la copie, la
+distribution, et la de'compilation.  Ce documention associe n peut
+e^tre reproduite et distribuer, par quelque moyen que ce soit, sans
+l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de
+licence, le cas e'che'ant.
+
+Le logiciel de'tenu par des tiers, et qui comprend la technologie
+relative aux polices de caracte`res, est prote'ge' par un copyright et
+licencie' par des fournisseurs de Sun.
+
+Sun,  Sun Microsystems,  le logo Sun,  Java,  JavaServer Pages,  Java
+Naming and Directory Interface,  JDBC,  JDK,  JavaMail et  and
+Enterprise JavaBeans sont des marques de fabrique ou des marques
+de'pose'es de Sun Microsystems, Inc. aux E'tats-Unis et dans d'autres
+pays.
+
+LA DOCUMENTATION EST FOURNIE "EN L'E'TAT" ET TOUTES AUTRES CONDITIONS,
+DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT
+EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS
+NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A
+L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE
+CONTREFAC,ON.
+-->
+
+<!--
+This is the XML DTD for the J2EE 1.3 application deployment
+descriptor.  All J2EE 1.3 application deployment descriptors
+must include a DOCTYPE of the following form:
+
+  <!DOCTYPE application PUBLIC
+	"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
+	"http://java.sun.com/dtd/application_1_3.dtd">
+
+-->
+
+<!--
+The following conventions apply to all J2EE deployment descriptor
+elements unless indicated otherwise.
+
+- In elements that contain PCDATA, leading and trailing whitespace
+  in the data may be ignored.
+
+- In elements whose value is an "enumerated type", the value is
+  case sensitive.
+
+- In elements that specify a pathname to a file within the same
+  JAR file, relative filenames (i.e., those not starting with "/")
+  are considered relative to the root of the JAR file's namespace.
+  Absolute filenames (i.e., those starting with "/") also specify
+  names in the root of the JAR file's namespace.  In general, relative
+  names are preferred.  The exception is .war files where absolute
+  names are preferred for consistency with the servlet API.
+-->
+
+
+<!--
+The application element is the root element of a J2EE application
+deployment descriptor.
+-->
+<!ELEMENT application (icon?, display-name, description?, module+,
+		security-role*)>
+
+<!--
+The alt-dd element specifies an optional URI to the post-assembly
+version of the deployment descriptor file for a particular J2EE module.
+The URI must specify the full pathname of the deployment descriptor
+file relative to the application's root directory. If alt-dd is not
+specified, the deployer must read the deployment descriptor from the
+default location and file name required by the respective component
+specification.
+
+Used in: module
+-->
+<!ELEMENT alt-dd (#PCDATA)>
+
+<!--
+The connector element specifies the URI of a resource adapter archive
+file, relative to the top level of the application package.
+
+Used in: module
+-->
+<!ELEMENT connector (#PCDATA)>
+
+<!--
+The context-root element specifies the context root of a web
+application.
+
+Used in: web
+-->
+<!ELEMENT context-root (#PCDATA)>
+
+<!--
+The description element is used to provide text describing the parent
+element.  The description element should include any information that
+the application ear file producer wants to provide to the consumer of
+the application ear file (i.e., to the Deployer). Typically, the tools
+used by the application ear file consumer will display the description
+when processing the parent element that contains the description.
+
+Used in: application, security-role
+-->
+<!ELEMENT description (#PCDATA)>
+
+<!--
+The display-name element contains a short name that is intended to be
+displayed by tools.  The display name need not be unique.
+
+Used in: application
+
+Example:
+
+<display-name>Employee Self Service</display-name>
+-->
+<!ELEMENT display-name (#PCDATA)>
+
+<!--
+The ejb element specifies the URI of an ejb-jar, relative to the top
+level of the application package.
+
+Used in: module
+-->
+<!ELEMENT ejb (#PCDATA)>
+
+<!--
+The icon element contains small-icon and large-icon elements that
+specify the file names for small and a large GIF or JPEG icon images
+used to represent the parent element in a GUI tool.
+
+Used in: application
+-->
+<!ELEMENT icon (small-icon?, large-icon?)>
+
+<!--
+The java element specifies the URI of a java application client module,
+relative to the top level of the application package.
+
+Used in: module
+-->
+<!ELEMENT java (#PCDATA)>
+
+<!--
+The large-icon element contains the name of a file
+containing a large (32 x 32) icon image. The file
+name is a relative path within the application's
+ear file.
+
+The image may be either in the JPEG or GIF format.
+The icon can be used by tools.
+
+Used in: icon
+
+Example:
+
+<large-icon>employee-service-icon32x32.jpg</large-icon>
+-->
+<!ELEMENT large-icon (#PCDATA)>
+
+<!--
+The module element represents a single J2EE module and contains a
+connector, ejb, java, or web element, which indicates the module type
+and contains a path to the module file, and an optional alt-dd element,
+which specifies an optional URI to the post-assembly version of the
+deployment descriptor.
+
+The application deployment descriptor must have one module element for
+each J2EE module in the application package.
+
+Used in: application
+-->
+<!ELEMENT module ((connector | ejb | java | web), alt-dd?)>
+
+<!--
+The role-name element contains the name of a security role.
+
+The name must conform to the lexical rules for an NMTOKEN.
+
+Used in: security-role
+-->
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+The security-role element contains the definition of a security
+role. The definition consists of an optional description of the
+security role, and the security role name.
+
+Used in: application
+
+Example:
+
+    <security-role>
+	<description>
+	    This role includes all employees who are authorized
+	    to access the employee service application.
+	</description>
+	<role-name>employee</role-name>
+    </security-role>
+-->
+<!ELEMENT security-role (description?, role-name)>
+
+<!--
+The small-icon element contains the name of a file
+containing a small (16 x 16) icon image. The file
+name is a relative path within the application's
+ear file.
+
+The image may be either in the JPEG or GIF format.
+The icon can be used by tools.
+
+Used in: icon
+
+Example:
+
+<small-icon>employee-service-icon16x16.jpg</small-icon>
+-->
+<!ELEMENT small-icon (#PCDATA)>
+
+<!--
+The web element contains the web-uri and context-root of a web
+application module.
+
+Used in: module
+-->
+<!ELEMENT web (web-uri, context-root)>
+
+<!--
+The web-uri element specifies the URI of a web application file,
+relative to the top level of the application package.
+
+Used in: web
+-->
+<!ELEMENT web-uri (#PCDATA)>
+
+<!--
+The ID mechanism is to allow tools that produce additional deployment
+information (i.e., information beyond the standard deployment
+descriptor information) to store the non-standard information in a
+separate file, and easily refer from these tool-specific files to the
+information in the standard deployment descriptor.
+
+Tools are not allowed to add the non-standard information into the
+standard deployment descriptor.
+-->
+
+<!ATTLIST alt-dd id ID #IMPLIED>
+<!ATTLIST application id ID #IMPLIED>
+<!ATTLIST connector id ID #IMPLIED>
+<!ATTLIST context-root id ID #IMPLIED>
+<!ATTLIST description id ID #IMPLIED>
+<!ATTLIST display-name id ID #IMPLIED>
+<!ATTLIST ejb id ID #IMPLIED>
+<!ATTLIST icon id ID #IMPLIED>
+<!ATTLIST java id ID #IMPLIED>
+<!ATTLIST large-icon id ID #IMPLIED>
+<!ATTLIST module id ID #IMPLIED>
+<!ATTLIST role-name id ID #IMPLIED>
+<!ATTLIST security-role id ID #IMPLIED>
+<!ATTLIST small-icon id ID #IMPLIED>
+<!ATTLIST web id ID #IMPLIED>
+<!ATTLIST web-uri id ID #IMPLIED>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/connector_1_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/connector_1_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/connector_1_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,468 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+LONG NOTICE:
+
+English:
+Copyright © 2000 Sun Microsystems, Inc., 901 San Antonio Road, Palo
+Alto, California 94303, U.S.A. All rights reserved.
+
+Sun Microsystems, Inc. has intellectual property rights relating to
+technology embodied in the product that is described in this document.
+In particular, and without limitation, these intellectual property
+rights may include one or more of the U.S. patents listed at
+http://www.sun.com/patents and one or more additional patents or pending
+patent applications in the U.S. and in other countries.
+
+This document and the product to which it pertains are distributed under
+licenses restricting their use, copying, distribution, and
+decompilation. This Product or document may be reproduced but may not be
+changed without prior written authorization of Sun and its licensors, if
+any.
+
+Third-party software, including font technology, is copyrighted and
+licensed from Sun suppliers.
+
+Sun,  Sun Microsystems,  the Sun logo,  Java,  JavaServer Pages,  Java
+Naming and Directory Interface,  JDBC,  JDK,  JavaMail and  and
+Enterprise JavaBeans are trademarks or registered trademarks of Sun
+Microsystems, Inc. in the U.S. and other countries.
+
+
+
+Federal Acquisitions: Commercial Software - Government Users Subject to
+Standard License Terms and Conditions.
+
+DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS,
+REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
+MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
+DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
+
+French:
+Copyright © 2000 Sun Microsystems, Inc., 901 San Antonio Road, Palo
+Alto, California 94303, États-Unis. Tous droits réservés.
+
+Sun Microsystems, Inc. a les droits de propriété intellectuels
+relatants à la technologie incorporée dans le produit qui est
+décrit dans ce document. En particulier, et sans la limitation, ces
+droits de propriété intellectuels peuvent inclure un ou plus des
+brevets américains énumérés à http://www.sun.com/patents
+et un ou les brevets plus supplémentaires ou les applications de
+brevet en attente dans les États - Unis et dans les autres pays.
+
+Ce produit ou document est protégé par un copyright et
+distribué avec des licences qui en restreignent l'utilisation, la
+copie, la distribution, et la décompilation. Ce produit sa
+documention associe n peut être reproduite, par quelque moyen que ce
+soit, sans l'autorisation préalable et écrite de Sun et de ses
+bailleurs de licence, le cas échéant.
+
+Le logiciel détenu par des tiers, et qui comprend la technologie
+relative aux polices de caractères, est protégé par un
+copyright et licencié par des fournisseurs de Sun.
+
+Sun,  Sun Microsystems,  le logo Sun,  Java,  JavaServer Pages,  Java
+Naming and Directory Interface,  JDBC,  JDK,  JavaMail et  and
+Enterprise JavaBeans sont des marques de fabrique ou des marques
+déposées de Sun Microsystems, Inc. aux États-Unis et dans
+d'autres pays.
+
+
+
+LA DOCUMENTATION EST FOURNIE "EN L'ÉTAT" ET TOUTES AUTRES CONDITIONS,
+DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT
+EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS
+NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A
+L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE
+CONTREFAÇON.
+-->
+
+<!-- 
+XML DTD for Resource Adapter deployment Descriptor 1.0 
+-->
+
+<!--
+The connector element is the root element of the deployment descriptor 
+for the resource adapter. This element includes general information - vendor 
+name, version, specification version supported, icon -  about the 
+resource adapter module. It also includes information specific to the 
+implementation of the resource adapter library as specified through 
+the element resourceadapter.
+-->
+<!ELEMENT connector (display-name, description?, icon?, vendor-name,
+spec-version, eis-type, version, license?, resourceadapter)>
+
+<!-- 
+The element resourceadapter specifies information about the resource
+adapter. The information includes fully-qualified names of
+class/interfaces required as part of the connector architecture 
+specified contracts, level of transaction support provided, 
+configurable properties for ManagedConnectionFactory instances, 
+one or more authentication mechanisms supported and additional 
+required security permissions.
+
+If there is no authentication-mechanism specified as part of resource adapter
+element then the resource adapter does not support any standard
+security authentication mechanisms as part of security contract.
+The application server ignores the security part of the system 
+contracts in this case.
+-->
+
+<!ELEMENT resourceadapter (
+managedconnectionfactory-class, connectionfactory-interface,         
+connectionfactory-impl-class, connection-interface, 
+connection-impl-class, transaction-support, config-property*, 
+authentication-mechanism*, reauthentication-support, security-permission* 
+)>
+
+<!--
+The element authentication-mechanism specifies an authentication mechanism
+supported by the resource adapter. Note that this support is for
+the resource adapter and not for the underlying EIS instance. The
+optional description specifies any resource adapter specific requirement
+for the support of security contract and authentication mechanism.
+
+Note that BasicPassword mech-type should support the 
+javax.resource.spi.security.PasswordCredential interface. The Kerbv5
+mech-type should support the javax.resource.spi.security.Generic-
+Credential interface.
+-->
+<!ELEMENT authentication-mechanism (description?, authentication-mechanism-type, credential-interface)>
+
+<!--
+The element credential-interface specifies the interface that the
+resource adapter implementation supports for the representation
+of the credentials. This element should be used by application server
+to find out the Credential interface it should use as part of the
+security contract.
+
+The possible values are:
+   <credential-interface>javax.resource.spi.security.PasswordCredential
+        </credential-interface>
+   <credential-interface>javax.resource.spi.security.GenericCredential
+        </credential-interface>
+-->
+<!ELEMENT credential-interface (#PCDATA)>
+
+<!--
+The element authentication-mechanism-type specifies type of an authentication
+mechanism.
+
+The example values are:
+   <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
+   <authentication-mechanism-type>Kerbv5</authentication-mechanism-type>
+
+Any additional security mechanisms are outside the scope of the 
+Connector architecture specification.
+-->
+<!ELEMENT authentication-mechanism-type (#PCDATA)>
+
+<!-- 
+The element connectionfactory-interface specifies the fully-qualified
+name of the ConnectionFactory interface supported by the resource
+adapter. 
+
+Example: <connectionfactory-interface>com.wombat.ConnectionFactory
+         </connectionfactory-interface>
+OR
+<connectionfactory-interface>javax.resource.cci.ConnectionFactory
+         </connectionfactory-interface>
+-->
+<!ELEMENT connectionfactory-interface (#PCDATA)>
+
+<!-- 
+The element connectionfactory-impl-class specifies the fully-qualified
+name of the ConnectionFactory class that implements resource adapter
+specific ConnectionFactory interface.
+
+Example: <connectionfactory-impl-class>com.wombat.ConnectionFactoryImpl
+         </connectionfactory-impl-class>
+-->
+<!ELEMENT connectionfactory-impl-class (#PCDATA)>
+
+<!-- 
+The element connection-interface specifies the fully-qualified
+name of the Connection interface supported by the resource
+adapter.
+
+Example: <connection-interface>javax.resource.cci.Connection
+         </connection-interface>
+-->
+<!ELEMENT connection-interface (#PCDATA)>
+
+<!-- 
+The element connection-impl-class specifies the fully-qualified
+name of the Connection class that implements resource adapter
+specific Connection interface.
+
+Example: <connection-impl-class>com.wombat.ConnectionImpl
+         </connection-impl-class>
+-->
+<!ELEMENT connection-impl-class (#PCDATA)>
+
+<!--
+The element config-entry contains a declaration of a single 
+configuration property for a ManagedConnectionFactory instance. 
+
+Each ManagedConnectionFactory instance creates connections to a 
+specific EIS instance based on the properties configured on the 
+ManagedConnectionFactory instance. The configurable properties are 
+specified only once in the deployment descriptor, even though a 
+resource adapter can be used to configure multiple ManagedConnnection-
+Factory instances (that create connections to different instances of
+the same EIS).
+
+The declaration consists of an optional description, name, type
+and an optional value of the configuration property. If the resource
+adapter provider does not specify a value than the deployer is
+responsible for providing a valid value for a configuration property.
+
+Any bounds or well-defined values of properties should be described 
+in the description element.
+-->
+<!ELEMENT config-property (description?, config-property-name, 
+config-property-type, config-property-value?)>
+
+<!-- 
+The element config-property-name contains the name of a configuration 
+property.
+
+Example: <config-property-name>ServerName</config-property-name>
+
+The connector architecture defines a set of well-defined properties
+all of type java.lang.String. These are as follows:
+     <config-property-name>ServerName</config-property-name>
+     <config-property-name>PortNumber</config-property-name>
+     <config-property-name>UserName</config-property-name>
+     <config-property-name>Password</config-property-name>
+     <config-property-name>ConnectionURL</config-property-name>
+
+A resource adapter provider can extend this property set to include 
+properties specific to the resource adapter and its underlying EIS.
+-->
+<!ELEMENT config-property-name (#PCDATA)>
+
+<!-- 
+The element config-property-type contains the fully qualified Java
+type of a configuration property as required by ManagedConnection-
+Factory instance.
+
+The following are the legal values of config-property-type:
+   java.lang.Boolean, java.lang.String, java.lang.Integer,
+   java.lang.Double, java.lang.Byte, java.lang.Short,
+   java.lang.Long, java.lang.Float, java.lang.Character
+
+Example: <config-property-type>java.lang.String</config-property-type>
+-->
+<!ELEMENT config-property-type (#PCDATA)>
+
+
+<!-- 
+The element config-property-value contains the value of a configuration
+entry.
+
+Example: <config-property-value>WombatServer</config-property-value>
+-->
+<!ELEMENT config-property-value (#PCDATA)>
+
+
+<!-- 
+The element display-name contains a short name for the resource adapter
+that is intended to be displayed by the tools 
+-->
+<!ELEMENT display-name (#PCDATA)>
+
+<!-- 
+The element description is used by resource adapter provider to provide
+text describing the parent element. The description element should include
+any information that the resource provider wants to provide to the
+deployer. Typically tools used by the consumer of resource adapter
+module will display the description when processing the parent element
+-->
+<!ELEMENT description (#PCDATA)>
+
+<!-- 
+The element eis-type contains information about the type of the
+EIS. For example, the type of an EIS can be product name of EIS
+independent of any version info.
+
+This helps in identifying EIS instances that can be used with
+this resource adapter.
+-->
+<!ELEMENT eis-type (#PCDATA)>
+
+<!--
+The icon element contains a small icon and large icon element
+which specify the URIs for a small and a large GIF or JPEG icon
+image to represent the application in GUI.
+-->
+<!ELEMENT icon (small-icon?, large-icon?)>
+
+<!--
+The large-icon element contains the name of a file containing an icon
+for the resource adapter module. The file name is relative path within
+the resource adapter module. This file must be either in JPEG or GIF
+format. The icon is used by tools to display information about the
+resource adapter module.
+
+Example:
+<large-icon>lib/images/wombatadapter_large.jpg</large-icon>
+-->
+<!ELEMENT large-icon (#PCDATA)>
+
+<!--
+The small-icon element contains the name of a file containing an icon
+for the resource adapter module. The file name is relative path within
+the resource adapter module. This file must be either in JPEG or GIF
+format. The icon is used by tools to display information about the
+resource adapter module.
+
+Example:
+<small-icon>lib/images/wombatadapter_small.jpg</small-icon>
+-->
+<!ELEMENT small-icon (#PCDATA)>
+
+<!-- 
+The element managedconnectionfactory-class specifies the fully qualified
+name of the Java class that implements the javax.resource.spi.Managed-
+ConnectionFactory interface. This Java class is provided as part of
+resource adapter's implementation of connector architecture specified 
+contracts.
+
+Example:
+  <managedconnectionfactory-class>com.wombat.ManagedConnectionFactoryImpl
+  </managedconnectionfactory-class>
+-->
+<!ELEMENT managedconnectionfactory-class (#PCDATA)>
+
+<!-- 
+The element reauthentication-support specifies whether the resource
+adapter implementation supports re-authentication of existing Managed-
+Connection instance. Note that this information is for the resource
+adapter implementation and not for the underlying EIS instance.
+
+This element must be one of the following:
+        <reauthentication-support>true</reauthentication-support>
+        <reauthentication-support>false</reauthentication-support>
+-->
+<!ELEMENT reauthentication-support (#PCDATA)>
+
+<!-- 
+The element license specifies licensing requirements for the resource 
+adapter module. This element specifies whether a license is required
+to deploy and use this resource adapter, and an optional description 
+of the licensing terms (examples: duration of license, number of 
+connection restrictions).
+-->
+<!ELEMENT license (description?, license-required)>
+
+<!-- 
+The element license-required specifies whether a license is required 
+to deploy and use the resource adapter. This element must be one of
+the following:
+
+	<license-required>true</license-required>
+	<license-required>false</license-required>
+-->
+<!ELEMENT license-required (#PCDATA)>
+
+<!-- 
+The element spec-version specifies the version of the connector
+architecture specification that is supported by this resource 
+adapter. This information enables deployer to configure the resource
+adapter to support deployment and runtime requirements of the
+corresponding connector architecture specification.
+
+Example:
+  <spec-version>1.0</spec-version>
+-->
+<!ELEMENT spec-version (#PCDATA)>
+
+
+<!-- 
+The element security permission specifies a security permission that 
+is required by the resource adapter code.
+
+The security permission listed in the deployment descriptor are ones 
+that are different from those required by the default permission set 
+as specified in the connector specification. The optional description
+can mention specific reason that resource adapter requires a given
+security permission.
+-->
+<!ELEMENT security-permission (description?, security-permission-spec)>
+
+<!--
+The element permission-spec specifies a security permission based
+on the Security policy file syntax [reference: Java 2, Security  
+architecture specification]
+
+http://java.sun.com/products/jdk/1.3/docs/guide/security/PolicyFiles.html#FileSyntax
+-->
+<!ELEMENT security-permission-spec (#PCDATA)>
+
+<!-- 
+The transaction-support element specifies the level of transaction
+support provided by the resource adapter. 
+The value of transaction-support must be one of the following:
+ <transaction-support>NoTransaction</transaction-support>
+ <transaction-support>LocalTransaction</transaction-support>
+ <transaction-support>XATransaction</transaction-support>
+-->
+<!ELEMENT transaction-support (#PCDATA)>
+
+<!-- 
+The element vendor-name specifies the name of resource adapter provider
+vendor.
+Example:
+  <vendor-name>Wombat Corp.</vendor-name>
+-->
+<!ELEMENT vendor-name (#PCDATA)>
+
+<!-- 
+The element version specifies a string-based version of the 
+resource adapter from the resource adapter provider.
+
+Example:
+  <version>1.0</version>
+-->
+<!ELEMENT version (#PCDATA)>
+
+<!--
+The ID mechanism is to allow tools that produce additional deployment
+information (beyond the standard deployment descriptor) to store the
+non-standard information in a separate file and to refer to standard
+deployment descriptor from these non-standard tools specific file.
+
+The connector specification does not allow the tools to add the non-
+standard information into the standard deployment descriptor.
+-->
+
+<!ATTLIST authentication-mechanism id ID #IMPLIED>
+<!ATTLIST authentication-mechanism-type id ID #IMPLIED>
+<!ATTLIST config-property id ID #IMPLIED>
+<!ATTLIST config-property-name id ID #IMPLIED>
+<!ATTLIST config-property-value id ID #IMPLIED>
+<!ATTLIST config-property-type id ID #IMPLIED>
+<!ATTLIST connector id ID #IMPLIED>
+<!ATTLIST connectionfactory-interface id ID #IMPLIED>
+<!ATTLIST connectionfactory-impl-class id ID #IMPLIED>
+<!ATTLIST connection-interface id ID #IMPLIED>
+<!ATTLIST connection-impl-class id ID #IMPLIED>
+<!ATTLIST credential-interface id ID #IMPLIED>
+<!ATTLIST description id ID #IMPLIED>
+<!ATTLIST display-name id ID #IMPLIED>
+<!ATTLIST eis-type id ID #IMPLIED>
+<!ATTLIST icon id ID #IMPLIED>
+<!ATTLIST large-icon id ID #IMPLIED>
+<!ATTLIST license id ID #IMPLIED>
+<!ATTLIST license-required id ID #IMPLIED>
+<!ATTLIST small-icon id ID #IMPLIED>
+<!ATTLIST managedconnectionfactory-class id ID #IMPLIED>
+<!ATTLIST reauthentication-support id ID #IMPLIED>
+<!ATTLIST resourceadapter id ID #IMPLIED>
+<!ATTLIST security-permission id ID #IMPLIED>
+<!ATTLIST security-permission-spec id ID #IMPLIED>
+<!ATTLIST spec-version id ID #IMPLIED>
+<!ATTLIST transaction-support id ID #IMPLIED>
+<!ATTLIST vendor-name id ID #IMPLIED>
+<!ATTLIST version id ID #IMPLIED>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/datatypes.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/datatypes.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/datatypes.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,203 @@
+<!--
+        DTD for XML Schemas: Part 2: Datatypes
+        $Id: datatypes.dtd 20476 2004-04-17 13:29:24Z tdiesler $
+        Note this DTD is NOT normative, or even definitive. - - the
+        prose copy in the datatypes REC is the definitive version
+        (which shouldn't differ from this one except for this comment
+        and entity expansions, but just in case)
+  -->
+
+<!--
+        This DTD cannot be used on its own, it is intended
+        only for incorporation in XMLSchema.dtd, q.v.
+  -->
+
+<!-- Define all the element names, with optional prefix -->
+<!ENTITY % simpleType "%p;simpleType">
+<!ENTITY % restriction "%p;restriction">
+<!ENTITY % list "%p;list">
+<!ENTITY % union "%p;union">
+<!ENTITY % maxExclusive "%p;maxExclusive">
+<!ENTITY % minExclusive "%p;minExclusive">
+<!ENTITY % maxInclusive "%p;maxInclusive">
+<!ENTITY % minInclusive "%p;minInclusive">
+<!ENTITY % totalDigits "%p;totalDigits">
+<!ENTITY % fractionDigits "%p;fractionDigits">
+<!ENTITY % length "%p;length">
+<!ENTITY % minLength "%p;minLength">
+<!ENTITY % maxLength "%p;maxLength">
+<!ENTITY % enumeration "%p;enumeration">
+<!ENTITY % whiteSpace "%p;whiteSpace">
+<!ENTITY % pattern "%p;pattern">
+
+<!--
+        Customisation entities for the ATTLIST of each element
+        type. Define one of these if your schema takes advantage
+        of the anyAttribute='##other' in the schema for schemas
+  -->
+
+<!ENTITY % simpleTypeAttrs "">
+<!ENTITY % restrictionAttrs "">
+<!ENTITY % listAttrs "">
+<!ENTITY % unionAttrs "">
+<!ENTITY % maxExclusiveAttrs "">
+<!ENTITY % minExclusiveAttrs "">
+<!ENTITY % maxInclusiveAttrs "">
+<!ENTITY % minInclusiveAttrs "">
+<!ENTITY % totalDigitsAttrs "">
+<!ENTITY % fractionDigitsAttrs "">
+<!ENTITY % lengthAttrs "">
+<!ENTITY % minLengthAttrs "">
+<!ENTITY % maxLengthAttrs "">
+<!ENTITY % enumerationAttrs "">
+<!ENTITY % whiteSpaceAttrs "">
+<!ENTITY % patternAttrs "">
+
+<!-- Define some entities for informative use as attribute
+        types -->
+<!ENTITY % URIref "CDATA">
+<!ENTITY % XPathExpr "CDATA">
+<!ENTITY % QName "NMTOKEN">
+<!ENTITY % QNames "NMTOKENS">
+<!ENTITY % NCName "NMTOKEN">
+<!ENTITY % nonNegativeInteger "NMTOKEN">
+<!ENTITY % boolean "(true|false)">
+<!ENTITY % simpleDerivationSet "CDATA">
+<!--
+        #all or space-separated list drawn from derivationChoice
+  -->
+
+<!--
+        Note that the use of 'facet' below is less restrictive
+        than is really intended:  There should in fact be no
+        more than one of each of minInclusive, minExclusive,
+        maxInclusive, maxExclusive, totalDigits, fractionDigits,
+        length, maxLength, minLength within datatype,
+        and the min- and max- variants of Inclusive and Exclusive
+        are mutually exclusive. On the other hand,  pattern and
+        enumeration may repeat.
+  -->
+<!ENTITY % minBound "(%minInclusive; | %minExclusive;)">
+<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)">
+<!ENTITY % bounds "%minBound; | %maxBound;">
+<!ENTITY % numeric "%totalDigits; | %fractionDigits;">
+<!ENTITY % ordered "%bounds; | %numeric;">
+<!ENTITY % unordered
+   "%pattern; | %enumeration; | %whiteSpace; | %length; |
+   %maxLength; | %minLength;">
+<!ENTITY % facet "%ordered; | %unordered;">
+<!ENTITY % facetAttr 
+        "value CDATA #REQUIRED
+        id ID #IMPLIED">
+<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED">
+<!ENTITY % facetModel "(%annotation;)?">
+<!ELEMENT %simpleType;
+        ((%annotation;)?, (%restriction; | %list; | %union;))>
+<!ATTLIST %simpleType;
+    name      %NCName; #IMPLIED
+    final     %simpleDerivationSet; #IMPLIED
+    id        ID       #IMPLIED
+    %simpleTypeAttrs;>
+<!-- name is required at top level -->
+<!ELEMENT %restriction; ((%annotation;)?,
+                         (%restriction1; |
+                          ((%simpleType;)?,(%facet;)*)),
+                         (%attrDecls;))>
+<!ATTLIST %restriction;
+    base      %QName;                  #IMPLIED
+    id        ID       #IMPLIED
+    %restrictionAttrs;>
+<!--
+        base and simpleType child are mutually exclusive,
+        one is required.
+
+        restriction is shared between simpleType and
+        simpleContent and complexContent (in XMLSchema.xsd).
+        restriction1 is for the latter cases, when this
+        is restricting a complex type, as is attrDecls.
+  -->
+<!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)>
+<!ATTLIST %list;
+    itemType      %QName;             #IMPLIED
+    id        ID       #IMPLIED
+    %listAttrs;>
+<!--
+        itemType and simpleType child are mutually exclusive,
+        one is required
+  -->
+<!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)>
+<!ATTLIST %union;
+    id            ID       #IMPLIED
+    memberTypes   %QNames;            #IMPLIED
+    %unionAttrs;>
+<!--
+        At least one item in memberTypes or one simpleType
+        child is required
+  -->
+
+<!ELEMENT %maxExclusive; %facetModel;>
+<!ATTLIST %maxExclusive;
+        %facetAttr;
+        %fixedAttr;
+        %maxExclusiveAttrs;>
+<!ELEMENT %minExclusive; %facetModel;>
+<!ATTLIST %minExclusive;
+        %facetAttr;
+        %fixedAttr;
+        %minExclusiveAttrs;>
+
+<!ELEMENT %maxInclusive; %facetModel;>
+<!ATTLIST %maxInclusive;
+        %facetAttr;
+        %fixedAttr;
+        %maxInclusiveAttrs;>
+<!ELEMENT %minInclusive; %facetModel;>
+<!ATTLIST %minInclusive;
+        %facetAttr;
+        %fixedAttr;
+        %minInclusiveAttrs;>
+
+<!ELEMENT %totalDigits; %facetModel;>
+<!ATTLIST %totalDigits;
+        %facetAttr;
+        %fixedAttr;
+        %totalDigitsAttrs;>
+<!ELEMENT %fractionDigits; %facetModel;>
+<!ATTLIST %fractionDigits;
+        %facetAttr;
+        %fixedAttr;
+        %fractionDigitsAttrs;>
+
+<!ELEMENT %length; %facetModel;>
+<!ATTLIST %length;
+        %facetAttr;
+        %fixedAttr;
+        %lengthAttrs;>
+<!ELEMENT %minLength; %facetModel;>
+<!ATTLIST %minLength;
+        %facetAttr;
+        %fixedAttr;
+        %minLengthAttrs;>
+<!ELEMENT %maxLength; %facetModel;>
+<!ATTLIST %maxLength;
+        %facetAttr;
+        %fixedAttr;
+        %maxLengthAttrs;>
+
+<!-- This one can be repeated -->
+<!ELEMENT %enumeration; %facetModel;>
+<!ATTLIST %enumeration;
+        %facetAttr;
+        %enumerationAttrs;>
+
+<!ELEMENT %whiteSpace; %facetModel;>
+<!ATTLIST %whiteSpace;
+        %facetAttr;
+        %fixedAttr;
+        %whiteSpaceAttrs;>
+
+<!-- This one can be repeated -->
+<!ELEMENT %pattern; %facetModel;>
+<!ATTLIST %pattern;
+        %facetAttr;
+        %patternAttrs;>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/ejb-jar.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/ejb-jar.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/ejb-jar.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,894 @@
+<!--
+Copyright 1999 Sun Microsystems, Inc. 901 San Antonio Road,
+Palo Alto, CA  94303, U.S.A.  All rights reserved.
+ 
+This product or document is protected by copyright and distributed
+under licenses restricting its use, copying, distribution, and
+decompilation.  No part of this product or documentation may be
+reproduced in any form by any means without prior written authorization
+of Sun and its licensors, if any.  
+
+Third party software, including font technology, is copyrighted and 
+licensed from Sun suppliers. 
+
+Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java 
+Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans, 
+are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S. 
+and other countries.
+
+All SPARC trademarks are used under license and are trademarks
+or registered trademarks of SPARC International, Inc.
+in the U.S. and other countries. Products bearing SPARC
+trademarks are based upon an architecture developed by Sun Microsystems, Inc. 
+
+PostScript is a registered trademark of Adobe Systems, Inc. 
+
+ 
+Federal Acquisitions: Commercial Software - Government Users Subject to 
+Standard License Terms and Conditions.
+
+
+ 
+DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
+CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
+IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT
+TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY
+INVALID.
+
+_________________________________________________________________________
+Copyright 1999 Sun Microsystems, Inc., 
+901 San Antonio Road, Palo Alto, CA  94303, Etats-Unis. 
+Tous droits re'serve's.
+ 
+
+Ce produit ou document est prote'ge' par un copyright et distribue' avec 
+des licences qui en restreignent l'utilisation, la copie, la distribution,
+et la de'compilation.  Aucune partie de ce produit ou de sa documentation
+associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen 
+que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses 
+bailleurs de licence, s'il y en a.  
+
+Le logiciel de'tenu par des tiers, et qui comprend la technologie 
+relative aux polices de caracte`res, est prote'ge' par un copyright 
+et licencie' par des fournisseurs de Sun.
+ 
+Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java 
+Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans,  
+sont des marques de fabrique ou des marques de'pose'es de Sun 
+Microsystems, Inc. aux Etats-Unis et dans d'autres pays.
+ 
+Toutes les marques SPARC sont utilise'es sous licence et sont
+des marques de fabrique ou des marques de'pose'es de SPARC
+International, Inc. aux Etats-Unis et  dans
+d'autres pays. Les produits portant les marques SPARC sont
+base's sur une architecture de'veloppe'e par Sun Microsystems, Inc.  
+
+Postcript est une marque enregistre'e d'Adobe Systems Inc. 
+ 
+LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS,
+DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES,
+DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT
+TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE
+A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.
+-->
+
+
+<!--
+This is the XML DTD for the EJB 1.1 deployment descriptor.
+-->
+
+
+<!--
+The assembly-descriptor element contains application-assembly information.
+
+The application-assembly information consists of the following parts:
+the definition of security roles, the definition of method permissions,
+and the definition of transaction attributes for enterprise beans with
+container-managed transaction demarcation.
+
+All the parts are optional in the sense that they are omitted if the
+lists represented by them are empty.
+
+Providing an assembly-descriptor in the deployment descriptor is
+optional for the ejb-jar file producer.
+
+Used in: ejb-jar
+-->
+<!ELEMENT assembly-descriptor (security-role*, method-permission*,
+		container-transaction*)>
+
+<!--
+The cmp-field element describes a container-managed field. The field
+element includes an optional description of the field, and the name of
+the field.
+
+Used in: entity
+-->
+<!ELEMENT cmp-field (description?, field-name)>
+
+<!--
+The container-transaction element specifies how the container must
+manage transaction scopes for the enterprise bean's method invocations.
+The element consists of an optional description, a list of method
+elements, and a transaction attribute.The transaction attribute is to
+be applied to all the specified methods.
+
+Used in: assembly-descriptor
+-->
+<!ELEMENT container-transaction (description?, method+,
+		trans-attribute)>
+
+<!--
+The description element is used by the ejb-jar file producer to provide
+text describing the parent element.
+
+The description element should include any information that the ejb-jar
+file producer wants to provide to the consumer of the ejb-jar file
+(i.e. to the Deployer). Typically, the tools used by the ejb-jar file
+consumer will display the description when processing the parent
+element.
+
+Used in: cmp-field, container-transaction, ejb-jar, entity, env-entry,
+ejb-ref, method, method-permission, resource-ref, security-role,
+security-role-ref, and session.
+-->
+<!ELEMENT description (#PCDATA)>
+
+<!--
+The display-name element contains a short name that is intended to be
+display by tools.
+
+Used in: ejb-jar, session, and entity
+
+Example:
+	<display-name>Employee Self Service</display-name>
+-->
+<!ELEMENT display-name (#PCDATA)>
+
+<!--
+The ejb-class element contains the fully-qualified name of the
+enterprise bean's class.
+
+Used in: entity and session
+
+Example:
+		<ejb-class>com.wombat.empl.EmployeeServiceBean</ejb-class>
+-->
+<!ELEMENT ejb-class (#PCDATA)>
+
+<!--
+The optional ejb-client-jar element specifies a JAR file that contains
+the class files necessary for a client program to access the enterprise
+beans in the ejb-jar file. The Deployer should make the ejb-client JAR
+file accessible to the client's class-loader.
+
+Used in: ejb-jar
+
+Example:
+	<ejb-client-jar>employee_service_client.jar</ejb-client-jar>
+-->
+<!ELEMENT ejb-client-jar (#PCDATA)>
+
+<!--
+The ejb-jar element is the root element of the EJB deployment
+descriptor. It contains an optional description of the ejb-jar file,
+optional display name, optional small icon file name, optional large
+icon file name, mandatory structural information about all included
+enterprise beans, optional application-assembly descriptor, and an
+optional name of an ejb-client-jar file for the ejb-jar.
+-->
+<!ELEMENT ejb-jar (description?, display-name?, small-icon?,
+		large-icon?, enterprise-beans, assembly-descriptor?,
+		ejb-client-jar?)>
+
+<!--
+The ejb-link element is used in the ejb-ref element to specify that an
+EJB reference is linked to another enterprise bean in the ejb-jar
+file.
+
+The value of the ejb-link element must be the ejb-name of an enterprise
+bean in the same ejb-jar file, or in another ejb-jar file in the same
+J2EE application unit.
+
+Used in: ejb-ref
+
+Example:
+		<ejb-link>EmployeeRecord</ejb-link>
+-->
+<!ELEMENT ejb-link (#PCDATA)>
+
+<!--
+The ejb-name element specifies an enterprise bean's name. This name is
+assigned by the ejb-jar file producer to name the enterprise bean in
+the ejb-jar file's deployment descriptor. The name must be unique among
+the names of the enterprise beans in the same ejb-jar file.
+
+The enterprise bean code does not depend on the name; therefore the
+name can be changed during the application-assembly process without
+breaking the enterprise bean's function.
+
+There is no architected relationship between the ejb-name in the
+deployment descriptor and the JNDI name that the Deployer will assign
+to the enterprise bean's home.
+
+The name must conform to the lexical rules for an NMTOKEN.
+
+Used in: entity, method, and session
+
+Example:
+		<ejb-name>EmployeeService</ejb-name>
+-->
+<!ELEMENT ejb-name (#PCDATA)>
+
+<!--
+The ejb-ref element is used for the declaration of a reference to
+another enterprise bean's home. The declaration consists of an optional
+description; the EJB reference name used in the code of the referencing
+enterprise bean; the expected type of the referenced enterprise bean;
+the expected home and remote interfaces of the referenced enterprise
+bean; and an optional ejb-link information.
+
+The optional ejb-link element is used to specify the referenced
+enterprise bean. It is used typically in ejb-jar files that contain an
+assembled application.
+
+Used in: entity and session
+-->
+<!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type, home,
+		remote, ejb-link?)>
+
+<!--
+The ejb-ref-name element contains the name of an EJB reference. The EJB
+reference is an entry in the enterprise bean's environment.
+
+It is recommended that name is prefixed with "ejb/".
+
+Used in: ejb-ref
+
+Example:
+		<ejb-ref-name>ejb/Payroll</ejb-ref-name>
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--
+The ejb-ref-type element contains the expected type of the referenced
+enterprise bean.
+
+The ejb-ref-type element must be one of the following:
+		<ejb-ref-type>Entity</ejb-ref-type>
+		<ejb-ref-type>Session</ejb-ref-type>
+
+Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-type (#PCDATA)>
+
+<!--
+The enterprise-beans element contains the declarations of one or more
+enterprise beans.
+-->
+<!ELEMENT enterprise-beans (session | entity)+>
+
+<!--
+The entity element declares an entity bean. The declaration consists
+of: an optional description; optional display name; optional small icon
+file name; optional large icon file name; a name assigned to the
+enterprise bean in the deployment descriptor; the names of the entity
+bean's home and remote interfaces; the entity bean's implementation
+class; the entity bean's persistence management type; the entity bean's
+primary key class name; an indication of the entity bean's reentrancy;
+an optional list of container-managed fields; an optional specification
+of the primary key field; an optional declaration of the bean's
+environment entries; an optional declaration of the bean's EJB
+references; an optional declaration of the security role references;
+and an optional declaration of the bean's resource manager connection
+factory references.
+
+The optional primkey-field may be present in the descriptor if the
+entity's persistency-type is Container.
+
+The other elements that are optional are "optional" in the sense that
+they are omitted if the lists represented by them are empty.
+
+At least one cmp-field element must be present in the descriptor if the
+entity's persistency-type is Container, and none must not be present if
+the entity's persistence-type is Bean.
+
+Used in: enterprise-beans
+-->
+<!ELEMENT entity (description?, display-name?, small-icon?,
+		large-icon?, ejb-name, home, remote, ejb-class,
+		persistence-type, prim-key-class, reentrant,
+		cmp-field*, primkey-field?, env-entry*,
+		ejb-ref*, security-role-ref*, resource-ref*)>
+
+<!--
+The env-entry element contains the declaration of an enterprise bean's
+environment entries. The declaration consists of an optional
+description, the name of the environment entry, and an optional value.
+
+Used in: entity and session
+-->
+<!ELEMENT env-entry (description?, env-entry-name, env-entry-type,
+		env-entry-value?)>
+
+<!--
+The env-entry-name element contains the name of an enterprise bean's
+environment entry.
+
+Used in: env-entry
+
+Example:
+		<env-entry-name>minAmount</env-entry-name>
+-->
+<!ELEMENT env-entry-name (#PCDATA)>
+
+<!--
+The env-entry-type element contains the fully-qualified Java type of
+the environment entry value that is expected by the enterprise bean's
+code.
+
+The following are the legal values of env-entry-type:
+java.lang.Boolean, java.lang.String, java.lang.Integer,
+java.lang.Double, java.lang.Byte, java.lang.Short, java.lang.Long, and
+java.lang.Float.
+
+Used in: env-entry
+
+Example:
+		<env-entry-type>java.lang.Boolean</env-entry-type>
+-->
+<!ELEMENT env-entry-type (#PCDATA)>
+
+<!--
+The env-entry-value element contains the value of an enterprise bean's
+environment entry.
+
+Used in: env-entry
+
+Example:
+		<env-entry-value>100.00</env-entry-value>
+-->
+<!ELEMENT env-entry-value (#PCDATA)>
+
+<!--
+The field-name element specifies the name of a container managed field.
+The name must be a public field of the enterprise bean class or one of
+its superclasses.
+
+Used in: cmp-field
+
+Example:
+		<field-name>firstName</field-Name>
+-->
+<!ELEMENT field-name (#PCDATA)>
+
+<!--
+The home element contains the fully-qualified name of the enterprise
+bean's home interface.
+
+Used in: ejb-ref, entity, and session
+
+Example:
+		<home>com.aardvark.payroll.PayrollHome</home>
+-->
+<!ELEMENT home (#PCDATA)>
+
+<!--
+The large-icon element contains the name of a file containing a large
+(32 x 32) icon image. The file name is relative path within the ejb-jar
+file.
+
+The image must be either in the JPEG or GIF format, and the file name
+must end with the suffix ".jpg" or ".gif" respectively.  The icon can
+be used by tools.
+
+Example:
+	<large-icon>employee-service-icon32x32.jpg</large-icon>
+-->
+<!ELEMENT large-icon (#PCDATA)>
+
+<!--
+The method element is used to denote a method of an enterprise bean's
+home or remote interface, or a set of methods. The ejb-name element
+must be the name of one of the enterprise beans in declared in the
+deployment descriptor; the optional method-intf element allows to
+distinguish between a method with the same signature that is defined in
+both the home and remote interface; the method-name element specifies
+the method name; and the optional method-params elements identify a
+single method among multiple methods with an overloaded method name.
+
+There are three possible styles of the method element syntax:
+
+1. 	<method>
+		<ejb-name>EJBNAME</ejb-name>
+   		<method-name>*</method-name>
+	</method>
+
+   This style is used to refer to all the methods of the specified
+   enterprise bean's home and remote interfaces.
+
+2. 	<method>
+		<ejb-name>EJBNAME</ejb-name>
+   		<method-name>METHOD</method-name>
+	</method>>
+
+   This style is used to refer to the specified method of the
+   specified enterprise bean. If there are multiple methods with
+   the same overloaded name, the element of this style refers to
+   all the methods with the overloaded name.
+
+
+
+
+
+3. 	<method>
+		<ejb-name>EJBNAME</ejb-name>
+   		<method-name>METHOD</method-name>
+		<method-params>
+   			<method-param>PARAM-1</method-param>
+   			<method-param>PARAM-2</method-param>
+          			...
+   			<method-param>PARAM-n</method-param>
+		</method-params>
+	<method>	
+
+   This style is used to refer to a single method within a set of
+   methods with an overloaded name. PARAM-1 through PARAM-n are the
+   fully-qualified Java types of the method's input parameters (if
+   the method has no input arguments, the method-params element
+   contains no method-param elements). Arrays are specified by the
+   array element's type, followed by one or more pair of square
+   brackets (e.g. int[][]).
+
+
+Used in: method-permission and container-transaction
+
+Examples:
+
+    Style 1: The following method element refers to all the methods of
+		the EmployeeService bean's home and remote interfaces:
+
+		<method>
+			<ejb-name>EmployeeService</ejb-name>
+			<method-name>*</method-name>
+		</method>
+
+	Style 2: The following method element refers to all the create
+		methods of the EmployeeService bean's home interface:
+
+    		<method>
+			<ejb-name>EmployeeService</ejb-name>
+			<method-name>create</method-name>
+		</method>
+
+	Style 3: The following method element refers to the
+		create(String firstName, String LastName) method of the
+	 	EmployeeService bean's home interface.
+
+    		<method>
+			<ejb-name>EmployeeService</ejb-name>
+			<method-name>create</method-name>
+			<method-params>
+				<method-param>java.lang.String</method-param>
+				<method-param>java.lang.String</method-param>
+			</method-params>
+		</method>
+
+	
+	The following example illustrates a Style 3 element with
+	more complex parameter types. The method
+			foobar(char s, int i, int[] iar, mypackage.MyClass mycl,
+				mypackage.MyClass[][] myclaar)
+        would be specified as:
+
+    		<method>
+			<ejb-name>EmployeeService</ejb-name>
+			<method-name>foobar</method-name>
+			<method-params>
+				<method-param>char</method-param>
+				<method-param>int</method-param>
+				<method-param>int[]</method-param>
+				<method-param>mypackage.MyClass</method-param>
+				<method-param>mypackage.MyClass[][]</method-param>
+			</method-params>
+		</method>
+
+	The optional method-intf element can be used when it becomes
+   necessary to differentiate between a method defined in the home
+   interface and a method with the same name and signature that is
+   defined in the remote interface.
+
+	For example, the method element
+
+   		<method>
+			<ejb-name>EmployeeService</ejb-name>
+			<method-intf>Remote</method-intf>
+			<method-name>create</method-name>
+			<method-params>
+				<method-param>java.lang.String</method-param>
+				<method-param>java.lang.String</method-param>
+			</method-params>
+		</method>
+
+	can be used to differentiate the create(String, String) method
+   defined in the remote interface from the create(String, String)
+   method defined in the home interface, which would be defined as
+
+   		<method>
+			<ejb-name>EmployeeService</ejb-name>
+			<method-intf>Home</method-intf>
+			<method-name>create</method-name>
+			<method-params>
+				<method-param>java.lang.String</method-param>
+				<method-param>java.lang.String</method-param>
+			</method-params>
+		</method>
+
+-->
+<!ELEMENT method (description?, ejb-name, method-intf?, method-name,
+			method-params?)>
+
+<!--
+The method-intf element allows a method element to differentiate
+between the methods with the same name and signature that are defined
+in both the remote and home interfaces.
+
+The method-intf element must be one of the following:
+		<method-intf>Home</method-intf>
+		<method-intf>Remote</method-intf>
+
+Used in: method
+-->
+<!ELEMENT method-intf (#PCDATA)>
+
+<!--
+The method-name element contains a name of an enterprise bean method,
+or the asterisk (*) character. The asterisk is used when the element
+denotes all the methods of an enterprise bean's remote and home
+interfaces.
+
+Used in: method
+-->
+<!ELEMENT method-name (#PCDATA)>
+
+<!--
+The method-param element contains the fully-qualified Java type name of
+a method parameter.
+
+Used in: method-params
+-->
+<!ELEMENT method-param (#PCDATA)>
+
+<!--
+The method-params element contains a list of the fully-qualified Java
+type names of the method parameters.
+
+Used in: method
+-->
+<!ELEMENT method-params (method-param*)>
+
+<!--
+The method-permission element specifies that one or more security roles
+are allowed to invoke one or more enterprise bean methods. The
+method-permission element consists of an optional description, a list
+of security role names, and a list of method elements.
+
+The security roles used in the method-permission element must be
+defined in the security-role element of the deployment descriptor, and
+the methods must be methods defined in the enterprise bean's remote
+and/or home interfaces.
+
+Used in: assembly-descriptor
+-->
+<!ELEMENT method-permission (description?, role-name+, method+)>
+
+<!--
+The persistence-type element specifies an entity bean's persistence
+management type.
+
+The persistence-type element must be one of the two following:
+		<persistence-type>Bean</persistence-type>
+		<persistence-type>Container</persistence-type>
+
+Used in: entity
+-->
+<!ELEMENT persistence-type (#PCDATA)>
+
+<!--
+The prim-key-class element contains the fully-qualified name of an
+entity bean's primary key class.
+
+If the definition of the primary key class is deferred to deployment
+time, the prim-key-class element should specify java.lang.Object.
+
+Used in: entity
+
+Examples:
+	<prim-key-class>java.lang.String</prim-key-class>
+	<prim-key-class>com.wombat.empl.EmployeeID</prim-key-class>
+	<prim-key-class>java.lang.Object</prim-key-class>
+
+-->
+<!ELEMENT prim-key-class (#PCDATA)>
+
+<!--
+The primkey-field element is used to specify the name of the primary
+key field for an entity with container-managed persistence.
+
+The primkey-field must be one of the fields declared in the cmp-field
+element, and the type of the field must be the same as the primary key
+type.
+
+The primkey-field element is not used if the primary key maps to
+multiple container-managed fields (i.e. the key is a compound key). In
+this case, the fields of the primary key class must be public, and
+their names must correspond to the field names of the entity bean class
+that comprise the key.
+
+Used in: entity
+
+Example:
+	<primkey-field>EmployeeId</primkey-field>
+-->
+<!ELEMENT primkey-field (#PCDATA)>
+
+<!--
+The reentrant element specifies whether an entity bean is reentrant or not.
+
+The reentrant element must be one of the two following:
+		<reentrant>True</reentrant>
+		<reentrant>False</reentrant>
+
+Used in: entity
+-->
+<!ELEMENT reentrant (#PCDATA)>
+
+<!--
+The remote element contains the fully-qualified name of the enterprise
+bean's remote interface.
+
+Used in: ejb-ref, entity, and session
+
+Example:
+		<remote>com.wombat.empl.EmployeeService</remote>
+-->
+<!ELEMENT remote (#PCDATA)>
+
+<!--
+The res-auth element specifies whether the enterprise bean code signs
+on programmatically to the resource manager, or whether the Container
+will sign on to the resource manager on behalf of the bean. In the
+latter case, the Container uses information that is supplied by the
+Deployer.
+
+The value of this element must be one of the two following:
+		<res-auth>Application</res-auth>
+		<res-auth>Container</res-auth>
+-->
+<!ELEMENT res-auth (#PCDATA)>
+
+<!--
+The res-ref-name element specifies the name of a resource manager
+connection factory reference.
+
+Used in: resource-ref
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+The res-type element specifies the type of the data source. The type is
+specified by the Java interface (or class) expected to be implemented
+by the data source.
+
+Used in: resource-ref
+-->
+<!ELEMENT res-type (#PCDATA)>
+
+<!--
+The resource-ref element contains a declaration of enterprise bean's
+reference to an external resource. It consists of an optional
+description, the resource manager connection factory reference name,
+the indication of the resource manager connection factory type expected
+by the enterprise bean code, and the type of authentication (bean or
+container).
+
+Used in: entity and session
+
+Example:
+		<resource-ref>
+			<res-ref-name>EmployeeAppDB</res-ref-name>
+			<res-type>javax.sql.DataSource</res-type>
+			<res-auth>Container</res-auth>
+		</resource-ref>
+-->
+<!ELEMENT resource-ref (description?, res-ref-name, res-type,
+			res-auth)>
+
+<!--
+The role-link element is used to link a security role reference to a
+defined security role. The role-link element must contain the name of
+one of the security roles defined in the security-role elements.
+
+Used in: security-role-ref
+-->
+<!ELEMENT role-link (#PCDATA)>
+
+<!--
+The role-name element contains the name of a security role.
+
+The name must conform to the lexical rules for an NMTOKEN.
+
+Used in: method-permission, security-role, and security-role-ref
+-->
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+The security-role element contains the definition of a security role.
+The definition consists of an optional description of the security
+role, and the security role name.
+
+Used in: assembly-descriptor
+
+Example:
+		<security-role>
+			<description>
+				This role includes all employees who
+				are authorized to access the employee
+				service application.
+			</description>
+			<role-name>employee</role-name>
+		</security-role>
+-->
+<!ELEMENT security-role (description?, role-name)>
+
+<!--
+The security-role-ref element contains the declaration of a security
+role reference in the enterprise bean's code. The declaration consists
+of an optional description, the security role name used in the code,
+and an optional link to a defined security role.
+
+The value of the role-name element must be the String used as the
+parameter to the EJBContext.isCallerInRole(String roleName) method.
+
+The value of the role-link element must be the name of one of the
+security roles defined in the security-role elements.
+
+Used in: entity and session
+
+-->
+<!ELEMENT security-role-ref (description?, role-name, role-link?)>
+
+<!--
+The session-type element describes whether the session bean is a
+stateful session, or stateless session.
+
+The session-type element must be one of the two following:
+		<session-type>Stateful</session-type>
+		<session-type>Stateless</session-type>
+-->
+<!ELEMENT session-type (#PCDATA)>
+
+<!--
+The session element declares an session bean. The declaration consists
+of: an optional description; optional display name; optional small icon
+file name; optional large icon file name; a name assigned to the
+enterprise bean in the deployment description; the names of the session
+bean's home and remote interfaces; the session bean's implementation
+class; the session bean's state management type; the session bean's
+transaction management type; an optional declaration of the bean's
+environment entries; an optional declaration of the bean's EJB
+references; an optional declaration of the security role references;
+and an optional declaration of the bean's resource manager connection
+factory references.
+
+The elements that are optional are "optional" in the sense that they
+are omitted when if lists represented by them are empty.
+
+Used in: enterprise-beans
+-->
+<!ELEMENT session (description?, display-name?, small-icon?,
+		large-icon?, ejb-name, home, remote, ejb-class,
+		session-type, transaction-type, env-entry*,
+		ejb-ref*, security-role-ref*, resource-ref*)>
+
+<!--
+The small-icon element contains the name of a file containing a small
+(16 x 16) icon image. The file name is relative path within the ejb-jar
+file.
+
+The image must be either in the JPEG or GIF format, and the file name
+must end with the suffix ".jpg" or ".gif" respectively.
+
+The icon can be used by tools.
+
+Example:
+	<small-icon>employee-service-icon16x16.jpg</small-icon>
+-->
+<!ELEMENT small-icon (#PCDATA)>
+
+<!--
+The transaction-type element specifies an enterprise bean's transaction
+management type.
+
+The transaction-type element must be one of the two following:
+		<transaction-type>Bean</transaction-type>
+		<transaction-type>Container</transaction-type>
+
+Used in: session
+-->
+<!ELEMENT transaction-type (#PCDATA)>
+
+<!--
+The trans-attribute element specifies how the container must manage the
+transaction boundaries when delegating a method invocation to an
+enterprise bean's business method.
+
+The value of trans-attribute must be one of the following:
+		<trans-attribute>NotSupported</trans-attribute>
+		<trans-attribute>Supports</trans-attribute>
+		<trans-attribute>Required</trans-attribute>
+		<trans-attribute>RequiresNew</trans-attribute>
+		<trans-attribute>Mandatory</trans-attribute>
+		<trans-attribute>Never</trans-attribute>
+
+Used in: container-transaction
+-->
+<!ELEMENT trans-attribute (#PCDATA)>
+
+<!--
+The ID mechanism is to allow tools that produce additional deployment
+information (i.e information beyond the standard EJB deployment
+descriptor information) to store the non-standard information in a
+separate file, and easily refer from these tools-specific files to the
+information in the standard deployment descriptor.
+
+The EJB architecture does not allow the tools to add the non-standard
+information into the EJB deployment descriptor.
+-->
+<!ATTLIST assembly-descriptor id ID #IMPLIED>
+<!ATTLIST cmp-field id ID #IMPLIED>
+<!ATTLIST container-transaction id ID #IMPLIED>
+<!ATTLIST description id ID #IMPLIED>
+<!ATTLIST display-name id ID #IMPLIED>
+<!ATTLIST ejb-class id ID #IMPLIED>
+<!ATTLIST ejb-client-jar id ID #IMPLIED>
+<!ATTLIST ejb-jar id ID #IMPLIED>
+<!ATTLIST ejb-link id ID #IMPLIED>
+<!ATTLIST ejb-name id ID #IMPLIED>
+<!ATTLIST ejb-ref id ID #IMPLIED>
+<!ATTLIST ejb-ref-name id ID #IMPLIED>
+<!ATTLIST ejb-ref-type id ID #IMPLIED>
+<!ATTLIST enterprise-beans id ID #IMPLIED>
+<!ATTLIST entity id ID #IMPLIED>
+<!ATTLIST env-entry id ID #IMPLIED>
+<!ATTLIST env-entry-name id ID #IMPLIED>
+<!ATTLIST env-entry-type id ID #IMPLIED>
+<!ATTLIST env-entry-value id ID #IMPLIED>
+<!ATTLIST field-name id ID #IMPLIED>
+<!ATTLIST home id ID #IMPLIED>
+<!ATTLIST large-icon id ID #IMPLIED>
+<!ATTLIST method id ID #IMPLIED>
+<!ATTLIST method-intf id ID #IMPLIED>
+<!ATTLIST method-name id ID #IMPLIED>
+<!ATTLIST method-param id ID #IMPLIED>
+<!ATTLIST method-params id ID #IMPLIED>
+<!ATTLIST method-permission id ID #IMPLIED>
+<!ATTLIST persistence-type id ID #IMPLIED>
+<!ATTLIST prim-key-class id ID #IMPLIED>
+<!ATTLIST primkey-field id ID #IMPLIED>
+<!ATTLIST reentrant id ID #IMPLIED>
+<!ATTLIST remote id ID #IMPLIED>
+<!ATTLIST res-auth id ID #IMPLIED>
+<!ATTLIST res-ref-name id ID #IMPLIED>
+<!ATTLIST res-type id ID #IMPLIED>
+<!ATTLIST resource-ref id ID #IMPLIED>
+<!ATTLIST role-link id ID #IMPLIED>
+<!ATTLIST role-name id ID #IMPLIED>
+<!ATTLIST security-role id ID #IMPLIED>
+<!ATTLIST security-role-ref id ID #IMPLIED>
+<!ATTLIST session-type id ID #IMPLIED>
+<!ATTLIST session id ID #IMPLIED>
+<!ATTLIST small-icon id ID #IMPLIED>
+<!ATTLIST transaction-type id ID #IMPLIED>
+<!ATTLIST trans-attribute id ID #IMPLIED>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/ejb-jar_2_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/ejb-jar_2_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/ejb-jar_2_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1660 @@
+<!--
+Copyright 2000-2001 Sun Microsystems, Inc. 901 San Antonio Road,
+Palo Alto, CA  94303, U.S.A.  All rights reserved.
+
+This product or document is protected by copyright and distributed
+under licenses restricting its use, copying, distribution, and
+decompilation.  No part of this product or documentation may be
+reproduced in any form by any means without prior written authorization
+of Sun and its licensors, if any.
+
+Third party software, including font technology, is copyrighted and
+licensed from Sun suppliers.
+
+Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java
+Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans,
+are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S.
+and other countries.
+
+All SPARC trademarks are used under license and are trademarks
+or registered trademarks of SPARC International, Inc.
+in the U.S. and other countries. Products bearing SPARC
+trademarks are based upon an architecture developed by Sun Microsystems, Inc.
+
+PostScript is a registered trademark of Adobe Systems, Inc.
+
+Federal Acquisitions: Commercial Software - Government Users Subject to
+Standard License Terms and Conditions.
+
+DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
+CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
+IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT
+TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY
+INVALID.
+
+_________________________________________________________________________
+
+Copyright 2000-2001 Sun Microsystems, Inc.,
+901 San Antonio Road, Palo Alto, CA  94303, Etats-Unis.
+Tous droits re'serve's.
+
+
+Ce produit ou document est prote'ge' par un copyright et distribue' avec
+des licences qui en restreignent l'utilisation, la copie, la distribution,
+et la de'compilation.  Aucune partie de ce produit ou de sa documentation
+associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen
+que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses
+bailleurs de licence, s'il y en a.
+
+Le logiciel de'tenu par des tiers, et qui comprend la technologie
+relative aux polices de caracte`res, est prote'ge' par un copyright
+et licencie' par des fournisseurs de Sun.
+
+Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java
+Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans,
+sont des marques de fabrique ou des marques de'pose'es de Sun
+Microsystems, Inc. aux Etats-Unis et dans d'autres pays.
+
+Toutes les marques SPARC sont utilise'es sous licence et sont
+des marques de fabrique ou des marques de'pose'es de SPARC
+International, Inc. aux Etats-Unis et  dans
+d'autres pays. Les produits portant les marques SPARC sont
+base's sur une architecture de'veloppe'e par Sun Microsystems, Inc.
+
+Postcript est une marque enregistre'e d'Adobe Systems Inc.
+
+LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS,
+DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES,
+DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT
+TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE
+A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.
+-->
+
+<!--
+This is the XML DTD for the EJB 2.0 deployment descriptor.
+All EJB 2.0 deployment descriptors must include a DOCTYPE
+of the following form:
+
+  <!DOCTYPE ejb-jar PUBLIC
+	"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
+	"http://java.sun.com/dtd/ejb-jar_2_0.dtd">
+
+-->
+
+<!--
+The following conventions apply to all J2EE deployment descriptor
+elements unless indicated otherwise.
+
+- In elements that contain PCDATA, leading and trailing whitespace
+  in the data may be ignored.
+
+- In elements whose value is an "enumerated type", the value is
+  case sensitive.
+
+- In elements that specify a pathname to a file within the same
+  JAR file, relative filenames (i.e., those not starting with "/")
+  are considered relative to the root of the JAR file's namespace.
+  Absolute filenames (i.e., those starting with "/") also specify
+  names in the root of the JAR file's namespace.  In general, relative
+  names are preferred.  The exception is .war files where absolute
+  names are preferred for consistency with the servlet API.
+-->
+
+
+<!--
+The ejb-jar element is the root element of the EJB deployment
+descriptor. It contains
+
+	- an optional description of the ejb-jar file
+	- an optional display name
+	- an optional small icon file name
+	- an optional large icon file name
+	- mandatory structural information about all included
+	  enterprise beans
+	- a descriptor for container managed relationships, if any
+	- an optional application-assembly descriptor
+	- an optional name of an ejb-client-jar file for the ejb-jar.
+-->
+<!ELEMENT ejb-jar (description?, display-name?, small-icon?,
+large-icon?, enterprise-beans, relationships?, assembly-descriptor?,
+ejb-client-jar?)>
+
+<!--
+The abstract-schema-name element specifies the name of the abstract
+schema type of an entity bean with cmp-version 2.x. It is used in EJB
+QL queries.
+
+For example, the abstract-schema-name for an entity bean whose local
+interface is com.acme.commerce.Order might be Order.
+
+Used in: entity
+-->
+<!ELEMENT abstract-schema-name (#PCDATA)>
+
+<!--
+
+The acknowledge-mode element specifies whether JMS AUTO_ACKNOWLEDGE or
+DUPS_OK_ACKNOWLEDGE message acknowledgment semantics should be used
+for the onMessage message of a message-driven bean that uses bean
+managed transaction demarcation.
+
+The acknowledge-mode element must be one of the two following:
+
+	<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
+	<acknowledge-mode>Dups-ok-acknowledge</acknowledgemode>
+
+Used in: message-driven
+-->
+<!ELEMENT acknowledge-mode (#PCDATA)>
+
+<!--
+The assembly-descriptor element contains application-assembly information.
+
+The application-assembly information consists of the following parts:
+the definition of security roles, the definition of method
+permissions, the definition of transaction attributes for
+enterprise beans with container-managed transaction demarcation and
+a list of methods to be excluded from deployment.
+
+All the parts are optional in the sense that they are omitted if the
+lists represented by them are empty.
+
+Providing an assembly-descriptor in the deployment descriptor is
+optional for the ejb-jar file producer.
+
+Used in: ejb-jar
+-->
+<!ELEMENT assembly-descriptor (security-role*, method-permission*,
+container-transaction*, exclude-list?)>
+
+<!--
+The cascade-delete element specifies that, within a particular
+relationship, the lifetime of one or more entity beans is dependent
+upon the lifetime of another entity bean. The cascade-delete element
+can only be specified for an ejb-relationship-role element contained
+in an ejb-relation element in which the other ejb-relationship-role
+element specifies a multiplicity of One.
+
+Used in: ejb-relationship-role
+-->
+<!ELEMENT cascade-delete EMPTY>
+
+<!--
+The cmp-field element describes a container-managed field. The
+field element includes an optional description of the field, and the
+name of the field.
+
+Used in: entity
+-->
+<!ELEMENT cmp-field (description?, field-name)>
+
+<!--
+The cmp-version element specifies the version of an entity bean
+with container-managed persistence.
+
+The cmp-version element must be one of the two following:
+
+	<cmp-version>1.x</cmp-version>
+	<cmp-version>2.x</cmp-version>
+
+The default value of the cmp-version element is 2.x.
+
+Used in: entity
+-->
+<!ELEMENT cmp-version (#PCDATA)>
+
+<!--
+
+The cmr-field element describes the bean provider's view of a
+relationship. It consists of an optional description, and the name and
+the class type of a field in the source of a role of a
+relationship. The cmr-field-name element corresponds to the name used
+for the get and set accessor methods for the relationship. The
+cmr-field-type element is used only for collection-valued
+cmr-fields. It specifies the type of the collection that is used.
+
+Used in: ejb-relationship-role
+-->
+<!ELEMENT cmr-field (description?, cmr-field-name, cmr-field-type?)>
+
+<!--
+The cmr-field-name element specifies the name of a logical
+relationship field in the entity bean class. The name of the cmr-field
+must begin with a lowercase letter. This field is accessed by methods
+whose names consists of the name of the field specified by
+cmr-field-name in which the first letter is uppercased, prefixed by
+"get" or "set".
+
+Used in: cmr-field
+-->
+<!ELEMENT cmr-field-name (#PCDATA)>
+
+<!--
+The cmr-field-type element specifies the class of a
+collection-valued logical relationship field in the entity bean
+class. The value of the cmr-field-type element must be either:
+java.util.Collection or java.util.Set.
+
+Used in: cmr-field
+-->
+<!ELEMENT cmr-field-type (#PCDATA)>
+
+<!--
+The container-transaction element specifies how the container
+must manage transaction scopes for the enterprise bean's method
+invocations. The element consists of an optional description, a list
+of method elements, and a transaction attribute. The transaction
+attribute is to be applied to all the specified methods.
+
+Used in: assembly-descriptor
+-->
+<!ELEMENT container-transaction (description?, method+, trans-attribute)>
+
+<!--
+The description element is used to provide text describing the parent
+element.  The description element should include any information that
+the enterprise bean ejb-jar file producer wants to provide to the consumer of
+the enterprise bean ejb-jar file (i.e., to the Deployer). Typically, the tools
+used by the enterprise bean ejb-jar file consumer will display the description
+when processing the parent element that contains the description.
+
+Used in: cmp-field, cmr-field, container-transaction, ejb-jar,
+ejb-local-ref, ejb-ref, ejb-relation, ejb-relationship-role, entity,
+env-entry, exclude-list, message-driven, method, method-permission,
+query, relationship-role-source, relationships, resource-env-ref,
+resource-ref, run-as, security-identity, security-role,
+security-role-ref, session
+-->
+<!ELEMENT description (#PCDATA)>
+
+<!--
+The destination-type element specifies the type of the JMS
+destination. The type is specified by the Java interface expected to
+be implemented by the destination.
+
+The destination-type element must be one of the two following:
+
+<destination-type>javax.jms.Queue</destination-type>
+<destination-type>javax.jms.Topic</destination-type>
+
+Used in: message-driven-destination
+-->
+<!ELEMENT destination-type (#PCDATA)>
+
+<!--
+The display-name element contains a short name that is intended to be
+displayed by tools.  The display name need not be unique.
+
+Used in: ejb-jar, entity, message-driven, session
+
+Example:
+
+<display-name>Employee Self Service</display-name>
+-->
+<!ELEMENT display-name (#PCDATA)>
+
+<!--
+The ejb-class element contains the fully-qualified name of the
+enterprise bean's class.
+
+Used in: entity, message-driven, session
+
+Example:
+
+<ejb-class>com.wombat.empl.EmployeeServiceBean</ejb-class>
+-->
+<!ELEMENT ejb-class (#PCDATA)>
+
+<!--
+The optional ejb-client-jar element specifies a JAR file that contains
+the class files necessary for a client program to access the
+enterprise beans in the ejb-jar file.
+
+Used in: ejb-jar
+
+Example:
+
+<ejb-client-jar>employee_service_client.jar</ejb-client-jar>
+-->
+<!ELEMENT ejb-client-jar (#PCDATA)>
+
+<!--
+The ejb-link element is used in the ejb-ref or ejb-local-ref
+elements to specify that an EJB reference is linked to an
+enterprise bean.
+
+The value of the ejb-link element must be the ejb-name of an
+enterprise bean in the same ejb-jar file or in another ejb-jar
+file in the same J2EE application unit.
+
+Alternatively, the name in the ejb-link element may be composed of a
+path name specifying the ejb-jar containing the referenced enterprise
+bean with the ejb-name of the target bean appended and separated from
+the path name by "#".  The path name is relative to the ejb-jar file
+containing the enterprise bean that is referencing the enterprise bean.
+This allows multiple enterprise beans with the same ejb-name to be
+uniquely identified.
+
+Used in: ejb-local-ref, ejb-ref
+
+Examples:
+
+	<ejb-link>EmployeeRecord</ejb-link>
+
+	<ejb-link>../products/product.jar#ProductEJB</ejb-link>
+
+-->
+<!ELEMENT ejb-link (#PCDATA)>
+
+<!--
+The ejb-local-ref element is used for the declaration of a reference to
+an enterprise bean's local home. The declaration consists of:
+
+	- an optional description
+	- the EJB reference name used in the code of the enterprise bean
+	  that's referencing the enterprise bean
+	- the expected type of the referenced enterprise bean
+	- the expected local home and local interfaces of the referenced
+	  enterprise bean
+	- optional ejb-link information, used to specify the referenced
+	  enterprise bean
+
+Used in: entity, message-driven, session
+-->
+<!ELEMENT ejb-local-ref (description?, ejb-ref-name, ejb-ref-type,
+		local-home, local, ejb-link?)>
+
+<!--
+The ejb-name element specifies an enterprise bean's name. This name is
+assigned by the ejb-jar file producer to name the enterprise bean in
+the ejb-jar file's deployment descriptor. The name must be unique
+among the names of the enterprise beans in the same ejb-jar file.
+
+There is no architected relationship between the ejb-name in the
+deployment descriptor and the JNDI name that the Deployer will assign
+to the enterprise bean's home.
+
+The name for an entity bean with cmp-version 2.x must conform to the
+lexical rules for an NMTOKEN. The name for an entity bean with
+cmp-version 2.x must not be a reserved literal in EJB QL.
+
+Used in: entity, message-driven, method, relationship-role-source,
+session
+
+Example:
+
+<ejb-name>EmployeeService</ejb-name>
+-->
+<!ELEMENT ejb-name (#PCDATA)>
+
+<!--
+The ejb-ql element contains the EJB QL query string that defines
+a finder or select query. This element is defined within the scope of
+a query element whose contents specify the finder or the select method
+that uses the query. The content must be a valid EJB QL query string
+for the entity bean for which the query is specified.
+
+The ejb-ql element must be specified for all queries that are
+expressible in EJB QL.
+
+Used in: query
+
+Example:
+<query>
+    <query-method>
+        <method-name>ejbSelectPendingLineitems</method-name>
+        <method-params/>
+    </query-method>
+    <ejb-ql>SELECT ENTITY(l) FROM LineItems l WHERE l.shipped <> TRUE
+    </ejb-ql>
+</query>
+
+-->
+<!ELEMENT ejb-ql (#PCDATA)>
+
+<!--
+The ejb-ref element is used for the declaration of a reference to
+an enterprise bean's home. The declaration consists of:
+
+	- an optional description
+	- the EJB reference name used in the code of
+	  the enterprise bean that's referencing the enterprise bean
+	- the expected type of the referenced enterprise bean
+	- the expected home and remote interfaces of the referenced
+	  enterprise bean
+	- optional ejb-link information, used to specify the referenced
+	  enterprise bean
+
+Used in: entity, message-driven, session
+-->
+<!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type,
+		home, remote, ejb-link?)>
+
+<!--
+The ejb-ref-name element contains the name of an EJB reference. The
+EJB reference is an entry in the enterprise bean's environment and is
+relative to the java:comp/env context.  The name must be unique
+within the enterprise bean.
+
+It is recommended that name is prefixed with "ejb/".
+
+Used in: ejb-local-ref, ejb-ref
+
+Example:
+
+<ejb-ref-name>ejb/Payroll</ejb-ref-name>
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--
+The ejb-ref-type element contains the expected type of the
+referenced enterprise bean.
+
+The ejb-ref-type element must be one of the following:
+
+	<ejb-ref-type>Entity</ejb-ref-type>
+	<ejb-ref-type>Session</ejb-ref-type>
+
+Used in: ejb-local-ref, ejb-ref
+-->
+<!ELEMENT ejb-ref-type (#PCDATA)>
+
+<!--
+
+The ejb-relation element describes a relationship between two
+entity beans with container managed persistence.  An ejb-relation
+element contains a description; an optional ejb-relation-name element;
+and exactly two relationship role declarations, defined by the
+ejb-relationship-role elements. The name of the relationship, if
+specified, is unique within the ejb-jar file.
+
+Used in: relationships
+-->
+<!ELEMENT ejb-relation (description?, ejb-relation-name?, ejb-relationship-role,
+ejb-relationship-role)>
+
+<!--
+The ejb-relation-name element provides a unique name for a relationship.
+
+Used in: ejb-relation
+-->
+<!ELEMENT ejb-relation-name (#PCDATA)>
+
+<!--
+The ejb-relationship-role element describes a role within a
+relationship. There are two roles in each relationship.
+
+The ejb-relationship-role element contains an optional description; an
+optional name for the relationship role; a specification of the
+multiplicity of the role; an optional specification of cascade-delete
+functionality for the role; the role source; and a declaration of the
+cmr-field, if any, by means of which the other side of the
+relationship is accessed from the perspective of the role source.
+
+The multiplicity and role-source element are mandatory.
+
+The relationship-role-source element designates an entity bean by
+means of an ejb-name element. For bidirectional relationships, both
+roles of a relationship must declare a relationship-role-source
+element that specifies a cmr-field in terms of which the relationship
+is accessed. The lack of a cmr-field element in an
+ejb-relationship-role specifies that the relationship is
+unidirectional in navigability and the entity bean that participates
+in the relationship is "not aware" of the relationship.
+
+Used in: ejb-relation
+
+Example:
+
+<ejb-relation>
+    <ejb-relation-name>Product-LineItem</ejb-relation-name>
+    <ejb-relationship-role>
+        <ejb-relationship-role-name>product-has-lineitems
+        </ejb-relationship-role-name>
+        <multiplicity>One</multiplicity>
+        <relationship-role-source>
+        <ejb-name>ProductEJB</ejb-name>
+        </relationship-role-source>
+     </ejb-relationship-role>
+...
+-->
+<!ELEMENT ejb-relationship-role (description?, ejb-relationship-role-name?,
+multiplicity, cascade-delete?, relationship-role-source, cmr-field?)>
+
+<!--
+The ejb-relationship-role-name element defines a name for a role that
+is unique within an ejb-relation. Different relationships can use the
+same name for a role.
+
+Used in: ejb-relationship-role
+-->
+<!ELEMENT ejb-relationship-role-name (#PCDATA)>
+
+<!--
+The enterprise-beans element contains the declarations of one or more
+enterprise beans.
+-->
+<!ELEMENT enterprise-beans (session | entity | message-driven)+>
+
+<!--
+The entity element declares an entity bean. The declaration
+consists of:
+
+	- an optional description
+	- an optional display name
+	- an optional small icon file name
+	- an optional large icon file name
+	- a unique name assigned to the enterprise bean
+	  in the deployment descriptor
+	- the names of the entity bean's home and component interfaces, if any
+	- the names of the entity bean's local home and local
+	  interface, if any
+	- the entity bean's implementation class
+	- the entity bean's persistence management type
+	- the entity bean's primary key class name
+	- an indication of the entity bean's reentrancy
+	- an optional specification of the entity bean's cmp-version
+	- an optional specification of the entity bean's abstract
+	  schema name
+	- an optional list of container-managed fields
+	- an optional specification of the primary key field
+	- an optional declaration of the bean's environment entries
+	- an optional declaration of the bean's EJB references
+	- an optional declaration of the bean's local EJB references
+	- an optional declaration of the security role references
+	- an optional declaration of the security identity
+	  to be used for the execution of the bean's methods
+	- an optional declaration of the bean's resource manager
+          connection factory references
+	- an optional declaration of the bean's
+	  resource environment references
+	- an optional set of query declarations
+	  for finder and select methods for an entity
+	  bean with cmp-version 2.x.
+
+The optional abstract-schema-name element must be specified for an
+entity bean with container managed persistence and cmp-version 2.x.
+
+The optional primkey-field may be present in the descriptor if the
+entity's persistence-type is Container.
+
+The optional cmp-version element may be present in the descriptor if
+the entity's persistence-type is Container. If the persistence-type is
+Container and the cmp-version element is not specified, its value
+defaults to 2.x.
+
+The optional home and remote elements must be specified if the entity
+bean cmp-version is 1.x.
+
+The optional local-home and local elements must be specified if the
+entity bean has a local home and local interface.
+
+Either both the local-home and the local elements or both the
+home and the remote elements must be specified.
+
+The optional query elements must be present if the persistence-type is
+Container and the cmp-version is 2.x and query methods other than
+findByPrimaryKey have been defined for the entity bean.
+
+The other elements that are optional are "optional" in the sense that
+they are omitted if the lists represented by them are empty.
+
+At least one cmp-field element must be present in the descriptor if
+the entity's persistence-type is Container and the cmp-version is 1.x,
+and none must not be present if the entity's persistence-type is Bean.
+
+Used in: enterprise-beans
+
+-->
+<!ELEMENT entity (description?, display-name?, small-icon?,
+		large-icon?, ejb-name, home?, remote?, local-home?,
+		local?, ejb-class, persistence-type, prim-key-class,
+		reentrant, cmp-version?, abstract-schema-name?,
+		cmp-field*, primkey-field?, env-entry*, ejb-ref*,
+		ejb-local-ref*, security-role-ref*, security-identity?,
+		resource-ref*, resource-env-ref*, query*)>
+
+<!--
+The env-entry element contains the declaration of an enterprise bean's
+environment entry. The declaration consists of an optional
+description, the name of the environment entry, and an optional
+value.  If a value is not specified, one must be supplied
+during deployment.
+
+Used in: entity, message-driven, session
+-->
+<!ELEMENT env-entry (description?, env-entry-name, env-entry-type,
+		env-entry-value?)>
+
+<!--
+The env-entry-name element contains the name of an enterprise bean's
+environment entry.  The name is a JNDI name relative to the
+java:comp/env context.  The name must be unique within an enterprise bean.
+
+Used in: env-entry
+
+Example:
+
+<env-entry-name>minAmount</env-entry-name>
+-->
+<!ELEMENT env-entry-name (#PCDATA)>
+
+<!--
+The env-entry-type element contains the fully-qualified Java type of
+the environment entry value that is expected by the enterprise bean's
+code.
+
+The following are the legal values of env-entry-type:
+
+	java.lang.Boolean
+	java.lang.Byte
+	java.lang.Character
+	java.lang.String
+	java.lang.Short
+	java.lang.Integer
+	java.lang.Long
+	java.lang.Float
+	java.lang.Double
+
+
+Used in: env-entry
+
+Example:
+
+<env-entry-type>java.lang.Boolean</env-entry-type>
+-->
+<!ELEMENT env-entry-type (#PCDATA)>
+
+<!--
+The env-entry-value element contains the value of an enterprise bean's
+environment entry. The value must be a String that is valid for the
+constructor of the specified type that takes a single String
+parameter, or for java.lang.Character, a single character.
+
+Used in: env-entry
+
+Example:
+
+<env-entry-value>100.00</env-entry-value>
+-->
+<!ELEMENT env-entry-value (#PCDATA)>
+
+<!--
+The exclude list element defines a set of methods which the Assembler marks to
+be uncallable. It contains one or more methods.
+
+If the method permission relation contains methods that are in the
+exclude list, the Deployer must consider those methods to be
+uncallable.
+
+Used in: assembly-descriptor
+-->
+<!ELEMENT exclude-list (description?, method+)>
+
+<!--
+The field-name element specifies the name of a container managed
+field. The name must be a public field of the enterprise bean class or
+one of its superclasses.
+
+The name of the cmp-field of an entity bean with cmp-version 2.x must
+begin with a lowercase letter. This field is accessed by methods whose
+names consists of the name of the field specified by field-name in
+which the first letter is uppercased, prefixed by "get" or "set".
+
+Used in: cmp-field
+
+Example:
+
+
+	<field-name>firstName</field-Name>
+
+-->
+<!ELEMENT field-name (#PCDATA)>
+
+<!--
+The home element contains the fully-qualified name of the enterprise
+bean's home interface.
+
+Used in: ejb-ref, entity, session
+
+Example:
+
+<home>com.aardvark.payroll.PayrollHome</home>
+-->
+<!ELEMENT home (#PCDATA)>
+
+<!--
+The large-icon element contains the name of a file
+containing a large (32 x 32) icon image. The file
+name is a relative path within the enterprise bean's
+ejb-jar file.
+
+The image may be either in the JPEG or GIF format.
+The icon can be used by tools.
+
+Used in: ejb-jar, entity, message-driven, session
+
+Example:
+
+<large-icon>employee-service-icon32x32.jpg</large-icon>
+-->
+<!ELEMENT large-icon (#PCDATA)>
+
+<!--
+
+The local element contains the fully-qualified name of the
+enterprise bean's local interface.
+
+Used in: ejb-local-ref, entity, session
+
+-->
+<!ELEMENT local (#PCDATA)>
+
+<!--
+
+The local-home element contains the fully-qualified name of the
+enterprise bean's local home interface.
+
+Used in: ejb-local-ref, entity, session
+-->
+<!ELEMENT local-home (#PCDATA)>
+
+<!--
+
+The message-driven element declares a message-driven bean. The
+declaration consists of:
+
+	- an optional description
+	- an optional display name
+	- an optional small icon file name
+	- an optional large icon file name
+	- a name assigned to the enterprise bean in
+	  the deployment descriptor
+	- the message-driven bean's implementation class
+	- the message-driven bean's transaction management type
+	- an optional declaration of the message-driven bean's
+	  message selector
+	- an optional declaration of the
+	  acknowledgment mode for the message-driven bean
+	  if bean-managed transaction demarcation is used
+	- an optional declaration of the
+	  intended destination type of the message-driven bean
+	- an optional declaration of the bean's environment entries
+	- an optional declaration of the bean's EJB references
+	- an optional declaration of the bean's local EJB references
+	- an optional declaration of the security
+	  identity to be used for the execution of the bean's methods
+	- an optional declaration of the bean's resource manager
+	  connection factory references
+	- an optional declaration of the bean's resource
+          environment references.
+
+Used in: enterprise-beans
+-->
+<!ELEMENT message-driven (description?, display-name?, small-icon?,
+		large-icon?, ejb-name, ejb-class, transaction-type,
+		message-selector?, acknowledge-mode?,
+		message-driven-destination?, env-entry*, ejb-ref*,
+		ejb-local-ref*, security-identity?, resource-ref*,
+		resource-env-ref*)>
+
+<!--
+The message-driven-destination element provides advice to the Deployer
+as to whether a message-driven bean is intended for a Queue or a
+Topic. The declaration consists of: the type of the message-driven
+bean's intended destination and an optional declaration of whether a
+durable or non-durable subscription should be used if the
+destination-type is javax.jms.Topic.
+
+Used in: message-driven
+-->
+<!ELEMENT message-driven-destination (destination-type,
+subscription-durability?)>
+
+<!--
+The message-selector element is used to specify the JMS message
+selector to be used in determining which messages a message-driven
+bean is to receive.
+
+Example:
+<message-selector>JMSType = `car' AND color = `blue' AND weight &gt; 2500
+</message-selector>
+
+Used in: message-driven
+-->
+<!ELEMENT message-selector (#PCDATA)>
+
+<!--
+
+The method element is used to denote a method of an enterprise
+bean's home or component interface, or, in the case of a message-driven
+bean, the bean's onMessage method, or a set of methods. The ejb-name
+element must be the name of one of the enterprise beans declared in
+the deployment descriptor; the optional method-intf element allows to
+distinguish between a method with the same signature that is multiply
+defined across in both the home and component interfaces; the
+method-name element specifies the method name; and the optional
+method-params elements identify a single method among multiple methods
+with an overloaded method name.
+
+There are three possible styles of the method element syntax:
+
+1.
+<method>
+    <ejb-name>EJBNAME</ejb-name>
+    <method-name>*</method-name>
+</method>
+
+   This style is used to refer to all the methods of the specified
+   enterprise bean's home and component interfaces.
+
+2.
+<method>
+    <ejb-name>EJBNAME</ejb-name>
+    <method-name>METHOD</method-name>
+</method>>
+
+   This style is used to refer to the specified method of the
+   specified enterprise bean. If there are multiple methods with
+   the same overloaded name, the element of this style refers to
+   all the methods with the overloaded name.
+
+
+3.
+<method>
+    <ejb-name>EJBNAME</ejb-name>
+    <method-name>METHOD</method-name>
+    <method-params>
+        <method-param>PARAM-1</method-param>
+        <method-param>PARAM-2</method-param>
+        ...
+        <method-param>PARAM-n</method-param>
+    </method-params>
+<method>
+
+
+   This style is used to refer to a single method within a set of
+   methods with an overloaded name. PARAM-1 through PARAM-n are the
+   fully-qualified Java types of the method's input parameters (if
+   the method has no input arguments, the method-params element
+   contains no method-param elements). Arrays are specified by the
+   array element's type, followed by one or more pair of square
+   brackets (e.g. int[][]).
+
+
+Used in: container-transaction, exclude-list, method-permission
+
+Examples:
+
+Style 1: The following method element refers to all the methods of
+the EmployeeService bean's home and component interfaces:
+
+<method>
+    <ejb-name>EmployeeService</ejb-name>
+    <method-name>*</method-name>
+</method>
+
+Style 2: The following method element refers to all the create
+methods of the EmployeeService bean's home interface(s).
+
+<method>
+    <ejb-name>EmployeeService</ejb-name>
+    <method-name>create</method-name>
+</method>
+
+
+Style 3: The following method element refers to the
+create(String firstName, String LastName) method of the
+EmployeeService bean's home interface(s).
+
+<method>
+    <ejb-name>EmployeeService</ejb-name>
+    <method-name>create</method-name>
+    <method-params>
+        <method-param>java.lang.String</method-param>
+        <method-param>java.lang.String</method-param>
+    </method-params>
+</method>
+
+
+The following example illustrates a Style 3 element with
+more complex parameter types. The method
+foobar(char s, int i, int[] iar, mypackage.MyClass mycl,
+mypackage.MyClass[][] myclaar) would be specified as:
+
+<method>
+    <ejb-name>EmployeeService</ejb-name>
+    <method-name>foobar</method-name>
+    <method-params>
+        <method-param>char</method-param>
+        <method-param>int</method-param>
+        <method-param>int[]</method-param>
+        <method-param>mypackage.MyClass</method-param>
+        <method-param>mypackage.MyClass[][]</method-param>
+    </method-params>
+</method>
+
+
+The optional method-intf element can be used when it becomes necessary
+to differentiate between a method that is multiply defined across the
+enterprise bean's home and component interfaces with the same name and
+signature.
+
+
+For example, the method element
+
+<method>
+    <ejb-name>EmployeeService</ejb-name>
+    <method-intf>Remote</method-intf>
+    <method-name>create</method-name>
+    <method-params>
+        <method-param>java.lang.String</method-param>
+        <method-param>java.lang.String</method-param>
+    </method-params>
+</method>
+
+
+can be used to differentiate the create(String, String) method defined
+in the remote interface from the create(String, String) method defined
+in the remote home interface, which would be defined as
+
+
+<method>
+    <ejb-name>EmployeeService</ejb-name>
+    <method-intf>Home</method-intf>
+    <method-name>create</method-name>
+    <method-params>
+        <method-param>java.lang.String</method-param>
+        <method-param>java.lang.String</method-param>
+    </method-params>
+</method>
+
+and the create method that is defined in the local home interface
+which would be defined as
+
+<method>
+    <ejb-name>EmployeeService</ejb-name>
+    <method-intf>LocalHome</method-intf>
+    <method-name>create</method-name>
+    <method-params>
+        <method-param>java.lang.String</method-param>
+        <method-param>java.lang.String</method-param>
+    </method-params>
+</method>
+
+
+The method-intf element can be used with all three Styles of the
+method element usage. For example, the following method element
+example could be used to refer to all the methods of the
+EmployeeService bean's remote home interface.
+
+
+<method>
+    <ejb-name>EmployeeService</ejb-name>
+    <method-intf>Home</method-intf>
+    <method-name>*</method-name>
+</method>
+
+-->
+<!ELEMENT method (description?, ejb-name, method-intf?, method-name,
+method-params?)>
+
+<!--
+
+The method-intf element allows a method element to differentiate
+between the methods with the same name and signature that are multiply
+defined across the component and home interfaces (e.g, in both an
+enterprise bean's remote and local interfaces; in both an enterprise bean's
+home and remote interfaces, etc.)
+
+The method-intf element must be one of the following:
+
+	<method-intf>Home</method-intf>
+	<method-intf>Remote</method-intf>
+	<method-intf>LocalHome</method-intf>
+	<method-intf>Local</method-intf>
+
+Used in: method, query-method
+-->
+<!ELEMENT method-intf (#PCDATA)>
+
+<!--
+The method-name element contains a name of an enterprise bean method
+or the asterisk (*) character. The asterisk is used when the element
+denotes all the methods of an enterprise bean's component and home
+interfaces.
+
+Used in: method, query-method
+-->
+<!ELEMENT method-name (#PCDATA)>
+
+<!--
+The method-param element contains the fully-qualified Java type name
+of a method parameter.
+
+Used in: method-params
+-->
+<!ELEMENT method-param (#PCDATA)>
+
+<!--
+The method-params element contains a list of the fully-qualified Java
+type names of the method parameters.
+
+Used in: method, query-method
+-->
+<!ELEMENT method-params (method-param*)>
+
+<!--
+
+The method-permission element specifies that one or more security
+roles are allowed to invoke one or more enterprise bean methods. The
+method-permission element consists of an optional description, a list
+of security role names or an indicator to state that the method is
+unchecked for authorization, and a list of method elements.
+
+The security roles used in the method-permission element must be
+defined in the security-role element of the deployment descriptor, and
+the methods must be methods defined in the enterprise bean's component
+and/or home interfaces.
+
+
+Used in: assembly-descriptor
+-->
+<!ELEMENT method-permission (description?, (role-name+|unchecked), method+)>
+
+<!--
+The multiplicity element describes the multiplicity of the role that
+participates in a relation.
+
+The multiplicity element must be one of the two following:
+
+	<multiplicity>One</multiplicity>
+	<multiplicity>Many</multiplicity>
+
+Used in: ejb-relationship-role
+-->
+<!ELEMENT multiplicity (#PCDATA)>
+
+<!--
+The persistence-type element specifies an entity bean's persistence
+management type.
+
+The persistence-type element must be one of the two following:
+
+	<persistence-type>Bean</persistence-type>
+	<persistence-type>Container</persistence-type>
+
+Used in: entity
+-->
+<!ELEMENT persistence-type (#PCDATA)>
+
+<!--
+The prim-key-class element contains the fully-qualified name of an
+entity bean's primary key class.
+
+If the definition of the primary key class is deferred to deployment
+time, the prim-key-class element should specify java.lang.Object.
+
+Used in: entity
+
+Examples:
+
+	<prim-key-class>java.lang.String</prim-key-class>
+
+	<prim-key-class>com.wombat.empl.EmployeeID</prim-key-class>
+
+	<prim-key-class>java.lang.Object</prim-key-class>
+
+-->
+<!ELEMENT prim-key-class (#PCDATA)>
+
+<!--
+The primkey-field element is used to specify the name of the primary
+key field for an entity with container-managed persistence.
+
+The primkey-field must be one of the fields declared in the cmp-field
+element, and the type of the field must be the same as the primary key
+type.
+
+The primkey-field element is not used if the primary key maps to
+multiple container-managed fields (i.e. the key is a compound key). In
+this case, the fields of the primary key class must be public, and
+their names must correspond to the field names of the entity bean
+class that comprise the key.
+
+Used in: entity
+
+Example:
+
+	<primkey-field>EmployeeId</primkey-field>
+
+-->
+<!ELEMENT primkey-field (#PCDATA)>
+
+<!--
+The query element is used to specify a finder or select query. It
+contains
+	- an optional description of the query
+	- the specification of the finder or select
+	  method it is used by
+        - an optional indicator which specifies how the abstract
+          schema type instance(s) must be mapped when results are
+          returned.
+    	- the EJB QL query string that defines the query.
+
+Queries that are expressible in EJB QL must use the ejb-ql element to
+specify the query. If a query is not expressible in EJB QL, the
+description element should be used to describe the semantics of the
+query and the ejb-ql element should be empty.
+
+The result-type-mapping is an optional element. It can only be present
+when the query-method describes an ejbSelect query. The default value
+for the result-type-mapping element is "Local".
+
+
+Used in: entity
+-->
+<!ELEMENT query (description?, query-method, result-type-mapping?, ejb-ql)>
+
+<!--
+The query-method element is used to specify the method for a finder or
+select query.
+
+The method-name element specifies the name of a finder or select
+method in the entity bean's implementation class.
+
+Each method-param must be defined for a query-method using the
+method-params element.
+
+Used in: query
+
+Example:
+
+<query>
+    <description>Method finds large orders</description>
+    <query-method>
+        <method-name>findLargeOrders</method-name>
+        <method-params></method-params>
+    </query-method>
+    <ejb-ql>SELECT ENTITY(o) FROM Order o WHERE o.amount &gt; 1000</ejb-ql>
+</query>
+
+-->
+<!ELEMENT query-method (method-name, method-intf?, method-params)>
+
+<!--
+The reentrant element specifies whether an entity bean is reentrant or
+not.
+
+The reentrant element must be one of the two following:
+
+	<reentrant>True</reentrant>
+	<reentrant>False</reentrant>
+
+Used in: entity
+-->
+<!ELEMENT reentrant (#PCDATA)>
+
+<!--
+
+The relationship-role-source element designates the source of a role
+that participates in a relationship. A relationship-role-source
+element uniquely identifies an entity bean.
+
+Used in: ejb-relationship-role
+-->
+<!ELEMENT relationship-role-source (description?, ejb-name)>
+
+<!--
+The relationships element describes the relationships in which
+entity beans with container managed persistence participate. The
+relationships element contains an optional description; and a list of
+ejb-relation elements, which specify the container managed
+relationships.
+
+
+Used in: ejb-jar
+-->
+<!ELEMENT relationships (description?, ejb-relation+)>
+
+<!--
+The remote element contains the fully-qualified name of the enterprise
+bean's remote interface.
+
+Used in: ejb-ref, entity, session
+
+Example:
+
+<remote>com.wombat.empl.EmployeeService</remote>
+-->
+<!ELEMENT remote (#PCDATA)>
+
+<!--
+The res-auth element specifies whether the enterprise bean code signs
+on programmatically to the resource manager, or whether the Container
+will sign on to the resource manager on behalf of the enterprise bean. In the
+latter case, the Container uses information that is supplied by the
+Deployer.
+
+The value of this element must be one of the two following:
+
+	<res-auth>Application</res-auth>
+	<res-auth>Container</res-auth>
+
+Used in: resource-ref
+-->
+<!ELEMENT res-auth (#PCDATA)>
+
+<!--
+The res-ref-name element specifies the name of a resource manager
+connection factory reference.  The name is a JNDI name relative to the
+java:comp/env context.  The name must be unique within an enterprise bean.
+
+Used in: resource-ref
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+The res-sharing-scope element specifies whether connections obtained
+through the given resource manager connection factory reference can be
+shared. The value of this element, if specified, must be one of the
+two following:
+
+	<res-sharing-scope>Shareable</res-sharing-scope>
+	<res-sharing-scope>Unshareable</res-sharing-scope>
+
+The default value is Shareable.
+
+Used in: resource-ref
+-->
+<!ELEMENT res-sharing-scope (#PCDATA)>
+
+<!--
+The res-type element specifies the type of the data source. The type
+is specified by the fully qualified Java language class or interface
+expected to be implemented by the data source.
+
+Used in: resource-ref
+-->
+<!ELEMENT res-type (#PCDATA)>
+
+<!--
+The resource-env-ref element contains a declaration of an enterprise bean's
+reference to an administered object associated with a resource
+in the enterprise bean's environment.  It consists of an optional
+description, the resource environment reference name, and an
+indication of the resource environment reference type expected by
+the enterprise bean code.
+
+Used in: entity, message-driven, session
+
+Example:
+
+<resource-env-ref>
+    <resource-env-ref-name>jms/StockQueue</resource-env-ref-name>
+    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
+</resource-env-ref>
+-->
+<!ELEMENT resource-env-ref (description?, resource-env-ref-name,
+		resource-env-ref-type)>
+
+<!--
+The resource-env-ref-name element specifies the name of a resource
+environment reference; its value is the environment entry name used in
+the enterprise bean code.  The name is a JNDI name relative to the
+java:comp/env context and must be unique within an enterprise bean.
+
+Used in: resource-env-ref
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--
+The resource-env-ref-type element specifies the type of a resource
+environment reference.  It is the fully qualified name of a Java
+language class or interface.
+
+Used in: resource-env-ref
+-->
+<!ELEMENT resource-env-ref-type (#PCDATA)>
+
+<!--
+The resource-ref element contains a declaration of an enterprise bean's
+reference to an external resource. It consists of an optional
+description, the resource manager connection factory reference name,
+the indication of the resource manager connection factory type
+expected by the enterprise bean code, the type of authentication
+(Application or Container), and an optional specification of the
+shareability of connections obtained from the resource (Shareable or
+Unshareable).
+
+Used in: entity, message-driven, session
+
+Example:
+
+    <resource-ref>
+	<res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
+	<res-type>javax.sql.DataSource</res-type>
+	<res-auth>Container</res-auth>
+	<res-sharing-scope>Shareable</res-sharing-scope>
+    </resource-ref>
+-->
+<!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth,
+		res-sharing-scope?)>
+
+<!--
+
+The result-type-mapping element designates the mapping of the return
+value(s) of an select query.
+
+When the result type of a select query is an abstract schema type, the
+value of this element determines whether the select
+query returns remote or local entity objects.
+
+The result-type-mapping element must have one of the following:
+
+        <result-type-mapping>Local</result-type-mapping>
+        <result-type-mapping>Remote</result-type-mapping>
+
+Used in: query
+-->
+<!ELEMENT result-type-mapping (#PCDATA)>
+
+<!--
+The role-link element is a reference to a defined security role. The
+role-link element must contain the name of one of the security roles
+defined in the security-role elements.
+
+Used in: security-role-ref
+-->
+<!ELEMENT role-link (#PCDATA)>
+
+<!--
+The role-name element contains the name of a security role.
+
+The name must conform to the lexical rules for an NMTOKEN.
+
+Used in: method-permission, run-as, security-role, security-role-ref
+-->
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+The run-as element specifies the run-as identity to be used for the
+execution of the enterprise bean. It contains an optional description, and
+the name of a security role.
+
+Used in: security-identity
+-->
+<!ELEMENT run-as (description?, role-name)>
+
+<!--
+
+The security-identity element specifies whether the caller's
+security identity is to be used for the execution of the methods of
+the enterprise bean or whether a specific run-as identity is to be
+used. It contains an optional description and a specification of the
+security identity to be used.
+
+Used in: entity, message-driven, session
+-->
+<!ELEMENT security-identity (description?, (use-caller-identity|run-as))>
+
+<!--
+The security-role element contains the definition of a security
+role. The definition consists of an optional description of the
+security role, and the security role name.
+
+Used in: assembly-descriptor
+
+Example:
+
+    <security-role>
+	<description>
+	    This role includes all employees who are authorized
+	    to access the employee service application.
+	</description>
+	<role-name>employee</role-name>
+    </security-role>
+-->
+<!ELEMENT security-role (description?, role-name)>
+
+<!--
+The security-role-ref element contains the declaration of a security
+role reference in the enterprise bean's code. The declaration consists
+of an optional description, the security role name used in the code,
+and an optional link to a security role. If the security role is not
+specified, the Deployer must choose an appropriate security role.
+
+The value of the role-name element must be the String used as the
+parameter to the EJBContext.isCallerInRole(String roleName) method
+or the HttpServletRequest.isUserInRole(String role) method.
+
+Used in: entity, session
+
+-->
+<!ELEMENT security-role-ref (description?, role-name, role-link?)>
+
+<!--
+The session element declares an session bean. The declaration consists
+of:
+	- an optional description
+	- an optional display name
+	- an optional small icon file name
+	- an optional large icon file name
+	- a name assigned to the enterprise bean
+	  in the deployment description
+	- the names of the session bean's remote home and
+	  remote interfaces, if any
+	- the names of the session bean's local home and
+	  local interfaces, if any
+	- the session bean's implementation class
+	- the session bean's state management type
+	- the session bean's transaction management type
+	- an optional declaration of the bean's environment entries
+	- an optional declaration of the bean's EJB references
+	- an optional declaration of the bean's local EJB references
+	- an optional declaration of the security role references
+	- an optional declaration of the security identity to be
+          used for the execution of the bean's methods
+	- an optional declaration of the bean's resource manager
+	  connection factory references
+	- an optional declaration of the bean's resource environment
+	  references.
+
+The elements that are optional are "optional" in the sense that they
+are omitted when if lists represented by them are empty.
+
+Either both the local-home and the local elements or both the
+home and the remote elements must be specified for the session bean.
+
+Used in: enterprise-beans
+-->
+<!ELEMENT session (description?, display-name?, small-icon?,
+large-icon?, ejb-name, home?, remote?, local-home? , local?,
+ejb-class, session-type, transaction-type, env-entry*, ejb-ref*,
+ejb-local-ref*, security-role-ref*, security-identity?, resource-ref*,
+resource-env-ref*)>
+
+<!--
+The session-type element describes whether the session bean is a
+stateful session or stateless session.
+
+The session-type element must be one of the two following:
+
+	<session-type>Stateful</session-type>
+	<session-type>Stateless</session-type>
+-->
+<!ELEMENT session-type (#PCDATA)>
+
+<!--
+The small-icon element contains the name of a file
+containing a small (16 x 16) icon image. The file
+name is a relative path within the enterprise bean's
+ejb-jar file.
+
+The image may be either in the JPEG or GIF format.
+The icon can be used by tools.
+
+Used in: ejb-jar, entity, message-driven, session
+
+Example:
+
+<small-icon>employee-service-icon16x16.jpg</small-icon>
+-->
+<!ELEMENT small-icon (#PCDATA)>
+
+<!--
+The subscription-durability element specifies whether a JMS topic
+subscription is intended to be durable or nondurable.
+
+The subscription-durability element must be one of the two following:
+
+	<subscription-durability>Durable</subscription-durability>
+	<subscription-durability>NonDurable</subscription-durability>
+
+Used in: message-driven-destination
+-->
+<!ELEMENT subscription-durability (#PCDATA)>
+
+<!--
+The trans-attribute element specifies how the container must manage
+the transaction boundaries when delegating a method invocation to an
+enterprise bean's business method.
+
+The value of trans-attribute must be one of the following:
+
+
+	<trans-attribute>NotSupported</trans-attribute>
+	<trans-attribute>Supports</trans-attribute>
+	<trans-attribute>Required</trans-attribute>
+	<trans-attribute>RequiresNew</trans-attribute>
+	<trans-attribute>Mandatory</trans-attribute>
+	<trans-attribute>Never</trans-attribute>
+
+Used in: container-transaction
+-->
+<!ELEMENT trans-attribute (#PCDATA)>
+
+<!--
+The transaction-type element specifies an enterprise bean's
+transaction management type.
+
+The transaction-type element must be one of the two following:
+
+	<transaction-type>Bean</transaction-type>
+	<transaction-type>Container</transaction-type>
+
+Used in: message-driven, session
+-->
+<!ELEMENT transaction-type (#PCDATA)>
+
+<!--
+The unchecked element specifies that a method is not checked for authorization
+by the container prior to invocation of the method.
+
+Used in: method-permission
+-->
+<!ELEMENT unchecked EMPTY>
+
+<!--
+
+The use-caller-identity element specifies that the caller's security
+identity be used as the security identity for the execution of the
+enterprise bean's methods.
+
+Used in: security-identity
+-->
+<!ELEMENT use-caller-identity EMPTY>
+
+<!--
+The ID mechanism is to allow tools that produce additional deployment
+information (i.e., information beyond the standard deployment
+descriptor information) to store the non-standard information in a
+separate file, and easily refer from these tool-specific files to the
+information in the standard deployment descriptor.
+
+Tools are not allowed to add the non-standard information into the
+standard deployment descriptor.
+-->
+
+<!ATTLIST abstract-schema-name id ID #IMPLIED>
+<!ATTLIST acknowledge-mode id ID #IMPLIED>
+<!ATTLIST assembly-descriptor id ID #IMPLIED>
+<!ATTLIST cascade-delete id ID #IMPLIED>
+<!ATTLIST cmp-field id ID #IMPLIED>
+<!ATTLIST cmp-version id ID #IMPLIED>
+<!ATTLIST cmr-field id ID #IMPLIED>
+<!ATTLIST cmr-field-name id ID #IMPLIED>
+<!ATTLIST cmr-field-type id ID #IMPLIED>
+<!ATTLIST container-transaction id ID #IMPLIED>
+<!ATTLIST description id ID #IMPLIED>
+<!ATTLIST destination-type id ID #IMPLIED>
+<!ATTLIST display-name id ID #IMPLIED>
+<!ATTLIST ejb-class id ID #IMPLIED>
+<!ATTLIST ejb-client-jar id ID #IMPLIED>
+<!ATTLIST ejb-jar id ID #IMPLIED>
+<!ATTLIST ejb-link id ID #IMPLIED>
+<!ATTLIST ejb-local-ref id ID #IMPLIED>
+<!ATTLIST ejb-name id ID #IMPLIED>
+<!ATTLIST ejb-ql id ID #IMPLIED>
+<!ATTLIST ejb-ref id ID #IMPLIED>
+<!ATTLIST ejb-ref-name id ID #IMPLIED>
+<!ATTLIST ejb-ref-type id ID #IMPLIED>
+<!ATTLIST ejb-relation id ID #IMPLIED>
+<!ATTLIST ejb-relation-name id ID #IMPLIED>
+<!ATTLIST ejb-relationship-role id ID #IMPLIED>
+<!ATTLIST ejb-relationship-role-name id ID #IMPLIED>
+<!ATTLIST enterprise-beans id ID #IMPLIED>
+<!ATTLIST entity id ID #IMPLIED>
+<!ATTLIST env-entry id ID #IMPLIED>
+<!ATTLIST env-entry-name id ID #IMPLIED>
+<!ATTLIST env-entry-type id ID #IMPLIED>
+<!ATTLIST env-entry-value id ID #IMPLIED>
+<!ATTLIST exclude-list id ID #IMPLIED>
+<!ATTLIST field-name id ID #IMPLIED>
+<!ATTLIST home id ID #IMPLIED>
+<!ATTLIST large-icon id ID #IMPLIED>
+<!ATTLIST local id ID #IMPLIED>
+<!ATTLIST local-home id ID #IMPLIED>
+<!ATTLIST message-driven id ID #IMPLIED>
+<!ATTLIST message-driven-destination id ID #IMPLIED>
+<!ATTLIST message-selector id ID #IMPLIED>
+<!ATTLIST method id ID #IMPLIED>
+<!ATTLIST method-intf id ID #IMPLIED>
+<!ATTLIST method-name id ID #IMPLIED>
+<!ATTLIST method-param id ID #IMPLIED>
+<!ATTLIST method-params id ID #IMPLIED>
+<!ATTLIST method-permission id ID #IMPLIED>
+<!ATTLIST multiplicity id ID #IMPLIED>
+<!ATTLIST persistence-type id ID #IMPLIED>
+<!ATTLIST prim-key-class id ID #IMPLIED>
+<!ATTLIST primkey-field id ID #IMPLIED>
+<!ATTLIST query id ID #IMPLIED>
+<!ATTLIST query-method id ID #IMPLIED>
+<!ATTLIST reentrant id ID #IMPLIED>
+<!ATTLIST relationship-role-source id ID #IMPLIED>
+<!ATTLIST relationships id ID #IMPLIED>
+<!ATTLIST remote id ID #IMPLIED>
+<!ATTLIST res-auth id ID #IMPLIED>
+<!ATTLIST res-ref-name id ID #IMPLIED>
+<!ATTLIST res-sharing-scope id ID #IMPLIED>
+<!ATTLIST res-type id ID #IMPLIED>
+<!ATTLIST resource-env-ref id ID #IMPLIED>
+<!ATTLIST resource-env-ref-name id ID #IMPLIED>
+<!ATTLIST resource-env-ref-type id ID #IMPLIED>
+<!ATTLIST resource-ref id ID #IMPLIED>
+<!ATTLIST result-type-mapping id ID #IMPLIED>
+<!ATTLIST role-link id ID #IMPLIED>
+<!ATTLIST role-name id ID #IMPLIED>
+<!ATTLIST run-as id ID #IMPLIED>
+<!ATTLIST security-identity id ID #IMPLIED>
+<!ATTLIST security-role id ID #IMPLIED>
+<!ATTLIST security-role-ref id ID #IMPLIED>
+<!ATTLIST session id ID #IMPLIED>
+<!ATTLIST session-type id ID #IMPLIED>
+<!ATTLIST small-icon id ID #IMPLIED>
+<!ATTLIST subscription-durability id ID #IMPLIED>
+<!ATTLIST trans-attribute id ID #IMPLIED>
+<!ATTLIST transaction-type id ID #IMPLIED>
+<!ATTLIST unchecked id ID #IMPLIED>
+<!ATTLIST use-caller-identity id ID #IMPLIED>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<!--
+This is the XML DTD for the JAWS deployment descriptor.
+-->
+
+<!ELEMENT jaws (datasource,type-mapping,enterprise-beans)>
+
+<!ELEMENT datasource (#PCDATA)>
+
+<!ELEMENT type-mapping (#PCDATA)>
+
+<!ELEMENT enterprise-beans (entity*)>
+
+<!ELEMENT entity (ejb-name,datasource?,cmp-field*,finder*)>
+
+<!ELEMENT ejb-name (#PCDATA)>
+
+<!ELEMENT datasource (#PCDATA)>
+
+<!ELEMENT finder (name,query,order?)>
+
+<!ELEMENT name (#PCDATA)>
+
+<!ELEMENT query (#PCDATA)>
+
+<!ELEMENT order (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws_2_4.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws_2_4.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws_2_4.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,122 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+This is the XML DTD for the JAWS deployment descriptor.
+  <!DOCTYPE jaws PUBLIC
+      "-//JBoss//DTD JAWS 2.4//EN"
+      "http://www.jboss.org/j2ee/dtd/jaws_2_4.dtd">
+-->
+<!-- The jaws element is always the root (document) node of the jaws.xml
+ deployment descriptor or the standardjaws.xml defaults document. All elements
+ are declared as optional - if not given in jaws.xml, defaults will be read 
+ from standardjaws.xml -->
+<!ELEMENT jaws (datasource? , type-mapping? , debug? , default-entity? , enterprise-beans? , type-mappings?)>
+
+<!-- the datasource element is used to indicate to JAWS which datasource
+ should be used for persistence of the CMP entities in this ejb-jar. It 
+ should be the datasource named as it appears in jboss' global naming 
+ context. The default is java:/DefaultDS 
+ 
+ Beans are also allowed to specify datasources at bean level and will override this datasource if specified.
+
+Used in: jaws, entity
+ -->
+<!ELEMENT datasource (#PCDATA)>
+
+<!-- the type-mapping element is used to indicate to JAWS which set of mappings
+ from java types to jdbc and SQL types to be used for CMP beans in this jar.
+ type-mappings are defined withing the type-mappings element with a type-mapping
+ element that carries a separate meaning: This DTD wil not parse! -->
+<!ELEMENT type-mapping (#PCDATA)>
+
+<!ELEMENT debug (#PCDATA)>
+
+<!ELEMENT default-entity (create-table , remove-table , tuned-updates , read-only , pk-constraint? , select-for-update? , time-out)>
+
+<!ELEMENT create-table (#PCDATA)>
+
+<!ELEMENT remove-table (#PCDATA)>
+
+<!ELEMENT tuned-updates (#PCDATA)>
+
+<!ELEMENT read-only (#PCDATA)>
+
+<!ELEMENT pk-constraint (#PCDATA)>
+
+<!ELEMENT select-for-update (#PCDATA)>
+
+<!ELEMENT time-out (#PCDATA)>
+
+<!-- the enterpris-beans tag contains overridden attribute mappings for any
+ CMP bean in this ejb-jar that requires non-default column mapping behavior -->
+<!ELEMENT enterprise-beans (entity*)>
+
+<!-- the entity element defines a non-default column mapping for a CMP entity
+ bean in this ejb-jar. This includes query specifications for any finders that
+ either do not correspond to a single cmp-field or that require a specific 
+ ordering. it must contain an ejb-name element, can contain 0 or more cmp-field
+ elements and my contain 0 or more finder elements. 
+ Other options include:
+ read-ahead: When a finder is called, load all data for all entities.
+ read-only: Do not persist any changes to the bean's state.
+ table-name: Name of the corresponding table.
+ tuned-updates: emit 'update' SQL statements that update only changed fields.
+ create-table: On deploy, create the table if it doesn't exist.
+ remove-table: On undeploy, drop the table from the database (with _all_ _data_!!! 
+ select-for-update: On loading the bean, use the 'select ... for update' syntax,
+      locking the row.
+ pk-constraint: If create-table is on, create it with a primary key.
+ time-out: For read-only only, re-load entity after time-out
+-->
+<!ELEMENT entity (ejb-name , datasource? , cmp-field* , finder* , read-ahead? , read-only? , table-name? , tuned-updates? , create-table? , remove-table? , select-for-update? , time-out? , pk-constraint?)>
+
+<!-- ejb-name within an entity element must contain the ejb-name as specified
+ in ejb-jar.xml. -->
+<!ELEMENT ejb-name (#PCDATA)>
+
+<!ELEMENT cmp-field (field-name , column-name , (jdbc-type , sql-type)?)>
+
+<!ELEMENT field-name (#PCDATA)>
+
+<!ELEMENT column-name (#PCDATA)>
+
+<!-- the finder element overrides JAWS default behavior for a finder, or
+ specifies JAWS behavior for finders requiring multi-column where clauses or
+ a specific ordering. it must contain name and query elements and my contain
+ 1 order element.
+ After JBoss version 2.3, it may contain a read-ahead element indicating whether
+ or not all data for the entities selected should be loaded immediatly. Note 
+ that JAWS/JBoss cannot guarentee serializable transactions with the read-ahead 
+ option!-->
+<!ELEMENT finder (name , query , order? , read-ahead?)>
+
+<!-- the name within a finder element must contain the name of the finder 
+ method from the bean's home interface -->
+<!ELEMENT name (#PCDATA)>
+
+<!-- the query element must contain the where clause that will select the 
+ proper rows to be returned by the finder. If this query begins with an
+ inner join clause, it may specify multiple tables. -->
+<!ELEMENT query (#PCDATA)>
+
+<!-- the order element should contain a SQL order by clause (without the 
+ initial 'order by' verb!) that should be used to order the results of the 
+ query for the finder -->
+<!ELEMENT order (#PCDATA)>
+
+<!ELEMENT read-ahead (#PCDATA)>
+
+<!ELEMENT table-name (#PCDATA)>
+
+<!ELEMENT type-mappings (type-mapping-definition*)>
+
+<!ELEMENT type-mapping-definition (name , mapping*)>
+
+<!ELEMENT mapping (java-type , jdbc-type , sql-type)>
+
+<!ELEMENT java-type (#PCDATA)>
+
+<!ELEMENT jdbc-type (#PCDATA)>
+
+<!ELEMENT sql-type (#PCDATA)>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws_3_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws_3_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jaws_3_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,121 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+This is the XML DTD for the JAWS deployment descriptor.
+  <!DOCTYPE jaws PUBLIC
+      "-//JBoss//DTD JAWS 3.0//EN"
+      "http://www.jboss.org/j2ee/dtd/jaws_3_0.dtd">
+-->
+<!-- The jaws element is always the root (document) node of the jaws.xml
+ deployment descriptor or the standardjaws.xml defaults document. All elements
+ are declared as optional - if not given in jaws.xml, defaults will be read 
+ from standardjaws.xml -->
+<!ELEMENT jaws (datasource? , type-mapping? , default-entity? , enterprise-beans? , type-mappings?)>
+
+<!-- the datasource element is used to indicate to JAWS which datasource
+ should be used for persistence of the CMP entities in this ejb-jar. It 
+ should be the datasource named as it appears in jboss' global naming 
+ context. The default is java:/DefaultDS 
+ 
+ Beans are also allowed to specify datasources at bean level and will override this datasource if specified.
+
+Used in: jaws, entity
+ -->
+<!ELEMENT datasource (#PCDATA)>
+
+<!-- the type-mapping element is used to indicate to JAWS which set of mappings
+ from java types to jdbc and SQL types to be used for CMP beans in this jar.
+ type-mappings are defined withing the type-mappings element with a type-mapping
+ element that carries a separate meaning: This DTD wil not parse! -->
+<!ELEMENT type-mapping (#PCDATA)>
+
+<!ELEMENT default-entity (create-table , remove-table , tuned-updates , read-only , pk-constraint? , row-locking? , time-out)>
+
+<!ELEMENT create-table (#PCDATA)>
+
+<!ELEMENT remove-table (#PCDATA)>
+
+<!ELEMENT tuned-updates (#PCDATA)>
+
+<!ELEMENT read-only (#PCDATA)>
+
+<!ELEMENT pk-constraint (#PCDATA)>
+
+<!ELEMENT row-locking (#PCDATA)>
+
+<!ELEMENT time-out (#PCDATA)>
+
+<!-- the enterpris-beans tag contains overridden attribute mappings for any
+ CMP bean in this ejb-jar that requires non-default column mapping behavior -->
+<!ELEMENT enterprise-beans (entity*)>
+
+<!-- the entity element defines a non-default column mapping for a CMP entity
+ bean in this ejb-jar. This includes query specifications for any finders that
+ either do not correspond to a single cmp-field or that require a specific 
+ ordering. it must contain an ejb-name element, can contain 0 or more cmp-field
+ elements and my contain 0 or more finder elements. 
+ Other options include:
+ read-ahead: When a finder is called, load all data for all entities.
+ read-only: Do not persist any changes to the bean's state.
+ table-name: Name of the corresponding table.
+ tuned-updates: emit 'update' SQL statements that update only changed fields.
+ create-table: On deploy, create the table if it doesn't exist.
+ remove-table: On undeploy, drop the table from the database (with _all_ _data_!!! 
+ row-locking: On loading the bean, row lock it
+ pk-constraint: If create-table is on, create it with a primary key.
+ time-out: For read-only only, re-load entity after time-out
+-->
+<!ELEMENT entity (ejb-name , datasource? , cmp-field* , finder* , read-ahead? , read-only? , table-name? , tuned-updates? , create-table? , remove-table? , row-locking? , time-out? , pk-constraint?)>
+
+<!-- ejb-name within an entity element must contain the ejb-name as specified
+ in ejb-jar.xml. -->
+<!ELEMENT ejb-name (#PCDATA)>
+
+<!ELEMENT cmp-field (field-name , column-name , (jdbc-type , sql-type)? , nullable?)>
+
+<!ELEMENT field-name (#PCDATA)>
+
+<!ELEMENT column-name (#PCDATA)>
+
+<!ELEMENT nullable (#PCDATA)>
+
+<!-- the finder element overrides JAWS default behavior for a finder, or
+ specifies JAWS behavior for finders requiring multi-column where clauses or
+ a specific ordering. it must contain name and query elements and my contain
+ 1 order element.
+ After JBoss version 2.3, it may contain a read-ahead element indicating whether
+ or not all data for the entities selected should be loaded immediatly. Note 
+ that JAWS/JBoss cannot guarentee serializable transactions with the read-ahead 
+ option!-->
+<!ELEMENT finder (name , query , order? , read-ahead?)>
+
+<!-- the name within a finder element must contain the name of the finder 
+ method from the bean's home interface -->
+<!ELEMENT name (#PCDATA)>
+
+<!-- the query element must contain the where clause that will select the 
+ proper rows to be returned by the finder. If this query begins with an
+ inner join clause, it may specify multiple tables. -->
+<!ELEMENT query (#PCDATA)>
+
+<!-- the order element should contain a SQL order by clause (without the 
+ initial 'order by' verb!) that should be used to order the results of the 
+ query for the finder -->
+<!ELEMENT order (#PCDATA)>
+
+<!ELEMENT read-ahead (#PCDATA)>
+
+<!ELEMENT table-name (#PCDATA)>
+
+<!ELEMENT type-mappings (type-mapping-definition*)>
+
+<!ELEMENT type-mapping-definition (name , mapping*)>
+
+<!ELEMENT mapping (java-type , jdbc-type , sql-type)>
+
+<!ELEMENT java-type (#PCDATA)>
+
+<!ELEMENT jdbc-type (#PCDATA)>
+
+<!ELEMENT sql-type (#PCDATA)>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_3_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_3_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_3_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss specific elements for ears.
+$Id: jboss-app_3_0.dtd 20476 2004-04-17 13:29:24Z tdiesler $
+
+DOCTYPE jboss-app
+    PUBLIC "-//JBoss//DTD J2EE Application 1.3//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-app_3_0.dtd"
+-->
+
+<!-- The jboss-app element is the root element.
+-->
+<!ELEMENT jboss-app (loader-repository?, module*)>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string.
+
+   Example:
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+-->
+<!ELEMENT loader-repository (#PCDATA)>
+<!-- The loaderRepositoryClass attribute gives the classname loader-repository
+implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA #IMPLIED>
+
+<!-- The module element is used to specify a jboss specific module archive.
+-->
+<!ELEMENT module (service)>
+
+<!-- The service element specifies a service archive (SAR) to deploy.
+
+Example:
+   <module>
+      <service>external.sar</service>
+   </module>
+-->
+<!ELEMENT service (#PCDATA)>
+
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_3_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_3_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_3_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,76 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss 3.2.x specific elements for ears.
+$Id: jboss-app_3_2.dtd 22964 2004-08-14 00:35:40Z starksm $
+
+DOCTYPE jboss-app
+    PUBLIC "-//JBoss//DTD J2EE Application 1.3V2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-app_3_2.dtd"
+-->
+
+<!-- The jboss-app element is the root element.
+-->
+<!ELEMENT jboss-app (loader-repository?, jmx-name?, module*)>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA #IMPLIED>
+
+<!-- The jmx-name element allows one to specify the JMX ObjectName to use
+for the MBean associated with the ejb-jar module. This must be a unique
+name and valid JMX ObjectName string.
+
+  Used in: jboss-app
+-->
+<!ELEMENT jmx-name (#PCDATA)>
+
+<!-- The module element is used to specify a jboss specific module archive.
+-->
+<!ELEMENT module (service | har)>
+
+<!-- The service element specifies a service archive (SAR) to deploy.
+
+Example:
+   <module>
+      <service>external.sar</service>
+   </module>
+-->
+<!ELEMENT service (#PCDATA)>
+
+<!-- The har element specifies a Hibernate archive (HAR) to deploy.
+
+Example:
+   <module>
+      <har>myapp.har</har>
+   </module>
+-->
+<!ELEMENT har (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_4_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_4_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_4_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,145 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss 4.x specific elements for ears.
+$Id: jboss-app_4_0.dtd 56293 2006-08-26 12:42:15Z vicky.kak at jboss.com $
+
+DOCTYPE jboss-app
+    PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd"
+-->
+
+<!-- The jboss-app element is the root element.
+-->
+<!ELEMENT jboss-app (module-order?,security-domain?, unauthenticated-principal?,
+ loader-repository?, jmx-name?, module*, security-role*)>
+
+<!--
+ The value of the module-order could be implicit or strict
+ <module-order>strict</module-order>
+ 	or 
+ <module-order>implicit</module-order>
+ The strict value indicates that the deployments of the modules will 
+ be done in the order that would be specified in the application.xml 
+ and jboss-app.xml file . 
+ The implicit value indicates the deployment would follow the order 
+ which would be specified in the DeploymentSorter.
+ The default order will be implicit to support backward compatibility
+--> 
+<!ELEMENT module-order (#PCDATA)>
+
+<!--
+  The security-domain element specifies the JNDI name of the security
+  manager that implements the EJBSecurityManager and RealmMapping for
+  the domain. When specified at the jboss level it specifies the security
+  domain for all j2ee components in the deployment unit.
+  One can override the global security-domain at the container
+  level using the security-domain element at the container-configuration
+  level.
+
+  Used in: jboss-app
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!--
+  The unauthenticated-principal element specifies the name of the principal
+  that will be returned by the EJBContext.getCallerPrincipal() method if there
+  is no authenticated user. This Principal has no roles or privaledges to call
+  any other beans.
+-->
+<!ELEMENT unauthenticated-principal (#PCDATA)>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA #IMPLIED>
+
+<!-- The jmx-name element allows one to specify the JMX ObjectName to use
+for the MBean associated with the ejb-jar module. This must be a unique
+name and valid JMX ObjectName string.
+
+   Used in: jboss-app
+-->
+<!ELEMENT jmx-name (#PCDATA)>
+
+<!-- The module element is used to specify a jboss specific module archive.
+-->
+<!ELEMENT module (service | har)>
+<!-- Allow the module to have a unique id -->
+<!ATTLIST module id ID #IMPLIED>
+
+<!-- The service element specifies a service archive (SAR) to deploy.
+
+Example:
+   <module>
+      <service>external.sar</service>
+   </module>
+-->
+<!ELEMENT service (#PCDATA)>
+
+<!-- The har element specifies a Hibernate archive (HAR) to deploy.
+
+Example:
+   <module>
+      <har>myapp.har</har>
+   </module>
+-->
+<!ELEMENT har (#PCDATA)>
+
+<!--
+  The security-role element contains the definition of a security role.
+  The definition consists of an the security role name and principal name element(s).
+
+Used in: jboss-app
+
+Example:
+		<security-role>
+      <role-name>Manager</role-name>
+      <principal-name>j2ee</principal-name>
+      <principal-name>javajoe</principal-name>
+		</security-role>
+-->
+<!ELEMENT security-role (role-name, principal-name+)>
+
+<!--
+  The role-name element is the name of the role.
+
+  Used in: security-role
+-->
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+  The principal-name element is the name of the principal that is mapped
+  to the assembly role-name.
+
+  Used in: security-role
+-->
+<!ELEMENT principal-name (#PCDATA)>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_4_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_4_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-app_4_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,188 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss 4.2.x specific elements for ears.
+$Id: jboss-app_4_0.dtd 56293 2006-08-26 12:42:15Z vicky.kak at jboss.com $
+
+DOCTYPE jboss-app
+    PUBLIC "-//JBoss//DTD J2EE Application 4.2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd"
+-->
+
+<!-- The jboss-app element is the root element.
+-->
+<!ELEMENT jboss-app (module-order?,security-domain?, unauthenticated-principal?,
+ loader-repository?, jmx-name?, library-directory?, module*, security-role*)>
+
+<!--
+ The value of the module-order could be implicit or strict
+ <module-order>strict</module-order>
+ 	or 
+ <module-order>implicit</module-order>
+ The strict value indicates that the deployments of the modules will 
+ be done in the order that would be specified in the application.xml 
+ and jboss-app.xml file . 
+ The implicit value indicates the deployment would follow the order 
+ which would be specified in the DeploymentSorter.
+ The default order will be implicit to support backward compatibility
+--> 
+<!ELEMENT module-order (#PCDATA)>
+
+<!--
+  The security-domain element specifies the JNDI name of the security
+  manager that implements the EJBSecurityManager and RealmMapping for
+  the domain. When specified at the jboss level it specifies the security
+  domain for all j2ee components in the deployment unit.
+  One can override the global security-domain at the container
+  level using the security-domain element at the container-configuration
+  level.
+
+  Used in: jboss-app
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!--
+  The unauthenticated-principal element specifies the name of the principal
+  that will be returned by the EJBContext.getCallerPrincipal() method if there
+  is no authenticated user. This Principal has no roles or privaledges to call
+  any other beans.
+-->
+<!ELEMENT unauthenticated-principal (#PCDATA)>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA #IMPLIED>
+
+<!-- The jmx-name element allows one to specify the JMX ObjectName to use
+for the MBean associated with the ejb-jar module. This must be a unique
+name and valid JMX ObjectName string.
+
+   Used in: jboss-app
+-->
+<!ELEMENT jmx-name (#PCDATA)>
+
+<!-- An .ear file may contain a directory that contains libraries packaged in JAR files.
+The library-directory element of the .ear files deployment descriptor contains the name
+of this directory. If a library-directory element is not specified,
+the directory named lib is used.
+
+An empty library-directory element may be used to specify that there is no library directory.
+
+All files in this directory (but not subdirectories) with a .jar extension must be made available
+to all components packaged in the EAR file, including application clients.
+
+   Used in: jboss-app
+-->
+<!ELEMENT library-directory (#PCDATA)>
+
+<!-- The module element is used to specify a jboss specific module archive.
+-->
+<!ELEMENT module (service | har | web)>
+
+<!-- Allow the module to have a unique id -->
+<!ATTLIST module id ID #IMPLIED>
+
+<!-- The service element specifies a service archive (SAR) to deploy.
+
+Example:
+   <module>
+      <service>external.sar</service>
+   </module>
+-->
+<!ELEMENT service (#PCDATA)>
+
+<!-- The har element specifies a Hibernate archive (HAR) to deploy.
+
+Example:
+   <module>
+      <har>myapp.har</har>
+   </module>
+-->
+<!ELEMENT har (#PCDATA)>
+
+<!-- The web element specifies a war
+
+Example:
+   <module>
+      <web>
+         <web-uri>myapp.war</web-uri>
+         <context-root>/myapp</context-root>
+      </web>
+   </module>
+-->
+<!ELEMENT web (web-uri, context-root)>
+
+<!--
+The web-uri element specifies the URI of a web application file,
+relative to the top level of the application package.
+
+Used in: web
+-->
+<!ELEMENT web-uri (#PCDATA)>
+
+<!-- The context-root element specifies the context root of a web
+application. This is normally specified at the ear level using the standard
+J2EE application.xml descriptor, but it may be given here for standalone wars.
+This should not override the application.xml level specification.
+Used in: web
+-->
+<!ELEMENT context-root (#PCDATA)>
+
+<!--
+  The security-role element contains the definition of a security role.
+  The definition consists of an the security role name and principal name element(s).
+
+Used in: jboss-app
+
+Example:
+		<security-role>
+      <role-name>Manager</role-name>
+      <principal-name>j2ee</principal-name>
+      <principal-name>javajoe</principal-name>
+		</security-role>
+-->
+<!ELEMENT security-role (role-name, principal-name+)>
+
+<!--
+  The role-name element is the name of the role.
+
+  Used in: security-role
+-->
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+  The principal-name element is the name of the principal that is mapped
+  to the assembly role-name.
+
+  Used in: security-role
+-->
+<!ELEMENT principal-name (#PCDATA)>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_3_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_3_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_3_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,105 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss specific elements used to deploy an application client.
+This version applies to the JBoss 3.2.x releases and the
+j2ee-1.3 application-client_1_3.dtd.
+
+$Id: jboss-client_3_2.dtd 20476 2004-04-17 13:29:24Z tdiesler $
+
+   <!DOCTYPE jboss-client PUBLIC
+       "-//JBoss//DTD Application Client 3.2//EN"
+       "http://www.jboss.org/j2ee/dtd/jboss-client_3_2.dtd">
+-->
+
+<!-- The jboss-client element is the root element.
+-->
+<!ELEMENT jboss-client (jndi-name, ejb-ref*, resource-ref*, resource-env-ref*)>
+
+<!-- The required jndi-name element specifies the JNDI name of a deployed
+object. It is used in two different contexts:
+
+1. In jboss-client to specify the location in JNDI on the server side which
+contains the ObjectFactory which handles the java:comp/env enterprise naming
+context (ENC) on the client. The application client code maps its ENC to the
+approriate client jar deployment jboss-client/jndi-name value by specifying this
+location via the j2ee.clientName IntialContext environment property, or as a
+system property. The prototype code for creating the client side InitialContext
+is:
+
+      Properties env = new Properties();
+      env.setProperty(Context.INITIAL_CONTEXT_FACTORY,
+         "org.jnp.interfaces.NamingContextFactory");
+      env.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming.client");
+      env.setProperty(Context.PROVIDER_URL, "jnp://somehost:1099");
+      env.setProperty("j2ee.clientName", "test-client");
+      InitialContext ctx = new InitialContext(env);
+      Context enc = (Context) ctx.lookup("java:comp/env");
+
+2. In resource-ref, resource-env-ref, ejb-ref to specify the the actual server
+side binding location of the target the client ENC binding will link to via a
+JNDI LinkRef.
+
+Used in: jboss-client, resource-ref, resource-env-ref, ejb-ref
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!-- The ejb-ref element maps from the servlet ENC relative name
+of the ejb reference to the deployment environment JNDI name of
+the bean.
+Example:
+    <ejb-ref>
+        <ejb-ref-name>ejb/Bean0</ejb-ref-name>
+        <jndi-name>deployed/ejbs/Bean0</jndi-name>
+    </ejb-ref>
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!-- The ejb-ref-name element gives the ENC relative name used
+in the client code.
+
+Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--The resource-ref element maps from the client ENC relative name
+of the resource-ref to the deployment environment JNDI name of
+the resource manager connection factory.
+Example:
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <jndi-name>java:/DefaultDS</jndi-name>
+    </resource-ref>
+
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <res-url>http://x.y.z</res-url>
+    </resource-ref>
+-->
+<!ELEMENT resource-ref (res-ref-name , (jndi-name | res-url))>
+
+<!-- The res-ref-name specifies the name of the application-client.xml
+res-ref-name element to which this mapping applies.
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--The resource-env-ref element maps from the servlet ENC relative name
+of the resource-env-ref to the deployment environment JNDI name of
+the administered object resource.
+Example:
+    <resource-env-ref>
+        <resource-env-ref-name>jms/NewsTopic</resource-env-ref-name>
+        <jndi-name>topic/NewsTopic</jndi-name>
+    </resource-env-ref>
+-->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!-- The resource-env-ref-name specifies the name of the application-client.xml
+resource-env-ref-name element to which this mapping applies.
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!-- The res-url element value is a URL string.
+
+   Used in: resource-ref
+-->
+<!ELEMENT res-url (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_4_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_4_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_4_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,128 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss specific elements used to deploy an application client.
+This version applies to the JBoss 4.x releases and the
+j2ee-1.4 application-client_1_4.xsd.
+
+$Id: jboss-client_4_0.dtd 61966 2007-04-01 17:05:37Z dimitris at jboss.org $
+
+   <!DOCTYPE jboss-client PUBLIC
+       "-//JBoss//DTD Application Client 4.0//EN"
+       "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+-->
+
+<!ENTITY % service-ref PUBLIC
+   "-//JBoss//DTD Web Service Reference 4.0//EN"
+   "http://www.jboss.org/j2ee/dtd/service-ref_4_0.dtd">
+  
+%service-ref;
+
+
+<!-- The jboss-client element is the root element.
+-->
+<!ELEMENT jboss-client (jndi-name, ejb-ref*, service-ref*, resource-ref*,
+ resource-env-ref*)>
+
+<!-- The required jndi-name element specifies the JNDI name of a deployed
+object. It is used in two different contexts:
+
+1. In jboss-client to specify the location in JNDI on the server side which
+contains the ObjectFactory which handles the java:comp/env enterprise naming
+context (ENC) on the client. The application client code maps its ENC to the
+approriate client jar deployment jboss-client/jndi-name value by specifying this
+location via the j2ee.clientName IntialContext environment property, or as a
+system property. The prototype code for creating the client side InitialContext
+is:
+
+      Properties env = new Properties();
+      env.setProperty(Context.INITIAL_CONTEXT_FACTORY,
+         "org.jnp.interfaces.NamingContextFactory");
+      env.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming.client");
+      env.setProperty(Context.PROVIDER_URL, "jnp://somehost:1099");
+      env.setProperty("j2ee.clientName", "test-client");
+      InitialContext ctx = new InitialContext(env);
+      Context enc = (Context) ctx.lookup("java:comp/env");
+
+2. In resource-ref, resource-env-ref, ejb-ref to specify the the actual server
+side binding location of the target the client ENC binding will link to via a
+JNDI LinkRef.
+
+Used in: jboss-client, resource-ref, resource-env-ref, ejb-ref
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!-- The ejb-ref element maps from the servlet ENC relative name
+of the ejb reference to the deployment environment JNDI name of
+the bean.
+Example:
+    <ejb-ref>
+        <ejb-ref-name>ejb/Bean0</ejb-ref-name>
+        <jndi-name>deployed/ejbs/Bean0</jndi-name>
+    </ejb-ref>
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!-- The ejb-ref-name element gives the ENC relative name used
+in the client code.
+
+Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--The resource-ref element maps from the client ENC relative name
+of the resource-ref to the deployment environment JNDI name of
+the resource manager connection factory.
+Example:
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <jndi-name>java:/DefaultDS</jndi-name>
+    </resource-ref>
+
+    <resource-ref>
+        <res-ref-name>url/XYZHome</res-ref-name>
+        <res-url>http://x.y.z</res-url>
+    </resource-ref>
+-->
+<!ELEMENT resource-ref (res-ref-name , (jndi-name | res-url))>
+
+<!-- The res-ref-name specifies the name of the application-client.xml
+res-ref-name element to which this mapping applies.
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--The resource-env-ref element maps from the servlet ENC relative name
+of the resource-env-ref to the deployment environment JNDI name of
+the administered object resource.
+Example:
+    <resource-env-ref>
+        <resource-env-ref-name>jms/NewsTopic</resource-env-ref-name>
+        <jndi-name>topic/NewsTopic</jndi-name>
+    </resource-env-ref>
+-->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!-- The resource-env-ref-name specifies the name of the application-client.xml
+resource-env-ref-name element to which this mapping applies.
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!-- The res-url element value is a URL string for a resource-ref of
+res-type = java.net.URL. Using a res-url creates a binding of the URL
+instance under the java:comp/env. If you want to link to another binding
+of a URL, you can use the jndi-name to do so.
+
+// Binds the URL(http://x.y.z) under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>http://x.y.z</res-url>
+</resource-ref>
+// Binds a link to urls/XYZHomePage under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>urls/XYZHomePage</res-url>
+</resource-ref>
+
+   Used in: resource-ref
+-->
+<!ELEMENT res-url (#PCDATA)>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_4_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_4_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-client_4_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,128 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss specific elements used to deploy an application client.
+This version applies to the JBoss 4.2 releases and the
+j2ee-1.4 application-client_1_4.xsd.
+
+$Id: jboss-client_4_0.dtd 60135 2007-01-31 13:17:30Z thomas.diesler at jboss.com $
+
+   <!DOCTYPE jboss-client PUBLIC
+       "-//JBoss//DTD Application Client 4.2//EN"
+       "http://www.jboss.org/j2ee/dtd/jboss-client_4_2.dtd">
+-->
+
+<!ENTITY % service-ref PUBLIC
+   "-//JBoss//DTD Web Service Reference 4.2//EN"
+   "http://www.jboss.org/j2ee/dtd/service-ref_4_2.dtd">
+  
+%service-ref;
+
+
+<!-- The jboss-client element is the root element.
+-->
+<!ELEMENT jboss-client (jndi-name, ejb-ref*, service-ref*, resource-ref*,
+ resource-env-ref*)>
+
+<!-- The required jndi-name element specifies the JNDI name of a deployed
+object. It is used in two different contexts:
+
+1. In jboss-client to specify the location in JNDI on the server side which
+contains the ObjectFactory which handles the java:comp/env enterprise naming
+context (ENC) on the client. The application client code maps its ENC to the
+approriate client jar deployment jboss-client/jndi-name value by specifying this
+location via the j2ee.clientName IntialContext environment property, or as a
+system property. The prototype code for creating the client side InitialContext
+is:
+
+      Properties env = new Properties();
+      env.setProperty(Context.INITIAL_CONTEXT_FACTORY,
+         "org.jnp.interfaces.NamingContextFactory");
+      env.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming.client");
+      env.setProperty(Context.PROVIDER_URL, "jnp://somehost:1099");
+      env.setProperty("j2ee.clientName", "test-client");
+      InitialContext ctx = new InitialContext(env);
+      Context enc = (Context) ctx.lookup("java:comp/env");
+
+2. In resource-ref, resource-env-ref, ejb-ref to specify the the actual server
+side binding location of the target the client ENC binding will link to via a
+JNDI LinkRef.
+
+Used in: jboss-client, resource-ref, resource-env-ref, ejb-ref
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!-- The ejb-ref element maps from the servlet ENC relative name
+of the ejb reference to the deployment environment JNDI name of
+the bean.
+Example:
+    <ejb-ref>
+        <ejb-ref-name>ejb/Bean0</ejb-ref-name>
+        <jndi-name>deployed/ejbs/Bean0</jndi-name>
+    </ejb-ref>
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!-- The ejb-ref-name element gives the ENC relative name used
+in the client code.
+
+Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--The resource-ref element maps from the client ENC relative name
+of the resource-ref to the deployment environment JNDI name of
+the resource manager connection factory.
+Example:
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <jndi-name>java:/DefaultDS</jndi-name>
+    </resource-ref>
+
+    <resource-ref>
+        <res-ref-name>url/XYZHome</res-ref-name>
+        <res-url>http://x.y.z</res-url>
+    </resource-ref>
+-->
+<!ELEMENT resource-ref (res-ref-name , (jndi-name | res-url))>
+
+<!-- The res-ref-name specifies the name of the application-client.xml
+res-ref-name element to which this mapping applies.
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--The resource-env-ref element maps from the servlet ENC relative name
+of the resource-env-ref to the deployment environment JNDI name of
+the administered object resource.
+Example:
+    <resource-env-ref>
+        <resource-env-ref-name>jms/NewsTopic</resource-env-ref-name>
+        <jndi-name>topic/NewsTopic</jndi-name>
+    </resource-env-ref>
+-->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!-- The resource-env-ref-name specifies the name of the application-client.xml
+resource-env-ref-name element to which this mapping applies.
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!-- The res-url element value is a URL string for a resource-ref of
+res-type = java.net.URL. Using a res-url creates a binding of the URL
+instance under the java:comp/env. If you want to link to another binding
+of a URL, you can use the jndi-name to do so.
+
+// Binds the URL(http://x.y.z) under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>http://x.y.z</res-url>
+</resource-ref>
+// Binds a link to urls/XYZHomePage under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>urls/XYZHomePage</res-url>
+</resource-ref>
+
+   Used in: resource-ref
+-->
+<!ELEMENT res-url (#PCDATA)>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-ds_1_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-ds_1_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-ds_1_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,345 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- dtd for jboss 3.2/jca 1.0 datasource configurations (*-ds.xml), transformed
+by ConnectionFactoryTemplate.xsl
+
+DOCTYPE datasources
+    PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.0//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-ds_1_0.dtd"
+
+DOCTYPE connection-factories
+    PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.0//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-ds_1_0.dtd"
+
+$Id: jboss-ds_1_0.dtd 23958 2004-09-21 21:09:11Z starksm $
+-->
+
+<!--
+The datasources element is the root of the jdbc datasource configuration
+-->
+<!ELEMENT datasources (mbean | local-tx-datasource | xa-datasource | no-tx-datasource)*>
+
+<!-- Specify a jca-jdbc non-XADatasource (local) wrapper, using no transactions
+-->
+<!ELEMENT no-tx-datasource (jndi-name , connection-url , driver-class ,
+connection-property* , user-name? , password? ,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , idle-timeout-minutes? ,
+new-connection-sql, check-valid-connection-sql, valid-connection-checker-class-name,
+exception-sorter-class-name, track-statements, prepared-statement-cache-size , depends*)>
+
+<!-- Specify a jca-jdbc non-XADatasource (local) wrapper, using local
+transactions
+-->
+<!ELEMENT local-tx-datasource (jndi-name , connection-url , driver-class ,
+transaction-isolation? , connection-property* , user-name? , password? ,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , idle-timeout-minutes? ,
+no-tx-separate-pools? , new-connection-sql? , check-valid-connection-sql? ,
+valid-connection-checker-class-name? , exception-sorter-class-name? , track-statements? ,
+prepared-statement-cache-size? , set-tx-query-timeout , depends*)>
+
+<!-- Specify a jca-jdbc XADatasource wrapper
+-->
+<!ELEMENT xa-datasource (jndi-name , track-connection-by-tx , xa-datasource-class ,
+xa-datasource-property* , isSameRM-override-value? , transaction-isolation? , user-name? , password? ,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , idle-timeout-minutes? ,
+no-tx-separate-pools? , new-connection-sql? , check-valid-connection-sql? ,
+valid-connection-checker-class-name? , exception-sorter-class-name? , track-statements? ,
+prepared-statement-cache-size? , set-tx-query-timeout , depends*)>
+
+<!-- The JNDI name under which the DataSource wrapper will be bound. Note that
+this name is relative to the "java:/" prefix. The full JNDI name of the
+DataSource will be "java:/" + jndi-name. DataSource wrappers are bound under
+the "java:/" prefix since they are not usable outside of the server VM.
+Ex:
+<jndi-name>DefaultDS</jndi-name>
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!-- The JDBC driver connection URL string
+Ex:
+<connection-url>jdbc:hsqldb:hsql://localhost:1701</connection-url>
+-->
+<!ELEMENT connection-url (#PCDATA)>
+
+<!-- The fully qualifed name of the JDBC driver class
+   Ex:
+   <driver-class>org.hsqldb.jdbcDriver</driver-class>
+-->
+<!ELEMENT driver-class (#PCDATA)>
+
+<!-- Set java.sql.Connection transaction isolation level to use.
+The constants defined in the interface Connection are the possible transaction
+isolation levels and include:
+   TRANSACTION_READ_UNCOMMITTED
+   TRANSACTION_READ_COMMITTED
+   TRANSACTION_REPEATABLE_READ
+   TRANSACTION_SERIALIZABLE
+   TRANSACTION_NONE
+
+   Ex:
+   <transaction-isolation>TRANSACTION_SERIALIZABLE</transaction-isoation>
+-->
+<!ELEMENT transaction-isolation (#PCDATA)>
+
+<!-- Specify the default username used when creating a new connection.
+   Ex:
+   <user-name>sa</user-name>
+-->
+<!ELEMENT user-name (#PCDATA)>
+
+<!-- Specify the default password used when creating a new connection.
+   Ex:
+   <password>sa-pass</password>
+-->
+<!ELEMENT password (#PCDATA)>
+
+<!-- Indicates that app supplied parameters (such as from getConnection(user, pw))
+are used to distinguish connections in the pool.
+   Ex:
+   <application-managed-security/>
+-->
+<!ELEMENT application-managed-security EMPTY>
+
+<!-- Indicates Subject (from security domain) are used to distinguish connections in the pool. 
+The content of the security-domain is the name of the JAAS security manager that will handle
+authentication. This name correlates to the JAAS login-config.xml descriptor
+application-policy/name attribute.
+
+   Ex:
+   <security-domain>HsqlDbRealm</security-domain>
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!-- Indicates that either app supplied parameters (such as from
+getConnection(user, pw)) or Subject (from security domain) are used to
+distinguish connections in the pool. The content of the
+security-domain is the name of the JAAS security manager that will handle
+authentication. This name correlates to the JAAS login-config.xml descriptor
+application-policy/name attribute.
+
+   Ex:
+   <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
+-->
+<!ELEMENT security-domain-and-application (#PCDATA)>
+
+<!-- Whether to use separete pools for connection retrieved in a transaction
+     and those retieved outside a transaction
+     e.g.
+      <no-tx-separate-pools/>
+-->
+<!ELEMENT no-tx-separate-pools EMPTY>
+
+<!-- The min-pool-size element indicates the minimum number of connections a
+pool should hold. These are not created until a Subject is known from a
+request for a connection. This default to 0.
+
+   Ex:
+   <min-pool-size>1</min-pool-size>
+-->
+<!ELEMENT min-pool-size (#PCDATA)>
+
+<!-- The max-pool-size element indicates the maximum number of connections for a
+pool. No more than MaxSize connections will be created in each sub-pool. This
+defaults to 20.
+-->
+<!ELEMENT max-pool-size (#PCDATA)>
+
+<!-- The blocking-timeout-millis element indicates the maximum time in
+milliseconds to block while waiting for a connection before throwing an
+exception. Note that this blocks only while waiting for a permit for a
+connection, and will never throw an exception if creating a new connection
+takes an inordinately long time. The default is 30000 (30 seconds).
+-->
+<!ELEMENT blocking-timeout-millis (#PCDATA)>
+
+<!-- The idle-timeout-minutes elements indicates the maximum time in
+minutes a connection may be idle before being closed.  The actual maximum time
+depends also on the IdleRemover scan time, which is 1/2 the smallest
+idle-timeout-minutes of any pool.
+-->
+<!ELEMENT idle-timeout-minutes (#PCDATA)>
+
+<!-- An element to specify that all intermediate end(suspend) and
+start(resume) calls.  Also, all work on one tx will go through one
+connection.
+A side effect of this (currently at least) is that a connection will only
+be usable by one tx until the tx commits.
+   Ex:
+   <track-connection-by-tx/>
+-->
+<!ELEMENT track-connection-by-tx EMPTY>
+
+<!-- The fully qualifed name of the javax.sql.XADataSource implementation class.
+   Ex:
+   <xa-datasource-class>com.informix.jdbcx.IfxXADataSource</xa-datasource-class>
+-->
+<!ELEMENT xa-datasource-class (#PCDATA)>
+
+<!-- Specify a property to assign to the XADataSource implementation class.
+Each property is identified by the name attribute and the property value is
+given by the xa-datasource-property element content. The property is mapped
+onto the XADataSource implementation by looking for a JavaBeans style
+getter method for the property name. If found, the value of the property is
+set using the JavaBeans setter with the element text translated to the true
+property type using the java.beans.PropertyEditor for the type.
+
+   Ex:
+    <xa-datasource-property name="IfxWAITTIME">10</xa-datasource-property>
+    <xa-datasource-property name="IfxIFXHOST">myhost.mydomain.com</xa-datasource-property>
+    <xa-datasource-property name="PortNumber">1557</xa-datasource-property>
+    <xa-datasource-property name="DatabaseName">mydb</xa-datasource-property>
+    <xa-datasource-property name="ServerName">myserver</xa-datasource-property>
+-->
+<!ELEMENT xa-datasource-property (#PCDATA)>
+
+<!-- The xa-datasource-property name attribute specifies the name of the
+XADataSource attribute the xa-datasource-property element content provides
+the value of.
+-->
+<!ATTLIST xa-datasource-property name CDATA  #REQUIRED>
+
+<!-- The isSameRM-override-value element allows one to unconditionally set
+whether the javax.transaction.xa.XAResource.isSameRM(XAResource) returns
+true or false.
+
+Ex:
+<isSameRM-override-value>true</isSameRM-override-value>
+-->
+<!ELEMENT isSameRM-override-value (#PCDATA)>
+
+<!-- The connection-property element allows you to pass in arbitrary connection
+properties to the Driver.connect(url, props) method. Each connection-property
+specifies a string name/value pair with the property name coming from the
+name attribute and the value coming from the element content.
+
+   Ex:
+   <connection-property name="char.encoding">UTF-8</connection-property>
+<-->
+<!ELEMENT connection-property (#PCDATA)>
+
+<!-- The connection-property name attribute gives the name of the connection
+property.
+-->
+<!ATTLIST connection-property name CDATA  #REQUIRED>
+
+<!-- Specify an SQL statement to execute whenever a connection is added to
+the connection pool.
+-->
+<!ELEMENT new-connection-sql (#PCDATA)>
+
+<!-- Specify an SQL statement to check validity of a pool connection. This
+may be called when managed connection is taken from pool for use.
+-->
+<!ELEMENT check-valid-connection-sql (#PCDATA)>
+
+<!-- An org.jboss.resource.adapter.jdbc.ValidConnectionChecker that provides
+a SQLException isValidConnection(Connection e) method to validate is a connection
+is valid. An exception means the connection is destroyed.
+This overrides the check-valid-connection-sql when present.
+
+Ex:
+<exception-sorter-class-name>
+   org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker
+</exception-sorter-class-name>
+-->
+<!ELEMENT valid-connection-checker-class-name (#PCDATA)>
+
+<!-- An org.jboss.resource.adapter.jdbc.ExceptionSorter that provides
+a boolean isExceptionFatal(SQLException e) method to validate is an exception
+should be broadcast to all javax.resource.spi.ConnectionEventListener as
+a connectionErrorOccurred message.
+
+Ex:
+<exception-sorter-class-name>
+   org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
+</exception-sorter-class-name>
+<exception-sorter-class-name>
+   org.jboss.resource.adapter.jdbc.vendor.SybaseExceptionSorter
+</exception-sorter-class-name>
+-->
+<!ELEMENT exception-sorter-class-name (#PCDATA)>
+
+<!-- Whether to check for unclosed statements when a
+     connection is returned to the pool and result sets are
+     closed when a statement is closed/return to the prepared
+     statement cache.
+     valid values are:
+     false - do not track statements and results
+     true - track statements and result sets and warn when they are not closed
+     nowarn - track statements but do no warn about them being unclosed (the default)
+     e.g.
+     <track-statements>nowarn</track-statements>
+-->
+<!ELEMENT track-statements (#PCDATA)>
+
+<!-- The number of prepared statements per connection in an LRU cache
+-->
+<!ELEMENT prepared-statement-cache-size (#PCDATA)>
+
+<!-- Whether to set the query timeout based upon the time left until the transaction timeout
+     e.g.
+     <set-tx-query-timeout/>
+-->
+<!ELEMENT set-tx-query-timeout EMPTY>
+
+<!-- The depends element specifies the JMX ObjectName string of a service
+that the connection manager services depend on.
+
+   Ex:
+   <depends>jboss:service=Hypersonic</depends>
+-->
+<!ELEMENT depends (#PCDATA)>
+
+<!-- The connection-factories element is the root of the generic jca adaptor section
+-->
+<!ELEMENT connection-factories (mbean | tx-connection-factory | no-tx-connection-factory)*>
+
+<!ELEMENT mbean ANY>
+
+<!-- The tx-connection-factory element is used to configure generic resource
+adapters supporting transactions
+-->
+<!ELEMENT tx-connection-factory (jndi-name , (local-transaction | xa-transaction) ,
+track-connection-by-tx? , adapter-display-name? , config-property* ,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , idle-timeout-minutes? ,
+no-tx-separate-pools? , depends*)>
+
+<!-- The no-tx-connection-factory element is used to configure generic resource
+adapters that do not support transactions
+-->
+<!ELEMENT no-tx-connection-factory (jndi-name , adapter-display-name? , config-property* ,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , idle-timeout-minutes? , depends*)>
+
+<!-- The display name to associate with the connection manager mbean.
+-->
+<!ELEMENT adapter-display-name (#PCDATA)>
+
+<!-- The xa-transaction element is used to mark that the tx-connection-factory
+supports XA transactions.
+-->
+<!ELEMENT xa-transaction EMPTY>
+
+<!-- The local-transaction element is used to mark that the tx-connection-factory
+supports local transactions.
+-->
+<!ELEMENT local-transaction EMPTY>
+
+<!-- The config-property specifies a mannaged connection factory property.
+-->
+<!ELEMENT config-property (#PCDATA)>
+
+<!-- The config-property name attribute gives the name of the connection
+factory property.
+-->
+<!ATTLIST config-property name CDATA  #REQUIRED>
+
+<!-- The config-property type attribute gives the name of the connection
+factory property.
+-->
+<!ATTLIST config-property type CDATA  #REQUIRED>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-ds_1_5.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-ds_1_5.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-ds_1_5.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,457 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--dtd for jboss 4.0/jca 1.5 datasource configurations (*-ds.xml), transformed
+by ConnectionFactoryTemplate.xsl
+
+DOCTYPE datasources
+    PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd"
+
+DOCTYPE connection-factories
+    PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd"
+
+$Id: jboss-ds_1_5.dtd 63949 2007-07-10 17:03:32Z adrian at jboss.org $
+-->
+
+<!--
+The datasources element is the root of the jdbc datasource configuration
+-->
+<!ELEMENT datasources (mbean | local-tx-datasource | xa-datasource | no-tx-datasource |
+ ha-local-tx-datasource | ha-xa-datasource)*>
+
+<!-- Specify a jca-jdbc non-XADatasource (local) wrapper, using no transactions
+-->
+<!ELEMENT no-tx-datasource (jndi-name , use-java-context?, connection-url , driver-class ,
+connection-property* , user-name? , password? ,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , background-validation?, background-validation-minutes?,
+idle-timeout-minutes? , validate-on-match?, new-connection-sql?, check-valid-connection-sql?, valid-connection-checker-class-name?,
+exception-sorter-class-name?, track-statements?,  prefill?, use-fast-fail?,
+prepared-statement-cache-size?, share-prepared-statements? , set-tx-query-timeout?, query-timeout?,
+metadata?, type-mapping?, depends*)>
+
+<!-- Specify a jca-jdbc non-XADatasource (local) wrapper, using local
+transactions
+-->
+<!ELEMENT local-tx-datasource (jndi-name , use-java-context?, connection-url , driver-class ,
+transaction-isolation? , connection-property* , user-name? , password? ,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , background-validation?, background-validation-minutes?, 
+idle-timeout-minutes? , validate-on-match?, no-tx-separate-pools? , new-connection-sql? , check-valid-connection-sql? ,
+valid-connection-checker-class-name? , exception-sorter-class-name? , track-statements? , prefill?, use-fast-fail?,
+prepared-statement-cache-size?, share-prepared-statements? , set-tx-query-timeout?, query-timeout?,
+metadata?, type-mapping?, depends*)>
+
+<!-- Specify a jca-jdbc XADatasource wrapper
+-->
+<!ELEMENT xa-datasource (jndi-name , use-java-context?, track-connection-by-tx , xa-datasource-class ,
+xa-datasource-property* , isSameRM-override-value? , transaction-isolation? , user-name? , password? ,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , background-validation?, background-validation-minutes?, 
+idle-timeout-minutes? , validate-on-match?, no-tx-separate-pools? , xa-resource-timeout?, new-connection-sql? , check-valid-connection-sql? ,
+valid-connection-checker-class-name? , exception-sorter-class-name? , track-statements? , prefill?, use-fast-fail?,
+prepared-statement-cache-size?, share-prepared-statements? , set-tx-query-timeout?, query-timeout?,
+metadata?, type-mapping?, depends*)>
+
+<!-- The JNDI name under which the DataSource wrapper will be bound. Note that
+this name is relative to the "java:/" prefix unless use-java-context is false.
+Ex:
+<jndi-name>DefaultDS</jndi-name>
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!-- Setting this to false will bind the DataSource into global jndi
+Ex:
+<use-java-context>false</use-java-context>
+-->
+<!ELEMENT use-java-context (#PCDATA)>
+
+<!-- The JDBC driver connection URL string
+Ex:
+<connection-url>jdbc:hsqldb:hsql://localhost:1701</connection-url>
+-->
+<!ELEMENT connection-url (#PCDATA)>
+
+<!-- The fully qualifed name of the JDBC driver class
+   Ex:
+   <driver-class>org.hsqldb.jdbcDriver</driver-class>
+-->
+<!ELEMENT driver-class (#PCDATA)>
+
+<!-- Set java.sql.Connection transaction isolation level to use.
+The constants defined in the interface Connection are the possible transaction
+isolation levels and include:
+   TRANSACTION_READ_UNCOMMITTED
+   TRANSACTION_READ_COMMITTED
+   TRANSACTION_REPEATABLE_READ
+   TRANSACTION_SERIALIZABLE
+   TRANSACTION_NONE
+
+   Ex:
+   <transaction-isolation>TRANSACTION_SERIALIZABLE</transaction-isoation>
+-->
+<!ELEMENT transaction-isolation (#PCDATA)>
+
+<!-- Specify the default username used when creating a new connection.
+   Ex:
+   <user-name>sa</user-name>
+-->
+<!ELEMENT user-name (#PCDATA)>
+
+<!-- Specify the default password used when creating a new connection.
+   Ex:
+   <password>sa-pass</password>
+-->
+<!ELEMENT password (#PCDATA)>
+
+<!-- Indicates that app supplied parameters (such as from getConnection(user, pw))
+are used to distinguish connections in the pool.
+   Ex:
+   <application-managed-security/>
+-->
+<!ELEMENT application-managed-security EMPTY>
+
+<!-- Indicates Subject (from security domain) are used to distinguish connections in the pool. 
+The content of the security-domain is the name of the JAAS security manager that will handle
+authentication. This name correlates to the JAAS login-config.xml descriptor
+application-policy/name attribute.
+
+   Ex:
+   <security-domain>HsqlDbRealm</security-domain>
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!-- Indicates that either app supplied parameters (such as from
+getConnection(user, pw)) or Subject (from security domain) are used to
+distinguish connections in the pool. The content of the
+security-domain is the name of the JAAS security manager that will handle
+authentication. This name correlates to the JAAS login-config.xml descriptor
+application-policy/name attribute.
+
+   Ex:
+   <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
+-->
+<!ELEMENT security-domain-and-application (#PCDATA)>
+
+<!-- Whether to use separete pools for connection retrieved in a transaction
+     and those retieved outside a transaction
+e.g.
+     <no-tx-separate-pools/>
+-->
+<!ELEMENT no-tx-separate-pools EMPTY>
+
+<!-- The min-pool-size element indicates the minimum number of connections a
+pool should hold. These are not created until a Subject is known from a
+request for a connection. This default to 0.
+
+   Ex:
+   <min-pool-size>1</min-pool-size>
+-->
+<!ELEMENT min-pool-size (#PCDATA)>
+
+<!-- The max-pool-size element indicates the maximum number of connections for a
+pool. No more than MaxSize connections will be created in each sub-pool. This
+defaults to 20.
+-->
+<!ELEMENT max-pool-size (#PCDATA)>
+
+<!-- The blocking-timeout-millis element indicates the maximum time in
+milliseconds to block while waiting for a connection before throwing an
+exception. Note that this blocks only while waiting for a permit for a
+connection, and will never throw an exception if creating a new connection
+takes an inordinately long time. The default is 30000 (30 seconds).
+-->
+<!ELEMENT blocking-timeout-millis (#PCDATA)>
+
+<!-- The idle-timeout-minutes elements indicates the maximum time in
+minutes a connection may be idle before being closed.  The actual maximum time
+depends also on the IdleRemover scan time, which is 1/2 the smallest
+idle-timeout-minutes of any pool.
+-->
+<!ELEMENT idle-timeout-minutes (#PCDATA)>
+
+<!-- The validate-on-match element indicates whether or not connection level validation should be done when a connection factory attempts to
+match a managed connection for a given set. This is typically exclusive to the use of background validation -->
+
+<!ELEMENT validate-on-match (#PCDATA)>
+
+<!-- An element to specify that connections should be validated on a background thread versus being validated
+     prior to use-->
+<!ELEMENT background-validation (#PCDATA)>
+
+<!-- The background-validation-minutes element specifies the amount of time, in minutes, that background validation
+     will run. -->
+<!ELEMENT background-validation-minutes (#PCDATA)>
+
+<!-- An element to specify that all intermediate end(suspend) and
+start(resume) calls.  Also, all work on one tx will go through one
+connection.
+A side effect of this (currently at least) is that a connection will only
+be usable by one tx until the tx commits.
+   Ex:
+   <track-connection-by-tx/>
+-->
+<!ELEMENT track-connection-by-tx EMPTY>
+
+<!-- The fully qualifed name of the javax.sql.XADataSource implementation class.
+   Ex:
+   <xa-datasource-class>com.informix.jdbcx.IfxXADataSource</xa-datasource-class>
+-->
+<!ELEMENT xa-datasource-class (#PCDATA)>
+
+<!-- Specify a property to assign to the XADataSource implementation class.
+Each property is identified by the name attribute and the property value is
+given by the xa-datasource-property element content. The property is mapped
+onto the XADataSource implementation by looking for a JavaBeans style
+getter method for the property name. If found, the value of the property is
+set using the JavaBeans setter with the element text translated to the true
+property type using the java.beans.PropertyEditor for the type.
+
+   Ex:
+    <xa-datasource-property name="IfxWAITTIME">10</xa-datasource-property>
+    <xa-datasource-property name="IfxIFXHOST">myhost.mydomain.com</xa-datasource-property>
+    <xa-datasource-property name="PortNumber">1557</xa-datasource-property>
+    <xa-datasource-property name="DatabaseName">mydb</xa-datasource-property>
+    <xa-datasource-property name="ServerName">myserver</xa-datasource-property>
+-->
+<!ELEMENT xa-datasource-property (#PCDATA)>
+
+<!-- The xa-datasource-property name attribute specifies the name of the
+XADataSource attribute the xa-datasource-property element content provides
+the value of.
+-->
+<!ATTLIST xa-datasource-property name CDATA  #REQUIRED>
+
+<!-- The isSameRM-override-value element allows one to unconditionally set
+whether the javax.transaction.xa.XAResource.isSameRM(XAResource) returns
+true or false.
+
+Ex:
+<isSameRM-override-value>true</isSameRM-override-value>
+-->
+<!ELEMENT isSameRM-override-value (#PCDATA)>
+
+<!-- The connection-property element allows you to pass in arbitrary connection
+properties to the Driver.connect(url, props) method. Each connection-property
+specifies a string name/value pair with the property name coming from the
+name attribute and the value coming from the element content.
+
+   Ex:
+   <connection-property name="char.encoding">UTF-8</connection-property>
+-->
+<!ELEMENT connection-property (#PCDATA)>
+
+<!-- The connection-property name attribute gives the name of the connection
+property.
+-->
+<!ATTLIST connection-property name CDATA  #REQUIRED>
+
+<!-- Specify an SQL statement to execute whenever a connection is added to
+the connection pool.
+-->
+<!ELEMENT new-connection-sql (#PCDATA)>
+
+<!-- Specify an SQL statement to check validity of a pool connection. This
+may be called when managed connection is taken from pool for use.
+-->
+<!ELEMENT check-valid-connection-sql (#PCDATA)>
+
+<!-- An org.jboss.resource.adapter.jdbc.ValidConnectionChecker that provides
+a SQLException isValidConnection(Connection e) method to validate is a connection
+is valid. An exception means the connection is destroyed.
+This overrides the check-valid-connection-sql when present.
+
+Ex:
+<exception-sorter-class-name>
+   org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker
+</exception-sorter-class-name>
+-->
+<!ELEMENT valid-connection-checker-class-name (#PCDATA)>
+
+<!-- An org.jboss.resource.adapter.jdbc.ExceptionSorter that provides
+a boolean isExceptionFatal(SQLException e) method to validate is an exception
+should be broadcast to all javax.resource.spi.ConnectionEventListener as
+a connectionErrorOccurred message.
+
+Ex:
+<exception-sorter-class-name>
+   org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
+</exception-sorter-class-name>
+<exception-sorter-class-name>
+   org.jboss.resource.adapter.jdbc.vendor.SybaseExceptionSorter
+</exception-sorter-class-name>
+-->
+<!ELEMENT exception-sorter-class-name (#PCDATA)>
+
+<!-- Whether to check for unclosed statements when a
+     connection is returned to the pool and result sets are
+     closed when a statement is closed/return to the prepared
+     statement cache.
+     valid values are:
+     false - do not track statements and results
+     true - track statements and result sets and warn when they are not closed
+     nowarn - track statements but do no warn about them being unclosed (the default)
+     e.g.
+     <track-statements>nowarn</track-statements>
+-->
+<!ELEMENT track-statements EMPTY>
+
+<!-- Whether to attempt to prefill the connection pool. Empty element denotes a false value.
+   e.g.
+    <prefill>true</prefill>
+    -->
+<!ELEMENT  prefill (#PCDATA) >
+
+<!-- Whether fail a connection allocation on the first connection if it is invalid (true)
+     or keep trying until the pool is exhausted of all potential connections (false)
+     
+     default false.
+   e.g.
+    <use-fast-fail>true</use-fast-fail>
+    -->
+<!ELEMENT use-fast-fail (#PCDATA) >
+
+<!-- The number of prepared statements per connection in an LRU cache
+-->
+<!ELEMENT prepared-statement-cache-size (#PCDATA)>
+
+<!-- whether to share prepare statements, i.e. whether asking for same
+     statement twice without closing uses the same underlying prepared statement.
+
+     The default is false.
+     e.g.
+     <share-prepared-statements/>
+-->
+<!ELEMENT share-prepared-statements EMPTY>
+
+<!-- whether to set the query timeout based on the time remaining until transaction timeout,
+     any configured query timeout will be used if there is no transaction.
+
+     The default is false.
+     e.g.
+     <set-tx-query-timeout/>
+-->
+<!ELEMENT set-tx-query-timeout EMPTY>
+
+<!-- Any configured query timeout in seconds
+
+     The default is no timeout
+     e.g. 5 minutes
+     <query-timeout>300</query-timeout>
+-->
+<!ELEMENT query-timeout (#PCDATA)>
+
+<!-- The depends element specifies the JMX ObjectName string of a service
+that the connection manager services depend on.
+
+   Ex:
+   <depends>jboss:service=Hypersonic</depends>
+-->
+<!ELEMENT depends (#PCDATA)>
+
+<!-- The connection-factories element is the root of the generic jca adaptor section
+-->
+<!ELEMENT connection-factories (mbean | tx-connection-factory | no-tx-connection-factory)*>
+
+<!ELEMENT mbean ANY>
+
+<!-- The tx-connection-factory element is used to configure generic resource
+adapters supporting transactions
+-->
+<!ELEMENT tx-connection-factory (jndi-name , (local-transaction | xa-transaction) ,
+track-connection-by-tx? , rar-name?, connection-definition?, config-property* ,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , background-validation?, background-validation-minutes?,
+idle-timeout-minutes? ,
+no-tx-separate-pools?,  prefill?, use-fast-fail?, xa-resource-timeout?,
+metadata?, type-mapping?, depends*)>
+
+<!-- The no-tx-connection-factory element is used to configure generic resource
+adapters that do not support transactions
+-->
+<!ELEMENT no-tx-connection-factory (jndi-name , rar-name?, connection-definition? , config-property* ,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , background-validation?, background-validation-minutes?,
+idle-timeout-minutes? , prefill?, use-fast-fail?,
+metadata?, type-mapping?, depends*)>
+
+<!-- The rar deployment to associate with the connection manager mbean.
+e.g. jms-ra.rar or myapplication.ear#my.rar for nested rars
+-->
+<!ELEMENT rar-name (#PCDATA)>
+
+<!-- The connection definition inside the rar deployment uniquely identified by the
+connection factory interface, e.g. javax.sql.DataSource
+-->
+<!ELEMENT connection-definition (#PCDATA)>
+
+<!-- Passed to XAResource.setTransactionTimeout()
+
+     Default is zero which does not invoke the setter
+     e.g. 5 minutes
+     <xa-resource-timeout>300</xa-resource-timeout>
+-->
+<!ELEMENT xa-resource-timeout (#PCDATA)>
+
+<!-- The xa-transaction element is used to mark that the tx-connection-factory
+supports XA transactions.
+-->
+<!ELEMENT xa-transaction EMPTY>
+
+<!-- The local-transaction element is used to mark that the tx-connection-factory
+supports local transactions.
+-->
+<!ELEMENT local-transaction EMPTY>
+
+<!-- The config-property specifies a mannaged connection factory property.
+-->
+<!ELEMENT config-property (#PCDATA)>
+
+<!-- The config-property name attribute gives the name of the connection
+factory property.
+-->
+<!ATTLIST config-property name CDATA  #REQUIRED>
+
+<!-- The config-property type attribute gives the name of the connection
+factory property.
+-->
+<!ATTLIST config-property type CDATA  #REQUIRED>
+
+<!-- The type mapping from conf/standardjboss.xml -->
+<!ELEMENT type-mapping (#PCDATA)>
+
+<!-- For backwards compatibility use type-mapping -->
+<!ELEMENT metadata (type-mapping)>
+
+<!-- EXPERIMENTAL: this is a copy of local-tx-datasource + url-delimeter
+-->
+<!ELEMENT ha-local-tx-datasource (jndi-name, use-java-context?, connection-url, url-delimetir,
+driver-class, transaction-isolation? , connection-property* , user-name? , password?,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , idle-timeout-minutes? , background-validation?, background-validation-minutes?,
+no-tx-separate-pools? , new-connection-sql? , check-valid-connection-sql? , validate-on-match?, 
+valid-connection-checker-class-name? , exception-sorter-class-name? , track-statements? , prefill?, use-fast-fail?,
+prepared-statement-cache-size?, share-prepared-statements? , set-tx-query-timeout?, query-timeout?,
+metadata?, type-mapping?, depends*)>
+
+<!-- Specify a jca-jdbc XADatasource wrapper
+-->
+<!ELEMENT ha-xa-datasource (jndi-name , use-java-context?, track-connection-by-tx , xa-datasource-class ,
+xa-datasource-property* , url-property, url-delimetir, isSameRM-override-value? , transaction-isolation? ,
+user-name? , password? ,
+(application-managed-security | security-domain | security-domain-and-application)? ,
+min-pool-size? , max-pool-size? , blocking-timeout-millis? , idle-timeout-minutes? ,  background-validation?, background-validation-minutes?,
+no-tx-separate-pools? , xa-resource-timeout? , validate-on-match?, 
+new-connection-sql? , check-valid-connection-sql? ,
+valid-connection-checker-class-name? , exception-sorter-class-name? , track-statements? , prefill?, use-fast-fail?,
+prepared-statement-cache-size?, share-prepared-statements? , set-tx-query-timeout?, query-timeout?,
+type-mapping?, depends*)>
+
+<!-- Specifies the delimeter for URLs in connection-url for ha datasources
+-->
+<!ELEMENT url-delimeter (#PCDATA)>
+
+<!-- For HA XA datasource specifies the name of an xa-datasource-property that contains a list of URLs
+-->
+<!ELEMENT url-property (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_3_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_3_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_3_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,260 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- A skeleton JBoss MBean service descriptor DTD. This cannot be used in
+general to validate a jboss-service.xml descriptor due to the fact that the
+'attribute' element allows ANY content.
+
+$Id: jboss-service_3_2.dtd 32781 2005-06-23 21:46:30Z dimitris $
+
+DOCTYPE server
+    PUBLIC "-//JBoss//DTD MBean Service 3.2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-service_3_2.dtd"
+-->
+<!-- The server element is the root element.
+-->
+<!ELEMENT server (loader-repository? , local-directory* , classpath* , mbean*)>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA  #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA  #IMPLIED>
+
+<!-- A local-directory element specifies that portions of the sar are to be unjard into the data
+directory of the server configuration.
+-->
+<!ELEMENT local-directory EMPTY>
+
+<!-- The optional path attribute gives the prefix of the sar entries that should be copied
+into the data directory. If it is not specified the entire sar contents will be placed into
+the data directory.
+-->
+<!ATTLIST local-directory path CDATA  #IMPLIED>
+
+<!-- A classpath element specifies a location which will be included in the services
+deployment classpath.
+-->
+<!ELEMENT classpath EMPTY>
+
+<!-- The codebase attribute specifies the base URL from which the jars or classes
+are loaded from. If the codebase is '.' then it is equal to the mbean deployment URL.
+Otherwise, it is resolved as a path spec relative to the serverHomeURL (e.g., file:/jboss-3.2.0)
+using the URL ctor URL(serverHomeURL, codebase)
+
+Examples:
+
+   <classpath codebase='.' archives='util.jar' />
+   <classpath codebase='http://classloader.dot.com' archives='*' />
+   <classpath codebase="lib" archives="*"/>
+-->
+<!ATTLIST classpath codebase CDATA  #REQUIRED>
+
+<!-- The archives attribute specifies either the '*' wildcard to indicate all contents of the
+codebase should be included, or a comma seperated list of the jars to include.
+-->
+<!ATTLIST classpath archives CDATA  #IMPLIED>
+
+<!-- The mbean element defines a JBoss MBean service. This includes the
+mbean class, attributes and dependencies.
+-->
+<!ELEMENT mbean (constructor? , xmbean? , attribute* , depends* , depends-list*)>
+
+<!-- The code attributes gives the fully qualified name of the MBean
+implementation class.
+-->
+<!ATTLIST mbean code      CDATA  #REQUIRED>
+
+<!-- The name attribute gives the JMX ObjectName string to use when registering
+the MBean. This must be a unique and valid JMX name.
+-->
+<!ATTLIST mbean name      CDATA  #REQUIRED>
+
+<!-- The optional interface attribute gives the full qualified name of the class
+uses to construct the management interface of the mbean. In absence of it an interface
+with the name ending by MBean will be looked in the implementation class. When used
+this interface is defined explicitely.
+-->
+<!ATTLIST mbean interface CDATA  #IMPLIED>
+
+<!-- The xmbean-dd attribute defines the path to the JBoss XMBean descriptor. This
+is an xml document conforming to:
+
+<!DOCTYPE mbean PUBLIC
+      "-//JBoss//DTD JBOSS XMBEAN 1.0//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd">
+
+If the descriptor is embedded via a nested xmbean element, the xmbean-dd attribute
+must be given as an empty string.
+
+Example:
+	<mbean code="org.jboss.test.jmx.xmbean.User"
+		name="jboss.test:service=xmbean-user"
+		xmbean-dd="META-INF/org/jboss/test/jmx/xmbean/User.xml" />
+-->
+<!ATTLIST mbean xmbean-dd CDATA  #IMPLIED>
+
+<!-- The optional xmbean-code attribute specifies the ModelMBean implementation class
+to use. This defaults to org.jboss.mx.modelmbean.XMBean.
+-->
+<!ATTLIST mbean xmbean-code CDATA  #IMPLIED>
+
+<!-- The xmbean element specifies a nested JBoss XMBean descriptor fragment. Its
+supported content model is the same as the mbean element of the jboss_xmbean_1_0.dtd
+
+Example:
+	<mbean code="org.jboss.test.jmx.xmbean.User"
+		name="jboss.test:service=xmbean-user"
+		xmbean-dd="">
+		<xmbean>
+			...
+		</xmbean>
+	</mbean>
+-->
+<!ELEMENT xmbean ANY>
+
+<!-- The constructor element defines a non-default constructor to use when
+instantiating the mbean.
+-->
+<!ELEMENT constructor (arg*)>
+
+<!-- The arg element specify the constructor arguments in the order of the
+ctor signature. Each arg has a type and value attribute.
+-->
+<!ELEMENT arg EMPTY>
+
+<!-- The type attribute gives the type of the argument as defined in the
+ctor signature. If not defined java.lang.String is assumed.
+-->
+<!ATTLIST arg type  CDATA  #IMPLIED>
+
+<!-- The value attribute provides the string representation of the ctor
+argument. It is converted from a string to type using Java PropertyEditor or a
+ctor taking a single string as its argument.
+-->
+<!ATTLIST arg value CDATA  #REQUIRED>
+
+<!-- The attribute element specifies the initial value for a management attribute of
+the enclosing mbean. Typically the value of the attribute element is the string
+representation of the attribute, but it can be an arbitrary xml fragment that is
+parsed by the mbean.
+-->
+<!ELEMENT attribute ANY>
+
+<!-- The required name attribute gives the name of the attribute. This is the
+name exposed by the mbean to the MBeanServer for the attribute.
+-->
+<!ATTLIST attribute name CDATA  #REQUIRED>
+
+<!-- The optional replace attribute indicates whether references of the form ${x}
+in the attribute element content should be replaced with the corresponding
+System.getProperty(x) value.
+-->
+<!ATTLIST attribute replace (true | false) 'true'>
+<!-- The optional trim attribute specifies whether the attribute element content should
+be trimmed of whitespace.
+-->
+<!ATTLIST attribute trim (true | false) 'true'>
+
+<!-- The depends element specifies a JMX ObjectName string for an mbean
+on which the enclosing mbean depends.
+
+Example:
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="yName">domain:name=y</depends>
+   </mbean>
+
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="anonName">
+         <mbean code="nestedBean" name="domain:name=x.y">
+         ...
+         </mbean>
+      </depends>
+   </mbean>
+-->
+<!ELEMENT depends (#PCDATA | mbean)*>
+
+<!-- The optional-attribute-name attribute specifies the attribute name
+which should be populated with the JMX ObjectName of the depends element.
+This allows an mbean to have access to the name of the mbean on which
+it depends.
+-->
+<!ATTLIST depends optional-attribute-name CDATA  #IMPLIED>
+
+<!-- The proxy-type attribute specifies the interface name
+that should be exposed on an MBeanProxy pointing at the dependent
+MBean, specified by the JMX ObjectName
+
+The special value proxy-type="attribute" will use the
+class declared in the MBeanAttributeInfo as the interface
+for the MBeanProxy.
+
+Example:
+   <mbean code="org.jboss.example.Helper" name="domain:name=helper"/>
+
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="Helper"
+               proxy-type="org.jboss.example.HelperMBean"
+      >domain:name=helper</depends>
+   </mbean>
+
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="Helper"
+               proxy-type="attribute"
+      >domain:name=helper</depends>
+   </mbean>
+-->
+<!ATTLIST depends proxy-type CDATA  #IMPLIED>
+
+<!-- The depends-list element specifies a series of JMX ObjectName
+strings of mbeans on which the enclosing mbean depends.
+
+Example:
+   <mbean code="myBean" name="domain:name=x">
+      <depends-list optional-attribute-name="myObjectNameList">
+         <depends-list-element>domain:name=y</depends-list-element>
+         <depends-list-element>domain:name=z</depends-list-element>
+      </depends-list>
+   </mbean>
+-->
+<!ELEMENT depends-list (depends-list-element)+>
+
+<!-- The optional-attribute-name attribute specifies the attribute name
+which should be populated with a java.util.List that contains the JMX
+ObjectName(s) of the depends-list elements. This allows an mbean to have
+access to the names of the mbean on which it depends.
+-->
+<!ATTLIST depends-list optional-attribute-name CDATA  #IMPLIED>
+
+<!-- The depends-list-element element specifies a JMX ObjectName string
+for an mbean on which the enclosing mbean depends.
+-->
+<!ELEMENT depends-list-element (#PCDATA | mbean)*>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_4_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_4_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_4_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,287 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- A skeleton JBoss MBean service descriptor DTD. This cannot be used in
+general to validate a jboss-service.xml descriptor due to the fact that the
+'attribute' element allows ANY content.
+
+$Id: jboss-service_4_0.dtd 33900 2005-07-25 04:26:25Z starksm $
+
+DOCTYPE server
+    PUBLIC "-//JBoss//DTD MBean Service 4.0//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd"
+-->
+<!-- The server element is the root element.
+-->
+<!ELEMENT server (loader-repository? , local-directory* , classpath* , mbean*)>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA  #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA  #IMPLIED>
+
+<!-- A local-directory element specifies that portions of the sar are to be unjard into the data
+directory of the server configuration.
+-->
+<!ELEMENT local-directory EMPTY>
+
+<!-- The optional path attribute gives the prefix of the sar entries that should be copied
+into the data directory. If it is not specified the entire sar contents will be placed into
+the data directory.
+-->
+<!ATTLIST local-directory path CDATA  #IMPLIED>
+
+<!-- A classpath element specifies a location which will be included in the services
+deployment classpath.
+-->
+<!ELEMENT classpath EMPTY>
+
+<!-- The codebase attribute specifies the base URL from which the jars or classes
+are loaded from. If the codebase is '.' then it is equal to the mbean deployment URL.
+Otherwise, it is resolved as a path spec relative to the serverHomeURL (e.g., file:/jboss-3.2.0)
+using the URL ctor URL(serverHomeURL, codebase)
+
+Examples:
+
+   <classpath codebase='.' archives='util.jar' />
+   <classpath codebase='http://classloader.dot.com' archives='*' />
+   <classpath codebase="lib" archives="*"/>
+-->
+<!ATTLIST classpath codebase CDATA  #REQUIRED>
+
+<!-- The archives attribute specifies either the '*' wildcard to indicate all contents of the
+codebase should be included, or a comma seperated list of the jars to include.
+-->
+<!ATTLIST classpath archives CDATA  #IMPLIED>
+
+<!-- The mbean element defines a JBoss MBean service. This includes the
+mbean class, attributes and dependencies.
+-->
+<!ELEMENT mbean (constructor? , xmbean? , attribute* , depends* , depends-list*)>
+
+<!-- The code attributes gives the fully qualified name of the MBean
+implementation class.
+-->
+<!ATTLIST mbean code      CDATA  #REQUIRED>
+
+<!-- The name attribute gives the JMX ObjectName string to use when registering
+the MBean. This must be a unique and valid JMX name.
+-->
+<!ATTLIST mbean name      CDATA  #REQUIRED>
+
+<!-- The optional interface attribute gives the full qualified name of the class
+uses to construct the management interface of the mbean. In absence of it an interface
+with the name ending by MBean will be looked in the implementation class. When used
+this interface is defined explicitely.
+-->
+<!ATTLIST mbean interface CDATA  #IMPLIED>
+
+<!-- The xmbean-dd attribute defines the path to the JBoss XMBean descriptor. This
+is an xml document conforming to:
+
+<!DOCTYPE mbean PUBLIC
+      "-//JBoss//DTD JBOSS XMBEAN 1.0//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd">
+
+If the descriptor is embedded via a nested xmbean element, the xmbean-dd attribute
+must be given as an empty string.
+
+Example:
+	<mbean code="org.jboss.test.jmx.xmbean.User"
+		name="jboss.test:service=xmbean-user"
+		xmbean-dd="META-INF/org/jboss/test/jmx/xmbean/User.xml" />
+-->
+<!ATTLIST mbean xmbean-dd CDATA  #IMPLIED>
+
+<!-- The optional xmbean-code attribute specifies the ModelMBean implementation class
+to use. This defaults to org.jboss.mx.modelmbean.XMBean.
+-->
+<!ATTLIST mbean xmbean-code CDATA  #IMPLIED>
+
+<!-- The xmbean element specifies a nested JBoss XMBean descriptor fragment. Its
+supported content model is the same as the mbean element of the jboss_xmbean_1_0.dtd
+
+Example:
+	<mbean code="org.jboss.test.jmx.xmbean.User"
+		name="jboss.test:service=xmbean-user"
+		xmbean-dd="">
+		<xmbean>
+			...
+		</xmbean>
+	</mbean>
+-->
+<!ELEMENT xmbean ANY>
+
+<!-- The constructor element defines a non-default constructor to use when
+instantiating the mbean.
+-->
+<!ELEMENT constructor (arg*)>
+
+<!-- The arg element specify the constructor arguments in the order of the
+ctor signature. Each arg has a type and value attribute.
+-->
+<!ELEMENT arg EMPTY>
+
+<!-- The type attribute gives the type of the argument as defined in the
+ctor signature. If not defined java.lang.String is assumed.
+-->
+<!ATTLIST arg type  CDATA  #IMPLIED>
+
+<!-- The value attribute provides the string representation of the ctor
+argument. It is converted from a string to type using Java PropertyEditor or a
+ctor taking a single string as its argument.
+-->
+<!ATTLIST arg value CDATA  #REQUIRED>
+
+<!-- The attribute element specifies the initial value for a management attribute of
+the enclosing mbean. Typically the value of the attribute element is the string
+representation of the attribute, but it can be an arbitrary xml fragment that is
+parsed by the mbean.
+-->
+<!ELEMENT attribute ANY>
+
+<!-- The required name attribute gives the name of the attribute. This is the
+name exposed by the mbean to the MBeanServer for the attribute.
+-->
+<!ATTLIST attribute name CDATA  #REQUIRED>
+
+<!-- The optional replace attribute indicates whether references of the form ${x}
+in the attribute element content should be replaced with the corresponding
+System.getProperty(x) value.
+-->
+<!ATTLIST attribute replace (true | false) 'true'>
+<!-- The optional trim attribute specifies whether the attribute element content should
+be trimmed of whitespace.
+-->
+<!ATTLIST attribute trim (true | false) 'true'>
+
+<!-- The attributeClass attribute specifies that type of object that
+should be created. This is needed for non-concreate attribute types
+like interfaces and abstract classes.
+-->
+<!ATTLIST attribute attributeClass CDATA  #IMPLIED>
+
+<!-- The serialDataType defines the how the content of the attribute
+element is interpretted by the ServiceConfigurator. The possible values
+are:
+   + text: the content is treated as the string representation of the
+   attribute value. It will be mapped to the attribute using the PropertyEditor
+   registered for the attribute type.
+   + javaBean: the content is a collection of property elements.
+   + jbxb: the content is an xml element from a namespace with an associated
+      xml schema that can be unmarshalled using the JBossXB framework.
+-->
+<!ATTLIST attribute serialDataType (text | javaBean | jbxb) 'text'>
+
+<!-- The property element is used to describe the JavaBean properties of
+an attribute when the attribute element serialDataType is javaBean.
+-->
+<!ELEMENT property (#PCDATA)>
+<!-- The required name attribute gives the name of the property. This is the
+name of a JavaBean property for the attribute type.
+-->
+<!ATTLIST property name CDATA #REQUIRED>
+
+<!-- The depends element specifies a JMX ObjectName string for an mbean
+on which the enclosing mbean depends.
+
+Example:
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="yName">domain:name=y</depends>
+   </mbean>
+
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="anonName">
+         <mbean code="nestedBean" name="domain:name=x.y">
+         ...
+         </mbean>
+      </depends>
+   </mbean>
+-->
+<!ELEMENT depends (#PCDATA | mbean)*>
+
+<!-- The optional-attribute-name attribute specifies the attribute name
+which should be populated with the JMX ObjectName of the depends element.
+This allows an mbean to have access to the name of the mbean on which
+it depends.
+-->
+<!ATTLIST depends optional-attribute-name CDATA  #IMPLIED>
+
+<!-- The proxy-type attribute specifies the interface name
+that should be exposed on an MBeanProxy pointing at the dependent
+MBean, specified by the JMX ObjectName.
+
+The special value proxy-type="attribute" will use the
+class declared in the MBeanAttributeInfo as the interface
+for the MBeanProxy.
+
+Example:
+   <mbean code="org.jboss.example.Helper" name="domain:name=helper"/>
+
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="Helper"
+               proxy-type="org.jboss.example.HelperMBean"
+      >domain:name=helper</depends>
+   </mbean>
+
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="Helper"
+               proxy-type="attribute"
+      >domain:name=helper</depends>
+   </mbean>
+-->
+<!ATTLIST depends proxy-type CDATA  #IMPLIED>
+
+<!-- The depends-list element specifies a series of JMX ObjectName
+strings of mbeans on which the enclosing mbean depends.
+
+Example:
+   <mbean code="myBean" name="domain:name=x">
+      <depends-list optional-attribute-name="myObjectNameList">
+         <depends-list-element>domain:name=y</depends-list-element>
+         <depends-list-element>domain:name=z</depends-list-element>
+      </depends-list>
+   </mbean>
+-->
+<!ELEMENT depends-list (depends-list-element)+>
+
+<!-- The optional-attribute-name attribute specifies the attribute name
+which should be populated with a java.util.List that contains the JMX
+ObjectName(s) of the depends-list elements. This allows an mbean to have
+access to the names of the mbeans on which it depends.
+-->
+<!ATTLIST depends-list optional-attribute-name CDATA  #IMPLIED>
+
+<!-- The depends-list-element element specifies a JMX ObjectName string
+for an mbean on which the enclosing mbean depends.
+-->
+<!ELEMENT depends-list-element (#PCDATA | mbean)*>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_4_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_4_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-service_4_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,287 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- A skeleton JBoss MBean service descriptor DTD. This cannot be used in
+general to validate a jboss-service.xml descriptor due to the fact that the
+'attribute' element allows ANY content.
+
+$Id: jboss-service_4_0.dtd 33900 2005-07-25 04:26:25Z starksm $
+
+DOCTYPE server
+    PUBLIC "-//JBoss//DTD MBean Service 4.2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-service_4_2.dtd"
+-->
+<!-- The server element is the root element.
+-->
+<!ELEMENT server (loader-repository? , local-directory* , classpath* , mbean*)>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA  #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA  #IMPLIED>
+
+<!-- A local-directory element specifies that portions of the sar are to be unjard into the data
+directory of the server configuration.
+-->
+<!ELEMENT local-directory EMPTY>
+
+<!-- The optional path attribute gives the prefix of the sar entries that should be copied
+into the data directory. If it is not specified the entire sar contents will be placed into
+the data directory.
+-->
+<!ATTLIST local-directory path CDATA  #IMPLIED>
+
+<!-- A classpath element specifies a location which will be included in the services
+deployment classpath.
+-->
+<!ELEMENT classpath EMPTY>
+
+<!-- The codebase attribute specifies the base URL from which the jars or classes
+are loaded from. If the codebase is '.' then it is equal to the mbean deployment URL.
+Otherwise, it is resolved as a path spec relative to the serverHomeURL (e.g., file:/jboss-3.2.0)
+using the URL ctor URL(serverHomeURL, codebase)
+
+Examples:
+
+   <classpath codebase='.' archives='util.jar' />
+   <classpath codebase='http://classloader.dot.com' archives='*' />
+   <classpath codebase="lib" archives="*"/>
+-->
+<!ATTLIST classpath codebase CDATA  #REQUIRED>
+
+<!-- The archives attribute specifies either the '*' wildcard to indicate all contents of the
+codebase should be included, or a comma seperated list of the jars to include.
+-->
+<!ATTLIST classpath archives CDATA  #IMPLIED>
+
+<!-- The mbean element defines a JBoss MBean service. This includes the
+mbean class, attributes and dependencies.
+-->
+<!ELEMENT mbean (constructor? , xmbean? , attribute* , depends* , depends-list*)>
+
+<!-- The code attributes gives the fully qualified name of the MBean
+implementation class.
+-->
+<!ATTLIST mbean code      CDATA  #REQUIRED>
+
+<!-- The name attribute gives the JMX ObjectName string to use when registering
+the MBean. This must be a unique and valid JMX name.
+-->
+<!ATTLIST mbean name      CDATA  #REQUIRED>
+
+<!-- The optional interface attribute gives the full qualified name of the class
+uses to construct the management interface of the mbean. In absence of it an interface
+with the name ending by MBean will be looked in the implementation class. When used
+this interface is defined explicitely.
+-->
+<!ATTLIST mbean interface CDATA  #IMPLIED>
+
+<!-- The xmbean-dd attribute defines the path to the JBoss XMBean descriptor. This
+is an xml document conforming to:
+
+<!DOCTYPE mbean PUBLIC
+      "-//JBoss//DTD JBOSS XMBEAN 1.0//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd">
+
+If the descriptor is embedded via a nested xmbean element, the xmbean-dd attribute
+must be given as an empty string.
+
+Example:
+	<mbean code="org.jboss.test.jmx.xmbean.User"
+		name="jboss.test:service=xmbean-user"
+		xmbean-dd="META-INF/org/jboss/test/jmx/xmbean/User.xml" />
+-->
+<!ATTLIST mbean xmbean-dd CDATA  #IMPLIED>
+
+<!-- The optional xmbean-code attribute specifies the ModelMBean implementation class
+to use. This defaults to org.jboss.mx.modelmbean.XMBean.
+-->
+<!ATTLIST mbean xmbean-code CDATA  #IMPLIED>
+
+<!-- The xmbean element specifies a nested JBoss XMBean descriptor fragment. Its
+supported content model is the same as the mbean element of the jboss_xmbean_1_0.dtd
+
+Example:
+	<mbean code="org.jboss.test.jmx.xmbean.User"
+		name="jboss.test:service=xmbean-user"
+		xmbean-dd="">
+		<xmbean>
+			...
+		</xmbean>
+	</mbean>
+-->
+<!ELEMENT xmbean ANY>
+
+<!-- The constructor element defines a non-default constructor to use when
+instantiating the mbean.
+-->
+<!ELEMENT constructor (arg*)>
+
+<!-- The arg element specify the constructor arguments in the order of the
+ctor signature. Each arg has a type and value attribute.
+-->
+<!ELEMENT arg EMPTY>
+
+<!-- The type attribute gives the type of the argument as defined in the
+ctor signature. If not defined java.lang.String is assumed.
+-->
+<!ATTLIST arg type  CDATA  #IMPLIED>
+
+<!-- The value attribute provides the string representation of the ctor
+argument. It is converted from a string to type using Java PropertyEditor or a
+ctor taking a single string as its argument.
+-->
+<!ATTLIST arg value CDATA  #REQUIRED>
+
+<!-- The attribute element specifies the initial value for a management attribute of
+the enclosing mbean. Typically the value of the attribute element is the string
+representation of the attribute, but it can be an arbitrary xml fragment that is
+parsed by the mbean.
+-->
+<!ELEMENT attribute ANY>
+
+<!-- The required name attribute gives the name of the attribute. This is the
+name exposed by the mbean to the MBeanServer for the attribute.
+-->
+<!ATTLIST attribute name CDATA  #REQUIRED>
+
+<!-- The optional replace attribute indicates whether references of the form ${x}
+in the attribute element content should be replaced with the corresponding
+System.getProperty(x) value.
+-->
+<!ATTLIST attribute replace (true | false) 'true'>
+<!-- The optional trim attribute specifies whether the attribute element content should
+be trimmed of whitespace.
+-->
+<!ATTLIST attribute trim (true | false) 'true'>
+
+<!-- The attributeClass attribute specifies that type of object that
+should be created. This is needed for non-concreate attribute types
+like interfaces and abstract classes.
+-->
+<!ATTLIST attribute attributeClass CDATA  #IMPLIED>
+
+<!-- The serialDataType defines the how the content of the attribute
+element is interpretted by the ServiceConfigurator. The possible values
+are:
+   + text: the content is treated as the string representation of the
+   attribute value. It will be mapped to the attribute using the PropertyEditor
+   registered for the attribute type.
+   + javaBean: the content is a collection of property elements.
+   + jbxb: the content is an xml element from a namespace with an associated
+      xml schema that can be unmarshalled using the JBossXB framework.
+-->
+<!ATTLIST attribute serialDataType (text | javaBean | jbxb) 'text'>
+
+<!-- The property element is used to describe the JavaBean properties of
+an attribute when the attribute element serialDataType is javaBean.
+-->
+<!ELEMENT property (#PCDATA)>
+<!-- The required name attribute gives the name of the property. This is the
+name of a JavaBean property for the attribute type.
+-->
+<!ATTLIST property name CDATA #REQUIRED>
+
+<!-- The depends element specifies a JMX ObjectName string for an mbean
+on which the enclosing mbean depends.
+
+Example:
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="yName">domain:name=y</depends>
+   </mbean>
+
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="anonName">
+         <mbean code="nestedBean" name="domain:name=x.y">
+         ...
+         </mbean>
+      </depends>
+   </mbean>
+-->
+<!ELEMENT depends (#PCDATA | mbean)*>
+
+<!-- The optional-attribute-name attribute specifies the attribute name
+which should be populated with the JMX ObjectName of the depends element.
+This allows an mbean to have access to the name of the mbean on which
+it depends.
+-->
+<!ATTLIST depends optional-attribute-name CDATA  #IMPLIED>
+
+<!-- The proxy-type attribute specifies the interface name
+that should be exposed on an MBeanProxy pointing at the dependent
+MBean, specified by the JMX ObjectName.
+
+The special value proxy-type="attribute" will use the
+class declared in the MBeanAttributeInfo as the interface
+for the MBeanProxy.
+
+Example:
+   <mbean code="org.jboss.example.Helper" name="domain:name=helper"/>
+
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="Helper"
+               proxy-type="org.jboss.example.HelperMBean"
+      >domain:name=helper</depends>
+   </mbean>
+
+   <mbean code="myBean" name="domain:name=x">
+      <depends optional-attribute-name="Helper"
+               proxy-type="attribute"
+      >domain:name=helper</depends>
+   </mbean>
+-->
+<!ATTLIST depends proxy-type CDATA  #IMPLIED>
+
+<!-- The depends-list element specifies a series of JMX ObjectName
+strings of mbeans on which the enclosing mbean depends.
+
+Example:
+   <mbean code="myBean" name="domain:name=x">
+      <depends-list optional-attribute-name="myObjectNameList">
+         <depends-list-element>domain:name=y</depends-list-element>
+         <depends-list-element>domain:name=z</depends-list-element>
+      </depends-list>
+   </mbean>
+-->
+<!ELEMENT depends-list (depends-list-element)+>
+
+<!-- The optional-attribute-name attribute specifies the attribute name
+which should be populated with a java.util.List that contains the JMX
+ObjectName(s) of the depends-list elements. This allows an mbean to have
+access to the names of the mbeans on which it depends.
+-->
+<!ATTLIST depends-list optional-attribute-name CDATA  #IMPLIED>
+
+<!-- The depends-list-element element specifies a JMX ObjectName string
+for an mbean on which the enclosing mbean depends.
+-->
+<!ELEMENT depends-list-element (#PCDATA | mbean)*>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-subscription.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-subscription.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-subscription.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,136 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+  DTD used to configure JMX notification listening subscriptions:
+  which JMX Notifications to intercept from which MBeans.
+  
+  MBeans that implement org.jboss.system.ListenerServiceMBean
+  have the SubscriptionList attribute, whose value must conform
+  to this DTD.
+  
+  For example:
+  
+  <server>
+    <mbean code="jboss.example.NotificationMonitor"
+           name="jboss.monitor:name=NotificationMonitor">
+
+      <attribute name="SubscriptionList">      
+        <subscription-list>
+          <mbean name="*:service=invoker,*" handback="anObject"/>
+          <mbean name="jboss.monitor:*">
+            <notification type="JBOSS_MONITOR_NOTIFICATION"/>
+          </mbean>
+          <mbean name="JMImplementation:type=MBeanServerDelegate">
+            <notification type="JMX.mbean.registered"/>
+           [...]
+          </mbean
+          [...]
+        </subscription-list>
+      </attribute>
+      [ ... your-other-mbean-attributes ...]
+    </mbean>
+  </server>
+
+  The filter mechanism has been extended to support specification
+  of arbitrary filters, using filter factory plugins, so now we can have:
+
+  <attribute name="SubscriptionList">
+    <subscription-list>
+      <mbean name="jboss.system:*">
+        <filter factory="NotificationFilterSupportFactory">
+          <enable type="org.jboss.system.ServiceMBean.start"/>
+          <enable type="org.jboss.system.ServiceMBean.stop"/>
+        </filter>
+      </mbean>
+      <mbean name="jboss.monitor:service=MemoryMonitor">
+        <filter factory="AttributeChangeNotificationFilterFactory">
+          <enable attribute-name="State"/>
+        </filter>
+      </mbean>        
+      <mbean name="JMImplementation:type=MBeanServerDelegate">
+        <filter factory="MBeanServerNotificationFilterFactory">
+          <enable type="JMX.mbean"/>
+          <enable object-name="jboss:type=Service,name=SystemProperties"/>
+        </filter>
+      </mbean>
+    </subscription-list>
+  </attribute>
+       
+  $Id: jboss-subscription.dtd 29474 2005-03-14 19:41:52Z andd $
+   
+  Author: <a href="mailto:dimitris at jboss.org">Dimitris Andreadis</a>
+-->
+
+<!-- The subscription-list encapsulates the set of MBeans/JMX-Notifications
+that should be monitored (subscribed for). At the first level it contains
+a series of zero or more MBean subscription specifications.
+-->
+<!ELEMENT subscription-list (mbean*)>
+
+<!-- The mbean element is used to identify one or more (in case of a pattern
+specification) mbeans that should be monitored. The mbean may contain an
+optional filter element, or instead, zero or more notification elements.
+If no filter or notification element(s) is specified, all JMX Notification
+types will be monitored. Otherwise, a filter will be installed to monitor
+a subset of the emitted Notifications.
+-->
+<!ELEMENT mbean (filter? | notification*)>
+
+<!-- The name attribute in the mbean specification is required to match one
+or more MBeans. For example:
+
+  <mbean name="*:*"/>                     - matches all MBeans in the server
+  <mbean name="jboss:*"/>                 - matches all MBeans in domain jboss
+  <mbean name="jboss:service=invoker,*"/> - matches all MBeans in domain jboss
+                                             whose service=invoker
+  <mbean name="jboss:service=invoker,type=local"/>
+                                          - matches this particular MBean
+-->
+<!ATTLIST mbean name CDATA #REQUIRED>
+
+<!-- When making a notification subscription an optional handback string
+maybe specified. All incoming notifications that occur due to this particular
+mbean subscription will carry the handback object.
+-->
+<!ATTLIST mbean handback CDATA #IMPLIED>
+
+<!-- Specification of a notification filter to apply to the subscription.
+The content of this element will vary according to the chosen
+NotificationFilterFactory implementation. For example,
+MBeanServerNotificationFilterFactory supports the following config:
+
+  <mbean name="JMImplementation:type=MBeanServerDelegate">
+    <filter factory="MBeanServerNotificationFilterFactory">
+      <enable type="JMX.mbean"/>
+      <enable object-name="jboss:type=Service,name=SystemProperties"/>
+      ...
+    </filter>
+  </mbean>
+-->
+<!ELEMENT filter ANY>
+
+<!-- The name of a class implementing org.jboss.system.NotificationFilterFactory
+interface. It will be used to construct the filter that will be applied
+to the enclosing subscription. Three filter factories corresponding to the
+"standard" jmx notification filters are already implemented:
+
+  org.jboss.system.filterfactory.AttributeChangeNotificationFilterFactory
+  org.jboss.system.filterfactory.MBeanServerNotificationFilterFactory
+  org.jboss.system.filterfactory.NotificationFilterSupportFactory
+  
+As a convenience, you don't need to specify the full package name for
+the pre-packaged factories.
+-->
+<!ATTLIST filter factory CDATA #REQUIRED>
+
+<!-- Specification of a particular JMX notification type to be monitored.
+-->
+<!ELEMENT notification EMPTY>
+
+<!-- The notification type is used as a prefix in the installed notification
+type filter. For example:
+
+  <notification type="JMX.mbean"/>  - matches both JMX.mbean.registered &
+                                                   JMX.mbean.unregistered
+-->
+<!ATTLIST notification type CDATA #REQUIRED>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,46 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss specific elements used to integrate the servlet 2.2 web.xml
+elements into a JBoss deployment. This version applies to the JBoss 2.4 and
+earlier series. See the jboss-web_3_0.dtd for changes available only in 3.x.
+
+DOCTYPE jboss-web
+    PUBLIC "-//JBoss//DTD Web Application 2.2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web.dtd"
+-->
+<!-- The jboss-web element is the root element.
+-->
+<!ELEMENT jboss-web (security-domain?, resource-ref* , ejb-ref*)>
+
+<!-- The security-domain element allows one to specify a module wide
+security manager domain. It specifies the JNDI name of the security
+manager that implements the EJBSecurityManager and RealmMapping for
+the domain.
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!-- The ejb-ref element maps from the servlet ENC relative name
+of the ejb reference to the deployment environment JNDI name of
+the bean.
+Example:
+    <ejb-ref>
+        <ejb-ref-name>ejb/Bean0</ejb-ref-name>
+        <jndi-name>deployed/ejbs/Bean0</jndi-name>
+    </ejb-ref>
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!-- The ejb-ref-name element gives the ENC relative name used
+in the web-app.xml ejb-ref-name element.
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!-- The jndi-name element specifies the JNDI name of the deployed
+EJB home interface to which the servlet ENC binding will link to.
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!ELEMENT resource-ref (res-ref-name , jndi-name)>
+
+<!ELEMENT res-ref-name (#PCDATA)>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_3_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_3_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_3_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,105 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss specific elements used to integrate the servlet 2.3 web.xml
+elements into a JBoss deployment. This version applies to the JBoss 3.x
+releases.
+
+DOCTYPE jboss-web
+    PUBLIC "-//JBoss//DTD Web Application 2.3//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_3_0.dtd"
+-->
+
+<!-- The jboss-web element is the root element.
+-->
+<!ELEMENT jboss-web (security-domain?, context-root?, virtual-host?,
+resource-env-ref*, resource-ref* , ejb-ref*)>
+
+<!-- The context-root element specifies the context root of a web
+application. This is normally specified at the ear level using the standard
+J2EE application.xml descriptor, but it may be given here for standalone wars.
+This should not override the application.xml level specification.
+-->
+<!ELEMENT context-root (#PCDATA)>
+
+<!-- The security-domain element allows one to specify a module wide
+security manager domain. It specifies the JNDI name of the security
+manager that implements the org.jboss.security.AuthenticationManager and
+org.jboss.security.RealmMapping interfaces for the domain.
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!-- The virtual-host element allows one to specify which virtual host the war
+should be deployed to. Example, to specify that a war should be deployed to the
+www.jboss-store.org virtual host add the following virtual-host element:
+   <virtual-host>www.jboss-store.org</virtual-host>
+-->
+<!ELEMENT virtual-host (#PCDATA)>
+
+<!--The resource-env-ref element maps from the servlet ENC relative name
+of the resource-env-ref to the deployment environment JNDI name of
+the administered object resource.
+Example:
+    <resource-env-ref>
+        <resource-env-ref-name>jms/NewsTopic</resource-env-ref-name>
+        <jndi-name>topic/NewsTopic</jndi-name>
+    </resource-env-ref>
+-->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!-- The resource-env-ref-name specifies the name of the web.xml
+resource-env-ref-name element which this mapping applies.
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--The resource-ref element maps from the servlet ENC relative name
+of the resource-ref to the deployment environment JNDI name of
+the resource manager connection factory.
+Example:
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <jndi-name>java:/DefaultDS</jndi-name>
+    </resource-ref>
+
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <res-url>http://x.y.z</res-url>
+    </resource-ref>
+-->
+<!ELEMENT resource-ref (res-ref-name , (jndi-name | res-url))>
+
+<!-- The res-ref-name specifies the name of the web.xml res-ref-name element
+which this mapping applies.
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!-- The ejb-ref element maps from the servlet ENC relative name
+of the ejb reference to the deployment environment JNDI name of
+the bean.
+Example:
+    <ejb-ref>
+        <ejb-ref-name>ejb/Bean0</ejb-ref-name>
+        <jndi-name>deployed/ejbs/Bean0</jndi-name>
+    </ejb-ref>
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!-- The ejb-ref-name element gives the ENC relative name used
+in the web.xml ejb-ref-name element.
+
+Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!-- The jndi-name element specifies the JNDI name of the deployed
+object to which the servlet ENC binding will link to via a JNDI
+LinkRef.
+
+Used in: resource-ref, resource-env-ref, ejb-ref
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!-- The res-url element value is url a URL string.
+
+   Used in: resource-ref
+-->
+<!ELEMENT res-url (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_3_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_3_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_3_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,287 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss specific elements used to integrate the servlet 2.3 web.xml
+elements into a JBoss deployment. This version applies to the JBoss 3.2.x
+releases.
+
+DOCTYPE jboss-web
+    PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd"
+-->
+
+<!-- The jboss-web element is the root element.
+-->
+<!ELEMENT jboss-web (class-loading?, security-domain?, context-root?,
+   virtual-host*, use-session-cookies?, replication-config?, resource-env-ref*,
+   resource-ref* , ejb-ref* , ejb-local-ref*, depends*)>
+
+<!-- The class-loading element allows one to override the default class
+loading behavior of the web container. You can specify the
+Examples:
+   <class-loading java2ClassLoadingCompliance='false'/>
+
+   <class-loading java2ClassLoadingCompliance='false'>
+      <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+         ...
+      </loader-repository>
+   </class-loading>
+-->
+<!ELEMENT class-loading (loader-repository?)>
+<!-- The java2ClassLoadingCompliance attribute indicates if the normal Java2
+parent first class loading model should be used over the servlet 2.3 web
+container first model.
+-->
+<!ATTLIST class-loading java2ClassLoadingCompliance CDATA #IMPLIED>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <class-loading>
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+   </class-loading>
+
+   <class-loading java2ClassLoadingCompliance='false'>
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+   </class-loading>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA #IMPLIED>
+
+<!-- The context-root element specifies the context root of a web
+application. This is normally specified at the ear level using the standard
+J2EE application.xml descriptor, but it may be given here for standalone wars.
+This should not override the application.xml level specification.
+-->
+<!ELEMENT context-root (#PCDATA)>
+
+<!-- The security-domain element allows one to specify a module wide
+security manager domain. It specifies the JNDI name of the security
+manager that implements the org.jboss.security.AuthenticationManager and
+org.jboss.security.RealmMapping interfaces for the domain.
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!-- The flushOnSessionInvalidation attribute is a boolean indicating whether
+the associated security domain cache should be flushed when the web session is
+invalidated. If true, the security manager service 
+flushAuthenticationCache(String, java.security.Principal) is called when the
+session is seen to be invalid due to expiration or explicit invalidation.
+-->
+<!ATTLIST security-domain flushOnSessionInvalidation (true|false) 'false'>
+
+<!-- The virtual-host element allows one to specify which virtual host the war
+should be deployed to. Example, to specify that a war should be deployed to the
+www.jboss-store.org virtual host add the following virtual-host element:
+   <virtual-host>www.jboss-store.org</virtual-host>
+-->
+<!ELEMENT virtual-host (#PCDATA)>
+
+<!--The resource-env-ref element maps from the servlet ENC relative name
+of the resource-env-ref to the deployment environment JNDI name of
+the administered object resource.
+Example:
+    <resource-env-ref>
+        <resource-env-ref-name>jms/NewsTopic</resource-env-ref-name>
+        <jndi-name>topic/NewsTopic</jndi-name>
+    </resource-env-ref>
+-->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!-- The resource-env-ref-name specifies the name of the web.xml
+resource-env-ref-name element which this mapping applies.
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--The resource-ref element maps from the servlet ENC relative name
+of the resource-ref to the deployment environment JNDI name of
+the resource manager connection factory.
+Example:
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <jndi-name>java:/DefaultDS</jndi-name>
+    </resource-ref>
+
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <res-url>http://x.y.z</res-url>
+    </resource-ref>
+-->
+<!ELEMENT resource-ref (res-ref-name , (jndi-name | res-url))>
+
+<!-- The res-ref-name specifies the name of the web.xml res-ref-name element
+which this mapping applies.
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!-- The ejb-ref element maps from the servlet ENC relative name
+of the ejb reference to the deployment environment JNDI name of
+the bean.
+Example:
+    <ejb-ref>
+        <ejb-ref-name>ejb/Bean0</ejb-ref-name>
+        <jndi-name>deployed/ejbs/Bean0</jndi-name>
+    </ejb-ref>
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!-- The ejb-local-ref element maps from the servlet ENC relative name
+of the ejb local reference to the deployment environment JNDI name of
+the bean.
+Example:
+    <ejb-local-ref>
+        <ejb-ref-name>ejb/Bean0</ejb-ref-name>
+        <local-jndi-name>deployed/ejbs/Bean0</local-jndi-name>
+    </ejb-local-ref>
+-->
+<!ELEMENT ejb-local-ref (ejb-ref-name , (local-jndi-name|jndi-name))>
+
+<!-- The ejb-ref-name element gives the ENC relative name used
+in the web.xml ejb-ref-name element.
+
+Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!-- The jndi-name element specifies the JNDI name of the deployed
+object to which the servlet ENC binding will link to via a JNDI
+LinkRef.
+
+Used in: resource-ref, resource-env-ref, ejb-ref
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!--
+  The JNDI name under with the local home interface should be bound
+
+  Used in: ejb-local-ref
+-->
+<!ELEMENT local-jndi-name (#PCDATA)>
+
+<!-- The res-url element value is url a URL string.
+
+   Used in: resource-ref
+-->
+<!ELEMENT res-url (#PCDATA)>
+
+<!-- The depends element gives a JMX ObjectName of a service on which the
+container or ejb depends.
+-->
+<!ELEMENT depends (#PCDATA)>
+
+<!-- The use-session-cookies element controls wether this context uses session cookies
+     or not.
+
+Example:
+     <use-session-cookies>true</use-session-cookies>
+-->
+<!ELEMENT use-session-cookies (#PCDATA)>
+
+<!--
+   HTTP Session clustering configuration (optional tags)
+-->
+<!ELEMENT replication-config (replication-trigger?, replication-type?, replication-granularity?)>
+
+<!--
+   Clustering only: Determines when the container should consider that a session
+                    must be replicated accross the cluster.
+                    Possible values are:
+                    1 - "ACCESS"
+                    2 - "SET_AND_GET"
+                    3 - "SET_AND_NON_PRIMITIVE_GET" (default value)
+                    4 - "SET"
+
+   The first option is conservative but not optimal (performance-wise): it will replicate the
+   session after each http request since the access time stamp is updated.
+   
+   The second option is less restrictive but still not optimal since it will replicate even
+   if its content has not been modified but simply accessed (through get attribute operation).
+   There is no deterministic way to know if the content of an attribute is not itself modified.
+   Consequently, by default, no hypothesis can be done. It is up to the developer to tell us
+   if we can trust this policy.
+   
+   The third option is conservative but will only replicate if a non-primitive Object has been
+   accessed (Integer, Long, String, etc. which are immutables). It is the default value.
+   
+   The fourth option considers that the developer will explicitely call setAttribute on the
+   session if it has to be replicated.
+
+Examples:
+         <replication-trigger>ACCESS</replication-trigger>
+      or
+         <replication-trigger>SET_AND_GET</replication-trigger>
+      or
+         <replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
+      or
+         <replication-trigger>SET</replication-trigger>
+-->
+<!ELEMENT replication-trigger (#PCDATA)>
+
+<!--
+   Deprecated since 3.2.6! The mode is configured cluster-wide in tc5-cluster-service.xml
+   (through the CacheMode attribute).
+
+   Clustering only: Determines how the container will replicate your sessions.
+                    Possible values are:
+                    1 - "SYNC" (default)
+                    2 - "ASYNC"
+
+    The first option will make sure that the session is actually copied to other nodes of the cluster
+    before finishing returning the HTTP request. The session removal and expiration are
+    an exception to this rule.
+    
+    The second option will asynchronously replicate sessions to the other nodes. This is more
+    efficient (better scalability and performance) but in case of failover you cannot be sure the
+    session has actually arrive on the other node(s).
+
+Examples:
+         <replication-type>SYNC</replication-type>
+      or
+         <replication-type>ASYNC</replication-type>
+-->
+<!ELEMENT replication-type (#PCDATA)>
+
+<!--
+   Clustering only: Determines the session replication granularity level.
+                    Possible values are:
+                    1 - "SESSION" (default)
+                    2 - "ATTRIBUTE"
+                    3 - "FIELD" (not yet supported)
+
+    The first option indicates that replication is done per session instance, i.e. when
+    the session is considered modified, the whole session object will be serialized
+    and replicated. This is the preferred policy when the sessions are generally small.
+
+    The second option indicates that replication is performed only for the the dirty
+    attributes in the session, plus some session data, like lastAccessTime. For sessions
+    carrying large amounts of data, parts of which are infrequently accessed,
+    this option can increase replication performance.
+    
+Examples:
+         <replication-granularity>SESSION</replication-granularity>
+      or
+         <replication-granularity>ATTRIBUTE</replication-granularity>
+-->
+<!ELEMENT replication-granularity (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_4_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_4_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_4_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,456 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss specific elements used to integrate the servlet 2.4 web.xml
+elements into a JBoss deployment. This version applies to the JBoss 4.0.x
+releases.
+
+$Id: jboss-web_4_0.dtd 61966 2007-04-01 17:05:37Z dimitris at jboss.org $
+
+  <!DOCTYPE jboss-web PUBLIC
+    "-//JBoss//DTD Web Application 2.4//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+-->
+
+<!ENTITY % service-ref PUBLIC
+   "-//JBoss//DTD Web Service Reference 4.0//EN"
+   "http://www.jboss.org/j2ee/dtd/service-ref_4_0.dtd">
+  
+%service-ref;
+
+
+<!-- The jboss-web element is the root element.
+-->
+<!ELEMENT jboss-web (class-loading?, security-domain?, context-root?,
+   virtual-host*, use-session-cookies?, replication-config?, resource-env-ref*,
+   resource-ref*, security-role*, ejb-ref*, ejb-local-ref*, 
+   message-destination-ref*, message-destination*, 
+   webservice-description*, service-ref*, depends*, servlet*, authenticators*)>
+
+<!-- The class-loading element allows one to override the default class
+loading behavior of the web container. You can specify the
+Examples:
+   <class-loading java2ClassLoadingCompliance='false'/>
+
+   <class-loading java2ClassLoadingCompliance='false'>
+      <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+         ...
+      </loader-repository>
+   </class-loading>
+-->
+<!ELEMENT class-loading (loader-repository?)>
+<!-- The java2ClassLoadingCompliance attribute indicates if the normal Java2
+parent first class loading model should be used over the servlet 2.3 web
+container first model.
+-->
+<!ATTLIST class-loading java2ClassLoadingCompliance CDATA #IMPLIED>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <class-loading>
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+   </class-loading>
+
+   <class-loading java2ClassLoadingCompliance='false'>
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+   </class-loading>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA #IMPLIED>
+
+<!-- The context-root element specifies the context root of a web
+application. This is normally specified at the ear level using the standard
+J2EE application.xml descriptor, but it may be given here for standalone wars.
+This should not override the application.xml level specification.
+-->
+<!ELEMENT context-root (#PCDATA)>
+
+<!-- The security-domain element allows one to specify a module wide
+security manager domain. It specifies the JNDI name of the security
+manager that implements the org.jboss.security.AuthenticationManager and
+org.jboss.security.RealmMapping interfaces for the domain.
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!-- The flushOnSessionInvalidation attribute is a boolean indicating whether
+the associated security domain cache should be flushed when the web session is
+invalidated. If true, the security manager service 
+flushAuthenticationCache(String, java.security.Principal) is called when the
+session is seen to be invalid due to expiration or explicit invalidation.
+-->
+<!ATTLIST security-domain flushOnSessionInvalidation (true|false) 'false'>
+
+<!-- The virtual-host element allows one to specify which virtual host the war
+should be deployed to. Example, to specify that a war should be deployed to the
+www.jboss-store.org virtual host add the following virtual-host element:
+   <virtual-host>www.jboss-store.org</virtual-host>
+-->
+<!ELEMENT virtual-host (#PCDATA)>
+
+<!--The resource-env-ref element maps from the servlet ENC relative name
+of the resource-env-ref to the deployment environment JNDI name of
+the administered object resource.
+Example:
+    <resource-env-ref>
+        <resource-env-ref-name>jms/NewsTopic</resource-env-ref-name>
+        <jndi-name>topic/NewsTopic</jndi-name>
+    </resource-env-ref>
+-->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!-- The resource-env-ref-name specifies the name of the web.xml
+resource-env-ref-name element which this mapping applies.
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--The resource-ref element maps from the servlet ENC relative name
+of the resource-ref to the deployment environment JNDI name of
+the resource manager connection factory.
+Example:
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <jndi-name>java:/DefaultDS</jndi-name>
+    </resource-ref>
+
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <res-url>http://x.y.z</res-url>
+    </resource-ref>
+-->
+<!ELEMENT resource-ref (res-ref-name , (jndi-name | res-url))>
+
+<!-- The res-ref-name specifies the name of the web.xml res-ref-name element
+which this mapping applies.
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+  The security-role element contains the definition of a security role.
+  The definition consists of an the security role name and principal name element(s).
+
+Used in: jboss-web
+
+Example:
+		<security-role>
+      <role-name>Manager</role-name>
+      <principal-name>j2ee</principal-name>
+      <principal-name>javajoe</principal-name>
+		</security-role>
+-->
+<!ELEMENT security-role (role-name, principal-name+)>
+
+<!--
+  The role-name element is the name of the role.
+
+  Used in: security-role
+-->
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+  The principal-name element is the name of the principal that is mapped
+  to the assembly role-name.
+
+  Used in: security-role
+-->
+<!ELEMENT principal-name (#PCDATA)>
+
+<!-- The ejb-ref element maps from the servlet ENC relative name
+of the ejb reference to the deployment environment JNDI name of
+the bean.
+Example:
+    <ejb-ref>
+        <ejb-ref-name>ejb/Bean0</ejb-ref-name>
+        <jndi-name>deployed/ejbs/Bean0</jndi-name>
+    </ejb-ref>
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!-- The ejb-local-ref element maps from the servlet ENC relative name
+of the ejb local reference to the deployment environment JNDI name of
+the bean.
+Example:
+    <ejb-local-ref>
+        <ejb-ref-name>ejb/Bean0</ejb-ref-name>
+        <local-jndi-name>deployed/ejbs/Bean0</local-jndi-name>
+    </ejb-local-ref>
+-->
+<!ELEMENT ejb-local-ref (ejb-ref-name , (local-jndi-name|jndi-name))>
+
+<!-- The ejb-ref-name element gives the ENC relative name used
+in the web.xml ejb-ref-name element.
+
+Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!-- The jndi-name element specifies the JNDI name of the deployed
+object to which the servlet ENC binding will link to via a JNDI
+LinkRef.
+
+Used in: resource-ref, resource-env-ref, ejb-ref, 
+         message-destination-ref, message-destination
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!--
+  The JNDI name under with the local home interface should be bound
+
+  Used in: ejb-local-ref
+-->
+<!ELEMENT local-jndi-name (#PCDATA)>
+
+<!-- The res-url element value is a URL string for a resource-ref of
+res-type = java.net.URL. Using a res-url creates a binding of the URL
+instance under the java:comp/env. If you want to link to another binding
+of a URL, you can use the jndi-name to do so.
+
+// Binds the URL(http://x.y.z) under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>http://x.y.z</res-url>
+</resource-ref>
+// Binds a link to urls/XYZHomePage under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>urls/XYZHomePage</res-url>
+</resource-ref>
+
+   Used in: resource-ref
+-->
+<!ELEMENT res-url (#PCDATA)>
+
+<!--
+  The message-destination-ref element is used to configure the
+  jndi-name for a message-destination-ref in ejb-jar.xml
+
+  Used in: jboss-web
+-->
+<!ELEMENT message-destination-ref (message-destination-ref-name, jndi-name)>
+
+<!--
+  The message-destination-ref-name element identifies the
+  message-destination-ref. It must match the name in ejb-jar.xml
+
+  Used in: message-destination-ref
+-->
+<!ELEMENT message-destination-ref-name (#PCDATA)>
+
+<!--
+  The message-destination element is used to configure the
+  jndi-name for a message-destination in ejb-jar.xml
+
+  Used in: jboss-web
+-->
+<!ELEMENT message-destination (message-destination-name, jndi-name)>
+
+<!--
+  The message-destination-name element identifies the
+  message-destination. It must match the name in ejb-jar.xml
+
+  Used in: message-destination
+-->
+<!ELEMENT message-destination-name (#PCDATA)>
+
+<!-- The depends element gives a JMX ObjectName of a service on which the
+container or ejb depends.
+-->
+<!ELEMENT depends (#PCDATA)>
+
+<!-- The use-session-cookies element controls wether this context uses session cookies
+     or not.
+
+Example:
+     <use-session-cookies>true</use-session-cookies>
+-->
+<!ELEMENT use-session-cookies (#PCDATA)>
+
+
+<!--
+   HTTP Session clustering configuration (optional tags)
+-->
+<!ELEMENT replication-config (replication-trigger?, replication-granularity, replication-field-batch-mode?)>
+
+<!--
+   Clustering only: Determines when the container should consider that a session
+                    must be replicated accross the cluster.
+                    Possible values are:
+                    1 - "SET_AND_GET"
+                    2 - "SET_AND_NON_PRIMITIVE_GET" (default value)
+                    3 - "SET"
+
+   The first option is conservative but not optimal (performance-wise): it will replicate the
+   session even if its content has not been modified but simply accessed. There is no deterministic
+   way to know if the content of an attribute is not itself modified. Consequently, by default, no
+   hypothesis can be done. It is up to the developer to tell us if we can trust this policy.
+
+   The second option is conservative but will only replicate if a non-primitive Object has been
+   accessed (Integer, Long, String, etc. which are immutables). It is the default value.
+
+   The third option considers that the developer will explicitely call setAttribute on the session
+   if it has to be replicated.
+
+Examples:
+         <replication-trigger>SET_AND_GET</replication-trigger>
+      or
+         <replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
+      or
+         <replication-trigger>SET</replication-trigger>
+-->
+<!ELEMENT replication-trigger (#PCDATA)>
+
+<!--
+   Clustering only: Determines the session replication granularity level.
+                    Possible values are:
+                    1 - "SESSION" (default)
+                    2 - "ATTRIBUTE"
+                    3 - "FIELD"
+
+   The first option indicates that replication is done per session instance, i.e. when
+   the session is considered modified, the whole session object will be serialized
+   and replicated. This is the preferred policy when the sessions are generally small.
+
+   The second option indicates that replication is performed only for the the dirty
+   attributes in the session, plus some session data, like lastAccessTime. For sessions
+   carrying large amounts of data, parts of which are infrequently accessed,
+   this option can increase replication performance.
+    
+Examples:
+         <replication-granularity>SESSION</replication-granularity>
+      or
+         <replication-granularity>ATTRIBUTE</replication-granularity>
+-->
+<!ELEMENT replication-granularity (#PCDATA)>
+
+<!--
+   Determine whether to batch the replication when the granularity level is set to FIELD.
+   Default is true.
+
+   If this is set to TRUE, that means we will replicate the pojo changes only during the
+   http request is finished. To use this, the JBossCacheAop transaction manager class will
+   need to be configured as BatchModeTransactionManager such that a user can still have
+   UserTransaction inside the http request. However, note that the cache will not particiapte
+   in the UserTransaction in this case.
+
+   If you want cache to participate in the UserTransaction, you can configure the transaction
+   manager class to JBossTransactionManager and set this option to FALSE. The result is for
+   those session attribute changes that are not under transaction will replicate instantaneously,
+   while those particiate under transaction will replicate only when the transaction is
+   completed.
+
+Examples:
+         <replication-field-batch-mode>TRUE</replication-field-batch-mode>
+      or
+         <replication-field-batch-mode>FALSE</replication-field-batch-mode>
+-->
+<!ELEMENT replication-field-batch-mode (true|false)>
+
+<!--
+Runtime information about a web service.
+
+wsdl-publish-location is optionally used to specify
+where the final wsdl and any dependent files should be stored.  This location
+resides on the file system from which deployment is initiated.
+
+-->
+<!ELEMENT webservice-description ( webservice-description-name, config-name?, config-file?, wsdl-publish-location? )>
+
+<!--
+Unique name of a webservice within a module
+-->
+<!ELEMENT webservice-description-name ( #PCDATA )>
+
+<!--
+file: URL of a directory to which a web-service-description's wsdl should be
+published during deployment.  Any required files will be published to this
+directory, preserving their location relative to the module-specific
+wsdl directory(META-INF/wsdl or WEB-INF/wsdl).
+
+Example :
+
+  For an ejb.jar whose webservices.xml wsdl-file element contains
+    META-INF/wsdl/a/Foo.wsdl
+
+  <wsdl-publish-location>file:/home/user1/publish
+  </wsdl-publish-location>
+
+  The final wsdl will be stored in /home/user1/publish/a/Foo.wsdl
+
+-->
+<!ELEMENT wsdl-publish-location ( #PCDATA )>
+
+<!-- The servlet element specifies servlet specific bindings. Currently this
+is only the run-as principal identity.
+
+   Used in: jboss-web
+-->
+<!ELEMENT servlet (servlet-name, run-as-principal?)>
+
+<!-- The servlet-name maps from the web.xml servlet/servlet-name to the
+jboss-web/servlet/servlet-name.
+   Used in: servlet
+-->
+<!ELEMENT servlet-name ( #PCDATA )>
+
+<!--
+  The run-as-principal element specifies whether a specific run-as identity is
+  to be used. If there is a run-as role defined for a servlet, there can also
+  be a run-as-principal defined here. If you don't define a run-as principal
+  the callee will see ctx.getUserPrincipal() == 'anonymous'
+
+  Used in: servlet
+-->
+<!ELEMENT run-as-principal ( #PCDATA )>
+
+<!--
+	Customize the tomcat authenticators at the context or web-app level.
+	These are keyed in by http-auth method specified in login-config in web.xml
+	
+	<authenticators>
+	    <authenticator>
+	      <key>BASIC</key>
+	      <value>org.apache.catalina.authenticator.BasicAuthenticator</value>
+	    </authenticator>
+	    <authenticator>
+	      <key>CLIENT-CERT</key>
+	      <value>org.apache.catalina.authenticator.SSLAuthenticator</value>
+	    </authenticator>
+	    <authenticator>
+	      <key>DIGEST</key>
+	      <value>org.apache.catalina.authenticator.DigestAuthenticator</value>
+	    </authenticator>
+	    <authenticator>
+	      <key>FORM</key>
+	      <value>org.apache.catalina.authenticator.FormAuthenticator</value>
+	    </authenticator>
+	    <authenticator>
+	      <key>NONE</key>
+	      <value>org.apache.catalina.authenticator.NonLoginAuthenticator</value>
+	    </authenticator>
+	 </authenticators> 
+-->
+
+<!ELEMENT authenticators (authenticator+)>
+<!ELEMENT authenticator ( key, value )>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_4_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_4_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss-web_4_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,431 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- The JBoss specific elements used to integrate the servlet 2.4 web.xml
+elements into a JBoss deployment. This version applies to the JBoss 4.2.x
+releases.
+
+$Id: jboss-web_4_0.dtd 60134 2007-01-31 13:14:47Z thomas.diesler at jboss.com $
+
+  <!DOCTYPE jboss-web PUBLIC
+    "-//JBoss//DTD Web Application 4.2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
+-->
+
+<!ENTITY % service-ref PUBLIC
+   "-//JBoss//DTD Web Service Reference 4.2//EN"
+   "http://www.jboss.org/j2ee/dtd/service-ref_4_2.dtd">
+  
+%service-ref;
+
+<!-- The jboss-web element is the root element.
+-->
+<!ELEMENT jboss-web (class-loading?, security-domain?, jacc-star-role-allow?, context-root?,
+   virtual-host*, use-session-cookies?, replication-config?, resource-env-ref*,
+   resource-ref*, security-role*, ejb-ref*, ejb-local-ref*, 
+   message-destination-ref*, message-destination*, 
+   webservice-description*, service-ref*, depends*, servlet*)>
+
+<!-- The class-loading element allows one to override the default class
+loading behavior of the web container. You can specify the
+Examples:
+   <class-loading java2ClassLoadingCompliance='false'/>
+
+   <class-loading java2ClassLoadingCompliance='false'>
+      <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+         ...
+      </loader-repository>
+   </class-loading>
+-->
+<!ELEMENT class-loading (loader-repository?)>
+<!-- The java2ClassLoadingCompliance attribute indicates if the normal Java2
+parent first class loading model should be used over the servlet 2.3 web
+container first model.
+-->
+<!ATTLIST class-loading java2ClassLoadingCompliance CDATA #IMPLIED>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <class-loading>
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+   </class-loading>
+
+   <class-loading java2ClassLoadingCompliance='false'>
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+   </class-loading>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA #IMPLIED>
+
+<!-- The context-root element specifies the context root of a web
+application. This is normally specified at the ear level using the standard
+J2EE application.xml descriptor, but it may be given here for standalone wars.
+This should not override the application.xml level specification.
+-->
+<!ELEMENT context-root (#PCDATA)>
+
+<!-- (JBAS-1824) The jacc-star-role-allow element specifies whether the 
+jacc permission generating agent in the web layer needs to generate a 
+WebResourcePermission(url,null) permission such that the jacc provider can 
+make a decision as to bypass authorization or not.
+-->
+<!ELEMENT jacc-star-role-allow (#PCDATA)>
+
+<!-- The security-domain element allows one to specify a module wide
+security manager domain. It specifies the JNDI name of the security
+manager that implements the org.jboss.security.AuthenticationManager and
+org.jboss.security.RealmMapping interfaces for the domain.
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!-- The flushOnSessionInvalidation attribute is a boolean indicating whether
+the associated security domain cache should be flushed when the web session is
+invalidated. If true, the security manager service 
+flushAuthenticationCache(String, java.security.Principal) is called when the
+session is seen to be invalid due to expiration or explicit invalidation.
+-->
+<!ATTLIST security-domain flushOnSessionInvalidation (true|false) 'false'>
+
+<!-- The virtual-host element allows one to specify which virtual host the war
+should be deployed to. Example, to specify that a war should be deployed to the
+www.jboss-store.org virtual host add the following virtual-host element:
+   <virtual-host>www.jboss-store.org</virtual-host>
+-->
+<!ELEMENT virtual-host (#PCDATA)>
+
+<!--The resource-env-ref element maps from the servlet ENC relative name
+of the resource-env-ref to the deployment environment JNDI name of
+the administered object resource.
+Example:
+    <resource-env-ref>
+        <resource-env-ref-name>jms/NewsTopic</resource-env-ref-name>
+        <jndi-name>topic/NewsTopic</jndi-name>
+    </resource-env-ref>
+-->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!-- The resource-env-ref-name specifies the name of the web.xml
+resource-env-ref-name element which this mapping applies.
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--The resource-ref element maps from the servlet ENC relative name
+of the resource-ref to the deployment environment JNDI name of
+the resource manager connection factory.
+Example:
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <jndi-name>java:/DefaultDS</jndi-name>
+    </resource-ref>
+
+    <resource-ref>
+        <res-ref-name>jdbc/TheDataSource</res-ref-name>
+        <res-url>http://x.y.z</res-url>
+    </resource-ref>
+-->
+<!ELEMENT resource-ref (res-ref-name , (jndi-name | res-url))>
+
+<!-- The res-ref-name specifies the name of the web.xml res-ref-name element
+which this mapping applies.
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+  The security-role element contains the definition of a security role.
+  The definition consists of an the security role name and principal name element(s).
+
+Used in: jboss-web
+
+Example:
+		<security-role>
+      <role-name>Manager</role-name>
+      <principal-name>j2ee</principal-name>
+      <principal-name>javajoe</principal-name>
+		</security-role>
+-->
+<!ELEMENT security-role (role-name, principal-name+)>
+
+<!--
+  The role-name element is the name of the role.
+
+  Used in: security-role
+-->
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+  The principal-name element is the name of the principal that is mapped
+  to the assembly role-name.
+
+  Used in: security-role
+-->
+<!ELEMENT principal-name (#PCDATA)>
+
+<!-- The ejb-ref element maps from the servlet ENC relative name
+of the ejb reference to the deployment environment JNDI name of
+the bean.
+Example:
+    <ejb-ref>
+        <ejb-ref-name>ejb/Bean0</ejb-ref-name>
+        <jndi-name>deployed/ejbs/Bean0</jndi-name>
+    </ejb-ref>
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!-- The ejb-local-ref element maps from the servlet ENC relative name
+of the ejb local reference to the deployment environment JNDI name of
+the bean.
+Example:
+    <ejb-local-ref>
+        <ejb-ref-name>ejb/Bean0</ejb-ref-name>
+        <local-jndi-name>deployed/ejbs/Bean0</local-jndi-name>
+    </ejb-local-ref>
+-->
+<!ELEMENT ejb-local-ref (ejb-ref-name , (local-jndi-name|jndi-name))>
+
+<!-- The ejb-ref-name element gives the ENC relative name used
+in the web.xml ejb-ref-name element.
+
+Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!-- The jndi-name element specifies the JNDI name of the deployed
+object to which the servlet ENC binding will link to via a JNDI
+LinkRef.
+
+Used in: resource-ref, resource-env-ref, ejb-ref, 
+         message-destination-ref, message-destination
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!--
+  The JNDI name under with the local home interface should be bound
+
+  Used in: ejb-local-ref
+-->
+<!ELEMENT local-jndi-name (#PCDATA)>
+
+<!-- The res-url element value is a URL string for a resource-ref of
+res-type = java.net.URL. Using a res-url creates a binding of the URL
+instance under the java:comp/env. If you want to link to another binding
+of a URL, you can use the jndi-name to do so.
+
+// Binds the URL(http://x.y.z) under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>http://x.y.z</res-url>
+</resource-ref>
+// Binds a link to urls/XYZHomePage under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>urls/XYZHomePage</res-url>
+</resource-ref>
+
+   Used in: resource-ref
+-->
+<!ELEMENT res-url (#PCDATA)>
+
+<!--
+  The message-destination-ref element is used to configure the
+  jndi-name for a message-destination-ref in ejb-jar.xml
+
+  Used in: jboss-web
+-->
+<!ELEMENT message-destination-ref (message-destination-ref-name, jndi-name)>
+
+<!--
+  The message-destination-ref-name element identifies the
+  message-destination-ref. It must match the name in ejb-jar.xml
+
+  Used in: message-destination-ref
+-->
+<!ELEMENT message-destination-ref-name (#PCDATA)>
+
+<!--
+  The message-destination element is used to configure the
+  jndi-name for a message-destination in ejb-jar.xml
+
+  Used in: jboss-web
+-->
+<!ELEMENT message-destination (message-destination-name, jndi-name)>
+
+<!--
+  The message-destination-name element identifies the
+  message-destination. It must match the name in ejb-jar.xml
+
+  Used in: message-destination
+-->
+<!ELEMENT message-destination-name (#PCDATA)>
+
+<!-- The depends element gives a JMX ObjectName of a service on which the
+container or ejb depends.
+-->
+<!ELEMENT depends (#PCDATA)>
+
+<!-- The use-session-cookies element controls wether this context uses session cookies
+     or not.
+
+Example:
+     <use-session-cookies>true</use-session-cookies>
+-->
+<!ELEMENT use-session-cookies (#PCDATA)>
+
+
+<!--
+   HTTP Session clustering configuration (optional tags)
+-->
+<!ELEMENT replication-config (replication-trigger?, replication-granularity, replication-field-batch-mode?)>
+
+<!--
+   Clustering only: Determines when the container should consider that a session
+                    must be replicated accross the cluster.
+                    Possible values are:
+                    1 - "SET_AND_GET"
+                    2 - "SET_AND_NON_PRIMITIVE_GET" (default value)
+                    3 - "SET"
+
+   The first option is conservative but not optimal (performance-wise): it will replicate the
+   session even if its content has not been modified but simply accessed. There is no deterministic
+   way to know if the content of an attribute is not itself modified. Consequently, by default, no
+   hypothesis can be done. It is up to the developer to tell us if we can trust this policy.
+
+   The second option is conservative but will only replicate if a non-primitive Object has been
+   accessed (Integer, Long, String, etc. which are immutables). It is the default value.
+
+   The third option considers that the developer will explicitely call setAttribute on the session
+   if it has to be replicated.
+
+Examples:
+         <replication-trigger>SET_AND_GET</replication-trigger>
+      or
+         <replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
+      or
+         <replication-trigger>SET</replication-trigger>
+-->
+<!ELEMENT replication-trigger (#PCDATA)>
+
+<!--
+   Clustering only: Determines the session replication granularity level.
+                    Possible values are:
+                    1 - "SESSION" (default)
+                    2 - "ATTRIBUTE"
+                    3 - "FIELD"
+
+   The first option indicates that replication is done per session instance, i.e. when
+   the session is considered modified, the whole session object will be serialized
+   and replicated. This is the preferred policy when the sessions are generally small.
+
+   The second option indicates that replication is performed only for the the dirty
+   attributes in the session, plus some session data, like lastAccessTime. For sessions
+   carrying large amounts of data, parts of which are infrequently accessed,
+   this option can increase replication performance.
+    
+Examples:
+         <replication-granularity>SESSION</replication-granularity>
+      or
+         <replication-granularity>ATTRIBUTE</replication-granularity>
+-->
+<!ELEMENT replication-granularity (#PCDATA)>
+
+<!--
+   Determine whether to batch the replication when the granularity level is set to FIELD.
+   Default is true.
+
+   If this is set to TRUE, that means we will replicate the pojo changes only during the
+   http request is finished. To use this, the JBossCacheAop transaction manager class will
+   need to be configured as BatchModeTransactionManager such that a user can still have
+   UserTransaction inside the http request. However, note that the cache will not particiapte
+   in the UserTransaction in this case.
+
+   If you want cache to participate in the UserTransaction, you can configure the transaction
+   manager class to JBossTransactionManager and set this option to FALSE. The result is for
+   those session attribute changes that are not under transaction will replicate instantaneously,
+   while those particiate under transaction will replicate only when the transaction is
+   completed.
+
+Examples:
+         <replication-field-batch-mode>TRUE</replication-field-batch-mode>
+      or
+         <replication-field-batch-mode>FALSE</replication-field-batch-mode>
+-->
+<!ELEMENT replication-field-batch-mode (true|false)>
+
+<!--
+Runtime information about a web service.
+
+wsdl-publish-location is optionally used to specify
+where the final wsdl and any dependent files should be stored.  This location
+resides on the file system from which deployment is initiated.
+
+-->
+<!ELEMENT webservice-description ( webservice-description-name, config-name?, config-file?, wsdl-publish-location? )>
+
+<!--
+Unique name of a webservice within a module
+-->
+<!ELEMENT webservice-description-name ( #PCDATA )>
+
+<!--
+file: URL of a directory to which a web-service-description's wsdl should be
+published during deployment.  Any required files will be published to this
+directory, preserving their location relative to the module-specific
+wsdl directory(META-INF/wsdl or WEB-INF/wsdl).
+
+Example :
+
+  For an ejb.jar whose webservices.xml wsdl-file element contains
+    META-INF/wsdl/a/Foo.wsdl
+
+  <wsdl-publish-location>file:/home/user1/publish
+  </wsdl-publish-location>
+
+  The final wsdl will be stored in /home/user1/publish/a/Foo.wsdl
+
+-->
+<!ELEMENT wsdl-publish-location ( #PCDATA )>
+
+<!-- The servlet element specifies servlet specific bindings. Currently this
+is only the run-as principal identity.
+
+   Used in: jboss-web
+-->
+<!ELEMENT servlet (servlet-name, run-as-principal?)>
+
+<!-- The servlet-name maps from the web.xml servlet/servlet-name to the
+jboss-web/servlet/servlet-name.
+   Used in: servlet
+-->
+<!ELEMENT servlet-name ( #PCDATA )>
+
+<!--
+  The run-as-principal element specifies whether a specific run-as identity is
+  to be used. If there is a run-as role defined for a servlet, there can also
+  be a run-as-principal defined here. If you don't define a run-as principal
+  the callee will see ctx.getUserPrincipal() == 'anonymous'
+
+  Used in: servlet
+-->
+<!ELEMENT run-as-principal ( #PCDATA )>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,728 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+This is the XML DTD for the JBoss 2.2 EJB deployment descriptor.
+The DOCTYPE is:
+  <!DOCTYPE jboss PUBLIC
+      "-//JBoss//DTD JBOSS//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss.dtd">
+
+Overview of the architecture of jboss.xml
+
+<jboss>
+
+  <secure />
+  <security-domain />
+
+  <enterprise-beans>
+
+    <entity>
+      <ejb-name />
+      <jndi-name />
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+    </entity>
+
+    <session>
+      <ejb-name />
+      <jndi-name />
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+    </session>
+
+  </enterprise-beans>
+
+  <resource-managers>
+
+    <resource-manager>
+      <res-name />
+      <res-jndi-name />
+    </resource-manager>
+
+    <resource-manager>
+      <res-name />
+      <res-url />
+    </resource-manager>
+
+  </resource-managers>
+
+  <container-configurations>
+
+    <container-configuration>
+      <container-name />
+      <container-invoker />
+      <container-interceptors />
+      <instance-pool />
+      <instance-cache />
+      <persistence-manager />
+      <transaction-manager />
+      <container-invoker-conf />
+      <container-cache-conf />
+      <container-pool-conf />
+      <commit-option />
+      <role-mapping-manager/>
+      <authentication-module/>
+    </container-configuration>
+
+  </container-configurations>
+
+</jboss>
+-->
+<!--
+The jboss element is the root element of the jboss.xml file. It
+contains all the information used by jboss but not described in the
+ejb-jar.xml file. All of it is optional.
+
+1- the application assembler can define custom container configurations
+for the beans. Standard configurations are provided in standardjboss.xml
+2- the deployer can override the jndi names under which the beans are
+deployed
+3- the deployer can specify runtime jndi names for resource managers.
+
+-->
+<!ELEMENT jboss (secure? , security-domain?, enterprise-beans? , resource-managers? , container-configurations?)>
+
+<!--
+  The secure element tells the container to enforce ejb1.1 restrictions
+  It must be one of the following :
+     <secure>true</secure>
+     <secure>false</secure>
+
+  Used in: jboss
+  -->
+<!ELEMENT secure (#PCDATA)>
+
+<!-- The security-domain element allows one to specify a module wide
+security manager domain. It specifies the JNDI name of the security
+manager that implements the EJBSecurityManager and RealmMapping for
+the domain. One can still override these interfaces at the container
+level using the authentication-module and role-mapping-manager elements.
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!--
+  The enterprise-beans element contains additional information about
+  the beans. These informations, such as jndi names, resource managers and
+  container configurations, are specific to jboss and not described in
+  ejb-jar.xml.
+
+  jboss will provide a standard behaviour if no enterprise-beans element
+  is found, see container-configurations, jndi-name and resource-managers
+  for defaults.
+
+  Used in: jboss
+  -->
+<!ELEMENT enterprise-beans (session | entity)+>
+
+<!--
+    The entity element holds information specific to jboss and not declared
+    in ejb-jar.xml about an entity bean, such as jndi name, container
+    configuration, and resource managers. (see tags for details)
+    The bean should already be declared in ejb-jar.xml, with the same
+    ejb-name.
+
+    Used in: enterprise-beans
+    -->
+<!ELEMENT entity (ejb-name , jndi-name? , home-invoker? , bean-invoker? , configuration-name? , security-proxy?, ejb-ref* , resource-ref*)>
+
+<!--
+    The session element holds information specific to jboss and not declared
+    in ejb-jar.xml about a session bean, such as jndi name, container
+    configuration, and resource managers. (see tags for details)
+    The bean should already be declared in ejb-jar.xml, with the same
+    ejb-name.
+
+    Used in: enterprise-beans
+    -->
+<!ELEMENT session (ejb-name , jndi-name? , home-invoker? , bean-invoker? , configuration-name?, security-proxy?, ejb-ref* , resource-ref*)>
+
+<!--
+      The ejb-name element gives the name of the bean, it must correspond to
+      an ejb-name element in ejb-jar.xml
+
+      Used in: entity and session
+      -->
+<!ELEMENT ejb-name (#PCDATA)>
+
+<!--
+      The jndi-name element gives the actual jndi name under which the bean will
+      be deployed. It is provided by the deployer. If not, jboss will assume
+      "jndi-name" = "ejb-name"
+
+      Used in: entity and session
+      -->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!--
+      The home-invoker and bean-invoker elements defines the Invoker MBean to use
+      for Home Proxies and Bean Proxies.
+
+      Used in: entity and session
+      -->
+<!ELEMENT home-invoker (#PCDATA)>
+<!ELEMENT bean-invoker (#PCDATA)>
+
+<!--
+      The configuration-name element gives the name of the container
+      configuration for this bean. It must match one of the container-name
+      tags in the container-configurations section, or one of the standard
+      configurations. If none is provided, jboss will automatically use the
+      right standard configuration, see container-configurations.
+
+      Used in: entity and session
+      -->
+<!ELEMENT configuration-name (#PCDATA)>
+
+<!-- The security-proxy gives the class name of the security proxy implementation.
+	This may be an instance of org.jboss.security.SecurityProxy, or an
+	just an object that implements methods in the home or remote interface
+	of an EJB without implementating any common interface.
+
+     Used in: entity and session
+-->
+<!ELEMENT security-proxy (#PCDATA)>
+
+<!--
+      The ejb-ref element is used to give the jndi-name of an external
+      ejb reference. In the case of an external ejb reference, you don't
+      provide a ejb-link element in ejb-jar.xml, but you provide a jndi-name
+      in jboss.xml
+
+      Used in: entity, session
+      -->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!--
+        The ejb-ref-name element is the name of the ejb reference as given in
+        ejb-jar.xml.
+
+        Used in: ejb-ref
+        -->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--
+        The jndi-name element gives the deployed name of the reference. The
+        general form is
+           <jndi-name>t3://otherserver/application/beanB</jndi-name>
+
+        Used in: ejb-ref
+
+	(It's commented out here because it appears above and you
+         can't declare an element more than once per DTD)
+        -->
+<!--    <!ELEMENT jndi-name (#PCDATA)> -->
+<!--
+      The resource-ref element gives a mapping between the "code name"
+      of a resource (res-ref-name, provided by the Bean Developper) and
+      its "xml name" (resource-name, provided by the Application Assembler).
+      If no resource-ref is provided, jboss will assume that
+      "xml-name" = "code name"
+
+      See resource-managers.
+
+      Used in: session, entity
+      -->
+<!ELEMENT resource-ref (res-ref-name , resource-name)>
+
+<!--
+        The res-ref-name element gives the "code name" of a resource. It is
+        provided by the Bean Developper. See resource-managers for the actual
+        configuration of the resource.
+
+        Used in: resource-ref
+        -->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+        The resource-name element gives the "xml name" of the resource. It is
+        provided by the Application Assembler. See resource-managers for the
+        actual configuration of the resource.
+
+        Used in: resource-ref
+        -->
+<!ELEMENT resource-name (#PCDATA)>
+
+<!--
+  The resource-managers element is used to declare resource managers.
+
+  A resource has 3 names:
+  - the "code name" is the name used in the code of the bean, supplied by
+    the Bean Developper in the resource-ref section of the ejb-jar.xml file
+
+  - the "xml name" is an intermediary name used by the Application Assembler
+    to identify resources in the XML file.
+
+  - the "runtime jndi name" is the actual jndi-name or url of the deployed
+    resource, it is supplied by the Deployer.
+
+  The mapping between the "code name" and the "xml name" is given
+  in the resource-ref section for the bean. If not, jboss will assume that
+  "xml name" = "code name".
+
+  The mapping between the "xml name" and the "runtime jndi name" is given in
+  a resource-manager section. If not, and if the datasource is of type
+  javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the jndi
+  tree.
+
+  Used in: jboss
+  -->
+<!ELEMENT resource-managers (resource-manager*)>
+
+<!--
+    The resource-manager element is used to provide a mapping between the
+    "xml name" of a resource (res-name) and its "runtime jndi name"
+    (res-jndi-name or res-url according to the type of the resource).
+    If it is not provided, and if the type of the resource is
+    javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the
+    jndi tree.
+
+    See resource-managers.
+
+    Used in: resource-managers
+    -->
+<!ELEMENT resource-manager (res-name , (res-jndi-name | res-url))>
+
+<!--
+    The res-class attribute is used to indicate which implementation
+    class should be used for the specified resource manager.
+    -->
+<!ATTLIST resource-manager res-class CDATA  #REQUIRED>
+
+<!--
+      The res-name element gives the "xml name" of a resource, it is provided
+      by the Application Assembler. See resource-managers.
+
+      Used in: resource-manager
+      -->
+<!ELEMENT res-name (#PCDATA)>
+
+<!--
+      The res-jndi-name element is the "deployed jndi name" of a resource, it
+      is provided by the Deployer. See resource-managers.
+
+      Used in: resource-manager
+      -->
+<!ELEMENT res-jndi-name (#PCDATA)>
+
+<!--
+      The res-url element is the "runtime jndi name" as a url of the resource.
+      It is provided by the Deployer. See resource-managers.
+
+      Used in: resource-manager
+      -->
+<!ELEMENT res-url (#PCDATA)>
+
+<!--
+  The container-configurations element declares the different possible
+  container configurations that the beans can use. standardjboss.xml
+  provides 4 standard configurations with the following container-names:
+   - Standard CMP EntityBean
+   - Standard BMP EntityBean
+   - Standard Stateless SessionBean
+   - Standard Stateful SessionBean
+
+  These standard configurations will automatically be used if no custom
+  configuration is specified.
+
+  The application assembler can define advanced custom configurations here.
+
+  Used in: jboss
+  -->
+<!ELEMENT container-configurations (container-configuration*)>
+
+<!--
+    The container-configuration element describes a configuration for the
+    container.
+    The different plugins to use are declared here, as well as their
+    configurations. The configuration-class attribute is no longer used.
+
+    Used in: container-configurations
+    -->
+<!ELEMENT container-configuration (container-name, call-logging, container-invoker,
+container-interceptors?, instance-pool?, instance-cache? , persistence-manager? ,
+transaction-manager? , container-invoker-conf? , container-cache-conf? , container-pool-conf?,
+commit-option? , (role-mapping-manager, authentication-module?)?)>
+
+<!--
+    The configuration-class attribute is used to indicate the
+    implementation class that will be loaded for this configuration.
+    This usually indicates what type of bean the configuration
+    applies to.
+    -->
+<!ATTLIST container-configuration configuration-class CDATA  #IMPLIED>
+
+<!--
+      The container-name element gives the name of the configuration being
+      defined. Beans may refer to this name in their configuration-name tag.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT container-name (#PCDATA)>
+
+<!--
+      The call-logging element tells if the container must log every method
+      invocation for this bean or not. Its value must be true or false.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT call-logging (#PCDATA)>
+
+<!--
+      The container-invoker element gives the class name of the container
+      invoker jboss must use for in this configuration. This class must
+      implement the org.jboss.ejb.ContainerInvoker interface. The default is
+      org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker, it may be
+      changed to org.jboss.ejb.plugins.jrmp12.server.JRMPContainerInvoker if
+      no 1.3 VM is available
+
+      Used in: container-configuration
+      -->
+<!ELEMENT container-invoker (#PCDATA)>
+
+<!-- The container-interceptors element gives the chain of Interceptors
+(instances of org.jboss.ejb.Interceptor) that are associated with the container.
+The declared order of the interceptor elements corresponds to the order of the
+interceptor chain.
+
+Used in: container-configuration
+-->
+<!ELEMENT container-interceptors (interceptor+)>
+
+<!-- The interceptor element specifies an instance of org.jboss.ejb.Interceptor
+that is to be added to the container interceptor stack.
+
+Used in: container-interceptors
+-->
+<!ELEMENT interceptor (#PCDATA)>
+
+<!-- The transaction attribute is used to indicate what type of container its
+interceptor applies to. It is an enumerated value that can take on one of: Bean,
+Container or Both. A value of Bean indicates that the interceptor should only be
+added to a container for bean-managed transaction.
+A value of Container indicates that the interceptor should only be added to a
+container for container-managed transactions.
+A value of Both indicates that the interceptor should be added to all
+containers. This is the default value if the transaction attribute is not
+explictlygiven.
+-->
+<!ATTLIST interceptor transaction     (Bean | Container | Both )  "Both">
+
+<!-- The metricsEnabled attributes is used to indicate if the interceptor
+should only be included when the org.jboss.ejb.ContainerFactory metricsEnabled
+flag is set to true. The allowed values are true and false with false being the
+default if metricsEnabled is not explicitly given.
+-->
+<!ATTLIST interceptor metricsEnabled  (true | false )  "false">
+
+<!--
+      The instance-pool element gives the class name of the instance pool
+      jboss must use for in this configuration. This class must implement
+      the org.jboss.ejb.InstancePool interface. The defaults are:
+      - org.jboss.ejb.plugins.EntityInstancePool for entity beans
+      - org.jboss.ejb.plugins.StatelessSessionInstancePool for stateless
+      session beans.
+      - no pool is used for stateful session beans
+
+      Used in: container-configuration
+      -->
+<!ELEMENT instance-pool (#PCDATA)>
+
+<!--
+      The instance-cache element gives the class name of the instance cache
+      jboss must use for in this configuration. This class must implement
+      the org.jboss.ejb.InstanceCache interface. The defaults are:
+      - org.jboss.ejb.plugins.NoPassivationEntityInstanceCache for entity beans
+      - org.jboss.ejb.plugins.NoPassivationStatefulSessionInstanceCache for
+      stateful session beans.
+      - no cache is used for stateless session beans
+
+      Used in: container-configuration
+      -->
+<!ELEMENT instance-cache (#PCDATA)>
+
+<!--
+      The persistence-manager element gives the class name of the persistence
+      manager / persistence store jboss must use for in this configuration.
+      This class must implement:
+      - org.jboss.ejb.EntityPersistenceStore for CMP Entity Beans (default is
+      org.jboss.ejb.plugins.jaws.JAWSPersistenceManager)
+      - org.jboss.ejb.EntityPersistenceManager for BMP entity beans (default
+      is org.jboss.ejb.plugins.BMPPersistenceManager)
+      - org.jboss.ejb.StatefulSessionPersistenceManager for stateless session
+      beans.
+      - no persistence-manager is used for stateless session beans
+
+      Used in: container-configuration
+      -->
+<!ELEMENT persistence-manager (#PCDATA)>
+
+<!--
+      The transaction-manager element gives the class name of the transaction
+      manager jboss must use for in this configuration. This class must implement
+      the javax.transaction.TransactionManager interface. The default is
+      org.jboss.tm.TxManager.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT transaction-manager (#PCDATA)>
+
+<!--
+      The container-invoker-conf element holds configuration data for the
+      container invoker.
+      jboss does not read directly the subtree for this element: instead,
+      it is passed to the container invoker instance (if it implements
+      org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+      The Optimized tag described here only relates to the default container
+      invoker, JRMPContainerInvoker.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT container-invoker-conf (Optimized , RMIObjectPort, RMIClientSocketFactory?, RMIServerSocketFactory?)>
+
+<!--
+        This element is only valid if the container invoker is
+        JRMPContainerInvoker.
+
+        The Optimized element tells if the container invoker to bypass RMI layers
+        when the client is local (same VM as the server). This optimizes RMI calls.
+        Its value must be true or false.
+
+        Used in: container-invoker-conf for JRMPContainerInvoker
+        -->
+<!ELEMENT Optimized (#PCDATA)>
+
+<!--
+	The RMIObjectPort element indicates what port the RMI objects
+	created by this container should listen on.  Any number of objects
+	in the same VM can use the same port.  However, objects in
+	different VMs cannot use the same port.  You may set this value
+	to 0 to use anyonmous ports (that is, each object just picks a
+	free port to use).  If you want to run jBoss more than once on
+	the same machine, you must either create separate configurations
+	with separate ports, or set all the configurations to use
+	anonymous port.  The standard jBoss setting is "4444".
+
+        Its value must an integer (0, or a valid port number).  Note that
+	normal user on a UNIX system cannot access privileged ports (<1024)
+
+        Used in: container-invoker-conf for JRMPContainerInvoker
+	-->
+<!ELEMENT RMIObjectPort (#PCDATA)>
+
+<!--
+	The RMIClientSocketFactory element indicates the use of a custom
+	socket factory that should be used by RMI objects created by
+	this container. The combination of socket factory type and port
+	must be unique but more than one container can use the same
+	socket factory, port combination.
+
+        Its value must be the fully qualified name of the class that
+	implements the java.rmi.server.RMIClientSocketFactory interface,
+	and the class must be available to the JBoss class loader.
+	If this element is not specified the default VM client socket
+	factory will be used.
+
+        Used in: container-invoker-conf for JRMPContainerInvoker
+	-->
+<!ELEMENT RMIClientSocketFactory (#PCDATA)>
+
+<!--
+	The RMIServerSocketFactory element indicates the use of a custom
+	socket factory that should be used by RMI objects created by
+	this container. The combination of socket factory type and port
+	must be unique but more than one container can use the same
+	socket factory, port combination.
+
+        Its value must be the fully qualified name of the class that
+	implements the java.rmi.server.RMIServerSocketFactory interface,
+	and the class must be available to the JBoss class loader.
+	If this element is not specified the default VM server socket
+	factory will be used.
+
+        Used in: container-invoker-conf for JRMPContainerInvoker
+	-->
+<!ELEMENT RMIServerSocketFactory (#PCDATA)>
+
+<!--
+      The container-cache-conf element holds dynamic configuration data
+      for the instance cache.
+      jboss does not read directly the subtree for this element: instead,
+      it is passed to the instance cache instance (if it implements
+      org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+      The default instance caches, NoPassivationEntityInstanceCache and
+      NoPassivationStatefulSessionInstanceCache, have no configuration
+      available.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT container-cache-conf (cache-policy? , cache-policy-conf?)>
+
+<!--
+        The implementation class for the cache policy, which controls
+        when instances will be passivated, etc.
+
+        Used in: container-cache-conf
+	-->
+<!ELEMENT cache-policy (#PCDATA)>
+
+<!--
+	The configuration settings for the selected cache policy.  This
+	is currently only valid for the LRU cache.
+
+        Used in: container-cache-conf (when cache-policy is the LRU cache)
+	-->
+<!ELEMENT cache-policy-conf (min-capacity , max-capacity , overager-period , resizer-period , max-bean-age , max-cache-miss-period , min-cache-miss-period , cache-load-factor)>
+
+<!--
+	  The minimum capacity of this cache
+	  -->
+<!ELEMENT min-capacity (#PCDATA)>
+
+<!--
+	  The maximum capacity of this cache
+	  -->
+<!ELEMENT max-capacity (#PCDATA)>
+
+<!--
+	  The period of the overager's runs
+	  -->
+<!ELEMENT overager-period (#PCDATA)>
+
+<!--
+	  The period of the resizer's runs
+	  -->
+<!ELEMENT resizer-period (#PCDATA)>
+
+<!--
+	  The age after which a bean is automatically passivated
+	  -->
+<!ELEMENT max-bean-age (#PCDATA)>
+
+<!--
+	  Shrink cache capacity if there is a cache miss every or more
+	  this member's value
+	  -->
+<!ELEMENT max-cache-miss-period (#PCDATA)>
+
+<!--
+	  Enlarge cache capacity if there is a cache miss every or less
+	  this member's value
+	  -->
+<!ELEMENT min-cache-miss-period (#PCDATA)>
+
+<!--
+	  The resizer will always try to keep the cache capacity so that
+	  the cache is this member's value loaded of cached objects
+	  -->
+<!ELEMENT cache-load-factor (#PCDATA)>
+
+<!--
+      The container-pool-conf element holds configuration data for the
+      instance pool.
+      jboss does not read directly the subtree for this element: instead,
+      it is passed to the instance pool instance (if it implements
+      org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+      The default instance pools, EntityInstancePool and
+      StatelessSessionInstancePool, both accept the following configuration.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT container-pool-conf (MaximumSize , feeder-policy , feeder-policy-conf)>
+
+<!--
+        The capacity of the Pool.  The pool feeder will feed the pool with new
+        instances, the pool size being limited by this value.  For pools where
+        reclaim is possible, the pool will also be feed when the instance is
+        free to be reused.
+        This is not an hard limit, if instances are needed when the pool is at
+        its MaximumSize, new instances will be created following the demand.
+
+        Used in: container-pool-conf
+        -->
+<!ELEMENT MaximumSize (#PCDATA)>
+
+<!--
+        This element is only valid if the instance pool is a subclass of
+        AbstractInstancePool.
+
+        The feeder-policy element gives the Class that implements InstancePoolFeeder
+        and is responsible to feed the pool with new instances of bean.
+        If not present, no thread are started and the pool will have a size of 1.
+
+        TimedInstancePoolFeeder is the first implementation available.
+
+        Used in: container-pool-conf for AbstractInstancePool subclasses
+        -->
+<!ELEMENT feeder-policy (#PCDATA)>
+
+<!--
+        This element describes properties that the InstancePoolFeeder implementation
+        will read to configure itself (XmlLoadable).
+
+        Note: the 3 attributes are hardcoded here for TimedInstancePoolFeeder.
+
+        Used in: container-pool-conf for InstancePoolFeeder implementations
+        -->
+<!ELEMENT feeder-policy-conf (increment , period)>
+
+<!--
+        The pool feeder will feed the pool with this number of new instances at
+        a regular period.
+
+        Used in: feeder-policy-conf
+        -->
+<!ELEMENT increment (#PCDATA)>
+
+<!--
+        The interval of time (in milliseconds) the pool feeder look if the pool
+        has come to its maximum size (capacity) and if not, will feed it with
+        a particular number of new instances (increment).
+
+        Used in: feeder-policy-conf
+        -->
+<!ELEMENT period (#PCDATA)>
+
+<!--
+      This option is only used for entity container configurations.
+
+      The commit-option element tells the container which option to use for transactions.
+      Its value must be A, B or C.
+
+      - option A: the entiry instance has exclusive access to the database. The instance
+      stays ready after a transaction.
+      - option B: the entity instance does not have exclusive access to the database.
+      The state is loaded before the next transaction.
+      - option C: same as B, except the container does not keep the instance after commit:
+      a passivate is immediately performed after the commit.
+
+      See ejb1.1 specification for details (p118).
+
+      Used in: container-configuration
+      -->
+<!ELEMENT commit-option (#PCDATA)>
+
+<!--
+      The role-mapping-manager element specifies the JNDI name of the
+      org.jboss.security.RealmMapping implementation that is to be used by the
+      container SecurityInterceptor.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT role-mapping-manager (#PCDATA)>
+
+<!--
+      The authentication-module element specifies the JNDI name of the
+      org.jboss.security.EJBSecurityManager implementation that is to be used
+      by the container SecurityInterceptor.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT authentication-module (#PCDATA)>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_2_4.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_2_4.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_2_4.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,857 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+This is the XML DTD for the JBoss 2.4 EJB deployment descriptor.
+The DOCTYPE is:
+  <!DOCTYPE jboss PUBLIC
+      "-//JBoss//DTD JBOSS 2.4//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_2_4.dtd">
+
+$Id: jboss_2_4.dtd 23138 2004-08-22 08:08:27Z pilhuhn $
+$Revision: 23138 $
+
+Overview of the architecture of jboss.xml
+
+<jboss>
+
+  <enforce-ejb-restrictions />
+  <security-domain />
+  <unauthenticated-principal />
+
+  <enterprise-beans>
+
+    <entity>
+      <ejb-name />
+      <jndi-name />
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+      <clustered />
+    </entity>
+
+    <session>
+      <ejb-name />
+      <jndi-name />
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+      <clustered />
+    </session>
+
+  </enterprise-beans>
+
+  <resource-managers>
+
+    <resource-manager>
+      <res-name />
+      <res-jndi-name />
+    </resource-manager>
+
+    <resource-manager>
+      <res-name />
+      <res-url />
+    </resource-manager>
+
+  </resource-managers>
+
+  <container-configurations>
+
+    <container-configuration>
+      <container-name />
+      <container-invoker />
+      <container-interceptors />
+      <instance-pool />
+      <instance-cache />
+      <persistence-manager />
+      <transaction-manager />
+      <locking-policy />
+      <container-invoker-conf />
+      <container-cache-conf />
+      <container-pool-conf />
+      <commit-option />
+      <optiond-refresh-rate />
+      <security-domain/>
+    </container-configuration>
+
+  </container-configurations>
+
+</jboss>
+-->
+<!--
+The jboss element is the root element of the jboss.xml file. It
+contains all the information used by jboss but not described in the
+ejb-jar.xml file. All of it is optional.
+
+1- the application assembler can define custom container configurations
+for the beans. Standard configurations are provided in standardjboss.xml
+2- the deployer can override the jndi names under which the beans are
+deployed
+3- the deployer can specify runtime jndi names for resource managers.
+
+-->
+<!ELEMENT jboss (enforce-ejb-restrictions? , security-domain? , unauthenticated-principal? , enterprise-beans? , resource-managers? , container-configurations?)>
+
+<!--
+  The enforce-ejb-restrictions element tells the container to enforce ejb1.1 restrictions
+  It must be one of the following :
+     <enforce-ejb-restrictions>true</enforce-ejb-restrictions>
+     <enforce-ejb-restrictions>false</enforce-ejb-restrictions>
+
+  Used in: jboss
+  -->
+<!ELEMENT enforce-ejb-restrictions (#PCDATA)>
+
+<!-- The security-domain element specifies the JNDI name of the security
+manager that implements the EJBSecurityManager and RealmMapping for
+the domain. When specified at the jboss level it specifies the security
+domain for all j2ee components in the deployment unit.
+One can override the global security-domain at the container
+level using the security-domain element at the container-configuration
+level.
+
+  Used in: jboss, container-configuration
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!-- The unauthenticated-principal element specifies the name of the principal
+that will be returned by the EJBContext.getCallerPrincipal() method if there
+is no authenticated user. This Principal has no roles or privaledges to call
+any other beans.
+-->
+<!ELEMENT unauthenticated-principal (#PCDATA)>
+
+<!--
+  The enterprise-beans element contains additional information about
+  the beans. These informations, such as jndi names, resource managers and
+  container configurations, are specific to jboss and not described in
+  ejb-jar.xml.
+
+  jboss will provide a standard behaviour if no enterprise-beans element
+  is found, see container-configurations, jndi-name and resource-managers
+  for defaults.
+
+  Used in: jboss
+  -->
+<!ELEMENT enterprise-beans (session | entity | message-driven)+>
+
+<!--
+    The entity element holds information specific to jboss and not declared
+    in ejb-jar.xml about an entity bean, such as jndi name, container
+    configuration, and resource managers. (see tags for details)
+    The bean should already be declared in ejb-jar.xml, with the same
+    ejb-name.
+
+    Used in: enterprise-beans
+    -->
+<!ELEMENT entity (ejb-name , jndi-name? , configuration-name? , security-proxy? , ejb-ref* , resource-ref* , resource-env-ref* , clustered? , cluster-config? )>
+
+<!--
+    The session element holds information specific to jboss and not declared
+    in ejb-jar.xml about a session bean, such as jndi name, container
+    configuration, and resource managers. (see tags for details)
+    The bean should already be declared in ejb-jar.xml, with the same
+    ejb-name.
+
+    Used in: enterprise-beans
+    -->
+<!ELEMENT session (ejb-name , jndi-name? , configuration-name? , security-proxy? , ejb-ref* , resource-ref* , resource-env-ref* , clustered? , cluster-config? )>
+
+<!--
+    The message-driven element holds information specific to jboss and not declared
+    in ejb-jar.xml about a message-driven bean, such as container
+    configuration and resources.
+    The bean should already be declared in ejb-jar.xml, with the same
+    ejb-name.
+
+    Used in: enterprise-beans
+    -->
+<!ELEMENT message-driven (ejb-name , destination-jndi-name , configuration-name? , security-proxy? , ejb-ref* , resource-ref* , resource-env-ref*)>
+
+<!--
+      The ejb-name element gives the name of the bean, it must correspond to
+      an ejb-name element in ejb-jar.xml
+
+      Used in: entity, session, and message-driven
+      -->
+<!ELEMENT ejb-name (#PCDATA)>
+
+<!--
+      The jndi-name element gives the actual jndi name under which the bean will
+      be deployed. It is provided by the deployer. If not, jboss will assume
+      "jndi-name" = "ejb-name"
+
+      Used in: entity and session
+      -->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!--
+      The configuration-name element gives the name of the container
+      configuration for this bean. It must match one of the container-name
+      tags in the container-configurations section, or one of the standard
+      configurations. If none is provided, jboss will automatically use the
+      right standard configuration, see container-configurations.
+
+      Used in: entity, session, and message-driven
+      -->
+<!ELEMENT configuration-name (#PCDATA)>
+
+<!ELEMENT destination-jndi-name (#PCDATA)>
+
+<!-- The security-proxy gives the class name of the security proxy implementation.
+	This may be an instance of org.jboss.security.SecurityProxy, or an
+	just an object that implements methods in the home or remote interface
+	of an EJB without implementating any common interface.
+
+      Used in: entity, session, and message-driven
+-->
+<!ELEMENT security-proxy (#PCDATA)>
+
+<!--
+      The ejb-ref element is used to give the jndi-name of an external
+      ejb reference. In the case of an external ejb reference, you don't
+      provide a ejb-link element in ejb-jar.xml, but you provide a jndi-name
+      in jboss.xml
+
+      Used in: entity, session, and message-driven
+      -->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!--
+        The ejb-ref-name element is the name of the ejb reference as given in
+        ejb-jar.xml.
+
+        Used in: ejb-ref
+        -->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--
+        The jndi-name element gives the deployed name of the reference. The
+        general form is
+           <jndi-name>t3://otherserver/application/beanB</jndi-name>
+
+        Used in: ejb-ref
+
+	(It's commented out here because it appears above and you
+         can't declare an element more than once per DTD)
+        -->
+<!--    <!ELEMENT jndi-name (#PCDATA)> -->
+<!--
+      The resource-env-ref element gives a mapping between the "code name"
+      of a env resource (res-ref-name, provided by the Bean Developper) and
+      its deployed JNDI name.
+
+      Used in: session, entity, message-driven
+      -->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!--
+        The resource-env-ref-name element gives the "code name" of a resource. It is
+        provided by the Bean Developper. See resource-managers for the actual
+
+        Used in: resource-env-ref
+        -->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--
+      The clustered element indicates if this bean will run in a cluster of JBoss instances.
+      It is provided by the deployer. If not, jboss will assume clustered = False
+      Possible values: "True", "False" (default)
+
+      Used in: entity and session
+      -->
+<!ELEMENT clustered (#PCDATA)>
+
+<!--
+      The cluster-config element allows to specify cluster specific settings.
+      WARNING: session-state-manager-jndi-name is only for SFSB.
+
+      Used in: session, entity
+      -->
+<!ELEMENT cluster-config (partition-name? , home-load-balance-policy? , bean-load-balance-policy? , session-state-manager-jndi-name? )>
+
+<!--
+      The partition-name element indicates the name of the HAPartition to be used
+      by the container to exchange clustering information. This is a name and *not*
+      a JNDI name. Given name will be prefixed by "/HASessionState/" by the container to get
+      the actual JNDI name of the HAPartition. If not, jboss will assume partition-name = "DefaultPartition".
+
+      Used in: entity and session (in clustered-config element)
+      -->
+<!ELEMENT partition-name (#PCDATA)>
+
+<!--
+      The home-load-balance-policy element indicates the java class name to be used
+      to load balance calls in the home proxy.
+      If not, jboss will assume home-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin".
+
+      Used in: entity and session (in clustered-config element)
+      -->
+<!ELEMENT home-load-balance-policy (#PCDATA)>
+
+<!--
+      The bean-load-balance-policy element indicates the java class name to be used
+      to load balance calls in the bean proxy.
+      If not, jboss will assume :
+       - for EB and SFSB : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin"
+       - for SLSB        : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin"
+
+      Used in: entity and session (in clustered-config element)
+      -->
+<!ELEMENT bean-load-balance-policy (#PCDATA)>
+
+<!--
+      The session-state-manager-jndi-name element indicates the name of the HASessionState to be used
+      by the container as a backend for state session management in the cluster.
+      This *is* a JNDI name (not like the partition-name element).
+      If not, jboss will assume partition-name = "/HASessionState/Default".
+
+      Used in: session (in clustered-config element)
+      -->
+<!ELEMENT session-state-manager-jndi-name (#PCDATA)>
+
+<!--
+        The jndi-name element gives the deployed name of the reference. The
+        general form is
+           <jndi-name>t3://otherserver/application/beanB</jndi-name>
+
+        Used in: ejb-ref
+
+	(It's commented out here because it appears above and you
+         can't declare an element more than once per DTD)
+        -->
+<!--    <!ELEMENT jndi-name (#PCDATA)> -->
+<!--
+      The resource-ref element gives a mapping between the "code name"
+      of a resource (res-ref-name, provided by the Bean Developper) and
+      its "xml name" (resource-name, provided by the Application Assembler).
+      If no resource-ref is provided, jboss will assume that
+      "xml-name" = "code name"
+
+      See resource-managers.
+
+      Used in: entity, session, and message-driven
+      -->
+<!ELEMENT resource-ref (res-ref-name , (resource-name | jndi-name | res-url))>
+
+<!--
+        The res-ref-name element gives the "code name" of a resource. It is
+        provided by the Bean Developper. See resource-managers for the actual
+        configuration of the resource.
+
+        Used in: resource-ref
+        -->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+        The resource-name element gives the "xml name" of the resource. It is
+        provided by the Application Assembler. See resource-managers for the
+        actual configuration of the resource.
+
+        Used in: resource-ref
+        -->
+<!ELEMENT resource-name (#PCDATA)>
+
+<!--
+  The resource-managers element is used to declare resource managers.
+
+  A resource has 3 names:
+  - the "code name" is the name used in the code of the bean, supplied by
+    the Bean Developper in the resource-ref section of the ejb-jar.xml file
+
+  - the "xml name" is an intermediary name used by the Application Assembler
+    to identify resources in the XML file.
+
+  - the "runtime jndi name" is the actual jndi-name or url of the deployed
+    resource, it is supplied by the Deployer.
+
+  The mapping between the "code name" and the "xml name" is given
+  in the resource-ref section for the bean. If not, jboss will assume that
+  "xml name" = "code name".
+
+  The mapping between the "xml name" and the "runtime jndi name" is given in
+  a resource-manager section. If not, and if the datasource is of type
+  javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the jndi
+  tree.
+
+  Used in: jboss
+  -->
+<!ELEMENT resource-managers (resource-manager*)>
+
+<!--
+    The resource-manager element is used to provide a mapping between the
+    "xml name" of a resource (res-name) and its "runtime jndi name"
+    (res-jndi-name or res-url according to the type of the resource).
+    If it is not provided, and if the type of the resource is
+    javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the
+    jndi tree.
+
+    See resource-managers.
+
+    Used in: resource-managers
+    -->
+<!ELEMENT resource-manager (res-name , (res-jndi-name | res-url))>
+
+<!--
+      The res-name element gives the "xml name" of a resource, it is provided
+      by the Application Assembler. See resource-managers.
+
+      Used in: resource-manager
+      -->
+<!ELEMENT res-name (#PCDATA)>
+
+<!--
+      The res-jndi-name element is the "deployed jndi name" of a resource, it
+      is provided by the Deployer. See resource-managers.
+
+      Used in: resource-manager
+      -->
+<!ELEMENT res-jndi-name (#PCDATA)>
+
+<!--
+      The res-url element is the "runtime jndi name" as a url of the resource.
+      It is provided by the Deployer. See resource-managers.
+
+      Used in: resource-manager
+      -->
+<!ELEMENT res-url (#PCDATA)>
+
+<!--
+  The container-configurations element declares the different possible
+  container configurations that the beans can use. standardjboss.xml
+  provides 4 standard configurations with the following container-names:
+   - Standard CMP EntityBean
+   - Standard BMP EntityBean
+   - Standard Stateless SessionBean
+   - Standard Stateful SessionBean
+
+  These standard configurations will automatically be used if no custom
+  configuration is specified.
+
+  The application assembler can define advanced custom configurations here.
+
+  Used in: jboss
+  -->
+<!ELEMENT container-configurations (container-configuration*)>
+
+<!--
+    The container-configuration element describes a configuration for the
+    container.
+    The different plugins to use are declared here, as well as their
+    configurations. The configuration-class attribute is no longer used.
+
+    Used in: container-configurations
+    -->
+<!ELEMENT container-configuration (container-name , call-logging? , container-invoker? , container-interceptors? , instance-pool? , instance-cache? , persistence-manager? , transaction-manager? , locking-policy? , container-invoker-conf? , container-cache-conf? , container-pool-conf? , commit-option? , optiond-refresh-rate? , (security-domain | (role-mapping-manager , authentication-module))?)>
+
+<!--
+    The configuration-class attribute is used to indicate the
+    implementation class that will be loaded for this configuration.
+    This usually indicates what type of bean the configuration
+    applies to.
+    -->
+<!ATTLIST container-configuration configuration-class CDATA  #IMPLIED>
+
+<!--
+      The container-name element gives the name of the configuration being
+      defined. Beans may refer to this name in their configuration-name tag.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT container-name (#PCDATA)>
+
+<!--
+      The call-logging element tells if the container must log every method
+      invocation for this bean or not. Its value must be true or false.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT call-logging (#PCDATA)>
+
+<!--
+      The container-invoker element gives the class name of the container
+      invoker jboss must use for in this configuration. This class must
+      implement the org.jboss.ejb.ContainerInvoker interface. The default is
+      org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker, it may be
+      changed to org.jboss.ejb.plugins.jrmp12.server.JRMPContainerInvoker if
+      no 1.3 VM is available
+
+      Used in: container-configuration
+      -->
+<!ELEMENT container-invoker (#PCDATA)>
+
+<!-- The container-interceptors element gives the chain of Interceptors
+(instances of org.jboss.ejb.Interceptor) that are associated with the container.
+The declared order of the interceptor elements corresponds to the order of the
+interceptor chain.
+
+Used in: container-configuration
+-->
+<!ELEMENT container-interceptors (interceptor+)>
+
+<!-- The interceptor element specifies an instance of org.jboss.ejb.Interceptor
+that is to be added to the container interceptor stack.
+
+Used in: container-interceptors
+-->
+<!ELEMENT interceptor (#PCDATA)>
+
+<!-- The transaction attribute is used to indicate what type of container its
+interceptor applies to. It is an enumerated value that can take on one of: Bean,
+Container or Both. A value of Bean indicates that the interceptor should only be
+added to a container for bean-managed transaction.
+A value of Container indicates that the interceptor should only be added to a
+container for container-managed transactions.
+A value of Both indicates that the interceptor should be added to all
+containers. This is the default value if the transaction attribute is not
+explictlygiven.
+-->
+<!ATTLIST interceptor transaction     (Bean | Container | Both )  "Both">
+
+<!-- The metricsEnabled attributes is used to indicate if the interceptor
+should only be included when the org.jboss.ejb.ContainerFactory metricsEnabled
+flag is set to true. The allowed values are true and false with false being the
+default if metricsEnabled is not explicitly given.
+-->
+<!ATTLIST interceptor metricsEnabled  (true | false )  "false">
+
+<!--
+      The instance-pool element gives the class name of the instance pool
+      jboss must use for in this configuration. This class must implement
+      the org.jboss.ejb.InstancePool interface. The defaults are:
+      - org.jboss.ejb.plugins.EntityInstancePool for entity beans
+      - org.jboss.ejb.plugins.StatelessSessionInstancePool for stateless
+      session beans.
+      - no pool is used for stateful session beans
+
+      Used in: container-configuration
+      -->
+<!ELEMENT instance-pool (#PCDATA)>
+
+<!--
+      The instance-cache element gives the class name of the instance cache
+      jboss must use for in this configuration. This class must implement
+      the org.jboss.ejb.InstanceCache interface. The defaults are:
+      - org.jboss.ejb.plugins.NoPassivationEntityInstanceCache for entity beans
+      - org.jboss.ejb.plugins.NoPassivationStatefulSessionInstanceCache for
+      stateful session beans.
+      - no cache is used for stateless session beans
+
+      Used in: container-configuration
+      -->
+<!ELEMENT instance-cache (#PCDATA)>
+
+<!--
+      The persistence-manager element gives the class name of the persistence
+      manager / persistence store jboss must use for in this configuration.
+      This class must implement:
+      - org.jboss.ejb.EntityPersistenceStore for CMP Entity Beans (default is
+      org.jboss.ejb.plugins.jaws.JAWSPersistenceManager)
+      - org.jboss.ejb.EntityPersistenceManager for BMP entity beans (default
+      is org.jboss.ejb.plugins.BMPPersistenceManager)
+      - org.jboss.ejb.StatefulSessionPersistenceManager for stateless session
+      beans.
+      - no persistence-manager is used for stateless session beans
+
+      Used in: container-configuration
+      -->
+<!ELEMENT persistence-manager (#PCDATA)>
+
+<!--
+      The locking-policy element gives the class name of the EJB lock
+     implementation JBoss must use for in this configuration. This class must
+     implement  the org.jboss.ejb.BeanLock interface. The default is
+      org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT transaction-manager (#PCDATA)>
+
+<!--
+      The transaction-manager element gives the class name of the transaction
+      manager jboss must use for in this configuration. This class must implement
+      the javax.transaction.TransactionManager interface. The default is
+      org.jboss.tm.TxManager.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT locking-policy (#PCDATA)>
+
+<!--
+      The container-invoker-conf element holds configuration data for the
+      container invoker.
+      jboss does not read directly the subtree for this element: instead,
+      it is passed to the container invoker instance (if it implements
+      org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+      The Optimized tag described here only relates to the default container
+      invoker, JRMPContainerInvoker.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT container-invoker-conf (JMSProviderAdapterJNDI? , ServerSessionPoolFactoryJNDI? , MaximumSize? , MaxMessages? , RMIObjectPort? , Optimized , RMIClientSocketFactory? , RMIServerSocketFactory? , RMIServerSocketAddr?)>
+
+<!--
+        This element is only valid if the container invoker is
+        JRMPContainerInvoker.
+
+        The Optimized element tells if the container invoker to bypass RMI layers
+        when the client is local (same VM as the server). This optimizes RMI calls.
+        Its value must be true or false.
+
+        Used in: container-invoker-conf for JRMPContainerInvoker
+        -->
+<!ELEMENT Optimized (#PCDATA)>
+
+<!--
+	The RMIObjectPort element indicates what port the RMI objects
+	created by this container should listen on.  Any number of objects
+	in the same VM can use the same port.  However, objects in
+	different VMs cannot use the same port.  You may set this value
+	to 0 to use anyonmous ports (that is, each object just picks a
+	free port to use).  If you want to run jBoss more than once on
+	the same machine, you must either create separate configurations
+	with separate ports, or set all the configurations to use
+	anonymous port.  The standard jBoss setting is "4444".
+
+        Its value must an integer (0, or a valid port number).  Note that
+	normal user on a UNIX system cannot access privileged ports (<1024)
+
+        Used in: container-invoker-conf for JRMPContainerInvoker
+	-->
+<!ELEMENT RMIObjectPort (#PCDATA)>
+
+<!--
+	The RMIClientSocketFactory element indicates the use of a custom
+	socket factory that should be used by RMI objects created by
+	this container. The combination of socket factory type and port
+	must be unique but more than one container can use the same
+	socket factory, port combination.
+
+        Its value must be the fully qualified name of the class that
+	implements the java.rmi.server.RMIClientSocketFactory interface,
+	and the class must be available to the JBoss class loader.
+	If this element is not specified the default VM client socket
+	factory will be used.
+
+        Used in: container-invoker-conf for JRMPContainerInvoker
+	-->
+<!ELEMENT RMIClientSocketFactory (#PCDATA)>
+
+<!--
+	The RMIServerSocketFactory element indicates the use of a custom
+	socket factory that should be used by RMI objects created by
+	this container. The combination of socket factory type and port
+	must be unique but more than one container can use the same
+	socket factory, port combination.
+
+        Its value must be the fully qualified name of the class that
+	implements the java.rmi.server.RMIServerSocketFactory interface,
+	and the class must be available to the JBoss class loader.
+	If this element is not specified the default VM server socket
+	factory will be used.
+
+        Used in: container-invoker-conf for JRMPContainerInvoker
+	-->
+<!ELEMENT RMIServerSocketFactory (#PCDATA)>
+
+<!--
+	The RMIServerSocketAddr element specifies the address on which the
+     RMI objects should be bound.
+
+     Its value is the interface address as a dot decimal IP address or
+     hostname.
+
+        Used in: container-invoker-conf for JRMPContainerInvoker
+	-->
+<!ELEMENT RMIServerSocketAddr (#PCDATA)>
+
+<!ELEMENT JMSProviderAdapterJNDI (#PCDATA)>
+
+<!ELEMENT ServerSessionPoolFactoryJNDI (#PCDATA)>
+
+<!ELEMENT MaxMessages (#PCDATA)>
+
+<!--
+      The container-cache-conf element holds dynamic configuration data
+      for the instance cache.
+      jboss does not read directly the subtree for this element: instead,
+      it is passed to the instance cache instance (if it implements
+      org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT container-cache-conf (cache-policy? , cache-policy-conf?)>
+
+<!--
+        The implementation class for the cache policy, which controls
+        when instances will be passivated, etc.
+
+        Used in: container-cache-conf
+	-->
+<!ELEMENT cache-policy (#PCDATA)>
+
+<!--
+	The configuration settings for the selected cache policy.  This
+	is currently only valid for the LRU cache.
+	When the cache is the LRU one for the stateful container, the elements
+	remover-period and max-bean-life specifies the period of the remover
+	task that removes stateful beans (that normally have been passivated)
+	that have age greater than the specified max-bean-life element.
+
+        Used in: container-cache-conf (when cache-policy is the LRU cache)
+	-->
+<!ELEMENT cache-policy-conf (min-capacity , max-capacity , remover-period? , max-bean-life? , overager-period , max-bean-age , resizer-period , max-cache-miss-period , min-cache-miss-period , cache-load-factor)>
+
+<!--
+	  The minimum capacity of this cache
+	  -->
+<!ELEMENT min-capacity (#PCDATA)>
+
+<!--
+	  The maximum capacity of this cache
+	  -->
+<!ELEMENT max-capacity (#PCDATA)>
+
+<!--
+	  The period of the overager's runs
+	  -->
+<!ELEMENT overager-period (#PCDATA)>
+
+<!--
+	  The period of the remover's runs
+	  -->
+<!ELEMENT remover-period (#PCDATA)>
+
+<!--
+	The max-bean-life specifies the period of the remover
+	task that removes stateful beans (that normally have been passivated)
+	that have age greater than the specified max-bean-life element.
+	-->
+<!ELEMENT max-bean-life (#PCDATA)>
+
+<!--
+	  The period of the resizer's runs
+	  -->
+<!ELEMENT resizer-period (#PCDATA)>
+
+<!--
+	  The age after which a bean is automatically passivated
+	  -->
+<!ELEMENT max-bean-age (#PCDATA)>
+
+<!--
+	  Shrink cache capacity if there is a cache miss every or more
+	  this member's value
+	  -->
+<!ELEMENT max-cache-miss-period (#PCDATA)>
+
+<!--
+	  Enlarge cache capacity if there is a cache miss every or less
+	  this member's value
+	  -->
+<!ELEMENT min-cache-miss-period (#PCDATA)>
+
+<!--
+	  The resizer will always try to keep the cache capacity so that
+	  the cache is this member's value loaded of cached objects
+	  -->
+<!ELEMENT cache-load-factor (#PCDATA)>
+
+<!--
+      The container-pool-conf element holds configuration data for the
+      instance pool.
+      jboss does not read directly the subtree for this element: instead,
+      it is passed to the instance pool instance (if it implements
+      org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+      The default instance pools, EntityInstancePool and
+      StatelessSessionInstancePool, both accept the following MaximumSize
+      configuration.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT container-pool-conf ((MaximumSize , MinimumSize) | Synchronized)>
+
+<!--
+        This element is only valid if the instance pool is a subclass of
+        AbstractInstancePool.
+
+        The MaximumSize element gives the maximum number of instance to
+        keep in the pool. Its value must be an integer.
+
+        Used in: container-pool-conf for AbstractInstancePool subclasses
+        -->
+<!ELEMENT MaximumSize (#PCDATA)>
+
+<!--
+        This element is only valid if the instance pool is a subclass of
+        AbstractInstancePool.
+
+        The MinimumSize element gives the minimum number of instance to
+        keep in the pool. Its value must be an integer.
+
+        Used in: container-pool-conf for AbstractInstancePool subclasses
+        -->
+<!ELEMENT MinimumSize (#PCDATA)>
+
+<!--
+         This element is only valid if the instance pool is
+StatelessSessionInstancePool.
+
+         The Synchronized element instructs the the pool to synchronize
+calls to the Session bean.
+         Its value must be true or false.
+
+         Used in: container-pool-conf for StatelessSessionInstancePool
+ -->
+<!ELEMENT Synchronized (#PCDATA)>
+
+<!--
+      This option is only used for entity container configurations.
+
+      The commit-option element tells the container which option to use for transactions.
+      Its value must be A, B C, or D.
+
+      - option A: the entiry instance has exclusive access to the database. The instance
+      stays ready after a transaction.
+      - option B: the entity instance does not have exclusive access to the database.
+      The state is loaded before the next transaction.
+      - option C: same as B, except the container does not keep the instance after commit:
+      a passivate is immediately performed after the commit.
+
+      - option D: a lazy update. default is every 30 secs.
+                   can be updated with <optiond-refresh-rate>
+
+      See ejb1.1 specification for details (p118).
+
+      Used in: container-configuration
+      -->
+<!ELEMENT commit-option (#PCDATA)>
+
+<!--
+    This element is used to specify the refresh rate of commit option d
+  -->
+<!ELEMENT optiond-refresh-rate (#PCDATA)>
+
+<!--
+      The role-mapping-manager element specifies the JNDI name of the
+      org.jboss.security.RealmMapping implementation that is to be used by the
+      container SecurityInterceptor. Its use is deprecated in favor of the
+      security-domain element.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT role-mapping-manager (#PCDATA)>
+
+<!--
+      The authentication-module element specifies the JNDI name of the
+      org.jboss.security.EJBSecurityManager implementation that is to be used
+      by the container SecurityInterceptor. Its use is deprecated in favor of
+      the security-domain element.
+
+      Used in: container-configuration
+      -->
+<!ELEMENT authentication-module (#PCDATA)>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_3_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_3_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_3_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,975 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--Generated by XML Authority-->
+
+<!--
+This is the XML DTD for the JBoss 3.0 EJB deployment descriptor.
+The DOCTYPE is:
+  <!DOCTYPE jboss PUBLIC
+      "-//JBoss//DTD JBOSS 3.0//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">
+
+$Id: jboss_3_0.dtd 23138 2004-08-22 08:08:27Z pilhuhn $
+$Revision: 23138 $
+
+Overview of the architecture of jboss.xml
+
+<jboss>
+
+  <enforce-ejb-restrictions />
+  <security-domain />
+  <unauthenticated-principal />
+
+  <enterprise-beans>
+
+    <entity>
+      <ejb-name />
+      <jndi-name />
+      <local-jndi-name />
+      <read-only> 
+      <home-invoker>
+      <bean-invoker>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+      <resource-env-ref>
+      <clustered />
+      <cluster-config>
+    </entity>
+
+    <session>
+      <ejb-name />
+      <jndi-name />
+      <local-jndi-name />
+      <home-invoker>
+      <bean-invoker>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+      <resource-env-ref>
+      <clustered />
+      <cluster-config>
+    </session>
+
+    <message-driven>
+      <ejb-name>
+      <destination-jndi-name>
+      <mdb-user>
+      <mdb-passwd>
+      <mdb-client-id>
+      <mdb-subscription-id>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <resource-ref>
+      <resource-env-ref>
+    </message-driven>
+
+  </enterprise-beans>
+
+  <resource-managers>
+
+    <resource-manager>
+      <res-name />
+      <res-jndi-name />
+    </resource-manager>
+
+    <resource-manager>
+      <res-name />
+      <res-url />
+    </resource-manager>
+
+  </resource-managers>
+
+  <container-configurations>
+
+    <container-configuration>
+      <container-name />
+      <container-invoker />
+      <container-interceptors />
+      <client-interceptors />
+      <instance-pool />
+      <instance-cache />
+      <persistence-manager />
+      <transaction-manager />
+      <web-class-loader />
+      <locking-policy />
+      <container-invoker-conf />
+      <container-cache-conf />
+      <container-pool-conf />
+      <commit-option />
+      <optiond-refresh-rate />
+      <security-domain/>
+    </container-configuration>
+
+  </container-configurations>
+
+</jboss>
+-->
+<!--
+  The jboss element is the root element of the jboss.xml file. It
+  contains all the information used by jboss but not described in the
+  ejb-jar.xml file. All of it is optional.
+  
+  1- the application assembler can define custom container configurations
+  for the beans. Standard configurations are provided in standardjboss.xml
+  2- the deployer can override the jndi names under which the beans are
+  deployed
+  3- the deployer can specify runtime jndi names for resource managers.
+
+-->
+<!ELEMENT jboss (enforce-ejb-restrictions? , security-domain? ,
+ unauthenticated-principal? , enterprise-beans? , resource-managers? ,
+ container-configurations?)>
+
+<!--
+  The enforce-ejb-restrictions element tells the container to enforce ejb1.1 restrictions
+  It must be one of the following :
+    <enforce-ejb-restrictions>true</enforce-ejb-restrictions>
+    <enforce-ejb-restrictions>false</enforce-ejb-restrictions>
+
+  Used in: jboss
+-->
+<!ELEMENT enforce-ejb-restrictions (#PCDATA)>
+
+<!-- 
+  The security-domain element specifies the JNDI name of the security
+  manager that implements the EJBSecurityManager and RealmMapping for
+  the domain. When specified at the jboss level it specifies the security
+  domain for all j2ee components in the deployment unit.
+  One can override the global security-domain at the container
+  level using the security-domain element at the container-configuration
+  level.
+
+  Used in: jboss, container-configuration
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!-- 
+  The unauthenticated-principal element specifies the name of the principal
+  that will be returned by the EJBContext.getCallerPrincipal() method if there
+  is no authenticated user. This Principal has no roles or privaledges to call
+  any other beans.
+-->
+<!ELEMENT unauthenticated-principal (#PCDATA)>
+
+<!--
+  The enterprise-beans element contains additional information about
+  the beans. These informations, such as jndi names, resource managers and
+  container configurations, are specific to jboss and not described in
+  ejb-jar.xml.
+
+  jboss will provide a standard behaviour if no enterprise-beans element
+  is found, see container-configurations, jndi-name and resource-managers
+  for defaults.
+
+  Used in: jboss
+-->
+<!ELEMENT enterprise-beans (session | entity | message-driven)+>
+
+<!--
+  The entity element holds information specific to jboss and not declared
+  in ejb-jar.xml about an entity bean, such as jndi name, container
+  configuration, and resource managers. (see tags for details)
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+
+  Used in: enterprise-beans
+-->
+<!ELEMENT entity (ejb-name , jndi-name? , local-jndi-name? , read-only? , home-invoker? , bean-invoker? ,
+configuration-name? , security-proxy? , ejb-ref* , resource-ref* , resource-env-ref* ,
+clustered? , cluster-config?, method-attributes?, depends*)>
+
+<!--
+  The session element holds information specific to jboss and not declared
+  in ejb-jar.xml about a session bean, such as jndi name, container
+  configuration, and resource managers. (see tags for details)
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+
+  Used in: enterprise-beans
+-->
+<!ELEMENT session (ejb-name , jndi-name? , local-jndi-name? , home-invoker? , bean-invoker? ,
+configuration-name? , security-proxy? , ejb-ref* , resource-ref* , resource-env-ref* ,
+clustered? , cluster-config?, method-attributes?, depends*)>
+
+<!--
+  The message-driven element holds information specific to jboss and not declared
+  in ejb-jar.xml about a message-driven bean, such as container
+  configuration and resources.
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+  
+  Used in: enterprise-beans
+-->
+<!ELEMENT message-driven (ejb-name , destination-jndi-name , mdb-user? , mdb-passwd? , mdb-client-id?,
+mdb-subscription-id? , configuration-name? , security-proxy? , ejb-ref* , resource-ref* ,
+resource-env-ref*, depends*)>
+
+<!--
+  The ejb-name element gives the name of the bean, it must correspond to
+  an ejb-name element in ejb-jar.xml
+  
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT ejb-name (#PCDATA)>
+
+<!-- 
+  The jndi-name element gives the actual jndi name under which 
+  the bean will be deployed when used in the entity, session and 
+  message-driven elements. If it is not provided jboss will assume 
+  "jndi-name" = "ejb-name" 
+  
+  When used in the ejb-ref, resource-ref, resource-env-ref elements 
+  this specifies the jndi name to which the reference should link. 
+  
+  Used in: entity, session and message-driven 
+    ejb-ref, resource-ref, resource-env-ref 
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!-- 
+  The JNDI name under with the local home interface should be bound
+  
+  Used in: entity and session 
+-->
+<!ELEMENT local-jndi-name (#PCDATA)>
+
+<!--
+  The read-only element flags an entity bean as read only.
+  The bean will never be ejbStored. Defaults to false.
+  It must be one of the following :
+    <read-only>true</read-only>
+    <read-only>false</read-only>
+
+  Used in: entity, method-attributes
+-->
+<!ELEMENT read-only (#PCDATA)>
+
+<!--
+  The home-invoker and bean-invoker elements define the Invoker MBean to use
+  for Home Proxies and Bean Proxies. When specified at the container configuration
+  level this specifies the default invoker for all beans using the container
+  configuration.
+
+  Used in: container-configuration, entity and session
+-->
+<!ELEMENT home-invoker (#PCDATA)>
+
+<!ELEMENT bean-invoker (#PCDATA)>
+
+<!--
+  The configuration-name element gives the name of the container
+  configuration for this bean. It must match one of the container-name
+  tags in the container-configurations section, or one of the standard
+  configurations. If no element is provided, jboss will automatically use the
+  right standard configuration, see container-configurations.
+  
+  Note: unlike earlier releases, this element may not be specified as an
+   empty element to achieve the same effect as not specifying the element.
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT configuration-name (#PCDATA)>
+
+<!-- The depends element gives a JMX ObjectName of a service on which the
+container or ejb depends.
+-->
+<!ELEMENT depends (#PCDATA)>
+
+<!ELEMENT destination-jndi-name (#PCDATA)>
+
+<!ELEMENT mdb-user (#PCDATA)>
+
+<!ELEMENT mdb-passwd (#PCDATA)>
+
+<!ELEMENT mdb-client-id (#PCDATA)>
+
+<!ELEMENT mdb-subscription-id (#PCDATA)>
+
+<!-- The security-proxy gives the class name of the security proxy implementation.
+  This may be an instance of org.jboss.security.SecurityProxy, or an
+  just an object that implements methods in the home or remote interface
+  of an EJB without implementating any common interface.
+
+      Used in: entity, session, and message-driven
+-->
+<!ELEMENT security-proxy (#PCDATA)>
+
+<!--
+  The ejb-ref element is used to give the jndi-name of an external
+  ejb reference. In the case of an external ejb reference, you don't
+  provide a ejb-link element in ejb-jar.xml, but you provide a jndi-name
+  in jboss.xml
+  
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!--
+  The ejb-ref-name element is the name of the ejb reference as given in
+  ejb-jar.xml.
+  
+  Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--
+  The resource-env-ref element gives a mapping between the "code name"
+  of a env resource (res-ref-name, provided by the Bean Developer) and
+  its deployed JNDI name.
+  
+  Used in: session, entity, message-driven
+-->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!--
+  The resource-env-ref-name element gives the "code name" of a resource. It is
+  provided by the Bean Developer.
+  
+  Used in: resource-env-ref
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--
+  The clustered element indicates if this bean will run in a cluster of JBoss instances.
+  It is provided by the deployer. If not, jboss will assume clustered = False
+  Possible values: "True", "False" (default)
+  
+  Used in: entity and session
+-->
+<!ELEMENT clustered (#PCDATA)>
+
+<!--
+  The cluster-config element allows to specify cluster specific settings.
+  WARNING: session-state-manager-jndi-name is only for SFSB.
+  
+  Used in: session, entity
+-->
+<!ELEMENT cluster-config (partition-name? , home-load-balance-policy? , bean-load-balance-policy? ,
+session-state-manager-jndi-name?)>
+
+<!--
+  The partition-name element indicates the name of the HAPartition to be used
+  by the container to exchange clustering information. This is a name and *not*
+  a JNDI name. Given name will be prefixed by "/HASessionState/" by the container to get
+  the actual JNDI name of the HAPartition. If not, jboss will assume partition-name = "DefaultPartition".
+  
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT partition-name (#PCDATA)>
+
+<!--
+  The home-load-balance-policy element indicates the java class name to be used
+  to load balance calls in the home proxy.
+  If not, jboss will assume home-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin".
+  
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT home-load-balance-policy (#PCDATA)>
+
+<!--
+  The bean-load-balance-policy element indicates the java class name to be used
+  to load balance calls in the bean proxy.
+  If not, jboss will assume :
+    - for EB and SFSB : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin"
+    - for SLSB        : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin"
+  
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT bean-load-balance-policy (#PCDATA)>
+
+<!--
+  The session-state-manager-jndi-name element indicates the name of the HASessionState to be used
+  by the container as a backend for state session management in the cluster.
+  This *is* a JNDI name (not like the partition-name element).
+  If not, jboss will assume partition-name = "/HASessionState/Default".
+  
+  Used in: session (in clustered-config element)
+-->
+<!ELEMENT session-state-manager-jndi-name (#PCDATA)>
+
+<!-- The method-attributes element allows for the specification of non-standard
+attributes for the named method(s).
+
+Used in: session and entity
+-->
+<!ELEMENT method-attributes (method-name, read-only?)>
+
+<!-- Specifies a method name or method name pattern
+
+Used in: session and entity
+-->
+<!ELEMENT method-name (#PCDATA)>
+
+<!--
+  The resource-ref element gives a mapping between the "code name"
+  of a resource (res-ref-name, provided by the Bean Developer) and
+  its "xml name" (resource-name, provided by the Application Assembler).
+  If no resource-ref is provided, jboss will assume that
+  "xml-name" = "code name"
+  
+  See resource-managers.
+  
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT resource-ref (res-ref-name , (resource-name | jndi-name | res-url))>
+
+<!--
+  The res-ref-name element gives the "code name" of a resource. It is
+  provided by the Bean Developer. See resource-managers for the actual
+  configuration of the resource.
+  
+  Used in: resource-ref
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+  The resource-name element gives the "xml name" of the resource. It is
+  provided by the Application Assembler. See resource-managers for the
+  actual configuration of the resource.
+  
+  Used in: resource-ref
+-->
+<!ELEMENT resource-name (#PCDATA)>
+
+<!--
+  The resource-managers element is used to declare resource managers.
+  
+  A resource has 3 names:
+  - the "code name" is the name used in the code of the bean, supplied by
+    the Bean Developer in the resource-ref section of the ejb-jar.xml file
+  
+  - the "xml name" is an intermediary name used by the Application Assembler
+    to identify resources in the XML file.
+  
+  - the "runtime jndi name" is the actual jndi-name or url of the deployed
+    resource, it is supplied by the Deployer.
+  
+  The mapping between the "code name" and the "xml name" is given
+  in the resource-ref section for the bean. If not, jboss will assume that
+  "xml name" = "code name".
+  
+  The mapping between the "xml name" and the "runtime jndi name" is given in
+  a resource-manager section. If not, and if the datasource is of type
+  javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the jndi
+  tree.
+  
+  Used in: jboss
+-->
+<!ELEMENT resource-managers (resource-manager*)>
+
+<!--
+  The resource-manager element is used to provide a mapping between the
+  "xml name" of a resource (res-name) and its "runtime jndi name"
+  (res-jndi-name or res-url according to the type of the resource).
+  If it is not provided, and if the type of the resource is
+  javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the
+  jndi tree.
+  
+  See resource-managers.
+  
+  Used in: resource-managers
+-->
+<!ELEMENT resource-manager (res-name , (res-jndi-name | res-url))>
+
+<!--
+  The res-name element gives the "xml name" of a resource, it is provided
+  by the Application Assembler. See resource-managers.
+  
+  Used in: resource-manager
+-->
+<!ELEMENT res-name (#PCDATA)>
+
+<!--
+  The res-jndi-name element is the "deployed jndi name" of a resource, it
+  is provided by the Deployer. See resource-managers.
+  
+  Used in: resource-manager
+-->
+<!ELEMENT res-jndi-name (#PCDATA)>
+
+<!--
+  The res-url element is the "runtime jndi name" as a url of the resource.
+  It is provided by the Deployer. See resource-managers.
+  
+  Used in: resource-manager
+-->
+<!ELEMENT res-url (#PCDATA)>
+
+<!--
+  The container-configurations element declares the different possible
+  container configurations that the beans can use. standardjboss.xml
+  provides 15 standard configurations with the following container-names:
+    - Standard CMP 2.x EntityBean
+    - Standard CMP EntityBean
+    - Clustered CMP 2.x EntityBean
+    - Clustered CMP EntityBean
+    - IIOP CMP 2.x EntityBean
+    - IIOP CMP EntityBean
+    - jdk 1.2.2 CMP EntityBean
+    - Standard Stateless SessionBean
+    - Clustered Stateless SessionBean
+    - IIOP Stateless SessionBean
+    - jdk 1.2.2 Stateless SessionBean
+    - Standard Stateful SessionBean
+    - Clustered Stateful SessionBean
+    - IIOP Stateful SessionBean
+    - jdk 1.2.2 Stateful SessionBean
+    - Standard BMP EntityBean
+    - Clustered BMP EntityBean
+    - IIOP BMP EntityBean
+    - jdk 1.2.2 BMP EntityBean
+    - Standard message Driven Bean
+  
+  The standard configurations will automatically be used if no custom
+  configuration is specified.
+
+  The jdk 1.2.2 configurations are defined for backwards compatability.
+  
+  The application assembler can define advanced custom configurations here.
+  
+  Used in: jboss
+-->
+<!ELEMENT container-configurations (container-configuration*)>
+
+<!--
+  The container-configuration element describes a configuration for the
+  container.
+  The different plugins to use are declared here, as well as their
+  configurations. The configuration-class attribute is no longer used.
+  
+  Used in: container-configurations
+-->
+<!ELEMENT container-configuration (container-name , call-logging? , container-invoker?,
+home-invoker?, bean-invoker?, container-interceptors? , client-interceptors? , instance-pool? ,
+instance-cache? , persistence-manager? , transaction-manager? , web-class-loader? , locking-policy? ,
+container-invoker-conf? , container-cache-conf? , container-pool-conf? , commit-option? ,
+optiond-refresh-rate? , security-domain?, cluster-config?)>
+
+<!-- The extends attribute gives the container-name value of the configuration the container-configuration
+is extending. This allows one to specify an extension configuration without having to reiterate all of
+the other duplicate configuration info.
+
+        <container-configuration extends="Standard Stateful SessionBean">
+            <container-name>Secure Stateless SessionBean</container-name>
+            <security-domain>java:/jaas/other</security-domain>
+        </container-configuration>
+
+-->
+<!ATTLIST container-configuration extends CDATA  #IMPLIED>
+
+<!--
+  The container-name element gives the name of the configuration being
+  defined. Beans may refer to this name in their configuration-name tag.
+  
+  Used in: container-configuration
+-->
+<!ELEMENT container-name (#PCDATA)>
+
+<!--
+  The call-logging element tells if the container must log every method
+  invocation for this bean or not. Its value must be true or false.
+  
+  Used in: container-configuration
+-->
+<!ELEMENT call-logging (#PCDATA)>
+
+<!--
+  The container-invoker element gives the class name of the container
+  invoker jboss must use for in this configuration. This class must
+  implement the org.jboss.ejb.ContainerInvoker interface. The default is
+  org.jboss.proxy.ejb.ProxyFactory for entity and session beans and 
+  org.jboss.ejb.plugins.jms.JMSContainerInvoker for message driven beans.
+  Containers supporting clustering use org.jboss.proxy.ejb.ProxyFactoryHA.
+  
+  Used in: container-configuration
+-->
+<!ELEMENT container-invoker (#PCDATA)>
+
+<!-- 
+  The container-interceptors element gives the chain of Interceptors
+  (instances of org.jboss.ejb.Interceptor) that are associated with the container.
+  The declared order of the interceptor elements corresponds to the order of the
+  interceptor chain.
+  
+  Used in: container-configuration
+-->
+<!ELEMENT container-interceptors (interceptor+)>
+
+<!-- 
+The client-interceptors defines the home and bean client side interceptor chain
+
+  Used in: container-configuration
+-->
+<!ELEMENT client-interceptors (home , bean)>
+
+<!--
+The home element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the home
+proxy and operate in the client VM. The declared order of the interceptor
+elements corresponds to the order of the interceptor chain.
+
+  Used in: client-interceptors
+-->
+<!ELEMENT home (interceptor+)>
+
+<!--
+The bean element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the remote
+proxy and operate in the client VM. The declared order of the interceptor
+elements corresponds to the order of the interceptor chain.
+
+  Used in: client-interceptors
+-->
+<!ELEMENT bean (interceptor+)>
+
+<!-- 
+  The interceptor element specifies an instance of org.jboss.ejb.Interceptor
+  that is to be added to the container interceptor stack.
+  
+  Used in: container-interceptors
+-->
+<!ELEMENT interceptor (#PCDATA)>
+
+<!-- 
+  The transaction attribute is used to indicate what type of container its
+  interceptor applies to. It is an enumerated value that can take on one of: Bean,
+  Container or Both. A value of Bean indicates that the interceptor should only be
+  added to a container for bean-managed transaction.
+  A value of Container indicates that the interceptor should only be added to a
+  container for container-managed transactions.
+  A value of Both indicates that the interceptor should be added to all
+  containers. This is the default value if the transaction attribute is not
+  explictlygiven.
+-->
+<!ATTLIST interceptor transaction     (Bean | Container | Both )  "Both">
+
+<!-- 
+  The metricsEnabled attributes is used to indicate if the interceptor
+  should only be included when the org.jboss.ejb.ContainerFactory metricsEnabled
+  flag is set to true. The allowed values are true and false with false being the
+  default if metricsEnabled is not explicitly given.
+-->
+<!ATTLIST interceptor metricsEnabled  (true | false )  "false">
+
+<!--
+  The instance-pool element gives the class name of the instance pool
+  jboss must use for in this configuration. This class must implement
+  the org.jboss.ejb.InstancePool interface. The defaults are:
+  - org.jboss.ejb.plugins.EntityInstancePool for entity beans
+  - org.jboss.ejb.plugins.StatelessSessionInstancePool for stateless
+  session beans.
+  - no pool is used for stateful session beans
+  
+  Used in: container-configuration
+-->
+<!ELEMENT instance-pool (#PCDATA)>
+
+<!--
+  The instance-cache element gives the class name of the instance cache
+  jboss must use for in this configuration. This class must implement
+  the org.jboss.ejb.InstanceCache interface. The defaults are:
+  - org.jboss.ejb.plugins.NoPassivationEntityInstanceCache for entity beans
+  - org.jboss.ejb.plugins.NoPassivationStatefulSessionInstanceCache for
+  stateful session beans.
+  - no cache is used for stateless session beans
+  
+  Used in: container-configuration
+-->
+<!ELEMENT instance-cache (#PCDATA)>
+
+<!--
+  The persistence-manager element gives the class name of the persistence
+  manager / persistence store jboss must use for in this configuration.
+  This class must implement:
+  - org.jboss.ejb.EntityPersistenceStore for CMP Entity Beans (default is
+  org.jboss.ejb.plugins.jaws.JAWSPersistenceManager)
+  - org.jboss.ejb.EntityPersistenceManager for BMP entity beans (default
+  is org.jboss.ejb.plugins.BMPPersistenceManager)
+  - org.jboss.ejb.StatefulSessionPersistenceManager for stateless session
+  beans.
+  - no persistence-manager is used for stateless session beans
+  
+  Used in: container-configuration
+-->
+<!ELEMENT persistence-manager (#PCDATA)>
+
+<!--
+  The locking-policy element gives the class name of the EJB lock
+  implementation JBoss must use for in this configuration. This class must
+  implement  the org.jboss.ejb.BeanLock interface. The default is
+  org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.
+  
+  Used in: container-configuration
+-->
+<!ELEMENT locking-policy (#PCDATA)>
+
+<!--
+  The transaction-manager element gives the class name of the transaction
+  manager jboss must use for in this configuration. This class must implement
+  the javax.transaction.TransactionManager interface. The default is
+  org.jboss.tm.TxManager.
+  
+  Used in: container-configuration
+-->
+<!ELEMENT transaction-manager (#PCDATA)>
+
+<!--
+  The web-class-loader element gives the class name of the web classloader
+  jboss must use for in this configuration. This class must be a subclass
+  of org.jboss.web.WebClassLoader. The default is org.jboss.web.WebClassLoader.
+  
+  Used in: container-configuration
+-->
+<!ELEMENT web-class-loader (#PCDATA)>
+
+<!--
+  The container-invoker-conf element holds configuration data for the
+  container invoker.
+  jboss does not read directly the subtree for this element: instead,
+  it is passed to the container invoker instance (if it implements
+  org.jboss.metadata.XmlLoadable) for it to load its parameters.
+  
+  The Optimized tag described here only relates to the default container
+  invokers, ProxyFactory, ProxyFactoryHA and JMSContainerInvoker.
+  
+  Used in: container-configuration
+-->
+<!ELEMENT container-invoker-conf (JMSProviderAdapterJNDI? , ServerSessionPoolFactoryJNDI? , MaximumSize? , MaxMessages? , MDBConfig?)>
+
+<!--
+  Used in: container-invoker-conf for JMSContainerInvoker
+-->
+<!ELEMENT JMSProviderAdapterJNDI (#PCDATA)>
+
+<!--
+  Used in: container-invoker-conf for JMSContainerInvoker
+-->
+<!ELEMENT ServerSessionPoolFactoryJNDI (#PCDATA)>
+
+<!--
+  Used in: container-invoker-conf for JMSContainerInvoker
+-->
+<!ELEMENT MaxMessages (#PCDATA)>
+
+<!--
+  Used in: container-invoker-conf for JMSContainerInvoker
+-->
+<!ELEMENT MDBConfig (ReconnectIntervalSec , DLQConfig?)>
+
+<!--
+  Used in: MDBConfig
+-->
+<!ELEMENT ReconnectIntervalSec (#PCDATA)>
+
+<!--
+  Used in: MDBConfig
+-->
+<!ELEMENT DLQConfig (DestinationQueue , MaxTimesRedelivered , TimeToLive)>
+
+<!--
+  Used in: DLQConfig
+-->
+<!ELEMENT DestinationQueue (#PCDATA)>
+
+<!--
+  Used in: DLQConfig
+-->
+<!ELEMENT MaxTimesRedelivered (#PCDATA)>
+
+<!--
+  Used in: DLQConfig
+-->
+<!ELEMENT TimeToLive (#PCDATA)>
+
+<!--
+  The container-cache-conf element holds dynamic configuration data
+  for the instance cache.
+  jboss does not read directly the subtree for this element: instead,
+  it is passed to the instance cache instance (if it implements
+  org.jboss.metadata.XmlLoadable) for it to load its parameters.
+  
+  Used in: container-configuration
+-->
+<!ELEMENT container-cache-conf (cache-policy? , cache-policy-conf?)>
+
+<!--
+  The implementation class for the cache policy, which controls
+  when instances will be passivated, etc.
+  
+  Used in: container-cache-conf
+-->
+<!ELEMENT cache-policy (#PCDATA)>
+
+<!--
+  The configuration settings for the selected cache policy.  This
+  is currently only valid for the LRU cache.
+  When the cache is the LRU one for the stateful container, the elements
+  remover-period and max-bean-life specifies the period of the remover
+  task that removes stateful beans (that normally have been passivated)
+  that have age greater than the specified max-bean-life element.
+
+  Used in: container-cache-conf (when cache-policy is the LRU cache)
+-->
+<!ELEMENT cache-policy-conf (min-capacity , max-capacity , remover-period?,
+ max-bean-life? , overager-period , max-bean-age , resizer-period ,
+ max-cache-miss-period , min-cache-miss-period , cache-load-factor)>
+
+<!--
+  The minimum capacity of this cache
+-->
+<!ELEMENT min-capacity (#PCDATA)>
+
+<!--
+  The maximum capacity of this cache
+-->
+<!ELEMENT max-capacity (#PCDATA)>
+
+<!--
+  The period of the overager's runs
+-->
+<!ELEMENT overager-period (#PCDATA)>
+
+<!--
+  The period of the remover's runs
+-->
+<!ELEMENT remover-period (#PCDATA)>
+
+<!--
+  The max-bean-life specifies the period of the remover
+  task that removes stateful beans (that normally have been passivated)
+  that have age greater than the specified max-bean-life element.
+-->
+<!ELEMENT max-bean-life (#PCDATA)>
+
+<!--
+  The period of the resizer's runs
+-->
+<!ELEMENT resizer-period (#PCDATA)>
+
+<!--
+  The age after which a bean is automatically passivated
+-->
+<!ELEMENT max-bean-age (#PCDATA)>
+
+<!--
+  Shrink cache capacity if there is a cache miss every or more
+  this member's value
+-->
+<!ELEMENT max-cache-miss-period (#PCDATA)>
+
+<!--
+  Enlarge cache capacity if there is a cache miss every or less
+  this member's value
+-->
+<!ELEMENT min-cache-miss-period (#PCDATA)>
+
+<!--
+  The resizer will always try to keep the cache capacity so that
+  the cache is this member's value loaded of cached objects
+-->
+<!ELEMENT cache-load-factor (#PCDATA)>
+
+<!--
+  The container-pool-conf element holds configuration data for the
+  instance pool.
+  jboss does not read directly the subtree for this element: instead,
+  it is passed to the instance pool instance (if it implements
+  org.jboss.metadata.XmlLoadable) for it to load its parameters.
+  
+  The default instance pools, EntityInstancePool and
+  StatelessSessionInstancePool, both accept the following configuration.
+  
+  Used in: container-configuration
+-->
+<!ELEMENT container-pool-conf (MaximumSize , feeder-policy , feeder-policy-conf)>
+
+<!--
+  The capacity of the Pool.  The pool feeder will feed the pool with new
+  instances, the pool size being limited by this value.  For pools where
+  reclaim is possible, the pool will also be feed when the instance is
+  free to be reused.
+  This is not an hard limit, if instances are needed when the pool is at
+  its MaximumSize, new instances will be created following the demand.
+  
+  Used in: container-pool-conf
+-->
+<!ELEMENT MaximumSize (#PCDATA)>
+
+<!--
+  This element is only valid if the instance pool is a subclass of
+  AbstractInstancePool.
+  
+  The feeder-policy element gives the Class that implements InstancePoolFeeder
+  and is responsible to feed the pool with new instances of bean.
+  If not present, no thread are started and the pool will have a size of 1.
+  
+  TimedInstancePoolFeeder is the first implementation available.
+  
+  Used in: container-pool-conf for AbstractInstancePool subclasses
+-->
+<!ELEMENT feeder-policy (#PCDATA)>
+
+<!--
+  This element describes properties that the InstancePoolFeeder implementation
+  will read to configure itself (XmlLoadable).
+  
+  Note: the 3 attributes are hardcoded here for TimedInstancePoolFeeder.
+  
+  Used in: container-pool-conf for InstancePoolFeeder implementations
+-->
+<!ELEMENT feeder-policy-conf (increment , period)>
+
+<!--
+  The pool feeder will feed the pool with this number of new instances at
+  a regular period.
+  
+  Used in: feeder-policy-conf
+-->
+<!ELEMENT increment (#PCDATA)>
+
+<!--
+  The interval of time (in milliseconds) the pool feeder look if the pool
+  has come to its maximum size (capacity) and if not, will feed it with
+  a particular number of new instances (increment).
+  
+  Used in: feeder-policy-conf
+-->
+<!ELEMENT period (#PCDATA)>
+
+<!--
+  This option is only used for entity container configurations.
+  
+  The commit-option element tells the container which option to use for transactions.
+  Its value must be A, B C, or D.
+  
+  - option A: the entiry instance has exclusive access to the database. The instance
+  stays ready after a transaction.
+  - option B: the entity instance does not have exclusive access to the database.
+  The state is loaded before the next transaction.
+  - option C: same as B, except the container does not keep the instance after commit:
+  a passivate is immediately performed after the commit.
+  
+  - option D: a lazy update. default is every 30 secs.
+               can be updated with <optiond-refresh-rate>
+  
+  See ejb1.1 specification for details (p118).
+  
+  Used in: container-configuration
+-->
+<!ELEMENT commit-option (#PCDATA)>
+
+<!--
+  This element is used to specify the refresh rate of commit option d
+-->
+<!ELEMENT optiond-refresh-rate (#PCDATA)>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_3_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_3_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_3_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1227 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+$Id: jboss_3_2.dtd 60564 2007-02-15 11:12:12Z dimitris at jboss.org $
+
+This is the XML DTD for the JBoss 3.2 EJB deployment descriptor.
+The DOCTYPE is:
+
+  <!DOCTYPE jboss PUBLIC
+      "-//JBoss//DTD JBOSS 3.2//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd">
+
+Overview of the architecture of jboss.xml
+
+<jboss>
+
+  <enforce-ejb-restrictions />
+  <security-domain />
+  <unauthenticated-principal />
+
+  <enterprise-beans>
+
+    <entity>
+      <ejb-name />
+      <jndi-name />
+      <local-jndi-name />
+      <call-by-value/>
+      <read-only>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <ejb-local-ref>
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+      <resource-env-ref>
+      <clustered />
+      <cluster-config>
+    </entity>
+
+    <session>
+      <ejb-name />
+      <jndi-name />
+      <local-jndi-name />
+      <call-by-value/>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <ejb-local-ref>
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+      <resource-env-ref>
+      <clustered />
+      <cluster-config>
+    </session>
+
+    <message-driven>
+      <ejb-name>
+      <destination-jndi-name>
+      <mdb-user>
+      <mdb-passwd>
+      <mdb-client-id>
+      <mdb-subscription-id>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <resource-ref>
+      <resource-env-ref>
+    </message-driven>
+
+  </enterprise-beans>
+
+  <resource-managers>
+
+    <resource-manager>
+      <res-name />
+      <res-jndi-name />
+    </resource-manager>
+
+    <resource-manager>
+      <res-name />
+      <res-url />
+    </resource-manager>
+
+  </resource-managers>
+
+  <container-configurations>
+
+    <container-configuration>
+      <container-name />
+      <call-logging />
+      <invoker-proxy-binding-name />
+      <sync-on-commit-only />
+      <insert-after-ejb-post-create />
+      <call-ejb-store-on-clean />
+      <store-not-flushed />
+      <container-interceptors />
+      <instance-pool />
+      <instance-cache />
+      <persistence-manager />
+      <web-class-loader />
+      <locking-policy />
+      <container-cache-conf />
+      <container-pool-conf />
+      <commit-option />
+      <optiond-refresh-rate />
+      <security-domain />
+      <cluster-config />
+      <depends />
+    </container-configuration>
+
+  </container-configurations>
+
+</jboss>
+-->
+
+<!--
+  The jboss element is the root element of the jboss.xml file. It
+  contains all the information used by jboss but not described in the
+  ejb-jar.xml file. All of it is optional.
+
+  1- the application assembler can define custom container configurations
+  for the beans. Standard configurations are provided in standardjboss.xml
+  2- the deployer can override the jndi names under which the beans are
+  deployed
+  3- the deployer can specify runtime jndi names for resource managers.
+
+-->
+<!ELEMENT jboss (loader-repository?, jmx-name?, enforce-ejb-restrictions?,
+ security-domain?, unauthenticated-principal? , exception-on-rollback?, enterprise-beans?,
+ resource-managers?, invoker-proxy-bindings?, container-configurations?)>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA #IMPLIED>
+
+<!-- The jmx-name element allows one to specify the JMX ObjectName to use
+for the MBean associated with the ejb-jar module. This must be a unique
+name and valid JMX ObjectName string.
+
+   Used in: jboss
+-->
+<!ELEMENT jmx-name (#PCDATA)>
+
+<!--
+  The enforce-ejb-restrictions element tells the container to enforce ejb1.1 restrictions
+  It must be one of the following :
+    <enforce-ejb-restrictions>true</enforce-ejb-restrictions>
+    <enforce-ejb-restrictions>false</enforce-ejb-restrictions>
+
+  Used in: jboss
+-->
+<!ELEMENT enforce-ejb-restrictions (#PCDATA)>
+
+<!--
+  The security-domain element specifies the JNDI name of the security
+  manager that implements the EJBSecurityManager and RealmMapping for
+  the domain. When specified at the jboss level it specifies the security
+  domain for all j2ee components in the deployment unit.
+  One can override the global security-domain at the container
+  level using the security-domain element at the container-configuration
+  level.
+
+  Used in: jboss, container-configuration
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!--
+  The unauthenticated-principal element specifies the name of the principal
+  that will be returned by the EJBContext.getCallerPrincipal() method if there
+  is no authenticated user. This Principal has no roles or privaledges to call
+  any other beans.
+-->
+<!ELEMENT unauthenticated-principal (#PCDATA)>
+
+<!-- The invoker-proxy-bindings defines the invokers available for use with
+the ejb container configurations.
+-->
+<!ELEMENT invoker-proxy-bindings (invoker-proxy-binding*)>
+<!-- The invoker-proxy-binding defines an invoker service and proxy factory
+-->
+<!ELEMENT invoker-proxy-binding (name, invoker-mbean, proxy-factory, proxy-factory-config)>
+<!-- The name gives a unique name for the invoker-proxy-binding
+-->
+<!ELEMENT name (#PCDATA)>
+<!-- The invoker-mbean gives the JMX ObjectName of the invoker MBean service
+-->
+<!ELEMENT invoker-mbean (#PCDATA)>
+<!-- The org.jboss.ejb.EJBProxyFactory implementation class
+-->
+<!ELEMENT proxy-factory (#PCDATA)>
+<!-- The proxy-factory-config defines the client-interceptors stack
+and other configuration options to use for the various EJB proxies.
+-->
+<!ELEMENT proxy-factory-config (client-interceptors? , web-class-loader? ,
+JMSProviderAdapterJNDI? , ServerSessionPoolFactoryJNDI? , MinimumSize? , MaximumSize? ,
+KeepAliveMillis? , MaxMessages? , MDBConfig? , poa? , register-ejbs-in-jnp-context? , 
+jnp-context?)>
+
+<!--
+  The jndi name of the jms provider adapter in the java:/ namespace.
+  This is mandatory for an MDB and must implement
+  org.jboss.jms.jndi.JMSProviderAdapter
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT JMSProviderAdapterJNDI (#PCDATA)>
+<!--
+  The jndi name of the session pool in the java:/ namespace.
+  This is mandatory for an MDB and must implement
+  org.jboss.jms.asf.ServerSessionPoolFactory
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT ServerSessionPoolFactoryJNDI (#PCDATA)>
+<!--
+  The maximum number of messages parameter for the mdb's
+  connection consumer.
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT MaxMessages (#PCDATA)>
+<!--
+  Configuration for the MDB
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT MDBConfig (ReconnectIntervalSec , DeliveryActive? , DLQConfig?)>
+<!--
+  The time to wait (in seconds) before trying to recover
+  the connection to the JMS server.
+
+  Used in: MDBConfig
+-->
+<!ELEMENT ReconnectIntervalSec (#PCDATA)>
+<!--
+  Whether delivery of messages is active at startup,
+  valid values are "True" or "False".
+
+  Used in: MDBConfig
+-->
+<!ELEMENT DeliveryActive (#PCDATA)>
+<!--
+  Configuration for an MDB's dead letter queue, used
+  when messages are redelivered too many times.
+
+  Used in: MDBConfig
+-->
+<!ELEMENT DLQConfig (DestinationQueue , MaxTimesRedelivered , TimeToLive, DLQUser?,  DLQPassword?)>
+<!--
+  The jndi name of the queue to use as the dead letter queue.
+
+  Used in: DLQConfig
+-->
+<!ELEMENT DestinationQueue (#PCDATA)>
+<!--
+  The maximum number of times a message is redelivered before it
+  is placed in the dead letter queue.
+
+  Used in: DLQConfig
+-->
+<!ELEMENT MaxTimesRedelivered (#PCDATA)>
+<!--
+  The time-to-live of the message in the dead letter queue.
+  See javax.jms.Message
+
+  Used in: DLQConfig
+-->
+<!ELEMENT TimeToLive (#PCDATA)>
+
+<!--
+  The user for the dlq connection
+
+  Used in: DLQConfig
+-->
+<!ELEMENT DLQUser (#PCDATA)>
+
+<!--
+  The password for the dlq connection
+
+  Used in: DLQConfig
+-->
+<!ELEMENT DLQPassword (#PCDATA)>
+<!--
+  The portable object adapter usage, one of
+  <poa>per-servent</poa>
+  <poa>shared</poa>
+
+  Used in: proxy-factory-config for IORFactory
+-->
+<!ELEMENT poa (#PCDATA)>
+<!--
+  Whether to register ejbs in jnp (jndi)
+
+  Used in: proxy-factory-config for IORFactory
+-->
+<!ELEMENT register-ejbs-in-jnp-context (#PCDATA)>
+<!--
+  The jndi context in which to register ejbs
+
+  Used in: proxy-factory-config for IORFactory
+-->
+<!ELEMENT jnp-context (#PCDATA)>
+
+<!--
+  The enterprise-beans element contains additional information about
+  the beans. These informations, such as jndi names, resource managers and
+  container configurations, are specific to jboss and not described in
+  ejb-jar.xml.
+
+  jboss will provide a standard behaviour if no enterprise-beans element
+  is found, see container-configurations, jndi-name and resource-managers
+  for defaults.
+
+  Used in: jboss
+-->
+<!ELEMENT enterprise-beans (session | entity | message-driven)*>
+
+<!--
+  The entity element holds information specific to jboss and not declared
+  in ejb-jar.xml about an entity bean, such as jndi name, container
+  configuration, and resource managers. (see tags for details)
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+
+  Used in: enterprise-beans
+-->
+<!ELEMENT entity (ejb-name , jndi-name? , local-jndi-name? , call-by-value?, read-only? ,
+ exception-on-rollback?, configuration-name? , invoker-bindings?, security-proxy? , 
+ ejb-ref* , ejb-local-ref* , resource-ref* ,
+ resource-env-ref* , method-attributes? , clustered? , cluster-config?,
+ cache-invalidation? , cache-invalidation-config?, depends*)>
+
+<!--
+  The session element holds information specific to jboss and not declared
+  in ejb-jar.xml about a session bean, such as jndi name, container
+  configuration, and resource managers. (see tags for details)
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+
+  Used in: enterprise-beans
+-->
+<!ELEMENT session (ejb-name , jndi-name? , local-jndi-name?, call-by-value?, 
+ exception-on-rollback?, configuration-name?, invoker-bindings?, security-proxy? , 
+ ejb-ref* ,  ejb-local-ref* , resource-ref* , resource-env-ref* , clustered? ,
+ cluster-config?, method-attributes?, depends*)>
+
+<!--
+  The message-driven element holds information specific to jboss and not declared
+  in ejb-jar.xml about a message-driven bean, such as container
+  configuration and resources.
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+
+  Used in: enterprise-beans
+-->
+<!ELEMENT message-driven (ejb-name , destination-jndi-name , local-jndi-name?,
+ mdb-user?,  mdb-passwd? , mdb-client-id? , mdb-subscription-id? ,
+ exception-on-rollback?, configuration-name? , invoker-bindings?,
+ security-proxy? , ejb-ref* ,  ejb-local-ref* , resource-ref* , resource-env-ref*, depends*)>
+
+<!--
+  The ejb-name element gives the name of the bean, it must correspond to
+  an ejb-name element in ejb-jar.xml
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT ejb-name (#PCDATA)>
+
+<!--
+  The jndi-name element gives the actual jndi name under which
+  the bean will be deployed when used in the entity, session and
+  message-driven elements. If it is not provided jboss will assume
+  "jndi-name" = "ejb-name"
+
+  When used in the ejb-ref,  ejb-local-ref, resource-ref, resource-env-ref elements
+  this specifies the jndi name to which the reference should link.
+
+  Used in: entity, session and message-driven
+    ejb-ref, resource-ref, resource-env-ref
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!--
+  The JNDI name under with the local home interface should be bound
+
+  Used in: entity and session
+-->
+<!ELEMENT local-jndi-name (#PCDATA)>
+
+<!--
+  Determine if the bean should use by value call semantics
+
+  Used in: entity and session
+-->
+<!ELEMENT call-by-value (#PCDATA)>
+
+<!--
+  The read-only element flags an entity bean as read only.
+  The bean will never be ejbStored. Defaults to false.
+  It must be one of the following :
+    <read-only>true</read-only>
+    <read-only>false</read-only>
+
+  Used in: entity
+-->
+<!ELEMENT read-only (#PCDATA)>
+
+<!--
+  Whether to throw an exception if the CMT controlled
+  transaction is no longer active (e.g. marked rollback)
+  but the application has not itself thrown an exception.
+  If the bean specifies false, it uses the
+  jboss/exception-on-rollback config.
+  Defaults to false.
+  It must be one of the following :
+    <exception-on-rollback>true</exception-on-rollback>
+    <exception-on-rollback>false</exception-on-rollback>
+
+  Used in: jboss, session, entity and message-driven
+-->
+<!ELEMENT exception-on-rollback (#PCDATA)>
+
+<!--
+  The configuration-name element gives the name of the container
+  configuration for this bean. It must match one of the container-name
+  tags in the container-configurations section, or one of the standard
+  configurations. If no element is provided, jboss will automatically use the
+  right standard configuration, see container-configurations.
+
+  Note: unlike earlier releases, this element may not be specified as an
+   empty element to achieve the same effect as not specifying the element.
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT configuration-name (#PCDATA)>
+
+<!-- The depends element gives a JMX ObjectName of a service on which the
+container or ejb depends.
+-->
+<!ELEMENT depends (#PCDATA)>
+
+<!-- The jndi name of the queue/topic to receive messages from -->
+<!ELEMENT destination-jndi-name (#PCDATA)>
+
+<!-- The optional user for the jms connection that delivers messages -->
+<!ELEMENT mdb-user (#PCDATA)>
+
+<!-- The optional password for the jms connection that delivers messages -->
+<!ELEMENT mdb-passwd (#PCDATA)>
+
+<!-- The optional client-id for the jms connection that delivers messages -->
+<!ELEMENT mdb-client-id (#PCDATA)>
+
+<!-- The optional subscription name for topic delivery -->
+<!ELEMENT mdb-subscription-id (#PCDATA)>
+
+<!-- The security-proxy gives the class name of the security proxy implementation.
+  This may be an instance of org.jboss.security.SecurityProxy, or an
+  just an object that implements methods in the home or remote interface
+  of an EJB without implementating any common interface.
+
+      Used in: entity, session, and message-driven
+-->
+<!ELEMENT security-proxy (#PCDATA)>
+
+<!--
+  The ejb-ref element is used to give the jndi-name of an external
+  ejb reference. In the case of an external ejb reference, you don't
+  provide a ejb-link element in ejb-jar.xml, but you provide a jndi-name
+  in jboss.xml
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!--
+  The ejb-ref-name element is the name of the ejb reference as given in
+  ejb-jar.xml.
+
+  Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+
+<!--
+  The ejb-local-ref element is used to give the jndi-name of an external
+  ejb reference. This is an alternative to using ejb-link in ejb-jar.xml
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT ejb-local-ref (ejb-ref-name , local-jndi-name)>
+
+<!--
+  The resource-env-ref element gives a mapping between the "code name"
+  of a env resource (res-ref-name, provided by the Bean Developer) and
+  its deployed JNDI name.
+
+  Used in: session, entity, message-driven
+-->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!--
+  The resource-env-ref-name element gives the "code name" of a resource. It is
+  provided by the Bean Developer.
+
+  Used in: resource-env-ref
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--
+  The method-attributes element can be used to specify which methods are read only
+  or idempotent.  This is used to reduce the need for locks and replication.
+-->
+<!ELEMENT method-attributes (method*)>
+
+<!--
+  The method element is used to specify attributes for one method or all those
+  matching a pattern startingstring*.
+-->
+<!ELEMENT method (method-name, read-only?, idempotent?, transaction-timeout?)>
+
+<!--
+  The method-name element specifies a complete method name or a pattern consisting of an
+  initial match followed by '*'
+-->
+<!ELEMENT method-name (#PCDATA)>
+
+<!--
+  The idempotent element is used in method-attributes to indicate that a method
+  is completely stateless. Really the same as read-only and should be dropped.
+-->
+<!ELEMENT idempotent (#PCDATA)>
+
+<!--
+  The transaction timeout in seconds (overriding the default timeout).
+  This will only work for Required (where the method starts the transaction) and RequiresNew.
+  The special value of 0 (zero) uses the default timeout configured on jboss:service=TransactionManager
+  NOTE: any subsequent use of RequiresNew that is not explicitly overridden will use this value.
+-->
+<!ELEMENT transaction-timeout (#PCDATA)>
+
+<!--
+  The clustered element indicates if this bean will run in a cluster of JBoss instances.
+  It is provided by the deployer. If not, jboss will assume clustered = False
+  Possible values: "True", "False" (default)
+
+  Used in: entity and session
+-->
+<!ELEMENT clustered (#PCDATA)>
+
+<!--
+  The cluster-config element allows to specify cluster specific settings.
+  WARNING: session-state-manager-jndi-name is only for SFSB.
+
+  Used in: session, entity, container-configuration
+-->
+<!ELEMENT cluster-config (partition-name? , home-load-balance-policy? ,
+ bean-load-balance-policy? , session-state-manager-jndi-name?)>
+
+<!--
+  The partition-name element indicates the name of the HAPartition to be used
+  by the container to exchange clustering information. This is a name and *not*
+  a JNDI name. Given name will be prefixed by "/HASessionState/" by the container to get
+  the actual JNDI name of the HAPartition. If not, jboss will assume partition-name = "DefaultPartition".
+
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT partition-name (#PCDATA)>
+
+<!--
+  The home-load-balance-policy element indicates the java class name to be used
+  to load balance calls in the home proxy.
+  If not, jboss will assume home-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin".
+
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT home-load-balance-policy (#PCDATA)>
+
+<!--
+  The bean-load-balance-policy element indicates the java class name to be used
+  to load balance calls in the bean proxy.
+  If not, jboss will assume :
+    - for EB and SFSB : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin"
+    - for SLSB        : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin"
+
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT bean-load-balance-policy (#PCDATA)>
+
+<!--
+  The cache-invalidation element indicates if this bean cache should listen to cache
+  invalidation events and clear its cache accordingly as well as send cache invalidation
+  messages.
+  It is provided by the deployer. If not, jboss will assume cache-invalidation = False
+  NOTE: This value will *only* be applied if the correct cache plugin and interceptor(s)
+        are defined in the container configuration.
+  Possible values: "True", "False" (default)
+
+  Used in: entity (only commit-option A and D will invalidate their cache)
+-->
+<!ELEMENT cache-invalidation (#PCDATA)>
+
+<!--
+  The cache-invalidation-config element allows to specify cache invalidation specific settings.
+
+  Used in: entity
+-->
+<!ELEMENT cache-invalidation-config (invalidation-group-name? , invalidation-manager-name?)>
+
+<!--
+  The invalidation-group-name element indicates the name of a group in which all
+  invalidation messages are exchanged i.e. all beans sharing a given invalidation-group-name
+  should share the same PK semantic.
+  By default, invalidation-group-name equals to the EJB name. Thus, when using cache invalidation
+  accross a cluster, it is not necessary to specify a name as all beans will have the same name
+  accross the cluster. Nevertheless, if you deploy, on the same node, the same EJB, once with
+  commit-option C (RW access) and once in commit-option A (RO) and want the RW EJB to invalidate
+  entries of RO EJB, each one will obviously have its own EJB name. Consequently, you can assign
+  a common invalidation-group-name to both EJBs so that they share their cache invalidation messages.
+
+  Used in: entity (in cache-invalidation-config element)
+-->
+<!ELEMENT invalidation-group-name (#PCDATA)>
+
+<!--
+  The invalidation-manager-name references the InvalidationManager MBean to be used.
+  By Default, the default InvalidationManager is used.
+
+  Used in: entity (in cache-invalidation-config element)
+-->
+<!ELEMENT invalidation-manager-name (#PCDATA)>
+
+<!--
+  The session-state-manager-jndi-name element indicates the name of the HASessionState to be used
+  by the container as a backend for state session management in the cluster.
+  This *is* a JNDI name (not like the partition-name element).
+  If not, jboss will assume partition-name = "/HASessionState/Default".
+
+  Used in: session (in clustered-config element)
+-->
+<!ELEMENT session-state-manager-jndi-name (#PCDATA)>
+
+<!--
+  The resource-ref element gives a mapping between the "code name"
+  of a resource (res-ref-name, provided by the Bean Developer) and
+  its "xml name" (resource-name, provided by the Application Assembler).
+  If no resource-ref is provided, jboss will assume that
+  "xml-name" = "code name"
+
+  See resource-managers.
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT resource-ref (res-ref-name , (resource-name | jndi-name | res-url))>
+
+<!--
+  The res-ref-name element gives the "code name" of a resource. It is
+  provided by the Bean Developer. See resource-managers for the actual
+  configuration of the resource.
+
+  Used in: resource-ref
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+  The resource-name element gives the "xml name" of the resource. It is
+  provided by the Application Assembler. See resource-managers for the
+  actual configuration of the resource.
+
+  Used in: resource-ref
+-->
+<!ELEMENT resource-name (#PCDATA)>
+
+<!--
+  The resource-managers element is used to declare resource managers.
+
+  A resource has 3 names:
+  - the "code name" is the name used in the code of the bean, supplied by
+    the Bean Developer in the resource-ref section of the ejb-jar.xml file
+
+  - the "xml name" is an intermediary name used by the Application Assembler
+    to identify resources in the XML file.
+
+  - the "runtime jndi name" is the actual jndi-name or url of the deployed
+    resource, it is supplied by the Deployer.
+
+  The mapping between the "code name" and the "xml name" is given
+  in the resource-ref section for the bean. If not, jboss will assume that
+  "xml name" = "code name".
+
+  The mapping between the "xml name" and the "runtime jndi name" is given in
+  a resource-manager section. If not, and if the datasource is of type
+  javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the jndi
+  tree.
+
+  Used in: jboss
+-->
+<!ELEMENT resource-managers (resource-manager*)>
+
+<!--
+  The resource-manager element is used to provide a mapping between the
+  "xml name" of a resource (res-name) and its "runtime jndi name"
+  (res-jndi-name or res-url according to the type of the resource).
+  If it is not provided, and if the type of the resource is
+  javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the
+  jndi tree.
+
+  See resource-managers.
+
+  Used in: resource-managers
+-->
+<!ELEMENT resource-manager (res-name , (res-jndi-name | res-url))>
+
+<!--
+  The res-name element gives the "xml name" of a resource, it is provided
+  by the Application Assembler. See resource-managers.
+
+  Used in: resource-manager
+-->
+<!ELEMENT res-name (#PCDATA)>
+
+<!--
+  The res-jndi-name element is the "deployed jndi name" of a resource, it
+  is provided by the Deployer. See resource-managers.
+
+  Used in: resource-manager
+-->
+<!ELEMENT res-jndi-name (#PCDATA)>
+
+<!--
+  The res-url element is the "runtime jndi name" as a url of the resource.
+  It is provided by the Deployer. See resource-managers.
+
+  Used in: resource-manager
+-->
+<!ELEMENT res-url (#PCDATA)>
+
+<!--
+  The container-configurations element declares the different possible
+  container configurations that the beans can use. standardjboss.xml
+  provides 15 standard configurations with the following container-names:
+    - Standard CMP 2.x EntityBean
+    - Standard CMP EntityBean
+    - Clustered CMP 2.x EntityBean
+    - Clustered CMP EntityBean
+    - IIOP CMP 2.x EntityBean
+    - IIOP CMP EntityBean
+    - Standard Stateless SessionBean
+    - Clustered Stateless SessionBean
+    - IIOP Stateless SessionBean
+    - Standard Stateful SessionBean
+    - Clustered Stateful SessionBean
+    - IIOP Stateful SessionBean
+    - Standard BMP EntityBean
+    - Clustered BMP EntityBean
+    - IIOP BMP EntityBean
+    - Standard message Driven Bean
+
+  The standard configurations will automatically be used if no custom
+  configuration is specified.
+
+  The application assembler can define advanced custom configurations here.
+
+  Used in: jboss
+-->
+<!ELEMENT container-configurations (container-configuration*)>
+
+<!--
+  The container-configuration element describes a configuration for the
+  container.
+  The different plugins to use are declared here, as well as their
+  configurations. The configuration-class attribute is no longer used.
+
+  Used in: container-configurations
+-->
+<!ELEMENT container-configuration (container-name , call-logging?,
+ invoker-proxy-binding-name?, sync-on-commit-only?,
+ insert-after-ejb-post-create?, call-ejb-store-on-clean?, store-not-flushed?, container-interceptors? ,
+ instance-pool? , instance-cache? ,  persistence-manager? , web-class-loader? ,
+ locking-policy? ,  container-cache-conf? , container-pool-conf? ,
+ commit-option? , optiond-refresh-rate? , security-domain?, cluster-config?,
+ depends*)>
+
+<!-- The extends attribute gives the container-name value of the configuration the container-configuration
+is extending. This allows one to specify an extension configuration without having to reiterate all of
+the other duplicate configuration info.
+
+        <container-configuration extends="Standard Stateful SessionBean">
+            <container-name>Secure Stateless SessionBean</container-name>
+            <security-domain>java:/jaas/other</security-domain>
+        </container-configuration>
+-->
+<!ATTLIST container-configuration extends CDATA  #IMPLIED>
+
+<!--
+  The container-name element gives the name of the configuration being
+  defined. Beans may refer to this name in their configuration-name tag.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-name (#PCDATA)>
+
+<!--
+  The call-logging element tells if the container must log every method
+  invocation for this bean or not. Its value must be true or false.
+
+  Used in: container-configuration
+-->
+<!ELEMENT call-logging (#PCDATA)>
+
+<!--
+  The invoker-bindings element gives the invokers configuration for an
+  ejb container.
+
+  Used in: entity, session, message-driven
+-->
+<!ELEMENT invoker-bindings (invoker+)>
+<!--
+ -->
+<!ELEMENT invoker (invoker-proxy-binding-name, jndi-name?, ejb-ref*)>
+
+<!-- The invoker-proxy-binding-name elements maps to the name element of
+an invoker-proxy-binding definition.
+
+  Used in: container-configuration, invoker
+-->
+<!ELEMENT invoker-proxy-binding-name (#PCDATA)>
+
+<!-- The sync-on-commit-only element determines the behavior of ejbStore
+calls on finds, selects and removes. If set to true, ejbStore will only be
+called on transaction commit.
+-->
+<!ELEMENT sync-on-commit-only (#PCDATA)>
+
+<!-- The insert-after-ejb-post-create element defines when the INSERT
+ statement will be executed for created entity instance.
+ Possible values are:
+ false - the default value, INSERT will be executed after ejbCreate but before
+         ejbPostCreate;
+ true - INSERT will be executed after ejbPostCreate.
+-->
+<!ELEMENT insert-after-ejb-post-create (#PCDATA)>
+
+<!-- The call-ejb-store-for-clean says whether ejbStore should be called on clean instances
+ at synchronization time. By the spec it should be true. But users wanted it to be false.
+ False is the default, meaning ejbStore is called only on dirty instances.
+-->
+<!ELEMENT call-ejb-store-on-clean (#PCDATA)>
+
+<!-- The store-not-flushed says whether dirty instances that could not be evicted
+ from the cache should or should not (to prevent potential data inconsistency)
+ be stored. The default value is TRUE.
+-->
+<!ELEMENT store-not-flushed (#PCDATA)>
+
+<!--
+  The container-interceptors element gives the chain of Interceptors
+  (instances of org.jboss.ejb.Interceptor) that are associated with the container.
+  The declared order of the interceptor elements corresponds to the order of the
+  interceptor chain.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-interceptors (interceptor+)>
+
+<!--
+The client-interceptors defines the home and bean client side interceptor chain
+
+  Used in: proxy-factory-config
+-->
+<!ELEMENT client-interceptors (home , bean, list-entity?)>
+
+<!-- Define whether the ejb proxy should expose an org.jboss.proxy.IClientContainer
+   interface to provide access to the invocation context and interceptors.
+-->
+<!ATTLIST client-interceptors exposeContainer (true | false )  "false">
+
+<!--
+The home element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the home
+proxy and operate in the client VM. The declared order of the interceptor
+elements corresponds to the order of the interceptor chain.
+
+  Used in: client-interceptors
+-->
+<!ELEMENT home (interceptor+)>
+
+<!--
+The bean element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the remote
+proxy and operate in the client VM. The declared order of the interceptor
+elements corresponds to the order of the interceptor chain.
+
+  Used in: client-interceptors
+-->
+<!ELEMENT bean (interceptor+)>
+
+<!--
+The list-entity element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the remote
+proxy and operate in the client VM. The declared order of the interceptor
+elements corresponds to the order of the interceptor chain.
+
+  Used in: client-interceptors
+-->
+<!ELEMENT list-entity (interceptor+)>
+
+<!--
+  The interceptor element specifies an instance of org.jboss.ejb.Interceptor
+  that is to be added to the container interceptor stack.
+
+  Used in: home, bean, list-entity
+-->
+<!ELEMENT interceptor (#PCDATA)>
+
+<!--
+  The transaction attribute is used to indicate what type of container its
+  interceptor applies to. It is an enumerated value that can take on one of: Bean,
+  Container or Both. A value of Bean indicates that the interceptor should only be
+  added to a container for bean-managed transaction.
+  A value of Container indicates that the interceptor should only be added to a
+  container for container-managed transactions.
+  A value of Both indicates that the interceptor should be added to all
+  containers. This is the default value if the transaction attribute is not
+  explictlygiven.
+-->
+<!ATTLIST interceptor transaction     (Bean | Container | Both )  "Both">
+
+<!--
+  The metricsEnabled attributes is used to indicate if the interceptor
+  should only be included when the org.jboss.ejb.ContainerFactory metricsEnabled
+  flag is set to true. The allowed values are true and false with false being the
+  default if metricsEnabled is not explicitly given.
+-->
+<!ATTLIST interceptor metricsEnabled  (true | false )  "false">
+
+<!--
+  The call-by-value attribute is used to indicate that the interceptor
+  should only be included when the value of the attribute corresponds
+  to the value of org.jboss.metadata.BeanMetaData callByValue.
+  For example, if a bean defines the element <call-by-value>true</call-by-value>
+  then a marshalling invoker interceptor will be used instead of the
+  non marshalling optimized invoker interceptor.
+-->
+<!ATTLIST interceptor call-by-value  (true | false )  #IMPLIED>
+
+<!--
+  The instance-pool element gives the class name of the instance pool
+  jboss must use for in this configuration. This class must implement
+  the org.jboss.ejb.InstancePool interface. The defaults are:
+  - org.jboss.ejb.plugins.EntityInstancePool for entity beans
+  - org.jboss.ejb.plugins.StatelessSessionInstancePool for stateless
+  session beans.
+  - no pool is used for stateful session beans
+
+  Used in: container-configuration
+-->
+<!ELEMENT instance-pool (#PCDATA)>
+
+<!--
+  The instance-cache element gives the class name of the instance cache
+  jboss must use for in this configuration. This class must implement
+  the org.jboss.ejb.InstanceCache interface. The defaults are:
+  - org.jboss.ejb.plugins.NoPassivationEntityInstanceCache for entity beans
+  - org.jboss.ejb.plugins.NoPassivationStatefulSessionInstanceCache for
+  stateful session beans.
+  - no cache is used for stateless session beans
+
+  Used in: container-configuration
+-->
+<!ELEMENT instance-cache (#PCDATA)>
+
+<!--
+  The persistence-manager element gives the class name of the persistence
+  manager / persistence store jboss must use for in this configuration.
+  This class must implement:
+  - org.jboss.ejb.EntityPersistenceStore for CMP Entity Beans (default is
+  org.jboss.ejb.plugins.jaws.JAWSPersistenceManager)
+  - org.jboss.ejb.EntityPersistenceManager for BMP entity beans (default
+  is org.jboss.ejb.plugins.BMPPersistenceManager)
+  - org.jboss.ejb.StatefulSessionPersistenceManager for stateless session
+  beans.
+  - no persistence-manager is used for stateless session beans
+
+  Used in: container-configuration
+-->
+<!ELEMENT persistence-manager (#PCDATA)>
+
+<!--
+  The locking-policy element gives the class name of the EJB lock
+  implementation JBoss must use for in this configuration. This class must
+  implement  the org.jboss.ejb.BeanLock interface. The default is
+  org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.
+
+  Used in: container-configuration
+-->
+<!ELEMENT locking-policy (#PCDATA)>
+
+<!--
+  The web-class-loader element gives the class name of the web classloader
+  jboss must use for in this configuration. This class must be a subclass
+  of org.jboss.web.WebClassLoader. The default is org.jboss.web.WebClassLoader.
+
+  Used in: container-configuration
+  Used in: proxy-factory-config
+-->
+<!ELEMENT web-class-loader (#PCDATA)>
+
+<!--
+  The container-cache-conf element holds dynamic configuration data
+  for the instance cache.
+  jboss does not read directly the subtree for this element: instead,
+  it is passed to the instance cache instance (if it implements
+  org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-cache-conf (cache-policy? , cache-policy-conf?, cache-policy-conf-other?)>
+
+<!--
+  The implementation class for the cache policy, which controls
+  when instances will be passivated, etc.
+
+  Used in: container-cache-conf
+-->
+<!ELEMENT cache-policy (#PCDATA)>
+
+<!--
+  The configuration settings for the selected cache policy.  This
+  is currently only valid for the LRU cache.
+  When the cache is the LRU one for the stateful container, the elements
+  remover-period and max-bean-life specifies the period of the remover
+  task that removes stateful beans (that normally have been passivated)
+  that have age greater than the specified max-bean-life element.
+
+  Used in: container-cache-conf (when cache-policy is the LRU cache)
+-->
+<!ELEMENT cache-policy-conf (min-capacity? , max-capacity? , remover-period? ,
+ max-bean-life? , overager-period? , max-bean-age? , resizer-period? ,
+ max-cache-miss-period? , min-cache-miss-period? , cache-load-factor?, flush-enabled?)>
+
+<!--
+  The minimum capacity of this cache
+-->
+<!ELEMENT min-capacity (#PCDATA)>
+
+<!--
+  The maximum capacity of this cache
+-->
+<!ELEMENT max-capacity (#PCDATA)>
+
+<!--
+  The period of the overager's runs
+-->
+<!ELEMENT overager-period (#PCDATA)>
+
+<!--
+  The period of the remover's runs
+-->
+<!ELEMENT remover-period (#PCDATA)>
+
+<!--
+  The max-bean-life specifies the period of the remover
+  task that removes stateful beans (that normally have been passivated)
+  that have age greater than the specified max-bean-life element.
+-->
+<!ELEMENT max-bean-life (#PCDATA)>
+
+<!--
+  The period of the resizer's runs
+-->
+<!ELEMENT resizer-period (#PCDATA)>
+
+<!--
+  The age after which a bean is automatically passivated
+-->
+<!ELEMENT max-bean-age (#PCDATA)>
+
+<!--
+  Shrink cache capacity if there is a cache miss every or more
+  this member's value
+-->
+<!ELEMENT max-cache-miss-period (#PCDATA)>
+
+<!--
+  Enlarge cache capacity if there is a cache miss every or less
+  this member's value
+-->
+<!ELEMENT min-cache-miss-period (#PCDATA)>
+
+<!--
+  The resizer will always try to keep the cache capacity so that
+  the cache is this member's value loaded of cached objects
+-->
+<!ELEMENT cache-load-factor (#PCDATA)>
+
+<!--
+  For the NoPassivationCachePolicy. Can be true or false
+-->
+<!ELEMENT flush-enabled (#PCDATA)>
+
+<!--
+  Arbitrary XML configuration
+-->
+<!ELEMENT cache-policy-conf-other ANY>
+
+<!--
+  Possible content for the cache-policy-conf-other
+-->
+<!ELEMENT partitions (#PCDATA)>
+<!ELEMENT batch-commit-strategy (#PCDATA)>
+<!ELEMENT invalidable EMPTY>
+
+<!--
+  The container-pool-conf element holds configuration data for the
+  instance pool.
+  jboss does not read directly the subtree for this element: instead,
+  it is passed to the instance pool instance (if it implements
+  org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+  The default instance pools, EntityInstancePool and
+  StatelessSessionInstancePool, both accept the following configuration.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-pool-conf (MinimumSize?, MaximumSize?,
+   strictMaximumSize?, strictTimeout?)>
+
+<!-- The theoretical minimum size of the pool. Currently unused by JBoss
+EJB pools.
+
+Used in: invoker-proxy-conf for JMSContainerInvoker
+-->
+<!ELEMENT MinimumSize (#PCDATA)>
+
+<!--
+  The capacity of the Pool. For pools where reclaim is possible, the pool will
+  also be repopulated when the instance is free to be reused.
+  This is not an hard limit, if instances are needed when the pool is at
+  its MaximumSize, new instances will be created following the demand unless
+  a strictMaximumSize of true is specified.
+
+  Used in: container-pool-conf and invoker-proxy-conf for JMSContainerInvoker
+-->
+<!ELEMENT MaximumSize (#PCDATA)>
+
+<!--
+  The number of millis to keep an unused object in the pool. Currently unused by
+  JBoss EJB Pools.
+
+  Used in: invoker-proxy-conf for JMSContainerInvoker
+-->
+<!ELEMENT KeepAliveMillis (#PCDATA)>
+
+<!-- A boolean flag indicating if attempts to access the pool will block when
+MaximumSize instances are active. The default is false.
+
+  Used in: container-pool-conf
+-->
+<!ELEMENT strictMaximumSize (#PCDATA)>
+
+<!-- The time in milliseconds to wait for the strictMaximumSize semaphore. The
+default is Long.MAX_VALUE or essentially enternity.
+
+  Used in: container-pool-conf
+-->
+<!ELEMENT strictTimeout (#PCDATA)>
+
+<!--
+  This option is only used for entity container configurations.
+
+  The commit-option element tells the container which option to use for transactions.
+  Its value must be A, B C, or D.
+
+  - option A: the entiry instance has exclusive access to the database. The instance
+  stays ready after a transaction.
+  - option B: the entity instance does not have exclusive access to the database.
+  The state is loaded before the next transaction.
+  - option C: same as B, except the container does not keep the instance after commit:
+  a passivate is immediately performed after the commit.
+
+  - option D: a lazy update. default is every 30 secs.
+               can be updated with <optiond-refresh-rate>
+
+  See ejb1.1 specification for details (p118).
+
+  Used in: container-configuration
+-->
+<!ELEMENT commit-option (#PCDATA)>
+
+<!--
+  This element is used to specify the refresh rate of commit option d
+-->
+<!ELEMENT optiond-refresh-rate (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_4_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_4_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_4_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1692 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+$Id: jboss_4_0.dtd 63958 2007-07-10 20:39:29Z galder.zamarreno at jboss.com $
+
+This is the XML DTD for the JBoss 4.0 EJB deployment descriptor.
+The DOCTYPE is:
+
+  <!DOCTYPE jboss PUBLIC
+      "-//JBoss//DTD JBOSS 4.0//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
+
+Overview of the architecture of jboss.xml
+
+<jboss>
+
+  <enforce-ejb-restrictions />
+  <security-domain />
+  <unauthenticated-principal />
+  <webservices>
+    <context-root>
+    <webservice-description>
+      <webservice-description-name>
+      <wsdl-publish-location>
+    </webservice-description>
+  <webservices>
+
+  <enterprise-beans>
+
+    <entity>
+      <ejb-name />
+      <jndi-name />
+      <local-jndi-name />
+      <call-by-value>
+      <read-only>
+      <call-by-value>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <ejb-local-ref>
+      <service-ref>
+      <security-identity>
+        <run-as-principal>
+      </security-identity>
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+      <resource-env-ref>
+      <clustered />
+      <cluster-config>
+    </entity>
+
+    <session>
+      <ejb-name />
+      <jndi-name />
+      <local-jndi-name />
+      <call-by-value>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <ejb-local-ref>
+      <service-ref>
+      <security-identity>
+        <run-as-principal>
+      </security-identity>
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+      <resource-env-ref>
+      <clustered />
+      <cluster-config>
+      <port-component>
+        <port-component-name>
+        <port-component-uri>
+        <auth-method>
+        <transport-guarantee>
+      </port-component>
+    </session>
+
+    <message-driven>
+      <ejb-name>
+      <destination-jndi-name>
+      <mdb-user>
+      <mdb-passwd>
+      <mdb-client-id>
+      <mdb-subscription-id>
+      <resource-adapter-name>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <service-ref>
+      <security-identity>
+        <run-as-principal>
+      </security-identity>
+      <resource-ref>
+      <resource-env-ref>
+    </message-driven>
+
+  </enterprise-beans>
+
+  <assembly-descriptor>
+    <security-role>
+      <role-name>
+      <principal-name>
+    </security-role>
+  </assembly-descriptor>
+
+  <resource-managers>
+
+    <resource-manager>
+      <res-name />
+      <res-jndi-name />
+    </resource-manager>
+
+    <resource-manager>
+      <res-name />
+      <res-url />
+    </resource-manager>
+
+  </resource-managers>
+
+  <container-configurations>
+
+    <container-configuration>
+      <container-name />
+      <call-logging />
+      <invoker-proxy-binding-name />
+      <sync-on-commit-only />
+      <insert-after-ejb-post-create />
+      <call-ejb-store-on-clean />
+      <store-not-flushed />
+      <container-interceptors />
+      <instance-pool />
+      <instance-cache />
+      <persistence-manager />
+      <web-class-loader />
+      <locking-policy />
+      <container-cache-conf />
+      <container-pool-conf />
+      <commit-option />
+      <optiond-refresh-rate />
+      <security-domain />
+      <cluster-config />
+      <depends />
+    </container-configuration>
+
+  </container-configurations>
+
+</jboss>
+-->
+
+<!ENTITY % service-ref PUBLIC
+   "-//JBoss//DTD Web Service Reference 4.0//EN"
+   "http://www.jboss.org/j2ee/dtd/service-ref_4_0.dtd">
+  
+%service-ref;
+
+<!--
+  The jboss element is the root element of the jboss.xml file. It
+  contains all the information used by jboss but not described in the
+  ejb-jar.xml file. All of it is optional.
+
+  1- the application assembler can define custom container configurations
+     for the beans. Standard configurations are provided in standardjboss.xml
+  2- the deployer can override the jndi names under which the beans are deployed
+  3- the deployer can specify runtime jndi names for resource managers.
+
+-->
+<!ELEMENT jboss (loader-repository?, jmx-name?, enforce-ejb-restrictions?,
+ security-domain?, missing-method-permissions-excluded-mode?,
+ unauthenticated-principal?, exception-on-rollback?,
+ webservices?, enterprise-beans?, assembly-descriptor?,
+ resource-managers?, invoker-proxy-bindings?, container-configurations?)>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA #IMPLIED>
+
+<!-- The jmx-name element allows one to specify the JMX ObjectName to use
+for the MBean associated with the ejb-jar module. This must be a unique
+name and valid JMX ObjectName string.
+
+   Used in: jboss
+-->
+<!ELEMENT jmx-name (#PCDATA)>
+
+<!--
+  The enforce-ejb-restrictions element tells the container to enforce ejb1.1 restrictions
+  It must be one of the following :
+    <enforce-ejb-restrictions>true</enforce-ejb-restrictions>
+    <enforce-ejb-restrictions>false</enforce-ejb-restrictions>
+
+  Used in: jboss
+-->
+<!ELEMENT enforce-ejb-restrictions (#PCDATA)>
+
+<!--
+  The security-domain element specifies the JNDI name of the security
+  manager that implements the EJBSecurityManager and RealmMapping for
+  the domain. When specified at the jboss level it specifies the security
+  domain for all j2ee components in the deployment unit.
+  One can override the global security-domain at the container
+  level using the security-domain element at the container-configuration
+  level.
+
+  Used in: jboss, container-configuration
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!-- The missing-method-permissions-excluded-mode determines the treatment
+of missing method-permission mappings in the ejb-jar descriptor. The ejb 2.1
+spec states: "It is possible that some methods are not assigned to any security
+roles nor contained in the exclude-list element. In this case, it is the
+responsibility of the Deployer to assign method permissions for all of the
+unspecified methods, either by assigning them to security roles, or by marking
+them as unchecked." The missing-method-permissions-excluded-mode is a boolean
+that allows the deployer to globally indicate that all methods without a
+method-permission element should be treated as excluded(= true and the default),
+or that methods without a method-permission element should be treated as
+unchecked(= false)
+
+<missing-method-permissions-excluded-mode>true</missing-method-permissions-excluded-mode>
+<missing-method-permissions-excluded-mode>false</missing-method-permissions-excluded-mode>
+
+-->
+<!ELEMENT missing-method-permissions-excluded-mode (#PCDATA)>
+
+<!--
+  The unauthenticated-principal element specifies the name of the principal
+  that will be returned by the EJBContext.getCallerPrincipal() method if there
+  is no authenticated user. This Principal has no roles or privaledges to call
+  any other beans.
+-->
+<!ELEMENT unauthenticated-principal (#PCDATA)>
+
+<!-- The invoker-proxy-bindings defines the invokers available for use with
+the ejb container configurations.
+-->
+<!ELEMENT invoker-proxy-bindings (invoker-proxy-binding*)>
+
+<!-- The invoker-proxy-binding defines an invoker service and proxy factory
+-->
+<!ELEMENT invoker-proxy-binding (name, invoker-mbean, proxy-factory, proxy-factory-config)>
+
+<!-- The name gives a unique name for the invoker-proxy-binding
+-->
+<!ELEMENT name (#PCDATA)>
+
+<!-- The invoker-mbean gives the JMX ObjectName of the invoker MBean service
+-->
+<!ELEMENT invoker-mbean (#PCDATA)>
+
+<!-- The org.jboss.ejb.EJBProxyFactory implementation class
+-->
+<!ELEMENT proxy-factory (#PCDATA)>
+
+<!-- The proxy-factory-config defines the client-interceptors stack
+and other configuration options to use for the various EJB proxies.
+-->
+<!ELEMENT proxy-factory-config (client-interceptors? , activation-config? , endpoint-interceptors? , 
+web-class-loader? , JMSProviderAdapterJNDI? , ServerSessionPoolFactoryJNDI? , 
+CreateJBossMQDestination? , MinimumSize? , MaximumSize? ,
+KeepAliveMillis? , MaxMessages? , MDBConfig? , poa? , register-ejbs-in-jnp-context? , 
+jnp-context? , interface-repository-supported?)>
+
+<!--
+  The jndi name of the jms provider adapter in the java:/ namespace.
+  This is mandatory for an MDB and must implement
+  org.jboss.jms.jndi.JMSProviderAdapter
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT JMSProviderAdapterJNDI (#PCDATA)>
+
+<!--
+  The jndi name of the session pool in the java:/ namespace.
+  This is mandatory for an MDB and must implement
+  org.jboss.jms.asf.ServerSessionPoolFactory
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT ServerSessionPoolFactoryJNDI (#PCDATA)>
+
+<!--
+  Whether to create destinations in JBossMQ if the
+  destination cannot be found.
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT CreateJBossMQDestination (#PCDATA)>
+
+<!--
+  The maximum number of messages parameter for the mdb's
+  connection consumer.
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT MaxMessages (#PCDATA)>
+
+<!--
+  Configuration for the MDB
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT MDBConfig (ReconnectIntervalSec , DeliveryActive? , DLQConfig?)>
+
+<!--
+  The time to wait (in seconds) before trying to recover
+  the connection to the JMS server.
+
+  Used in: MDBConfig
+-->
+<!ELEMENT ReconnectIntervalSec (#PCDATA)>
+
+<!--
+  Whether delivery of messages is active at startup,
+  valid values are "True" or "False".
+
+  Used in: MDBConfig
+-->
+<!ELEMENT DeliveryActive (#PCDATA)>
+
+<!--
+  Configuration for an MDB's dead letter queue, used
+  when messages are redelivered too many times.
+
+  Used in: MDBConfig
+-->
+<!ELEMENT DLQConfig (DestinationQueue , MaxTimesRedelivered , TimeToLive, DLQUser?,  DLQPassword?)>
+
+<!--
+  The jndi name of the queue to use as the dead letter queue.
+
+  Used in: DLQConfig
+-->
+<!ELEMENT DestinationQueue (#PCDATA)>
+
+<!--
+  The maximum number of times a message is redelivered before it
+  is placed in the dead letter queue.
+
+  Used in: DLQConfig
+-->
+<!ELEMENT MaxTimesRedelivered (#PCDATA)>
+
+<!--
+  The time-to-live of the message in the dead letter queue.
+  See javax.jms.Message
+
+  Used in: DLQConfig
+-->
+<!ELEMENT TimeToLive (#PCDATA)>
+
+<!--
+  The user for the dlq connection
+
+  Used in: DLQConfig
+-->
+<!ELEMENT DLQUser (#PCDATA)>
+
+<!--
+  The password for the dlq connection
+
+  Used in: DLQConfig
+-->
+<!ELEMENT DLQPassword (#PCDATA)>
+
+<!--
+  The portable object adapter usage, one of
+  <poa>per-servent</poa>
+  <poa>shared</poa>
+
+  Used in: proxy-factory-config for IORFactory
+-->
+<!ELEMENT poa (#PCDATA)>
+
+<!--
+  Whether to register ejbs in jnp (jndi)
+
+  Used in: proxy-factory-config for IORFactory
+-->
+<!ELEMENT register-ejbs-in-jnp-context (#PCDATA)>
+
+<!--
+  The jndi context in which to register ejbs
+
+  Used in: proxy-factory-config for IORFactory
+-->
+<!ELEMENT jnp-context (#PCDATA)>
+
+<!--
+  Whether a deployed ejb has its own CORBA interface repository or not
+
+  Used in: proxy-factory-config for IORFactory
+-->
+<!ELEMENT interface-repository-supported (#PCDATA)>
+
+<!--
+  The enterprise-beans element contains additional information about
+  the beans. These informations, such as jndi names, resource managers and
+  container configurations, are specific to jboss and not described in
+  ejb-jar.xml.
+
+  jboss will provide a standard behaviour if no enterprise-beans element
+  is found, see container-configurations, jndi-name and resource-managers
+  for defaults.
+
+  Used in: jboss
+-->
+<!ELEMENT webservices (context-root?, webservice-description*)>
+
+<!-- The context-root element specifies the context root of the web
+application that the EJB service endpoints are deployed to. 
+If it is not specified it will be derived from the deployment short name.
+-->
+<!ELEMENT context-root (#PCDATA)>
+
+<!--
+Runtime information about a web service.
+wsdl-publish-location is optionally used to specify
+where the final wsdl and any dependent files should be stored.  This location
+resides on the file system from which deployment is initiated.
+-->
+<!ELEMENT webservice-description ( webservice-description-name, config-name?, config-file?, wsdl-publish-location? )>
+
+<!--
+Unique name of a webservice within a module. It corresponds to the <webservice-description-name>
+element in webservices.xml
+-->
+<!ELEMENT webservice-description-name ( #PCDATA )>
+
+<!--
+file: URL of a directory to which a web-service-description's wsdl should be
+published during deployment.  Any required files will be published to this
+directory, preserving their location relative to the module-specific
+wsdl directory(META-INF/wsdl or WEB-INF/wsdl).
+Example :
+  For an ejb.jar whose webservices.xml wsdl-file element contains
+    META-INF/wsdl/a/Foo.wsdl
+  <wsdl-publish-location>file:/home/user1/publish
+  </wsdl-publish-location>
+  The final wsdl will be stored in /home/user1/publish/a/Foo.wsdl
+-->
+<!ELEMENT wsdl-publish-location ( #PCDATA )>
+
+<!--
+  The enterprise-beans element contains additional information about
+  the beans. These informations, such as jndi names, resource managers and
+  container configurations, are specific to jboss and not described in
+  ejb-jar.xml.
+  jboss will provide a standard behaviour if no enterprise-beans element
+  is found, see container-configurations, jndi-name and resource-managers
+  for defaults.
+  Used in: jboss
+-->
+<!ELEMENT enterprise-beans ((session | entity | message-driven)*)>
+
+<!--
+  The entity element holds information specific to jboss and not declared
+  in ejb-jar.xml about an entity bean, such as jndi name, container
+  configuration, and resource managers. (see tags for details)
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+
+  Used in: enterprise-beans
+-->
+<!ELEMENT entity (ejb-name , jndi-name? , local-jndi-name? , call-by-value?, read-only?,
+ exception-on-rollback?, timer-persistence?, configuration-name? , invoker-bindings?,
+ security-proxy? , ejb-ref* , ejb-local-ref* , service-ref*, security-identity? ,
+ resource-ref* , resource-env-ref*, message-destination-ref* , method-attributes? ,
+ clustered? , cluster-config?, cache-invalidation? , cache-invalidation-config?,
+ depends*, ior-security-config?)>
+<!-- Allow the entity to have a unique id -->
+<!ATTLIST entity id ID #IMPLIED>
+<!--
+  The session element holds information specific to jboss and not declared
+  in ejb-jar.xml about a session bean, such as jndi name, container
+  configuration, and resource managers. (see tags for details)
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+
+  Used in: enterprise-beans
+-->
+<!ELEMENT session (ejb-name , jndi-name? , local-jndi-name?, call-by-value?,
+ exception-on-rollback?, timer-persistence?, configuration-name?, invoker-bindings?,
+ security-proxy? , ejb-ref* ,  ejb-local-ref* , service-ref*, security-identity? ,
+ resource-ref* , resource-env-ref*, message-destination-ref* , clustered? ,
+ cluster-config?, method-attributes?, depends*,
+ ior-security-config?, port-component*,  ejb-timeout-identity?)>
+<!-- Allow the session to have a unique id -->
+<!ATTLIST session id ID #IMPLIED>
+
+<!--
+  The message-driven element holds information specific to jboss and not declared
+  in ejb-jar.xml about a message-driven bean, such as container
+  configuration and resources.
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+
+  Used in: enterprise-beans
+-->
+<!ELEMENT message-driven (ejb-name , activation-config?, destination-jndi-name? ,
+ local-jndi-name?,
+ mdb-user?,  mdb-passwd? , mdb-client-id? , mdb-subscription-id? , resource-adapter-name? ,
+ exception-on-rollback?, timer-persistence?, configuration-name? , invoker-bindings?,
+ security-proxy? , ejb-ref* ,  ejb-local-ref*, service-ref*, security-identity?, resource-ref*,
+ resource-env-ref*, message-destination-ref*, depends*, ior-security-config?,
+ ejb-timeout-identity?)>
+<!-- Allow the message-driven to have a unique id -->
+<!ATTLIST message-driven id ID #IMPLIED>
+
+<!--
+  The ejb-name element gives the name of the bean, it must correspond to
+  an ejb-name element in ejb-jar.xml
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT ejb-name (#PCDATA)>
+
+<!--
+  The jndi-name element gives the actual jndi name under which
+  the bean will be deployed when used in the entity, session and
+  message-driven elements. If it is not provided jboss will assume
+  "jndi-name" = "ejb-name"
+
+  When used in the ejb-ref,  ejb-local-ref, resource-ref, resource-env-ref, 
+  message-destination-ref, message-destination elements this specifies the jndi name to 
+  which the reference should link.
+
+  Used in: entity, session and message-driven
+    ejb-ref, resource-ref, resource-env-ref
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!--
+  The JNDI name under with the local home interface should be bound
+
+  Used in: entity and session
+-->
+<!ELEMENT local-jndi-name (#PCDATA)>
+
+<!--
+  Determine if the bean should use by value call semantics
+
+  Used in: entity and session
+-->
+<!ELEMENT call-by-value (#PCDATA)>
+
+<!--
+  The read-only element flags an entity bean as read only.
+  The bean will never be ejbStored. Defaults to false.
+  It must be one of the following :
+    <read-only>true</read-only>
+    <read-only>false</read-only>
+
+  Used in: entity
+-->
+<!ELEMENT read-only (#PCDATA)>
+
+<!--
+  Whether to throw an exception if the CMT controlled
+  transaction is no longer active (e.g. marked rollback)
+  but the application has not itself thrown an exception.
+  If the bean specifies false, it uses the
+  jboss/exception-on-rollback config.
+  Defaults to false.
+  It must be one of the following :
+    <exception-on-rollback>true</exception-on-rollback>
+    <exception-on-rollback>false</exception-on-rollback>
+
+  Used in: jboss, session, entity and message-driven
+-->
+<!ELEMENT exception-on-rollback (#PCDATA)>
+
+<!--
+  The timer-persistence element determines whether ejb timers should
+  be persisted across application redeployment. Defaults to true.
+  
+  It must be one of the following:
+    <timer-persistence>true</timer-persistence>
+    <timer-persistence>false</timer-persistence>
+  
+  Used in: session, entity and message-driven
+-->
+<!ELEMENT timer-persistence (#PCDATA)>
+
+<!--
+  The configuration-name element gives the name of the container
+  configuration for this bean. It must match one of the container-name
+  tags in the container-configurations section, or one of the standard
+  configurations. If no element is provided, jboss will automatically use the
+  right standard configuration, see container-configurations.
+
+  Note: unlike earlier releases, this element may not be specified as an
+   empty element to achieve the same effect as not specifying the element.
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT configuration-name (#PCDATA)>
+
+<!-- The depends element gives a JMX ObjectName of a service on which the
+container or ejb depends.
+-->
+<!ELEMENT depends (#PCDATA)>
+
+<!-- The queue/topic jndi name from which we receive messages -->
+<!ELEMENT destination-jndi-name (#PCDATA)>
+
+<!-- The optional user for the jms connection that delivers messages -->
+<!ELEMENT mdb-user (#PCDATA)>
+
+<!-- The optional password for the jms connection that delivers messages -->
+<!ELEMENT mdb-passwd (#PCDATA)>
+
+<!-- The optional client-id for the jms connection that delivers messages -->
+<!ELEMENT mdb-client-id (#PCDATA)>
+
+<!-- The subscription name for topic delivery -->
+<!ELEMENT mdb-subscription-id (#PCDATA)>
+
+<!-- The name of the rar used in JCA 1.5 message inflow
+e.g.
+   <resource-adapter-name>jms-ra.rar</resource-adapter-name>
+or for embedded rars
+   <resource-adapter-name>myapp.ear#myconnector.rar</resource-adapter-name>
+-->
+<!ELEMENT resource-adapter-name (#PCDATA)>
+
+<!-- The security-proxy gives the class name of the security proxy implementation.
+  This may be an instance of org.jboss.security.SecurityProxy, or an
+  just an object that implements methods in the home or remote interface
+  of an EJB without implementating any common interface.
+
+      Used in: entity, session, and message-driven
+-->
+<!ELEMENT security-proxy (#PCDATA)>
+
+<!--
+  The ejb-ref element is used to give the jndi-name of an external
+  ejb reference. In the case of an external ejb reference, you don't
+  provide a ejb-link element in ejb-jar.xml, but you provide a jndi-name
+  in jboss.xml
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!--
+  The ejb-ref-name element is the name of the ejb reference as given in
+  ejb-jar.xml.
+
+  Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--
+  The ejb-local-ref element is used to give the jndi-name of an external
+  ejb reference. This is an alternative to using ejb-link in ejb-jar.xml
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT ejb-local-ref (ejb-ref-name , local-jndi-name)>
+
+<!--
+  The security-identity element specifies whether a specific run-as identity is to be
+  used. If there is a run-as role defined for an enterprise bean, there can also be a
+  run-as-principal define here. If you don't define a run-as principal the callee will
+  see ctx.getCallerPrincipal() == 'anonymous'
+
+  Used in: entity, message-driven, session
+-->
+<!ELEMENT security-identity (run-as-principal)>
+
+<!--
+  The ejb-timeout-identity element specifies the run-as used for the ejbTimeout
+  callback method. If the run-as-principal is specified this is the identity
+  that will be set as the callback run-as. If the run-as-principal is empty,
+  then no security context is specified at the container level. Any access of
+  secured resources will require that the ejbTimeout method establish the
+  security context.
+-->
+<!ELEMENT ejb-timeout-identity (run-as-principal)>
+
+<!--
+  The run-as-principal element is the name of the principal that is used
+  when the enterprise bean calls out with a run-as role.
+
+  Used in: security-identity
+-->
+<!ELEMENT run-as-principal (#PCDATA)>
+
+<!--
+  The resource-env-ref element gives a mapping between the "code name"
+  of a env resource (res-ref-name, provided by the Bean Developer) and
+  its deployed JNDI name.
+
+  Used in: session, entity, message-driven
+-->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!--
+  The resource-env-ref-name element gives the "code name" of a resource. It is
+  provided by the Bean Developer.
+
+  Used in: resource-env-ref
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--
+  The method-attributes element can be used to specify which methods are read only
+  or idempotent.  This is used to reduce the need for locks and replication.
+-->
+<!ELEMENT method-attributes (method*)>
+
+<!--
+  The method element is used to specify attributes for one method or all those
+  matching a pattern startingstring*.
+-->
+<!ELEMENT method (method-name, read-only?, idempotent?, transaction-timeout?)>
+
+<!--
+  The method-name element specifies a complete method name or a pattern consisting of an
+  initial match followed by '*'
+-->
+<!ELEMENT method-name (#PCDATA)>
+
+<!--
+  The idempotent element is used in method-attributes to indicate that a method
+  is completely stateless. Really the same as read-only and should be dropped.
+-->
+<!ELEMENT idempotent (#PCDATA)>
+
+<!--
+  The transaction timeout in seconds (overriding the default timeout).
+  This will only work for Required (where the method starts the transaction) and RequiresNew.
+  The special value of 0 (zero) uses the default timeout configured on jboss:service=TransactionManager
+  NOTE: any subsequent use of RequiresNew that is not explicitly overridden will use this value.
+-->
+<!ELEMENT transaction-timeout (#PCDATA)>
+
+<!--
+  The clustered element indicates if this bean will run in a cluster of JBoss instances.
+  It is provided by the deployer. If not, jboss will assume clustered = False
+  Possible values: "True", "False" (default)
+
+  Used in: entity and session
+-->
+<!ELEMENT clustered (#PCDATA)>
+
+<!--
+  The cluster-config element allows to specify cluster specific settings.
+  WARNING: session-state-manager-jndi-name is only for SFSB.
+
+  Used in: session, entity, container-configuration
+-->
+<!ELEMENT cluster-config (partition-name? , home-load-balance-policy? ,
+ bean-load-balance-policy? , session-state-manager-jndi-name?)>
+
+<!--
+  The partition-name element indicates the name of the HAPartition to be used
+  by the container to exchange clustering information. This is a name and *not*
+  a JNDI name. Given name will be prefixed by "/HASessionState/" by the container to get
+  the actual JNDI name of the HAPartition. If not, jboss will assume partition-name = "DefaultPartition".
+
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT partition-name (#PCDATA)>
+
+<!--
+  The home-load-balance-policy element indicates the java class name to be used
+  to load balance calls in the home proxy.
+  If not, jboss will assume home-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin".
+
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT home-load-balance-policy (#PCDATA)>
+
+<!--
+  The bean-load-balance-policy element indicates the java class name to be used
+  to load balance calls in the bean proxy.
+  If not, jboss will assume :
+    - for EB and SFSB : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin"
+    - for SLSB        : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin"
+
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT bean-load-balance-policy (#PCDATA)>
+
+<!--
+  The cache-invalidation element indicates if this bean cache should listen to cache
+  invalidation events and clear its cache accordingly as well as send cache invalidation
+  messages.
+  It is provided by the deployer. If not, jboss will assume cache-invalidation = False
+  NOTE: This value will *only* be applied if the correct cache plugin and interceptor(s)
+        are defined in the container configuration.
+  Possible values: "True", "False" (default)
+
+  Used in: entity (only commit-option A and D will invalidate their cache)
+-->
+<!ELEMENT cache-invalidation (#PCDATA)>
+
+<!--
+  The cache-invalidation-config element allows to specify cache invalidation specific settings.
+
+  Used in: entity
+-->
+<!ELEMENT cache-invalidation-config (invalidation-group-name? , invalidation-manager-name?)>
+
+<!--
+  The invalidation-group-name element indicates the name of a group in which all
+  invalidation messages are exchanged i.e. all beans sharing a given invalidation-group-name
+  should share the same PK semantic.
+  By default, invalidation-group-name equals to the EJB name. Thus, when using cache invalidation
+  accross a cluster, it is not necessary to specify a name as all beans will have the same name
+  accross the cluster. Nevertheless, if you deploy, on the same node, the same EJB, once with
+  commit-option C (RW access) and once in commit-option A (RO) and want the RW EJB to invalidate
+  entries of RO EJB, each one will obviously have its own EJB name. Consequently, you can assign
+  a common invalidation-group-name to both EJBs so that they share their cache invalidation messages.
+
+  Used in: entity (in cache-invalidation-config element)
+-->
+<!ELEMENT invalidation-group-name (#PCDATA)>
+
+<!--
+  The invalidation-manager-name references the InvalidationManager MBean to be used.
+  By Default, the default InvalidationManager is used.
+
+  Used in: entity (in cache-invalidation-config element)
+-->
+<!ELEMENT invalidation-manager-name (#PCDATA)>
+
+<!--
+  The session-state-manager-jndi-name element indicates the name of the HASessionState to be used
+  by the container as a backend for state session management in the cluster.
+  This *is* a JNDI name (not like the partition-name element).
+  If not, jboss will assume partition-name = "/HASessionState/Default".
+
+  Used in: session (in clustered-config element)
+-->
+<!ELEMENT session-state-manager-jndi-name (#PCDATA)>
+
+<!--
+  The resource-ref element gives a mapping between the "code name"
+  of a resource (res-ref-name, provided by the Bean Developer) and
+  its "xml name" (resource-name, provided by the Application Assembler).
+  If no resource-ref is provided, jboss will assume that
+  "xml-name" = "code name"
+
+  See resource-managers.
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT resource-ref (res-ref-name , (resource-name | jndi-name | res-url))>
+
+<!--
+  The res-ref-name element gives the "code name" of a resource. It is
+  provided by the Bean Developer. See resource-managers for the actual
+  configuration of the resource.
+
+  Used in: resource-ref
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+  The resource-name element gives the "xml name" of the resource. It is
+  provided by the Application Assembler. See resource-managers for the
+  actual configuration of the resource.
+
+  Used in: resource-ref
+-->
+<!ELEMENT resource-name (#PCDATA)>
+
+<!--
+  The resource-managers element is used to declare resource managers.
+
+  A resource has 3 names:
+  - the "code name" is the name used in the code of the bean, supplied by
+    the Bean Developer in the resource-ref section of the ejb-jar.xml file
+
+  - the "xml name" is an intermediary name used by the Application Assembler
+    to identify resources in the XML file.
+
+  - the "runtime jndi name" is the actual jndi-name or url of the deployed
+    resource, it is supplied by the Deployer.
+
+  The mapping between the "code name" and the "xml name" is given
+  in the resource-ref section for the bean. If not, jboss will assume that
+  "xml name" = "code name".
+
+  The mapping between the "xml name" and the "runtime jndi name" is given in
+  a resource-manager section. If not, and if the datasource is of type
+  javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the jndi
+  tree.
+
+  Used in: jboss
+-->
+<!ELEMENT resource-managers (resource-manager*)>
+
+<!--
+  The resource-manager element is used to provide a mapping between the
+  "xml name" of a resource (res-name) and its "runtime jndi name"
+  (res-jndi-name or res-url according to the type of the resource).
+  If it is not provided, and if the type of the resource is
+  javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the
+  jndi tree.
+
+  See resource-managers.
+
+  Used in: resource-managers
+-->
+<!ELEMENT resource-manager (res-name , (res-jndi-name | res-url))>
+
+<!--
+  The res-name element gives the "xml name" of a resource, it is provided
+  by the Application Assembler. See resource-managers.
+
+  Used in: resource-manager
+-->
+<!ELEMENT res-name (#PCDATA)>
+
+<!--
+  The res-jndi-name element is the "deployed jndi name" of a resource, it
+  is provided by the Deployer. See resource-managers.
+
+  Used in: resource-manager
+-->
+<!ELEMENT res-jndi-name (#PCDATA)>
+
+<!-- The res-url element value is a URL string for a resource-ref of
+res-type = java.net.URL. Using a res-url creates a binding of the URL
+instance under the java:comp/env. If you want to link to another binding
+of a URL, you can use the jndi-name to do so.
+
+// Binds the URL(http://x.y.z) under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>http://x.y.z</res-url>
+</resource-ref>
+// Binds a link to urls/XYZHomePage under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>urls/XYZHomePage</res-url>
+</resource-ref>
+
+   Used in: resource-ref, resource-manager
+-->
+<!ELEMENT res-url (#PCDATA)>
+
+<!--
+  The message-destination-ref element is used to configure the
+  jndi-name for a message-destination-ref in ejb-jar.xml
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT message-destination-ref (message-destination-ref-name, jndi-name)>
+
+<!--
+  The message-destination-ref-name element identifies the
+  message-destination-ref. It must match the name in ejb-jar.xml
+
+  Used in: message-destination-ref
+-->
+<!ELEMENT message-destination-ref-name (#PCDATA)>
+
+<!--
+  The assembly-descriptor element contains application-assembly information.
+
+  The definition of security roles allows you to map assembly roles to one or more
+  principals. For example, you may define a run-as principal in the security-identity
+  element and include that principal in one or more security-role(s) in the
+  assembly descriptor. When called with a run-as role, the callee will see all
+  those roles in ctx.isCallerInRole(...)
+
+  Used in: jboss
+-->
+<!ELEMENT assembly-descriptor (security-role*, message-destination*)>
+
+<!--
+  The security-role element contains the definition of a security role.
+  The definition consists of an the security role name and principal name element(s).
+
+Used in: assembly-descriptor
+
+Example:
+		<security-role>
+      <role-name>Manager</role-name>
+      <principal-name>j2ee</principal-name>
+      <principal-name>javajoe</principal-name>
+		</security-role>
+-->
+<!ELEMENT security-role (role-name, principal-name+)>
+
+<!--
+  The role-name element is the name of the role.
+
+  Used in: security-role
+-->
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+  The principal-name element is the name of the principal that is mapped
+  to the assembly role-name.
+
+  Used in: security-role
+-->
+<!ELEMENT principal-name (#PCDATA)>
+
+<!--
+  The message-destination element is used to configure the
+  jndi-name for a message-destination in ejb-jar.xml
+
+  Used in: assembly-descriptor
+-->
+<!ELEMENT message-destination (message-destination-name, jndi-name)>
+
+<!--
+  The message-destination-name element identifies the
+  message-destination. It must match the name in ejb-jar.xml
+
+  Used in: message-destination
+-->
+<!ELEMENT message-destination-name (#PCDATA)>
+
+<!--
+  The container-configurations element declares the different possible
+  container configurations that the beans can use. standardjboss.xml
+  provides 15 standard configurations with the following container-names:
+    - Standard CMP 2.x EntityBean
+    - Standard CMP EntityBean
+    - Clustered CMP 2.x EntityBean
+    - Clustered CMP EntityBean
+    - IIOP CMP 2.x EntityBean
+    - IIOP CMP EntityBean
+    - Standard Stateless SessionBean
+    - Clustered Stateless SessionBean
+    - IIOP Stateless SessionBean
+    - Standard Stateful SessionBean
+    - Clustered Stateful SessionBean
+    - IIOP Stateful SessionBean
+    - Standard BMP EntityBean
+    - Clustered BMP EntityBean
+    - IIOP BMP EntityBean
+    - Standard message Driven Bean
+
+  The standard configurations will automatically be used if no custom
+  configuration is specified.
+
+  The application assembler can define advanced custom configurations here.
+
+  Used in: jboss
+-->
+<!ELEMENT container-configurations (container-configuration*)>
+
+<!--
+  The container-configuration element describes a configuration for the
+  container.
+  The different plugins to use are declared here, as well as their
+  configurations. The configuration-class attribute is no longer used.
+
+  Used in: container-configurations
+-->
+<!ELEMENT container-configuration (container-name , call-logging?,
+ invoker-proxy-binding-name?, sync-on-commit-only?,
+ insert-after-ejb-post-create?, call-ejb-store-on-clean?, store-not-flushed?, container-interceptors? ,
+ instance-pool? , instance-cache? ,  persistence-manager? , web-class-loader? ,
+ locking-policy? ,  container-cache-conf? , container-pool-conf? ,
+ commit-option? , optiond-refresh-rate? , security-domain?, cluster-config?,
+ depends*)>
+
+<!-- The extends attribute gives the container-name value of the configuration the container-configuration
+is extending. This allows one to specify an extension configuration without having to reiterate all of
+the other duplicate configuration info.
+
+        <container-configuration extends="Standard Stateful SessionBean">
+            <container-name>Secure Stateless SessionBean</container-name>
+            <security-domain>java:/jaas/other</security-domain>
+        </container-configuration>
+-->
+<!ATTLIST container-configuration extends CDATA  #IMPLIED>
+
+<!--
+  The container-name element gives the name of the configuration being
+  defined. Beans may refer to this name in their configuration-name tag.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-name (#PCDATA)>
+
+<!--
+  The call-logging element tells if the container must log every method
+  invocation for this bean or not. Its value must be true or false.
+
+  Used in: container-configuration
+-->
+<!ELEMENT call-logging (#PCDATA)>
+
+<!--
+  The invoker-bindings element gives the invokers configuration for an
+  ejb container.
+
+  Used in: entity, session, message-driven
+-->
+<!ELEMENT invoker-bindings (invoker+)>
+<!--
+ -->
+<!ELEMENT invoker (invoker-proxy-binding-name, jndi-name?, ejb-ref*)>
+
+<!-- The invoker-proxy-binding-name elements maps to the name element of
+an invoker-proxy-binding definition.
+
+  Used in: container-configuration, invoker
+-->
+<!ELEMENT invoker-proxy-binding-name (#PCDATA)>
+
+<!-- The sync-on-commit-only element determines the behavior of ejbStore
+calls on finds, selects and removes. If set to true, ejbStore will only be
+called on transaction commit.
+-->
+<!ELEMENT sync-on-commit-only (#PCDATA)>
+
+<!-- The insert-after-ejb-post-create element defines when the INSERT
+ statement will be executed for created entity instance.
+ Possible values are:
+ false - the default value, INSERT will be executed after ejbCreate but before
+         ejbPostCreate;
+ true - INSERT will be executed after ejbPostCreate.
+-->
+<!ELEMENT insert-after-ejb-post-create (#PCDATA)>
+
+<!-- The call-ejb-store-for-clean says whether ejbStore should be called on clean instances
+ at synchronization time. By the spec it should be true. But users wanted it to be false.
+ False is the default, meaning ejbStore is called only on dirty instances.
+-->
+<!ELEMENT call-ejb-store-on-clean (#PCDATA)>
+
+<!-- The store-not-flushed says whether dirty instances that could not be evicted
+ from the cache should or should not (to prevent potential data inconsistency)
+ be stored. The default value is TRUE.
+-->
+<!ELEMENT store-not-flushed (#PCDATA)>
+
+<!--
+  The container-interceptors element gives the chain of Interceptors
+  (instances of org.jboss.ejb.Interceptor) that are associated with the container.
+  The declared order of the interceptor elements corresponds to the order of the
+  interceptor chain.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-interceptors (interceptor+)>
+
+<!--
+The client-interceptors defines the home and bean client side interceptor chain
+
+  Used in: proxy-factory-config
+-->
+<!ELEMENT client-interceptors (home , bean, list-entity?)>
+
+<!-- Define whether the ejb proxy should expose an org.jboss.proxy.IClientContainer
+   interface to provide access to the invocation context and interceptors.
+-->
+<!ATTLIST client-interceptors exposeContainer (true | false )  "false">
+
+<!--
+The endpoint-interceptors element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the
+message endpoint.
+
+  Used in: proxy-factory-config for message inflow
+-->
+<!ELEMENT endpoint-interceptors (interceptor+)>
+
+<!--
+The home element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the home
+proxy and operate in the client VM. The declared order of the interceptor
+elements corresponds to the order of the interceptor chain.
+
+  Used in: client-interceptors
+-->
+<!ELEMENT home (interceptor+)>
+
+<!--
+The bean element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the remote
+proxy and operate in the client VM. The declared order of the interceptor
+elements corresponds to the order of the interceptor chain.
+
+  Used in: client-interceptors
+-->
+<!ELEMENT bean (interceptor+)>
+
+<!--
+The list-entity element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the remote
+proxy and operate in the client VM. The declared order of the interceptor
+elements corresponds to the order of the interceptor chain.
+
+  Used in: client-interceptors
+-->
+<!ELEMENT list-entity (interceptor+)>
+
+<!--
+  The interceptor element specifies an instance of org.jboss.ejb.Interceptor
+  that is to be added to the container interceptor stack.
+
+  Used in: home, bean, list-entity, endpoint-interceptors
+-->
+<!ELEMENT interceptor ANY>
+
+<!-- possible content for the TxInterceptorCMT -->
+<!ELEMENT retry-handlers (handler+)>
+<!ELEMENT handler (#PCDATA)>
+
+<!--
+  The transaction attribute is used to indicate what type of container its
+  interceptor applies to. It is an enumerated value that can take on one of: Bean,
+  Container or Both. A value of Bean indicates that the interceptor should only be
+  added to a container for bean-managed transaction.
+  A value of Container indicates that the interceptor should only be added to a
+  container for container-managed transactions.
+  A value of Both indicates that the interceptor should be added to all
+  containers. This is the default value if the transaction attribute is not
+  explictlygiven.
+-->
+<!ATTLIST interceptor transaction     (Bean | Container | Both )  "Both">
+
+<!--
+  The metricsEnabled attributes is used to indicate if the interceptor
+  should only be included when the org.jboss.ejb.ContainerFactory metricsEnabled
+  flag is set to true. The allowed values are true and false with false being the
+  default if metricsEnabled is not explicitly given.
+-->
+<!ATTLIST interceptor metricsEnabled  (true | false )  "false">
+
+<!--
+  The call-by-value attribute is used to indicate that the interceptor
+  should only be included when the value of the attribute corresponds
+  to the value of org.jboss.metadata.BeanMetaData callByValue.
+  For example, if a bean defines the element <call-by-value>true</call-by-value>
+  then a marshalling invoker interceptor will be used instead of the
+  non marshalling optimized invoker interceptor.
+-->
+<!ATTLIST interceptor call-by-value  (true | false )  #IMPLIED>
+
+<!--
+  The instance-pool element gives the class name of the instance pool
+  jboss must use for in this configuration. This class must implement
+  the org.jboss.ejb.InstancePool interface. The defaults are:
+  - org.jboss.ejb.plugins.EntityInstancePool for entity beans
+  - org.jboss.ejb.plugins.StatelessSessionInstancePool for stateless
+  session beans.
+  - no pool is used for stateful session beans
+
+  Used in: container-configuration
+-->
+<!ELEMENT instance-pool (#PCDATA)>
+
+<!--
+  The instance-cache element gives the class name of the instance cache
+  jboss must use for in this configuration. This class must implement
+  the org.jboss.ejb.InstanceCache interface. The defaults are:
+  - org.jboss.ejb.plugins.NoPassivationEntityInstanceCache for entity beans
+  - org.jboss.ejb.plugins.NoPassivationStatefulSessionInstanceCache for
+  stateful session beans.
+  - no cache is used for stateless session beans
+
+  Used in: container-configuration
+-->
+<!ELEMENT instance-cache (#PCDATA)>
+
+<!--
+  The persistence-manager element gives the class name of the persistence
+  manager / persistence store jboss must use for in this configuration.
+  This class must implement:
+  - org.jboss.ejb.EntityPersistenceStore for CMP Entity Beans (default is
+  org.jboss.ejb.plugins.jaws.JAWSPersistenceManager)
+  - org.jboss.ejb.EntityPersistenceManager for BMP entity beans (default
+  is org.jboss.ejb.plugins.BMPPersistenceManager)
+  - org.jboss.ejb.StatefulSessionPersistenceManager for stateless session
+  beans.
+  - no persistence-manager is used for stateless session beans
+
+  Used in: container-configuration
+-->
+<!ELEMENT persistence-manager (#PCDATA)>
+
+<!--
+  The locking-policy element gives the class name of the EJB lock
+  implementation JBoss must use for in this configuration. This class must
+  implement  the org.jboss.ejb.BeanLock interface. The default is
+  org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.
+
+  Used in: container-configuration
+-->
+<!ELEMENT locking-policy (#PCDATA)>
+
+<!--
+  The web-class-loader element gives the class name of the web classloader
+  jboss must use for in this configuration. This class must be a subclass
+  of org.jboss.web.WebClassLoader. The default is org.jboss.web.WebClassLoader.
+
+  Used in: container-configuration
+  Used in: proxy-factory-config
+-->
+<!ELEMENT web-class-loader (#PCDATA)>
+
+<!--
+  The container-cache-conf element holds dynamic configuration data
+  for the instance cache.
+  jboss does not read directly the subtree for this element: instead,
+  it is passed to the instance cache instance (if it implements
+  org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-cache-conf (cache-policy? , cache-policy-conf?, cache-policy-conf-other?)>
+
+<!--
+  The implementation class for the cache policy, which controls
+  when instances will be passivated, etc.
+
+  Used in: container-cache-conf
+-->
+<!ELEMENT cache-policy (#PCDATA)>
+
+<!--
+  The configuration settings for the selected cache policy.  This
+  is currently only valid for the LRU cache.
+  When the cache is the LRU one for the stateful container, the elements
+  remover-period and max-bean-life specifies the period of the remover
+  task that removes stateful beans (that normally have been passivated)
+  that have age greater than the specified max-bean-life element.
+
+  Used in: container-cache-conf (when cache-policy is the LRU cache)
+-->
+<!ELEMENT cache-policy-conf (min-capacity? , max-capacity? , remover-period? ,
+ max-bean-life? , overager-period? , max-bean-age? , resizer-period? ,
+ max-cache-miss-period? , min-cache-miss-period? , cache-load-factor?, flush-enabled?)>
+
+<!--
+  The minimum capacity of this cache
+-->
+<!ELEMENT min-capacity (#PCDATA)>
+
+<!--
+  The maximum capacity of this cache
+-->
+<!ELEMENT max-capacity (#PCDATA)>
+
+<!--
+  The period of the overager's runs
+-->
+<!ELEMENT overager-period (#PCDATA)>
+
+<!--
+  The period of the remover's runs
+-->
+<!ELEMENT remover-period (#PCDATA)>
+
+<!--
+  The max-bean-life specifies the period of the remover
+  task that removes stateful beans (that normally have been passivated)
+  that have age greater than the specified max-bean-life element.
+-->
+<!ELEMENT max-bean-life (#PCDATA)>
+
+<!--
+  The period of the resizer's runs
+-->
+<!ELEMENT resizer-period (#PCDATA)>
+
+<!--
+  The age after which a bean is automatically passivated
+-->
+<!ELEMENT max-bean-age (#PCDATA)>
+
+<!--
+  Shrink cache capacity if there is a cache miss every or more
+  this member's value
+-->
+<!ELEMENT max-cache-miss-period (#PCDATA)>
+
+<!--
+  Enlarge cache capacity if there is a cache miss every or less
+  this member's value
+-->
+<!ELEMENT min-cache-miss-period (#PCDATA)>
+
+<!--
+  The resizer will always try to keep the cache capacity so that
+  the cache is this member's value loaded of cached objects
+-->
+<!ELEMENT cache-load-factor (#PCDATA)>
+
+<!--
+  For the NoPassivationCachePolicy. Can be true or false
+-->
+<!ELEMENT flush-enabled (#PCDATA)>
+
+<!--
+  Arbitrary XML configuration
+-->
+<!ELEMENT cache-policy-conf-other ANY>
+
+<!--
+  Possible content for the cache-policy-conf-other
+-->
+<!ELEMENT partitions (#PCDATA)>
+<!ELEMENT batch-commit-strategy (#PCDATA)>
+<!ELEMENT invalidable EMPTY>
+
+<!--
+  The container-pool-conf element holds configuration data for the
+  instance pool.
+  jboss does not read directly the subtree for this element: instead,
+  it is passed to the instance pool instance (if it implements
+  org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+  The default instance pools, EntityInstancePool and
+  StatelessSessionInstancePool, both accept the following configuration.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-pool-conf (MinimumSize?, MaximumSize?,
+   strictMaximumSize?, strictTimeout?)>
+
+<!-- The theoretical minimum size of the pool. Currently unused by JBoss
+EJB pools.
+
+Used in: invoker-proxy-conf for JMSContainerInvoker
+-->
+<!ELEMENT MinimumSize (#PCDATA)>
+
+<!--
+  The capacity of the Pool. For pools where reclaim is possible, the pool will
+  also be repopulated when the instance is free to be reused.
+  This is not an hard limit, if instances are needed when the pool is at
+  its MaximumSize, new instances will be created following the demand unless
+  a strictMaximumSize of true is specified.
+
+  Used in: container-pool-conf and invoker-proxy-conf for JMSContainerInvoker
+-->
+<!ELEMENT MaximumSize (#PCDATA)>
+
+<!-- A boolean flag indicating if attempts to access the pool will block when
+MaximumSize instances are active. The default is false.
+
+  Used in: container-pool-conf
+-->
+<!ELEMENT strictMaximumSize (#PCDATA)>
+
+<!-- The time in milliseconds to wait for the strictMaximumSize semaphore. The
+default is Long.MAX_VALUE or essentially enternity.
+
+  Used in: container-pool-conf
+-->
+<!ELEMENT strictTimeout (#PCDATA)>
+
+<!--
+  The number of millis to keep an unused object in the pool. Currently unused by
+  JBoss EJB Pools.
+
+  Used in: invoker-proxy-conf for JMSContainerInvoker
+-->
+<!ELEMENT KeepAliveMillis (#PCDATA)>
+
+<!--
+  This option is only used for entity container configurations.
+
+  The commit-option element tells the container which option to use for transactions.
+  Its value must be A, B C, or D.
+
+  - option A: the entiry instance has exclusive access to the database. The instance
+  stays ready after a transaction.
+  - option B: the entity instance does not have exclusive access to the database.
+  The state is loaded before the next transaction.
+  - option C: same as B, except the container does not keep the instance after commit:
+  a passivate is immediately performed after the commit.
+
+  - option D: a lazy update. default is every 30 secs.
+               can be updated with <optiond-refresh-rate>
+
+  See ejb1.1 specification for details (p118).
+
+  Used in: container-configuration
+-->
+<!ELEMENT commit-option (#PCDATA)>
+
+<!--
+  This element is used to specify the refresh rate of commit option d
+-->
+<!ELEMENT optiond-refresh-rate (#PCDATA)>
+
+<!--
+ior-security-config element describes the security configuration information for the IOR.
+-->  
+<!ELEMENT ior-security-config ( transport-config? , as-context?, sas-context?  )> 
+
+<!--
+transport-config is the root element for security between the end points
+-->
+<!ELEMENT transport-config ( integrity, confidentiality,
+ establish-trust-in-target, establish-trust-in-client, detect-misordering?,
+ detect-replay?)> 
+
+<!--
+integrity element indicates if the server (target) supports integrity protected messages. 
+The valid values are NONE, SUPPORTED or REQUIRED
+-->  
+<!ELEMENT integrity ( #PCDATA)>
+
+<!--
+confidentiality element indicates if the server (target) supports privacy protected 
+messages. The values are NONE, SUPPORTED or REQUIRED
+-->  
+<!ELEMENT confidentiality ( #PCDATA)>
+
+<!--
+establish-trust-in-target element indicates if the target is capable of authenticating to a client. 
+The values are NONE or SUPPORTED.
+-->  
+<!ELEMENT establish-trust-in-target ( #PCDATA)>
+
+<!--
+establish-trust-in-client element indicates if the target is capable of authenticating a client. The
+values are NONE, SUPPORTED or REQUIRED.
+-->  
+<!ELEMENT establish-trust-in-client ( #PCDATA)>
+
+<!--
+The optional detect-misordering indicates if the server (target) supports
+detection of message sequence errors. The values are NONE, SUPPORTED or REQUIRED.
+-->  
+<!ELEMENT detect-misordering ( #PCDATA)>
+
+<!--
+The optional detect-replay indicates if the server (target) supports detection
+of message replay attempts. The values are NONE, SUPPORTED or REQUIRED.
+-->  
+<!ELEMENT detect-replay ( #PCDATA)>
+
+<!--
+as-context (CSIv2 authentication service) is the element describing the authentication 
+mechanism that will be used to authenticate the client. If specified it will be the 
+username-password mechanism.
+-->  
+<!ELEMENT as-context ( auth-method, realm, required )> 
+
+<!--
+required element specifies if the authentication method specified is required
+to be used for client authentication. If so the EstablishTrustInClient bit
+will be set in the target_requires field of the AS_Context. The element value
+is either true or false. 
+-->  
+<!ELEMENT required ( #PCDATA )> 
+
+<!--
+auth-method element describes the authentication method. The only supported value
+for as-context is USERNAME_PASSWORD
+
+For port-component, the auth-method element is used to configure the
+authentication mechanism for the web service. As a prerequisite to gaining
+access to any web service which are protected by an authorization
+constraint, a user must have authenticated using the configured
+mechanism. Legal values for this element are "BASIC", or "CLIENT-CERT".
+
+Used in: as-context, port-component
+
+-->  
+<!ELEMENT auth-method ( #PCDATA )> 
+
+<!--
+realm element describes the realm in which the user is authenticated. Must be 
+a valid realm that is registered in server configuration.
+-->  
+<!ELEMENT realm ( #PCDATA )> 
+
+<!--
+sas-context (related to CSIv2 security attribute service) element describes 
+the sas-context fields.
+-->  
+<!ELEMENT sas-context ( caller-propagation )> 
+
+<!--
+caller-propagation element indicates if the target will accept propagated caller identities
+The values are NONE or SUPPORTED.
+-->  
+<!ELEMENT caller-propagation ( #PCDATA) >
+
+<!-- The port-component element specifies a mapping from a webservice
+port-component whose service-impl-bean/ejb-link value maps to an ejb.
+
+Used in: session
+-->
+<!ELEMENT port-component (port-component-name, port-component-uri?, auth-method?,
+ transport-guarantee?) >
+
+<!-- Maps to the port-component-name in the webservices.xml descriptor.
+
+Used in: port-component
+-->
+<!ELEMENT port-component-name (#PCDATA) >
+
+<!-- Relative path that is appended to the <context-root> element to form fully qualified
+endpoint address for a web service endpoint. 
+
+For backwards compatibility, it may also be the absolute path starting with web context root 
+to form fully qualified endpoint address for a web service endpoint. In this case, the port component uri
+must contain at least two token seperated by '/'. The first token is the web context root,
+which must be identical among all port component uris in a given deployment.
+
+Used in: port-component
+-->
+<!ELEMENT port-component-uri (#PCDATA) >
+
+<!--
+The transport-guarantee element specifies that the communication
+between client and server should be NONE, INTEGRAL, or
+CONFIDENTIAL. NONE means that the application does not require any
+transport guarantees. A value of INTEGRAL means that the application
+requires that the data sent between the client and server be sent in
+such a way that it can't be changed in transit. CONFIDENTIAL means
+that the application requires that the data be transmitted in a
+fashion that prevents other entities from observing the contents of
+the transmission. In most cases, the presence of the INTEGRAL or
+CONFIDENTIAL flag will indicate that the use of SSL is required.
+
+Used in: port-component
+-->
+<!ELEMENT transport-guarantee (#PCDATA)>
+
+<!--
+Activation config
+
+used in message-driven and proxy-factory-config
+-->
+<!ELEMENT activation-config ( activation-config-property* )>
+
+<!--
+Activation config properties 
+
+used in activation-config
+-->
+<!ELEMENT activation-config-property ( activation-config-property-name, 
+                                       activation-config-property-value )>
+<!--
+Activation config property name
+
+used in activation-config-property
+-->
+<!ELEMENT activation-config-property-name ( #PCDATA )>
+
+<!--
+Activation config property value
+
+used in activation-config-property
+-->
+<!ELEMENT activation-config-property-value ( #PCDATA )>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_4_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_4_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_4_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1702 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+$Id: jboss_4_0.dtd 60157 2007-02-01 11:06:42Z thomas.diesler at jboss.com $
+
+This is the XML DTD for the JBoss 4.2 EJB deployment descriptor.
+The DOCTYPE is:
+
+  <!DOCTYPE jboss PUBLIC
+      "-//JBoss//DTD JBOSS 4.2//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd">
+
+Overview of the architecture of jboss.xml
+
+<jboss>
+
+  <enforce-ejb-restrictions />
+  <security-domain />
+  <unauthenticated-principal />
+  <webservices>
+    <context-root>
+    <webservice-description>
+      <webservice-description-name>
+      <wsdl-publish-location>
+    </webservice-description>
+  <webservices>
+
+  <enterprise-beans>
+
+    <entity>
+      <ejb-name />
+      <jndi-name />
+      <local-jndi-name />
+      <call-by-value>
+      <read-only>
+      <call-by-value>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <ejb-local-ref>
+      <service-ref>
+      <security-identity>
+        <run-as-principal>
+      </security-identity>
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+      <resource-env-ref>
+      <clustered />
+      <cluster-config>
+    </entity>
+
+    <session>
+      <ejb-name />
+      <jndi-name />
+      <local-jndi-name />
+      <call-by-value>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <ejb-local-ref>
+      <service-ref>
+      <security-identity>
+        <run-as-principal>
+      </security-identity>
+      <resource-ref>
+        <res-ref-name />
+        <resource-name />
+      </resource-ref>
+      <resource-env-ref>
+      <clustered />
+      <cluster-config>
+      <port-component>
+        <port-component-name>
+        <port-component-uri>
+        <auth-method>
+        <transport-guarantee>
+        <secure-wsdl-access>
+      </port-component>
+    </session>
+
+    <message-driven>
+      <ejb-name>
+      <destination-jndi-name>
+      <mdb-user>
+      <mdb-passwd>
+      <mdb-client-id>
+      <mdb-subscription-id>
+      <resource-adapter-name>
+      <configuration-name>
+      <security-proxy>
+      <ejb-ref>
+      <service-ref>
+      <security-identity>
+        <run-as-principal>
+      </security-identity>
+      <resource-ref>
+      <resource-env-ref>
+    </message-driven>
+
+  </enterprise-beans>
+
+  <assembly-descriptor>
+    <security-role>
+      <role-name>
+      <principal-name>
+    </security-role>
+  </assembly-descriptor>
+
+  <resource-managers>
+
+    <resource-manager>
+      <res-name />
+      <res-jndi-name />
+    </resource-manager>
+
+    <resource-manager>
+      <res-name />
+      <res-url />
+    </resource-manager>
+
+  </resource-managers>
+
+  <container-configurations>
+
+    <container-configuration>
+      <container-name />
+      <call-logging />
+      <invoker-proxy-binding-name />
+      <sync-on-commit-only />
+      <insert-after-ejb-post-create />
+      <call-ejb-store-on-clean />
+      <store-not-flushed />
+      <container-interceptors />
+      <instance-pool />
+      <instance-cache />
+      <persistence-manager />
+      <web-class-loader />
+      <locking-policy />
+      <container-cache-conf />
+      <container-pool-conf />
+      <commit-option />
+      <optiond-refresh-rate />
+      <security-domain />
+      <cluster-config />
+      <depends />
+    </container-configuration>
+
+  </container-configurations>
+
+</jboss>
+-->
+
+<!ENTITY % service-ref PUBLIC
+   "-//JBoss//DTD Web Service Reference 4.2//EN"
+   "http://www.jboss.org/j2ee/dtd/service-ref_4_2.dtd">
+  
+%service-ref;
+
+
+<!--
+  The jboss element is the root element of the jboss.xml file. It
+  contains all the information used by jboss but not described in the
+  ejb-jar.xml file. All of it is optional.
+
+  1- the application assembler can define custom container configurations
+     for the beans. Standard configurations are provided in standardjboss.xml
+  2- the deployer can override the jndi names under which the beans are deployed
+  3- the deployer can specify runtime jndi names for resource managers.
+
+-->
+<!ELEMENT jboss (loader-repository?, jmx-name?, enforce-ejb-restrictions?,
+ security-domain?, missing-method-permissions-excluded-mode?,
+ unauthenticated-principal?, exception-on-rollback?,
+ webservices?, enterprise-beans?, assembly-descriptor?,
+ resource-managers?, invoker-proxy-bindings?, container-configurations?)>
+
+<!-- The loader-repository specifies the name of the UnifiedLoaderRepository
+   MBean to use for the ear to provide ear level scoping of classes deployed
+   in the ear. It is a unique JMX ObjectName string. It may also specify
+   an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+   <loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+
+   <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+      dot.com:loader=unique-archive-name
+      <loader-repository-config configParserClass='dot.com.LoaderParser'>
+         java2ParentDelegaton=true
+      </loader-repository-config>
+   </loader-repository>
+-->
+<!ELEMENT loader-repository (#PCDATA | loader-repository-config)*>
+
+<!-- The loaderRepositoryClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepository implementation.
+-->
+<!ATTLIST loader-repository loaderRepositoryClass CDATA #IMPLIED>
+
+<!-- The loader-repository-config element specifies any arbitrary configuration
+fragment for use in configuring the loader-repository instance. The actual
+content of this element is specific to the loaderRepositoryClass and the
+code parsing the element.
+-->
+<!ELEMENT loader-repository-config (#PCDATA)>
+
+<!-- The configParserClass attribute gives the classname of the
+org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser
+implementation to use to parse the loader-repository-config content.
+-->
+<!ATTLIST loader-repository-config configParserClass CDATA #IMPLIED>
+
+<!-- The jmx-name element allows one to specify the JMX ObjectName to use
+for the MBean associated with the ejb-jar module. This must be a unique
+name and valid JMX ObjectName string.
+
+   Used in: jboss
+-->
+<!ELEMENT jmx-name (#PCDATA)>
+
+<!--
+  The enforce-ejb-restrictions element tells the container to enforce ejb1.1 restrictions
+  It must be one of the following :
+    <enforce-ejb-restrictions>true</enforce-ejb-restrictions>
+    <enforce-ejb-restrictions>false</enforce-ejb-restrictions>
+
+  Used in: jboss
+-->
+<!ELEMENT enforce-ejb-restrictions (#PCDATA)>
+
+<!--
+  The security-domain element specifies the JNDI name of the security
+  manager that implements the EJBSecurityManager and RealmMapping for
+  the domain. When specified at the jboss level it specifies the security
+  domain for all j2ee components in the deployment unit.
+  One can override the global security-domain at the container
+  level using the security-domain element at the container-configuration
+  level.
+
+  Used in: jboss, container-configuration
+-->
+<!ELEMENT security-domain (#PCDATA)>
+
+<!-- The missing-method-permissions-excluded-mode determines the treatment
+of missing method-permission mappings in the ejb-jar descriptor. The ejb 2.1
+spec states: "It is possible that some methods are not assigned to any security
+roles nor contained in the exclude-list element. In this case, it is the
+responsibility of the Deployer to assign method permissions for all of the
+unspecified methods, either by assigning them to security roles, or by marking
+them as unchecked." The missing-method-permissions-excluded-mode is a boolean
+that allows the deployer to globally indicate that all methods without a
+method-permission element should be treated as excluded(= true and the default),
+or that methods without a method-permission element should be treated as
+unchecked(= false)
+
+<missing-method-permissions-excluded-mode>true</missing-method-permissions-excluded-mode>
+<missing-method-permissions-excluded-mode>false</missing-method-permissions-excluded-mode>
+
+-->
+<!ELEMENT missing-method-permissions-excluded-mode (#PCDATA)>
+
+<!--
+  The unauthenticated-principal element specifies the name of the principal
+  that will be returned by the EJBContext.getCallerPrincipal() method if there
+  is no authenticated user. This Principal has no roles or privaledges to call
+  any other beans.
+-->
+<!ELEMENT unauthenticated-principal (#PCDATA)>
+
+<!-- The invoker-proxy-bindings defines the invokers available for use with
+the ejb container configurations.
+-->
+<!ELEMENT invoker-proxy-bindings (invoker-proxy-binding*)>
+
+<!-- The invoker-proxy-binding defines an invoker service and proxy factory
+-->
+<!ELEMENT invoker-proxy-binding (name, invoker-mbean, proxy-factory, proxy-factory-config)>
+
+<!-- The name gives a unique name for the invoker-proxy-binding
+-->
+<!ELEMENT name (#PCDATA)>
+
+<!-- The invoker-mbean gives the JMX ObjectName of the invoker MBean service
+-->
+<!ELEMENT invoker-mbean (#PCDATA)>
+
+<!-- The org.jboss.ejb.EJBProxyFactory implementation class
+-->
+<!ELEMENT proxy-factory (#PCDATA)>
+
+<!-- The proxy-factory-config defines the client-interceptors stack
+and other configuration options to use for the various EJB proxies.
+-->
+<!ELEMENT proxy-factory-config (client-interceptors? , activation-config? , endpoint-interceptors? , 
+web-class-loader? , JMSProviderAdapterJNDI? , ServerSessionPoolFactoryJNDI? , 
+CreateJBossMQDestination? , MinimumSize? , MaximumSize? ,
+KeepAliveMillis? , MaxMessages? , MDBConfig? , poa? , register-ejbs-in-jnp-context? , 
+jnp-context? , interface-repository-supported?)>
+
+<!--
+  The jndi name of the jms provider adapter in the java:/ namespace.
+  This is mandatory for an MDB and must implement
+  org.jboss.jms.jndi.JMSProviderAdapter
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT JMSProviderAdapterJNDI (#PCDATA)>
+
+<!--
+  The jndi name of the session pool in the java:/ namespace.
+  This is mandatory for an MDB and must implement
+  org.jboss.jms.asf.ServerSessionPoolFactory
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT ServerSessionPoolFactoryJNDI (#PCDATA)>
+
+<!--
+  Whether to create destinations in JBossMQ if the
+  destination cannot be found.
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT CreateJBossMQDestination (#PCDATA)>
+
+<!--
+  The maximum number of messages parameter for the mdb's
+  connection consumer.
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT MaxMessages (#PCDATA)>
+
+<!--
+  Configuration for the MDB
+
+  Used in: proxy-factory-config for JMSContainerInvoker
+-->
+<!ELEMENT MDBConfig (ReconnectIntervalSec , DeliveryActive? , DLQConfig?)>
+
+<!--
+  The time to wait (in seconds) before trying to recover
+  the connection to the JMS server.
+
+  Used in: MDBConfig
+-->
+<!ELEMENT ReconnectIntervalSec (#PCDATA)>
+
+<!--
+  Whether delivery of messages is active at startup,
+  valid values are "True" or "False".
+
+  Used in: MDBConfig
+-->
+<!ELEMENT DeliveryActive (#PCDATA)>
+
+<!--
+  Configuration for an MDB's dead letter queue, used
+  when messages are redelivered too many times.
+
+  Used in: MDBConfig
+-->
+<!ELEMENT DLQConfig (DestinationQueue , MaxTimesRedelivered , TimeToLive, DLQUser?,  DLQPassword?)>
+
+<!--
+  The jndi name of the queue to use as the dead letter queue.
+
+  Used in: DLQConfig
+-->
+<!ELEMENT DestinationQueue (#PCDATA)>
+
+<!--
+  The maximum number of times a message is redelivered before it
+  is placed in the dead letter queue.
+
+  Used in: DLQConfig
+-->
+<!ELEMENT MaxTimesRedelivered (#PCDATA)>
+
+<!--
+  The time-to-live of the message in the dead letter queue.
+  See javax.jms.Message
+
+  Used in: DLQConfig
+-->
+<!ELEMENT TimeToLive (#PCDATA)>
+
+<!--
+  The user for the dlq connection
+
+  Used in: DLQConfig
+-->
+<!ELEMENT DLQUser (#PCDATA)>
+
+<!--
+  The password for the dlq connection
+
+  Used in: DLQConfig
+-->
+<!ELEMENT DLQPassword (#PCDATA)>
+
+<!--
+  The portable object adapter usage, one of
+  <poa>per-servent</poa>
+  <poa>shared</poa>
+
+  Used in: proxy-factory-config for IORFactory
+-->
+<!ELEMENT poa (#PCDATA)>
+
+<!--
+  Whether to register ejbs in jnp (jndi)
+
+  Used in: proxy-factory-config for IORFactory
+-->
+<!ELEMENT register-ejbs-in-jnp-context (#PCDATA)>
+
+<!--
+  The jndi context in which to register ejbs
+
+  Used in: proxy-factory-config for IORFactory
+-->
+<!ELEMENT jnp-context (#PCDATA)>
+
+<!--
+  Whether a deployed ejb has its own CORBA interface repository or not
+
+  Used in: proxy-factory-config for IORFactory
+-->
+<!ELEMENT interface-repository-supported (#PCDATA)>
+
+<!--
+  The enterprise-beans element contains additional information about
+  the beans. These informations, such as jndi names, resource managers and
+  container configurations, are specific to jboss and not described in
+  ejb-jar.xml.
+
+  jboss will provide a standard behaviour if no enterprise-beans element
+  is found, see container-configurations, jndi-name and resource-managers
+  for defaults.
+
+  Used in: jboss
+-->
+<!ELEMENT webservices (context-root?, webservice-description*)>
+
+<!-- The context-root element specifies the context root of the web
+application that the EJB service endpoints are deployed to. 
+If it is not specified it will be derived from the deployment short name.
+-->
+<!ELEMENT context-root (#PCDATA)>
+
+<!--
+Runtime information about a web service.
+wsdl-publish-location is optionally used to specify
+where the final wsdl and any dependent files should be stored.  This location
+resides on the file system from which deployment is initiated.
+-->
+<!ELEMENT webservice-description ( webservice-description-name, config-name?, config-file?, wsdl-publish-location? )>
+
+<!--
+Unique name of a webservice within a module. It corresponds to the <webservice-description-name>
+element in webservices.xml
+-->
+<!ELEMENT webservice-description-name ( #PCDATA )>
+
+<!--
+file: URL of a directory to which a web-service-description's wsdl should be
+published during deployment.  Any required files will be published to this
+directory, preserving their location relative to the module-specific
+wsdl directory(META-INF/wsdl or WEB-INF/wsdl).
+Example :
+  For an ejb.jar whose webservices.xml wsdl-file element contains
+    META-INF/wsdl/a/Foo.wsdl
+  <wsdl-publish-location>file:/home/user1/publish
+  </wsdl-publish-location>
+  The final wsdl will be stored in /home/user1/publish/a/Foo.wsdl
+-->
+<!ELEMENT wsdl-publish-location ( #PCDATA )>
+
+<!--
+  The enterprise-beans element contains additional information about
+  the beans. These informations, such as jndi names, resource managers and
+  container configurations, are specific to jboss and not described in
+  ejb-jar.xml.
+  jboss will provide a standard behaviour if no enterprise-beans element
+  is found, see container-configurations, jndi-name and resource-managers
+  for defaults.
+  Used in: jboss
+-->
+<!ELEMENT enterprise-beans ((session | entity | message-driven)*)>
+
+<!--
+  The entity element holds information specific to jboss and not declared
+  in ejb-jar.xml about an entity bean, such as jndi name, container
+  configuration, and resource managers. (see tags for details)
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+
+  Used in: enterprise-beans
+-->
+<!ELEMENT entity (ejb-name , jndi-name? , local-jndi-name? , call-by-value?, read-only?,
+ exception-on-rollback?, timer-persistence?, configuration-name? , invoker-bindings?,
+ security-proxy? , ejb-ref* , ejb-local-ref* , service-ref*, security-identity? ,
+ resource-ref* , resource-env-ref*, message-destination-ref* , method-attributes? ,
+ clustered? , cluster-config?, cache-invalidation? , cache-invalidation-config?,
+ depends*, ior-security-config?)>
+<!-- Allow the entity to have a unique id -->
+<!ATTLIST entity id ID #IMPLIED>
+<!--
+  The session element holds information specific to jboss and not declared
+  in ejb-jar.xml about a session bean, such as jndi name, container
+  configuration, and resource managers. (see tags for details)
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+
+  Used in: enterprise-beans
+-->
+<!ELEMENT session (ejb-name , jndi-name? , local-jndi-name?, call-by-value?,
+ exception-on-rollback?, timer-persistence?, configuration-name?, invoker-bindings?,
+ security-proxy? , ejb-ref* ,  ejb-local-ref* , service-ref*, security-identity? ,
+ resource-ref* , resource-env-ref*, message-destination-ref* , clustered? ,
+ cluster-config?, method-attributes?, depends*,
+ ior-security-config?, port-component*,  ejb-timeout-identity?)>
+<!-- Allow the session to have a unique id -->
+<!ATTLIST session id ID #IMPLIED>
+
+<!--
+  The message-driven element holds information specific to jboss and not declared
+  in ejb-jar.xml about a message-driven bean, such as container
+  configuration and resources.
+  The bean should already be declared in ejb-jar.xml, with the same
+  ejb-name.
+
+  Used in: enterprise-beans
+-->
+<!ELEMENT message-driven (ejb-name , activation-config?, destination-jndi-name? ,
+ local-jndi-name?,
+ mdb-user?,  mdb-passwd? , mdb-client-id? , mdb-subscription-id? , resource-adapter-name? ,
+ exception-on-rollback?, timer-persistence?, configuration-name? , invoker-bindings?,
+ security-proxy? , ejb-ref* ,  ejb-local-ref*, service-ref*, security-identity?, resource-ref*,
+ resource-env-ref*, message-destination-ref*, depends*, ior-security-config?,
+ ejb-timeout-identity?)>
+<!-- Allow the message-driven to have a unique id -->
+<!ATTLIST message-driven id ID #IMPLIED>
+
+<!--
+  The ejb-name element gives the name of the bean, it must correspond to
+  an ejb-name element in ejb-jar.xml
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT ejb-name (#PCDATA)>
+
+<!--
+  The jndi-name element gives the actual jndi name under which
+  the bean will be deployed when used in the entity, session and
+  message-driven elements. If it is not provided jboss will assume
+  "jndi-name" = "ejb-name"
+
+  When used in the ejb-ref,  ejb-local-ref, resource-ref, resource-env-ref, 
+  message-destination-ref, message-destination elements this specifies the jndi name to 
+  which the reference should link.
+
+  Used in: entity, session and message-driven
+    ejb-ref, resource-ref, resource-env-ref
+-->
+<!ELEMENT jndi-name (#PCDATA)>
+
+<!--
+  The JNDI name under with the local home interface should be bound
+
+  Used in: entity and session
+-->
+<!ELEMENT local-jndi-name (#PCDATA)>
+
+<!--
+  Determine if the bean should use by value call semantics
+
+  Used in: entity and session
+-->
+<!ELEMENT call-by-value (#PCDATA)>
+
+<!--
+  The read-only element flags an entity bean as read only.
+  The bean will never be ejbStored. Defaults to false.
+  It must be one of the following :
+    <read-only>true</read-only>
+    <read-only>false</read-only>
+
+  Used in: entity
+-->
+<!ELEMENT read-only (#PCDATA)>
+
+<!--
+  Whether to throw an exception if the CMT controlled
+  transaction is no longer active (e.g. marked rollback)
+  but the application has not itself thrown an exception.
+  If the bean specifies false, it uses the
+  jboss/exception-on-rollback config.
+  Defaults to false.
+  It must be one of the following :
+    <exception-on-rollback>true</exception-on-rollback>
+    <exception-on-rollback>false</exception-on-rollback>
+
+  Used in: jboss, session, entity and message-driven
+-->
+<!ELEMENT exception-on-rollback (#PCDATA)>
+
+<!--
+  The timer-persistence element determines whether ejb timers should
+  be persisted across application redeployment. Defaults to true.
+  
+  It must be one of the following:
+    <timer-persistence>true</timer-persistence>
+    <timer-persistence>false</timer-persistence>
+  
+  Used in: session, entity and message-driven
+-->
+<!ELEMENT timer-persistence (#PCDATA)>
+
+<!--
+  The configuration-name element gives the name of the container
+  configuration for this bean. It must match one of the container-name
+  tags in the container-configurations section, or one of the standard
+  configurations. If no element is provided, jboss will automatically use the
+  right standard configuration, see container-configurations.
+
+  Note: unlike earlier releases, this element may not be specified as an
+   empty element to achieve the same effect as not specifying the element.
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT configuration-name (#PCDATA)>
+
+<!-- The depends element gives a JMX ObjectName of a service on which the
+container or ejb depends.
+-->
+<!ELEMENT depends (#PCDATA)>
+
+<!-- The queue/topic jndi name from which we receive messages -->
+<!ELEMENT destination-jndi-name (#PCDATA)>
+
+<!-- The optional user for the jms connection that delivers messages -->
+<!ELEMENT mdb-user (#PCDATA)>
+
+<!-- The optional password for the jms connection that delivers messages -->
+<!ELEMENT mdb-passwd (#PCDATA)>
+
+<!-- The optional client-id for the jms connection that delivers messages -->
+<!ELEMENT mdb-client-id (#PCDATA)>
+
+<!-- The subscription name for topic delivery -->
+<!ELEMENT mdb-subscription-id (#PCDATA)>
+
+<!-- The name of the rar used in JCA 1.5 message inflow
+e.g.
+   <resource-adapter-name>jms-ra.rar</resource-adapter-name>
+or for embedded rars
+   <resource-adapter-name>myapp.ear#myconnector.rar</resource-adapter-name>
+-->
+<!ELEMENT resource-adapter-name (#PCDATA)>
+
+<!-- The security-proxy gives the class name of the security proxy implementation.
+  This may be an instance of org.jboss.security.SecurityProxy, or an
+  just an object that implements methods in the home or remote interface
+  of an EJB without implementating any common interface.
+
+      Used in: entity, session, and message-driven
+-->
+<!ELEMENT security-proxy (#PCDATA)>
+
+<!--
+  The ejb-ref element is used to give the jndi-name of an external
+  ejb reference. In the case of an external ejb reference, you don't
+  provide a ejb-link element in ejb-jar.xml, but you provide a jndi-name
+  in jboss.xml
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT ejb-ref (ejb-ref-name , jndi-name)>
+
+<!--
+  The ejb-ref-name element is the name of the ejb reference as given in
+  ejb-jar.xml.
+
+  Used in: ejb-ref
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--
+  The ejb-local-ref element is used to give the jndi-name of an external
+  ejb reference. This is an alternative to using ejb-link in ejb-jar.xml
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT ejb-local-ref (ejb-ref-name , local-jndi-name)>
+
+<!--
+  The security-identity element specifies whether a specific run-as identity is to be
+  used. If there is a run-as role defined for an enterprise bean, there can also be a
+  run-as-principal define here. If you don't define a run-as principal the callee will
+  see ctx.getCallerPrincipal() == 'anonymous'
+
+  Used in: entity, message-driven, session
+-->
+<!ELEMENT security-identity (run-as-principal)>
+
+<!--
+  The ejb-timeout-identity element specifies the run-as used for the ejbTimeout
+  callback method. If the run-as-principal is specified this is the identity
+  that will be set as the callback run-as. If the run-as-principal is empty,
+  then no security context is specified at the container level. Any access of
+  secured resources will require that the ejbTimeout method establish the
+  security context.
+-->
+<!ELEMENT ejb-timeout-identity (run-as-principal)>
+
+<!--
+  The run-as-principal element is the name of the principal that is used
+  when the enterprise bean calls out with a run-as role.
+
+  Used in: security-identity
+-->
+<!ELEMENT run-as-principal (#PCDATA)>
+
+<!--
+  The resource-env-ref element gives a mapping between the "code name"
+  of a env resource (res-ref-name, provided by the Bean Developer) and
+  its deployed JNDI name.
+
+  Used in: session, entity, message-driven
+-->
+<!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)>
+
+<!--
+  The resource-env-ref-name element gives the "code name" of a resource. It is
+  provided by the Bean Developer.
+
+  Used in: resource-env-ref
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--
+  The method-attributes element can be used to specify which methods are read only
+  or idempotent.  This is used to reduce the need for locks and replication.
+-->
+<!ELEMENT method-attributes (method*)>
+
+<!--
+  The method element is used to specify attributes for one method or all those
+  matching a pattern startingstring*.
+-->
+<!ELEMENT method (method-name, read-only?, idempotent?, transaction-timeout?)>
+
+<!--
+  The method-name element specifies a complete method name or a pattern consisting of an
+  initial match followed by '*'
+-->
+<!ELEMENT method-name (#PCDATA)>
+
+<!--
+  The idempotent element is used in method-attributes to indicate that a method
+  is completely stateless. Really the same as read-only and should be dropped.
+-->
+<!ELEMENT idempotent (#PCDATA)>
+
+<!--
+  The transaction timeout in seconds (overriding the default timeout).
+  This will only work for Required (where the method starts the transaction) and RequiresNew.
+  The special value of 0 (zero) uses the default timeout configured on jboss:service=TransactionManager
+  NOTE: any subsequent use of RequiresNew that is not explicitly overridden will use this value.
+-->
+<!ELEMENT transaction-timeout (#PCDATA)>
+
+<!--
+  The clustered element indicates if this bean will run in a cluster of JBoss instances.
+  It is provided by the deployer. If not, jboss will assume clustered = False
+  Possible values: "True", "False" (default)
+
+  Used in: entity and session
+-->
+<!ELEMENT clustered (#PCDATA)>
+
+<!--
+  The cluster-config element allows to specify cluster specific settings.
+  WARNING: session-state-manager-jndi-name is only for SFSB.
+
+  Used in: session, entity, container-configuration
+-->
+<!ELEMENT cluster-config (partition-name? , home-load-balance-policy? ,
+ bean-load-balance-policy? , session-state-manager-jndi-name?)>
+
+<!--
+  The partition-name element indicates the name of the HAPartition to be used
+  by the container to exchange clustering information. This is a name and *not*
+  a JNDI name. Given name will be prefixed by "/HASessionState/" by the container to get
+  the actual JNDI name of the HAPartition. If not, jboss will assume partition-name = "DefaultPartition".
+
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT partition-name (#PCDATA)>
+
+<!--
+  The home-load-balance-policy element indicates the java class name to be used
+  to load balance calls in the home proxy.
+  If not, jboss will assume home-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin".
+
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT home-load-balance-policy (#PCDATA)>
+
+<!--
+  The bean-load-balance-policy element indicates the java class name to be used
+  to load balance calls in the bean proxy.
+  If not, jboss will assume :
+    - for EB and SFSB : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin"
+    - for SLSB        : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin"
+
+  Used in: entity and session (in clustered-config element)
+-->
+<!ELEMENT bean-load-balance-policy (#PCDATA)>
+
+<!--
+  The cache-invalidation element indicates if this bean cache should listen to cache
+  invalidation events and clear its cache accordingly as well as send cache invalidation
+  messages.
+  It is provided by the deployer. If not, jboss will assume cache-invalidation = False
+  NOTE: This value will *only* be applied if the correct cache plugin and interceptor(s)
+        are defined in the container configuration.
+  Possible values: "True", "False" (default)
+
+  Used in: entity (only commit-option A and D will invalidate their cache)
+-->
+<!ELEMENT cache-invalidation (#PCDATA)>
+
+<!--
+  The cache-invalidation-config element allows to specify cache invalidation specific settings.
+
+  Used in: entity
+-->
+<!ELEMENT cache-invalidation-config (invalidation-group-name? , invalidation-manager-name?)>
+
+<!--
+  The invalidation-group-name element indicates the name of a group in which all
+  invalidation messages are exchanged i.e. all beans sharing a given invalidation-group-name
+  should share the same PK semantic.
+  By default, invalidation-group-name equals to the EJB name. Thus, when using cache invalidation
+  accross a cluster, it is not necessary to specify a name as all beans will have the same name
+  accross the cluster. Nevertheless, if you deploy, on the same node, the same EJB, once with
+  commit-option C (RW access) and once in commit-option A (RO) and want the RW EJB to invalidate
+  entries of RO EJB, each one will obviously have its own EJB name. Consequently, you can assign
+  a common invalidation-group-name to both EJBs so that they share their cache invalidation messages.
+
+  Used in: entity (in cache-invalidation-config element)
+-->
+<!ELEMENT invalidation-group-name (#PCDATA)>
+
+<!--
+  The invalidation-manager-name references the InvalidationManager MBean to be used.
+  By Default, the default InvalidationManager is used.
+
+  Used in: entity (in cache-invalidation-config element)
+-->
+<!ELEMENT invalidation-manager-name (#PCDATA)>
+
+<!--
+  The session-state-manager-jndi-name element indicates the name of the HASessionState to be used
+  by the container as a backend for state session management in the cluster.
+  This *is* a JNDI name (not like the partition-name element).
+  If not, jboss will assume partition-name = "/HASessionState/Default".
+
+  Used in: session (in clustered-config element)
+-->
+<!ELEMENT session-state-manager-jndi-name (#PCDATA)>
+
+<!--
+  The resource-ref element gives a mapping between the "code name"
+  of a resource (res-ref-name, provided by the Bean Developer) and
+  its "xml name" (resource-name, provided by the Application Assembler).
+  If no resource-ref is provided, jboss will assume that
+  "xml-name" = "code name"
+
+  See resource-managers.
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT resource-ref (res-ref-name , (resource-name | jndi-name | res-url))>
+
+<!--
+  The res-ref-name element gives the "code name" of a resource. It is
+  provided by the Bean Developer. See resource-managers for the actual
+  configuration of the resource.
+
+  Used in: resource-ref
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+  The resource-name element gives the "xml name" of the resource. It is
+  provided by the Application Assembler. See resource-managers for the
+  actual configuration of the resource.
+
+  Used in: resource-ref
+-->
+<!ELEMENT resource-name (#PCDATA)>
+
+<!--
+  The resource-managers element is used to declare resource managers.
+
+  A resource has 3 names:
+  - the "code name" is the name used in the code of the bean, supplied by
+    the Bean Developer in the resource-ref section of the ejb-jar.xml file
+
+  - the "xml name" is an intermediary name used by the Application Assembler
+    to identify resources in the XML file.
+
+  - the "runtime jndi name" is the actual jndi-name or url of the deployed
+    resource, it is supplied by the Deployer.
+
+  The mapping between the "code name" and the "xml name" is given
+  in the resource-ref section for the bean. If not, jboss will assume that
+  "xml name" = "code name".
+
+  The mapping between the "xml name" and the "runtime jndi name" is given in
+  a resource-manager section. If not, and if the datasource is of type
+  javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the jndi
+  tree.
+
+  Used in: jboss
+-->
+<!ELEMENT resource-managers (resource-manager*)>
+
+<!--
+  The resource-manager element is used to provide a mapping between the
+  "xml name" of a resource (res-name) and its "runtime jndi name"
+  (res-jndi-name or res-url according to the type of the resource).
+  If it is not provided, and if the type of the resource is
+  javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the
+  jndi tree.
+
+  See resource-managers.
+
+  Used in: resource-managers
+-->
+<!ELEMENT resource-manager (res-name , (res-jndi-name | res-url))>
+
+<!--
+  The res-name element gives the "xml name" of a resource, it is provided
+  by the Application Assembler. See resource-managers.
+
+  Used in: resource-manager
+-->
+<!ELEMENT res-name (#PCDATA)>
+
+<!--
+  The res-jndi-name element is the "deployed jndi name" of a resource, it
+  is provided by the Deployer. See resource-managers.
+
+  Used in: resource-manager
+-->
+<!ELEMENT res-jndi-name (#PCDATA)>
+
+<!-- The res-url element value is a URL string for a resource-ref of
+res-type = java.net.URL. Using a res-url creates a binding of the URL
+instance under the java:comp/env. If you want to link to another binding
+of a URL, you can use the jndi-name to do so.
+
+// Binds the URL(http://x.y.z) under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>http://x.y.z</res-url>
+</resource-ref>
+// Binds a link to urls/XYZHomePage under java:comp/env/jdbc/XYZHome
+<resource-ref>
+    <res-ref-name>jdbc/XYZHome</res-ref-name>
+    <res-url>urls/XYZHomePage</res-url>
+</resource-ref>
+
+   Used in: resource-ref, resource-manager
+-->
+<!ELEMENT res-url (#PCDATA)>
+
+<!--
+  The message-destination-ref element is used to configure the
+  jndi-name for a message-destination-ref in ejb-jar.xml
+
+  Used in: entity, session, and message-driven
+-->
+<!ELEMENT message-destination-ref (message-destination-ref-name, jndi-name)>
+
+<!--
+  The message-destination-ref-name element identifies the
+  message-destination-ref. It must match the name in ejb-jar.xml
+
+  Used in: message-destination-ref
+-->
+<!ELEMENT message-destination-ref-name (#PCDATA)>
+
+<!--
+  The assembly-descriptor element contains application-assembly information.
+
+  The definition of security roles allows you to map assembly roles to one or more
+  principals. For example, you may define a run-as principal in the security-identity
+  element and include that principal in one or more security-role(s) in the
+  assembly descriptor. When called with a run-as role, the callee will see all
+  those roles in ctx.isCallerInRole(...)
+
+  Used in: jboss
+-->
+<!ELEMENT assembly-descriptor (security-role*, message-destination*)>
+
+<!--
+  The security-role element contains the definition of a security role.
+  The definition consists of an the security role name and principal name element(s).
+
+Used in: assembly-descriptor
+
+Example:
+		<security-role>
+      <role-name>Manager</role-name>
+      <principal-name>j2ee</principal-name>
+      <principal-name>javajoe</principal-name>
+		</security-role>
+-->
+<!ELEMENT security-role (role-name, principal-name+)>
+
+<!--
+  The role-name element is the name of the role.
+
+  Used in: security-role
+-->
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+  The principal-name element is the name of the principal that is mapped
+  to the assembly role-name.
+
+  Used in: security-role
+-->
+<!ELEMENT principal-name (#PCDATA)>
+
+<!--
+  The message-destination element is used to configure the
+  jndi-name for a message-destination in ejb-jar.xml
+
+  Used in: assembly-descriptor
+-->
+<!ELEMENT message-destination (message-destination-name, jndi-name)>
+
+<!--
+  The message-destination-name element identifies the
+  message-destination. It must match the name in ejb-jar.xml
+
+  Used in: message-destination
+-->
+<!ELEMENT message-destination-name (#PCDATA)>
+
+<!--
+  The container-configurations element declares the different possible
+  container configurations that the beans can use. standardjboss.xml
+  provides 15 standard configurations with the following container-names:
+    - Standard CMP 2.x EntityBean
+    - Standard CMP EntityBean
+    - Clustered CMP 2.x EntityBean
+    - Clustered CMP EntityBean
+    - IIOP CMP 2.x EntityBean
+    - IIOP CMP EntityBean
+    - Standard Stateless SessionBean
+    - Clustered Stateless SessionBean
+    - IIOP Stateless SessionBean
+    - Standard Stateful SessionBean
+    - Clustered Stateful SessionBean
+    - IIOP Stateful SessionBean
+    - Standard BMP EntityBean
+    - Clustered BMP EntityBean
+    - IIOP BMP EntityBean
+    - Standard message Driven Bean
+
+  The standard configurations will automatically be used if no custom
+  configuration is specified.
+
+  The application assembler can define advanced custom configurations here.
+
+  Used in: jboss
+-->
+<!ELEMENT container-configurations (container-configuration*)>
+
+<!--
+  The container-configuration element describes a configuration for the
+  container.
+  The different plugins to use are declared here, as well as their
+  configurations. The configuration-class attribute is no longer used.
+
+  Used in: container-configurations
+-->
+<!ELEMENT container-configuration (container-name , call-logging?,
+ invoker-proxy-binding-name?, sync-on-commit-only?,
+ insert-after-ejb-post-create?, call-ejb-store-on-clean?, store-not-flushed?, container-interceptors? ,
+ instance-pool? , instance-cache? ,  persistence-manager? , web-class-loader? ,
+ locking-policy? ,  container-cache-conf? , container-pool-conf? ,
+ commit-option? , optiond-refresh-rate? , security-domain?, cluster-config?,
+ depends*)>
+
+<!-- The extends attribute gives the container-name value of the configuration the container-configuration
+is extending. This allows one to specify an extension configuration without having to reiterate all of
+the other duplicate configuration info.
+
+        <container-configuration extends="Standard Stateful SessionBean">
+            <container-name>Secure Stateless SessionBean</container-name>
+            <security-domain>java:/jaas/other</security-domain>
+        </container-configuration>
+-->
+<!ATTLIST container-configuration extends CDATA  #IMPLIED>
+
+<!--
+  The container-name element gives the name of the configuration being
+  defined. Beans may refer to this name in their configuration-name tag.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-name (#PCDATA)>
+
+<!--
+  The call-logging element tells if the container must log every method
+  invocation for this bean or not. Its value must be true or false.
+
+  Used in: container-configuration
+-->
+<!ELEMENT call-logging (#PCDATA)>
+
+<!--
+  The invoker-bindings element gives the invokers configuration for an
+  ejb container.
+
+  Used in: entity, session, message-driven
+-->
+<!ELEMENT invoker-bindings (invoker+)>
+<!--
+ -->
+<!ELEMENT invoker (invoker-proxy-binding-name, jndi-name?, ejb-ref*)>
+
+<!-- The invoker-proxy-binding-name elements maps to the name element of
+an invoker-proxy-binding definition.
+
+  Used in: container-configuration, invoker
+-->
+<!ELEMENT invoker-proxy-binding-name (#PCDATA)>
+
+<!-- The sync-on-commit-only element determines the behavior of ejbStore
+calls on finds, selects and removes. If set to true, ejbStore will only be
+called on transaction commit.
+-->
+<!ELEMENT sync-on-commit-only (#PCDATA)>
+
+<!-- The insert-after-ejb-post-create element defines when the INSERT
+ statement will be executed for created entity instance.
+ Possible values are:
+ false - the default value, INSERT will be executed after ejbCreate but before
+         ejbPostCreate;
+ true - INSERT will be executed after ejbPostCreate.
+-->
+<!ELEMENT insert-after-ejb-post-create (#PCDATA)>
+
+<!-- The call-ejb-store-for-clean says whether ejbStore should be called on clean instances
+ at synchronization time. By the spec it should be true. But users wanted it to be false.
+ False is the default, meaning ejbStore is called only on dirty instances.
+-->
+<!ELEMENT call-ejb-store-on-clean (#PCDATA)>
+
+<!-- The store-not-flushed says whether dirty instances that could not be evicted
+ from the cache should or should not (to prevent potential data inconsistency)
+ be stored. The default value is TRUE.
+-->
+<!ELEMENT store-not-flushed (#PCDATA)>
+
+<!--
+  The container-interceptors element gives the chain of Interceptors
+  (instances of org.jboss.ejb.Interceptor) that are associated with the container.
+  The declared order of the interceptor elements corresponds to the order of the
+  interceptor chain.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-interceptors (interceptor+)>
+
+<!--
+The client-interceptors defines the home and bean client side interceptor chain
+
+  Used in: proxy-factory-config
+-->
+<!ELEMENT client-interceptors (home , bean, list-entity?)>
+
+<!-- Define whether the ejb proxy should expose an org.jboss.proxy.IClientContainer
+   interface to provide access to the invocation context and interceptors.
+-->
+<!ATTLIST client-interceptors exposeContainer (true | false )  "false">
+
+<!--
+The endpoint-interceptors element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the
+message endpoint.
+
+  Used in: proxy-factory-config for message inflow
+-->
+<!ELEMENT endpoint-interceptors (interceptor+)>
+
+<!--
+The home element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the home
+proxy and operate in the client VM. The declared order of the interceptor
+elements corresponds to the order of the interceptor chain.
+
+  Used in: client-interceptors
+-->
+<!ELEMENT home (interceptor+)>
+
+<!--
+The bean element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the remote
+proxy and operate in the client VM. The declared order of the interceptor
+elements corresponds to the order of the interceptor chain.
+
+  Used in: client-interceptors
+-->
+<!ELEMENT bean (interceptor+)>
+
+<!--
+The list-entity element gives the chain of interceptors
+(instances of org.jboss.proxy.Interceptor) that are associated with the remote
+proxy and operate in the client VM. The declared order of the interceptor
+elements corresponds to the order of the interceptor chain.
+
+  Used in: client-interceptors
+-->
+<!ELEMENT list-entity (interceptor+)>
+
+<!--
+  The interceptor element specifies an instance of org.jboss.ejb.Interceptor
+  that is to be added to the container interceptor stack.
+
+  Used in: home, bean, list-entity, endpoint-interceptors
+-->
+<!ELEMENT interceptor ANY>
+
+<!-- possible content for the TxInterceptorCMT -->
+<!ELEMENT retry-handlers (handler+)>
+<!ELEMENT handler (#PCDATA)>
+
+<!--
+  The transaction attribute is used to indicate what type of container its
+  interceptor applies to. It is an enumerated value that can take on one of: Bean,
+  Container or Both. A value of Bean indicates that the interceptor should only be
+  added to a container for bean-managed transaction.
+  A value of Container indicates that the interceptor should only be added to a
+  container for container-managed transactions.
+  A value of Both indicates that the interceptor should be added to all
+  containers. This is the default value if the transaction attribute is not
+  explictlygiven.
+-->
+<!ATTLIST interceptor transaction     (Bean | Container | Both )  "Both">
+
+<!--
+  The metricsEnabled attributes is used to indicate if the interceptor
+  should only be included when the org.jboss.ejb.ContainerFactory metricsEnabled
+  flag is set to true. The allowed values are true and false with false being the
+  default if metricsEnabled is not explicitly given.
+-->
+<!ATTLIST interceptor metricsEnabled  (true | false )  "false">
+
+<!--
+  The call-by-value attribute is used to indicate that the interceptor
+  should only be included when the value of the attribute corresponds
+  to the value of org.jboss.metadata.BeanMetaData callByValue.
+  For example, if a bean defines the element <call-by-value>true</call-by-value>
+  then a marshalling invoker interceptor will be used instead of the
+  non marshalling optimized invoker interceptor.
+-->
+<!ATTLIST interceptor call-by-value  (true | false )  #IMPLIED>
+
+<!--
+  The instance-pool element gives the class name of the instance pool
+  jboss must use for in this configuration. This class must implement
+  the org.jboss.ejb.InstancePool interface. The defaults are:
+  - org.jboss.ejb.plugins.EntityInstancePool for entity beans
+  - org.jboss.ejb.plugins.StatelessSessionInstancePool for stateless
+  session beans.
+  - no pool is used for stateful session beans
+
+  Used in: container-configuration
+-->
+<!ELEMENT instance-pool (#PCDATA)>
+
+<!--
+  The instance-cache element gives the class name of the instance cache
+  jboss must use for in this configuration. This class must implement
+  the org.jboss.ejb.InstanceCache interface. The defaults are:
+  - org.jboss.ejb.plugins.NoPassivationEntityInstanceCache for entity beans
+  - org.jboss.ejb.plugins.NoPassivationStatefulSessionInstanceCache for
+  stateful session beans.
+  - no cache is used for stateless session beans
+
+  Used in: container-configuration
+-->
+<!ELEMENT instance-cache (#PCDATA)>
+
+<!--
+  The persistence-manager element gives the class name of the persistence
+  manager / persistence store jboss must use for in this configuration.
+  This class must implement:
+  - org.jboss.ejb.EntityPersistenceStore for CMP Entity Beans (default is
+  org.jboss.ejb.plugins.jaws.JAWSPersistenceManager)
+  - org.jboss.ejb.EntityPersistenceManager for BMP entity beans (default
+  is org.jboss.ejb.plugins.BMPPersistenceManager)
+  - org.jboss.ejb.StatefulSessionPersistenceManager for stateless session
+  beans.
+  - no persistence-manager is used for stateless session beans
+
+  Used in: container-configuration
+-->
+<!ELEMENT persistence-manager (#PCDATA)>
+
+<!--
+  The locking-policy element gives the class name of the EJB lock
+  implementation JBoss must use for in this configuration. This class must
+  implement  the org.jboss.ejb.BeanLock interface. The default is
+  org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.
+
+  Used in: container-configuration
+-->
+<!ELEMENT locking-policy (#PCDATA)>
+
+<!--
+  The web-class-loader element gives the class name of the web classloader
+  jboss must use for in this configuration. This class must be a subclass
+  of org.jboss.web.WebClassLoader. The default is org.jboss.web.WebClassLoader.
+
+  Used in: container-configuration
+  Used in: proxy-factory-config
+-->
+<!ELEMENT web-class-loader (#PCDATA)>
+
+<!--
+  The container-cache-conf element holds dynamic configuration data
+  for the instance cache.
+  jboss does not read directly the subtree for this element: instead,
+  it is passed to the instance cache instance (if it implements
+  org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-cache-conf (cache-policy? , cache-policy-conf?, cache-policy-conf-other?)>
+
+<!--
+  The implementation class for the cache policy, which controls
+  when instances will be passivated, etc.
+
+  Used in: container-cache-conf
+-->
+<!ELEMENT cache-policy (#PCDATA)>
+
+<!--
+  The configuration settings for the selected cache policy.  This
+  is currently only valid for the LRU cache.
+  When the cache is the LRU one for the stateful container, the elements
+  remover-period and max-bean-life specifies the period of the remover
+  task that removes stateful beans (that normally have been passivated)
+  that have age greater than the specified max-bean-life element.
+
+  Used in: container-cache-conf (when cache-policy is the LRU cache)
+-->
+<!ELEMENT cache-policy-conf (min-capacity? , max-capacity? , remover-period? ,
+ max-bean-life? , overager-period? , max-bean-age? , resizer-period? ,
+ max-cache-miss-period? , min-cache-miss-period? , cache-load-factor?, flush-enabled?)>
+
+<!--
+  The minimum capacity of this cache
+-->
+<!ELEMENT min-capacity (#PCDATA)>
+
+<!--
+  The maximum capacity of this cache
+-->
+<!ELEMENT max-capacity (#PCDATA)>
+
+<!--
+  The period of the overager's runs
+-->
+<!ELEMENT overager-period (#PCDATA)>
+
+<!--
+  The period of the remover's runs
+-->
+<!ELEMENT remover-period (#PCDATA)>
+
+<!--
+  The max-bean-life specifies the period of the remover
+  task that removes stateful beans (that normally have been passivated)
+  that have age greater than the specified max-bean-life element.
+-->
+<!ELEMENT max-bean-life (#PCDATA)>
+
+<!--
+  The period of the resizer's runs
+-->
+<!ELEMENT resizer-period (#PCDATA)>
+
+<!--
+  The age after which a bean is automatically passivated
+-->
+<!ELEMENT max-bean-age (#PCDATA)>
+
+<!--
+  Shrink cache capacity if there is a cache miss every or more
+  this member's value
+-->
+<!ELEMENT max-cache-miss-period (#PCDATA)>
+
+<!--
+  Enlarge cache capacity if there is a cache miss every or less
+  this member's value
+-->
+<!ELEMENT min-cache-miss-period (#PCDATA)>
+
+<!--
+  The resizer will always try to keep the cache capacity so that
+  the cache is this member's value loaded of cached objects
+-->
+<!ELEMENT cache-load-factor (#PCDATA)>
+
+<!--
+  For the NoPassivationCachePolicy. Can be true or false
+-->
+<!ELEMENT flush-enabled (#PCDATA)>
+
+<!--
+  Arbitrary XML configuration
+-->
+<!ELEMENT cache-policy-conf-other ANY>
+
+<!--
+  Possible content for the cache-policy-conf-other
+-->
+<!ELEMENT partitions (#PCDATA)>
+<!ELEMENT batch-commit-strategy (#PCDATA)>
+<!ELEMENT invalidable EMPTY>
+
+<!--
+  The container-pool-conf element holds configuration data for the
+  instance pool.
+  jboss does not read directly the subtree for this element: instead,
+  it is passed to the instance pool instance (if it implements
+  org.jboss.metadata.XmlLoadable) for it to load its parameters.
+
+  The default instance pools, EntityInstancePool and
+  StatelessSessionInstancePool, both accept the following configuration.
+
+  Used in: container-configuration
+-->
+<!ELEMENT container-pool-conf (MinimumSize?, MaximumSize?,
+   strictMaximumSize?, strictTimeout?)>
+
+<!-- The theoretical minimum size of the pool. Currently unused by JBoss
+EJB pools.
+
+Used in: invoker-proxy-conf for JMSContainerInvoker
+-->
+<!ELEMENT MinimumSize (#PCDATA)>
+
+<!--
+  The capacity of the Pool. For pools where reclaim is possible, the pool will
+  also be repopulated when the instance is free to be reused.
+  This is not an hard limit, if instances are needed when the pool is at
+  its MaximumSize, new instances will be created following the demand unless
+  a strictMaximumSize of true is specified.
+
+  Used in: container-pool-conf and invoker-proxy-conf for JMSContainerInvoker
+-->
+<!ELEMENT MaximumSize (#PCDATA)>
+
+<!-- A boolean flag indicating if attempts to access the pool will block when
+MaximumSize instances are active. The default is false.
+
+  Used in: container-pool-conf
+-->
+<!ELEMENT strictMaximumSize (#PCDATA)>
+
+<!-- The time in milliseconds to wait for the strictMaximumSize semaphore. The
+default is Long.MAX_VALUE or essentially enternity.
+
+  Used in: container-pool-conf
+-->
+<!ELEMENT strictTimeout (#PCDATA)>
+
+<!--
+  The number of millis to keep an unused object in the pool. Currently unused by
+  JBoss EJB Pools.
+
+  Used in: invoker-proxy-conf for JMSContainerInvoker
+-->
+<!ELEMENT KeepAliveMillis (#PCDATA)>
+
+<!--
+  This option is only used for entity container configurations.
+
+  The commit-option element tells the container which option to use for transactions.
+  Its value must be A, B C, or D.
+
+  - option A: the entiry instance has exclusive access to the database. The instance
+  stays ready after a transaction.
+  - option B: the entity instance does not have exclusive access to the database.
+  The state is loaded before the next transaction.
+  - option C: same as B, except the container does not keep the instance after commit:
+  a passivate is immediately performed after the commit.
+
+  - option D: a lazy update. default is every 30 secs.
+               can be updated with <optiond-refresh-rate>
+
+  See ejb1.1 specification for details (p118).
+
+  Used in: container-configuration
+-->
+<!ELEMENT commit-option (#PCDATA)>
+
+<!--
+  This element is used to specify the refresh rate of commit option d
+-->
+<!ELEMENT optiond-refresh-rate (#PCDATA)>
+
+<!--
+ior-security-config element describes the security configuration information for the IOR.
+-->  
+<!ELEMENT ior-security-config ( transport-config? , as-context?, sas-context?  )> 
+
+<!--
+transport-config is the root element for security between the end points
+-->
+<!ELEMENT transport-config ( integrity, confidentiality,
+ establish-trust-in-target, establish-trust-in-client, detect-misordering?,
+ detect-replay?)> 
+
+<!--
+integrity element indicates if the server (target) supports integrity protected messages. 
+The valid values are NONE, SUPPORTED or REQUIRED
+-->  
+<!ELEMENT integrity ( #PCDATA)>
+
+<!--
+confidentiality element indicates if the server (target) supports privacy protected 
+messages. The values are NONE, SUPPORTED or REQUIRED
+-->  
+<!ELEMENT confidentiality ( #PCDATA)>
+
+<!--
+establish-trust-in-target element indicates if the target is capable of authenticating to a client. 
+The values are NONE or SUPPORTED.
+-->  
+<!ELEMENT establish-trust-in-target ( #PCDATA)>
+
+<!--
+establish-trust-in-client element indicates if the target is capable of authenticating a client. The
+values are NONE, SUPPORTED or REQUIRED.
+-->  
+<!ELEMENT establish-trust-in-client ( #PCDATA)>
+
+<!--
+The optional detect-misordering indicates if the server (target) supports
+detection of message sequence errors. The values are NONE, SUPPORTED or REQUIRED.
+-->  
+<!ELEMENT detect-misordering ( #PCDATA)>
+
+<!--
+The optional detect-replay indicates if the server (target) supports detection
+of message replay attempts. The values are NONE, SUPPORTED or REQUIRED.
+-->  
+<!ELEMENT detect-replay ( #PCDATA)>
+
+<!--
+as-context (CSIv2 authentication service) is the element describing the authentication 
+mechanism that will be used to authenticate the client. If specified it will be the 
+username-password mechanism.
+-->  
+<!ELEMENT as-context ( auth-method, realm, required )> 
+
+<!--
+required element specifies if the authentication method specified is required
+to be used for client authentication. If so the EstablishTrustInClient bit
+will be set in the target_requires field of the AS_Context. The element value
+is either true or false. 
+-->  
+<!ELEMENT required ( #PCDATA )> 
+
+<!--
+auth-method element describes the authentication method. The only supported value
+for as-context is USERNAME_PASSWORD
+
+For port-component, the auth-method element is used to configure the
+authentication mechanism for the web service. As a prerequisite to gaining
+access to any web service which are protected by an authorization
+constraint, a user must have authenticated using the configured
+mechanism. Legal values for this element are "BASIC", or "CLIENT-CERT".
+
+Used in: as-context, port-component
+
+-->  
+<!ELEMENT auth-method ( #PCDATA )> 
+
+<!--
+realm element describes the realm in which the user is authenticated. Must be 
+a valid realm that is registered in server configuration.
+-->  
+<!ELEMENT realm ( #PCDATA )> 
+
+<!--
+sas-context (related to CSIv2 security attribute service) element describes 
+the sas-context fields.
+-->  
+<!ELEMENT sas-context ( caller-propagation )> 
+
+<!--
+caller-propagation element indicates if the target will accept propagated caller identities
+The values are NONE or SUPPORTED.
+-->  
+<!ELEMENT caller-propagation ( #PCDATA) >
+
+<!-- The port-component element specifies a mapping from a webservice
+port-component whose service-impl-bean/ejb-link value maps to an ejb.
+
+Used in: session
+-->
+<!ELEMENT port-component (port-component-name, port-component-uri?, auth-method?,
+ transport-guarantee?, secure-wsdl-access?) >
+
+<!-- Maps to the port-component-name in the webservices.xml descriptor.
+
+Used in: port-component
+-->
+<!ELEMENT port-component-name (#PCDATA) >
+
+<!-- Relative path that is appended to the <context-root> element to form fully qualified
+endpoint address for a web service endpoint. 
+
+For backwards compatibility, it may also be the absolute path starting with web context root 
+to form fully qualified endpoint address for a web service endpoint. In this case, the port component uri
+must contain at least two token seperated by '/'. The first token is the web context root,
+which must be identical among all port component uris in a given deployment.
+
+Used in: port-component
+-->
+<!ELEMENT port-component-uri (#PCDATA) >
+
+<!--
+The transport-guarantee element specifies that the communication
+between client and server should be NONE, INTEGRAL, or
+CONFIDENTIAL. NONE means that the application does not require any
+transport guarantees. A value of INTEGRAL means that the application
+requires that the data sent between the client and server be sent in
+such a way that it can't be changed in transit. CONFIDENTIAL means
+that the application requires that the data be transmitted in a
+fashion that prevents other entities from observing the contents of
+the transmission. In most cases, the presence of the INTEGRAL or
+CONFIDENTIAL flag will indicate that the use of SSL is required.
+
+Used in: port-component
+-->
+<!ELEMENT transport-guarantee (#PCDATA)>
+
+<!--
+A secure endpoint does not by default publish it's wsdl on an unsecure transport.
+You can override this behaviour by explicitly setting the secureWSDLAccess flag to false.
+
+Used in: port-component
+-->
+<!ELEMENT secure-wsdl-access (#PCDATA)>
+
+<!--
+Activation config
+
+used in message-driven and proxy-factory-config
+-->
+<!ELEMENT activation-config ( activation-config-property* )>
+
+<!--
+Activation config properties 
+
+used in activation-config
+-->
+<!ELEMENT activation-config-property ( activation-config-property-name, 
+                                       activation-config-property-value )>
+<!--
+Activation config property name
+
+used in activation-config-property
+-->
+<!ELEMENT activation-config-property-name ( #PCDATA )>
+
+<!--
+Activation config property value
+
+used in activation-config-property
+-->
+<!ELEMENT activation-config-property-value ( #PCDATA )>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,243 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- $Id: jboss_xmbean_1_0.dtd 23740 2004-09-15 22:16:49Z andd $ -->
+
+<!-- This is the XML DTD for the JBoss MX 1.0 XMBean deployment descriptor.
+Author: Juha Lindfors
+Author: David Jencks
+Author: Matt Munz
+
+The DOCTYPE is:
+  <!DOCTYPE mbean PUBLIC
+      "-//JBoss//DTD JBOSS XMBEAN 1.0//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd">
+-->
+<!-- 
+  The mbean element is the root element of the document containing the
+  required elements for describing the management interface of one
+  MBean (constructors, attributes, operations and notifications). It
+  also includes an optional description element that can be used to
+  describe the purpose of the MBean and attributes for persistence
+  policy and attribute caching.
+-->
+<!ELEMENT mbean (description? , descriptors? , class , constructor*,
+ attribute* , operation* , notification*)>
+
+<!-- The class element specifies the fully qualifed name of the model MBean
+implementation class. This class will be exposed as a ModelMBean by the
+JMX implementation.
+-->
+<!ELEMENT class (#PCDATA)>
+
+<!--
+  The constructor element describes the constructors of an MBean
+  that are exposed to the management application. The optional
+  description element can be used to to describe the use of the
+  constructor.  
+-->
+<!ELEMENT constructor (description? , name , parameter* , descriptors?)>
+
+<!-- 
+  The attribute element describes the management attributes of an
+  MBean. The name element contains the attribute's name and the type
+  element contains a fully qualified class name of the attribute's
+  type.
+-->
+<!ELEMENT attribute (description? , name , type , descriptors?)>
+
+<!--  The access attribute defines the  read/write access modes of an attribute  -->
+<!ATTLIST attribute access     (read-only | write-only | read-write )  "read-write">
+
+<!--  The getMethod attribute defines the name of the method which reads
+the named attribute. This must be specified if the managed attribute should
+be obtained from the mbean instance. -->
+<!ATTLIST attribute getMethod CDATA  #IMPLIED>
+
+<!--  The setMethod attribute defines the name of the method which writes
+the named attribute. This must be specified if the managed attribute should
+be obtained from the mbean instance. -->
+<!ATTLIST attribute setMethod CDATA  #IMPLIED>
+
+<!-- 
+  The operation element describes a management operation of an MBean.
+  The name element contains the operation's name and the parameter
+  elements describe the operation's signature. The return-type element
+  must contain a fully qualified class name of the return type from
+  this operation.
+  
+  If return-type is not specified, void is assumed.
+-->
+<!ELEMENT operation (description? , name , parameter* , return-type? , descriptors?)>
+
+<!--  The impact attribute defines the impact of executing the operation and must be one of:
+	ACTION, The operation changes the state of the MBean component (write operation).
+	INFO, The operation should not alter the  state of the MBean component (read operation).
+	ACTION_INFO, The operation behaves like a  read/write operation.
+-->
+<!ATTLIST operation impact  (ACTION | INFO | ACTION_INFO )  "ACTION_INFO">
+
+<!--  The descriptors element contains all the descriptors for a containing element, as subelements.
+The descriptors suggested in the jmx spec have predefined elements, whereas custom descriptors have
+a generic element.
+-->
+<!ELEMENT descriptors (interceptors? , persistence? , currencyTimeLimit? , state-action-on-update? ,
+display-name? , default? , value? , persistence-manager? , descriptor*)>
+
+<!-- The interceptors element specifies a customized stack of interceptors
+that will be used in place of the default stack. Currently this is only
+used when specified at the mbean level, but it could define a custom attribute
+or operation level interceptor stack in the future.
+-->
+<!ELEMENT interceptors (interceptor+)>
+
+<!-- The interceptor element specifies a custom interceptor stack to insert
+ahead of the standard ModelBean consisting of:
+   org.jboss.mx.interceptor.PersistenceInterceptor
+   org.jboss.mx.interceptor.MBeanAttributeInterceptor
+   org.jboss.mx.interceptor.ObjectReferenceInterceptor
+
+Each interceptor must implement the org.jboss.mx.interceptor.Interceptor
+interface, and must have either a no-arg constructor, or a constructor
+that accepts a javax.management.modelmbean.ModelMBeanInfo.
+-->
+<!ELEMENT interceptor ANY>
+
+<!ATTLIST interceptor  code CDATA  #REQUIRED >
+<!-- The persistence element contains descriptors for the persistPolicy,
+persistPeriod, persistLocation, and persistName properties suggested by the spec.
+-->
+<!ELEMENT persistence EMPTY>
+
+<!-- The persistPolicy defines how attributes should be persisted and must be one of:
+	Never, attribute values are transient values that are never persisted
+	OnUpdate, attribute values are persisted whenever they are updated
+	OnTimer, attribute values are persisted based on the time given by the persistPeriod.
+	NoMoreOftenThan, attribute values are persisted when updated unless but no more
+	oten than the persistPeriod.
+-->
+<!ATTLIST persistence persistPolicy (Never | OnUpdate | NoMoreOftenThan | OnTimer )  #IMPLIED>
+
+<!-- The persistPeriod attribute gives the update frequency in milliseconds if
+the perisitPolicy attribute is NoMoreOftenThan or OnTimer.
+-->
+<!ATTLIST persistence persistPeriod   CDATA  #IMPLIED>
+
+<!-- The persistLocation attribute specifies the location of the persistence
+store. Its form depends on the JMX implementation. Currently this should refer
+to a directory into which the attributes will be serialized.
+-->
+<!ATTLIST persistence persistLocation CDATA  #IMPLIED>
+
+<!-- The  persistName attribute can be used in conjunction with the
+persistLocation attribute to further qualify the persistent store location. For
+a directory persistLocation the persistName specifies the file to which the
+attributes are stored within the directory.
+-->
+<!ATTLIST persistence persistName     CDATA  #IMPLIED>
+
+<!-- The currencyTimeLimit element specifies the time in seconds that a cached
+value of an attribute remains valid.
+-->
+<!ELEMENT currencyTimeLimit EMPTY>
+
+<!--  The value attribute gives the  currencyTimeLimit in seconds. A 0 value
+indicates that an attribute value should always be retrieved from the mbean and
+never cached. A -1 value indicates that a cache value is always valid.
+-->
+<!ATTLIST currencyTimeLimit value CDATA  #IMPLIED>
+
+<!--  The state-action-on-update element specifies the what happens to an mbean
+when one of its attributes is updated. The action is given by the value attribute.
+-->
+<!ELEMENT state-action-on-update EMPTY>
+
+<!-- The value value attribute defines what happens to the mbean lifecycle
+state when one of its attributes is update. It must be one of:
+	keep-running,
+	restart,
+	reconfigure,
+	reinstantiate
+-->
+<!ATTLIST state-action-on-update value  (keep-running | restart | reconfigure | reinstantiate )  #IMPLIED>
+
+<!--  The displayName element specifies the human friendly name of an item
+ -->
+<!ELEMENT display-name EMPTY>
+
+<!--   The value attribute gives the string representation of the displayName
+ -->
+<!ATTLIST display-name value CDATA  #IMPLIED>
+
+<!-- The persistence-manager element give the name of a class to use as the
+persistence manager.
+ -->
+<!ELEMENT persistence-manager EMPTY>
+
+<!--  The value attribute specifies the class name that supplies the
+org.jboss.mx.persistence.PersistenceManager interface implementation.
+ -->
+<!ATTLIST persistence-manager value CDATA  #IMPLIED>
+
+<!-- The default element specifes a default value to use when a field has not
+been set.
+-->
+<!ELEMENT default EMPTY>
+
+<!--  The value  attribute  gives the default value representation
+-->
+<!ATTLIST default value CDATA  #REQUIRED>
+
+<!-- The value element specifies a management attribute's current value
+-->
+<!ELEMENT value EMPTY>
+
+<!--  The  value  (initial) value for attribute  -->
+<!ATTLIST value value CDATA  #REQUIRED>
+
+<!--  The  descriptor element
+-->
+<!ELEMENT descriptor EMPTY>
+
+<!-- The name attribute specifies the type of the descriptor.
+ -->
+<!ATTLIST descriptor name  CDATA  #REQUIRED>
+<!-- The value attribute specifies the descriptor value.
+-->
+<!ATTLIST descriptor value CDATA  #REQUIRED>
+
+<!-- The notification element describes a management notification. The name
+  element contains the fully qualified name of the notification class and
+  the notification-type element contains the dot-separated notification
+  type string.
+-->
+<!ELEMENT notification (description? , name , notification-type+ , descriptors?)>
+
+<!-- The parameter element specifies an operation parameter
+-->
+<!ELEMENT parameter (description? , name , type)>
+
+<!-- The name element is used to define the fundamental name of a component, such as the
+mbean JMX name, the name of an attribute, constructor, operation, notification, etc. This is a
+case-sensitive code centric name. For notifications the name if the class name of the event
+object, javax.management.Notification or a subclass.
+-->
+<!ELEMENT name (#PCDATA)>
+
+<!-- The description element provides human readable descriptive text for constructors,
+attributes, operations, paramters, notifications, etc.
+-->
+<!ELEMENT description (#PCDATA)>
+
+<!-- The type element specifies a fully qualified name of a Java type.
+-->
+<!ELEMENT type (#PCDATA)>
+
+<!-- The return-type element specifies the return type of an operation. If not given or empty
+it is assumed to be the void type.
+-->
+<!ELEMENT return-type (#PCDATA)>
+
+<!-- The notification-type element speicifies the types of notifications that may be sent. These are
+the value that will be seen as the the javax.management.Notification.type attribute.
+-->
+<!ELEMENT notification-type (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_1.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_1.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_1.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,333 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- $Id: jboss_xmbean_1_1.dtd 39447 2006-01-03 17:46:05Z dimitris $ -->
+
+<!-- This is the XML DTD for the JBoss MX 1.0 XMBean deployment descriptor.
+Author: Juha Lindfors
+Author: David Jencks
+Author: Matt Munz
+Author: Heiko W. Rupp
+Author: Dimitris Andreadis
+The DOCTYPE is:
+  <!DOCTYPE mbean PUBLIC
+      "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+-->
+<!-- 
+  The mbean element is the root element of the document containing the
+  required elements for describing the management interface of one
+  MBean (constructors, attributes, operations and notifications). It
+  also includes an optional description element that can be used to
+  describe the purpose of the MBean and attributes for persistence
+  policy and attribute caching.
+-->
+<!ELEMENT mbean (description? , descriptors? , class , constructor*,
+ attribute* , operation* , notification*)>
+
+<!-- The class element specifies the fully qualifed name of the model MBean
+implementation class. This class will be exposed as a ModelMBean by the
+JMX implementation.
+-->
+<!ELEMENT class (#PCDATA)>
+
+<!--
+  The constructor element describes the constructors of an MBean
+  that are exposed to the management application. The optional
+  description element can be used to to describe the use of the
+  constructor.  
+-->
+<!ELEMENT constructor (description? , name , parameter* , descriptors?)>
+
+<!-- 
+  The attribute element describes the management attributes of an
+  MBean. The name element contains the attribute's name and the type
+  element contains a fully qualified class name of the attribute's
+  type.
+-->
+<!ELEMENT attribute (description? , name , type , descriptors?)>
+
+<!--  The access attribute defines the  read/write access modes of an attribute  -->
+<!ATTLIST attribute access     (read-only | write-only | read-write )  "read-write">
+
+<!--  The getMethod attribute defines the name of the method which reads
+the named attribute. This must be specified if the managed attribute should
+be obtained from the mbean instance. -->
+<!ATTLIST attribute getMethod CDATA  #IMPLIED>
+
+<!--  The setMethod attribute defines the name of the method which writes
+the named attribute. This must be specified if the managed attribute should
+be obtained from the mbean instance. -->
+<!ATTLIST attribute setMethod CDATA  #IMPLIED>
+
+<!-- 
+  The operation element describes a management operation of an MBean.
+  The name element contains the operation's name and the parameter
+  elements describe the operation's signature. The return-type element
+  must contain a fully qualified class name of the return type from
+  this operation.
+  
+  If return-type is not specified, void is assumed.
+-->
+<!ELEMENT operation (description? , name , parameter* , return-type? , descriptors?)>
+
+<!--  The impact attribute defines the impact of executing the operation and must be one of:
+	ACTION, The operation changes the state of the MBean component (write operation).
+	INFO, The operation should not alter the  state of the MBean component (read operation).
+	ACTION_INFO, The operation behaves like a  read/write operation.
+-->
+<!ATTLIST operation impact  (ACTION | INFO | ACTION_INFO )  "ACTION_INFO">
+
+<!--  The descriptors element contains all the descriptors for a containing element, as subelements.
+The descriptors suggested in the jmx spec have predefined elements, whereas custom descriptors have
+a generic element.
+-->
+<!ELEMENT descriptors (interceptors? , persistence? , currencyTimeLimit? ,
+display-name? , default? , value? , persistence-manager? , descriptor* , injection*)>
+
+<!-- The interceptors element specifies a customized stack of interceptors
+that will be used in place of the default stack. Currently this is only
+used when specified at the mbean level, but it could define a custom attribute
+or operation level interceptor stack in the future.
+-->
+<!ELEMENT interceptors (interceptor+)>
+
+<!-- The interceptor element specifies a custom interceptor stack to insert
+ahead of the standard ModelBean consisting of:
+   org.jboss.mx.interceptor.PersistenceInterceptor
+   org.jboss.mx.interceptor.MBeanAttributeInterceptor
+   org.jboss.mx.interceptor.ObjectReferenceInterceptor
+
+Each interceptor must implement the org.jboss.mx.interceptor.Interceptor
+interface, and must have either a no-arg constructor, or a constructor
+that accepts a javax.management.modelmbean.ModelMBeanInfo.
+-->
+<!ELEMENT interceptor ANY>
+
+<!ATTLIST interceptor  code CDATA  #REQUIRED >
+<!-- The persistence element contains descriptors for the persistPolicy,
+persistPeriod, persistLocation, and persistName properties suggested by the spec.
+-->
+<!ELEMENT persistence EMPTY>
+
+<!-- The persistPolicy defines how attributes should be persisted and must be one of:
+	Never, attribute values are transient values that are never persisted
+	OnUpdate, attribute values are persisted whenever they are updated
+	OnTimer, attribute values are persisted based on the time given by the persistPeriod.
+	NoMoreOftenThan, attribute values are persisted when updated unless but no more
+	oten than the persistPeriod.
+-->
+<!ATTLIST persistence persistPolicy (Never | OnUpdate | NoMoreOftenThan | OnTimer )  #IMPLIED>
+
+<!-- The persistPeriod attribute gives the update frequency in milliseconds if
+the perisitPolicy attribute is NoMoreOftenThan or OnTimer.
+-->
+<!ATTLIST persistence persistPeriod   CDATA  #IMPLIED>
+
+<!-- The persistLocation attribute specifies the location of the persistence
+store. Its form depends on the JMX implementation. Currently this should refer
+to a directory into which the attributes will be serialized.
+-->
+<!ATTLIST persistence persistLocation CDATA  #IMPLIED>
+
+<!-- The  persistName attribute can be used in conjunction with the
+persistLocation attribute to further qualify the persistent store location. For
+a directory persistLocation the persistName specifies the file to which the
+attributes are stored within the directory.
+-->
+<!ATTLIST persistence persistName     CDATA  #IMPLIED>
+
+<!-- The currencyTimeLimit element specifies the time in seconds that a cached
+value of an attribute remains valid.
+-->
+<!ELEMENT currencyTimeLimit EMPTY>
+
+<!--  The value attribute gives the  currencyTimeLimit in seconds. A 0 value
+indicates that an attribute value should always be retrieved from the mbean and
+never cached. A -1 value indicates that a cache value is always valid.
+-->
+<!ATTLIST currencyTimeLimit value CDATA  #IMPLIED>
+
+<!--  The displayName element specifies the human friendly name of an item
+ -->
+<!ELEMENT display-name EMPTY>
+
+<!--   The value attribute gives the string representation of the displayName
+ -->
+<!ATTLIST display-name value CDATA  #IMPLIED>
+
+<!-- The persistence-manager element give the name of a class to use as the
+persistence manager.
+ -->
+<!ELEMENT persistence-manager EMPTY>
+
+<!--  The value attribute specifies the class name that supplies the
+org.jboss.mx.persistence.PersistenceManager interface implementation.
+ -->
+<!ATTLIST persistence-manager value CDATA  #IMPLIED>
+
+<!-- The default element specifes a default value to use when a field has not
+been set.
+-->
+<!ELEMENT default EMPTY>
+
+<!--  The value  attribute  gives the default value representation
+-->
+<!ATTLIST default value CDATA  #REQUIRED>
+
+<!-- The value element specifies a management attribute's current value
+-->
+<!ELEMENT value EMPTY>
+
+<!--  The  value  (initial) value for attribute  -->
+<!ATTLIST value value CDATA  #REQUIRED>
+
+<!--  The  descriptor element
+-->
+<!ELEMENT descriptor EMPTY>
+
+<!-- The name attribute specifies the type of the descriptor.
+ -->
+<!ATTLIST descriptor name  CDATA  #REQUIRED>
+<!-- The value attribute specifies the descriptor value.
+-->
+<!ATTLIST descriptor value CDATA  #REQUIRED>
+
+<!-- The notification element describes a management notification. The name
+  element contains the fully qualified name of the notification class and
+  the notification-type element contains the dot-separated notification
+  type string.
+-->
+<!ELEMENT notification (description? , name , notification-type+ , descriptors?)>
+
+<!-- The parameter element specifies an operation parameter
+-->
+<!ELEMENT parameter (description? , name , type)>
+
+<!-- The name element is used to define the fundamental name of a component, such as the
+mbean JMX name, the name of an attribute, constructor, operation, notification, etc. This is a
+case-sensitive code centric name. For notifications the name if the class name of the event
+object, javax.management.Notification or a subclass.
+-->
+<!ELEMENT name (#PCDATA)>
+
+<!-- The description element provides human readable descriptive text for constructors,
+attributes, operations, paramters, notifications, etc.
+-->
+<!ELEMENT description (#PCDATA)>
+
+<!-- The type element specifies a fully qualified name of a Java type.
+-->
+<!ELEMENT type (#PCDATA)>
+
+<!-- The return-type element specifies the return type of an operation. If not given or empty
+it is assumed to be the void type.
+-->
+<!ELEMENT return-type (#PCDATA)>
+
+<!-- The notification-type element speicifies the types of notifications that may be sent. These are
+the value that will be seen as the the javax.management.Notification.type attribute.
+-->
+<!ELEMENT notification-type (#PCDATA)>
+
+<!-- 
+  The injection element describes an injection point for receiving information
+  from the jmx microkernel. Each injection point specifies the type and
+  the resource setter method to use to inject the information into the
+  resource.
+-->
+<!ELEMENT injection EMPTY>
+
+<!-- 
+   The injection id attribute specifies the injection point type. The current
+   injection point types are:
+
+   MBeanServerType - the MBeanServer the XMBean is registered with. This requires
+      a setter with an x(javax.management.MBeanServer) signature.
+   MBeanInfoType - the XMBean ModelMBeanInfo metadata. This requires
+      a setter with an x(javax.management.MBeanInfo) signature.
+   ObjectNameType - the ObjectName the XMBean is registered under. This requires
+      a setter with an x(javax.management.ObjectName) signature.
+-->
+<!ATTLIST injection id (MBeanServerType | MBeanInfoType | ObjectNameType) #REQUIRED>
+
+<!--
+   The injection setMethod attribute gives the name of the method used to set
+   the injection value on the resource.
+-->
+<!ATTLIST injection setMethod CDATA #IMPLIED>
+
+<!--
+  provide entities for default MBean Operations
+  and the three default MBean attributes
+-->
+<!ENTITY defaultOperations '
+<operation>
+ <description>Standard MBean lifecycle method</description>
+ <name>create</name>
+</operation>
+<operation>
+ <description>The start lifecycle operation</description>
+ <name>start</name>
+</operation>
+<operation>
+ <description>The stop lifecycle operation</description>
+ <name>stop</name>
+</operation>
+<operation>
+ <description>The destroy lifecycle operation</description>
+ <name>destroy</name>
+</operation>
+<operation>
+ <description>The detyped lifecycle operation (for internal use only)</description>
+ <name>jbossInternalLifecycle</name>
+ <parameter>
+  <description>The lifecycle operation</description>
+   <name>method</name>
+   <type>java.lang.String</type>
+ </parameter>
+ <return-type>void</return-type>
+</operation>
+'>
+
+<!ENTITY defaultAttributes '
+<attribute access="read-only" getMethod="getName">
+ <description>The class name of the MBean</description>
+ <name>Name</name>
+ <type>java.lang.String</type>
+</attribute>
+<attribute access="read-only" getMethod="getState">
+ <description>The status of the MBean</description>
+ <name>State</name>
+ <type>int</type>
+</attribute>
+<attribute access="read-only" getMethod="getStateString">
+ <description>The status of the MBean in text form</description>
+ <name>StateString</name>
+ <type>java.lang.String</type>
+</attribute>
+'>
+
+<!--
+  Methods to expose the Interceptable interface. Used in conjunction
+  with org.jboss.mx.interceptor.DynamicInterceptor
+-->
+<!ENTITY interceptable '
+<operation>
+ <description>Add dynamically an operation interceptor</description>
+ <name>addOperationInterceptor</name>
+ <parameter>
+  <description>The Interceptor</description>
+  <name>interceptor</name>
+  <type>org.jboss.mx.interceptor.Interceptor</type>
+ </parameter>
+</operation>
+<operation>
+ <description>Remove dynamically an operation interceptor</description>
+ <name>removeOperationInterceptor</name>
+ <parameter>
+  <description>The Interceptor</description>
+  <name>interceptor</name>
+  <type>org.jboss.mx.interceptor.Interceptor</type>
+ </parameter>
+</operation>
+'>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jboss_xmbean_1_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,441 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!-- $Id: jboss_xmbean_1_2.dtd 39447 2006-01-03 17:46:05Z dimitris $ -->
+
+<!-- This is the XML DTD for the JBoss MX 1.2 XMBean deployment descriptor.
+Author: Juha Lindfors
+Author: David Jencks
+Author: Matt Munz
+Author: Heiko W. Rupp
+Author: Dimitris Andreadis
+The DOCTYPE is:
+  <!DOCTYPE mbean PUBLIC
+      "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
+      "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">
+-->
+<!-- 
+  The mbean element is the root element of the document containing the
+  required elements for describing the management interface of one
+  MBean (constructors, attributes, operations and notifications). It
+  also includes an optional description element that can be used to
+  describe the purpose of the MBean and attributes for persistence
+  policy and attribute caching.
+-->
+<!ELEMENT mbean (description? , descriptors? , class , constructor*,
+ attribute* , operation* , notification*)>
+
+<!-- The class element specifies the fully qualifed name of the model MBean
+implementation class. This class will be exposed as a ModelMBean by the
+JMX implementation.
+-->
+<!ELEMENT class (#PCDATA)>
+
+<!--
+  The constructor element describes the constructors of an MBean
+  that are exposed to the management application. The optional
+  description element can be used to to describe the use of the
+  constructor.  
+-->
+<!ELEMENT constructor (description? , name , parameter* , descriptors?)>
+
+<!-- 
+  The attribute element describes the management attributes of an
+  MBean. The name element contains the attribute's name and the type
+  element contains a fully qualified class name of the attribute's
+  type.
+-->
+<!ELEMENT attribute (description? , name , type , descriptors?)>
+
+<!--  The access attribute defines the  read/write access modes of an attribute  -->
+<!ATTLIST attribute access  (read-only | write-only | read-write )  "read-write">
+
+<!--  The getMethod attribute defines the name of the method which reads
+the named attribute. This must be specified if the managed attribute should
+be obtained from the mbean instance. -->
+<!ATTLIST attribute getMethod CDATA  #IMPLIED>
+
+<!--  The setMethod attribute defines the name of the method which writes
+the named attribute. This must be specified if the managed attribute should
+be obtained from the mbean instance. -->
+<!ATTLIST attribute setMethod CDATA  #IMPLIED>
+
+<!-- 
+  The operation element describes a management operation of an MBean.
+  The name element contains the operation's name and the parameter
+  elements describe the operation's signature. The return-type element
+  must contain a fully qualified class name of the return type from
+  this operation.
+  
+  If return-type is not specified, void is assumed.
+-->
+<!ELEMENT operation (description? , name , parameter* , return-type? , descriptors?)>
+
+<!--  The impact attribute defines the impact of executing the operation and must be one of:
+	ACTION, The operation changes the state of the MBean component (write operation).
+	INFO, The operation should not alter the  state of the MBean component (read operation).
+	ACTION_INFO, The operation behaves like a  read/write operation.
+-->
+<!ATTLIST operation impact  (ACTION | INFO | ACTION_INFO )  "ACTION_INFO">
+
+<!--  The descriptors element contains all the descriptors for a containing element, as subelements.
+The descriptors suggested in the jmx spec have predefined elements, whereas custom descriptors have
+a generic element.
+-->
+<!ELEMENT descriptors (interceptors? , persistence? , currencyTimeLimit? ,
+display-name? , default? , value? , persistence-manager? , descriptor* , injection*)>
+
+<!-- The interceptors element specifies a customized stack of interceptors
+that will be used in place of the default stack. Currently this is only
+used when specified at the mbean level, but it could define a custom attribute
+or operation level interceptor stack in the future.
+-->
+<!ELEMENT interceptors (interceptor+)>
+
+<!-- The interceptor element specifies a custom interceptor stack to insert
+ahead of the standard ModelBean consisting of:
+   org.jboss.mx.interceptor.PersistenceInterceptor
+   org.jboss.mx.interceptor.MBeanAttributeInterceptor
+   org.jboss.mx.interceptor.ObjectReferenceInterceptor
+
+Each interceptor must implement the org.jboss.mx.interceptor.Interceptor
+interface, and must have either a no-arg constructor, or a constructor
+that accepts a javax.management.modelmbean.ModelMBeanInfo.
+-->
+<!ELEMENT interceptor ANY>
+
+<!ATTLIST interceptor  code CDATA  #REQUIRED >
+<!-- The persistence element contains descriptors for the persistPolicy,
+persistPeriod, persistLocation, and persistName properties suggested by the spec.
+-->
+<!ELEMENT persistence EMPTY>
+
+<!-- The persistPolicy defines how attributes should be persisted and must be one of:
+	Never, attribute values are transient values that are never persisted
+	OnUpdate, attribute values are persisted whenever they are updated
+	OnTimer, attribute values are persisted based on the time given by the persistPeriod.
+	NoMoreOftenThan, attribute values are persisted when updated unless but no more
+	oten than the persistPeriod.
+-->
+<!ATTLIST persistence persistPolicy (Never | OnUpdate | NoMoreOftenThan | OnTimer )  #IMPLIED>
+
+<!-- The persistPeriod attribute gives the update frequency in milliseconds if
+the perisitPolicy attribute is NoMoreOftenThan or OnTimer.
+-->
+<!ATTLIST persistence persistPeriod   CDATA  #IMPLIED>
+
+<!-- The persistLocation attribute specifies the location of the persistence
+store. Its form depends on the JMX implementation. Currently this should refer
+to a directory into which the attributes will be serialized.
+-->
+<!ATTLIST persistence persistLocation CDATA  #IMPLIED>
+
+<!-- The  persistName attribute can be used in conjunction with the
+persistLocation attribute to further qualify the persistent store location. For
+a directory persistLocation the persistName specifies the file to which the
+attributes are stored within the directory.
+-->
+<!ATTLIST persistence persistName     CDATA  #IMPLIED>
+
+<!-- The currencyTimeLimit element specifies the time in seconds that a cached
+value of an attribute remains valid.
+-->
+<!ELEMENT currencyTimeLimit EMPTY>
+
+<!--  The value attribute gives the  currencyTimeLimit in seconds. A 0 value
+indicates that an attribute value should always be retrieved from the mbean and
+never cached. A -1 value indicates that a cache value is always valid.
+-->
+<!ATTLIST currencyTimeLimit value CDATA  #IMPLIED>
+
+<!--  The displayName element specifies the human friendly name of an item
+ -->
+<!ELEMENT display-name EMPTY>
+
+<!--   The value attribute gives the string representation of the displayName
+ -->
+<!ATTLIST display-name value CDATA  #IMPLIED>
+
+<!-- The persistence-manager element give the name of a class to use as the
+persistence manager.
+ -->
+<!ELEMENT persistence-manager EMPTY>
+
+<!--  The value attribute specifies the class name that supplies the
+org.jboss.mx.persistence.PersistenceManager interface implementation.
+ -->
+<!ATTLIST persistence-manager value CDATA  #IMPLIED>
+
+<!-- The default element specifes a default value to use when a field has not
+been set. Typically the value of the element is the string representation of the
+attribute, but it can be an arbitrary xml fragment.
+-->
+<!ELEMENT default ANY>
+
+<!--  The value  attribute  gives the default value representation.
+Alternatively a sub-element may be used, in which case 'trim' and
+'replace' apply also.
+-->
+<!ATTLIST default value CDATA  #IMPLIED>
+
+<!-- The optional replace attribute indicates whether references of the form ${x}
+in the element content should be replaced with the corresponding System.getProperty(x) value.
+-->
+<!ATTLIST default replace (true | false) 'true'>
+
+<!-- The optional trim attribute specifies whether the
+element content should be trimmed of whitespace.
+-->
+<!ATTLIST default trim (true | false) 'true'>
+
+<!-- The value element specifies a management attribute's current value
+Typically the value of the element is the string representation of the
+attribute, but it can be an arbitrary xml fragment.
+-->
+<!ELEMENT value ANY>
+
+<!--  The  value  (initial) value for attribute. Alternatively a sub-element may be used,
+in which case 'trim' and 'replace' apply also.
+-->
+<!ATTLIST value value CDATA  #IMPLIED>
+
+<!-- The optional replace attribute indicates whether references of the form ${x}
+in the element content should be replaced with the corresponding System.getProperty(x) value.
+-->
+<!ATTLIST value replace (true | false) 'true'>
+
+<!-- The optional trim attribute specifies whether the
+element content should be trimmed of whitespace.
+-->
+<!ATTLIST value trim (true | false) 'true'>
+
+<!--  The  descriptor element
+-->
+<!ELEMENT descriptor EMPTY>
+
+<!-- The name attribute specifies the type of the descriptor.
+ -->
+<!ATTLIST descriptor name  CDATA  #REQUIRED>
+<!-- The value attribute specifies the descriptor value.
+-->
+<!ATTLIST descriptor value CDATA  #REQUIRED>
+
+<!-- The notification element describes a management notification. The name
+  element contains the fully qualified name of the notification class and
+  the notification-type element contains the dot-separated notification
+  type string.
+-->
+<!ELEMENT notification (description? , name , notification-type+ , descriptors?)>
+
+<!-- The parameter element specifies an operation parameter
+-->
+<!ELEMENT parameter (description? , name , type)>
+
+<!-- The name element is used to define the fundamental name of a component, such as the
+mbean JMX name, the name of an attribute, constructor, operation, notification, etc. This is a
+case-sensitive code centric name. For notifications the name if the class name of the event
+object, javax.management.Notification or a subclass.
+-->
+<!ELEMENT name (#PCDATA)>
+
+<!-- The description element provides human readable descriptive text for constructors,
+attributes, operations, paramters, notifications, etc.
+-->
+<!ELEMENT description (#PCDATA)>
+
+<!-- The type element specifies a fully qualified name of a Java type.
+-->
+<!ELEMENT type (#PCDATA)>
+
+<!-- The return-type element specifies the return type of an operation. If not given or empty
+it is assumed to be the void type.
+-->
+<!ELEMENT return-type (#PCDATA)>
+
+<!-- The notification-type element speicifies the types of notifications that may be sent. These are
+the value that will be seen as the the javax.management.Notification.type attribute.
+-->
+<!ELEMENT notification-type (#PCDATA)>
+
+<!-- 
+  The injection element describes an injection point for receiving information
+  from the jmx microkernel. Each injection point specifies the type and
+  the resource setter method to use to inject the information into the
+  resource.
+-->
+<!ELEMENT injection EMPTY>
+
+<!-- 
+   The injection id attribute specifies the injection point type. The current
+   injection point types are:
+
+   MBeanServerType - the MBeanServer the XMBean is registered with. This requires
+      a setter with an x(javax.management.MBeanServer) signature.
+   MBeanInfoType - the XMBean ModelMBeanInfo metadata. This requires
+      a setter with an x(javax.management.MBeanInfo) signature.
+   ObjectNameType - the ObjectName the XMBean is registered under. This requires
+      a setter with an x(javax.management.ObjectName) signature.
+-->
+<!ATTLIST injection id (MBeanServerType | MBeanInfoType | ObjectNameType) #REQUIRED>
+
+<!--
+   The injection setMethod attribute gives the name of the method used to set
+   the injection value on the resource.
+-->
+<!ATTLIST injection setMethod CDATA #IMPLIED>
+
+<!--
+  provide entities for default MBean Operations
+  and the three default MBean attributes
+-->
+<!ENTITY defaultOperations '
+<operation>
+  <description>Standard MBean lifecycle method</description>
+  <name>create</name>
+</operation>
+<operation>
+  <description>The start lifecycle operation</description>
+  <name>start</name>
+</operation>
+<operation>
+  <description>The stop lifecycle operation</description>
+  <name>stop</name>
+</operation>
+<operation>
+  <description>The destroy lifecycle operation</description>
+  <name>destroy</name>
+</operation>
+<operation>
+  <description>The detyped lifecycle operation (for internal use only)</description>
+  <name>jbossInternalLifecycle</name>
+  <parameter>
+    <description>The lifecycle operation</description>
+    <name>method</name>
+    <type>java.lang.String</type>
+  </parameter>
+  <return-type>void</return-type>
+</operation>
+'>
+
+<!ENTITY defaultAttributes '
+<attribute access="read-only" getMethod="getName">
+  <description>The class name of the MBean</description>
+  <name>Name</name>
+  <type>java.lang.String</type>
+</attribute>
+<attribute access="read-only" getMethod="getState">
+  <description>The status of the MBean</description>
+  <name>State</name>
+  <type>int</type>
+</attribute>
+<attribute access="read-only" getMethod="getStateString">
+  <description>The status of the MBean in text form</description>
+  <name>StateString</name>
+  <type>java.lang.String</type>
+</attribute>
+'>
+
+<!--
+  Common SubDeployer attributes
+-->
+<!ENTITY deployerAttributes '
+<attribute access="read-only" getMethod="getServiceName">
+  <description>The JMX ObjectName of the service that provides the SubDeployer</description>
+  <name>ServiceName</name>
+  <type>javax.management.ObjectName</type>
+</attribute>
+<attribute access="read-only" getMethod="getSuffixes">
+  <description>An array of suffixes of interest to this subdeployer</description>
+  <name>Suffixes</name>
+  <type>[Ljava.lang.String;</type>
+</attribute>
+<attribute access="read-only" getMethod="getRelativeOrder">
+  <description>The relative order of the specified suffixes</description>
+  <name>RelativeOrder</name>
+  <type>int</type>
+</attribute>
+'>
+
+<!--
+  Common SubDeployer operations
+-->
+<!ENTITY deployerOperations '
+<operation>
+  <description>This method is called by MainDeployer to determine if subdeployer can handle a deployment</description>
+  <name>accepts</name>
+  <parameter>
+    <name>di</name>
+    <type>org.jboss.deployment.DeploymentInfo</type>
+  </parameter>
+  <return-type>boolean</return-type>
+</operation>
+<operation>
+  <description>The init method lets the deployer set a few properties of the DeploymentInfo, such as the watch url</description>
+  <name>init</name>
+  <parameter>
+    <name>di</name>
+    <type>org.jboss.deployment.DeploymentInfo</type>
+  </parameter>
+  <return-type>void</return-type>
+</operation>
+<operation>
+  <description>Set up the components of the deployment that do not refer to other components</description>
+  <name>create</name>
+  <parameter>
+    <name>di</name>
+    <type>org.jboss.deployment.DeploymentInfo</type>
+  </parameter>
+  <return-type>void</return-type>
+</operation>
+<operation>
+  <description>The start method starts all the mbeans in this DeploymentInfo</description>
+  <name>start</name>
+  <parameter>
+    <name>di</name>
+    <type>org.jboss.deployment.DeploymentInfo</type>
+  </parameter>
+  <return-type>void</return-type>
+</operation>
+<operation>
+  <description>The stop method invokes stop on the mbeans associated with the deployment in reverse order relative to start</description>
+  <name>stop</name>
+  <parameter>
+    <name>di</name>
+    <type>org.jboss.deployment.DeploymentInfo</type>
+  </parameter>
+  <return-type>void</return-type>
+</operation>
+<operation>
+  <description>The destroy method invokes destroy on the mbeans associated with the deployment in reverse order relative to create</description>
+  <name>destroy</name>
+  <parameter>
+    <name>di</name>
+    <type>org.jboss.deployment.DeploymentInfo</type>
+  </parameter>
+  <return-type>void</return-type>
+</operation>
+'>
+
+<!--
+  Methods to expose the Interceptable interface. Used in conjunction
+  with org.jboss.mx.interceptor.DynamicInterceptor
+-->
+<!ENTITY interceptable '
+<operation>
+  <description>Add dynamically an operation interceptor</description>
+  <name>addOperationInterceptor</name>
+  <parameter>
+    <description>The Interceptor</description>
+    <name>interceptor</name>
+    <type>org.jboss.mx.interceptor.Interceptor</type>
+  </parameter>
+</operation>
+<operation>
+  <description>Remove dynamically an operation interceptor</description>
+  <name>removeOperationInterceptor</name>
+  <parameter>
+    <description>The Interceptor</description>
+    <name>interceptor</name>
+    <type>org.jboss.mx.interceptor.Interceptor</type>
+  </parameter>
+</operation>
+'>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_3_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_3_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_3_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,608 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+This is the XML DTD for the jbosscmp-jdbc deployment descriptor.
+  <!DOCTYPE jbosscmp-jdbc PUBLIC
+      "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN"
+      "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd">
+-->
+
+<!--
+The root element of JBossCMP-JDBC configuration files.
+-->
+<!ELEMENT jbosscmp-jdbc (defaults?, enterprise-beans?, relationships?,
+         dependent-value-classes?, type-mappings?)>
+
+<!--
+The optional defaults elements contains the default values for 
+entities, and relationships.
+-->
+<!ELEMENT defaults ((datasource, datasource-mapping)?, create-table?, 
+         remove-table?, read-only?, read-time-out?, row-locking?, 
+         pk-constraint?, fk-constraint?, preferred-relation-mapping?, 
+         read-ahead?, list-cache-max?, fetch-size?)>
+
+
+<!--
+The optional datasource element contains the jndi-name used to lookup
+the datasource.  All database connections used by an entity or relation table are obtained from the datasource. 
+-->
+<!ELEMENT datasource (#PCDATA)>
+
+
+<!--
+The optional datasource-mapping element contains the name of the type mapping
+that will be used for this datasource.
+-->
+<!ELEMENT datasource-mapping (#PCDATA)>
+
+
+<!--
+Should the persistence manager attempt to create tables if they are 
+not present?
+
+The create-table element must be one of the two following:
+         <create-table>true</create-table>
+         <create-table>false</create-table>
+-->
+<!ELEMENT create-table (#PCDATA)>
+
+
+<!--
+Should the persistence manager attempt to remove tables during shutdown?
+
+The remove-table element must be one of the two following:
+         <remove-table>true</remove-table>
+         <remove-table>false</remove-table>
+-->
+<!ELEMENT remove-table (#PCDATA)>
+
+
+<!--
+Is the entity or cmp-field read-only?
+
+The read-only element must be one of the two following:
+         <read-only>true</read-only>
+         <read-only>false</read-only>
+-->
+<!ELEMENT read-only (#PCDATA)>
+
+
+<!--
+Specifies the ammount of time that a read-only field is considered
+valid (milliseconds).
+-->
+<!ELEMENT read-time-out (#PCDATA)>
+
+
+<!--
+Should select statements the SELECT ... FOR UPDATE syntax?
+
+The row-locking element must be one of the two following:
+         <row-locking>true</row-locking>
+         <row-locking>false</row-locking>
+-->
+<!ELEMENT row-locking (#PCDATA)>
+
+
+<!--
+Should a foreign key constraint be added for this relationship role?
+
+The fk-constraint element must be one of the two following:
+         <fk-constraint>true</fk-constraint>
+         <fk-constraint>false</fk-constraint>
+-->
+<!ELEMENT fk-constraint (#PCDATA)>
+
+
+<!--
+Should a primary key constraint be added when creating tables?
+
+The pk-constraint element must be one of the two following:
+         <pk-constraint>true</pk-constraint>
+         <pk-constraint>false</pk-constraint>
+-->
+<!ELEMENT pk-constraint (#PCDATA)>
+
+
+<!--
+Specifies the preferred mapping style for relationships.
+
+The preferred-relation-mapping element must be one of the two following:
+   <preferred-relation-mapping>foreign-key</preferred-relation-mapping>
+   <preferred-relation-mapping>relation-table</preferred-relation-mapping>
+-->
+<!ELEMENT preferred-relation-mapping (#PCDATA)>
+
+<!--
+Specifies the read ahead strategy.
+
+         <read-ahead>
+            <strategy>on-load</strategy>
+            <page-size>255</page-size>
+            <eager-load-group>*</eager-load-group>
+         </read-ahead>
+-->
+<!ELEMENT read-ahead (strategy, page-size?, eager-load-group?)>
+
+<!--
+Specifies the strategy used to read-ahead data in queries.
+
+The strategy element must be one of the two following:
+         <strategy>none</strategy>
+         <strategy>on-load</strategy>
+         <strategy>on-find</strategy>
+-->
+<!ELEMENT strategy (#PCDATA)>
+
+
+<!--
+Specifies the number of entities that will be read in a single 
+read-ahead load query.
+-->
+<!ELEMENT page-size (#PCDATA)>
+
+
+<!--
+Specifies the number of simultaneous queries that can be tracked by 
+the cache for an entity. 
+-->
+<!ELEMENT list-cache-max (#PCDATA)>
+
+
+<!--
+Specifies the number of entities to read in one round-trip to
+the underlying datastore.
+-->
+<!ELEMENT fetch-size (#PCDATA)>
+
+
+<!--
+The enterprise-beans element contains the entity elements that will 
+be configured.
+-->
+<!ELEMENT enterprise-beans (entity+)>
+
+
+<!--
+The entity element contains the configuration of an entity
+-->
+<!ELEMENT entity (ejb-name, (datasource, datasource-mapping)?, create-table?, 
+         remove-table?, read-only?, read-time-out?, row-locking?, 
+         pk-constraint?, read-ahead?, list-cache-max?, fetch-size?, table-name?,
+         cmp-field*, load-groups?, eager-load-group?, lazy-load-groups?, 
+         query*)>
+
+<!--
+Name of the entity being configured.  This must match an entity declared
+in the ejb-jar.xml file.
+-->
+<!ELEMENT ejb-name (#PCDATA)>
+
+
+<!--
+This is the name of the table that will hold data for this entity. 
+Each entity instance will be stored in one row of this table. 
+-->
+<!ELEMENT table-name (#PCDATA)>
+
+
+<!--
+The cmp-field element contains the configuration of a cmp-field.
+-->
+<!ELEMENT cmp-field (field-name, read-only?, read-time-out?, 
+         column-name?, not-null?, ((jdbc-type, sql-type) | (property+))? )>
+
+
+<!--
+Name of the cmp-field being configured.  This must match a cmp-field 
+declared for this entity in the ejb-jar.xml file.
+-->
+<!ELEMENT field-name (#PCDATA)>
+
+
+<!--
+The name of the column that will hold the data for this field.
+-->
+<!ELEMENT column-name (#PCDATA)>
+
+
+<!--
+If present the field will not allow a field value.
+-->
+<!ELEMENT not-null EMPTY>
+
+
+<!--
+This is the JDBC type that is used when setting parameters in a JDBC
+PreparedStatement or loading data from a JDBC ResultSet for this 
+cmp-field. The valid types are defined in java.sql.Types. 
+-->
+<!ELEMENT jdbc-type (#PCDATA)>
+ 
+
+<!--
+This is the SQL type that is used in create table statements for 
+this field. Valid sql-types are only limited by your database vendor. 
+-->
+<!ELEMENT sql-type (#PCDATA)>
+
+
+<!--
+The property element contains the configuration of a dependent
+value class property of a cmp-field that is the type of a dependent
+value class.
+-->
+<!ELEMENT property (property-name, column-name?, not-null?,
+         (jdbc-type, sql-type)?)>
+
+
+<!--
+Name of the property being configured. In a dependent-value-class
+element this must match a JavaBean property of the class. In a
+cmp-field element this must match a flattened propety of the
+dependent-value-class field type.
+-->
+<!ELEMENT property-name (#PCDATA)>
+
+<!--
+Contains the named load groups.
+-->
+<!ELEMENT load-groups (load-group+)>
+
+
+<!--
+A named group of fields that will be loaded together.
+-->
+<!ELEMENT load-group (description?, load-group-name, field-name+)>
+
+<!--
+Contains the name of a load group.
+-->
+<!ELEMENT load-group-name (#PCDATA)>
+
+
+<!--
+Contains the name of the load group that will eager loaded for this entity.
+-->
+<!ELEMENT eager-load-group (#PCDATA)>
+
+
+<!--
+Contains the names of the groups that will be lazy loaded together. 
+-->
+<!ELEMENT lazy-load-groups (load-group-name+)>
+
+
+<!--
+Descriptive text.
+-->
+<!ELEMENT description (#PCDATA)>
+
+
+<!--
+The query element contains the configuration of a query.
+-->
+<!ELEMENT query (description?, query-method, 
+      (jboss-ql | dynamic-ql | declared-sql)?, read-ahead?)>
+
+
+<!--
+The query method that being configured.  This must match a 
+query-method declared for this entity in the ejb-jar.xml file.
+-->
+<!ELEMENT query-method (method-name, method-params)>
+
+
+<!-- 
+The name of the query method that is being configured.
+-->
+<!ELEMENT method-name (#PCDATA)>
+
+
+<!--
+The method-parameters contains the parameters of the method that is
+being configured. Method parameters must be in the same order as the
+method and have the same type.
+-->
+<!ELEMENT method-params (method-param*)>
+
+
+<!--
+The java class of one parameter for a query.
+
+An example follows:
+   <method-param>java.lang.String</method-param>
+-->
+<!ELEMENT method-param (#PCDATA)>
+
+
+<!--
+JBossQL query.  JBossQL is a superset of EJB-QL.
+-->
+<!ELEMENT jboss-ql (#PCDATA)>
+
+
+<!--
+Dynamic JBossQL query.  The JBossQL is passed to the query and compiled
+on the fly.
+-->
+<!ELEMENT dynamic-ql EMPTY>
+
+
+<!--
+Explicitly declared sql fragments.
+-->
+<!ELEMENT declared-sql (select?, from?, where?, order?, other?)>
+
+
+<!--
+Delcares what is to be selected.  A finder may only have the distinct element.
+-->
+<!ELEMENT select (distinct?, (ejb-name, field-name?)?, alias?)>
+
+
+<!--
+Delared additional SQl to append to the generated from clause.
+
+Example:  <from>, FullAddressEJB as a</from>
+-->
+<!ELEMENT from (#PCDATA)>
+
+<!-- 
+If the empty distinct element is present, the SELECT DISTINCT 
+syntax will be used. This syntax is used by default for ejbSelect
+methods that return a java.util.Set.
+-->
+<!ELEMENT distinct EMPTY>
+
+
+<!--
+Declares the where clause for the query.
+
+Example: <where>TITLE={0} OR ARTIST={0} OR TYPE={0} OR NOTES={0}</where>
+-->
+<!ELEMENT where (#PCDATA)>
+
+
+<!--
+Declares the order clause for the query.
+
+Example: <order>TITLE</order>
+-->
+<!ELEMENT order (#PCDATA)>
+
+
+<!--
+Declares the other sql that is appended to the end of a query.
+
+Example: <other>LIMIT 100 OFFSET 200</other>
+-->
+<!ELEMENT other (#PCDATA)>
+
+<!--
+Declare the alias to use for the main select table.
+
+Example: <alias>my_table</alias>
+-->
+<!ELEMENT alias (#PCDATA)>
+
+
+<!--
+The relationships element contains the ejb-relation elements that will 
+be configured.
+-->
+<!ELEMENT relationships (ejb-relation+)>
+
+
+<!--
+The ejb-relation element contains the configuration of an
+ejb-relation.
+-->
+<!ELEMENT ejb-relation (ejb-relation-name, read-only?, read-time-out?,
+         (foreign-key-mapping | relation-table-mapping)?,
+         (ejb-relationship-role, ejb-relationship-role)?)>
+
+
+<!--
+Name of the ejb-relation being configured.  This must match an 
+ejb-relation declared in the ejb-jar.xml file.
+-->
+<!ELEMENT ejb-relation-name (#PCDATA)>
+
+
+<!--
+Specifies that the ejb-relation should be mapped with foreign-keys.
+This mapping is not available for many-to-many relationships.
+-->
+<!ELEMENT foreign-key-mapping EMPTY>
+
+
+<!--
+Specifies that the ejb-relation should be mapped with a relation-table.
+-->
+<!ELEMENT relation-table-mapping (table-name?, 
+         (datasource, datasource-mapping)?, create-table?, remove-table?,
+         row-locking?, pk-constraint?)>
+
+
+<!--
+The ejb-rejationship-role element contains the configuration of an
+ejb-relationship-role.
+-->
+<!ELEMENT ejb-relationship-role (ejb-relationship-role-name,
+         fk-constraint?, key-fields?, read-ahead?)>
+
+
+<!--
+Name of the ejb-relationship-role being configured.  This must match
+an ejb-relationship-role declared for this ejb-relation in the 
+ejb-jar.xml file.
+-->
+<!ELEMENT ejb-relationship-role-name (#PCDATA)>
+
+
+<!--
+Contains the key fields. The interperation of the key fields depends
+on the mapping style of the relationship.
+-->
+<!ELEMENT key-fields (key-field*)>
+
+<!--
+The key-field element declared the configuration of a key field.
+The field-name element must match the field-name of one of the 
+primary key fields of the this entity.
+-->
+<!ELEMENT key-field (field-name, 
+         ((column-name, (jdbc-type, sql-type)?) | (property*))
+         )>
+
+
+<!--
+Contains the known dependent value classes.
+-->
+<!ELEMENT dependent-value-classes (dependent-value-class*)>
+
+
+<!--
+The dependent-value-class element contains the configuration of a
+dependent value class.
+-->
+<!ELEMENT dependent-value-class (description?, class, property+)>
+
+
+<!--
+Name of the java class to which the dependent value class configuration 
+applies.
+-->
+<!ELEMENT class (#PCDATA)>
+
+
+<!--
+The type-mappings element contains the java to sql mappings.
+-->
+<!ELEMENT type-mappings (type-mapping+)>
+
+<!--
+The type-mapping element contains a named java to sql mapping.
+This includes both type mapping and function mapping.
+-->
+<!ELEMENT type-mapping (name, row-locking-template, pk-constraint-template, 
+      fk-constraint-template, alias-header-prefix, alias-header-suffix,
+      alias-max-length, subquery-supported, true-mapping, false-mapping,
+      function-mapping*, mapping+)>
+
+<!--
+Name of the type-mapping.
+-->
+<!ELEMENT name (#PCDATA)>
+
+<!-- 
+This is the template used to create a row lock on the selected rows. The 
+arguments supplied are as follows:
+
+1. Select clause
+2. From clasue; the order of the tables is currently not guarenteed
+3. Where clause
+
+If row locking is not supported in select statement this element should be 
+empty. The most common form of row locking is select for update as in the 
+example that follows:
+
+SELECT ?1 FROM ?2 WHERE ?3 FOR UPDATE
+-->
+<!ELEMENT row-locking-template (#PCDATA)>
+
+<!-- 
+This is the template used to create a primary key constraint in the create 
+table statement. The arguments supplied are as follows:
+
+1. Primary key constraint name; which is always pk_{table-name}
+2. Comma sepperated list of primary key column names
+
+If a primary key constraint clause is not supported in a create table statement
+this element should be empty. The most common form of a primary key constraint 
+follows:
+
+CONSTRAINT ?1 PRIMARY KEY (?2)
+-->
+<!ELEMENT pk-constraint-template (#PCDATA)>
+
+<!-- 
+This is the template used to create a foreign key constraint in sepperate 
+statement. The arguments supplied are as follows:
+
+1. Table name
+2. Foreign key constraint name; which is always fk_{table-name}_{cmr-field-name}
+3. Comma sepperated list of foreign key column names
+4. References table name
+5. Comma sepperated list of the referenced primary key column names
+
+If the datasource does not support foreign key constraints this element should
+be empty. The most common form of a foreign key constraint follows:
+
+ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)
+-->
+<!ELEMENT fk-constraint-template (#PCDATA)>
+
+<!--
+An alias header is prepended to a generated table alias by the EJB-QL compiler
+to prevent name collisions. An alias header is constructed as folows:
+
+alias-header-prefix + int_counter + alias-header-suffix
+-->
+<!ELEMENT alias-header-prefix (#PCDATA)>
+<!ELEMENT alias-header-suffix (#PCDATA)>
+<!ELEMENT alias-max-length (#PCDATA)>
+
+<!--
+Does this type-mapping support subqueries. Some EJB-QL opperators are mapped 
+to exists subqueries.  If subquery is false the EJB-QL compiler will use a
+left join and is null.
+
+The subquery-supported element must be one of the two following:
+         <create-table>true</create-table>
+         <create-table>false</create-table>
+-->
+<!ELEMENT subquery-supported (#PCDATA)>
+
+<!--
+The true and false mappings are the mappings for true and false in EJB-QL
+queries.
+-->
+<!ELEMENT true-mapping (#PCDATA)>
+<!ELEMENT false-mapping (#PCDATA)>
+
+<!--
+Specifies the mapping from a java type to a jdbc and a sql type.
+-->
+<!ELEMENT mapping (java-type, jdbc-type, sql-type)>
+
+<!-- 
+Specifies the java class type to be mapped.
+-->
+<!ELEMENT java-type (#PCDATA)>
+
+<!--
+Specifies the mapping from an EJB-QL function to a sql function.
+-->
+<!ELEMENT function-mapping (function-name, function-sql)>
+
+<!--
+The name of the function to be mapped.
+-->
+<!ELEMENT function-name (#PCDATA)>
+
+<!--
+The sql to which the function is mapped.  The sql can contain
+parameters specified with a question mark followed by the base one
+parameter number.  For example, function mapping for concat in Oracle
+follows:
+
+<function-mapping>
+   <function-name>concat</function-name>
+   <function-sql>(?1 || ?2)</function-sql>
+</function-mapping>
+-->
+<!ELEMENT function-sql (#PCDATA)>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_3_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_3_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_3_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,960 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+This is the XML DTD for the jbosscmp-jdbc deployment descriptor.
+  <!DOCTYPE jbosscmp-jdbc PUBLIC
+      "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN"
+      "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd">
+-->
+
+<!--
+The root element of JBossCMP-JDBC configuration files.
+-->
+<!ELEMENT jbosscmp-jdbc (defaults?, enterprise-beans?, relationships?,
+          dependent-value-classes?, type-mappings?, entity-commands?,
+          user-type-mappings? , reserved-words?)>
+
+<!--
+The optional defaults elements contains the default values for
+entities, and relationships.
+-->
+<!ELEMENT defaults ((datasource, datasource-mapping)?, create-table?,
+         alter-table?, remove-table?, post-table-create?, read-only?, read-time-out?,
+         row-locking?, pk-constraint?, fk-constraint?,
+         preferred-relation-mapping?, read-ahead?, list-cache-max?, clean-read-ahead-on-load?,
+         fetch-size?, unknown-pk?, entity-command?, ql-compiler?, throw-runtime-exceptions?)>
+
+<!--
+The optional datasource element contains the jndi-name used to lookup
+the datasource.  All database connections used by an entity or relation table are obtained from the datasource.
+-->
+<!ELEMENT datasource (#PCDATA)>
+
+
+<!--
+The optional datasource-mapping element contains the name of the type mapping
+that will be used for this datasource.
+-->
+<!ELEMENT datasource-mapping (#PCDATA)>
+
+
+<!--
+Should the persistence manager attempt to create tables if they are
+not present?
+
+The create-table element must be one of the two following:
+         <create-table>true</create-table>
+         <create-table>false</create-table>
+-->
+<!ELEMENT create-table (#PCDATA)>
+
+
+<!--
+Should the persistence manager attempt to remove tables during shutdown?
+
+The remove-table element must be one of the two following:
+         <remove-table>true</remove-table>
+         <remove-table>false</remove-table>
+-->
+<!ELEMENT remove-table (#PCDATA)>
+
+<!--
+Should the persistence manager attempt to update the table structure at deployment
+
+The remove-table element must be one of the two following:
+         <alter-table>true</alter-table>
+         <alter-table>false</alter-table>
+-->
+<!ELEMENT alter-table (#PCDATA)>
+
+
+<!--
+Execute arbitrary SQL code directly after the database table is created.
+This command is only executed if create-table is true and the table
+did not previously exist.
+-->
+<!ELEMENT post-table-create (sql-statement+)>
+
+<!--
+The SQL Statement to be executed. Note that this is not translated
+into database specific SQL, but passed literally to the database.
+-->
+<!ELEMENT sql-statement (#PCDATA)>
+
+<!--
+Is the entity or cmp-field read-only?
+
+The read-only element must be one of the two following:
+         <read-only>true</read-only>
+         <read-only>false</read-only>
+-->
+<!ELEMENT read-only (#PCDATA)>
+
+
+<!--
+Specifies the ammount of time that a read-only field is considered
+valid (milliseconds).
+-->
+<!ELEMENT read-time-out (#PCDATA)>
+
+
+<!--
+Should select statements the SELECT ... FOR UPDATE syntax?
+
+The row-locking element must be one of the two following:
+         <row-locking>true</row-locking>
+         <row-locking>false</row-locking>
+-->
+<!ELEMENT row-locking (#PCDATA)>
+
+
+<!--
+Should a foreign key constraint be added for this relationship role?
+
+The fk-constraint element must be one of the two following:
+         <fk-constraint>true</fk-constraint>
+         <fk-constraint>false</fk-constraint>
+-->
+<!ELEMENT fk-constraint (#PCDATA)>
+
+
+<!--
+Should a primary key constraint be added when creating tables?
+
+The pk-constraint element must be one of the two following:
+         <pk-constraint>true</pk-constraint>
+         <pk-constraint>false</pk-constraint>
+-->
+<!ELEMENT pk-constraint (#PCDATA)>
+
+
+<!--
+Specifies the preferred mapping style for relationships.
+
+The preferred-relation-mapping element must be one of the two following:
+   <preferred-relation-mapping>foreign-key</preferred-relation-mapping>
+   <preferred-relation-mapping>relation-table</preferred-relation-mapping>
+-->
+<!ELEMENT preferred-relation-mapping (#PCDATA)>
+
+<!--
+Specifies the read ahead strategy.
+
+         <read-ahead>
+            <strategy>on-load</strategy>
+            <page-size>255</page-size>
+            <eager-load-group>*</eager-load-group>
+         </read-ahead>
+-->
+<!ELEMENT read-ahead (strategy, page-size?, eager-load-group?, left-join*)>
+
+<!--
+Specifies the strategy used to read-ahead data in queries.
+
+The strategy element must be one of the two following:
+         <strategy>none</strategy>
+         <strategy>on-load</strategy>
+         <strategy>on-find</strategy>
+-->
+<!ELEMENT strategy (#PCDATA)>
+
+
+<!--
+Specifies the number of entities that will be read in a single
+read-ahead load query.
+-->
+<!ELEMENT page-size (#PCDATA)>
+
+
+<!--
+Specifies a related entity that will be fetched on-find with LEFT JOIN.
+
+   <read-ahead>
+      <strategy>on-find</strategy>
+      <eager-load-group>report</eager-load-group>
+      <left-join cmr-field="lineItems"/>
+         <left-join cmr-field="product" eager-load-group="short"/>
+      </left-join>
+      <left-join cmr-field="customer" eager-load-group="basic"/>
+   </read-ahead>
+-->
+<!ELEMENT left-join (left-join*)>
+
+<!--
+The CMR field name to LEFT JOIN.
+-->
+<!ATTLIST left-join cmr-field CDATA  #REQUIRED>
+
+<!--
+The eager load group of the related entity.
+-->
+<!ATTLIST left-join eager-load-group CDATA  #IMPLIED>
+
+
+<!--
+Specifies whether the read-ahead cache should be cleaned after the instance was loaded.
+Allowed values are true and false.
+Since 3.2.5RC1. Previously, read-ahead cache was cleaned after loading.
+-->
+<!ELEMENT clean-read-ahead-on-load (#PCDATA)>
+
+
+<!--
+Specifies the number of simultaneous queries that can be tracked by
+the cache for an entity.
+-->
+<!ELEMENT list-cache-max (#PCDATA)>
+
+
+<!--
+Specifies the number of entities to read in one round-trip to
+the underlying datastore.
+-->
+<!ELEMENT fetch-size (#PCDATA)>
+
+
+<!--
+Should runtime exceptions be thrown when unexpected exception occurs ?
+
+The throw-runtime-exceptions element must be one of the two following:
+         <throw-runtime-exceptions>true</throw-runtime-exceptions>
+         <throw-runtime-exceptions>false</throw-runtime-exceptions>
+-->
+<!ELEMENT throw-runtime-exceptions (#PCDATA)>
+
+
+<!--
+The enterprise-beans element contains the entity elements that will
+be configured.
+-->
+<!ELEMENT enterprise-beans (entity+)>
+
+
+<!--
+The entity element contains the configuration of an entity
+-->
+<!ELEMENT entity (ejb-name, (datasource, datasource-mapping)?, create-table?,
+         remove-table?, post-table-create?, read-only?, read-time-out?,
+         row-locking?, pk-constraint?, read-ahead?, list-cache-max?, clean-read-ahead-on-load?,
+         fetch-size?, table-name?, cmp-field*, load-groups?, eager-load-group?,
+         lazy-load-groups?, query*, unknown-pk?, entity-command?,
+         optimistic-locking?, audit?)>
+
+<!--
+Name of the entity being configured.  This must match an entity declared
+in the ejb-jar.xml file.
+-->
+<!ELEMENT ejb-name (#PCDATA)>
+
+
+<!--
+This is the name of the table that will hold data for this entity.
+Each entity instance will be stored in one row of this table.
+-->
+<!ELEMENT table-name (#PCDATA)>
+
+
+<!--
+The cmp-field element contains the configuration of a cmp-field.
+-->
+<!ELEMENT cmp-field (field-name, read-only?, read-time-out?,
+         column-name?, not-null?, ((jdbc-type, sql-type) | (property+))?,
+         auto-increment?, dbindex?, check-dirty-after-get?, state-factory? )>
+
+
+<!--
+Name of the cmp-field being configured.  This must match a cmp-field
+declared for this entity in the ejb-jar.xml file.
+-->
+<!ELEMENT field-name (#PCDATA)>
+
+
+<!--
+The name of the column that will hold the data for this field.
+-->
+<!ELEMENT column-name (#PCDATA)>
+
+
+<!--
+If present the field will not allow a field value.
+-->
+<!ELEMENT not-null EMPTY>
+
+<!--
+If present, the server will try to create an index on the column
+in the database called <fieldname>_index
+-->
+<!ELEMENT dbindex EMPTY>
+
+
+<!--
+This is the JDBC type that is used when setting parameters in a JDBC
+PreparedStatement or loading data from a JDBC ResultSet for this
+cmp-field. The valid types are defined in java.sql.Types.
+-->
+<!ELEMENT jdbc-type (#PCDATA)>
+
+
+<!--
+This is the SQL type that is used in create table statements for
+this field. Valid sql-types are only limited by your database vendor.
+-->
+<!ELEMENT sql-type (#PCDATA)>
+
+
+<!--
+The property element contains the configuration of a dependent
+value class property of a cmp-field that is the type of a dependent
+value class.
+-->
+<!ELEMENT property (property-name, column-name?, not-null?,
+         (jdbc-type, sql-type)?)>
+
+
+<!--
+Name of the property being configured. In a dependent-value-class
+element this must match a JavaBean property of the class. In a
+cmp-field element this must match a flattened propety of the
+dependent-value-class field type.
+-->
+<!ELEMENT property-name (#PCDATA)>
+
+
+<!--
+Can be true or false.
+If true, the field will be checked for dirty state at synchronization time.
+By default, all fields except for the fields of primitive and their wrapper types
+are checked for dirty state after get.
+-->
+<!ELEMENT check-dirty-after-get (#PCDATA)>
+
+<!--
+Fully qualified class name of the implementation of
+ org.jboss.ejb.plugins.cmp.jdbc.CMPFieldStateFactory.
+-->
+<!ELEMENT state-factory (#PCDATA)>
+
+<!--
+Contains the named load groups.
+-->
+<!ELEMENT load-groups (load-group+)>
+
+
+<!--
+A named group of fields that will be loaded together.
+-->
+<!ELEMENT load-group (description?, load-group-name, field-name+)>
+
+<!--
+Contains the name of a load group.
+-->
+<!ELEMENT load-group-name (#PCDATA)>
+
+
+<!--
+Contains the name of the load group that will eager loaded for this entity.
+-->
+<!ELEMENT eager-load-group (#PCDATA)>
+
+
+<!--
+Contains the names of the groups that will be lazy loaded together.
+-->
+<!ELEMENT lazy-load-groups (load-group-name+)>
+
+
+<!--
+Descriptive text.
+-->
+<!ELEMENT description (#PCDATA)>
+
+
+<!--
+The query element contains the configuration of a query.
+-->
+<!ELEMENT query (description?, query-method,
+      (jboss-ql | dynamic-ql | declared-sql)?, read-ahead?, ql-compiler?, lazy-resultset-loading?)>
+
+
+<!--
+The query method that being configured.  This must match a
+query-method declared for this entity in the ejb-jar.xml file.
+-->
+<!ELEMENT query-method (method-name, method-params)>
+
+
+<!--
+The name of the query method that is being configured.
+-->
+<!ELEMENT method-name (#PCDATA)>
+
+
+<!--
+The method-parameters contains the parameters of the method that is
+being configured. Method parameters must be in the same order as the
+method and have the same type.
+-->
+<!ELEMENT method-params (method-param*)>
+
+
+<!--
+The java class of one parameter for a query.
+
+An example follows:
+   <method-param>java.lang.String</method-param>
+-->
+<!ELEMENT method-param (#PCDATA)>
+
+
+<!--
+JBossQL query.  JBossQL is a superset of EJB-QL.
+-->
+<!ELEMENT jboss-ql (#PCDATA)>
+
+
+<!--
+Dynamic JBossQL query.  The JBossQL is passed to the query and compiled
+on the fly.
+-->
+<!ELEMENT dynamic-ql EMPTY>
+
+
+<!--
+Explicitly declared sql fragments.
+-->
+<!ELEMENT declared-sql (select?, from?, where?, order?, other?)>
+
+
+<!--
+Delcares what is to be selected.  A finder may only have the distinct element.
+-->
+<!ELEMENT select (distinct?, (ejb-name, field-name?)?, alias?, additional-columns?)>
+
+
+<!--
+Delared additional SQl to append to the generated from clause.
+
+Example:  <from>, FullAddressEJB as a</from>
+-->
+<!ELEMENT from (#PCDATA)>
+
+<!--
+If the empty distinct element is present, the SELECT DISTINCT
+syntax will be used. This syntax is used by default for ejbSelect
+methods that return a java.util.Set.
+-->
+<!ELEMENT distinct EMPTY>
+
+
+<!--
+Declares the where clause for the query.
+
+Example: <where>TITLE={0} OR ARTIST={0} OR TYPE={0} OR NOTES={0}</where>
+-->
+<!ELEMENT where (#PCDATA)>
+
+
+<!--
+Declares the order clause for the query.
+
+Example: <order>TITLE</order>
+-->
+<!ELEMENT order (#PCDATA)>
+
+
+<!--
+Declares the other sql that is appended to the end of a query.
+
+Example: <other>LIMIT 100 OFFSET 200</other>
+-->
+<!ELEMENT other (#PCDATA)>
+
+<!--
+Declare the alias to use for the main select table.
+
+Example: <alias>my_table</alias>
+-->
+<!ELEMENT alias (#PCDATA)>
+
+
+<!--
+Declares other columns to be selected to satisfy ordering
+by arbitrary columns with ejbFinders or to facilitate aggregate
+functions in ejbSelects.
+
+Example: <additional-columns>, join-table1.column1,
+            join-table2.column2</additional-columns>
+-->
+<!ELEMENT additional-columns (#PCDATA)>
+
+
+<!--
+Fully qualified name of QL compiler implementation class.
+-->
+<!ELEMENT ql-compiler (#PCDATA)>
+
+
+<!--
+The relationships element contains the ejb-relation elements that will
+be configured.
+-->
+<!ELEMENT relationships (ejb-relation+)>
+
+
+<!--
+The ejb-relation element contains the configuration of an
+ejb-relation.
+-->
+<!ELEMENT ejb-relation (ejb-relation-name, read-only?, read-time-out?,
+         (foreign-key-mapping | relation-table-mapping)?,
+         (ejb-relationship-role, ejb-relationship-role)?)>
+
+
+<!--
+Name of the ejb-relation being configured.  This must match an
+ejb-relation declared in the ejb-jar.xml file.
+-->
+<!ELEMENT ejb-relation-name (#PCDATA)>
+
+
+<!--
+Specifies that the ejb-relation should be mapped with foreign-keys.
+This mapping is not available for many-to-many relationships.
+-->
+<!ELEMENT foreign-key-mapping EMPTY>
+
+
+<!--
+Specifies that the ejb-relation should be mapped with a relation-table.
+-->
+<!ELEMENT relation-table-mapping (table-name?,
+         (datasource, datasource-mapping)?, create-table?, remove-table?,
+         post-table-create?,
+         row-locking?, pk-constraint?)>
+
+
+<!--
+The ejb-rejationship-role element contains the configuration of an
+ejb-relationship-role.
+-->
+<!ELEMENT ejb-relationship-role (ejb-relationship-role-name,
+         fk-constraint?, key-fields?, read-ahead?, batch-cascade-delete?)>
+
+<!--
+The batch-cascade-delete element specifies that, this side of the relationship
+should be batch deleted with one SQL statement of the form
+DELETE FROM <related-table> WHERE <foreign-key> = ?
+The presense of cascade-delete element in ejb-jar.xml for the matching
+ejb-relationship-role is mandatory.
+-->
+<!ELEMENT batch-cascade-delete EMPTY>
+
+
+<!--
+Name of the ejb-relationship-role being configured.  This must match
+an ejb-relationship-role declared for this ejb-relation in the
+ejb-jar.xml file.
+-->
+<!ELEMENT ejb-relationship-role-name (#PCDATA)>
+
+
+<!--
+Contains the key fields. The interperation of the key fields depends
+on the mapping style of the relationship.
+-->
+<!ELEMENT key-fields (key-field*)>
+
+<!--
+The key-field element declared the configuration of a key field.
+The field-name element must match the field-name of one of the
+primary key fields of the this entity.
+-->
+<!ELEMENT key-field (field-name,
+         ((column-name, (jdbc-type, sql-type)?) | (property*)),
+         dbindex?)>
+
+
+<!--
+Contains the known dependent value classes.
+-->
+<!ELEMENT dependent-value-classes (dependent-value-class*)>
+
+
+<!--
+The dependent-value-class element contains the configuration of a
+dependent value class.
+-->
+<!ELEMENT dependent-value-class (description?, class, property+)>
+
+
+<!--
+Name of the java class to which the dependent value class configuration
+applies.
+-->
+<!ELEMENT class (#PCDATA)>
+
+
+<!--
+The type-mappings element contains the java to sql mappings.
+-->
+<!ELEMENT type-mappings (type-mapping+)>
+
+<!--
+The type-mapping element contains a named java to sql mapping.
+This includes both type mapping and function mapping.
+-->
+<!ELEMENT type-mapping (name, row-locking-template, pk-constraint-template,
+      fk-constraint-template, auto-increment-template?,
+      add-column-template?, alter-column-template?, drop-column-template?,
+      alias-header-prefix,
+      alias-header-suffix, alias-max-length, subquery-supported,
+      true-mapping, false-mapping, max-keys-in-delete?,
+      function-mapping*, mapping+)>
+
+<!--
+Name of the type-mapping.
+-->
+<!ELEMENT name (#PCDATA)>
+
+<!--
+This is the template used to create a row lock on the selected rows. The
+arguments supplied are as follows:
+
+1. Select clause
+2. From clasue; the order of the tables is currently not guarenteed
+3. Where clause
+
+If row locking is not supported in select statement this element should be
+empty. The most common form of row locking is select for update as in the
+example that follows:
+
+SELECT ?1 FROM ?2 WHERE ?3 FOR UPDATE
+-->
+<!ELEMENT row-locking-template (#PCDATA)>
+
+<!--
+This is the template used to create a primary key constraint in the create
+table statement. The arguments supplied are as follows:
+
+1. Primary key constraint name; which is always pk_{table-name}
+2. Comma sepperated list of primary key column names
+
+If a primary key constraint clause is not supported in a create table statement
+this element should be empty. The most common form of a primary key constraint
+follows:
+
+CONSTRAINT ?1 PRIMARY KEY (?2)
+-->
+<!ELEMENT pk-constraint-template (#PCDATA)>
+
+<!--
+This is the template used to create a foreign key constraint in sepperate
+statement. The arguments supplied are as follows:
+
+1. Table name
+2. Foreign key constraint name; which is always fk_{table-name}_{cmr-field-name}
+3. Comma sepperated list of foreign key column names
+4. References table name
+5. Comma sepperated list of the referenced primary key column names
+
+If the datasource does not support foreign key constraints this element should
+be empty. The most common form of a foreign key constraint follows:
+
+ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)
+-->
+<!ELEMENT fk-constraint-template (#PCDATA)>
+
+<!--
+This element is used to define auto-increment template for a column
+-->
+<!ELEMENT auto-increment-template (#PCDATA)>
+
+<!--
+Template to add a column to the database.
+Arguments are as follows :
+
+1. Table name
+2. Column new
+3. Column type
+
+Default value is
+
+ALTER TABLE ?1 ADD ?2 ?3
+-->
+<!ELEMENT add-column-template (#PCDATA)>
+
+<!--
+Template to alter a column to the database.
+Arguments are as follows :
+
+1. Table name
+2. Column new
+3. Column type
+
+Default value is
+
+ALTER TABLE ?1 ALTER ?2 TYPE ?3
+-->
+<!ELEMENT alter-column-template (#PCDATA)>
+
+<!--
+Template to drop a column to the database.
+Arguments are as follows :
+
+1. Table name
+2. Column new
+
+Default value is
+
+ALTER TABLE ?1 DROP ?2
+-->
+<!ELEMENT drop-column-template (#PCDATA)>
+
+<!--
+An alias header is prepended to a generated table alias by the EJB-QL compiler
+to prevent name collisions. An alias header is constructed as folows:
+
+alias-header-prefix + int_counter + alias-header-suffix
+-->
+<!ELEMENT alias-header-prefix (#PCDATA)>
+<!ELEMENT alias-header-suffix (#PCDATA)>
+<!ELEMENT alias-max-length (#PCDATA)>
+
+<!--
+Does this type-mapping support subqueries. Some EJB-QL opperators are mapped
+to exists subqueries.  If subquery is false the EJB-QL compiler will use a
+left join and is null.
+
+The subquery-supported element must be one of the two following:
+         <create-table>true</create-table>
+         <create-table>false</create-table>
+-->
+<!ELEMENT subquery-supported (#PCDATA)>
+
+<!--
+The true and false mappings are the mappings for true and false in EJB-QL
+queries.
+-->
+<!ELEMENT true-mapping (#PCDATA)>
+<!ELEMENT false-mapping (#PCDATA)>
+
+<!--
+The maximum number of key pairs that can appear in a single DELETE statement for relation table
+-->
+<!ELEMENT max-keys-in-delete (#PCDATA)>
+
+<!--
+Specifies the mapping from a java type to a jdbc and a sql type.
+-->
+<!ELEMENT mapping (java-type, jdbc-type, sql-type, param-setter?, result-reader?)>
+
+<!--
+Specifies the java class type to be mapped.
+-->
+<!ELEMENT java-type (#PCDATA)>
+
+<!--
+Fully qualified name of the JDBCParameterSetter implementation.
+-->
+<!ELEMENT param-setter (#PCDATA)>
+
+<!--
+Fully qualified name of the JDBCResultSetReader implementation.
+-->
+<!ELEMENT result-reader (#PCDATA)>
+
+<!--
+Specifies the mapping from an EJB-QL function to a sql function.
+-->
+<!ELEMENT function-mapping (function-name, function-sql)>
+
+<!--
+The name of the function to be mapped.
+-->
+<!ELEMENT function-name (#PCDATA)>
+
+<!--
+The sql to which the function is mapped.  The sql can contain
+parameters specified with a question mark followed by the base one
+parameter number.  For example, function mapping for concat in Oracle
+follows:
+
+<function-mapping>
+   <function-name>concat</function-name>
+   <function-sql>(?1 || ?2)</function-sql>
+</function-mapping>
+-->
+<!ELEMENT function-sql (#PCDATA)>
+
+<!--
+Unknown primary key configuration
+-->
+<!ELEMENT unknown-pk (key-generator-factory?, unknown-pk-class, field-name?,
+   read-only?, read-time-out?,
+   column-name?, (jdbc-type, sql-type)?, auto-increment? )>
+
+<!--
+The unknown primary key class.
+-->
+<!ELEMENT unknown-pk-class (#PCDATA)>
+
+<!--
+If present the field will auto-incremented by the database
+-->
+<!ELEMENT auto-increment EMPTY>
+
+<!--
+This element declares available for entity commands
+-->
+<!ELEMENT entity-commands (entity-command*)>
+
+<!--
+This element represents an entity command
+-->
+<!ELEMENT entity-command (attribute*)>
+
+<!--
+This attribute specifies the command name
+-->
+<!ATTLIST entity-command name CDATA  #REQUIRED>
+
+<!--
+This attribute specifies the command class
+-->
+<!ATTLIST entity-command class CDATA  #IMPLIED>
+
+<!--
+The attribute for create-method.
+-->
+<!ELEMENT attribute (#PCDATA)>
+
+<!--
+The name of the attribute
+-->
+<!ATTLIST attribute name CDATA #REQUIRED>
+
+<!--
+Optimistic locking configuration
+-->
+<!ELEMENT optimistic-locking (
+   group-name |
+   modified-strategy |
+   read-strategy |
+   ((version-column | timestamp-column | (key-generator-factory, field-type)),
+     field-name?, column-name?, (jdbc-type, sql-type)?)
+)>
+
+<!--
+Optimistic locking field group name.
+This name must match one of the entity's load-group-name.
+The fields in this group will be used for optimistic locking.
+-->
+<!ELEMENT group-name (#PCDATA)>
+
+<!--
+Optimistic locking modified strategy.
+This means the fields that were modified during transaction
+will be used for optimistic locking
+-->
+<!ELEMENT modified-strategy EMPTY>
+
+<!--
+Optimistic locking read strategy.
+This strategy implies that the fields that were read/changed
+in the transaction will be used for optimistic locking
+-->
+<!ELEMENT read-strategy EMPTY>
+
+<!--
+Optimistic locking version column strategy.
+Setting this element will add to entity bean additional version field
+of type java.lang.Long that will be used for optimistic locking.
+Each update of the entity will increase the value of this field.
+-->
+<!ELEMENT version-column EMPTY>
+
+<!--
+Optimistic locking timestamp column strategy.
+Setting this element will add to entity bean additional field of type
+java.util.Date that will be used for optimistic locking.
+Each update of the entity will set the value of this field to the current
+time.
+-->
+<!ELEMENT timestamp-column EMPTY>
+
+<!--
+Optimistic locking field type.
+The type for locking field in optimistic locking.
+-->
+<!ELEMENT field-type (#PCDATA)>
+
+<!--
+Key generator factory JNDI name.
+This element specifies the JNDI name of key generator factory that is
+used to obtain key generator for locking column used in optimistic locking.
+-->
+<!ELEMENT key-generator-factory (#PCDATA)>
+
+<!--
+Audit fields, choose the audit fields
+The created by and updated by require a caller principal
+The fields can also be cmp fields, use the same field-name
+-->
+<!ELEMENT audit (created-by?, created-time?, updated-by?, updated-time?)>
+
+<!--
+Created by principal, default is audit_created_by
+-->
+<!ELEMENT created-by (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+Created time, default is audit_created_time
+-->
+<!ELEMENT created-time (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+Updated by principal, default is audit_updated_by
+-->
+<!ELEMENT updated-by (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+Updated time, default is audit_updated_time
+-->
+<!ELEMENT updated-time (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+  Container for user-type-mapping elements
+-->
+<!ELEMENT user-type-mappings (user-type-mapping+)>
+
+<!--
+  Defines a mapping of a user type to a column providing a mapper class.
+  Mapper is like a mediator: when storing, it takes an instance of the user
+  type and translates it to a column value; when loading, it takes a column
+  value and translates it to an instance of the user type.
+-->
+<!ELEMENT user-type-mapping (java-type, mapped-type, mapper, check-dirty-after-get?, state-factory?)>
+
+<!--
+  The type a java-type in user-type-mapping is mapped to.
+-->
+<!ELEMENT mapped-type (#PCDATA)>
+
+<!--
+  Mapper class for user-type-mapping.
+-->
+<!ELEMENT mapper (#PCDATA)>
+
+<!--
+  Provide reserved words that should be escaped when generating tables
+-->
+<!ELEMENT reserved-words (word+)>
+<!ELEMENT word (#PCDATA)>
+
+<!--
+Is relevant only for multi-object queries. Allowed values are true and false.
+If true, ResultSet will be read on demand, i.e. when user iterates through the collection.
+If false, user is given completely initialized result, i.e. when user got the result
+ResultSet is read till the end and closed.
+-->
+<!ELEMENT lazy-resultset-loading (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_4_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_4_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_4_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,960 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+This is the XML DTD for the jbosscmp-jdbc deployment descriptor.
+  <!DOCTYPE jbosscmp-jdbc PUBLIC
+      "-//JBoss//DTD JBOSSCMP-JDBC 4.0//EN"
+      "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd">
+-->
+
+<!--
+The root element of JBossCMP-JDBC configuration files.
+-->
+<!ELEMENT jbosscmp-jdbc (defaults?, enterprise-beans?, relationships?,
+          dependent-value-classes?, type-mappings?, entity-commands?,
+          user-type-mappings? , reserved-words?)>
+
+<!--
+The optional defaults elements contains the default values for
+entities, and relationships.
+-->
+<!ELEMENT defaults (datasource?, datasource-mapping?, create-table?,
+         alter-table?, remove-table?, post-table-create?, read-only?, read-time-out?,
+         row-locking?, pk-constraint?, fk-constraint?,
+         preferred-relation-mapping?, read-ahead?, list-cache-max?, clean-read-ahead-on-load?,
+         fetch-size?, unknown-pk?, entity-command?, ql-compiler?, throw-runtime-exceptions?)>
+
+<!--
+The optional datasource element contains the jndi-name used to lookup
+the datasource.  All database connections used by an entity or relation table are obtained from the datasource.
+-->
+<!ELEMENT datasource (#PCDATA)>
+
+
+<!--
+The optional datasource-mapping element contains the name of the type mapping
+that will be used for this datasource.
+-->
+<!ELEMENT datasource-mapping (#PCDATA)>
+
+
+<!--
+Should the persistence manager attempt to create tables if they are
+not present?
+
+The create-table element must be one of the two following:
+         <create-table>true</create-table>
+         <create-table>false</create-table>
+-->
+<!ELEMENT create-table (#PCDATA)>
+
+
+<!--
+Should the persistence manager attempt to remove tables during shutdown?
+
+The remove-table element must be one of the two following:
+         <remove-table>true</remove-table>
+         <remove-table>false</remove-table>
+-->
+<!ELEMENT remove-table (#PCDATA)>
+
+<!--
+Should the persistence manager attempt to update the table structure at deployment
+
+The remove-table element must be one of the two following:
+         <alter-table>true</alter-table>
+         <alter-table>false</alter-table>
+-->
+<!ELEMENT alter-table (#PCDATA)>
+
+
+<!--
+Execute arbitrary SQL code directly after the database table is created.
+This command is only executed if create-table is true and the table
+did not previously exist.
+-->
+<!ELEMENT post-table-create (sql-statement+)>
+
+<!--
+The SQL Statement to be executed. Note that this is not translated
+into database specific SQL, but passed literally to the database.
+-->
+<!ELEMENT sql-statement (#PCDATA)>
+
+<!--
+Is the entity or cmp-field read-only?
+
+The read-only element must be one of the two following:
+         <read-only>true</read-only>
+         <read-only>false</read-only>
+-->
+<!ELEMENT read-only (#PCDATA)>
+
+
+<!--
+Specifies the ammount of time that a read-only field is considered
+valid (milliseconds).
+-->
+<!ELEMENT read-time-out (#PCDATA)>
+
+
+<!--
+Should select statements the SELECT ... FOR UPDATE syntax?
+
+The row-locking element must be one of the two following:
+         <row-locking>true</row-locking>
+         <row-locking>false</row-locking>
+-->
+<!ELEMENT row-locking (#PCDATA)>
+
+
+<!--
+Should a foreign key constraint be added for this relationship role?
+
+The fk-constraint element must be one of the two following:
+         <fk-constraint>true</fk-constraint>
+         <fk-constraint>false</fk-constraint>
+-->
+<!ELEMENT fk-constraint (#PCDATA)>
+
+
+<!--
+Should a primary key constraint be added when creating tables?
+
+The pk-constraint element must be one of the two following:
+         <pk-constraint>true</pk-constraint>
+         <pk-constraint>false</pk-constraint>
+-->
+<!ELEMENT pk-constraint (#PCDATA)>
+
+
+<!--
+Specifies the preferred mapping style for relationships.
+
+The preferred-relation-mapping element must be one of the two following:
+   <preferred-relation-mapping>foreign-key</preferred-relation-mapping>
+   <preferred-relation-mapping>relation-table</preferred-relation-mapping>
+-->
+<!ELEMENT preferred-relation-mapping (#PCDATA)>
+
+<!--
+Specifies the read ahead strategy.
+
+         <read-ahead>
+            <strategy>on-load</strategy>
+            <page-size>255</page-size>
+            <eager-load-group>*</eager-load-group>
+         </read-ahead>
+-->
+<!ELEMENT read-ahead (strategy, page-size?, eager-load-group?, left-join*)>
+
+<!--
+Specifies the strategy used to read-ahead data in queries.
+
+The strategy element must be one of the two following:
+         <strategy>none</strategy>
+         <strategy>on-load</strategy>
+         <strategy>on-find</strategy>
+-->
+<!ELEMENT strategy (#PCDATA)>
+
+
+<!--
+Specifies the number of entities that will be read in a single
+read-ahead load query.
+-->
+<!ELEMENT page-size (#PCDATA)>
+
+
+<!--
+Specifies a related entity that will be fetched on-find with LEFT JOIN.
+
+   <read-ahead>
+      <strategy>on-find</strategy>
+      <eager-load-group>report</eager-load-group>
+      <left-join cmr-field="lineItems"/>
+         <left-join cmr-field="product" eager-load-group="short"/>
+      </left-join>
+      <left-join cmr-field="customer" eager-load-group="basic"/>
+   </read-ahead>
+-->
+<!ELEMENT left-join (left-join*)>
+
+<!--
+The CMR field name to LEFT JOIN.
+-->
+<!ATTLIST left-join cmr-field CDATA  #REQUIRED>
+
+<!--
+The eager load group of the related entity.
+-->
+<!ATTLIST left-join eager-load-group CDATA  #IMPLIED>
+
+
+<!--
+Specifies whether the read-ahead cache should be cleaned after the instance was loaded.
+Allowed values are true and false.
+Since 3.2.5RC1. Previously, read-ahead cache was cleaned after loading.
+-->
+<!ELEMENT clean-read-ahead-on-load (#PCDATA)>
+
+
+<!--
+Specifies the number of simultaneous queries that can be tracked by
+the cache for an entity.
+-->
+<!ELEMENT list-cache-max (#PCDATA)>
+
+
+<!--
+Specifies the number of entities to read in one round-trip to
+the underlying datastore.
+-->
+<!ELEMENT fetch-size (#PCDATA)>
+
+
+<!--
+Should runtime exceptions be thrown when unexpected exception occurs ?
+
+The throw-runtime-exceptions element must be one of the two following:
+         <throw-runtime-exceptions>true</throw-runtime-exceptions>
+         <throw-runtime-exceptions>false</throw-runtime-exceptions>
+-->
+<!ELEMENT throw-runtime-exceptions (#PCDATA)>
+
+
+<!--
+The enterprise-beans element contains the entity elements that will
+be configured.
+-->
+<!ELEMENT enterprise-beans (entity+)>
+
+
+<!--
+The entity element contains the configuration of an entity
+-->
+<!ELEMENT entity (ejb-name, datasource?, datasource-mapping?, create-table?,
+         remove-table?, post-table-create?, read-only?, read-time-out?,
+         row-locking?, pk-constraint?, read-ahead?, list-cache-max?, clean-read-ahead-on-load?,
+         fetch-size?, table-name?, cmp-field*, load-groups?, eager-load-group?,
+         lazy-load-groups?, query*, unknown-pk?, entity-command?,
+         optimistic-locking?, audit?)>
+
+<!--
+Name of the entity being configured.  This must match an entity declared
+in the ejb-jar.xml file.
+-->
+<!ELEMENT ejb-name (#PCDATA)>
+
+
+<!--
+This is the name of the table that will hold data for this entity.
+Each entity instance will be stored in one row of this table.
+-->
+<!ELEMENT table-name (#PCDATA)>
+
+
+<!--
+The cmp-field element contains the configuration of a cmp-field.
+-->
+<!ELEMENT cmp-field (field-name, read-only?, read-time-out?,
+         column-name?, not-null?, ((jdbc-type, sql-type) | (property+))?,
+         auto-increment?, dbindex?, check-dirty-after-get?, state-factory? )>
+
+
+<!--
+Name of the cmp-field being configured.  This must match a cmp-field
+declared for this entity in the ejb-jar.xml file.
+-->
+<!ELEMENT field-name (#PCDATA)>
+
+
+<!--
+The name of the column that will hold the data for this field.
+-->
+<!ELEMENT column-name (#PCDATA)>
+
+
+<!--
+If present the field will not allow a field value.
+-->
+<!ELEMENT not-null EMPTY>
+
+<!--
+If present, the server will try to create an index on the column
+in the database called <fieldname>_index
+-->
+<!ELEMENT dbindex EMPTY>
+
+
+<!--
+This is the JDBC type that is used when setting parameters in a JDBC
+PreparedStatement or loading data from a JDBC ResultSet for this
+cmp-field. The valid types are defined in java.sql.Types.
+-->
+<!ELEMENT jdbc-type (#PCDATA)>
+
+
+<!--
+This is the SQL type that is used in create table statements for
+this field. Valid sql-types are only limited by your database vendor.
+-->
+<!ELEMENT sql-type (#PCDATA)>
+
+
+<!--
+The property element contains the configuration of a dependent
+value class property of a cmp-field that is the type of a dependent
+value class.
+-->
+<!ELEMENT property (property-name, column-name?, not-null?,
+         (jdbc-type, sql-type)?)>
+
+
+<!--
+Name of the property being configured. In a dependent-value-class
+element this must match a JavaBean property of the class. In a
+cmp-field element this must match a flattened propety of the
+dependent-value-class field type.
+-->
+<!ELEMENT property-name (#PCDATA)>
+
+
+<!--
+Can be true or false.
+If true, the field will be checked for dirty state at synchronization time.
+By default, all fields except for the fields of primitive and their wrapper types
+are checked for dirty state after get.
+-->
+<!ELEMENT check-dirty-after-get (#PCDATA)>
+
+<!--
+Fully qualified class name of the implementation of
+ org.jboss.ejb.plugins.cmp.jdbc.CMPFieldStateFactory.
+-->
+<!ELEMENT state-factory (#PCDATA)>
+
+<!--
+Contains the named load groups.
+-->
+<!ELEMENT load-groups (load-group+)>
+
+
+<!--
+A named group of fields that will be loaded together.
+-->
+<!ELEMENT load-group (description?, load-group-name, field-name+)>
+
+<!--
+Contains the name of a load group.
+-->
+<!ELEMENT load-group-name (#PCDATA)>
+
+
+<!--
+Contains the name of the load group that will eager loaded for this entity.
+-->
+<!ELEMENT eager-load-group (#PCDATA)>
+
+
+<!--
+Contains the names of the groups that will be lazy loaded together.
+-->
+<!ELEMENT lazy-load-groups (load-group-name+)>
+
+
+<!--
+Descriptive text.
+-->
+<!ELEMENT description (#PCDATA)>
+
+
+<!--
+The query element contains the configuration of a query.
+-->
+<!ELEMENT query (description?, query-method,
+      (jboss-ql | dynamic-ql | declared-sql)?, read-ahead?, ql-compiler?, lazy-resultset-loading?)>
+
+
+<!--
+The query method that being configured.  This must match a
+query-method declared for this entity in the ejb-jar.xml file.
+-->
+<!ELEMENT query-method (method-name, method-params)>
+
+
+<!--
+The name of the query method that is being configured.
+-->
+<!ELEMENT method-name (#PCDATA)>
+
+
+<!--
+The method-parameters contains the parameters of the method that is
+being configured. Method parameters must be in the same order as the
+method and have the same type.
+-->
+<!ELEMENT method-params (method-param*)>
+
+
+<!--
+The java class of one parameter for a query.
+
+An example follows:
+   <method-param>java.lang.String</method-param>
+-->
+<!ELEMENT method-param (#PCDATA)>
+
+
+<!--
+JBossQL query.  JBossQL is a superset of EJB-QL.
+-->
+<!ELEMENT jboss-ql (#PCDATA)>
+
+
+<!--
+Dynamic JBossQL query.  The JBossQL is passed to the query and compiled
+on the fly.
+-->
+<!ELEMENT dynamic-ql EMPTY>
+
+
+<!--
+Explicitly declared sql fragments.
+-->
+<!ELEMENT declared-sql (select?, from?, where?, order?, other?)>
+
+
+<!--
+Delcares what is to be selected.  A finder may only have the distinct element.
+-->
+<!ELEMENT select (distinct?, (ejb-name, field-name?)?, alias?, additional-columns?)>
+
+
+<!--
+Delared additional SQl to append to the generated from clause.
+
+Example:  <from>, FullAddressEJB as a</from>
+-->
+<!ELEMENT from (#PCDATA)>
+
+<!--
+If the empty distinct element is present, the SELECT DISTINCT
+syntax will be used. This syntax is used by default for ejbSelect
+methods that return a java.util.Set.
+-->
+<!ELEMENT distinct EMPTY>
+
+
+<!--
+Declares the where clause for the query.
+
+Example: <where>TITLE={0} OR ARTIST={0} OR TYPE={0} OR NOTES={0}</where>
+-->
+<!ELEMENT where (#PCDATA)>
+
+
+<!--
+Declares the order clause for the query.
+
+Example: <order>TITLE</order>
+-->
+<!ELEMENT order (#PCDATA)>
+
+
+<!--
+Declares the other sql that is appended to the end of a query.
+
+Example: <other>LIMIT 100 OFFSET 200</other>
+-->
+<!ELEMENT other (#PCDATA)>
+
+<!--
+Declare the alias to use for the main select table.
+
+Example: <alias>my_table</alias>
+-->
+<!ELEMENT alias (#PCDATA)>
+
+
+<!--
+Declares other columns to be selected to satisfy ordering
+by arbitrary columns with ejbFinders or to facilitate aggregate
+functions in ejbSelects.
+
+Example: <additional-columns>, join-table1.column1,
+            join-table2.column2</additional-columns>
+-->
+<!ELEMENT additional-columns (#PCDATA)>
+
+
+<!--
+Fully qualified name of QL compiler implementation class.
+-->
+<!ELEMENT ql-compiler (#PCDATA)>
+
+
+<!--
+The relationships element contains the ejb-relation elements that will
+be configured.
+-->
+<!ELEMENT relationships (ejb-relation+)>
+
+
+<!--
+The ejb-relation element contains the configuration of an
+ejb-relation.
+-->
+<!ELEMENT ejb-relation (ejb-relation-name, read-only?, read-time-out?,
+         (foreign-key-mapping | relation-table-mapping)?,
+         (ejb-relationship-role, ejb-relationship-role)?)>
+
+
+<!--
+Name of the ejb-relation being configured.  This must match an
+ejb-relation declared in the ejb-jar.xml file.
+-->
+<!ELEMENT ejb-relation-name (#PCDATA)>
+
+
+<!--
+Specifies that the ejb-relation should be mapped with foreign-keys.
+This mapping is not available for many-to-many relationships.
+-->
+<!ELEMENT foreign-key-mapping EMPTY>
+
+
+<!--
+Specifies that the ejb-relation should be mapped with a relation-table.
+-->
+<!ELEMENT relation-table-mapping (table-name?,
+         (datasource, datasource-mapping)?, create-table?, remove-table?,
+         post-table-create?,
+         row-locking?, pk-constraint?)>
+
+
+<!--
+The ejb-rejationship-role element contains the configuration of an
+ejb-relationship-role.
+-->
+<!ELEMENT ejb-relationship-role (ejb-relationship-role-name,
+         fk-constraint?, key-fields?, read-ahead?, batch-cascade-delete?)>
+
+<!--
+The batch-cascade-delete element specifies that, this side of the relationship
+should be batch deleted with one SQL statement of the form
+DELETE FROM <related-table> WHERE <foreign-key> = ?
+The presense of cascade-delete element in ejb-jar.xml for the matching
+ejb-relationship-role is mandatory.
+-->
+<!ELEMENT batch-cascade-delete EMPTY>
+
+
+<!--
+Name of the ejb-relationship-role being configured.  This must match
+an ejb-relationship-role declared for this ejb-relation in the
+ejb-jar.xml file.
+-->
+<!ELEMENT ejb-relationship-role-name (#PCDATA)>
+
+
+<!--
+Contains the key fields. The interperation of the key fields depends
+on the mapping style of the relationship.
+-->
+<!ELEMENT key-fields (key-field*)>
+
+<!--
+The key-field element declared the configuration of a key field.
+The field-name element must match the field-name of one of the
+primary key fields of the this entity.
+-->
+<!ELEMENT key-field (field-name,
+         ((column-name, (jdbc-type, sql-type)?) | (property*)),
+         dbindex?)>
+
+
+<!--
+Contains the known dependent value classes.
+-->
+<!ELEMENT dependent-value-classes (dependent-value-class*)>
+
+
+<!--
+The dependent-value-class element contains the configuration of a
+dependent value class.
+-->
+<!ELEMENT dependent-value-class (description?, class, property+)>
+
+
+<!--
+Name of the java class to which the dependent value class configuration
+applies.
+-->
+<!ELEMENT class (#PCDATA)>
+
+
+<!--
+The type-mappings element contains the java to sql mappings.
+-->
+<!ELEMENT type-mappings (type-mapping+)>
+
+<!--
+The type-mapping element contains a named java to sql mapping.
+This includes both type mapping and function mapping.
+-->
+<!ELEMENT type-mapping (name, row-locking-template, pk-constraint-template,
+      fk-constraint-template, auto-increment-template?,
+      add-column-template?, alter-column-template?, drop-column-template?,
+      alias-header-prefix,
+      alias-header-suffix, alias-max-length, subquery-supported,
+      true-mapping, false-mapping, max-keys-in-delete?,
+      function-mapping*, mapping+)>
+
+<!--
+Name of the type-mapping.
+-->
+<!ELEMENT name (#PCDATA)>
+
+<!--
+This is the template used to create a row lock on the selected rows. The
+arguments supplied are as follows:
+
+1. Select clause
+2. From clasue; the order of the tables is currently not guarenteed
+3. Where clause
+
+If row locking is not supported in select statement this element should be
+empty. The most common form of row locking is select for update as in the
+example that follows:
+
+SELECT ?1 FROM ?2 WHERE ?3 FOR UPDATE
+-->
+<!ELEMENT row-locking-template (#PCDATA)>
+
+<!--
+This is the template used to create a primary key constraint in the create
+table statement. The arguments supplied are as follows:
+
+1. Primary key constraint name; which is always pk_{table-name}
+2. Comma sepperated list of primary key column names
+
+If a primary key constraint clause is not supported in a create table statement
+this element should be empty. The most common form of a primary key constraint
+follows:
+
+CONSTRAINT ?1 PRIMARY KEY (?2)
+-->
+<!ELEMENT pk-constraint-template (#PCDATA)>
+
+<!--
+This is the template used to create a foreign key constraint in sepperate
+statement. The arguments supplied are as follows:
+
+1. Table name
+2. Foreign key constraint name; which is always fk_{table-name}_{cmr-field-name}
+3. Comma sepperated list of foreign key column names
+4. References table name
+5. Comma sepperated list of the referenced primary key column names
+
+If the datasource does not support foreign key constraints this element should
+be empty. The most common form of a foreign key constraint follows:
+
+ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)
+-->
+<!ELEMENT fk-constraint-template (#PCDATA)>
+
+<!--
+This element is used to define auto-increment template for a column
+-->
+<!ELEMENT auto-increment-template (#PCDATA)>
+
+<!--
+Template to add a column to the database.
+Arguments are as follows :
+
+1. Table name
+2. Column new
+3. Column type
+
+Default value is
+
+ALTER TABLE ?1 ADD ?2 ?3
+-->
+<!ELEMENT add-column-template (#PCDATA)>
+
+<!--
+Template to alter a column to the database.
+Arguments are as follows :
+
+1. Table name
+2. Column new
+3. Column type
+
+Default value is
+
+ALTER TABLE ?1 ALTER ?2 TYPE ?3
+-->
+<!ELEMENT alter-column-template (#PCDATA)>
+
+<!--
+Template to drop a column to the database.
+Arguments are as follows :
+
+1. Table name
+2. Column new
+
+Default value is
+
+ALTER TABLE ?1 DROP ?2
+-->
+<!ELEMENT drop-column-template (#PCDATA)>
+
+<!--
+An alias header is prepended to a generated table alias by the EJB-QL compiler
+to prevent name collisions. An alias header is constructed as folows:
+
+alias-header-prefix + int_counter + alias-header-suffix
+-->
+<!ELEMENT alias-header-prefix (#PCDATA)>
+<!ELEMENT alias-header-suffix (#PCDATA)>
+<!ELEMENT alias-max-length (#PCDATA)>
+
+<!--
+Does this type-mapping support subqueries. Some EJB-QL opperators are mapped
+to exists subqueries.  If subquery is false the EJB-QL compiler will use a
+left join and is null.
+
+The subquery-supported element must be one of the two following:
+         <create-table>true</create-table>
+         <create-table>false</create-table>
+-->
+<!ELEMENT subquery-supported (#PCDATA)>
+
+<!--
+The true and false mappings are the mappings for true and false in EJB-QL
+queries.
+-->
+<!ELEMENT true-mapping (#PCDATA)>
+<!ELEMENT false-mapping (#PCDATA)>
+
+<!--
+The maximum number of key pairs that can appear in a single DELETE statement for relation table
+-->
+<!ELEMENT max-keys-in-delete (#PCDATA)>
+
+<!--
+Specifies the mapping from a java type to a jdbc and a sql type.
+-->
+<!ELEMENT mapping (java-type, jdbc-type, sql-type, param-setter?, result-reader?)>
+
+<!--
+Specifies the java class type to be mapped.
+-->
+<!ELEMENT java-type (#PCDATA)>
+
+<!--
+Fully qualified name of the JDBCParameterSetter implementation.
+-->
+<!ELEMENT param-setter (#PCDATA)>
+
+<!--
+Fully qualified name of the JDBCResultSetReader implementation.
+-->
+<!ELEMENT result-reader (#PCDATA)>
+
+<!--
+Specifies the mapping from an EJB-QL function to a sql function.
+-->
+<!ELEMENT function-mapping (function-name, function-sql)>
+
+<!--
+The name of the function to be mapped.
+-->
+<!ELEMENT function-name (#PCDATA)>
+
+<!--
+The sql to which the function is mapped.  The sql can contain
+parameters specified with a question mark followed by the base one
+parameter number.  For example, function mapping for concat in Oracle
+follows:
+
+<function-mapping>
+   <function-name>concat</function-name>
+   <function-sql>(?1 || ?2)</function-sql>
+</function-mapping>
+-->
+<!ELEMENT function-sql (#PCDATA)>
+
+<!--
+Unknown primary key configuration
+-->
+<!ELEMENT unknown-pk (key-generator-factory?, unknown-pk-class, field-name?,
+   read-only?, read-time-out?,
+   column-name?, (jdbc-type, sql-type)?, auto-increment? )>
+
+<!--
+The unknown primary key class.
+-->
+<!ELEMENT unknown-pk-class (#PCDATA)>
+
+<!--
+If present the field will auto-incremented by the database
+-->
+<!ELEMENT auto-increment EMPTY>
+
+<!--
+This element declares available for entity commands
+-->
+<!ELEMENT entity-commands (entity-command*)>
+
+<!--
+This element represents an entity command
+-->
+<!ELEMENT entity-command (attribute*)>
+
+<!--
+This attribute specifies the command name
+-->
+<!ATTLIST entity-command name CDATA  #REQUIRED>
+
+<!--
+This attribute specifies the command class
+-->
+<!ATTLIST entity-command class CDATA  #IMPLIED>
+
+<!--
+The attribute for create-method.
+-->
+<!ELEMENT attribute (#PCDATA)>
+
+<!--
+The name of the attribute
+-->
+<!ATTLIST attribute name CDATA #REQUIRED>
+
+<!--
+Optimistic locking configuration
+-->
+<!ELEMENT optimistic-locking (
+   group-name |
+   modified-strategy |
+   read-strategy |
+   ((version-column | timestamp-column | (key-generator-factory, field-type)),
+     field-name?, column-name?, (jdbc-type, sql-type)?)
+)>
+
+<!--
+Optimistic locking field group name.
+This name must match one of the entity's load-group-name.
+The fields in this group will be used for optimistic locking.
+-->
+<!ELEMENT group-name (#PCDATA)>
+
+<!--
+Optimistic locking modified strategy.
+This means the fields that were modified during transaction
+will be used for optimistic locking
+-->
+<!ELEMENT modified-strategy EMPTY>
+
+<!--
+Optimistic locking read strategy.
+This strategy implies that the fields that were read/changed
+in the transaction will be used for optimistic locking
+-->
+<!ELEMENT read-strategy EMPTY>
+
+<!--
+Optimistic locking version column strategy.
+Setting this element will add to entity bean additional version field
+of type java.lang.Long that will be used for optimistic locking.
+Each update of the entity will increase the value of this field.
+-->
+<!ELEMENT version-column EMPTY>
+
+<!--
+Optimistic locking timestamp column strategy.
+Setting this element will add to entity bean additional field of type
+java.util.Date that will be used for optimistic locking.
+Each update of the entity will set the value of this field to the current
+time.
+-->
+<!ELEMENT timestamp-column EMPTY>
+
+<!--
+Optimistic locking field type.
+The type for locking field in optimistic locking.
+-->
+<!ELEMENT field-type (#PCDATA)>
+
+<!--
+Key generator factory JNDI name.
+This element specifies the JNDI name of key generator factory that is
+used to obtain key generator for locking column used in optimistic locking.
+-->
+<!ELEMENT key-generator-factory (#PCDATA)>
+
+<!--
+Audit fields, choose the audit fields
+The created by and updated by require a caller principal
+The fields can also be cmp fields, use the same field-name
+-->
+<!ELEMENT audit (created-by?, created-time?, updated-by?, updated-time?)>
+
+<!--
+Created by principal, default is audit_created_by
+-->
+<!ELEMENT created-by (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+Created time, default is audit_created_time
+-->
+<!ELEMENT created-time (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+Updated by principal, default is audit_updated_by
+-->
+<!ELEMENT updated-by (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+Updated time, default is audit_updated_time
+-->
+<!ELEMENT updated-time (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+  Container for user-type-mapping elements
+-->
+<!ELEMENT user-type-mappings (user-type-mapping+)>
+
+<!--
+  Defines a mapping of a user type to a column providing a mapper class.
+  Mapper is like a mediator: when storing, it takes an instance of the user
+  type and translates it to a column value; when loading, it takes a column
+  value and translates it to an instance of the user type.
+-->
+<!ELEMENT user-type-mapping (java-type, mapped-type, mapper, check-dirty-after-get?, state-factory?)>
+
+<!--
+  The type a java-type in user-type-mapping is mapped to.
+-->
+<!ELEMENT mapped-type (#PCDATA)>
+
+<!--
+  Mapper class for user-type-mapping.
+-->
+<!ELEMENT mapper (#PCDATA)>
+
+<!--
+  Provide reserved words that should be escaped when generating tables
+-->
+<!ELEMENT reserved-words (word+)>
+<!ELEMENT word (#PCDATA)>
+
+<!--
+Is relevant only for multi-object queries. Allowed values are true and false.
+If true, ResultSet will be read on demand, i.e. when user iterates through the collection.
+If false, user is given completely initialized result, i.e. when user got the result
+ResultSet is read till the end and closed.
+-->
+<!ELEMENT lazy-resultset-loading (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_4_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_4_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/jbosscmp-jdbc_4_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,960 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+This is the XML DTD for the jbosscmp-jdbc deployment descriptor.
+  <!DOCTYPE jbosscmp-jdbc PUBLIC
+      "-//JBoss//DTD JBOSSCMP-JDBC 4.2//EN"
+      "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_2.dtd">
+-->
+
+<!--
+The root element of JBossCMP-JDBC configuration files.
+-->
+<!ELEMENT jbosscmp-jdbc (defaults?, enterprise-beans?, relationships?,
+          dependent-value-classes?, type-mappings?, entity-commands?,
+          user-type-mappings? , reserved-words?)>
+
+<!--
+The optional defaults elements contains the default values for
+entities, and relationships.
+-->
+<!ELEMENT defaults (datasource?, datasource-mapping?, create-table?,
+         alter-table?, remove-table?, post-table-create?, read-only?, read-time-out?,
+         row-locking?, pk-constraint?, fk-constraint?,
+         preferred-relation-mapping?, read-ahead?, list-cache-max?, clean-read-ahead-on-load?,
+         fetch-size?, unknown-pk?, entity-command?, ql-compiler?, throw-runtime-exceptions?)>
+
+<!--
+The optional datasource element contains the jndi-name used to lookup
+the datasource.  All database connections used by an entity or relation table are obtained from the datasource.
+-->
+<!ELEMENT datasource (#PCDATA)>
+
+
+<!--
+The optional datasource-mapping element contains the name of the type mapping
+that will be used for this datasource.
+-->
+<!ELEMENT datasource-mapping (#PCDATA)>
+
+
+<!--
+Should the persistence manager attempt to create tables if they are
+not present?
+
+The create-table element must be one of the two following:
+         <create-table>true</create-table>
+         <create-table>false</create-table>
+-->
+<!ELEMENT create-table (#PCDATA)>
+
+
+<!--
+Should the persistence manager attempt to remove tables during shutdown?
+
+The remove-table element must be one of the two following:
+         <remove-table>true</remove-table>
+         <remove-table>false</remove-table>
+-->
+<!ELEMENT remove-table (#PCDATA)>
+
+<!--
+Should the persistence manager attempt to update the table structure at deployment
+
+The remove-table element must be one of the two following:
+         <alter-table>true</alter-table>
+         <alter-table>false</alter-table>
+-->
+<!ELEMENT alter-table (#PCDATA)>
+
+
+<!--
+Execute arbitrary SQL code directly after the database table is created.
+This command is only executed if create-table is true and the table
+did not previously exist.
+-->
+<!ELEMENT post-table-create (sql-statement+)>
+
+<!--
+The SQL Statement to be executed. Note that this is not translated
+into database specific SQL, but passed literally to the database.
+-->
+<!ELEMENT sql-statement (#PCDATA)>
+
+<!--
+Is the entity or cmp-field read-only?
+
+The read-only element must be one of the two following:
+         <read-only>true</read-only>
+         <read-only>false</read-only>
+-->
+<!ELEMENT read-only (#PCDATA)>
+
+
+<!--
+Specifies the ammount of time that a read-only field is considered
+valid (milliseconds).
+-->
+<!ELEMENT read-time-out (#PCDATA)>
+
+
+<!--
+Should select statements the SELECT ... FOR UPDATE syntax?
+
+The row-locking element must be one of the two following:
+         <row-locking>true</row-locking>
+         <row-locking>false</row-locking>
+-->
+<!ELEMENT row-locking (#PCDATA)>
+
+
+<!--
+Should a foreign key constraint be added for this relationship role?
+
+The fk-constraint element must be one of the two following:
+         <fk-constraint>true</fk-constraint>
+         <fk-constraint>false</fk-constraint>
+-->
+<!ELEMENT fk-constraint (#PCDATA)>
+
+
+<!--
+Should a primary key constraint be added when creating tables?
+
+The pk-constraint element must be one of the two following:
+         <pk-constraint>true</pk-constraint>
+         <pk-constraint>false</pk-constraint>
+-->
+<!ELEMENT pk-constraint (#PCDATA)>
+
+
+<!--
+Specifies the preferred mapping style for relationships.
+
+The preferred-relation-mapping element must be one of the two following:
+   <preferred-relation-mapping>foreign-key</preferred-relation-mapping>
+   <preferred-relation-mapping>relation-table</preferred-relation-mapping>
+-->
+<!ELEMENT preferred-relation-mapping (#PCDATA)>
+
+<!--
+Specifies the read ahead strategy.
+
+         <read-ahead>
+            <strategy>on-load</strategy>
+            <page-size>255</page-size>
+            <eager-load-group>*</eager-load-group>
+         </read-ahead>
+-->
+<!ELEMENT read-ahead (strategy, page-size?, eager-load-group?, left-join*)>
+
+<!--
+Specifies the strategy used to read-ahead data in queries.
+
+The strategy element must be one of the two following:
+         <strategy>none</strategy>
+         <strategy>on-load</strategy>
+         <strategy>on-find</strategy>
+-->
+<!ELEMENT strategy (#PCDATA)>
+
+
+<!--
+Specifies the number of entities that will be read in a single
+read-ahead load query.
+-->
+<!ELEMENT page-size (#PCDATA)>
+
+
+<!--
+Specifies a related entity that will be fetched on-find with LEFT JOIN.
+
+   <read-ahead>
+      <strategy>on-find</strategy>
+      <eager-load-group>report</eager-load-group>
+      <left-join cmr-field="lineItems"/>
+         <left-join cmr-field="product" eager-load-group="short"/>
+      </left-join>
+      <left-join cmr-field="customer" eager-load-group="basic"/>
+   </read-ahead>
+-->
+<!ELEMENT left-join (left-join*)>
+
+<!--
+The CMR field name to LEFT JOIN.
+-->
+<!ATTLIST left-join cmr-field CDATA  #REQUIRED>
+
+<!--
+The eager load group of the related entity.
+-->
+<!ATTLIST left-join eager-load-group CDATA  #IMPLIED>
+
+
+<!--
+Specifies whether the read-ahead cache should be cleaned after the instance was loaded.
+Allowed values are true and false.
+Since 3.2.5RC1. Previously, read-ahead cache was cleaned after loading.
+-->
+<!ELEMENT clean-read-ahead-on-load (#PCDATA)>
+
+
+<!--
+Specifies the number of simultaneous queries that can be tracked by
+the cache for an entity.
+-->
+<!ELEMENT list-cache-max (#PCDATA)>
+
+
+<!--
+Specifies the number of entities to read in one round-trip to
+the underlying datastore.
+-->
+<!ELEMENT fetch-size (#PCDATA)>
+
+
+<!--
+Should runtime exceptions be thrown when unexpected exception occurs ?
+
+The throw-runtime-exceptions element must be one of the two following:
+         <throw-runtime-exceptions>true</throw-runtime-exceptions>
+         <throw-runtime-exceptions>false</throw-runtime-exceptions>
+-->
+<!ELEMENT throw-runtime-exceptions (#PCDATA)>
+
+
+<!--
+The enterprise-beans element contains the entity elements that will
+be configured.
+-->
+<!ELEMENT enterprise-beans (entity+)>
+
+
+<!--
+The entity element contains the configuration of an entity
+-->
+<!ELEMENT entity (ejb-name, datasource?, datasource-mapping?, create-table?,
+         remove-table?, post-table-create?, read-only?, read-time-out?,
+         row-locking?, pk-constraint?, read-ahead?, list-cache-max?, clean-read-ahead-on-load?,
+         fetch-size?, table-name?, cmp-field*, load-groups?, eager-load-group?,
+         lazy-load-groups?, query*, unknown-pk?, entity-command?,
+         optimistic-locking?, audit?)>
+
+<!--
+Name of the entity being configured.  This must match an entity declared
+in the ejb-jar.xml file.
+-->
+<!ELEMENT ejb-name (#PCDATA)>
+
+
+<!--
+This is the name of the table that will hold data for this entity.
+Each entity instance will be stored in one row of this table.
+-->
+<!ELEMENT table-name (#PCDATA)>
+
+
+<!--
+The cmp-field element contains the configuration of a cmp-field.
+-->
+<!ELEMENT cmp-field (field-name, read-only?, read-time-out?,
+         column-name?, not-null?, ((jdbc-type, sql-type) | (property+))?,
+         auto-increment?, dbindex?, check-dirty-after-get?, state-factory? )>
+
+
+<!--
+Name of the cmp-field being configured.  This must match a cmp-field
+declared for this entity in the ejb-jar.xml file.
+-->
+<!ELEMENT field-name (#PCDATA)>
+
+
+<!--
+The name of the column that will hold the data for this field.
+-->
+<!ELEMENT column-name (#PCDATA)>
+
+
+<!--
+If present the field will not allow a field value.
+-->
+<!ELEMENT not-null EMPTY>
+
+<!--
+If present, the server will try to create an index on the column
+in the database called <fieldname>_index
+-->
+<!ELEMENT dbindex EMPTY>
+
+
+<!--
+This is the JDBC type that is used when setting parameters in a JDBC
+PreparedStatement or loading data from a JDBC ResultSet for this
+cmp-field. The valid types are defined in java.sql.Types.
+-->
+<!ELEMENT jdbc-type (#PCDATA)>
+
+
+<!--
+This is the SQL type that is used in create table statements for
+this field. Valid sql-types are only limited by your database vendor.
+-->
+<!ELEMENT sql-type (#PCDATA)>
+
+
+<!--
+The property element contains the configuration of a dependent
+value class property of a cmp-field that is the type of a dependent
+value class.
+-->
+<!ELEMENT property (property-name, column-name?, not-null?,
+         (jdbc-type, sql-type)?)>
+
+
+<!--
+Name of the property being configured. In a dependent-value-class
+element this must match a JavaBean property of the class. In a
+cmp-field element this must match a flattened propety of the
+dependent-value-class field type.
+-->
+<!ELEMENT property-name (#PCDATA)>
+
+
+<!--
+Can be true or false.
+If true, the field will be checked for dirty state at synchronization time.
+By default, all fields except for the fields of primitive and their wrapper types
+are checked for dirty state after get.
+-->
+<!ELEMENT check-dirty-after-get (#PCDATA)>
+
+<!--
+Fully qualified class name of the implementation of
+ org.jboss.ejb.plugins.cmp.jdbc.CMPFieldStateFactory.
+-->
+<!ELEMENT state-factory (#PCDATA)>
+
+<!--
+Contains the named load groups.
+-->
+<!ELEMENT load-groups (load-group+)>
+
+
+<!--
+A named group of fields that will be loaded together.
+-->
+<!ELEMENT load-group (description?, load-group-name, field-name+)>
+
+<!--
+Contains the name of a load group.
+-->
+<!ELEMENT load-group-name (#PCDATA)>
+
+
+<!--
+Contains the name of the load group that will eager loaded for this entity.
+-->
+<!ELEMENT eager-load-group (#PCDATA)>
+
+
+<!--
+Contains the names of the groups that will be lazy loaded together.
+-->
+<!ELEMENT lazy-load-groups (load-group-name+)>
+
+
+<!--
+Descriptive text.
+-->
+<!ELEMENT description (#PCDATA)>
+
+
+<!--
+The query element contains the configuration of a query.
+-->
+<!ELEMENT query (description?, query-method,
+      (jboss-ql | dynamic-ql | declared-sql)?, read-ahead?, ql-compiler?, lazy-resultset-loading?)>
+
+
+<!--
+The query method that being configured.  This must match a
+query-method declared for this entity in the ejb-jar.xml file.
+-->
+<!ELEMENT query-method (method-name, method-params)>
+
+
+<!--
+The name of the query method that is being configured.
+-->
+<!ELEMENT method-name (#PCDATA)>
+
+
+<!--
+The method-parameters contains the parameters of the method that is
+being configured. Method parameters must be in the same order as the
+method and have the same type.
+-->
+<!ELEMENT method-params (method-param*)>
+
+
+<!--
+The java class of one parameter for a query.
+
+An example follows:
+   <method-param>java.lang.String</method-param>
+-->
+<!ELEMENT method-param (#PCDATA)>
+
+
+<!--
+JBossQL query.  JBossQL is a superset of EJB-QL.
+-->
+<!ELEMENT jboss-ql (#PCDATA)>
+
+
+<!--
+Dynamic JBossQL query.  The JBossQL is passed to the query and compiled
+on the fly.
+-->
+<!ELEMENT dynamic-ql EMPTY>
+
+
+<!--
+Explicitly declared sql fragments.
+-->
+<!ELEMENT declared-sql (select?, from?, where?, order?, other?)>
+
+
+<!--
+Delcares what is to be selected.  A finder may only have the distinct element.
+-->
+<!ELEMENT select (distinct?, (ejb-name, field-name?)?, alias?, additional-columns?)>
+
+
+<!--
+Delared additional SQl to append to the generated from clause.
+
+Example:  <from>, FullAddressEJB as a</from>
+-->
+<!ELEMENT from (#PCDATA)>
+
+<!--
+If the empty distinct element is present, the SELECT DISTINCT
+syntax will be used. This syntax is used by default for ejbSelect
+methods that return a java.util.Set.
+-->
+<!ELEMENT distinct EMPTY>
+
+
+<!--
+Declares the where clause for the query.
+
+Example: <where>TITLE={0} OR ARTIST={0} OR TYPE={0} OR NOTES={0}</where>
+-->
+<!ELEMENT where (#PCDATA)>
+
+
+<!--
+Declares the order clause for the query.
+
+Example: <order>TITLE</order>
+-->
+<!ELEMENT order (#PCDATA)>
+
+
+<!--
+Declares the other sql that is appended to the end of a query.
+
+Example: <other>LIMIT 100 OFFSET 200</other>
+-->
+<!ELEMENT other (#PCDATA)>
+
+<!--
+Declare the alias to use for the main select table.
+
+Example: <alias>my_table</alias>
+-->
+<!ELEMENT alias (#PCDATA)>
+
+
+<!--
+Declares other columns to be selected to satisfy ordering
+by arbitrary columns with ejbFinders or to facilitate aggregate
+functions in ejbSelects.
+
+Example: <additional-columns>, join-table1.column1,
+            join-table2.column2</additional-columns>
+-->
+<!ELEMENT additional-columns (#PCDATA)>
+
+
+<!--
+Fully qualified name of QL compiler implementation class.
+-->
+<!ELEMENT ql-compiler (#PCDATA)>
+
+
+<!--
+The relationships element contains the ejb-relation elements that will
+be configured.
+-->
+<!ELEMENT relationships (ejb-relation+)>
+
+
+<!--
+The ejb-relation element contains the configuration of an
+ejb-relation.
+-->
+<!ELEMENT ejb-relation (ejb-relation-name, read-only?, read-time-out?,
+         (foreign-key-mapping | relation-table-mapping)?,
+         (ejb-relationship-role, ejb-relationship-role)?)>
+
+
+<!--
+Name of the ejb-relation being configured.  This must match an
+ejb-relation declared in the ejb-jar.xml file.
+-->
+<!ELEMENT ejb-relation-name (#PCDATA)>
+
+
+<!--
+Specifies that the ejb-relation should be mapped with foreign-keys.
+This mapping is not available for many-to-many relationships.
+-->
+<!ELEMENT foreign-key-mapping EMPTY>
+
+
+<!--
+Specifies that the ejb-relation should be mapped with a relation-table.
+-->
+<!ELEMENT relation-table-mapping (table-name?,
+         (datasource, datasource-mapping)?, create-table?, remove-table?,
+         post-table-create?,
+         row-locking?, pk-constraint?)>
+
+
+<!--
+The ejb-rejationship-role element contains the configuration of an
+ejb-relationship-role.
+-->
+<!ELEMENT ejb-relationship-role (ejb-relationship-role-name,
+         fk-constraint?, key-fields?, read-ahead?, batch-cascade-delete?)>
+
+<!--
+The batch-cascade-delete element specifies that, this side of the relationship
+should be batch deleted with one SQL statement of the form
+DELETE FROM <related-table> WHERE <foreign-key> = ?
+The presense of cascade-delete element in ejb-jar.xml for the matching
+ejb-relationship-role is mandatory.
+-->
+<!ELEMENT batch-cascade-delete EMPTY>
+
+
+<!--
+Name of the ejb-relationship-role being configured.  This must match
+an ejb-relationship-role declared for this ejb-relation in the
+ejb-jar.xml file.
+-->
+<!ELEMENT ejb-relationship-role-name (#PCDATA)>
+
+
+<!--
+Contains the key fields. The interperation of the key fields depends
+on the mapping style of the relationship.
+-->
+<!ELEMENT key-fields (key-field*)>
+
+<!--
+The key-field element declared the configuration of a key field.
+The field-name element must match the field-name of one of the
+primary key fields of the this entity.
+-->
+<!ELEMENT key-field (field-name,
+         ((column-name, (jdbc-type, sql-type)?) | (property*)),
+         dbindex?)>
+
+
+<!--
+Contains the known dependent value classes.
+-->
+<!ELEMENT dependent-value-classes (dependent-value-class*)>
+
+
+<!--
+The dependent-value-class element contains the configuration of a
+dependent value class.
+-->
+<!ELEMENT dependent-value-class (description?, class, property+)>
+
+
+<!--
+Name of the java class to which the dependent value class configuration
+applies.
+-->
+<!ELEMENT class (#PCDATA)>
+
+
+<!--
+The type-mappings element contains the java to sql mappings.
+-->
+<!ELEMENT type-mappings (type-mapping+)>
+
+<!--
+The type-mapping element contains a named java to sql mapping.
+This includes both type mapping and function mapping.
+-->
+<!ELEMENT type-mapping (name, row-locking-template, pk-constraint-template,
+      fk-constraint-template, auto-increment-template?,
+      add-column-template?, alter-column-template?, drop-column-template?,
+      alias-header-prefix,
+      alias-header-suffix, alias-max-length, subquery-supported,
+      true-mapping, false-mapping, max-keys-in-delete?,
+      function-mapping*, mapping+)>
+
+<!--
+Name of the type-mapping.
+-->
+<!ELEMENT name (#PCDATA)>
+
+<!--
+This is the template used to create a row lock on the selected rows. The
+arguments supplied are as follows:
+
+1. Select clause
+2. From clasue; the order of the tables is currently not guarenteed
+3. Where clause
+
+If row locking is not supported in select statement this element should be
+empty. The most common form of row locking is select for update as in the
+example that follows:
+
+SELECT ?1 FROM ?2 WHERE ?3 FOR UPDATE
+-->
+<!ELEMENT row-locking-template (#PCDATA)>
+
+<!--
+This is the template used to create a primary key constraint in the create
+table statement. The arguments supplied are as follows:
+
+1. Primary key constraint name; which is always pk_{table-name}
+2. Comma sepperated list of primary key column names
+
+If a primary key constraint clause is not supported in a create table statement
+this element should be empty. The most common form of a primary key constraint
+follows:
+
+CONSTRAINT ?1 PRIMARY KEY (?2)
+-->
+<!ELEMENT pk-constraint-template (#PCDATA)>
+
+<!--
+This is the template used to create a foreign key constraint in sepperate
+statement. The arguments supplied are as follows:
+
+1. Table name
+2. Foreign key constraint name; which is always fk_{table-name}_{cmr-field-name}
+3. Comma sepperated list of foreign key column names
+4. References table name
+5. Comma sepperated list of the referenced primary key column names
+
+If the datasource does not support foreign key constraints this element should
+be empty. The most common form of a foreign key constraint follows:
+
+ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)
+-->
+<!ELEMENT fk-constraint-template (#PCDATA)>
+
+<!--
+This element is used to define auto-increment template for a column
+-->
+<!ELEMENT auto-increment-template (#PCDATA)>
+
+<!--
+Template to add a column to the database.
+Arguments are as follows :
+
+1. Table name
+2. Column new
+3. Column type
+
+Default value is
+
+ALTER TABLE ?1 ADD ?2 ?3
+-->
+<!ELEMENT add-column-template (#PCDATA)>
+
+<!--
+Template to alter a column to the database.
+Arguments are as follows :
+
+1. Table name
+2. Column new
+3. Column type
+
+Default value is
+
+ALTER TABLE ?1 ALTER ?2 TYPE ?3
+-->
+<!ELEMENT alter-column-template (#PCDATA)>
+
+<!--
+Template to drop a column to the database.
+Arguments are as follows :
+
+1. Table name
+2. Column new
+
+Default value is
+
+ALTER TABLE ?1 DROP ?2
+-->
+<!ELEMENT drop-column-template (#PCDATA)>
+
+<!--
+An alias header is prepended to a generated table alias by the EJB-QL compiler
+to prevent name collisions. An alias header is constructed as folows:
+
+alias-header-prefix + int_counter + alias-header-suffix
+-->
+<!ELEMENT alias-header-prefix (#PCDATA)>
+<!ELEMENT alias-header-suffix (#PCDATA)>
+<!ELEMENT alias-max-length (#PCDATA)>
+
+<!--
+Does this type-mapping support subqueries. Some EJB-QL opperators are mapped
+to exists subqueries.  If subquery is false the EJB-QL compiler will use a
+left join and is null.
+
+The subquery-supported element must be one of the two following:
+         <create-table>true</create-table>
+         <create-table>false</create-table>
+-->
+<!ELEMENT subquery-supported (#PCDATA)>
+
+<!--
+The true and false mappings are the mappings for true and false in EJB-QL
+queries.
+-->
+<!ELEMENT true-mapping (#PCDATA)>
+<!ELEMENT false-mapping (#PCDATA)>
+
+<!--
+The maximum number of key pairs that can appear in a single DELETE statement for relation table
+-->
+<!ELEMENT max-keys-in-delete (#PCDATA)>
+
+<!--
+Specifies the mapping from a java type to a jdbc and a sql type.
+-->
+<!ELEMENT mapping (java-type, jdbc-type, sql-type, param-setter?, result-reader?)>
+
+<!--
+Specifies the java class type to be mapped.
+-->
+<!ELEMENT java-type (#PCDATA)>
+
+<!--
+Fully qualified name of the JDBCParameterSetter implementation.
+-->
+<!ELEMENT param-setter (#PCDATA)>
+
+<!--
+Fully qualified name of the JDBCResultSetReader implementation.
+-->
+<!ELEMENT result-reader (#PCDATA)>
+
+<!--
+Specifies the mapping from an EJB-QL function to a sql function.
+-->
+<!ELEMENT function-mapping (function-name, function-sql)>
+
+<!--
+The name of the function to be mapped.
+-->
+<!ELEMENT function-name (#PCDATA)>
+
+<!--
+The sql to which the function is mapped.  The sql can contain
+parameters specified with a question mark followed by the base one
+parameter number.  For example, function mapping for concat in Oracle
+follows:
+
+<function-mapping>
+   <function-name>concat</function-name>
+   <function-sql>(?1 || ?2)</function-sql>
+</function-mapping>
+-->
+<!ELEMENT function-sql (#PCDATA)>
+
+<!--
+Unknown primary key configuration
+-->
+<!ELEMENT unknown-pk (key-generator-factory?, unknown-pk-class, field-name?,
+   read-only?, read-time-out?,
+   column-name?, (jdbc-type, sql-type)?, auto-increment? )>
+
+<!--
+The unknown primary key class.
+-->
+<!ELEMENT unknown-pk-class (#PCDATA)>
+
+<!--
+If present the field will auto-incremented by the database
+-->
+<!ELEMENT auto-increment EMPTY>
+
+<!--
+This element declares available for entity commands
+-->
+<!ELEMENT entity-commands (entity-command*)>
+
+<!--
+This element represents an entity command
+-->
+<!ELEMENT entity-command (attribute*)>
+
+<!--
+This attribute specifies the command name
+-->
+<!ATTLIST entity-command name CDATA  #REQUIRED>
+
+<!--
+This attribute specifies the command class
+-->
+<!ATTLIST entity-command class CDATA  #IMPLIED>
+
+<!--
+The attribute for create-method.
+-->
+<!ELEMENT attribute (#PCDATA)>
+
+<!--
+The name of the attribute
+-->
+<!ATTLIST attribute name CDATA #REQUIRED>
+
+<!--
+Optimistic locking configuration
+-->
+<!ELEMENT optimistic-locking (
+   group-name |
+   modified-strategy |
+   read-strategy |
+   ((version-column | timestamp-column | (key-generator-factory, field-type)),
+     field-name?, column-name?, (jdbc-type, sql-type)?)
+)>
+
+<!--
+Optimistic locking field group name.
+This name must match one of the entity's load-group-name.
+The fields in this group will be used for optimistic locking.
+-->
+<!ELEMENT group-name (#PCDATA)>
+
+<!--
+Optimistic locking modified strategy.
+This means the fields that were modified during transaction
+will be used for optimistic locking
+-->
+<!ELEMENT modified-strategy EMPTY>
+
+<!--
+Optimistic locking read strategy.
+This strategy implies that the fields that were read/changed
+in the transaction will be used for optimistic locking
+-->
+<!ELEMENT read-strategy EMPTY>
+
+<!--
+Optimistic locking version column strategy.
+Setting this element will add to entity bean additional version field
+of type java.lang.Long that will be used for optimistic locking.
+Each update of the entity will increase the value of this field.
+-->
+<!ELEMENT version-column EMPTY>
+
+<!--
+Optimistic locking timestamp column strategy.
+Setting this element will add to entity bean additional field of type
+java.util.Date that will be used for optimistic locking.
+Each update of the entity will set the value of this field to the current
+time.
+-->
+<!ELEMENT timestamp-column EMPTY>
+
+<!--
+Optimistic locking field type.
+The type for locking field in optimistic locking.
+-->
+<!ELEMENT field-type (#PCDATA)>
+
+<!--
+Key generator factory JNDI name.
+This element specifies the JNDI name of key generator factory that is
+used to obtain key generator for locking column used in optimistic locking.
+-->
+<!ELEMENT key-generator-factory (#PCDATA)>
+
+<!--
+Audit fields, choose the audit fields
+The created by and updated by require a caller principal
+The fields can also be cmp fields, use the same field-name
+-->
+<!ELEMENT audit (created-by?, created-time?, updated-by?, updated-time?)>
+
+<!--
+Created by principal, default is audit_created_by
+-->
+<!ELEMENT created-by (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+Created time, default is audit_created_time
+-->
+<!ELEMENT created-time (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+Updated by principal, default is audit_updated_by
+-->
+<!ELEMENT updated-by (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+Updated time, default is audit_updated_time
+-->
+<!ELEMENT updated-time (field-name?, column-name?, (jdbc-type, sql-type)?)>
+
+<!--
+  Container for user-type-mapping elements
+-->
+<!ELEMENT user-type-mappings (user-type-mapping+)>
+
+<!--
+  Defines a mapping of a user type to a column providing a mapper class.
+  Mapper is like a mediator: when storing, it takes an instance of the user
+  type and translates it to a column value; when loading, it takes a column
+  value and translates it to an instance of the user type.
+-->
+<!ELEMENT user-type-mapping (java-type, mapped-type, mapper, check-dirty-after-get?, state-factory?)>
+
+<!--
+  The type a java-type in user-type-mapping is mapped to.
+-->
+<!ELEMENT mapped-type (#PCDATA)>
+
+<!--
+  Mapper class for user-type-mapping.
+-->
+<!ELEMENT mapper (#PCDATA)>
+
+<!--
+  Provide reserved words that should be escaped when generating tables
+-->
+<!ELEMENT reserved-words (word+)>
+<!ELEMENT word (#PCDATA)>
+
+<!--
+Is relevant only for multi-object queries. Allowed values are true and false.
+If true, ResultSet will be read on demand, i.e. when user iterates through the collection.
+If false, user is given completely initialized result, i.e. when user got the result
+ResultSet is read till the end and closed.
+-->
+<!ELEMENT lazy-resultset-loading (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/security_config.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/security_config.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/security_config.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,100 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--Generated by XML Authority-->
+
+<!-- This is the XML DTD for the JBoss 3.0 security policy configuration.
+The DOCTYPE is:
+  <!DOCTYPE policy PUBLIC
+      "-//JBoss//DTD JBOSS Security Config 3.0//EN"
+      "http://www.jboss.org/j2ee/dtd/security_config.dtd">
+
+$Id: security_config.dtd 20476 2004-04-17 13:29:24Z tdiesler $
+$Revision: 20476 $
+
+The outline of the application-policy is:
+<policy>
+ <application-policy name="security-domain-name">
+  <authentication>
+    <login-module code="login.module1.class.name" flag="control_flag">
+      <module-option name = "option1-name">option1-value</module-option>
+      <module-option name = "option2-name">option2-value</module-option>
+      ...
+    </login-module>
+
+    <login-module code="login.module2.class.name" flag="control_flag">
+      ...
+    </login-module>
+    ...
+  </authentication>
+ </application-policy>
+</policy>
+-->
+<!-- The root element of the security policy configuration -->
+<!ELEMENT policy (application-policy+)>
+
+<!-- An application-policy defines the security configuration for an application domain. Currently
+this consists of only the login module configurations specified in the authentication -->
+<!ELEMENT application-policy (authentication)>
+
+<!-- The application-policy name attribute gives the name of the security domain.
+-->
+<!ATTLIST application-policy name CDATA  #REQUIRED>
+
+<!-- The authentication element contains the login module stack configuration. Each
+login module configuration is specified using a login-module element.
+-->
+<!ELEMENT authentication (login-module+)>
+
+<!-- The login-module element defines a JAAS login module configuration entry. Each
+entry must have a code and flag attribute along with zero or more login module options
+specified via the module-option element.
+-->
+<!ELEMENT login-module (module-option*)>
+
+<!-- The flag attribute controls how a login module participates in the overall authentication proceedure.
+Required     - The LoginModule is required to succeed.
+			If it succeeds or fails, authentication still continues
+			to proceed down the LoginModule list.
+
+Requisite    - The LoginModule is required to succeed.
+			If it succeeds, authentication continues down the
+			LoginModule list.  If it fails,
+			control immediately returns to the application
+			(authentication does not proceed down the
+			LoginModule list).
+
+Sufficient   - The LoginModule is not required to
+			succeed.  If it does succeed, control immediately
+			returns to the application (authentication does not
+			proceed down the LoginModule list).
+			If it fails, authentication continues down the
+			LoginModule list.
+
+Optional     - The LoginModule is not required to
+			succeed.  If it succeeds or fails,
+			authentication still continues to proceed down the
+			LoginModule list.
+
+The overall authentication succeeds only if all required and requisite LoginModules succeed. If a sufficient
+LoginModule is configured and succeeds, then only the required and requisite LoginModules prior to that
+sufficient LoginModule need to have succeeded for the overall authentication to succeed. If no required or
+requisite LoginModules are configured for an application, then at least one sufficient or optional LoginModule
+must succeed. 
+-->
+<!ATTLIST login-module flag  (required | requisite | sufficient | optional )  #REQUIRED>
+
+<!-- The code attribute gives the fully qualifed class name of the javax.security.auth.spi.LoginModule
+interface implementation for the login module.
+-->
+<!ATTLIST login-module code CDATA  #REQUIRED>
+
+<!-- A module option defines a name, value pair of strings that are passed to a LoginModule when it
+is initialized during the login proceedure. The name attribute defines the option name while the
+element value is the option string value.
+-->
+<!ELEMENT module-option (#PCDATA)>
+
+<!-- The name attribute specifies the name of the login module option.
+-->
+<!ATTLIST module-option name CDATA  #REQUIRED>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/service-ref_4_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/service-ref_4_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/service-ref_4_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,90 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<!-- 
+  $Id: jboss-client_5_0.dtd 58121 2006-11-04 19:57:58Z thomas.diesler at jboss.com $
+        
+  <!DOCTYPE jboss-web PUBLIC
+    "-//JBoss//DTD Web Service Reference 4.0//EN"
+    "http://www.jboss.org/j2ee/dtd/service-ref_4_0.dtd">      
+-->
+
+<!-- 
+  The service-ref element provides jboss specific deployment values to
+  the web service reference in application-client.xml.
+  
+  Example:
+    <service-ref>
+        <service-ref-name>OrganizationService</service-ref-name>
+        <wsdl-override>file:/wsdlRepository/organization-service.wsdl</wsdl-override>
+    </service-ref>
+
+    <service-ref>
+        <service-ref-name>OrganizationService</service-ref-name>
+        <config-name>Secure Client Config</config-name>
+        <config-file>META-INF/jbossws-client-config.xml</config-file>
+        <port-component-ref>
+          <service-endpoint-interface>com.dot.SEI</service-endpoint-interface>
+          <call-property>
+            <prop-name>X</prop-name>
+            <prop-value>Y</prop-value>
+          </call-property>
+        </port-component-ref>
+    </service-ref>
+-->
+<!ELEMENT service-ref (service-ref-name, config-name?, config-file?, port-component-ref*, wsdl-override?, call-property*)>
+
+<!-- The service-ref-name element gives the ENC relative name used
+in the ejb-jar.xml service-ref-name element.
+
+Used in: service-ref
+-->
+<!ELEMENT service-ref-name (#PCDATA)>
+
+<!-- The optional config-name element gives the client configuration name that must be present in
+the configuration given by element config-file. 
+	
+The default is: Standard Client
+
+Used in: service-ref
+-->
+<!ELEMENT config-name (#PCDATA)>
+
+<!-- The optional config-file element gives the to a URL or resource name for the client configuration.
+The default is: META-INF/standard-jbossws-client-config.xml
+
+Used in: service-ref
+-->
+<!ELEMENT config-file (#PCDATA)>
+
+<!-- The port-component-ref element provides additional information about
+the standard j2ee service-reference/port-component-ref. Currently this includes
+properties that should be associated with the call/stub for the port.
+
+Used in: service-ref
+-->
+<!ELEMENT port-component-ref (service-endpoint-interface?, call-property*)>
+
+<!-- The wsdl-override element the actual wsdl docuement the web service client
+uses to connect to the remote service. It overrides the value of wsdl-file in ejb-jar.xml.
+
+Used in: service-ref
+-->
+<!ELEMENT wsdl-override (#PCDATA)>
+
+<!-- Fully qualified name of service endpoint interface
+-->
+<!ELEMENT service-endpoint-interface ( #PCDATA )>
+
+<!-- Arbitrary jaxrpc property values that should be set on a Call object
+before it's returned to the web service client. The valid properties can be any
+properties supported by the jaxrpc Call implementation.
+-->
+<!ELEMENT call-property ( prop-name, prop-value )>
+
+<!-- The string value of a property name
+-->
+<!ELEMENT prop-name (#PCDATA)>
+
+<!-- The string value of a property value
+-->
+<!ELEMENT prop-value (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/service-ref_4_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/service-ref_4_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/service-ref_4_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,90 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<!-- 
+  $Id: jboss-web_4_0.dtd 60134 2007-01-31 13:14:47Z thomas.diesler at jboss.com $
+  
+  <!DOCTYPE jboss-web PUBLIC
+    "-//JBoss//DTD Web Service Reference 4.2//EN"
+    "http://www.jboss.org/j2ee/dtd/service-ref_4_2.dtd">     
+-->
+
+<!-- 
+  The service-ref element provides jboss specific deployment values to
+  the web service reference in application-client.xml.
+  
+  Example:
+    <service-ref>
+        <service-ref-name>OrganizationService</service-ref-name>
+        <wsdl-override>file:/wsdlRepository/organization-service.wsdl</wsdl-override>
+    </service-ref>
+
+    <service-ref>
+        <service-ref-name>OrganizationService</service-ref-name>
+        <config-name>Secure Client Config</config-name>
+        <config-file>META-INF/jbossws-client-config.xml</config-file>
+        <port-component-ref>
+          <service-endpoint-interface>com.dot.SEI</service-endpoint-interface>
+          <call-property>
+            <prop-name>X</prop-name>
+            <prop-value>Y</prop-value>
+          </call-property>
+        </port-component-ref>
+    </service-ref>
+-->
+<!ELEMENT service-ref (service-ref-name, config-name?, config-file?, port-component-ref*, wsdl-override?, call-property*)>
+
+<!-- The service-ref-name element gives the ENC relative name used
+in the ejb-jar.xml service-ref-name element.
+
+Used in: service-ref
+-->
+<!ELEMENT service-ref-name (#PCDATA)>
+
+<!-- The optional config-name element gives the client configuration name that must be present in
+the configuration given by element config-file. 
+	
+The default is: Standard Client
+
+Used in: service-ref
+-->
+<!ELEMENT config-name (#PCDATA)>
+
+<!-- The optional config-file element gives the to a URL or resource name for the client configuration.
+The default is: META-INF/standard-jbossws-client-config.xml
+
+Used in: service-ref
+-->
+<!ELEMENT config-file (#PCDATA)>
+
+<!-- The port-component-ref element provides additional information about
+the standard j2ee service-reference/port-component-ref. Currently this includes
+properties that should be associated with the call/stub for the port.
+
+Used in: service-ref
+-->
+<!ELEMENT port-component-ref (service-endpoint-interface?, call-property*)>
+
+<!-- The wsdl-override element the actual wsdl docuement the web service client
+uses to connect to the remote service. It overrides the value of wsdl-file in ejb-jar.xml.
+
+Used in: service-ref
+-->
+<!ELEMENT wsdl-override (#PCDATA)>
+
+<!-- Fully qualified name of service endpoint interface
+-->
+<!ELEMENT service-endpoint-interface ( #PCDATA )>
+
+<!-- Arbitrary jaxrpc property values that should be set on a Call object
+before it's returned to the web service client. The valid properties can be any
+properties supported by the jaxrpc Call implementation.
+-->
+<!ELEMENT call-property ( prop-name, prop-value )>
+
+<!-- The string value of a property name
+-->
+<!ELEMENT prop-name (#PCDATA)>
+
+<!-- The string value of a property value
+-->
+<!ELEMENT prop-value (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-app_2_2.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-app_2_2.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-app_2_2.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,639 @@
+<!--
+Copyright 1999 Sun Microsystems, Inc. 901 San Antonio Road,
+Palo Alto, CA  94303, U.S.A.  All rights reserved.
+ 
+This product or document is protected by copyright and distributed
+under licenses restricting its use, copying, distribution, and
+decompilation.  No part of this product or documentation may be
+reproduced in any form by any means without prior written authorization
+of Sun and its licensors, if any.  
+
+Third party software, including font technology, is copyrighted and 
+licensed from Sun suppliers. 
+
+Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java 
+Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans, 
+are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S. 
+and other countries.
+
+All SPARC trademarks are used under license and are trademarks
+or registered trademarks of SPARC International, Inc.
+in the U.S. and other countries. Products bearing SPARC
+trademarks are based upon an architecture developed by Sun Microsystems, Inc. 
+
+PostScript is a registered trademark of Adobe Systems, Inc. 
+
+ 
+Federal Acquisitions: Commercial Software - Government Users Subject to 
+Standard License Terms and Conditions.
+
+
+ 
+DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
+CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
+IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT
+TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY
+INVALID.
+
+_________________________________________________________________________
+Copyright 1999 Sun Microsystems, Inc., 
+901 San Antonio Road, Palo Alto, CA  94303, Etats-Unis. 
+Tous droits re'serve's.
+ 
+
+Ce produit ou document est prote'ge' par un copyright et distribue' avec 
+des licences qui en restreignent l'utilisation, la copie, la distribution,
+et la de'compilation.  Aucune partie de ce produit ou de sa documentation
+associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen 
+que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses 
+bailleurs de licence, s'il y en a.  
+
+Le logiciel de'tenu par des tiers, et qui comprend la technologie 
+relative aux polices de caracte`res, est prote'ge' par un copyright 
+et licencie' par des fournisseurs de Sun.
+ 
+Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java 
+Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans,  
+sont des marques de fabrique ou des marques de'pose'es de Sun 
+Microsystems, Inc. aux Etats-Unis et dans d'autres pays.
+ 
+Toutes les marques SPARC sont utilise'es sous licence et sont
+des marques de fabrique ou des marques de'pose'es de SPARC
+International, Inc. aux Etats-Unis et  dans
+d'autres pays. Les produits portant les marques SPARC sont
+base's sur une architecture de'veloppe'e par Sun Microsystems, Inc.  
+
+Postcript est une marque enregistre'e d'Adobe Systems Inc. 
+ 
+LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS,
+DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES,
+DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT
+TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE
+A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.
+-->
+
+<!--
+The web-app element is the root of the deployment descriptor for
+a web application
+-->
+
+<!ELEMENT web-app (icon?, display-name?, description?, distributable?,
+context-param*, servlet*, servlet-mapping*, session-config?,
+mime-mapping*, welcome-file-list?, error-page*, taglib*,
+resource-ref*, security-constraint*, login-config?, security-role*,
+env-entry*, ejb-ref*)>
+
+<!--
+The icon element contains a small-icon and a large-icon element
+which specify the location within the web application for a small and
+large image used to represent the web application in a GUI tool. At a
+minimum, tools must accept GIF and JPEG format images.
+-->
+
+<!ELEMENT icon (small-icon?, large-icon?)>
+
+<!--
+The small-icon element contains the location within the web
+application of a file containing a small (16x16 pixel) icon image.
+-->
+
+<!ELEMENT small-icon (#PCDATA)>
+
+<!--
+The large-icon element contains the location within the web
+application of a file containing a large (32x32 pixel) icon image.
+-->
+
+<!ELEMENT large-icon (#PCDATA)>
+
+<!--
+The display-name element contains a short name that is intended
+to be displayed by GUI tools
+-->
+
+<!ELEMENT display-name (#PCDATA)>
+
+<!--
+The description element is used to provide descriptive text about
+the parent element.
+-->
+
+<!ELEMENT description (#PCDATA)>
+
+<!--
+The distributable element, by its presence in a web application
+deployment descriptor, indicates that this web application is
+programmed appropriately to be deployed into a distributed servlet
+container
+-->
+
+<!ELEMENT distributable EMPTY>
+
+<!--
+The context-param element contains the declaration of a web
+application's servlet context initialization parameters.
+-->
+
+<!ELEMENT context-param (param-name, param-value, description?)>
+
+<!--
+The param-name element contains the name of a parameter.
+-->
+
+<!ELEMENT param-name (#PCDATA)>
+
+<!--
+The param-value element contains the value of a parameter.
+-->
+
+<!ELEMENT param-value (#PCDATA)>
+
+<!--
+The servlet element contains the declarative data of a
+servlet. If a jsp-file is specified and the load-on-startup element is
+present, then the JSP should be precompiled and loaded.
+-->
+
+<!ELEMENT servlet (icon?, servlet-name, display-name?, description?,
+(servlet-class|jsp-file), init-param*, load-on-startup?, security-role-ref*)>
+
+<!--
+The servlet-name element contains the canonical name of the
+servlet.
+-->
+
+<!ELEMENT servlet-name (#PCDATA)>
+
+<!--
+The servlet-class element contains the fully qualified class name
+of the servlet.
+-->
+
+<!ELEMENT servlet-class (#PCDATA)>
+
+<!--
+The jsp-file element contains the full path to a JSP file within
+the web application.
+-->
+
+<!ELEMENT jsp-file (#PCDATA)>
+
+<!--
+The init-param element contains a name/value pair as an
+initialization param of the servlet
+-->
+
+<!ELEMENT init-param (param-name, param-value, description?)>
+
+<!--
+The load-on-startup element indicates that this servlet should be
+loaded on the startup of the web application. The optional contents of
+these element must be a positive integer indicating the order in which
+the servlet should be loaded. Lower integers are loaded before higher
+integers. If no value is specified, or if the value specified is not a
+positive integer, the container is free to load it at any time in the
+startup sequence.
+-->
+
+<!ELEMENT load-on-startup (#PCDATA)>
+
+<!--
+The servlet-mapping element defines a mapping between a servlet
+and a url pattern
+-->
+
+<!ELEMENT servlet-mapping (servlet-name, url-pattern)>
+
+<!--
+The url-pattern element contains the url pattern of the
+mapping. Must follow the rules specified in Section 10 of the Servlet
+API Specification.
+-->
+
+<!ELEMENT url-pattern (#PCDATA)>
+
+<!--
+The session-config element defines the session parameters for
+this web application.
+-->
+
+<!ELEMENT session-config (session-timeout?)>
+
+<!--
+The session-timeout element defines the default session timeout
+interval for all sessions created in this web application. The
+specified timeout must be expressed in a whole number of minutes.
+-->
+
+<!ELEMENT session-timeout (#PCDATA)>
+
+<!--
+The mime-mapping element defines a mapping between an extension
+and a mime type.
+-->
+
+<!ELEMENT mime-mapping (extension, mime-type)>
+
+<!--
+The extension element contains a string describing an
+extension. example: "txt"
+-->
+
+<!ELEMENT extension (#PCDATA)>
+
+<!--
+The mime-type element contains a defined mime type. example:
+"text/plain"
+-->
+
+<!ELEMENT mime-type (#PCDATA)>
+
+<!--
+The welcome-file-list contains an ordered list of welcome files
+elements.
+-->
+
+<!ELEMENT welcome-file-list (welcome-file+)>
+
+<!--
+The welcome-file element contains file name to use as a default
+welcome file, such as index.html
+-->
+
+<!ELEMENT welcome-file (#PCDATA)>
+
+<!--
+The taglib element is used to describe a JSP tag library.
+-->
+
+<!ELEMENT taglib (taglib-uri, taglib-location)>
+
+<!--
+The taglib-uri element describes a URI, relative to the location
+of the web.xml document, identifying a Tag Library used in the Web
+Application.
+-->
+
+<!ELEMENT taglib-uri (#PCDATA)>
+
+<!--
+the taglib-location element contains the location (as a resource
+relative to the root of the web application) where to find the Tag
+Libary Description file for the tag library.
+-->
+
+<!ELEMENT taglib-location (#PCDATA)>
+
+<!--
+The error-page element contains a mapping between an error code
+or exception type to the path of a resource in the web application
+-->
+
+<!ELEMENT error-page ((error-code | exception-type), location)>
+
+<!--
+The error-code contains an HTTP error code, ex: 404
+-->
+
+<!ELEMENT error-code (#PCDATA)>
+
+<!--
+The exception type contains a fully qualified class name of a
+Java exception type.
+-->
+
+<!ELEMENT exception-type (#PCDATA)>
+
+<!--
+The location element contains the location of the resource in the
+web application
+-->
+
+<!ELEMENT location (#PCDATA)>
+
+<!--
+The resource-ref element contains a declaration of a Web
+Application's reference to an external resource.
+-->
+
+<!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth)>
+
+<!--
+The res-ref-name element specifies the name of the resource
+factory reference name.
+-->
+
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+The res-type element specifies the (Java class) type of the data
+source.
+-->
+
+<!ELEMENT res-type (#PCDATA)>
+
+<!--
+The res-auth element indicates whether the application component
+code performs resource signon programmatically or whether the
+container signs onto the resource based on the principle mapping
+information supplied by the deployer. Must be CONTAINER or SERVLET
+-->
+
+<!ELEMENT res-auth (#PCDATA)>
+
+<!--
+The security-constraint element is used to associate security
+constraints with one or more web resource collections
+-->
+
+<!ELEMENT security-constraint (web-resource-collection+,
+auth-constraint?, user-data-constraint?)>
+
+<!--
+The web-resource-collection element is used to identify a subset
+of the resources and HTTP methods on those resources within a web
+application to which a security constraint applies. If no HTTP methods
+are specified, then the security constraint applies to all HTTP
+methods.
+-->
+
+<!ELEMENT web-resource-collection (web-resource-name, description?,
+url-pattern*, http-method*)>
+
+<!--
+The web-resource-name contains the name of this web resource
+collection
+-->
+
+<!ELEMENT web-resource-name (#PCDATA)>
+
+<!--
+The http-method contains an HTTP method (GET | POST |...)
+-->
+
+<!ELEMENT http-method (#PCDATA)>
+
+<!--
+The user-data-constraint element is used to indicate how data
+communicated between the client and container should be protected
+-->
+
+<!ELEMENT user-data-constraint (description?, transport-guarantee)>
+
+<!--
+The transport-guarantee element specifies that the communication
+between client and server should be NONE, INTEGRAL, or
+CONFIDENTIAL. NONE means that the application does not require any
+transport guarantees. A value of INTEGRAL means that the application
+requires that the data sent between the client and server be sent in
+such a way that it can't be changed in transit. CONFIDENTIAL means
+that the application requires that the data be transmitted in a
+fashion that prevents other entities from observing the contents of
+the transmission. In most cases, the presence of the INTEGRAL or
+CONFIDENTIAL flag will indicate that the use of SSL is required.
+-->
+
+<!ELEMENT transport-guarantee (#PCDATA)>
+
+<!--
+The auth-constraint element indicates the user roles that should
+be permitted access to this resource collection. The role used here
+must appear in a security-role-ref element.
+-->
+
+<!ELEMENT auth-constraint (description?, role-name*)>
+
+<!--
+The role-name element contains the name of a security role.
+-->
+
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+The login-config element is used to configure the authentication
+method that should be used, the realm name that should be used for
+this application, and the attributes that are needed by the form login
+mechanism.
+-->
+
+<!ELEMENT login-config (auth-method?, realm-name?, form-login-config?)>
+
+<!--
+The realm name element specifies the realm name to use in HTTP
+Basic authorization
+-->
+
+<!ELEMENT realm-name (#PCDATA)>
+
+<!--
+The form-login-config element specifies the login and error pages
+that should be used in form based login. If form based authentication
+is not used, these elements are ignored.
+-->
+
+<!ELEMENT form-login-config (form-login-page, form-error-page)>
+
+<!--
+The form-login-page element defines the location in the web app
+where the page that can be used for login can be found
+-->
+
+<!ELEMENT form-login-page (#PCDATA)>
+
+<!--
+The form-error-page element defines the location in the web app
+where the error page that is displayed when login is not successful
+can be found
+-->
+
+<!ELEMENT form-error-page (#PCDATA)>
+
+<!--
+The auth-method element is used to configure the authentication
+mechanism for the web application. As a prerequisite to gaining access
+to any web resources which are protected by an authorization
+constraint, a user must have authenticated using the configured
+mechanism. Legal values for this element are "BASIC", "DIGEST",
+"FORM", or "CLIENT-CERT".
+-->
+
+<!ELEMENT auth-method (#PCDATA)>
+
+<!--
+The security-role element contains the declaration of a security
+role which is used in the security-constraints placed on the web
+application.
+-->
+
+<!ELEMENT security-role (description?, role-name)>
+
+<!--
+The role-name element contains the name of a role. This element
+must contain a non-empty string.
+-->
+
+<!ELEMENT security-role-ref (description?, role-name, role-link)>
+
+<!--
+The role-link element is used to link a security role reference
+to a defined security role. The role-link element must contain the
+name of one of the security roles defined in the security-role
+elements.
+-->
+
+<!ELEMENT role-link (#PCDATA)>
+
+<!--
+The env-entry element contains the declaration of an
+application's environment entry. This element is required to be
+honored on in J2EE compliant servlet containers.
+-->
+
+<!ELEMENT env-entry (description?, env-entry-name, env-entry-value?,
+env-entry-type)>
+
+<!--
+The env-entry-name contains the name of an application's
+environment entry
+-->
+
+<!ELEMENT env-entry-name (#PCDATA)>
+
+<!--
+The env-entry-value element contains the value of an
+application's environment entry
+-->
+
+<!ELEMENT env-entry-value (#PCDATA)>
+
+<!--
+The env-entry-type element contains the fully qualified Java type
+of the environment entry value that is expected by the application
+code. The following are the legal values of env-entry-type:
+java.lang.Boolean, java.lang.String, java.lang.Integer,
+java.lang.Double, java.lang.Float.
+-->
+
+<!ELEMENT env-entry-type (#PCDATA)>
+
+<!--
+The ejb-ref element is used to declare a reference to an
+enterprise bean. 
+-->
+
+<!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type, home, remote,
+ejb-link?)>
+
+<!--
+The ejb-ref-name element contains the name of an EJB
+reference. This is the JNDI name that the servlet code uses to get a
+reference to the enterprise bean.
+-->
+
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--
+The ejb-ref-type element contains the expected java class type of
+the referenced EJB.
+-->
+
+<!ELEMENT ejb-ref-type (#PCDATA)>
+
+<!--
+The ejb-home element contains the fully qualified name of the
+EJB's home interface
+-->
+
+<!ELEMENT home (#PCDATA)>
+
+<!--
+The ejb-remote element contains the fully qualified name of the
+EJB's remote interface
+-->
+
+<!ELEMENT remote (#PCDATA)>
+
+<!--
+The ejb-link element is used in the ejb-ref element to specify
+that an EJB reference is linked to an EJB in an encompassing Java2
+Enterprise Edition (J2EE) application package. The value of the
+ejb-link element must be the ejb-name of and EJB in the J2EE
+application package.
+-->
+
+<!ELEMENT ejb-link (#PCDATA)>
+
+<!--
+The ID mechanism is to allow tools to easily make tool-specific
+references to the elements of the deployment descriptor. This allows
+tools that produce additional deployment information (i.e information
+beyond the standard deployment descriptor information) to store the
+non-standard information in a separate file, and easily refer from
+these tools-specific files to the information in the standard web-app
+deployment descriptor.
+-->
+
+<!ATTLIST web-app id ID #IMPLIED>
+<!ATTLIST icon id ID #IMPLIED>
+<!ATTLIST small-icon id ID #IMPLIED>
+<!ATTLIST large-icon id ID #IMPLIED>
+<!ATTLIST display-name id ID #IMPLIED>
+<!ATTLIST description id ID #IMPLIED>
+<!ATTLIST distributable id ID #IMPLIED>
+<!ATTLIST context-param id ID #IMPLIED>
+<!ATTLIST param-name id ID #IMPLIED>
+<!ATTLIST param-value id ID #IMPLIED>
+<!ATTLIST servlet id ID #IMPLIED>
+<!ATTLIST servlet-name id ID #IMPLIED>
+<!ATTLIST servlet-class id ID #IMPLIED>
+<!ATTLIST jsp-file id ID #IMPLIED>
+<!ATTLIST init-param id ID #IMPLIED>
+<!ATTLIST load-on-startup id ID #IMPLIED>
+<!ATTLIST servlet-mapping id ID #IMPLIED>
+<!ATTLIST url-pattern id ID #IMPLIED>
+<!ATTLIST session-config id ID #IMPLIED>
+<!ATTLIST session-timeout id ID #IMPLIED>
+<!ATTLIST mime-mapping id ID #IMPLIED>
+<!ATTLIST extension id ID #IMPLIED>
+<!ATTLIST mime-type id ID #IMPLIED>
+<!ATTLIST welcome-file-list id ID #IMPLIED>
+<!ATTLIST welcome-file id ID #IMPLIED>
+<!ATTLIST taglib id ID #IMPLIED>
+<!ATTLIST taglib-uri id ID #IMPLIED>
+<!ATTLIST taglib-location id ID #IMPLIED>
+<!ATTLIST error-page id ID #IMPLIED>
+<!ATTLIST error-code id ID #IMPLIED>
+<!ATTLIST exception-type id ID #IMPLIED>
+<!ATTLIST location id ID #IMPLIED>
+<!ATTLIST resource-ref id ID #IMPLIED>
+<!ATTLIST res-ref-name id ID #IMPLIED>
+<!ATTLIST res-type id ID #IMPLIED>
+<!ATTLIST res-auth id ID #IMPLIED>
+<!ATTLIST security-constraint id ID #IMPLIED>
+<!ATTLIST web-resource-collection id ID #IMPLIED>
+<!ATTLIST web-resource-name id ID #IMPLIED>
+<!ATTLIST http-method id ID #IMPLIED>
+<!ATTLIST user-data-constraint id ID #IMPLIED>
+<!ATTLIST transport-guarantee id ID #IMPLIED>
+<!ATTLIST auth-constraint id ID #IMPLIED>
+<!ATTLIST role-name id ID #IMPLIED>
+<!ATTLIST login-config id ID #IMPLIED>
+<!ATTLIST realm-name id ID #IMPLIED>
+<!ATTLIST form-login-config id ID #IMPLIED>
+<!ATTLIST form-login-page id ID #IMPLIED>
+<!ATTLIST form-error-page id ID #IMPLIED>
+<!ATTLIST auth-method id ID #IMPLIED>
+<!ATTLIST security-role id ID #IMPLIED>
+<!ATTLIST security-role-ref id ID #IMPLIED>
+<!ATTLIST role-link id ID #IMPLIED>
+<!ATTLIST env-entry id ID #IMPLIED>
+<!ATTLIST env-entry-name id ID #IMPLIED>
+<!ATTLIST env-entry-value id ID #IMPLIED>
+<!ATTLIST env-entry-type id ID #IMPLIED>
+<!ATTLIST ejb-ref id ID #IMPLIED>
+<!ATTLIST ejb-ref-name id ID #IMPLIED>
+<!ATTLIST ejb-ref-type id ID #IMPLIED>
+<!ATTLIST home id ID #IMPLIED>
+<!ATTLIST remote id ID #IMPLIED>
+<!ATTLIST ejb-link id ID #IMPLIED>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-app_2_3.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-app_2_3.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-app_2_3.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1063 @@
+<!--
+Copyright (c) 2000 Sun Microsystems, Inc.,
+901 San Antonio Road,
+Palo Alto, California 94303, U.S.A.
+All rights reserved.
+
+Sun Microsystems, Inc. has intellectual property rights relating to
+technology embodied in the product that is described in this document.
+In particular, and without limitation, these intellectual property
+rights may include one or more of the U.S. patents listed at
+http://www.sun.com/patents and one or more additional patents or
+pending patent applications in the U.S. and in other countries.
+
+This document and the product to which it pertains are distributed
+under licenses restricting their use, copying, distribution, and
+decompilation.  This document may be reproduced and distributed but may
+not be changed without prior written authorization of Sun and its
+licensors, if any.
+
+Third-party software, including font technology, is copyrighted and
+licensed from Sun suppliers.
+
+Sun,  Sun Microsystems,  the Sun logo,  Java,  JavaServer Pages,  Java
+Naming and Directory Interface,  JDBC,  JDK,  JavaMail and  and
+Enterprise JavaBeans are trademarks or registered trademarks of Sun
+Microsystems, Inc. in the U.S. and other countries.
+
+Federal Acquisitions: Commercial Software - Government Users Subject to
+Standard License Terms and Conditions.
+
+DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
+CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
+WARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE OR
+NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
+DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
+
+
+_________________________________________________________________________
+
+Copyright (c) 2000 Sun Microsystems, Inc.,
+901 San Antonio Road,
+Palo Alto, California 94303, E'tats-Unis.
+Tous droits re'serve's.
+
+Sun Microsystems, Inc. a les droits de proprie'te' intellectuels
+relatants a` la technologie incorpore'e dans le produit qui est de'crit
+dans ce document. En particulier, et sans la limitation, ces droits de
+proprie'te' intellectuels peuvent inclure un ou plus des brevets
+ame'ricains e'nume're's a` http://www.sun.com/patents et un ou les
+brevets plus supple'mentaires ou les applications de brevet en attente
+dans les E'tats-Unis et dans les autres pays.
+
+Ce produit ou document est prote'ge' par un copyright et distribue'
+avec des licences qui en restreignent l'utilisation, la copie, la
+distribution, et la de'compilation.  Ce documention associe n peut
+e^tre reproduite et distribuer, par quelque moyen que ce soit, sans
+l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de
+licence, le cas e'che'ant.
+
+Le logiciel de'tenu par des tiers, et qui comprend la technologie
+relative aux polices de caracte`res, est prote'ge' par un copyright et
+licencie' par des fournisseurs de Sun.
+
+Sun,  Sun Microsystems,  le logo Sun,  Java,  JavaServer Pages,  Java
+Naming and Directory Interface,  JDBC,  JDK,  JavaMail et  and
+Enterprise JavaBeans sont des marques de fabrique ou des marques
+de'pose'es de Sun Microsystems, Inc. aux E'tats-Unis et dans d'autres
+pays.
+
+LA DOCUMENTATION EST FOURNIE "EN L'E'TAT" ET TOUTES AUTRES CONDITIONS,
+DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT
+EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS
+NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A
+L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE
+CONTREFAC,ON.
+-->
+
+<!--
+This is the XML DTD for the Servlet 2.3 deployment descriptor.
+All Servlet 2.3 deployment descriptors must include a DOCTYPE
+of the following form:
+
+  <!DOCTYPE web-app PUBLIC
+	"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+	"http://java.sun.com/dtd/web-app_2_3.dtd">
+
+-->
+
+<!--
+The following conventions apply to all J2EE deployment descriptor
+elements unless indicated otherwise.
+
+- In elements that contain PCDATA, leading and trailing whitespace
+  in the data may be ignored.
+
+- In elements whose value is an "enumerated type", the value is
+  case sensitive.
+
+- In elements that specify a pathname to a file within the same
+  JAR file, relative filenames (i.e., those not starting with "/")
+  are considered relative to the root of the JAR file's namespace.
+  Absolute filenames (i.e., those starting with "/") also specify
+  names in the root of the JAR file's namespace.  In general, relative
+  names are preferred.  The exception is .war files where absolute
+  names are preferred for consistency with the servlet API.
+-->
+
+
+<!--
+The web-app element is the root of the deployment descriptor for
+a web application.
+-->
+<!ELEMENT web-app (icon?, display-name?, description?, distributable?,
+context-param*, filter*, filter-mapping*, listener*, servlet*,
+servlet-mapping*, session-config?, mime-mapping*, welcome-file-list?,
+error-page*, taglib*, resource-env-ref*, resource-ref*, security-constraint*,
+login-config?, security-role*, env-entry*, ejb-ref*,  ejb-local-ref*)>
+
+<!--
+The auth-constraint element indicates the user roles that should
+be permitted access to this resource collection. The role-name
+used here must either correspond to the role-name of one of the
+security-role elements defined for this web application, or be
+the specially reserved role-name "*" that is a compact syntax for
+indicating all roles in the web application. If both "*" and
+rolenames appear, the container interprets this as all roles.
+If no roles are defined, no user is allowed access to the portion of
+the web application described by the containing security-constraint.
+The container matches role names case sensitively when determining
+access.
+
+
+Used in: security-constraint
+-->
+<!ELEMENT auth-constraint (description?, role-name*)>
+
+<!--
+The auth-method element is used to configure the authentication
+mechanism for the web application. As a prerequisite to gaining access to any web resources which are protected by an authorization
+constraint, a user must have authenticated using the configured
+mechanism. Legal values for this element are "BASIC", "DIGEST",
+"FORM", or "CLIENT-CERT".
+
+Used in: login-config
+-->
+<!ELEMENT auth-method (#PCDATA)>
+
+<!--
+The context-param element contains the declaration of a web
+application's servlet context initialization parameters.
+
+Used in: web-app
+-->
+<!ELEMENT context-param (param-name, param-value, description?)>
+
+<!--
+The description element is used to provide text describing the parent
+element.  The description element should include any information that
+the web application war file producer wants to provide to the consumer of
+the web application war file (i.e., to the Deployer). Typically, the tools
+used by the web application war file consumer will display the description
+when processing the parent element that contains the description.
+
+Used in: auth-constraint, context-param, ejb-local-ref, ejb-ref,
+env-entry, filter, init-param, resource-env-ref, resource-ref, run-as,
+security-role, security-role-ref, servlet, user-data-constraint,
+web-app, web-resource-collection
+-->
+<!ELEMENT description (#PCDATA)>
+
+<!--
+The display-name element contains a short name that is intended to be
+displayed by tools.  The display name need not be unique.
+
+Used in: filter, security-constraint, servlet, web-app
+
+Example:
+
+<display-name>Employee Self Service</display-name>
+-->
+<!ELEMENT display-name (#PCDATA)>
+
+<!--
+The distributable element, by its presence in a web application
+deployment descriptor, indicates that this web application is
+programmed appropriately to be deployed into a distributed servlet
+container
+
+Used in: web-app
+-->
+<!ELEMENT distributable EMPTY>
+
+<!--
+The ejb-link element is used in the ejb-ref or ejb-local-ref
+elements to specify that an EJB reference is linked to an
+enterprise bean.
+
+The name in the ejb-link element is composed of a
+path name specifying the ejb-jar containing the referenced enterprise
+bean with the ejb-name of the target bean appended and separated from
+the path name by "#".  The path name is relative to the war file
+containing the web application that is referencing the enterprise bean.
+This allows multiple enterprise beans with the same ejb-name to be
+uniquely identified.
+
+Used in: ejb-local-ref, ejb-ref
+
+Examples:
+
+	<ejb-link>EmployeeRecord</ejb-link>
+
+	<ejb-link>../products/product.jar#ProductEJB</ejb-link>
+
+-->
+<!ELEMENT ejb-link (#PCDATA)>
+
+<!--
+The ejb-local-ref element is used for the declaration of a reference to
+an enterprise bean's local home. The declaration consists of:
+
+	- an optional description
+	- the EJB reference name used in the code of the web application
+	  that's referencing the enterprise bean
+	- the expected type of the referenced enterprise bean
+	- the expected local home and local interfaces of the referenced
+	  enterprise bean
+	- optional ejb-link information, used to specify the referenced
+	  enterprise bean
+
+Used in: web-app
+-->
+<!ELEMENT ejb-local-ref (description?, ejb-ref-name, ejb-ref-type,
+		local-home, local, ejb-link?)>
+
+<!--
+The ejb-ref element is used for the declaration of a reference to
+an enterprise bean's home. The declaration consists of:
+
+	- an optional description
+	- the EJB reference name used in the code of
+	  the web application that's referencing the enterprise bean
+	- the expected type of the referenced enterprise bean
+	- the expected home and remote interfaces of the referenced
+	  enterprise bean
+	- optional ejb-link information, used to specify the referenced
+	  enterprise bean
+
+Used in: web-app
+-->
+<!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type,
+		home, remote, ejb-link?)>
+
+<!--
+The ejb-ref-name element contains the name of an EJB reference. The
+EJB reference is an entry in the web application's environment and is
+relative to the java:comp/env context.  The name must be unique
+within the web application.
+
+It is recommended that name is prefixed with "ejb/".
+
+Used in: ejb-local-ref, ejb-ref
+
+Example:
+
+<ejb-ref-name>ejb/Payroll</ejb-ref-name>
+-->
+<!ELEMENT ejb-ref-name (#PCDATA)>
+
+<!--
+The ejb-ref-type element contains the expected type of the
+referenced enterprise bean.
+
+The ejb-ref-type element must be one of the following:
+
+	<ejb-ref-type>Entity</ejb-ref-type>
+	<ejb-ref-type>Session</ejb-ref-type>
+
+Used in: ejb-local-ref, ejb-ref
+-->
+<!ELEMENT ejb-ref-type (#PCDATA)>
+
+<!--
+The env-entry element contains the declaration of a web application's
+environment entry. The declaration consists of an optional
+description, the name of the environment entry, and an optional
+value.  If a value is not specified, one must be supplied
+during deployment.
+-->
+<!ELEMENT env-entry (description?, env-entry-name, env-entry-value?,
+env-entry-type)>
+
+<!--
+The env-entry-name element contains the name of a web applications's
+environment entry.  The name is a JNDI name relative to the
+java:comp/env context.  The name must be unique within a web application.
+
+Example:
+
+<env-entry-name>minAmount</env-entry-name>
+
+Used in: env-entry
+-->
+<!ELEMENT env-entry-name (#PCDATA)>
+
+<!--
+The env-entry-type element contains the fully-qualified Java type of
+the environment entry value that is expected by the web application's
+code.
+
+The following are the legal values of env-entry-type:
+
+	java.lang.Boolean
+	java.lang.Byte
+	java.lang.Character
+	java.lang.String
+	java.lang.Short
+	java.lang.Integer
+	java.lang.Long
+	java.lang.Float
+	java.lang.Double
+
+Used in: env-entry
+-->
+<!ELEMENT env-entry-type (#PCDATA)>
+
+<!--
+The env-entry-value element contains the value of a web application's
+environment entry. The value must be a String that is valid for the
+constructor of the specified type that takes a single String
+parameter, or for java.lang.Character, a single character.
+
+Example:
+
+<env-entry-value>100.00</env-entry-value>
+
+Used in: env-entry
+-->
+<!ELEMENT env-entry-value (#PCDATA)>
+
+<!--
+The error-code contains an HTTP error code, ex: 404
+
+Used in: error-page
+-->
+<!ELEMENT error-code (#PCDATA)>
+
+<!--
+The error-page element contains a mapping between an error code
+or exception type to the path of a resource in the web application
+
+Used in: web-app
+-->
+<!ELEMENT error-page ((error-code | exception-type), location)>
+
+<!--
+The exception type contains a fully qualified class name of a
+Java exception type.
+
+Used in: error-page
+-->
+<!ELEMENT exception-type (#PCDATA)>
+
+<!--
+The extension element contains a string describing an
+extension. example: "txt"
+
+Used in: mime-mapping
+-->
+<!ELEMENT extension (#PCDATA)>
+
+<!--
+Declares a filter in the web application. The filter is mapped to
+either a servlet or a URL pattern in the filter-mapping element, using
+the filter-name value to reference. Filters can access the
+initialization parameters declared in the deployment descriptor at
+runtime via the FilterConfig interface.
+
+Used in: web-app
+-->
+<!ELEMENT filter (icon?, filter-name, display-name?, description?,
+filter-class, init-param*)>
+
+<!--
+The fully qualified classname of the filter.
+
+Used in: filter
+-->
+<!ELEMENT filter-class (#PCDATA)>
+
+<!--
+Declaration of the filter mappings in this web application. The
+container uses the filter-mapping declarations to decide which filters
+to apply to a request, and in what order. The container matches the
+request URI to a Servlet in the normal way. To determine which filters
+to apply it matches filter-mapping declarations either on servlet-name,
+or on url-pattern for each filter-mapping element, depending on which
+style is used. The order in which filters are invoked is the order in
+which filter-mapping declarations that match a request URI for a
+servlet appear in the list of filter-mapping elements.The filter-name
+value must be the value of the <filter-name> sub-elements of one of the
+<filter> declarations in the deployment descriptor.
+
+Used in: web-app
+-->
+<!ELEMENT filter-mapping (filter-name, (url-pattern | servlet-name))>
+
+<!--
+The logical name of the filter. This name is used to map the filter.
+Each filter name is unique within the web application.
+
+Used in: filter, filter-mapping
+-->
+<!ELEMENT filter-name (#PCDATA)>
+
+<!--
+The form-error-page element defines the location in the web app
+where the error page that is displayed when login is not successful
+can be found. The path begins with a leading / and is interpreted
+relative to the root of the WAR.
+
+Used in: form-login-config
+-->
+<!ELEMENT form-error-page (#PCDATA)>
+
+<!--
+The form-login-config element specifies the login and error pages
+that should be used in form based login. If form based authentication
+is not used, these elements are ignored.
+
+Used in: login-config
+-->
+<!ELEMENT form-login-config (form-login-page, form-error-page)>
+
+<!--
+The form-login-page element defines the location in the web app
+where the page that can be used for login can be found. The path
+begins with a leading / and is interpreted relative to the root of the WAR.
+
+Used in: form-login-config
+-->
+<!ELEMENT form-login-page (#PCDATA)>
+
+<!--
+The home element contains the fully-qualified name of the enterprise
+bean's home interface.
+
+Used in: ejb-ref
+
+Example:
+
+<home>com.aardvark.payroll.PayrollHome</home>
+-->
+<!ELEMENT home (#PCDATA)>
+
+<!--
+The http-method contains an HTTP method (GET | POST |...).
+
+Used in: web-resource-collection
+-->
+<!ELEMENT http-method (#PCDATA)>
+
+<!--
+The icon element contains small-icon and large-icon elements that
+specify the file names for small and a large GIF or JPEG icon images
+used to represent the parent element in a GUI tool.
+
+Used in: filter, servlet, web-app
+-->
+<!ELEMENT icon (small-icon?, large-icon?)>
+
+<!--
+The init-param element contains a name/value pair as an
+initialization param of the servlet
+
+Used in: filter, servlet
+-->
+<!ELEMENT init-param (param-name, param-value, description?)>
+
+<!--
+The jsp-file element contains the full path to a JSP file within
+the web application beginning with a `/'.
+
+Used in: servlet
+-->
+<!ELEMENT jsp-file (#PCDATA)>
+
+<!--
+The large-icon element contains the name of a file
+containing a large (32 x 32) icon image. The file
+name is a relative path within the web application's
+war file.
+
+The image may be either in the JPEG or GIF format.
+The icon can be used by tools.
+
+Used in: icon
+
+Example:
+
+<large-icon>employee-service-icon32x32.jpg</large-icon>
+-->
+<!ELEMENT large-icon (#PCDATA)>
+
+<!--
+The listener element indicates the deployment properties for a web
+application listener bean.
+
+Used in: web-app
+-->
+<!ELEMENT listener (listener-class)>
+
+<!--
+The listener-class element declares a class in the application must be
+registered as a web application listener bean. The value is the fully qualified classname of the listener class.
+
+
+Used in: listener
+-->
+<!ELEMENT listener-class (#PCDATA)>
+
+<!--
+The load-on-startup element indicates that this servlet should be
+loaded (instantiated and have its init() called) on the startup
+of the web application. The optional contents of
+these element must be an integer indicating the order in which
+the servlet should be loaded. If the value is a negative integer,
+or the element is not present, the container is free to load the
+servlet whenever it chooses. If the value is a positive integer
+or 0, the container must load and initialize the servlet as the
+application is deployed. The container must guarantee that
+servlets marked with lower integers are loaded before servlets
+marked with higher integers. The container may choose the order
+of loading of servlets with the same load-on-start-up value.
+
+Used in: servlet
+-->
+<!ELEMENT load-on-startup (#PCDATA)>
+
+<!--
+
+The local element contains the fully-qualified name of the
+enterprise bean's local interface.
+
+Used in: ejb-local-ref
+
+-->
+<!ELEMENT local (#PCDATA)>
+
+<!--
+
+The local-home element contains the fully-qualified name of the
+enterprise bean's local home interface.
+
+Used in: ejb-local-ref
+-->
+<!ELEMENT local-home (#PCDATA)>
+
+<!--
+The location element contains the location of the resource in the web
+application relative to the root of the web application. The value of
+the location must have a leading `/'.
+
+Used in: error-page
+-->
+<!ELEMENT location (#PCDATA)>
+
+<!--
+The login-config element is used to configure the authentication
+method that should be used, the realm name that should be used for
+this application, and the attributes that are needed by the form login
+mechanism.
+
+Used in: web-app
+-->
+<!ELEMENT login-config (auth-method?, realm-name?, form-login-config?)>
+
+<!--
+The mime-mapping element defines a mapping between an extension
+and a mime type.
+
+Used in: web-app
+-->
+<!ELEMENT mime-mapping (extension, mime-type)>
+
+<!--
+The mime-type element contains a defined mime type. example:
+"text/plain"
+
+Used in: mime-mapping
+-->
+<!ELEMENT mime-type (#PCDATA)>
+
+<!--
+The param-name element contains the name of a parameter. Each parameter
+name must be unique in the web application.
+
+
+Used in: context-param, init-param
+-->
+<!ELEMENT param-name (#PCDATA)>
+
+<!--
+The param-value element contains the value of a parameter.
+
+Used in: context-param, init-param
+-->
+<!ELEMENT param-value (#PCDATA)>
+
+<!--
+The realm name element specifies the realm name to use in HTTP
+Basic authorization.
+
+Used in: login-config
+-->
+<!ELEMENT realm-name (#PCDATA)>
+
+<!--
+The remote element contains the fully-qualified name of the enterprise
+bean's remote interface.
+
+Used in: ejb-ref
+
+Example:
+
+<remote>com.wombat.empl.EmployeeService</remote>
+-->
+<!ELEMENT remote (#PCDATA)>
+
+<!--
+The res-auth element specifies whether the web application code signs
+on programmatically to the resource manager, or whether the Container
+will sign on to the resource manager on behalf of the web application. In the
+latter case, the Container uses information that is supplied by the
+Deployer.
+
+The value of this element must be one of the two following:
+
+	<res-auth>Application</res-auth>
+	<res-auth>Container</res-auth>
+
+Used in: resource-ref
+-->
+<!ELEMENT res-auth (#PCDATA)>
+
+<!--
+The res-ref-name element specifies the name of a resource manager
+connection factory reference.  The name is a JNDI name relative to the
+java:comp/env context.  The name must be unique within a web application.
+
+Used in: resource-ref
+-->
+<!ELEMENT res-ref-name (#PCDATA)>
+
+<!--
+The res-sharing-scope element specifies whether connections obtained
+through the given resource manager connection factory reference can be
+shared. The value of this element, if specified, must be one of the
+two following:
+
+	<res-sharing-scope>Shareable</res-sharing-scope>
+	<res-sharing-scope>Unshareable</res-sharing-scope>
+
+The default value is Shareable.
+
+Used in: resource-ref
+-->
+<!ELEMENT res-sharing-scope (#PCDATA)>
+
+<!--
+The res-type element specifies the type of the data source. The type
+is specified by the fully qualified Java language class or interface
+expected to be implemented by the data source.
+
+Used in: resource-ref
+-->
+<!ELEMENT res-type (#PCDATA)>
+
+<!--
+The resource-env-ref element contains a declaration of a web application's
+reference to an administered object associated with a resource
+in the web application's environment.  It consists of an optional
+description, the resource environment reference name, and an
+indication of the resource environment reference type expected by
+the web application code.
+
+Used in: web-app
+
+Example:
+
+<resource-env-ref>
+    <resource-env-ref-name>jms/StockQueue</resource-env-ref-name>
+    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
+</resource-env-ref>
+-->
+<!ELEMENT resource-env-ref (description?, resource-env-ref-name,
+		resource-env-ref-type)>
+
+<!--
+The resource-env-ref-name element specifies the name of a resource
+environment reference; its value is the environment entry name used in
+the web application code.  The name is a JNDI name relative to the
+java:comp/env context and must be unique within a web application.
+
+Used in: resource-env-ref
+-->
+<!ELEMENT resource-env-ref-name (#PCDATA)>
+
+<!--
+The resource-env-ref-type element specifies the type of a resource
+environment reference.  It is the fully qualified name of a Java
+language class or interface.
+
+Used in: resource-env-ref
+-->
+<!ELEMENT resource-env-ref-type (#PCDATA)>
+
+<!--
+The resource-ref element contains a declaration of a web application's
+reference to an external resource. It consists of an optional
+description, the resource manager connection factory reference name,
+the indication of the resource manager connection factory type
+expected by the web application code, the type of authentication
+(Application or Container), and an optional specification of the
+shareability of connections obtained from the resource (Shareable or
+Unshareable).
+
+Used in: web-app
+
+Example:
+
+    <resource-ref>
+	<res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
+	<res-type>javax.sql.DataSource</res-type>
+	<res-auth>Container</res-auth>
+	<res-sharing-scope>Shareable</res-sharing-scope>
+    </resource-ref>
+-->
+<!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth,
+		res-sharing-scope?)>
+
+<!--
+The role-link element is a reference to a defined security role. The
+role-link element must contain the name of one of the security roles
+defined in the security-role elements.
+
+Used in: security-role-ref
+-->
+<!ELEMENT role-link (#PCDATA)>
+
+<!--
+The role-name element contains the name of a security role.
+
+The name must conform to the lexical rules for an NMTOKEN.
+
+Used in: auth-constraint, run-as, security-role, security-role-ref
+-->
+<!ELEMENT role-name (#PCDATA)>
+
+<!--
+The run-as element specifies the run-as identity to be used for the
+execution of the web application. It contains an optional description, and
+the name of a security role.
+
+Used in: servlet
+-->
+<!ELEMENT run-as (description?, role-name)>
+
+<!--
+The security-constraint element is used to associate security
+constraints with one or more web resource collections
+
+Used in: web-app
+-->
+<!ELEMENT security-constraint (display-name?, web-resource-collection+,
+auth-constraint?, user-data-constraint?)>
+
+<!--
+The security-role element contains the definition of a security
+role. The definition consists of an optional description of the
+security role, and the security role name.
+
+Used in: web-app
+
+Example:
+
+    <security-role>
+	<description>
+	    This role includes all employees who are authorized
+	    to access the employee service application.
+	</description>
+	<role-name>employee</role-name>
+    </security-role>
+-->
+<!ELEMENT security-role (description?, role-name)>
+
+<!--
+The security-role-ref element contains the declaration of a security
+role reference in the web application's code. The declaration consists
+of an optional description, the security role name used in the code,
+and an optional link to a security role. If the security role is not
+specified, the Deployer must choose an appropriate security role.
+
+The value of the role-name element must be the String used as the
+parameter to the EJBContext.isCallerInRole(String roleName) method
+or the HttpServletRequest.isUserInRole(String role) method.
+
+Used in: servlet
+
+-->
+<!ELEMENT security-role-ref (description?, role-name, role-link?)>
+
+<!--
+The servlet element contains the declarative data of a
+servlet. If a jsp-file is specified and the load-on-startup element is
+present, then the JSP should be precompiled and loaded.
+
+Used in: web-app
+-->
+<!ELEMENT servlet (icon?, servlet-name, display-name?, description?,
+(servlet-class|jsp-file), init-param*, load-on-startup?, run-as?, security-role-ref*)>
+
+<!--
+The servlet-class element contains the fully qualified class name
+of the servlet.
+
+Used in: servlet
+-->
+<!ELEMENT servlet-class (#PCDATA)>
+
+<!--
+The servlet-mapping element defines a mapping between a servlet
+and a url pattern
+
+Used in: web-app
+-->
+<!ELEMENT servlet-mapping (servlet-name, url-pattern)>
+
+<!--
+The servlet-name element contains the canonical name of the
+servlet. Each servlet name is unique within the web application.
+
+Used in: filter-mapping, servlet, servlet-mapping
+-->
+<!ELEMENT servlet-name (#PCDATA)>
+
+<!--
+The session-config element defines the session parameters for
+this web application.
+
+Used in: web-app
+-->
+<!ELEMENT session-config (session-timeout?)>
+
+<!--
+The session-timeout element defines the default session timeout
+interval for all sessions created in this web application. The
+specified timeout must be expressed in a whole number of minutes.
+If the timeout is 0 or less, the container ensures the default
+behaviour of sessions is never to time out.
+
+Used in: session-config
+-->
+<!ELEMENT session-timeout (#PCDATA)>
+
+<!--
+The small-icon element contains the name of a file
+containing a small (16 x 16) icon image. The file
+name is a relative path within the web application's
+war file.
+
+The image may be either in the JPEG or GIF format.
+The icon can be used by tools.
+
+Used in: icon
+
+Example:
+
+<small-icon>employee-service-icon16x16.jpg</small-icon>
+-->
+<!ELEMENT small-icon (#PCDATA)>
+
+<!--
+The taglib element is used to describe a JSP tag library.
+
+Used in: web-app
+-->
+<!ELEMENT taglib (taglib-uri, taglib-location)>
+
+<!--
+the taglib-location element contains the location (as a resource
+relative to the root of the web application) where to find the Tag
+Libary Description file for the tag library.
+
+Used in: taglib
+-->
+<!ELEMENT taglib-location (#PCDATA)>
+
+<!--
+The taglib-uri element describes a URI, relative to the location
+of the web.xml document, identifying a Tag Library used in the Web
+Application.
+
+Used in: taglib
+-->
+<!ELEMENT taglib-uri (#PCDATA)>
+
+<!--
+The transport-guarantee element specifies that the communication
+between client and server should be NONE, INTEGRAL, or
+CONFIDENTIAL. NONE means that the application does not require any
+transport guarantees. A value of INTEGRAL means that the application
+requires that the data sent between the client and server be sent in
+such a way that it can't be changed in transit. CONFIDENTIAL means
+that the application requires that the data be transmitted in a
+fashion that prevents other entities from observing the contents of
+the transmission. In most cases, the presence of the INTEGRAL or
+CONFIDENTIAL flag will indicate that the use of SSL is required.
+
+Used in: user-data-constraint
+-->
+<!ELEMENT transport-guarantee (#PCDATA)>
+
+<!--
+The url-pattern element contains the url pattern of the mapping. Must
+follow the rules specified in Section 11.2 of the Servlet API
+Specification.
+
+Used in: filter-mapping, servlet-mapping, web-resource-collection
+-->
+<!ELEMENT url-pattern (#PCDATA)>
+
+<!--
+The user-data-constraint element is used to indicate how data
+communicated between the client and container should be protected.
+
+Used in: security-constraint
+-->
+<!ELEMENT user-data-constraint (description?, transport-guarantee)>
+
+<!--
+The web-resource-collection element is used to identify a subset
+of the resources and HTTP methods on those resources within a web
+application to which a security constraint applies. If no HTTP methods
+are specified, then the security constraint applies to all HTTP
+methods.
+
+Used in: security-constraint
+-->
+<!ELEMENT web-resource-collection (web-resource-name, description?,
+url-pattern*, http-method*)>
+
+<!--
+The web-resource-name contains the name of this web resource
+collection.
+
+Used in: web-resource-collection
+-->
+<!ELEMENT web-resource-name (#PCDATA)>
+
+<!--
+The welcome-file element contains file name to use as a default
+welcome file, such as index.html
+
+Used in: welcome-file-list
+-->
+<!ELEMENT welcome-file (#PCDATA)>
+
+<!--
+The welcome-file-list contains an ordered list of welcome files
+elements.
+
+Used in: web-app
+-->
+<!ELEMENT welcome-file-list (welcome-file+)>
+
+<!--
+The ID mechanism is to allow tools that produce additional deployment
+information (i.e., information beyond the standard deployment
+descriptor information) to store the non-standard information in a
+separate file, and easily refer from these tool-specific files to the
+information in the standard deployment descriptor.
+
+Tools are not allowed to add the non-standard information into the
+standard deployment descriptor.
+-->
+
+<!ATTLIST auth-constraint id ID #IMPLIED>
+<!ATTLIST auth-method id ID #IMPLIED>
+<!ATTLIST context-param id ID #IMPLIED>
+<!ATTLIST description id ID #IMPLIED>
+<!ATTLIST display-name id ID #IMPLIED>
+<!ATTLIST distributable id ID #IMPLIED>
+<!ATTLIST ejb-link id ID #IMPLIED>
+<!ATTLIST ejb-local-ref id ID #IMPLIED>
+<!ATTLIST ejb-ref id ID #IMPLIED>
+<!ATTLIST ejb-ref-name id ID #IMPLIED>
+<!ATTLIST ejb-ref-type id ID #IMPLIED>
+<!ATTLIST env-entry id ID #IMPLIED>
+<!ATTLIST env-entry-name id ID #IMPLIED>
+<!ATTLIST env-entry-type id ID #IMPLIED>
+<!ATTLIST env-entry-value id ID #IMPLIED>
+<!ATTLIST error-code id ID #IMPLIED>
+<!ATTLIST error-page id ID #IMPLIED>
+<!ATTLIST exception-type id ID #IMPLIED>
+<!ATTLIST extension id ID #IMPLIED>
+<!ATTLIST filter id ID #IMPLIED>
+<!ATTLIST filter-class id ID #IMPLIED>
+<!ATTLIST filter-mapping id ID #IMPLIED>
+<!ATTLIST filter-name id ID #IMPLIED>
+<!ATTLIST form-error-page id ID #IMPLIED>
+<!ATTLIST form-login-config id ID #IMPLIED>
+<!ATTLIST form-login-page id ID #IMPLIED>
+<!ATTLIST home id ID #IMPLIED>
+<!ATTLIST http-method id ID #IMPLIED>
+<!ATTLIST icon id ID #IMPLIED>
+<!ATTLIST init-param id ID #IMPLIED>
+<!ATTLIST jsp-file id ID #IMPLIED>
+<!ATTLIST large-icon id ID #IMPLIED>
+<!ATTLIST listener id ID #IMPLIED>
+<!ATTLIST listener-class id ID #IMPLIED>
+<!ATTLIST load-on-startup id ID #IMPLIED>
+<!ATTLIST local id ID #IMPLIED>
+<!ATTLIST local-home id ID #IMPLIED>
+<!ATTLIST location id ID #IMPLIED>
+<!ATTLIST login-config id ID #IMPLIED>
+<!ATTLIST mime-mapping id ID #IMPLIED>
+<!ATTLIST mime-type id ID #IMPLIED>
+<!ATTLIST param-name id ID #IMPLIED>
+<!ATTLIST param-value id ID #IMPLIED>
+<!ATTLIST realm-name id ID #IMPLIED>
+<!ATTLIST remote id ID #IMPLIED>
+<!ATTLIST res-auth id ID #IMPLIED>
+<!ATTLIST res-ref-name id ID #IMPLIED>
+<!ATTLIST res-sharing-scope id ID #IMPLIED>
+<!ATTLIST res-type id ID #IMPLIED>
+<!ATTLIST resource-env-ref id ID #IMPLIED>
+<!ATTLIST resource-env-ref-name id ID #IMPLIED>
+<!ATTLIST resource-env-ref-type id ID #IMPLIED>
+<!ATTLIST resource-ref id ID #IMPLIED>
+<!ATTLIST role-link id ID #IMPLIED>
+<!ATTLIST role-name id ID #IMPLIED>
+<!ATTLIST run-as id ID #IMPLIED>
+<!ATTLIST security-constraint id ID #IMPLIED>
+<!ATTLIST security-role id ID #IMPLIED>
+<!ATTLIST security-role-ref id ID #IMPLIED>
+<!ATTLIST servlet id ID #IMPLIED>
+<!ATTLIST servlet-class id ID #IMPLIED>
+<!ATTLIST servlet-mapping id ID #IMPLIED>
+<!ATTLIST servlet-name id ID #IMPLIED>
+<!ATTLIST session-config id ID #IMPLIED>
+<!ATTLIST session-timeout id ID #IMPLIED>
+<!ATTLIST small-icon id ID #IMPLIED>
+<!ATTLIST taglib id ID #IMPLIED>
+<!ATTLIST taglib-location id ID #IMPLIED>
+<!ATTLIST taglib-uri id ID #IMPLIED>
+<!ATTLIST transport-guarantee id ID #IMPLIED>
+<!ATTLIST url-pattern id ID #IMPLIED>
+<!ATTLIST user-data-constraint id ID #IMPLIED>
+<!ATTLIST web-app id ID #IMPLIED>
+<!ATTLIST web-resource-collection id ID #IMPLIED>
+<!ATTLIST web-resource-name id ID #IMPLIED>
+<!ATTLIST welcome-file id ID #IMPLIED>
+<!ATTLIST welcome-file-list id ID #IMPLIED>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-facesconfig_1_0.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-facesconfig_1_0.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-facesconfig_1_0.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,874 @@
+<!--
+    DTD for the JavaServer Faces Application Configuration File (Version 1.0)
+
+    To support validation of your configuration file(s), include the following
+    DOCTYPE element at the beginning (after the "xml" declaration):
+
+    <!DOCTYPE faces-config PUBLIC
+     "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
+     "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
+
+    $Id: web-facesconfig_1_0.dtd,v 1.33 2006/03/27 17:36:05 rogerk Exp $
+
+-->
+
+
+<!-- ==================== Defined Types =================================== -->
+
+
+<!--
+    An "Action" is a String that represents a method binding
+    expression that points at a method with no arguments that returns a
+    String.  It must be bracketed with "#{}", for example,
+    "#{cardemo.buyCar}".
+-->
+<!ENTITY % Action "CDATA">
+
+
+<!--
+    A "ClassName" is the fully qualified name of a Java class that is
+    instantiated to provide the functionality of the enclosing element.
+-->
+<!ENTITY % ClassName "CDATA">
+
+
+<!--
+    An "Identifier" is a string of characters that conforms to the variable
+    naming conventions of the Java programming language (JLS Section ?.?.?).
+-->
+<!ENTITY % Identifier "CDATA">
+
+
+<!--
+    A "JavaType" is either the fully qualified name of a Java class that is
+    instantiated to provide the functionality of the enclosing element, or
+    the name of a Java primitive type (such as int or char).  The class name
+    or primitive type may optionally be followed by "[]" to indicate that
+    the underlying data must be an array, rather than a scalar variable.
+-->
+<!ENTITY % JavaType "CDATA">
+
+
+<!--
+    A "Language" is a lower case two-letter code for a language as defined
+    by ISL-639.
+-->
+<!ENTITY % Language "CDATA">
+
+
+<!--
+    A "ResourcePath" is the relative or absolute path to a resource file
+    (such as a logo image).
+-->
+<!ENTITY % ResourcePath "CDATA">
+
+
+<!--
+    A "Scope" is the well-known name of a scope in which managed beans may
+    optionally be defined to be created in.
+-->
+<!ENTITY % Scope "(request|session|application)">
+
+
+
+<!--
+    A "ScopeOrNone" element defines the legal values for the
+    <managed-bean-scope> element's body content, which includes
+    all of the scopes respresented by the "Scope" type, plus the
+    "none" value indicating that a created bean should not be
+    stored into any scope.
+-->
+<!ENTITY % ScopeOrNone "(request|session|application|none)">
+
+
+<!--
+    A "ViewIdPattern" is a pattern for matching view identifiers in
+    order to determine whether a particular navigation rule should be
+    fired.  It must contain one of the following values:
+
+    - The exact match for a view identifier that is recognized
+      by the the ViewHandler implementation being used (such as
+      "/index.jsp" if you are using the default ViewHandler).
+
+    - A proper prefix of a view identifier, plus a trailing "*"
+      character.  This pattern indicates that all view identifiers that
+      match the portion of the pattern up to the asterisk will match the
+      surrounding rule.  When more than one match exists, the match with
+      the longest pattern is selected.
+
+    - An "*" character, which means that this pattern applies to all
+      view identifiers.
+-->
+<!ENTITY % ViewIdPattern "CDATA">
+
+
+<!-- ==================== Top Level Elements ============================== -->
+
+
+<!--
+    The "faces-config" element is the root of the configuration information
+    hierarchy, and contains nested elements for all of the other configuration
+    settings.
+-->
+<!ELEMENT faces-config    ((application|factory|component|converter|managed-bean|navigation-rule|referenced-bean|render-kit|lifecycle|validator)*)>
+<!ATTLIST faces-config
+       xmlns CDATA #FIXED "http://java.sun.com/JSF/Configuration">
+
+
+
+<!-- ==================== Definition Elements ============================= -->
+
+
+<!--
+    The "application" element provides a mechanism to define the various
+    per-application-singleton implementation artifacts for a particular web
+    application that is utilizing JavaServer Faces.  For nested elements
+    that are not specified, the JSF implementation must provide a suitable
+    default.
+-->
+<!ELEMENT application     ((action-listener|default-render-kit-id|message-bundle|navigation-handler|view-handler|state-manager|property-resolver|variable-resolver|locale-config)*)>
+
+
+<!--
+    The "factory" element provides a mechanism to define the various
+    Factories that comprise parts of the implementation of JavaServer
+    Faces.  For nested elements that are not specified, the JSF
+    implementation must provide a suitable default.
+-->
+<!ELEMENT factory     ((application-factory|faces-context-factory|lifecycle-factory|render-kit-factory)*)>
+
+
+<!--
+    The "attribute" element represents a named, typed, value associated with
+    the parent UIComponent via the generic attributes mechanism.
+
+    Attribute names must be unique within the scope of the parent (or related)
+    component.
+-->
+<!ELEMENT attribute       (description*, display-name*, icon*, attribute-name, attribute-class, default-value?, suggested-value?, attribute-extension*)>
+
+<!-- 
+    Extension element for attribute.  May contain implementation
+    specific content.
+-->
+<!ELEMENT attribute-extension ANY>
+
+
+<!--
+    The "component" element represents a concrete UIComponent implementation
+    class that should be registered under the specified type identifier,
+    along with its associated properties and attributes.  Component types must
+    be unique within the entire web application.
+
+    Nested "attribute" elements identify generic attributes that are recognized
+    by the implementation logic of this component.  Nested "property" elements
+    identify JavaBeans properties of the component class that may be exposed
+    for manipulation via tools.
+-->
+<!ELEMENT component       (description*, display-name*, icon*, component-type, component-class, attribute*, property*, component-extension*)>
+
+<!-- 
+    Extension element for component.  May contain implementation
+    specific content.
+-->
+<!ELEMENT component-extension ANY>
+
+
+
+<!--
+    The "converter" element represents a concrete Converter implementation
+    class that should be registered under the specified converter identifier.
+    Converter identifiers must be unique within the entire web application.
+
+    Nested "attribute" elements identify generic attributes that may be
+    configured on the corresponding UIComponent in order to affect the
+    operation of the Converter.  Nested "property" elements identify JavaBeans
+    properties of the Converter implementation class that may be configured
+    to affect the operation of the Converter.
+-->
+<!ELEMENT converter       (description*, display-name*, icon*, (converter-id | converter-for-class), converter-class, attribute*, property*)>
+
+
+<!--
+    The "icon" element contains "small-icon" and "large-icon" elements that
+    specify the resoruce paths for small and large GIF or JPG icon images
+    used to represent the parent element in a GUI tool.
+-->
+<!ELEMENT icon            (small-icon?, large-icon?)>
+<!ATTLIST icon            xml:lang        %Language;      #IMPLIED>
+
+<!--
+    The "lifecycle" element provides a mechanism to specify
+    modifications to the behaviour of the default Lifecycle
+    implementation for this web application.
+-->
+<!ELEMENT lifecycle       (phase-listener*)>
+
+<!--
+     The "locale-config" element allows the app developer to declare the
+     supported locales for this application.  
+-->
+<!ELEMENT locale-config (default-locale?, supported-locale*)>
+
+<!--
+    The "managed-bean" element represents a JavaBean, of a particular class,
+    that will be dynamically instantiated at runtime (by the default
+    VariableResolver implementation) if it is referenced as the first element
+    of a value binding expression, and no corresponding bean can be
+    identified in any scope.  In addition to the creation of the managed bean,
+    and the optional storing of it into the specified scope, the nested
+    managed-property elements can be used to initialize the contents of
+    settable JavaBeans properties of the created instance.
+-->
+<!ELEMENT managed-bean (description*, display-name*, icon*, managed-bean-name, managed-bean-class, managed-bean-scope, (managed-property* | map-entries | list-entries))>
+
+
+<!--
+    The "managed-property" element represents an individual property of a
+    managed bean that will be configured to the specified value (or value set)
+    if the corresponding managed bean is automatically created.
+-->
+<!ELEMENT managed-property (description*, display-name*, icon*, property-name, property-class?, (map-entries|null-value|value|list-entries))>
+
+
+<!--
+    The "map-entry" element reprsents a single key-entry pair that
+    will be added to the computed value of a managed property of type
+    java.util.Map.
+-->
+<!ELEMENT map-entry (key, (null-value|value))>
+
+
+<!--
+    The "map-entries' element represents a set of key-entry pairs that
+    will be added to the computed value of a managed property of type
+    java.util.Map.  In addition, the Java class types of the key and entry
+    values may be optionally declared.
+-->
+<!ELEMENT map-entries (key-class?, value-class?, map-entry*)>
+
+
+<!--
+    The base name of a resource bundle representing the message resources
+    for this application.  See the JavaDocs for the "java.util.ResourceBundle"
+    class for more information on the syntax of resource bundle names.
+-->
+
+<!ELEMENT message-bundle (#PCDATA)>
+
+
+<!--
+    The "navigation-case" element describes a particular combination of
+    conditions that must match for this case to be executed, and the
+    view id of the component tree that should be selected next.
+-->
+<!ELEMENT navigation-case (description*, display-name*, icon*, from-action?, from-outcome?, to-view-id, redirect?)>
+
+
+<!--
+    The "navigation-rule" element represents an individual decision rule
+    that will be utilized by the default NavigationHandler
+    implementation to make decisions on what view should be displayed
+    next, based on the view id being processed.
+-->
+<!ELEMENT navigation-rule (description*, display-name*, icon*, from-view-id?, navigation-case*)>
+
+
+<!--
+    The "property" element represents a JavaBean property of the Java class
+    represented by our parent element.
+
+    Property names must be unique within the scope of the Java class
+    that is represented by the parent element, and must correspond to
+    property names that will be recognized when performing introspection
+    against that class via java.beans.Introspector.
+-->
+<!ELEMENT property        (description*, display-name*, icon*, property-name, property-class, default-value?, suggested-value?, property-extension*)>
+
+<!-- 
+    Extension element for property.  May contain implementation
+    specific content.
+-->
+<!ELEMENT property-extension ANY>
+
+<!--
+    The "referenced-bean" element represents at design time the promise
+    that a Java object of the specified type will exist at runtime in some
+    scope, under the specified key.  This can be used by design time tools
+    to construct user interface dialogs based on the properties of the
+    specified class.  The presence or absence of a referenced bean
+    element has no impact on the JavaServer Faces runtime environment
+    inside a web application.
+-->
+<!ELEMENT referenced-bean (description*, display-name*, icon*, referenced-bean-name, referenced-bean-class)>
+
+
+<!--
+    The "render-kit" element represents a concrete RenderKit implementation
+    that should be registered under the specified render-kit-id.  If no
+    render-kit-id is specified, the identifier of the default RenderKit
+    (RenderKitFactory.DEFAULT_RENDER_KIT) is assumed.
+-->
+<!ELEMENT render-kit      (description*, display-name*, icon*, render-kit-id?, render-kit-class?, renderer*)>
+
+
+<!--
+    The "renderer" element represents a concrete Renderer implementation
+    class that should be registered under the specified component family
+    and renderer type identifiers, in the RenderKit associated with the
+    parent "render-kit" element.  Combinations of component family and renderer
+    type must be unique within the RenderKit associated with the parent
+    "render-kit" element.
+
+    Nested "attribute" elements identify generic component attributes that
+    are recognized by this renderer.
+-->
+<!ELEMENT renderer        (description*, display-name*, icon*, component-family, renderer-type, renderer-class, attribute*, renderer-extension*)>
+
+<!-- 
+    Extension element for renderer.  May contain implementation
+    specific content.
+-->
+<!ELEMENT renderer-extension ANY>
+
+<!--
+    The "validator" element represents a concrete Validator implementation
+    class that should be registered under the specified validator identifier.
+    Validator identifiers must be unique within the entire web application.
+
+    Nested "attribute" elements identify generic attributes that may be
+    configured on the corresponding UIComponent in order to affect the
+    operation of the Validator.  Nested "property" elements identify JavaBeans
+    properties of the Validator implementation class that may be configured
+    to affect the operation of the Validator.
+-->
+<!ELEMENT validator       (description*, display-name*, icon*, validator-id, validator-class, attribute*, property*)>
+
+
+<!--
+    The "list-entries" element represents a set of initialization
+    elements for a managed property that is a java.util.List or an
+    array.  In the former case, the "value-class" element can optionally
+    be used to declare the Java type to which each value should be
+    converted before adding it to the Collection.
+-->
+<!ELEMENT list-entries    (value-class?, (null-value|value)*)>
+
+
+<!-- ==================== Subordinate Elements ============================ -->
+
+
+<!--
+    The "action-listener" element contains the fully qualified class name
+    of the concrete ActionListener implementation class that will be called
+    during the Invoke Application phase of the request processing lifecycle.
+    It must be of type "ClassName".
+-->
+<!ELEMENT action-listener (#PCDATA)>
+
+<!--
+    The "application-factory" element contains the fully qualified class
+    name of the concrete ApplicationFactory implementation class that
+    will be called when FactoryFinder.getFactory(APPLICATION_FACTORY) is
+    called. It must be of type "ClassName".
+-->
+<!ELEMENT application-factory (#PCDATA)>
+
+<!--
+    The "attribute-class" element represents the Java type of the value
+    associated with this attribute name.  It must be of type "ClassName".
+-->
+<!ELEMENT attribute-class (#PCDATA)>
+
+
+<!--
+    The "attribute-name" element represents the name under which the
+    corresponding value will be stored, in the generic attributes of the
+    UIComponent we are related to.
+-->
+<!ELEMENT attribute-name  (#PCDATA)>
+
+
+<!--
+    The "component-class" element represents the fully qualified class name
+    of a concrete UIComponent implementation class.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT component-class (#PCDATA)>
+
+
+<!--
+    The "component-family" element represents the component family for
+    which the Renderer represented by the parent "renderer" element will be
+    used.
+-->
+<!ELEMENT component-family (#PCDATA)>
+
+<!--
+    The "component-type" element represents the name under which the
+    corresponding UIComponent class should be registered.
+-->
+<!ELEMENT component-type  (#PCDATA)>
+
+
+<!--
+    The "converter-class" element represents the fully qualified class name
+    of a concrete Converter implementation class.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT converter-class (#PCDATA)>
+
+
+<!--
+    The "converter-for-class" element represents the fully qualified class name
+    for which a Converter class will be registered.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT converter-for-class (#PCDATA)>
+
+
+<!--
+    The "converter-id" element represents the identifier under which the
+    corresponding Converter class should be registered.
+-->
+<!ELEMENT converter-id    (#PCDATA)>
+
+<!--
+    The "default-render-kit-id" element allows the application to define
+    a renderkit to be used other than the standard one. 
+-->
+<!ELEMENT default-render-kit-id   (#PCDATA)>
+
+<!--
+     The "default-locale" element declares the default locale for this
+     application instance.  It must be specified as
+     :language:[_:country:[_:variant:]] without the colons, for example
+     "ja_JP_SJIS".  The separators between the segments may be '-' or
+     '_'.
+-->
+<!ELEMENT default-locale (#PCDATA)>
+
+<!--
+    The "default-value" contains the value for the property or attribute
+    in which this element resides.  This value differs from the
+    "suggested-value" in that the property or attribute must take the
+    value, whereas in "suggested-value" taking the value is optional.
+-->
+<!ELEMENT default-value (#PCDATA)>
+
+<!--
+    The "description" element contains a textual description of the element
+    it is nested in, optionally flagged with a language code using the
+    "xml:lang" attribute.
+-->
+<!ELEMENT description     ANY>
+<!ATTLIST description     xml:lang        %Language;      #IMPLIED>
+
+
+<!--
+    The "display-name" element is a short descriptive name describing the
+    entity associated with the element it is nested in, intended to be
+    displayed by tools, and optionally flagged with a language code using
+    the "xml:lang" attribute.
+-->
+<!ELEMENT display-name    (#PCDATA)>
+<!ATTLIST display-name    xml:lang        %Language;      #IMPLIED>
+
+<!--
+    The "faces-context-factory" element contains the fully qualified
+    class name of the concrete FacesContextFactory implementation class
+    that will be called when
+    FactoryFinder.getFactory(FACES_CONTEXT_FACTORY) is called. It must
+    be of type "ClassName".
+-->
+<!ELEMENT faces-context-factory (#PCDATA)>
+
+<!--
+    The "from-action" element contains an action reference expression
+    that must have been executed (by the default ActionListener for handling
+    application level events) in order to select this navigation rule.  If
+    not specified, this rule will be relevant no matter which action reference
+    was executed (or if no action reference was executed).
+
+    This value must be of type "Action".
+-->
+<!ELEMENT from-action (#PCDATA)>
+
+
+<!--
+    The "from-outcome" element contains a logical outcome string returned
+    by the execution of an application action method selected via an
+    "actionRef" property (or a literal value specified by an "action"
+    property) of a UICommand component.  If specified, this rule will be
+    relevant only if the outcome value matches this element's value.  If
+    not specified, this rule will be relevant no matter what the outcome
+    value was.
+-->
+<!ELEMENT from-outcome    (#PCDATA)>
+
+
+<!--
+    The "from-view-id" element contains the view identifier of the view
+    for which the containing navigation rule is relevant.  If no
+    "from-view" element is specified, this rule applies to navigation
+    decisions on all views.  If this element is not specified, a value
+    of "*" is assumed, meaning that this navigation rule applies to all
+    views.
+
+    This value must be of type "ViewIdPattern".
+-->
+<!ELEMENT from-view-id    (#PCDATA)>
+
+
+<!--
+    The "key" element is the String representation of a map key that
+    will be stored in a managed property of type java.util.Map.  
+-->
+<!ELEMENT key             (#PCDATA)>
+
+
+<!--
+    The "key-class" element defines the Java type to which each "key"
+    element in a set of "map-entry" elements will be converted to.  It
+    must be of type "ClassName".  If omitted, "java.lang.String"
+    is assumed.
+-->
+<!ELEMENT key-class       (#PCDATA)>
+
+
+<!--
+    The "large-icon" element contains the resource path to a large (32x32)
+    icon image.  The image may be in either GIF or JPG format.
+-->
+<!ELEMENT large-icon      (#PCDATA)>
+
+<!--
+    The "lifecycle-factory" element contains the fully qualified class name
+    of the concrete LifecycleFactory implementation class that will be called
+    when FactoryFinder.getFactory(LIFECYCLE_FACTORY) is called. It must be 
+    of type "ClassName".
+-->
+<!ELEMENT lifecycle-factory (#PCDATA)>
+
+<!--
+    The "managed-bean-class" element represents the fully qualified class
+    name of the Java class that will be used to instantiate a new instance
+    if creation of the specified managed bean is requested.  It must be of
+    type "ClassName".
+
+    The specified class must conform to standard JavaBeans conventions.
+    In particular, it must have a public zero-arguments constructor, and
+    zero or more public property setters.
+-->
+<!ELEMENT managed-bean-class  (#PCDATA)>
+
+
+<!--
+    The "managed-bean-name" element represents the attribute name under
+    which a managed bean will be searched for, as well as stored (unless
+    the "managed-bean-scope" value is "none").  It must be of type
+    "Identifier".
+-->
+<!ELEMENT managed-bean-name (#PCDATA)>
+
+
+<!--
+    The "managed-bean-scope" element represents the scope into which a newly
+    created instance of the specified managed bean will be stored (unless
+    the value is "none").  It must be of type "ScopeOrNone".
+-->
+<!ELEMENT managed-bean-scope (#PCDATA)>
+
+<!--
+    The "navigation-handler" element contains the fully qualified class name
+    of the concrete NavigationHandler implementation class that will be called
+    during the Invoke Application phase of the request processing lifecycle,
+    if the default ActionListener (provided by the JSF implementation) is used.
+    It must be of type "ClassName".
+-->
+<!ELEMENT navigation-handler (#PCDATA)>
+
+<!--
+The "phase-listener" element contains the fully qualified class
+name of the concrete PhaseListener implementation class that will be
+registered on the Lifecycle. It must be of type "ClassName".
+-->
+<!ELEMENT phase-listener (#PCDATA)>
+
+<!--
+    The "redirect" element indicates that navigation to the specified
+    "to-view-id" should be accomplished by performing an HTTP redirect
+    rather than the usual ViewHandler mechanisms.
+-->
+<!ELEMENT redirect EMPTY>
+
+<!--
+    The "suggested-value" contains the value for the property or
+    attribute in which this element resides.  This value is advisory
+    only and is intended for tools to use when populating pallettes.
+-->
+<!ELEMENT suggested-value (#PCDATA)>
+
+
+<!--
+
+    The "view-handler" element contains the fully qualified class name
+    of the concrete ViewHandler implementation class that will be called
+    during the Restore View and Render Response phases of the request
+    processing lifecycle.  The faces implementation must provide a
+    default implementation of this class
+-->
+<!ELEMENT view-handler (#PCDATA)>
+
+<!--
+
+    The "state-manager" element contains the fully qualified class name
+    of the concrete StateManager implementation class that will be called
+    during the Restore View and Render Response phases of the request
+    processing lifecycle.  The faces implementation must provide a
+    default implementation of this class
+-->
+<!ELEMENT state-manager (#PCDATA)>
+
+<!--
+    The "null-value" element indicates that the managed property in which we
+    are nested will be explicitly set to null if our managed bean is
+    automatically created.  This is different from omitting the managed
+    property element entirely, which will cause no property setter to be
+    called for this property.
+
+    The "null-value" element can only be used when the associated
+    "property-class" identifies a Java class, not a Java primitive.
+-->
+<!ELEMENT null-value EMPTY>
+
+
+<!--
+    The "property-class" element represents the Java type of the value
+    associated with this property name.  It must be of type "JavaType".
+    If not specified, it can be inferred from existing classes; however,
+    this element should be specified if the configuration file is going
+    to be the source for generating the corresponding classes.
+-->
+<!ELEMENT property-class  (#PCDATA)>
+
+
+<!--
+    The "property-name" element represents the JavaBeans property name
+    under which the corresponding value may be stored.
+-->
+<!ELEMENT property-name   (#PCDATA)>
+
+
+<!--
+    The "property-resolver" element contains the fully qualified class name
+    of the concrete PropertyResolver implementation class that will be used
+    during the processing of value binding expressions.
+    It must be of type "ClassName".
+-->
+<!ELEMENT property-resolver (#PCDATA)>
+
+
+<!--
+    The "referenced-bean-class" element represents the fully qualified class
+    name of the Java class (either abstract or concrete) or Java interface
+    implemented by the corresponding referenced bean.  It must be of type
+    "ClassName".
+-->
+<!ELEMENT referenced-bean-class  (#PCDATA)>
+
+
+<!--
+    The "referenced-bean-name" element represents the attribute name under
+    which the corresponding referenced bean may be assumed to be stored,
+    in one of the scopes defined by the "Scope" type.  It must be of type
+    "Identifier".
+-->
+<!ELEMENT referenced-bean-name (#PCDATA)>
+
+
+<!--
+    The "render-kit-id" element represents an identifier for the
+    RenderKit represented by the parent "render-kit" element.
+-->
+<!ELEMENT render-kit-id   (#PCDATA)>
+
+
+<!--
+    The "render-kit-class" element represents the fully qualified class name
+    of a concrete RenderKit implementation class.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT render-kit-class (#PCDATA)>
+
+
+<!--
+    The "renderer-class" element represents the fully qualified class name
+    of a concrete Renderer implementation class.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT renderer-class  (#PCDATA)>
+
+<!--
+    The "render-kit-factory" element contains the fully qualified class name
+    of the concrete RenderKitFactory implementation class that will be called
+    when FactoryFinder.getFactory(RENDER_KIT_FACTORY) is called. It must be 
+    of type "ClassName".
+-->
+<!ELEMENT render-kit-factory (#PCDATA)>
+
+<!--
+    The "renderer-type" element represents a renderer type identifier for the
+    Renderer represented by the parent "renderer" element.
+-->
+<!ELEMENT renderer-type   (#PCDATA)>
+
+<!--
+    The "small-icon" element contains the resource path to a large (16x16)
+    icon image.  The image may be in either GIF or JPG format.
+-->
+<!ELEMENT small-icon      (#PCDATA)>
+
+<!--
+     The "supported-locale" element allows authors to declare which
+     locales are supported in this application instance.
+
+     It must be specified as :language:[_:country:[_:variant:]] without
+     the colons, for example "ja_JP_SJIS".  The separators between the
+     segments may be '-' or '_'.
+-->
+<!ELEMENT supported-locale (#PCDATA)>
+
+<!--
+    The "to-view" element contains the view identifier of the next view
+    that should be displayed if this navigation rule is matched.  It
+    must be of type "ViewId".
+-->
+<!ELEMENT to-view-id      (#PCDATA)>
+
+
+<!--
+    The "validator-class" element represents the fully qualified class name
+    of a concrete Validator implementation class.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT validator-class (#PCDATA)>
+
+
+<!--
+    The "validator-id" element represents the identifier under which the
+    corresponding Validator class should be registered.
+-->
+<!ELEMENT validator-id    (#PCDATA)>
+
+
+<!--
+    The "value" element is the String representation of a literal
+    value to which a scalar managed property will be set, or a value
+    binding expression ("#{...}") that will be used to calculate the
+    required value.  It will be converted as specified for the actual
+    property type.
+-->
+<!ELEMENT value (#PCDATA)>
+
+
+<!--
+    The "value-class" element defines the Java type to which each
+    "value" element's value will be converted to, prior to adding it to
+    the "list-entries" list for a managed property that is a
+    java.util.List, or a "map-entries" map for a managed property that
+    is a java.util.Map.  It must be of type "ClassName".  If omitted,
+    "java.lang.String" is assumed.
+-->
+<!ELEMENT value-class (#PCDATA)>
+
+<!--
+    The "variable-resolver" element contains the fully qualified class name
+    of the concrete VariableResolver implementation class that will be used
+    during the processing of value binding expressions.
+    It must be of type "ClassName".
+-->
+<!ELEMENT variable-resolver (#PCDATA)>
+
+
+<!-- ============================ Identifier Attributes ==================== -->
+
+
+<!ATTLIST action-listener                   id ID #IMPLIED>
+<!ATTLIST application                       id ID #IMPLIED>
+<!ATTLIST application-factory               id ID #IMPLIED>
+<!ATTLIST attribute                         id ID #IMPLIED>
+<!ATTLIST attribute-class                   id ID #IMPLIED>
+<!ATTLIST attribute-extension               id ID #IMPLIED>
+<!ATTLIST attribute-name                    id ID #IMPLIED>
+<!ATTLIST component                         id ID #IMPLIED>
+<!ATTLIST component-class                   id ID #IMPLIED>
+<!ATTLIST component-extension               id ID #IMPLIED>
+<!ATTLIST component-family                  id ID #IMPLIED>
+<!ATTLIST component-type                    id ID #IMPLIED>
+<!ATTLIST converter                         id ID #IMPLIED>
+<!ATTLIST converter-class                   id ID #IMPLIED>
+<!ATTLIST converter-for-class               id ID #IMPLIED>
+<!ATTLIST converter-id                      id ID #IMPLIED>
+<!ATTLIST default-locale                    id ID #IMPLIED>
+<!ATTLIST default-render-kit-id             id ID #IMPLIED>
+<!ATTLIST default-value                     id ID #IMPLIED>
+<!ATTLIST description                       id ID #IMPLIED>
+<!ATTLIST display-name                      id ID #IMPLIED>
+<!ATTLIST faces-config                      id ID #IMPLIED>
+<!ATTLIST faces-context-factory             id ID #IMPLIED>
+<!ATTLIST factory                           id ID #IMPLIED>
+<!ATTLIST from-action                       id ID #IMPLIED>
+<!ATTLIST from-outcome                      id ID #IMPLIED>
+<!ATTLIST from-view-id                      id ID #IMPLIED>
+<!ATTLIST icon                              id ID #IMPLIED>
+<!ATTLIST key                               id ID #IMPLIED>
+<!ATTLIST key-class                         id ID #IMPLIED>
+<!ATTLIST large-icon                        id ID #IMPLIED>
+<!ATTLIST lifecycle                         id ID #IMPLIED>
+<!ATTLIST lifecycle-factory                 id ID #IMPLIED>
+<!ATTLIST list-entries                      id ID #IMPLIED>
+<!ATTLIST locale-config                     id ID #IMPLIED>
+<!ATTLIST managed-bean                      id ID #IMPLIED>
+<!ATTLIST managed-bean-class                id ID #IMPLIED>
+<!ATTLIST managed-bean-name                 id ID #IMPLIED>
+<!ATTLIST managed-bean-scope                id ID #IMPLIED>
+<!ATTLIST managed-property                  id ID #IMPLIED>
+<!ATTLIST map-entries                       id ID #IMPLIED>
+<!ATTLIST map-entry                         id ID #IMPLIED>
+<!ATTLIST message-bundle                    id ID #IMPLIED>
+<!ATTLIST navigation-case                   id ID #IMPLIED>
+<!ATTLIST navigation-handler                id ID #IMPLIED>
+<!ATTLIST navigation-rule                   id ID #IMPLIED>
+<!ATTLIST null-value                        id ID #IMPLIED>
+<!ATTLIST phase-listener                    id ID #IMPLIED>
+<!ATTLIST property                          id ID #IMPLIED>
+<!ATTLIST property-class                    id ID #IMPLIED>
+<!ATTLIST property-extension                id ID #IMPLIED>
+<!ATTLIST property-name                     id ID #IMPLIED>
+<!ATTLIST property-resolver                 id ID #IMPLIED>
+<!ATTLIST redirect                          id ID #IMPLIED>
+<!ATTLIST referenced-bean                   id ID #IMPLIED>
+<!ATTLIST referenced-bean-class             id ID #IMPLIED>
+<!ATTLIST referenced-bean-name              id ID #IMPLIED>
+<!ATTLIST render-kit                        id ID #IMPLIED>
+<!ATTLIST render-kit-class                  id ID #IMPLIED>
+<!ATTLIST render-kit-factory                id ID #IMPLIED>
+<!ATTLIST render-kit-id                     id ID #IMPLIED>
+<!ATTLIST renderer                          id ID #IMPLIED>
+<!ATTLIST renderer-class                    id ID #IMPLIED>
+<!ATTLIST renderer-extension                id ID #IMPLIED>
+<!ATTLIST renderer-type                     id ID #IMPLIED>
+<!ATTLIST small-icon                        id ID #IMPLIED>
+<!ATTLIST state-manager                     id ID #IMPLIED>
+<!ATTLIST suggested-value                   id ID #IMPLIED>
+<!ATTLIST supported-locale                  id ID #IMPLIED>
+<!ATTLIST to-view-id                        id ID #IMPLIED>
+<!ATTLIST validator                         id ID #IMPLIED>
+<!ATTLIST validator-class                   id ID #IMPLIED>
+<!ATTLIST validator-id                      id ID #IMPLIED>
+<!ATTLIST value                             id ID #IMPLIED>
+<!ATTLIST value-class                       id ID #IMPLIED>
+<!ATTLIST variable-resolver                 id ID #IMPLIED>
+<!ATTLIST view-handler                      id ID #IMPLIED>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-facesconfig_1_1.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-facesconfig_1_1.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/dtd/web-facesconfig_1_1.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,895 @@
+<!--
+    DTD for the JavaServer Faces Application Configuration File (Version 1.1)
+
+    To support validation of your configuration file(s), include the following
+    DOCTYPE element at the beginning (after the "xml" declaration):
+
+    <!DOCTYPE faces-config PUBLIC
+     "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+     "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+
+    $Id: web-facesconfig_1_1.dtd,v 1.5 2006/03/27 17:36:06 rogerk Exp $
+
+-->
+
+
+<!-- ==================== Defined Types =================================== -->
+
+
+<!--
+    An "Action" is a String that represents a method binding
+    expression that points at a method with no arguments that returns a
+    String.  It must be bracketed with "#{}", for example,
+    "#{cardemo.buyCar}".
+-->
+<!ENTITY % Action "CDATA">
+
+
+<!--
+    A "ClassName" is the fully qualified name of a Java class that is
+    instantiated to provide the functionality of the enclosing element.
+-->
+<!ENTITY % ClassName "CDATA">
+
+
+<!--
+    An "Identifier" is a string of characters that conforms to the variable
+    naming conventions of the Java programming language (JLS Section ?.?.?).
+-->
+<!ENTITY % Identifier "CDATA">
+
+
+<!--
+    A "JavaType" is either the fully qualified name of a Java class that is
+    instantiated to provide the functionality of the enclosing element, or
+    the name of a Java primitive type (such as int or char).  The class name
+    or primitive type may optionally be followed by "[]" to indicate that
+    the underlying data must be an array, rather than a scalar variable.
+-->
+<!ENTITY % JavaType "CDATA">
+
+
+<!--
+    A "Language" is a lower case two-letter code for a language as defined
+    by ISL-639.
+-->
+<!ENTITY % Language "CDATA">
+
+
+<!--
+    A "ResourcePath" is the relative or absolute path to a resource file
+    (such as a logo image).
+-->
+<!ENTITY % ResourcePath "CDATA">
+
+
+<!--
+    A "Scope" is the well-known name of a scope in which managed beans may
+    optionally be defined to be created in.
+-->
+<!ENTITY % Scope "(request|session|application)">
+
+
+
+<!--
+    A "ScopeOrNone" element defines the legal values for the
+    <managed-bean-scope> element's body content, which includes
+    all of the scopes respresented by the "Scope" type, plus the
+    "none" value indicating that a created bean should not be
+    stored into any scope.
+-->
+<!ENTITY % ScopeOrNone "(request|session|application|none)">
+
+
+<!--
+    A "ViewIdPattern" is a pattern for matching view identifiers in
+    order to determine whether a particular navigation rule should be
+    fired.  It must contain one of the following values:
+
+    - The exact match for a view identifier that is recognized
+      by the the ViewHandler implementation being used (such as
+      "/index.jsp" if you are using the default ViewHandler).
+
+    - A proper prefix of a view identifier, plus a trailing "*"
+      character.  This pattern indicates that all view identifiers that
+      match the portion of the pattern up to the asterisk will match the
+      surrounding rule.  When more than one match exists, the match with
+      the longest pattern is selected.
+
+    - An "*" character, which means that this pattern applies to all
+      view identifiers.
+-->
+<!ENTITY % ViewIdPattern "CDATA">
+
+
+<!-- ==================== Top Level Elements ============================== -->
+
+
+<!--
+    The "faces-config" element is the root of the configuration information
+    hierarchy, and contains nested elements for all of the other configuration
+    settings.
+-->
+<!ELEMENT faces-config    ((application|factory|component|converter|managed-bean|navigation-rule|referenced-bean|render-kit|lifecycle|validator)*)>
+<!ATTLIST faces-config
+       xmlns CDATA #FIXED "http://java.sun.com/JSF/Configuration">
+
+
+
+<!-- ==================== Definition Elements ============================= -->
+
+
+<!--
+    The "application" element provides a mechanism to define the various
+    per-application-singleton implementation artifacts for a particular web
+    application that is utilizing JavaServer Faces.  For nested elements
+    that are not specified, the JSF implementation must provide a suitable
+    default.
+-->
+<!ELEMENT application     ((action-listener|default-render-kit-id|message-bundle|navigation-handler|view-handler|state-manager|property-resolver|variable-resolver|locale-config)*)>
+
+
+<!--
+    The "factory" element provides a mechanism to define the various
+    Factories that comprise parts of the implementation of JavaServer
+    Faces.  For nested elements that are not specified, the JSF
+    implementation must provide a suitable default.
+-->
+<!ELEMENT factory     ((application-factory|faces-context-factory|lifecycle-factory|render-kit-factory)*)>
+
+
+<!--
+    The "attribute" element represents a named, typed, value associated with
+    the parent UIComponent via the generic attributes mechanism.
+
+    Attribute names must be unique within the scope of the parent (or related)
+    component.
+-->
+<!ELEMENT attribute       (description*, display-name*, icon*, attribute-name, attribute-class, default-value?, suggested-value?, attribute-extension*)>
+
+<!-- 
+    Extension element for attribute.  May contain implementation
+    specific content.
+-->
+<!ELEMENT attribute-extension ANY>
+
+
+<!--
+    The "component" element represents a concrete UIComponent implementation
+    class that should be registered under the specified type identifier,
+    along with its associated properties and attributes.  Component types must
+    be unique within the entire web application.
+
+    Nested "attribute" elements identify generic attributes that are recognized
+    by the implementation logic of this component.  Nested "property" elements
+    identify JavaBeans properties of the component class that may be exposed
+    for manipulation via tools.
+-->
+<!ELEMENT component       (description*, display-name*, icon*, component-type, component-class, facet*, attribute*, property*, component-extension*)>
+
+<!-- 
+    Extension element for component.  May contain implementation
+    specific content.
+-->
+<!ELEMENT component-extension ANY>
+
+<!--
+   Define the name and other design-time information for a facet that is
+   associated with a renderer or a component.
+-->
+
+<!ELEMENT facet       (description*, display-name*, icon*, facet-name, facet-extension*)>
+
+<!-- 
+    Extension element for facet.  May contain implementation
+    specific content.
+-->
+<!ELEMENT facet-extension ANY>
+
+<!--
+    The "facet-name" element represents the facet name under which a
+    UIComponent will be added to its parent.  It must be of type
+    "Identifier".
+-->
+<!ELEMENT facet-name (#PCDATA)>
+
+<!--
+    The "converter" element represents a concrete Converter implementation
+    class that should be registered under the specified converter identifier.
+    Converter identifiers must be unique within the entire web application.
+
+    Nested "attribute" elements identify generic attributes that may be
+    configured on the corresponding UIComponent in order to affect the
+    operation of the Converter.  Nested "property" elements identify JavaBeans
+    properties of the Converter implementation class that may be configured
+    to affect the operation of the Converter.
+-->
+<!ELEMENT converter       (description*, display-name*, icon*, (converter-id | converter-for-class), converter-class, attribute*, property*)>
+
+
+<!--
+    The "icon" element contains "small-icon" and "large-icon" elements that
+    specify the resoruce paths for small and large GIF or JPG icon images
+    used to represent the parent element in a GUI tool.
+-->
+<!ELEMENT icon            (small-icon?, large-icon?)>
+<!ATTLIST icon            xml:lang        %Language;      #IMPLIED>
+
+<!--
+    The "lifecycle" element provides a mechanism to specify
+    modifications to the behaviour of the default Lifecycle
+    implementation for this web application.
+-->
+<!ELEMENT lifecycle       (phase-listener*)>
+
+<!--
+     The "locale-config" element allows the app developer to declare the
+     supported locales for this application.  
+-->
+<!ELEMENT locale-config (default-locale?, supported-locale*)>
+
+<!--
+    The "managed-bean" element represents a JavaBean, of a particular class,
+    that will be dynamically instantiated at runtime (by the default
+    VariableResolver implementation) if it is referenced as the first element
+    of a value binding expression, and no corresponding bean can be
+    identified in any scope.  In addition to the creation of the managed bean,
+    and the optional storing of it into the specified scope, the nested
+    managed-property elements can be used to initialize the contents of
+    settable JavaBeans properties of the created instance.
+-->
+<!ELEMENT managed-bean (description*, display-name*, icon*, managed-bean-name, managed-bean-class, managed-bean-scope, (managed-property* | map-entries | list-entries))>
+
+
+<!--
+    The "managed-property" element represents an individual property of a
+    managed bean that will be configured to the specified value (or value set)
+    if the corresponding managed bean is automatically created.
+-->
+<!ELEMENT managed-property (description*, display-name*, icon*, property-name, property-class?, (map-entries|null-value|value|list-entries))>
+
+
+<!--
+    The "map-entry" element reprsents a single key-entry pair that
+    will be added to the computed value of a managed property of type
+    java.util.Map.
+-->
+<!ELEMENT map-entry (key, (null-value|value))>
+
+
+<!--
+    The "map-entries' element represents a set of key-entry pairs that
+    will be added to the computed value of a managed property of type
+    java.util.Map.  In addition, the Java class types of the key and entry
+    values may be optionally declared.
+-->
+<!ELEMENT map-entries (key-class?, value-class?, map-entry*)>
+
+
+<!--
+    The base name of a resource bundle representing the message resources
+    for this application.  See the JavaDocs for the "java.util.ResourceBundle"
+    class for more information on the syntax of resource bundle names.
+-->
+
+<!ELEMENT message-bundle (#PCDATA)>
+
+
+<!--
+    The "navigation-case" element describes a particular combination of
+    conditions that must match for this case to be executed, and the
+    view id of the component tree that should be selected next.
+-->
+<!ELEMENT navigation-case (description*, display-name*, icon*, from-action?, from-outcome?, to-view-id, redirect?)>
+
+
+<!--
+    The "navigation-rule" element represents an individual decision rule
+    that will be utilized by the default NavigationHandler
+    implementation to make decisions on what view should be displayed
+    next, based on the view id being processed.
+-->
+<!ELEMENT navigation-rule (description*, display-name*, icon*, from-view-id?, navigation-case*)>
+
+
+<!--
+    The "property" element represents a JavaBean property of the Java class
+    represented by our parent element.
+
+    Property names must be unique within the scope of the Java class
+    that is represented by the parent element, and must correspond to
+    property names that will be recognized when performing introspection
+    against that class via java.beans.Introspector.
+-->
+<!ELEMENT property        (description*, display-name*, icon*, property-name, property-class, default-value?, suggested-value?, property-extension*)>
+
+<!-- 
+    Extension element for property.  May contain implementation
+    specific content.
+-->
+<!ELEMENT property-extension ANY>
+
+<!--
+    The "referenced-bean" element represents at design time the promise
+    that a Java object of the specified type will exist at runtime in some
+    scope, under the specified key.  This can be used by design time tools
+    to construct user interface dialogs based on the properties of the
+    specified class.  The presence or absence of a referenced bean
+    element has no impact on the JavaServer Faces runtime environment
+    inside a web application.
+-->
+<!ELEMENT referenced-bean (description*, display-name*, icon*, referenced-bean-name, referenced-bean-class)>
+
+
+<!--
+    The "render-kit" element represents a concrete RenderKit implementation
+    that should be registered under the specified render-kit-id.  If no
+    render-kit-id is specified, the identifier of the default RenderKit
+    (RenderKitFactory.DEFAULT_RENDER_KIT) is assumed.
+-->
+<!ELEMENT render-kit      (description*, display-name*, icon*, render-kit-id?, render-kit-class?, renderer*)>
+
+
+<!--
+    The "renderer" element represents a concrete Renderer implementation
+    class that should be registered under the specified component family
+    and renderer type identifiers, in the RenderKit associated with the
+    parent "render-kit" element.  Combinations of component family and renderer
+    type must be unique within the RenderKit associated with the parent
+    "render-kit" element.
+
+    Nested "attribute" elements identify generic component attributes that
+    are recognized by this renderer.
+-->
+<!ELEMENT renderer        (description*, display-name*, icon*, component-family, renderer-type, renderer-class, facet*, attribute*, renderer-extension*)>
+
+<!-- 
+    Extension element for renderer.  May contain implementation
+    specific content.
+-->
+<!ELEMENT renderer-extension ANY>
+
+<!--
+    The "validator" element represents a concrete Validator implementation
+    class that should be registered under the specified validator identifier.
+    Validator identifiers must be unique within the entire web application.
+
+    Nested "attribute" elements identify generic attributes that may be
+    configured on the corresponding UIComponent in order to affect the
+    operation of the Validator.  Nested "property" elements identify JavaBeans
+    properties of the Validator implementation class that may be configured
+    to affect the operation of the Validator.
+-->
+<!ELEMENT validator       (description*, display-name*, icon*, validator-id, validator-class, attribute*, property*)>
+
+
+<!--
+    The "list-entries" element represents a set of initialization
+    elements for a managed property that is a java.util.List or an
+    array.  In the former case, the "value-class" element can optionally
+    be used to declare the Java type to which each value should be
+    converted before adding it to the Collection.
+-->
+<!ELEMENT list-entries    (value-class?, (null-value|value)*)>
+
+
+<!-- ==================== Subordinate Elements ============================ -->
+
+
+<!--
+    The "action-listener" element contains the fully qualified class name
+    of the concrete ActionListener implementation class that will be called
+    during the Invoke Application phase of the request processing lifecycle.
+    It must be of type "ClassName".
+-->
+<!ELEMENT action-listener (#PCDATA)>
+
+<!--
+    The "application-factory" element contains the fully qualified class
+    name of the concrete ApplicationFactory implementation class that
+    will be called when FactoryFinder.getFactory(APPLICATION_FACTORY) is
+    called. It must be of type "ClassName".
+-->
+<!ELEMENT application-factory (#PCDATA)>
+
+<!--
+    The "attribute-class" element represents the Java type of the value
+    associated with this attribute name.  It must be of type "ClassName".
+-->
+<!ELEMENT attribute-class (#PCDATA)>
+
+
+<!--
+    The "attribute-name" element represents the name under which the
+    corresponding value will be stored, in the generic attributes of the
+    UIComponent we are related to.
+-->
+<!ELEMENT attribute-name  (#PCDATA)>
+
+
+<!--
+    The "component-class" element represents the fully qualified class name
+    of a concrete UIComponent implementation class.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT component-class (#PCDATA)>
+
+
+<!--
+    The "component-family" element represents the component family for
+    which the Renderer represented by the parent "renderer" element will be
+    used.
+-->
+<!ELEMENT component-family (#PCDATA)>
+
+<!--
+    The "component-type" element represents the name under which the
+    corresponding UIComponent class should be registered.
+-->
+<!ELEMENT component-type  (#PCDATA)>
+
+
+<!--
+    The "converter-class" element represents the fully qualified class name
+    of a concrete Converter implementation class.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT converter-class (#PCDATA)>
+
+
+<!--
+    The "converter-for-class" element represents the fully qualified class name
+    for which a Converter class will be registered.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT converter-for-class (#PCDATA)>
+
+
+<!--
+    The "converter-id" element represents the identifier under which the
+    corresponding Converter class should be registered.
+-->
+<!ELEMENT converter-id    (#PCDATA)>
+
+<!--
+    The "default-render-kit-id" element allows the application to define
+    a renderkit to be used other than the standard one. 
+-->
+<!ELEMENT default-render-kit-id   (#PCDATA)>
+
+<!--
+     The "default-locale" element declares the default locale for this
+     application instance.  It must be specified as
+     :language:[_:country:[_:variant:]] without the colons, for example
+     "ja_JP_SJIS".  The separators between the segments may be '-' or
+     '_'.
+-->
+<!ELEMENT default-locale (#PCDATA)>
+
+<!--
+    The "default-value" contains the value for the property or attribute
+    in which this element resides.  This value differs from the
+    "suggested-value" in that the property or attribute must take the
+    value, whereas in "suggested-value" taking the value is optional.
+-->
+<!ELEMENT default-value (#PCDATA)>
+
+<!--
+    The "description" element contains a textual description of the element
+    it is nested in, optionally flagged with a language code using the
+    "xml:lang" attribute.
+-->
+<!ELEMENT description     ANY>
+<!ATTLIST description     xml:lang        %Language;      #IMPLIED>
+
+
+<!--
+    The "display-name" element is a short descriptive name describing the
+    entity associated with the element it is nested in, intended to be
+    displayed by tools, and optionally flagged with a language code using
+    the "xml:lang" attribute.
+-->
+<!ELEMENT display-name    (#PCDATA)>
+<!ATTLIST display-name    xml:lang        %Language;      #IMPLIED>
+
+<!--
+    The "faces-context-factory" element contains the fully qualified
+    class name of the concrete FacesContextFactory implementation class
+    that will be called when
+    FactoryFinder.getFactory(FACES_CONTEXT_FACTORY) is called. It must
+    be of type "ClassName".
+-->
+<!ELEMENT faces-context-factory (#PCDATA)>
+
+<!--
+    The "from-action" element contains an action reference expression
+    that must have been executed (by the default ActionListener for handling
+    application level events) in order to select this navigation rule.  If
+    not specified, this rule will be relevant no matter which action reference
+    was executed (or if no action reference was executed).
+
+    This value must be of type "Action".
+-->
+<!ELEMENT from-action (#PCDATA)>
+
+
+<!--
+    The "from-outcome" element contains a logical outcome string returned
+    by the execution of an application action method selected via an
+    "actionRef" property (or a literal value specified by an "action"
+    property) of a UICommand component.  If specified, this rule will be
+    relevant only if the outcome value matches this element's value.  If
+    not specified, this rule will be relevant no matter what the outcome
+    value was.
+-->
+<!ELEMENT from-outcome    (#PCDATA)>
+
+
+<!--
+    The "from-view-id" element contains the view identifier of the view
+    for which the containing navigation rule is relevant.  If no
+    "from-view" element is specified, this rule applies to navigation
+    decisions on all views.  If this element is not specified, a value
+    of "*" is assumed, meaning that this navigation rule applies to all
+    views.
+
+    This value must be of type "ViewIdPattern".
+-->
+<!ELEMENT from-view-id    (#PCDATA)>
+
+
+<!--
+    The "key" element is the String representation of a map key that
+    will be stored in a managed property of type java.util.Map.  
+-->
+<!ELEMENT key             (#PCDATA)>
+
+
+<!--
+    The "key-class" element defines the Java type to which each "key"
+    element in a set of "map-entry" elements will be converted to.  It
+    must be of type "ClassName".  If omitted, "java.lang.String"
+    is assumed.
+-->
+<!ELEMENT key-class       (#PCDATA)>
+
+
+<!--
+    The "large-icon" element contains the resource path to a large (32x32)
+    icon image.  The image may be in either GIF or JPG format.
+-->
+<!ELEMENT large-icon      (#PCDATA)>
+
+<!--
+    The "lifecycle-factory" element contains the fully qualified class name
+    of the concrete LifecycleFactory implementation class that will be called
+    when FactoryFinder.getFactory(LIFECYCLE_FACTORY) is called. It must be 
+    of type "ClassName".
+-->
+<!ELEMENT lifecycle-factory (#PCDATA)>
+
+<!--
+    The "managed-bean-class" element represents the fully qualified class
+    name of the Java class that will be used to instantiate a new instance
+    if creation of the specified managed bean is requested.  It must be of
+    type "ClassName".
+
+    The specified class must conform to standard JavaBeans conventions.
+    In particular, it must have a public zero-arguments constructor, and
+    zero or more public property setters.
+-->
+<!ELEMENT managed-bean-class  (#PCDATA)>
+
+
+<!--
+    The "managed-bean-name" element represents the attribute name under
+    which a managed bean will be searched for, as well as stored (unless
+    the "managed-bean-scope" value is "none").  It must be of type
+    "Identifier".
+-->
+<!ELEMENT managed-bean-name (#PCDATA)>
+
+
+<!--
+    The "managed-bean-scope" element represents the scope into which a newly
+    created instance of the specified managed bean will be stored (unless
+    the value is "none").  It must be of type "ScopeOrNone".
+-->
+<!ELEMENT managed-bean-scope (#PCDATA)>
+
+<!--
+    The "navigation-handler" element contains the fully qualified class name
+    of the concrete NavigationHandler implementation class that will be called
+    during the Invoke Application phase of the request processing lifecycle,
+    if the default ActionListener (provided by the JSF implementation) is used.
+    It must be of type "ClassName".
+-->
+<!ELEMENT navigation-handler (#PCDATA)>
+
+<!--
+The "phase-listener" element contains the fully qualified class
+name of the concrete PhaseListener implementation class that will be
+registered on the Lifecycle. It must be of type "ClassName".
+-->
+<!ELEMENT phase-listener (#PCDATA)>
+
+<!--
+    The "redirect" element indicates that navigation to the specified
+    "to-view-id" should be accomplished by performing an HTTP redirect
+    rather than the usual ViewHandler mechanisms.
+-->
+<!ELEMENT redirect EMPTY>
+
+<!--
+    The "suggested-value" contains the value for the property or
+    attribute in which this element resides.  This value is advisory
+    only and is intended for tools to use when populating pallettes.
+-->
+<!ELEMENT suggested-value (#PCDATA)>
+
+
+<!--
+
+    The "view-handler" element contains the fully qualified class name
+    of the concrete ViewHandler implementation class that will be called
+    during the Restore View and Render Response phases of the request
+    processing lifecycle.  The faces implementation must provide a
+    default implementation of this class
+-->
+<!ELEMENT view-handler (#PCDATA)>
+
+<!--
+
+    The "state-manager" element contains the fully qualified class name
+    of the concrete StateManager implementation class that will be called
+    during the Restore View and Render Response phases of the request
+    processing lifecycle.  The faces implementation must provide a
+    default implementation of this class
+-->
+<!ELEMENT state-manager (#PCDATA)>
+
+<!--
+    The "null-value" element indicates that the managed property in which we
+    are nested will be explicitly set to null if our managed bean is
+    automatically created.  This is different from omitting the managed
+    property element entirely, which will cause no property setter to be
+    called for this property.
+
+    The "null-value" element can only be used when the associated
+    "property-class" identifies a Java class, not a Java primitive.
+-->
+<!ELEMENT null-value EMPTY>
+
+
+<!--
+    The "property-class" element represents the Java type of the value
+    associated with this property name.  It must be of type "JavaType".
+    If not specified, it can be inferred from existing classes; however,
+    this element should be specified if the configuration file is going
+    to be the source for generating the corresponding classes.
+-->
+<!ELEMENT property-class  (#PCDATA)>
+
+
+<!--
+    The "property-name" element represents the JavaBeans property name
+    under which the corresponding value may be stored.
+-->
+<!ELEMENT property-name   (#PCDATA)>
+
+
+<!--
+    The "property-resolver" element contains the fully qualified class name
+    of the concrete PropertyResolver implementation class that will be used
+    during the processing of value binding expressions.
+    It must be of type "ClassName".
+-->
+<!ELEMENT property-resolver (#PCDATA)>
+
+
+<!--
+    The "referenced-bean-class" element represents the fully qualified class
+    name of the Java class (either abstract or concrete) or Java interface
+    implemented by the corresponding referenced bean.  It must be of type
+    "ClassName".
+-->
+<!ELEMENT referenced-bean-class  (#PCDATA)>
+
+
+<!--
+    The "referenced-bean-name" element represents the attribute name under
+    which the corresponding referenced bean may be assumed to be stored,
+    in one of the scopes defined by the "Scope" type.  It must be of type
+    "Identifier".
+-->
+<!ELEMENT referenced-bean-name (#PCDATA)>
+
+
+<!--
+    The "render-kit-id" element represents an identifier for the
+    RenderKit represented by the parent "render-kit" element.
+-->
+<!ELEMENT render-kit-id   (#PCDATA)>
+
+
+<!--
+    The "render-kit-class" element represents the fully qualified class name
+    of a concrete RenderKit implementation class.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT render-kit-class (#PCDATA)>
+
+
+<!--
+    The "renderer-class" element represents the fully qualified class name
+    of a concrete Renderer implementation class.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT renderer-class  (#PCDATA)>
+
+<!--
+    The "render-kit-factory" element contains the fully qualified class name
+    of the concrete RenderKitFactory implementation class that will be called
+    when FactoryFinder.getFactory(RENDER_KIT_FACTORY) is called. It must be 
+    of type "ClassName".
+-->
+<!ELEMENT render-kit-factory (#PCDATA)>
+
+<!--
+    The "renderer-type" element represents a renderer type identifier for the
+    Renderer represented by the parent "renderer" element.
+-->
+<!ELEMENT renderer-type   (#PCDATA)>
+
+<!--
+    The "small-icon" element contains the resource path to a large (16x16)
+    icon image.  The image may be in either GIF or JPG format.
+-->
+<!ELEMENT small-icon      (#PCDATA)>
+
+<!--
+     The "supported-locale" element allows authors to declare which
+     locales are supported in this application instance.
+
+     It must be specified as :language:[_:country:[_:variant:]] without
+     the colons, for example "ja_JP_SJIS".  The separators between the
+     segments may be '-' or '_'.
+-->
+<!ELEMENT supported-locale (#PCDATA)>
+
+<!--
+    The "to-view" element contains the view identifier of the next view
+    that should be displayed if this navigation rule is matched.  It
+    must be of type "ViewId".
+-->
+<!ELEMENT to-view-id      (#PCDATA)>
+
+
+<!--
+    The "validator-class" element represents the fully qualified class name
+    of a concrete Validator implementation class.  It must be of
+    type "ClassName".
+-->
+<!ELEMENT validator-class (#PCDATA)>
+
+
+<!--
+    The "validator-id" element represents the identifier under which the
+    corresponding Validator class should be registered.
+-->
+<!ELEMENT validator-id    (#PCDATA)>
+
+
+<!--
+    The "value" element is the String representation of a literal
+    value to which a scalar managed property will be set, or a value
+    binding expression ("#{...}") that will be used to calculate the
+    required value.  It will be converted as specified for the actual
+    property type.
+-->
+<!ELEMENT value (#PCDATA)>
+
+
+<!--
+    The "value-class" element defines the Java type to which each
+    "value" element's value will be converted to, prior to adding it to
+    the "list-entries" list for a managed property that is a
+    java.util.List, or a "map-entries" map for a managed property that
+    is a java.util.Map.  It must be of type "ClassName".  If omitted,
+    "java.lang.String" is assumed.
+-->
+<!ELEMENT value-class (#PCDATA)>
+
+<!--
+    The "variable-resolver" element contains the fully qualified class name
+    of the concrete VariableResolver implementation class that will be used
+    during the processing of value binding expressions.
+    It must be of type "ClassName".
+-->
+<!ELEMENT variable-resolver (#PCDATA)>
+
+
+<!-- ============================ Identifier Attributes ==================== -->
+
+
+<!ATTLIST action-listener                   id ID #IMPLIED>
+<!ATTLIST application                       id ID #IMPLIED>
+<!ATTLIST application-factory               id ID #IMPLIED>
+<!ATTLIST attribute                         id ID #IMPLIED>
+<!ATTLIST attribute-class                   id ID #IMPLIED>
+<!ATTLIST attribute-extension               id ID #IMPLIED>
+<!ATTLIST attribute-name                    id ID #IMPLIED>
+<!ATTLIST component                         id ID #IMPLIED>
+<!ATTLIST component-class                   id ID #IMPLIED>
+<!ATTLIST component-extension               id ID #IMPLIED>
+<!ATTLIST component-family                  id ID #IMPLIED>
+<!ATTLIST component-type                    id ID #IMPLIED>
+<!ATTLIST converter                         id ID #IMPLIED>
+<!ATTLIST converter-class                   id ID #IMPLIED>
+<!ATTLIST converter-for-class               id ID #IMPLIED>
+<!ATTLIST converter-id                      id ID #IMPLIED>
+<!ATTLIST default-locale                    id ID #IMPLIED>
+<!ATTLIST default-render-kit-id             id ID #IMPLIED>
+<!ATTLIST default-value                     id ID #IMPLIED>
+<!ATTLIST description                       id ID #IMPLIED>
+<!ATTLIST display-name                      id ID #IMPLIED>
+<!ATTLIST faces-config                      id ID #IMPLIED>
+<!ATTLIST faces-context-factory             id ID #IMPLIED>
+<!ATTLIST facet                             id ID #IMPLIED>
+<!ATTLIST facet-extension                   id ID #IMPLIED>
+<!ATTLIST facet-name                        id ID #IMPLIED>
+<!ATTLIST factory                           id ID #IMPLIED>
+<!ATTLIST from-action                       id ID #IMPLIED>
+<!ATTLIST from-outcome                      id ID #IMPLIED>
+<!ATTLIST from-view-id                      id ID #IMPLIED>
+<!ATTLIST icon                              id ID #IMPLIED>
+<!ATTLIST key                               id ID #IMPLIED>
+<!ATTLIST key-class                         id ID #IMPLIED>
+<!ATTLIST large-icon                        id ID #IMPLIED>
+<!ATTLIST lifecycle                         id ID #IMPLIED>
+<!ATTLIST lifecycle-factory                 id ID #IMPLIED>
+<!ATTLIST list-entries                      id ID #IMPLIED>
+<!ATTLIST locale-config                     id ID #IMPLIED>
+<!ATTLIST managed-bean                      id ID #IMPLIED>
+<!ATTLIST managed-bean-class                id ID #IMPLIED>
+<!ATTLIST managed-bean-name                 id ID #IMPLIED>
+<!ATTLIST managed-bean-scope                id ID #IMPLIED>
+<!ATTLIST managed-property                  id ID #IMPLIED>
+<!ATTLIST map-entries                       id ID #IMPLIED>
+<!ATTLIST map-entry                         id ID #IMPLIED>
+<!ATTLIST message-bundle                    id ID #IMPLIED>
+<!ATTLIST navigation-case                   id ID #IMPLIED>
+<!ATTLIST navigation-handler                id ID #IMPLIED>
+<!ATTLIST navigation-rule                   id ID #IMPLIED>
+<!ATTLIST null-value                        id ID #IMPLIED>
+<!ATTLIST phase-listener                    id ID #IMPLIED>
+<!ATTLIST property                          id ID #IMPLIED>
+<!ATTLIST property-class                    id ID #IMPLIED>
+<!ATTLIST property-extension                id ID #IMPLIED>
+<!ATTLIST property-name                     id ID #IMPLIED>
+<!ATTLIST property-resolver                 id ID #IMPLIED>
+<!ATTLIST redirect                          id ID #IMPLIED>
+<!ATTLIST referenced-bean                   id ID #IMPLIED>
+<!ATTLIST referenced-bean-class             id ID #IMPLIED>
+<!ATTLIST referenced-bean-name              id ID #IMPLIED>
+<!ATTLIST render-kit                        id ID #IMPLIED>
+<!ATTLIST render-kit-class                  id ID #IMPLIED>
+<!ATTLIST render-kit-factory                id ID #IMPLIED>
+<!ATTLIST render-kit-id                     id ID #IMPLIED>
+<!ATTLIST renderer                          id ID #IMPLIED>
+<!ATTLIST renderer-class                    id ID #IMPLIED>
+<!ATTLIST renderer-extension                id ID #IMPLIED>
+<!ATTLIST renderer-type                     id ID #IMPLIED>
+<!ATTLIST small-icon                        id ID #IMPLIED>
+<!ATTLIST state-manager                     id ID #IMPLIED>
+<!ATTLIST suggested-value                   id ID #IMPLIED>
+<!ATTLIST supported-locale                  id ID #IMPLIED>
+<!ATTLIST to-view-id                        id ID #IMPLIED>
+<!ATTLIST validator                         id ID #IMPLIED>
+<!ATTLIST validator-class                   id ID #IMPLIED>
+<!ATTLIST validator-id                      id ID #IMPLIED>
+<!ATTLIST value                             id ID #IMPLIED>
+<!ATTLIST value-class                       id ID #IMPLIED>
+<!ATTLIST variable-resolver                 id ID #IMPLIED>
+<!ATTLIST view-handler                      id ID #IMPLIED>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/binding-manager/sample-bindings.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/binding-manager/sample-bindings.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/binding-manager/sample-bindings.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1608 @@
+<!--
+   $Id: sample-bindings.xml 63329 2007-06-04 09:56:26Z dimitris at jboss.org $
+
+   A sample configuration for the binding service which defines different
+   port configurations (ports-default, ports-01, ports-02) for running multiple
+   JBoss instances in parallel on the same machine.
+
+   The actual port configuration can be selected within the jboss-service.xml
+   file via ServiceBindingManager attribute ServerName.
+
+   The following sample e.g. selects the jboss-default port configuration
+
+   <mbean code="org.jboss.services.binding.ServiceBindingManager"
+          name="jboss.system:service=ServiceBindingManager">
+      <attribute name="ServerName">ports-default</attribute>
+      <attribute name="StoreURL">file:../server/port-bindings.xml</attribute>
+      <attribute name="StoreFactoryClassName">
+         org.jboss.services.binding.XMLServicesStoreFactory
+      </attribute>
+   </mbean>
+
+   For running a second server instance you have to change the port
+   bindings of that instance by specifing an alternative port binding
+   configuration in the jboss-service.xml of the second server, e.g.
+
+   <attribute name="ServerName">ports-01</attribute>
+
+   Additional documentation for running multiple JBoss instances on the
+   same machine can be found at http://www.jboss.com/products/jbossas/docs
+   in the offical JBoss Application Server Guide in chapter
+   "MBean Service Miscellany - Services Binding Management"
+-->
+<service-bindings>
+
+   <!-- ********************************************************** -->
+   <!-- *                        ports-default                   * -->
+   <!-- ********************************************************** -->
+   <server name="ports-default">
+
+      <!-- ********************* jboss-service.xml ****************** -->
+
+      <service-config name="jboss:service=Naming"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port" hostName="BindAddress">
+            <attribute name="RmiPort">1098</attribute>
+         </delegate-config>
+         <binding port="1099" host="${jboss.bind.address}"/>
+      </service-config>
+
+
+      <service-config name="jboss:service=WebService"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="8083"/>
+      </service-config>
+
+
+      <service-config name="jboss:service=invoker,type=jrmp"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="4444"/>
+      </service-config>
+
+      <service-config name="jboss:service=invoker,type=pooled"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="4445"/>
+      </service-config>
+
+
+      <!-- ********************* cluster-service.xml **************** -->
+
+      <service-config name="jboss:service=HAJNDI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="Port" hostName="BindAddress">
+            <attribute name="RmiPort">1101</attribute>
+         </delegate-config>
+         <binding port="1100" host="${jboss.bind.address}"/>
+      </service-config>
+
+      <service-config name="jboss:service=invoker,type=jrmpha"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="4444"/>
+      </service-config>
+
+      <service-config name="jboss:service=invoker,type=pooledha"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="4448"/>
+      </service-config>
+
+      <!-- ********************* iiop-service.xml ****************** -->
+
+      <service-config name="jboss:service=CorbaORB"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="3528"/>
+      </service-config>
+
+
+      <!-- ********************* jmx-rmi-adaptor.sar **************** -->
+
+      <service-config name="jboss.jmx:type=Connector,name=RMI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="19001"/>
+      </service-config>
+
+
+      <!-- ********************* snmp-adaptor.sar ****************** -->
+
+      <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="1162"/>
+      </service-config>
+
+      <service-config name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="1161"/>
+      </service-config>
+
+
+      <!-- ********************* jbossmq-service.xml **************** -->
+
+      <!-- JMS related services -->
+      <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="8093"/>
+      </service-config>
+
+
+      <!-- ********************* jbossmq-httpil.sar **************** -->
+      <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="URLPort"/>
+         <binding port="8080"/>
+      </service-config>
+
+      <!-- ********************* hajndi-jms-ds.xml **************** -->
+
+      <!-- The JMS provider loader -->
+      <service-config name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <!--
+              MAKE SURE java.naming.provider.url
+              PORT IS SAME AS HA-JNDI ABOVE !!!
+         -->
+         <delegate-config>
+            <attribute name="Properties"><![CDATA[
+                java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+                java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+                java.naming.provider.url=${jboss.bind.address:localhost}:1100
+                jnp.disableDiscovery=false
+                jnp.partitionName=${jboss.partition.name:DefaultPartition}
+                jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+                jnp.discoveryPort=1102
+                jnp.discoveryTTL=16
+                jnp.discoveryTimeout=5000
+                jnp.maxRetries=1
+           ]]>
+           </attribute>
+        </delegate-config>
+        <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
+             BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
+        <binding port="1100"/>
+      </service-config>
+
+      <!-- **************** http-invoker.sar & httpha-invoker.sar*************** -->
+      <!-- EJBInvoker -->
+      <service-config name="jboss:service=invoker,type=http"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8080"/>
+      </service-config>
+
+      <!-- EJB3 Remoting Connector ejb3.deployer/META-INF/jboss-service.xml -->
+
+      <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+        <delegate-config>
+           <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>
+        </delegate-config>
+         <binding port="3873"/>
+      </service-config>
+
+        <!-- JMXInvoker -->
+      <service-config name="jboss:service=invoker,type=http,target=Naming"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8080"/>
+      </service-config>
+
+        <!-- readonly JMXInvoker -->
+      <service-config name="jboss:service=invoker,type=http,target=Naming,readonly=true"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/readonly/JMXInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8080"/>
+      </service-config>
+
+    <!-- **************** httpha-invoker.sar*************** -->
+      <!-- EJBInvokerHA -->
+      <service-config name="jboss:service=invoker,type=httpHA"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerHAServlet</attribute>
+        </delegate-config>
+         <binding port="8080"/>
+      </service-config>
+
+      <!-- JMXInvokerHA -->
+      <service-config name="jboss:service=invoker,type=http,target=HAJNDI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerHAServlet</attribute>
+        </delegate-config>
+         <binding port="8080"/>
+      </service-config>
+
+
+    <!-- ********************* jboss-ws4ee.sar **************** -->
+
+      <!-- Web Service related services -->
+      <service-config name="jboss.ws4ee:service=AxisService"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+        <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
+        <binding port="8080" host="${jboss.bind.address}"/>
+      </service-config>
+
+      <!-- ********************* remoting **************** -->
+
+       <!-- *** remoting connector *** -->
+       <service-config name="jboss.remoting:service=Connector,transport=socket"
+          delegateClass="org.jboss.services.binding.XSLTConfigDelegate">
+          <delegate-config>
+             <xslt-config configName="Configuration"><![CDATA[
+               <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+                  <xsl:output method="xml" />
+                  <xsl:param name="port"/>
+
+                  <xsl:template match="/">
+                     <xsl:apply-templates/>
+                  </xsl:template>
+
+                  <xsl:template match="attribute[@name='serverBindPort']">
+                     <attribute type="java.lang.String" name="serverBindPort"><xsl:value-of select='$port'/></attribute>
+                  </xsl:template>
+
+                  <xsl:template match="*|@*">
+                     <xsl:copy>
+                        <xsl:apply-templates select="@*|node()"/>
+                     </xsl:copy>
+                  </xsl:template>
+               </xsl:stylesheet>
+          ]]>
+          </xslt-config>
+          </delegate-config>
+          <binding port="4446" />
+       </service-config>
+
+
+      <!-- ********************* hsqldb-ds.xml ********************** -->
+
+      <!-- Hypersonic related services when using the tcp/ip access
+      <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
+         delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
+      >
+         <delegate-config>
+         <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
+<xsl:stylesheet
+      xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+  <xsl:output method="xml" />
+  <xsl:param name="host"/>
+  <xsl:param name="port"/>
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="config-property[@name='ConnectionURL']">
+    <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
+  </xsl:template>
+
+  <xsl:template match="*|@*">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+</xsl:stylesheet>
+]]>
+         </xslt-config>
+         </delegate-config>
+         <binding host="localhost" port="1701" />
+      </service-config>
+
+      <service-config name="jboss:service=Hypersonic"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="Port" />
+         <binding port="1701" />
+      </service-config>
+      -->
+
+
+      <!-- ********************* tomcat ********************** -->
+
+      <service-config name="jboss.web:service=WebServer"
+         delegateClass="org.jboss.services.binding.XSLTFileDelegate"
+         >
+         <delegate-config>
+            <xslt-config configName="ConfigFile"><![CDATA[
+   <xsl:stylesheet
+         xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+     <xsl:output method="xml" />
+     <xsl:param name="port"/>
+
+     <xsl:variable name="portAJP" select="$port - 71"/>
+     <xsl:variable name="portHttps" select="$port + 363"/>
+
+     <xsl:template match="/">
+       <xsl:apply-templates/>
+     </xsl:template>
+
+      <xsl:template match = "Connector">
+         <Connector>
+            <xsl:for-each select="@*">
+            <xsl:choose>
+               <xsl:when test="(name() = 'port' and . = '8080')">
+                  <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'port' and . = '8009')">
+                  <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'redirectPort')">
+                  <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'port' and . = '8443')">
+                  <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
+               </xsl:when>
+               <xsl:otherwise>
+                  <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
+               </xsl:otherwise>
+            </xsl:choose>
+            </xsl:for-each>
+            <xsl:apply-templates/>
+         </Connector>
+      </xsl:template>
+
+     <xsl:template match="*|@*">
+       <xsl:copy>
+         <xsl:apply-templates select="@*|node()"/>
+       </xsl:copy>
+     </xsl:template>
+   </xsl:stylesheet>
+   ]]>
+            </xslt-config>
+         </delegate-config>
+         <binding port="8080"/>
+      </service-config>
+
+      <!-- ********************* jboss messaging ********************** -->
+
+      <service-config name="jboss.messaging:service=Connector,transport=bisocket"
+                      delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config>
+            <attribute name="Configuration"><![CDATA[
+               <config>
+                  <invoker transport="bisocket">
+                     <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
+                     <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
+                     <attribute name="dataType" isParam="true">jms</attribute>
+                     <attribute name="socket.check_connection" isParam="true">false</attribute>
+                     <attribute name="timeout" isParam="true">0</attribute>
+                     <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
+                     <attribute name="serverBindPort">4457</attribute>
+                     <attribute name="leasePeriod">10000</attribute>
+                     <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
+                     <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
+                     <attribute name="numberOfRetries" isParam="true">1</attribute>
+                     <attribute name="numberOfCallRetries" isParam="true">1</attribute>
+                     <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
+                  </invoker>
+                 <handlers>
+                    <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
+                 </handlers>
+              </config>
+         ]]></attribute>
+         </delegate-config>
+         <binding port="4457"/>
+      </service-config>
+
+   </server>
+
+   <!-- ********************************************************** -->
+   <!-- *                          ports-01                      * -->
+   <!-- ********************************************************** -->
+   <server name="ports-01">
+
+      <!-- EJB3 Remoting Connector ejb3.deployer/META-INF/jboss-service.xml -->
+
+      <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+        <delegate-config>
+           <attribute name="InvokerLocator">socket://${jboss.bind.address}:3973</attribute>
+        </delegate-config>
+         <binding port="3973"/>
+      </service-config>
+
+      <!-- ********************* jboss-service.xml ****************** -->
+
+      <service-config name="jboss:service=Naming"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port" hostName="BindAddress">
+            <attribute name="RmiPort">1198</attribute>
+         </delegate-config>
+         <binding port="1199" host="${jboss.bind.address}"/>
+      </service-config>
+
+
+      <service-config name="jboss:service=WebService"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="8183"/>
+      </service-config>
+
+
+      <service-config name="jboss:service=invoker,type=jrmp"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="4544"/>
+      </service-config>
+
+
+      <service-config name="jboss:service=invoker,type=pooled"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="4545"/>
+      </service-config>
+
+
+      <!-- ********************* cluster-service.xml **************** -->
+
+      <service-config name="jboss:service=HAJNDI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="Port" hostName="BindAddress">
+            <attribute name="RmiPort">1201</attribute>
+         </delegate-config>
+         <binding port="1200" host="${jboss.bind.address}"/>
+      </service-config>
+
+      <service-config name="jboss:service=invoker,type=jrmpha"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="4544"/>
+      </service-config>
+
+      <service-config name="jboss:service=invoker,type=pooledha"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="4548"/>
+      </service-config>
+
+      <!-- ********************* iiop-service.xml ****************** -->
+
+      <service-config name="jboss:service=CorbaORB"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="3628"/>
+      </service-config>
+
+
+      <!-- ********************* jmx-rmi-adaptor.sar **************** -->
+
+      <service-config name="jboss.jmx:type=Connector,name=RMI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="19101"/>
+      </service-config>
+
+
+      <!-- ********************* snmp-adaptor.sar ****************** -->
+
+      <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="1262"/>
+      </service-config>
+
+      <service-config name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="1261"/>
+      </service-config>
+
+
+      <!-- ********************* jbossmq-service.xml **************** -->
+
+      <!-- JMS related services -->
+      <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="8193"/>
+      </service-config>
+
+
+      <!-- ********************* jbossmq-httpil.sar **************** -->
+      <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="URLPort"/>
+         <binding port="8180"/>
+      </service-config>
+
+      <!-- ********************* hajndi-jms-ds.xml **************** -->
+
+      <!-- The JMS provider loader -->
+      <service-config name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <!--
+              MAKE SURE java.naming.provider.url
+              PORT IS SAME AS HA-JNDI ABOVE !!!
+         -->
+         <delegate-config>
+            <attribute name="Properties"><![CDATA[
+                java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+                java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+                java.naming.provider.url=${jboss.bind.address:localhost}:1200
+                jnp.disableDiscovery=false
+                jnp.partitionName=${jboss.partition.name:DefaultPartition}
+                jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+                jnp.discoveryPort=1102
+                jnp.discoveryTTL=16
+                jnp.discoveryTimeout=5000
+                jnp.maxRetries=1
+           ]]>
+           </attribute>
+        </delegate-config>
+        <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
+             BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
+        <binding port="1200"/>
+      </service-config>
+
+      <!-- **************** http-invoker.sar & httpha-invoker.sar*************** -->
+      <!-- EJBInvoker -->
+      <service-config name="jboss:service=invoker,type=http"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8180"/>
+      </service-config>
+
+        <!-- JMXInvoker -->
+      <service-config name="jboss:service=invoker,type=http,target=Naming"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8180"/>
+      </service-config>
+
+        <!-- readonly JMXInvoker -->
+      <service-config name="jboss:service=invoker,type=http,target=Naming,readonly=true"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/readonly/JMXInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8180"/>
+      </service-config>
+
+    <!-- **************** httpha-invoker.sar*************** -->
+      <!-- EJBInvokerHA -->
+      <service-config name="jboss:service=invoker,type=httpHA"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerHAServlet</attribute>
+        </delegate-config>
+         <binding port="8180"/>
+      </service-config>
+
+      <!-- JMXInvokerHA -->
+      <service-config name="jboss:service=invoker,type=http,target=HAJNDI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerHAServlet</attribute>
+        </delegate-config>
+         <binding port="8180"/>
+      </service-config>
+
+
+
+
+      <!-- ********************* jboss-ws4ee.sar **************** -->
+
+      <!-- Web Service related services -->
+      <service-config name="jboss.ws4ee:service=AxisService"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+        <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
+        <binding port="8180" host="${jboss.bind.address}"/>
+      </service-config>
+
+      <!-- ********************* remoting **************** -->
+
+       <!-- *** remoting connector *** -->
+       <service-config name="jboss.remoting:service=Connector,transport=socket"
+          delegateClass="org.jboss.services.binding.XSLTConfigDelegate">
+          <delegate-config>
+             <xslt-config configName="Configuration"><![CDATA[
+               <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+                  <xsl:output method="xml" />
+                  <xsl:param name="port"/>
+
+                  <xsl:template match="/">
+                     <xsl:apply-templates/>
+                  </xsl:template>
+
+                  <xsl:template match="attribute[@name='serverBindPort']">
+                     <attribute type="java.lang.String" name="serverBindPort"><xsl:value-of select='$port'/></attribute>
+                  </xsl:template>
+
+                  <xsl:template match="*|@*">
+                     <xsl:copy>
+                        <xsl:apply-templates select="@*|node()"/>
+                     </xsl:copy>
+                  </xsl:template>
+               </xsl:stylesheet>
+          ]]>
+          </xslt-config>
+          </delegate-config>
+          <binding port="5446" />
+       </service-config>
+
+      <!-- ********************* hsqldb-ds.xml ********************** -->
+
+      <!-- Hypersonic related services
+
+            Only if using TCP setup (local file setup by default)
+
+      <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
+         delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
+      >
+         <delegate-config>
+         <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
+<xsl:stylesheet
+      xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+  <xsl:output method="xml" />
+  <xsl:param name="host"/>
+  <xsl:param name="port"/>
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="config-property[@name='ConnectionURL']">
+    <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
+  </xsl:template>
+
+  <xsl:template match="*|@*">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+</xsl:stylesheet>
+]]>
+         </xslt-config>
+         </delegate-config>
+         <binding host="localhost" port="1801" />
+      </service-config>
+
+      <service-config name="jboss:service=Hypersonic"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="Port" />
+         <binding port="1801" />
+      </service-config>
+
+      -->
+
+
+      <!-- ********************* tomcat ********************** -->
+
+      <service-config name="jboss.web:service=WebServer"
+         delegateClass="org.jboss.services.binding.XSLTFileDelegate"
+         >
+         <delegate-config>
+            <xslt-config configName="ConfigFile"><![CDATA[
+   <xsl:stylesheet
+         xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+     <xsl:output method="xml" />
+     <xsl:param name="port"/>
+
+     <xsl:variable name="portAJP" select="$port - 71"/>
+     <xsl:variable name="portHttps" select="$port + 363"/>
+
+     <xsl:template match="/">
+       <xsl:apply-templates/>
+     </xsl:template>
+
+      <xsl:template match = "Connector">
+         <Connector>
+            <xsl:for-each select="@*">
+            <xsl:choose>
+               <xsl:when test="(name() = 'port' and . = '8080')">
+                  <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'port' and . = '8009')">
+                  <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'redirectPort')">
+                  <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'port' and . = '8443')">
+                  <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
+               </xsl:when>
+               <xsl:otherwise>
+                  <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
+               </xsl:otherwise>
+            </xsl:choose>
+            </xsl:for-each>
+            <xsl:apply-templates/>
+         </Connector>
+      </xsl:template>
+
+     <xsl:template match="*|@*">
+       <xsl:copy>
+         <xsl:apply-templates select="@*|node()"/>
+       </xsl:copy>
+     </xsl:template>
+   </xsl:stylesheet>
+   ]]>
+            </xslt-config>
+         </delegate-config>
+         <binding port="8180"/>
+      </service-config>
+
+      <!-- ********************* jboss messaging ********************** -->
+
+      <service-config name="jboss.messaging:service=Connector,transport=bisocket"
+                      delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config>
+            <attribute name="Configuration"><![CDATA[
+               <config>
+                  <invoker transport="bisocket">
+                     <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
+                     <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
+                     <attribute name="dataType" isParam="true">jms</attribute>
+                     <attribute name="socket.check_connection" isParam="true">false</attribute>
+                     <attribute name="timeout" isParam="true">0</attribute>
+                     <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
+                     <attribute name="serverBindPort">4557</attribute>
+                     <attribute name="leasePeriod">10000</attribute>
+                     <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
+                     <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
+                     <attribute name="numberOfRetries" isParam="true">1</attribute>
+                     <attribute name="numberOfCallRetries" isParam="true">1</attribute>
+                     <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
+                  </invoker>
+                 <handlers>
+                    <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
+                 </handlers>
+              </config>
+         ]]></attribute>
+         </delegate-config>
+         <binding port="4557"/>
+      </service-config>
+
+   </server>
+
+   <!-- ********************************************************** -->
+   <!-- *                          ports-02                      * -->
+   <!-- ********************************************************** -->
+   <server name="ports-02">
+
+      <!-- EJB3 Remoting Connector ejb3.deployer/META-INF/jboss-service.xml -->
+
+      <service-config name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+        <delegate-config>
+           <attribute name="InvokerLocator">socket://${jboss.bind.address}:4073</attribute>
+        </delegate-config>
+         <binding port="4073"/>
+      </service-config>
+
+      <!-- ********************* jboss-service.xml ****************** -->
+
+      <service-config name="jboss:service=Naming"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port" hostName="BindAddress">
+            <attribute name="RmiPort">1298</attribute>
+         </delegate-config>
+         <binding port="1299" host="${jboss.bind.address}"/>
+      </service-config>
+
+
+      <service-config name="jboss:service=WebService"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="8283"/>
+      </service-config>
+
+
+      <service-config name="jboss:service=invoker,type=jrmp"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="4644"/>
+      </service-config>
+
+
+      <service-config name="jboss:service=invoker,type=pooled"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="4645"/>
+      </service-config>
+
+
+      <!-- ********************* cluster-service.xml **************** -->
+
+      <service-config name="jboss:service=HAJNDI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="Port" hostName="BindAddress">
+            <attribute name="RmiPort">1301</attribute>
+         </delegate-config>
+         <binding port="1300" host="${jboss.bind.address}"/>
+      </service-config>
+
+      <service-config name="jboss:service=invoker,type=jrmpha"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="4644"/>
+      </service-config>
+
+      <service-config name="jboss:service=invoker,type=pooledha"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="4648"/>
+      </service-config>
+
+      <!-- ********************* iiop-service.xml ****************** -->
+
+      <service-config name="jboss:service=CorbaORB"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="3728"/>
+      </service-config>
+
+
+      <!-- ********************* jmx-rmi-adaptor.sar **************** -->
+
+      <service-config name="jboss.jmx:type=Connector,name=RMI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="19201"/>
+      </service-config>
+
+
+      <!-- ********************* snmp-adaptor.sar ****************** -->
+
+      <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="1362"/>
+      </service-config>
+
+      <service-config name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="1361"/>
+      </service-config>
+
+
+      <!-- ********************* jbossmq-service.xml **************** -->
+
+      <!-- JMS related services -->
+      <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="8293"/>
+      </service-config>
+
+
+      <!-- ********************* jbossmq-httpil.sar **************** -->
+      <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="URLPort"/>
+         <binding port="8280"/>
+      </service-config>
+
+      <!-- ********************* hajndi-jms-ds.xml **************** -->
+
+      <!-- The JMS provider loader -->
+      <service-config name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <!--
+              MAKE SURE java.naming.provider.url
+              PORT IS SAME AS HA-JNDI ABOVE !!!
+         -->
+         <delegate-config>
+            <attribute name="Properties"><![CDATA[
+                java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+                java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+                java.naming.provider.url=${jboss.bind.address:localhost}:1300
+                jnp.disableDiscovery=false
+                jnp.partitionName=${jboss.partition.name:DefaultPartition}
+                jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+                jnp.discoveryPort=1102
+                jnp.discoveryTTL=16
+                jnp.discoveryTimeout=5000
+                jnp.maxRetries=1
+           ]]>
+           </attribute>
+        </delegate-config>
+        <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
+             BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
+        <binding port="1300"/>
+      </service-config>
+
+      <!-- **************** http-invoker.sar & httpha-invoker.sar*************** -->
+      <!-- EJBInvoker -->
+      <service-config name="jboss:service=invoker,type=http"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8280"/>
+      </service-config>
+
+        <!-- JMXInvoker -->
+      <service-config name="jboss:service=invoker,type=http,target=Naming"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8280"/>
+      </service-config>
+
+        <!-- readonly JMXInvoker -->
+      <service-config name="jboss:service=invoker,type=http,target=Naming,readonly=true"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/readonly/JMXInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8280"/>
+      </service-config>
+
+    <!-- **************** httpha-invoker.sar*************** -->
+      <!-- EJBInvokerHA -->
+      <service-config name="jboss:service=invoker,type=httpHA"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerHAServlet</attribute>
+        </delegate-config>
+         <binding port="8280"/>
+      </service-config>
+
+      <!-- JMXInvokerHA -->
+      <service-config name="jboss:service=invoker,type=http,target=HAJNDI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerHAServlet</attribute>
+        </delegate-config>
+         <binding port="8280"/>
+      </service-config>
+
+
+
+
+      <!-- ********************* jboss-ws4ee.sar **************** -->
+
+      <!-- Web Service related services -->
+      <service-config name="jboss.ws4ee:service=AxisService"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+        <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
+        <binding port="8280" host="${jboss.bind.address}"/>
+      </service-config>
+
+      <!-- ********************* remoting **************** -->
+
+       <!-- *** remoting connector *** -->
+       <service-config name="jboss.remoting:service=Connector,transport=socket"
+          delegateClass="org.jboss.services.binding.XSLTConfigDelegate">
+          <delegate-config>
+             <xslt-config configName="Configuration"><![CDATA[
+               <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+                  <xsl:output method="xml" />
+                  <xsl:param name="port"/>
+
+                  <xsl:template match="/">
+                     <xsl:apply-templates/>
+                  </xsl:template>
+
+                  <xsl:template match="attribute[@name='serverBindPort']">
+                     <attribute type="java.lang.String" name="serverBindPort"><xsl:value-of select='$port'/></attribute>
+                  </xsl:template>
+
+                  <xsl:template match="*|@*">
+                     <xsl:copy>
+                        <xsl:apply-templates select="@*|node()"/>
+                     </xsl:copy>
+                  </xsl:template>
+               </xsl:stylesheet>
+          ]]>
+          </xslt-config>
+          </delegate-config>
+          <binding port="6446" />
+       </service-config>
+
+
+      <!-- ********************* hsqldb-ds.xml ********************** -->
+
+      <!-- Hypersonic related services
+
+            Only if using TCP setup (local file setup by default)
+
+      <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
+         delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
+      >
+         <delegate-config>
+         <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
+<xsl:stylesheet
+      xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+  <xsl:output method="xml" />
+  <xsl:param name="host"/>
+  <xsl:param name="port"/>
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="config-property[@name='ConnectionURL']">
+    <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
+  </xsl:template>
+
+  <xsl:template match="*|@*">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+</xsl:stylesheet>
+]]>
+         </xslt-config>
+         </delegate-config>
+         <binding host="localhost" port="1901" />
+      </service-config>
+
+      <service-config name="jboss:service=Hypersonic"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="Port" />
+         <binding port="1901" />
+      </service-config>
+
+       -->
+
+
+      <!-- ********************* tomcat ***************** -->
+
+      <service-config name="jboss.web:service=WebServer"
+         delegateClass="org.jboss.services.binding.XSLTFileDelegate"
+         >
+         <delegate-config>
+            <xslt-config configName="ConfigFile"><![CDATA[
+   <xsl:stylesheet
+         xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+     <xsl:output method="xml" />
+     <xsl:param name="port"/>
+
+     <xsl:variable name="portAJP" select="$port - 71"/>
+     <xsl:variable name="portHttps" select="$port + 363"/>
+
+     <xsl:template match="/">
+       <xsl:apply-templates/>
+     </xsl:template>
+
+      <xsl:template match = "Connector">
+         <Connector>
+            <xsl:for-each select="@*">
+            <xsl:choose>
+               <xsl:when test="(name() = 'port' and . = '8080')">
+                  <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'port' and . = '8009')">
+                  <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'redirectPort')">
+                  <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'port' and . = '8443')">
+                  <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
+               </xsl:when>
+               <xsl:otherwise>
+                  <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
+               </xsl:otherwise>
+            </xsl:choose>
+            </xsl:for-each>
+            <xsl:apply-templates/>
+         </Connector>
+      </xsl:template>
+
+     <xsl:template match="*|@*">
+       <xsl:copy>
+         <xsl:apply-templates select="@*|node()"/>
+       </xsl:copy>
+     </xsl:template>
+   </xsl:stylesheet>
+   ]]>
+            </xslt-config>
+         </delegate-config>
+         <binding port="8280"/>
+      </service-config>
+
+      <!-- ********************* jboss messaging ********************** -->
+
+      <service-config name="jboss.messaging:service=Connector,transport=bisocket"
+                      delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config>
+            <attribute name="Configuration"><![CDATA[
+               <config>
+                  <invoker transport="bisocket">
+                     <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
+                     <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
+                     <attribute name="dataType" isParam="true">jms</attribute>
+                     <attribute name="socket.check_connection" isParam="true">false</attribute>
+                     <attribute name="timeout" isParam="true">0</attribute>
+                     <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
+                     <attribute name="serverBindPort">4657</attribute>
+                     <attribute name="leasePeriod">10000</attribute>
+                     <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
+                     <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
+                     <attribute name="numberOfRetries" isParam="true">1</attribute>
+                     <attribute name="numberOfCallRetries" isParam="true">1</attribute>
+                     <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
+                  </invoker>
+                 <handlers>
+                    <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
+                 </handlers>
+              </config>
+         ]]></attribute>
+         </delegate-config>
+         <binding port="4657"/>
+      </service-config>
+
+   </server>
+
+   <!-- ********************************************************** -->
+   <!-- *                          ports-03                      * -->
+   <!-- ********************************************************** -->
+   <server name="ports-03">
+
+      <!-- ********************* jboss-service.xml ****************** -->
+
+      <service-config name="jboss:service=Naming"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port" hostName="BindAddress">
+            <attribute name="RmiPort">1398</attribute>
+         </delegate-config>
+         <binding port="1399" host="${jboss.bind.address}"/>
+      </service-config>
+
+
+      <service-config name="jboss:service=WebService"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="8383"/>
+      </service-config>
+
+
+      <service-config name="jboss:service=invoker,type=jrmp"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="4744"/>
+      </service-config>
+
+
+      <service-config name="jboss:service=invoker,type=pooled"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="4745"/>
+      </service-config>
+
+
+      <!-- ********************* cluster-service.xml **************** -->
+
+      <service-config name="jboss:service=HAJNDI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="Port" hostName="BindAddress">
+            <attribute name="RmiPort">1401</attribute>
+         </delegate-config>
+         <binding port="1400" host="${jboss.bind.address}"/>
+      </service-config>
+
+      <service-config name="jboss:service=invoker,type=jrmpha"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="4744"/>
+      </service-config>
+
+      <service-config name="jboss:service=invoker,type=pooledha"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="4748"/>
+      </service-config>
+
+      <!-- ********************* iiop-service.xml ****************** -->
+
+      <service-config name="jboss:service=CorbaORB"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="3828"/>
+      </service-config>
+
+
+      <!-- ********************* jmx-rmi-adaptor.sar **************** -->
+
+      <service-config name="jboss.jmx:type=Connector,name=RMI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="RMIObjectPort"/>
+         <binding port="19301"/>
+      </service-config>
+
+
+      <!-- ********************* snmp-adaptor.sar ****************** -->
+
+      <service-config name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="1462"/>
+      </service-config>
+
+      <service-config name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="Port"/>
+         <binding port="1461"/>
+      </service-config>
+
+
+      <!-- ********************* jbossmq-service.xml **************** -->
+
+      <!-- JMS related services -->
+      <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="8393"/>
+      </service-config>
+
+
+      <!-- ********************* jbossmq-httpil.sar **************** -->
+      <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config portName="URLPort"/>
+         <binding port="8380"/>
+      </service-config>
+
+      <!-- ********************* hajndi-jms-ds.xml **************** -->
+
+      <!-- The JMS provider loader -->
+      <service-config name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <!--
+              MAKE SURE java.naming.provider.url
+              PORT IS SAME AS HA-JNDI ABOVE !!!
+         -->
+         <delegate-config>
+            <attribute name="Properties"><![CDATA[
+                java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+                java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+                java.naming.provider.url=${jboss.bind.address:localhost}:1400
+                jnp.disableDiscovery=false
+                jnp.partitionName=${jboss.partition.name:DefaultPartition}
+                jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+                jnp.discoveryPort=1102
+                jnp.discoveryTTL=16
+                jnp.discoveryTimeout=5000
+                jnp.maxRetries=1
+           ]]>
+           </attribute>
+        </delegate-config>
+        <!-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
+             BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE -->
+        <binding port="1400"/>
+      </service-config>
+
+      <!-- **************** http-invoker.sar & httpha-invoker.sar*************** -->
+      <!-- EJBInvoker -->
+      <service-config name="jboss:service=invoker,type=http"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8380"/>
+      </service-config>
+
+        <!-- JMXInvoker -->
+      <service-config name="jboss:service=invoker,type=http,target=Naming"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8380"/>
+      </service-config>
+
+        <!-- readonly JMXInvoker -->
+      <service-config name="jboss:service=invoker,type=http,target=Naming,readonly=true"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/readonly/JMXInvokerServlet</attribute>
+        </delegate-config>
+         <!--
+            MUST BE THE SAME AS
+            TOMCAT HTTP CONNECTOR BELOW !!!
+             -->
+         <binding port="8380"/>
+      </service-config>
+
+    <!-- **************** httpha-invoker.sar*************** -->
+      <!-- EJBInvokerHA -->
+      <service-config name="jboss:service=invoker,type=httpHA"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/EJBInvokerHAServlet</attribute>
+        </delegate-config>
+         <binding port="8380"/>
+      </service-config>
+
+      <!-- JMXInvokerHA -->
+      <service-config name="jboss:service=invoker,type=http,target=HAJNDI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+         <delegate-config>
+            <attribute name="InvokerURLSuffix">:${port}/invoker/JMXInvokerHAServlet</attribute>
+        </delegate-config>
+         <binding port="8380"/>
+      </service-config>
+
+
+
+
+      <!-- ********************* jboss-ws4ee.sar **************** -->
+
+      <!-- Web Service related services -->
+      <service-config name="jboss.ws4ee:service=AxisService"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+         >
+        <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
+        <binding port="8380" host="${jboss.bind.address}"/>
+      </service-config>
+
+      <!-- ********************* hsqldb-ds.xml ********************** -->
+
+      <!-- Hypersonic related services
+
+            Only if using TCP setup (local file setup by default)
+
+      <service-config name="jboss.jca:service=ManagedConnectionFactory,name=DefaultDS"
+         delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
+      >
+         <delegate-config>
+         <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
+<xsl:stylesheet
+      xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+  <xsl:output method="xml" />
+  <xsl:param name="host"/>
+  <xsl:param name="port"/>
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="config-property[@name='ConnectionURL']">
+    <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
+  </xsl:template>
+
+  <xsl:template match="*|@*">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+</xsl:stylesheet>
+]]>
+         </xslt-config>
+         </delegate-config>
+         <binding host="localhost" port="1901" />
+      </service-config>
+
+      <service-config name="jboss:service=Hypersonic"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="Port" />
+         <binding port="1901" />
+      </service-config>
+
+       -->
+
+
+      <!-- ********************* tomcat ********************** -->
+
+      <service-config name="jboss.web:service=WebServer"
+         delegateClass="org.jboss.services.binding.XSLTFileDelegate"
+         >
+         <delegate-config>
+            <xslt-config configName="ConfigFile"><![CDATA[
+   <xsl:stylesheet
+         xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+     <xsl:output method="xml" />
+     <xsl:param name="port"/>
+
+     <xsl:variable name="portAJP" select="$port - 71"/>
+     <xsl:variable name="portHttps" select="$port + 363"/>
+
+     <xsl:template match="/">
+       <xsl:apply-templates/>
+     </xsl:template>
+
+      <xsl:template match = "Connector">
+         <Connector>
+            <xsl:for-each select="@*">
+            <xsl:choose>
+               <xsl:when test="(name() = 'port' and . = '8080')">
+                  <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'port' and . = '8009')">
+                  <xsl:attribute name="port"><xsl:value-of select="$portAJP" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'redirectPort')">
+                  <xsl:attribute name="redirectPort"><xsl:value-of select="$portHttps" /></xsl:attribute>
+               </xsl:when>
+               <xsl:when test="(name() = 'port' and . = '8443')">
+                  <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
+               </xsl:when>
+               <xsl:otherwise>
+                  <xsl:attribute name="{name()}"><xsl:value-of select="." /></xsl:attribute>
+               </xsl:otherwise>
+            </xsl:choose>
+            </xsl:for-each>
+            <xsl:apply-templates/>
+         </Connector>
+      </xsl:template>
+
+     <xsl:template match="*|@*">
+       <xsl:copy>
+         <xsl:apply-templates select="@*|node()"/>
+       </xsl:copy>
+     </xsl:template>
+   </xsl:stylesheet>
+   ]]>
+            </xslt-config>
+         </delegate-config>
+         <binding port="8380"/>
+      </service-config>
+
+      <!-- ********************* jboss messaging ********************** -->
+
+      <service-config name="jboss.messaging:service=Connector,transport=bisocket"
+                      delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
+         <delegate-config>
+            <attribute name="Configuration"><![CDATA[
+               <config>
+                  <invoker transport="bisocket">
+                     <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
+                     <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
+                     <attribute name="dataType" isParam="true">jms</attribute>
+                     <attribute name="socket.check_connection" isParam="true">false</attribute>
+                     <attribute name="timeout" isParam="true">0</attribute>
+                     <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
+                     <attribute name="serverBindPort">4757</attribute>
+                     <attribute name="leasePeriod">10000</attribute>
+                     <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
+                     <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
+                     <attribute name="numberOfRetries" isParam="true">1</attribute>
+                     <attribute name="numberOfCallRetries" isParam="true">1</attribute>
+                     <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
+                  </invoker>
+                 <handlers>
+                    <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
+                 </handlers>
+              </config>
+         ]]></attribute>
+         </delegate-config>
+         <binding port="4757"/>
+      </service-config>
+
+   </server>
+
+</service-bindings>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/asapxcess-jb3.2-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/asapxcess-jb3.2-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/asapxcess-jb3.2-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- configuration for aSAPXcess SAP adapter for jboss 3.2 -->
+<!-- ==================================================================== -->
+<!-- aSAPXcess adapter configuration for SAP R3                           -->
+<!-- Contact: aif_support at asapsolutions.com                               -->
+<!--                                                                      -->
+<!-- ==================================================================== -->
+<connection-factories>
+    <!-- mbean for adding license in the classpath. Add absolute path for the folder containing the aSAPXcessLicense.txt file 
+         i.e. file:D:/aSAPXCess_Jboss3.2/properties/ for windows    
+          i.e. file:/usr/home/aSAPXCess_Jboss3.2/properties/ for linux/solaris  
+    -->
+    <mbean code="org.jboss.deployment.ClasspathExtension" name="jboss.aSAPXcess:service=license">
+        <attribute name="MetadataURL">file:<add_properties_folder_path_here/></attribute>
+    </mbean>
+
+    <tx-connection-factory>
+        <depends>jboss.aSAPXcess:service=license</depends>    
+        <jndi-name>aSAPXcess</jndi-name>
+        <local-transaction/>
+        <adapter-display-name>aSAPXcess</adapter-display-name>
+        <config-property name="LogConfigFile" type="java.lang.String">ASAP_SAP_1_0.xml</config-property>
+        <config-property name="RootLogContext" type="java.lang.String">ASAP_SAP_1_0</config-property>
+        <config-property name="LogLevel" type="java.lang.String">WARN</config-property>
+        <config-property name="MessageBundleBase" type="java.lang.String">ASAP_SAP_1_0</config-property>
+        <config-property name="LanguageCode" type="java.lang.String">en</config-property>
+        <config-property name="CountryCode" type="java.lang.String">US</config-property>
+        <config-property name="UserName" type="java.lang.String"></config-property>
+        <config-property name="Password" type="java.lang.String"></config-property>
+        <config-property name="ClientNumber" type="java.lang.String"></config-property>
+        <config-property name="ServerName" type="java.lang.String"></config-property>
+        <config-property name="SystemNumber" type="java.lang.String"></config-property>
+        <config-property name="GatewayServerName" type="java.lang.String"></config-property>
+        <config-property name="GatewayServiceNumber" type="java.lang.String"></config-property>
+        <config-property name="SystemName" type="java.lang.String"></config-property>
+        <config-property name="MessageServerName" type="java.lang.String"></config-property>
+        <config-property name="GroupName" type="java.lang.String"></config-property>
+        <config-property name="ConnectionURL" type="java.lang.String"></config-property>
+
+        <min-pool-size>0</min-pool-size>
+        <max-pool-size>64</max-pool-size>
+            
+        <blocking-timeout-millis>5000</blocking-timeout-millis>
+        <idle-timeout-minutes>15</idle-timeout-minutes>
+
+        <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool 
+        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+        -->
+
+        <!-- pooling criteria.  USE AT MOST ONE-->
+        <!--  If you don't use JAAS login modules or explicit login 
+         getConnection(usr,pw) but rely on user/pw specified above, 
+         don't specify anything here -->
+
+        <!-- If you supply the usr/pw from a JAAS login module 
+        <security-domain>MySecurityDomain</security-domain>
+        -->
+        <!-- if your app supplies the usr/pw explicitly getConnection(usr, pw) 
+        <application-managed-security/>
+        -->
+    </tx-connection-factory>
+</connection-factories>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/cicsr9s-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/cicsr9s-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/cicsr9s-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?> 
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!--  CICSR9S provided by chen_comp in the forums                          -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: cicsr9s-ds.xml 22595 2004-08-02 19:24:08Z ejort $ -->
+
+<connection-factories> 
+
+   <tx-connection-factory> 
+
+      <jndi-name>ra/cicsr9s</jndi-name> 
+
+      <rar-name>cicsr9s.rar</rar-name> 
+      <connection-definition>javax.resource.cci.ConnectionFactory</connection-definition> 
+
+      <config-property name="ConnectionURL" type="java.lang.String">tcp://arno</config-property> 
+      <config-property name="PortNumber" type="java.lang.String">2006</config-property> 
+      <config-property name="ServerName" type="java.lang.String">CICSR9S</config-property> 
+      <config-property name="UserName" type="java.lang.String">CICSUSER</config-property> 
+
+      <max-pool-size>50</max-pool-size> 
+
+   </tx-connection-factory> 
+
+</connection-factories> 

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-400-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-400-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-400-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: db2-400-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+<!-- You need the jt400.jar that is delivered with IBM iSeries Access or the
+     OpenSource Project jtopen.
+
+     [systemname] Hostame of the iSeries
+     [schema]     Default schema is needed so jboss could use metadat to test if the tables exists
+  -->
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>DB2-400</jndi-name>
+    <connection-url>jdbc:as400://[systemname]/[schema];extended dynamic=true;package=jbpkg;package cache=true;package library=jboss;errors=full</connection-url>
+    <driver-class>com.ibm.as400.access.AS400JDBCDriver</driver-class>
+    <user-name>[username]</user-name>
+    <password>[password]</password>
+    <min-pool-size>0</min-pool-size>
+        <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool 
+        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+        -->
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>DB2/400</type-mapping>
+      </metadata>
+
+
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: db2-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>DB2DS</jndi-name>
+    <connection-url>jdbc:db2://yourdb2host:50000/yourdatabase</connection-url>
+    <driver-class>com.ibm.db2.jcc.DB2Driver</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+    <min-pool-size>0</min-pool-size>
+        <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool 
+        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+        -->
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>DB2</type-mapping>
+      </metadata>
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-jcc-xa-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-jcc-xa-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-jcc-xa-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<datasources>
+    <!--
+        IBM DB2 XA driver
+        db2jcc.jar
+    -->
+    
+    <xa-datasource>
+        <jndi-name>DB2XADS</jndi-name>
+       
+        <xa-datasource-class>com.ibm.db2.jcc.DB2XADataSource</xa-datasource-class>
+        
+        <xa-datasource-property name="DatabaseName">your_database_name</xa-datasource-property>
+        <xa-datasource-property name="User">your_user</xa-datasource-property>
+        <xa-datasource-property name="Password">your_password</xa-datasource-property>
+        
+        <!-- Note, as opposed to the Type2 driver, DB2 Type 4 requires the PortNumber. By default this is 50000-->
+        <xa-datasource-property name="PortNumber">your_port_number</xa-datasource-property>
+        
+        <!-- Must be set if using multiple DB2 XA resources in same transaction -->
+        
+        <isSameRM-override-value>false</isSameRM-override-value>    
+        
+        <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+        <metadata>
+            <type-mapping>DB2</type-mapping>
+        </metadata>
+    
+    </xa-datasource>
+    
+</datasources>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-xa-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-xa-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/db2-xa-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--    -->
+<!--  JBoss Server Configuration    -->
+<!-- Thanks to Horia Muntean <horia at bvb.ro>   -->
+<!-- ===================================================================== -->
+
+<!-- $Id: db2-xa-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+
+<datasources>
+   <!--
+       XADatasource for DB2 V8.1 (app driver)
+       copy $db2_install_dir/java/db2java.zip into $jboss_install_dir/server/default/lib
+   -->
+
+   <xa-datasource>
+     <jndi-name>DB2XADS</jndi-name>
+
+     <xa-datasource-class>COM.ibm.db2.jdbc.DB2XADataSource</xa-datasource-class>
+     <xa-datasource-property name="DatabaseName">your_database_name</xa-datasource-property>
+     <xa-datasource-property name="User">your_user</xa-datasource-property>
+     <xa-datasource-property name="Password">your_password</xa-datasource-property>
+
+      <!-- Must be set if using multiple DB2 XA resources in same transaction -->
+      
+      <isSameRM-override-value>false</isSameRM-override-value>    
+      
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>DB2</type-mapping>
+      </metadata>
+   </xa-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/derby-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/derby-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/derby-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- The Derby embedded database JCA connection factory config
+$Id: derby-ds.xml 25345 2004-11-03 13:29:58Z loubyansky $ -->
+
+
+<datasources>
+   <local-tx-datasource>
+
+      <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
+      <!-- Datasources are not available outside the virtual machine -->
+      <jndi-name>DerbyDS</jndi-name>
+
+      <!-- for in-process persistent db, saved when jboss stops. The
+      org.jboss.jdbc.DerbyDatabase mbean is necessary for properly db shutdown -->
+      <connection-url>jdbc:derby:${jboss.server.data.dir}${/}derby${/}localDB;create=true</connection-url>
+
+      <!-- The driver class -->
+      <driver-class>org.apache.derby.jdbc.EmbeddedDriver</driver-class>
+
+      <!-- The login and password -->
+      <user-name>sa</user-name>
+      <password></password>
+
+      <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
+      <min-pool-size>5</min-pool-size>
+
+      <!-- The maximum connections in a pool/sub-pool -->
+      <max-pool-size>20</max-pool-size>
+
+      <!-- The time before an unused connection is destroyed -->
+      <idle-timeout-minutes>5</idle-timeout-minutes>
+
+      <!-- Whether to check all statements are closed when the connection is returned to the pool,
+           this is a debugging feature that should be turned off in production -->
+      <track-statements/>
+
+      <!-- This mbean can be used when using in process persistent derby -->
+      <depends>jboss:service=Derby</depends>
+   </local-tx-datasource>
+
+   <mbean code="org.jboss.jdbc.DerbyDatabase" name="jboss:service=Derby"/>
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/facets-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/facets-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/facets-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+  <!-- ====================================================================
+       Facets service description for JBoss 3.0
+       
+       This file and the lib/facetsAdapter.rar archive should be copied to
+       the "deploy" directory of your JBoss server.
+       
+       Configurable sections are
+            <config-property> elements
+            ManagedConnectionPool attributes
+            <authentication> element
+       ==================================================================== -->
+
+<connection-factories>
+
+  <tx-connection-factory>
+
+    <jndi-name>Facets</jndi-name>
+
+    <xa-transaction/>
+
+    <track-connection-by-tx/>
+
+    <attribute name="JndiName">Facets</attribute>
+
+    <adapter-display-name>GemStone_Facets</adapter-display-name>
+
+    <!--
+    <config-property name="DefaultUser" type="java.lang.String">so-and-so</config-property>
+    -->
+
+    <!--
+    <config-property name="DefaultPassword" type="java.lang.String">secret</config-property>
+    -->
+
+    <!--
+    <config-property name="SessionConfigFile" type="java.lang.String"></config-property>
+    -->
+
+    <config-property name="Verbose" type="java.lang.String"></config-property>
+
+    <config-property name="Debug" type="java.lang.String"></config-property>
+
+  </tx-connection-factory>
+
+</connection-factories>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/fastobjects-jboss32-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/fastobjects-jboss32-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/fastobjects-jboss32-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- 
+	this file contains the configuration for using
+	the FastObjects t7 resource adapter with JBoss 3.2.1,
+	note, that the MBean name for JaasSecurityManager differs between JBoss 3.0.0 and 3.0.4
+	
+	make sure, that the FastObjects native libraries can be loaded (Windows:
+	runtime/bin of your FastObjects-Installation must be contained in PATH)
+	and that jdo.jar is copied into the default\lib-directory.
+	
+	Place this file and the RAR-file into the default\deploy directory.
+
+-->
+
+<connection-factories>
+
+
+
+  <tx-connection-factory>
+    <jndi-name>t7Connector</jndi-name>
+
+    <local-transaction/>
+    <adapter-display-name>t7-jdo</adapter-display-name>
+
+    <config-property name="ConnectionURL" type="java.lang.String">FastObjects://localhost/myBase</config-property>
+    <config-property name="TransactionDemarcation" type="java.lang.String">ContainerManaged</config-property>
+    <config-property name="VerboseMode" type="java.lang.String">0</config-property>
+
+    <min-pool-size>5</min-pool-size>
+    <max-pool-size>50</max-pool-size>
+    <blocking-timeout-millis>5000</blocking-timeout-millis>
+    <idle-timeout-minutes>15</idle-timeout-minutes>
+        <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool 
+        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+        -->
+
+
+  </tx-connection-factory>
+</connection-factories>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/firebird-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/firebird-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/firebird-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+  <!-- $Id: firebird-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+  
+  <!-- ==================================================================== -->
+  <!-- New ConnectionManager setup for firebird dbs using jca-jdbc xa driver-->
+  <!-- Build jmx-api (build/build.sh all) and view for config documentation -->
+  <!-- ==================================================================== -->
+
+<connection-factories>
+
+  <!--FBManager can be used to create and drop databases.  
+    Drop is especially useful during testing, since it 
+    assures a clean start next time. -->
+  <mbean code="org.firebirdsql.management.FBManager" name="jboss.jca:service=FirebirdManager">
+    <attribute name="FileName">${jboss.server.data.dir}${/}fbtest.gdb</attribute>
+    <attribute name="UserName">sysdba</attribute>
+    <attribute name="Password">masterkey</attribute>
+    <attribute name="CreateOnStart">true</attribute>
+    <attribute name="DropOnStop">false</attribute>
+  </mbean>
+
+  <tx-connection-factory>
+    <jndi-name>FIrebirdDS</jndi-name>
+    <xa-transaction/>
+    <track-connection-by-tx/>    
+    <rar-name>firebirdsql.rar</rar-name>
+    <connection-definition>javax.sql.DataSource</connection-definition>    
+    <config-property name="Database" type="java.lang.String">localhost/3050:${jboss.server.data.dir}${/}fbtest.gdb</config-property>
+    <user-name>sysdba</user-name>
+    <password>masterkey</password>
+    <!--additional properties. only use one way of setting tx isolation, please
+    <config-property name="TransactionIsolation"></config-property>
+    <config-property name="TransactionIsolationName">TRANSACTION_READ_COMMITTED</config-property>
+    <config-property name="BlobBufferLength"></config-property>
+    <config-property name="Encoding">UNICODE_FSS</config-property>
+    -->
+    <min-pool-size>0</min-pool-size>
+    <!-- sql to call when connection is created
+    <new-connection-sql>some arbitrary sql</new-connection-sql>
+    -->
+    <!-- sql to call on an existing pooled connection when it is obtained from pool 
+    <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+    -->
+    <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->    
+    <metadata>
+      <type-mapping>Firebird</type-mapping>
+    </metadata>    
+  </tx-connection-factory>
+
+</connection-factories>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/generic-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/generic-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/generic-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Generic datasource configuration showing all possibilities           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: generic-ds.xml 16783 2003-09-05 16:39:28Z patriot1burke $ -->
+
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>GenericDS</jndi-name>
+    <connection-url>[jdbc: url for use with Driver class]</connection-url>
+    <driver-class>[fully qualified class name of java.sql.Driver implementation]</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+    <!-- you can include connection properties that will get passed in 
+     the DriverManager.getConnection(props) call-->
+    <!-- look at your Driver docs to see what these might be -->
+    <connection-property name="char.encoding">UTF-8</connection-property>
+    <transaction-isolation>TRANSACTION_SERIALIZABLE</transaction-isolation>
+
+    <!--pooling parameters-->
+    <min-pool-size>5</min-pool-size>
+    <max-pool-size>100</max-pool-size>
+    <blocking-timeout-millis>5000</blocking-timeout-millis>
+    <idle-timeout-minutes>15</idle-timeout-minutes>
+        <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool 
+        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+        -->
+
+
+    <!-- pooling criteria.  USE AT MOST ONE-->
+    <!--  If you don't use JAAS login modules or explicit login 
+     getConnection(usr,pw) but rely on user/pw specified above, 
+     don't specify anything here -->
+
+    <!-- If you supply the usr/pw from a JAAS login module -->
+    <security-domain>MyRealm</security-domain>
+
+    <!-- if your app supplies the usr/pw explicitly getConnection(usr, pw) -->
+    <application-managed-security/>
+
+    <!--Anonymous depends elements are copied verbatim into the ConnectionManager mbean config-->
+    <depends>myapp.service:service=DoSomethingService</depends>
+
+  </local-tx-datasource>
+
+  <!-- you can include regular mbean configurations like this one -->
+  <mbean code="org.jboss.tm.XidFactory" 
+	 name="jboss:service=XidFactory">
+    <attribute name="Pad">true</attribute>
+  </mbean>
+
+
+  <!-- Here's an xa example -->
+  <xa-tx-datasource>
+    <jndi-name>GenericXADS</jndi-name>
+    <xa-datasource-class>[fully qualified name of class implementing javax.sql.XADataSource goes here]</xa-datasource-class>
+    <xa-datasource-property name="SomeProperty">SomePropertyValue</xa-datasource-property>
+    <xa-datasource-property name="SomeOtherProperty">SomeOtherValue</xa-datasource-property>
+
+    <user-name>x</user-name>
+    <password>y</password>
+    <transaction-isolation>TRANSACTION_SERIALIZABLE</transaction-isolation>
+
+
+
+    <!--pooling parameters-->
+    <min-pool-size>5</min-pool-size>
+    <max-pool-size>100</max-pool-size>
+    <blocking-timeout-millis>5000</blocking-timeout-millis>
+    <idle-timeout-minutes>15</idle-timeout-minutes>
+        <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool 
+        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+        -->
+
+
+    <!-- pooling criteria.  USE AT MOST ONE-->
+    <!--  If you don't use JAAS login modules or explicit login 
+     getConnection(usr,pw) but rely on user/pw specified above, 
+     don't specify anything here -->
+
+    <!-- If you supply the usr/pw from a JAAS login module -->
+    <security-domain/>
+
+    <!-- if your app supplies the usr/pw explicitly getConnection(usr, pw) -->
+    <application-managed-security/>
+
+  </xa-tx-datasource>
+
+
+
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hajndi-jms-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hajndi-jms-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hajndi-jms-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<connection-factories>
+ 
+  <!-- ==================================================================== -->
+  <!-- JMS Stuff                                                            -->
+  <!-- ==================================================================== -->
+
+  <!-- The JMS provider loader -->
+  <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
+	 name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider">
+    <attribute name="ProviderName">DefaultJMSProvider</attribute>
+    <attribute name="ProviderAdapterClass">
+      org.jboss.jms.jndi.JNDIProviderAdapter
+    </attribute>
+    <!-- The combined connection factory -->
+    <attribute name="FactoryRef">XAConnectionFactory</attribute>
+    <!-- The queue connection factory -->
+    <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
+    <!-- The topic factory -->
+    <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
+    <!-- Access JMS via HAJNDI -->
+    <attribute name="Properties">
+       java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+       java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+       java.naming.provider.url=${jboss.bind.address:localhost}:1100
+       jnp.disableDiscovery=false
+       jnp.partitionName=${jboss.partition.name:DefaultPartition}
+       jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+       jnp.discoveryPort=1102
+       jnp.discoveryTTL=16
+       jnp.discoveryTimeout=5000
+       jnp.maxRetries=1
+    </attribute>
+  </mbean>
+
+  <!-- The server session pool for Message Driven Beans -->
+  <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader"
+	 name="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool">
+    <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
+    <attribute name="PoolName">StdJMSPool</attribute>
+    <attribute name="PoolFactoryClass">
+      org.jboss.jms.asf.StdServerSessionPoolFactory
+    </attribute>
+  </mbean>
+
+  <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
+  <tx-connection-factory>
+    <jndi-name>JmsXA</jndi-name>
+    <xa-transaction/>
+    <rar-name>jms-ra.rar</rar-name>
+    <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
+    <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
+    <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
+    <max-pool-size>20</max-pool-size>
+    <security-domain-and-application>JmsXARealm</security-domain-and-application>
+  </tx-connection-factory>
+
+</connection-factories>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hsqldb-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hsqldb-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hsqldb-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- The Hypersonic embedded database JCA connection factory config -->
+
+<!-- $Id: hsqldb-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+<datasources>
+   <local-tx-datasource>
+
+      <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
+      <!-- Datasources are not available outside the virtual machine -->
+      <jndi-name>DefaultDS</jndi-name>
+
+      <!-- For server mode db, allowing other processes to use hsqldb over tcp.
+      This requires the org.jboss.jdbc.HypersonicDatabase mbean.
+      <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
+      -->
+      <!-- For totally in-memory db, not saved when jboss stops. 
+      The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
+      <connection-url>jdbc:hsqldb:.</connection-url>
+      -->
+      <!-- For in-process persistent db, saved when jboss stops.
+      The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
+      -->
+      <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url>
+
+      <!-- The driver class -->
+      <driver-class>org.hsqldb.jdbcDriver</driver-class>
+
+      <!-- The login and password -->
+      <user-name>sa</user-name>
+      <password></password>
+
+      <!--example of how to specify class that determines if exception means connection should be destroyed-->
+      <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
+
+      <!-- this will be run before a managed connection is removed from the pool for use by a client-->
+      <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
+
+      <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
+      <min-pool-size>5</min-pool-size>
+
+      <!-- The maximum connections in a pool/sub-pool -->
+      <max-pool-size>20</max-pool-size>
+
+      <!-- The time before an unused connection is destroyed -->
+      <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
+      <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
+      <idle-timeout-minutes>0</idle-timeout-minutes>
+
+      <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+      -->
+
+      <!-- sql to call on an existing pooled connection when it is obtained from pool 
+         <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+      -->
+
+      <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
+         <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
+      -->
+
+      <!-- Whether to check all statements are closed when the connection is returned to the pool,
+           this is a debugging feature that should be turned off in production -->
+      <track-statements/>
+
+      <!-- Use the getConnection(user, pw) for logins
+        <application-managed-security/>
+      -->
+
+      <!-- Use the security domain defined in conf/login-config.xml -->
+      <security-domain>HsqlDbRealm</security-domain>
+
+      <!-- Use the security domain defined in conf/login-config.xml or the
+           getConnection(user, pw) for logins. The security domain takes precedence.
+        <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
+      -->
+
+      <!-- HSQL DB benefits from prepared statement caching -->
+      <prepared-statement-cache-size>32</prepared-statement-cache-size>
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>Hypersonic SQL</type-mapping>
+      </metadata>
+
+      <!-- When using in-process (standalone) mode -->
+      <depends>jboss:service=Hypersonic,database=localDB</depends>
+      <!-- Uncomment when using hsqldb in server mode
+      <depends>jboss:service=Hypersonic</depends>
+      -->
+   </local-tx-datasource>
+
+   <!-- Uncomment if you want hsqldb accessed over tcp (server mode)
+   <mbean code="org.jboss.jdbc.HypersonicDatabase" 
+     name="jboss:service=Hypersonic">
+     <attribute name="Port">1701</attribute>
+     <attribute name="BindAddress">${jboss.bind.address}</attribute>     
+     <attribute name="Silent">true</attribute>
+     <attribute name="Database">default</attribute>
+     <attribute name="Trace">false</attribute>
+     <attribute name="No_system_exit">true</attribute>
+   </mbean>
+   -->
+
+   <!-- For hsqldb accessed from jboss only, in-process (standalone) mode --> 
+   <mbean code="org.jboss.jdbc.HypersonicDatabase" 
+     name="jboss:service=Hypersonic,database=localDB">
+     <attribute name="Database">localDB</attribute>
+     <attribute name="InProcessMode">true</attribute>
+   </mbean>
+   
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hsqldb-encrypted-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hsqldb-encrypted-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/hsqldb-encrypted-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- The Hypersonic embedded database JCA connection factory config        -->
+<!-- that illustrates the use of the JaasSecurityDomainIdentityLoginModule -->
+<!-- to use encrypted password in the data source configuration.           -->
+
+<!-- $Id: hsqldb-encrypted-ds.xml 39791 2006-01-10 18:14:42Z dimitris $ -->
+
+<datasources>
+   <local-tx-datasource>
+
+      <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
+      <!-- Datasources are not available outside the virtual machine -->
+      <jndi-name>DefaultDS</jndi-name>
+
+      <!-- For server mode db, allowing other processes to use hsqldb over tcp.
+      This requires the org.jboss.jdbc.HypersonicDatabase mbean.
+      <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
+      -->
+      <!-- For totally in-memory db, not saved when jboss stops. 
+      The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
+      <connection-url>jdbc:hsqldb:.</connection-url>
+      -->
+      <!-- For in-process persistent db, saved when jboss stops.
+      The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
+      -->
+      <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url>
+
+      <!-- The driver class -->
+      <driver-class>org.hsqldb.jdbcDriver</driver-class>
+
+      <!--example of how to specify class that determines if exception means connection should be destroyed-->
+      <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
+
+      <!-- this will be run before a managed connection is removed from the pool for use by a client-->
+      <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
+
+      <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
+      <min-pool-size>5</min-pool-size>
+
+      <!-- The maximum connections in a pool/sub-pool -->
+      <max-pool-size>20</max-pool-size>
+
+      <!-- The time before an unused connection is destroyed -->
+      <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
+      <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
+      <idle-timeout-minutes>0</idle-timeout-minutes>
+
+      <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+      -->
+
+      <!-- sql to call on an existing pooled connection when it is obtained from pool 
+         <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+      -->
+
+      <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
+         <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
+      -->
+
+      <!-- Whether to check all statements are closed when the connection is returned to the pool,
+           this is a debugging feature that should be turned off in production -->
+      <track-statements/>
+
+      <!-- Use the getConnection(user, pw) for logins
+        <application-managed-security/>
+      -->
+
+      <!-- Use the security domain defined in conf/login-config.xml -->
+      <security-domain>EncryptedHsqlDbRealm</security-domain>
+
+      <!-- Use the security domain defined in conf/login-config.xml or the
+           getConnection(user, pw) for logins. The security domain takes precedence.
+        <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
+      -->
+
+      <!-- HSQL DB benefits from prepared statement caching -->
+      <prepared-statement-cache-size>32</prepared-statement-cache-size>
+      
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
+      <metadata>
+         <type-mapping>Hypersonic SQL</type-mapping>
+      </metadata>
+
+      <!-- When using in-process (standalone) mode -->
+      <depends>jboss:service=Hypersonic,database=localDB</depends>
+      <!-- Uncomment when using hsqldb in server mode
+      <depends>jboss:service=Hypersonic</depends>
+      -->
+   </local-tx-datasource>
+
+   <!-- The JaasSecurityDomain used for encryption. Use the name
+   "jboss.security:service=JaasSecurityDomain,domain=ServerMasterPassword"
+   as the value of the JaasSecurityDomainIdentityLoginModule
+   jaasSecurityDomain login module option in the EncryptedHsqlDbRealm
+   login-config.xml section. Typically this service config should be in
+   the conf/jboss-service.xml descriptor.
+   The opaque master.password file could be created using: 
+   java -cp jbosssx.jar org.jboss.security.plugins.FilePassword 12345678 17 master server.password
+
+   The corresponding login-config.xml would look like:
+    <application-policy name = "EncryptedHsqlDbRealm">
+       <authentication>
+          <login-module code = "org.jboss.resource.security.JaasSecurityDomainIdentityLoginModule"
+          flag = "required">
+             <module-option name = "username">sa</module-option>
+             <module-option name = "password">E5gtGMKcXPP</module-option>
+             <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
+             <module-option name = "jaasSecurityDomain">jboss.security:service=JaasSecurityDomain,domain=ServerMasterPassword</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+    where the encrypted password was generated using:
+     java -cp jbosssx.jar org.jboss.security.plugins.PBEUtils abcdefgh 13 master ''
+     Encoded password: E5gtGMKcXPP
+   -->
+   <mbean code="org.jboss.security.plugins.JaasSecurityDomain"
+      name="jboss.security:service=JaasSecurityDomain,domain=ServerMasterPassword">
+      <constructor>
+         <arg type="java.lang.String" value="ServerMasterPassword"/>
+      </constructor>
+      <!-- The opaque master password file used to decrypt the encrypted
+      database password key -->
+      <attribute name="KeyStorePass">{CLASS}org.jboss.security.plugins.FilePassword:${jboss.server.home.dir}/conf/server.password</attribute>
+      <attribute name="Salt">abcdefgh</attribute>
+      <attribute name="IterationCount">13</attribute>
+   </mbean>
+
+   <!-- Uncomment if you want hsqldb accessed over tcp (server mode)
+   <mbean code="org.jboss.jdbc.HypersonicDatabase" 
+     name="jboss:service=Hypersonic">
+     <attribute name="Port">1701</attribute>
+     <attribute name="BindAddress">${jboss.bind.address}</attribute>     
+     <attribute name="Silent">true</attribute>
+     <attribute name="Database">default</attribute>
+     <attribute name="Trace">false</attribute>
+     <attribute name="No_system_exit">true</attribute>
+   </mbean>
+   -->
+   
+   <!-- For hsqldb accessed from jboss only, in-process (standalone) mode --> 
+   <mbean code="org.jboss.jdbc.HypersonicDatabase"
+      name="jboss:service=Hypersonic,database=localDB">
+      <attribute name="Database">localDB</attribute>
+      <attribute name="InProcessMode">true</attribute>
+   </mbean>
+   
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/informix-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/informix-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/informix-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: informix-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>InformixDS</jndi-name>
+    <connection-url>jdbc:informix-sqli://myhost.mydomain.com:1557/mydb:INFORMIXSERVER=myserver</connection-url>
+    <driver-class>com.informix.jdbc.IfxDriver</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.InformixExceptionSorter</exception-sorter-class-name>
+    <!-- sql to call when connection is created
+    <new-connection-sql>some arbitrary sql</new-connection-sql>
+      -->
+    <!-- sql to call on an existing pooled connection when it is obtained from pool 
+    <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+      -->
+
+    <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+    <metadata>
+       <type-mapping>InformixDB</type-mapping>
+    </metadata>
+  </local-tx-datasource>
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/informix-xa-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/informix-xa-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/informix-xa-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: informix-xa-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+
+<datasources>
+  <xa-datasource>
+    <jndi-name>InformixXADS</jndi-name>
+    <xa-datasource-class>com.informix.jdbcx.IfxXADataSource</xa-datasource-class>
+    <!-- Not supported by latter drivers
+    <xa-datasource-property name="IfxWAITTIME">10</xa-datasource-property>
+    -->
+    <xa-datasource-property name="Description">Something Descriptive</xa-datasource-property>
+    <xa-datasource-property name="IfxIFXHOST">myhost.mydomain.com</xa-datasource-property>
+    <xa-datasource-property name="PortNumber">1557</xa-datasource-property>
+    <xa-datasource-property name="DatabaseName">mydb</xa-datasource-property>
+    <xa-datasource-property name="ServerName">myserver</xa-datasource-property>
+    <xa-datasource-property name="User">username</xa-datasource-property>
+    <xa-datasource-property name="Password">password</xa-datasource-property>
+    <user-name>x</user-name>
+    <password>y</password>
+    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.InformixExceptionSorter</exception-sorter-class-name>
+    <!-- sql to call when connection is created
+    <new-connection-sql>some arbitrary sql</new-connection-sql>
+      -->
+    <!-- sql to call on an existing pooled connection when it is obtained from pool 
+    <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+      -->
+    <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+    <metadata>
+       <type-mapping>InformixDB</type-mapping>
+    </metadata>
+  </xa-datasource>
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jdatastore-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jdatastore-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jdatastore-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: jdatastore-ds.xml 8941 2002-07-22 22:57:24Z d_jencks $ -->
+<!-- ==================================================================== -->
+<!-- Copy these jar's from your JBuilder6/lib to your jboss's lib         -->
+<!--                dx.jar,jdsserver.jar,jds.jar                          -->
+<!--  Originally from Brent Thompson www.protegra.com/javagroup.html      -->
+<!-- ==================================================================== -->
+
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>JDataStoreDS</jndi-name>
+    <connection-url>jdbc:borland:dslocal:/home/brent/JBuilder6/samples/JDataStore/datastores/employee.jds</connection-url>
+    <driver-class>com.borland.datastore.jdbc.DataStoreDriver</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jms-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jms-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jms-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<connection-factories>
+ 
+  <!-- ==================================================================== -->
+  <!-- JMS Stuff                                                            -->
+  <!-- ==================================================================== -->
+
+  <!-- The JMS provider loader -->
+  <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
+	 name="jboss.mq:service=JMSProviderLoader,name=JMSProvider">
+    <attribute name="ProviderName">DefaultJMSProvider</attribute>
+    <attribute name="ProviderAdapterClass">
+      org.jboss.jms.jndi.JNDIProviderAdapter
+    </attribute>
+    <!-- The combined connection factory -->
+    <attribute name="FactoryRef">java:/XAConnectionFactory</attribute>
+    <!-- The queue connection factory -->
+    <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
+    <!-- The topic factory -->
+    <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
+    <!-- Uncomment to use HAJNDI to access JMS
+    <attribute name="Properties">
+       java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+       java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+       java.naming.provider.url=localhost:1100
+    </attribute>
+    -->
+  </mbean>
+
+  <!-- The server session pool for Message Driven Beans -->
+  <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader"
+	 name="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool">
+    <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
+    <attribute name="PoolName">StdJMSPool</attribute>
+    <attribute name="PoolFactoryClass">
+      org.jboss.jms.asf.StdServerSessionPoolFactory
+    </attribute>
+  </mbean>
+
+  <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
+  <tx-connection-factory>
+    <jndi-name>JmsXA</jndi-name>
+    <xa-transaction/>
+    <rar-name>jms-ra.rar</rar-name>
+    <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
+    <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
+    <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
+    <max-pool-size>20</max-pool-size>
+    <security-domain-and-application>JmsXARealm</security-domain-and-application>
+  </tx-connection-factory>
+
+</connection-factories>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jsql-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jsql-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/jsql-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: jsql-ds.xml 17519 2003-10-30 09:53:25Z ejort $ -->
+
+  <!-- ======================================================================-->
+  <!-- ConnectionManager setup for JSQL Microsoft SQL Server 2000 driver     -->
+  <!-- ===================================================================== -->
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>JSQLDS</jndi-name>
+    <connection-url>jdbc:JSQLConnect://localhost:1433/databaseName=testdb</connection-url>
+    <driver-class>com.jnetdirect.jsql.JSQLDriver</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+        <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool 
+        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+        -->
+
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/lido-versant-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/lido-versant-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/lido-versant-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+  <!-- ==================================================================== -->
+  <!-- ConnectionManager setup for LiDO jdo using Versant object db.-->
+  <!-- Build jmx-api (build/build.sh all) and view for config documentation -->
+  <!-- ==================================================================== -->
+
+<service>
+
+  <!-- the enhanced classes must already be deployed before this adapter is started.  Currently
+       LiDO does not work with jboss to find the metadata.jdo if it is in a jar file, so you must
+       put it on the classpath independently as a file.  The license can be added similarly -->
+
+  <!-- as of LiDO build 17 it is necessary that all metadata be in one metadata.jdo file. -->
+
+  <!--Specify the metadata file name and get the metadata file on the classpath.  
+    Hopefully LiDO will make this a ManagedConnectionFactory property soon.-->
+  <mbean code="org.jboss.deployment.ClasspathExtension" name="jboss.jdo.lido:service=metadata">
+    <attribute name="MetadataURL">file:/usr/java/fgm/co4copy/tracker2/domain/src/resources/</attribute>
+  </mbean>
+
+  <mbean code="org.jboss.deployment.ClasspathExtension" name="jboss.jdo.lido:service=license">
+    <attribute name="MetadataURL">file:/usr/java/lido/bin/</attribute>
+  </mbean>
+
+  <mbean code="org.jboss.resource.connectionmanager.XATxConnectionManager" name="jboss.jca:service=XaTxCM,name=LiDOVersantDS">
+
+    <!--depend on the metadata helper-->
+    <depends>jboss.jdo.lido:service=metadata</depends>
+    <depends>jboss.jdo.lido:service=license</depends>
+
+
+    <attribute name="JndiName">adap_1</attribute>
+    <depends optional-attribute-name="ManagedConnectionPool">
+      <mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" name="jboss.jca:service=XaTxPool,name=LiDOVersantDS">
+
+    <depends optional-attribute-name="ManagedConnectionFactoryName">
+      <mbean code="org.jboss.resource.connectionmanager.RARDeployment" name="jboss.jca:service=XaTxDS,name=LiDOVersantDS">
+        <!--more hack-->
+        <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=LiDO</depends>
+        <attribute name="ManagedConnectionFactoryProperties">
+          <properties>
+            <config-property name="ConnectionDriverName" type="java.lang.String">versant</config-property>
+            <config-property name="ConnectionURL" type="java.lang.String">trackerdb</config-property>
+            <!--config-property name="ConnectionDriverName" type="java.lang.String">fdb</config-property>
+            <config-property name="ConnectionURL" type="java.lang.String">/usr/java/lido/samples/company_basic/fdb.properties</config-property-->
+            <config-property name="ConnectionUserName" type="java.lang.String">david</config-property>
+            <config-property name="ConnectionPassword" type="java.lang.String">david</config-property>
+          </properties>
+        </attribute>
+      </mbean>
+
+    </depends>
+        <attribute name="MinSize">0</attribute>
+        <attribute name="MaxSize">50</attribute>
+        <attribute name="BlockingTimeoutMillis">5000</attribute>
+        <attribute name="IdleTimeoutMinutes">15</attribute>
+        <!--criteria indicates if Subject (from security domain) or app supplied
+            parameters (such as from getConnection(user, pw)) are used to distinguish
+            connections in the pool. Choices are 
+            ByContainerAndApplication (use both), 
+            ByContainer (use Subject),
+            ByApplication (use app supplied params only),
+            ByNothing (all connections are equivalent, usually if adapter supports
+              reauthentication)-->
+        <attribute name="Criteria">ByContainer</attribute>
+      </mbean>
+    </depends>
+    <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>
+    <!-- Include a login module configuration named FirebirdDBRealm.
+         Update your login-conf.xml, here is an example for a 
+         ConfiguredIdentityLoginModule:
+
+    <application-policy name = "LiDOVersantDSBRealm">
+       <authentication>
+          <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
+             <module-option name = "principal">sysdba</module-option>
+             <module-option name = "userName">sysdba</module-option>
+             <module-option name = "password">masterkey</module-option>
+             <module-option name = "managedConnectionFactoryName">jboss.jca:service=XaTxCM,name=LiDOVersantDS</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    NOTE: the application-policy name attribute must match SecurityDomainJndiName, and the 
+      module-option name = "managedConnectionFactoryName"
+    must match the object name of the ConnectionManager you are configuring here.
+    -->
+    <!--comment out this line if you want component managed security or want
+        to use the default values in the ManagedConnectionFactoryProperties - ->
+    <attribute name="SecurityDomainJndiName">LiDOVersantDSRealm</attribute-->
+
+    <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends>
+
+    <attribute name="TransactionManager">java:/TransactionManager</attribute>
+  </mbean>
+
+</service>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mimer-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mimer-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mimer-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: mimer-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+<!-- ==================================================================== -->
+<!-- ConnectionManager setup for Mimer SQL for local transactions         -->
+<!--                                                                      -->
+<!-- Supplied by fredrik.alund at upright.se                                 -->
+<!-- ==================================================================== -->
+
+<datasources>
+   <local-tx-datasource>
+      <jndi-name>MimerDS</jndi-name>
+      <driver-class>com.mimer.jdbc.Driver</driver-class>
+      <connection-url>jdbc:mimer:multi1</connection-url>
+      <user-name>changeme</user-name>
+      <password>changeme</password>
+      <min-pool-size>5</min-pool-size>
+      <max-pool-size>100</max-pool-size>
+      <blocking-timeout-millis>5000</blocking-timeout-millis>
+      <idle-timeout-minutes>15</idle-timeout-minutes>
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>Mimer SQL</type-mapping>
+      </metadata>
+   </local-tx-datasource>
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mimer-xa-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mimer-xa-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mimer-xa-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: mimer-xa-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+<!-- ==================================================================== -->
+<!-- ConnectionManager setup for Mimer SQL for distributed transactions   -->
+<!--                                                                      -->
+<!-- Requires version 9                                                   -->
+<!--                                                                      -->
+<!-- Supplied by fredrik.alund at upright.se                                 -->
+<!-- ==================================================================== -->
+
+<datasources>
+   <xa-datasource>
+      <jndi-name>XAMimerDS</jndi-name>
+      <xa-datasource-class>com.mimer.jdbc.MimerXADataSource</xa-datasource-class>
+      <xa-datasource-property name="DatabaseName">multi1</xa-datasource-property>
+      <xa-datasource-property name="ServerName">localhost</xa-datasource-property>
+      <xa-datasource-property name="PortNumber">1360</xa-datasource-property>
+      <user-name>changeme</user-name>
+      <password>changeme</password>
+      <min-pool-size>5</min-pool-size>
+      <max-pool-size>100</max-pool-size>
+      <blocking-timeout-millis>5000</blocking-timeout-millis>
+      <idle-timeout-minutes>15</idle-timeout-minutes>
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>Mimer SQL</type-mapping>
+      </metadata>
+   </xa-datasource>
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/msaccess-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/msaccess-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/msaccess-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: msaccess-ds.xml 8941 2002-07-22 22:57:24Z d_jencks $ -->
+<!-- ==================================================================== -->
+<!-- This uses the sun jdbc-odbc driver, so don't expect miracles          -->
+<!-- Thanks to Alan Moor, who warns...                                     -->
+<!-- Remember, though, never trust critical data, or data that you can't   -->
+<!-- afford to lose, or data that you need quick access to, or data that   -->
+<!-- needs to be secure, to Microsoft Access.                              -->
+<!-- ===================================================================== -->
+
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>MSAccessDS</jndi-name>
+    <!-- format of URL is "jdbc:odbc:DSNNAME" -->
+    <connection-url>jdbc:odbc:INsightDSN</connection-url>
+    <driver-class>sun.jdbc.odbc.JdbcOdbcDriver</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mssql-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mssql-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mssql-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: mssql-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+  <!-- ======================================================================-->
+  <!-- New ConnectionManager setup for Microsoft SQL Server 2005  driver     -->
+  <!-- Further information about the Microsoft JDBC Driver version 1.1      -->
+  <!-- can be found here:                                                   -->
+  <!-- http://msdn2.microsoft.com/en-us/library/aa496082.aspx               -->  
+  <!-- ===================================================================== -->
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>MSSQLDS</jndi-name>
+    <connection-url>jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=MyDatabase</connection-url>
+    <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+        <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool 
+        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+        -->
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>MS SQLSERVER2000</type-mapping>
+      </metadata>
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mssql-xa-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mssql-xa-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mssql-xa-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: mssql-xa-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+  <!-- ==================================================================== -->
+  <!-- ConnectionManager setup for xa Microsoft SQL Server 2005, using      -->
+  <!-- Microsoft's JDBC driver.                                             -->
+  <!-- Thanks to Benjamin Geer  <benjamin.geer at misys.com>                   -->
+  <!-- Be sure to set the JndiName property to the name you want to look up -->
+  <!-- the datasource under and set the location of your database in        -->
+  <!-- the xa-datasource-property section.                                  -->
+  <!-- Further information about the Microsoft JDBC Driver version 1.1      -->
+  <!-- can be found here:                                                   -->
+  <!-- http://msdn2.microsoft.com/en-us/library/aa496082.aspx               -->
+  <!-- ==================================================================== -->
+
+
+<datasources>
+  <xa-datasource>
+    <jndi-name>MSSQLXADS</jndi-name>
+    <track-connection-by-tx/>
+    <isSameRM-override-value>false</isSameRM-override-value>
+    <xa-datasource-class>com.microsoft.sqlserver.jdbc.SQLServerXADataSource</xa-datasource-class>
+    <xa-datasource-property name="ServerName">myserver</xa-datasource-property>
+    <xa-datasource-property name="DatabaseName">mydatabase</xa-datasource-property>
+    <xa-datasource-property name="SelectMethod">cursor</xa-datasource-property>
+<!-- not sure if these should be here-->
+    <user-name>x</user-name>
+    <password>y</password>
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>MS SQLSERVER2000</type-mapping>
+      </metadata>
+  </xa-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mysql-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mysql-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/mysql-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: mysql-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+<!--  Datasource config for MySQL using 3.0.9 available from:
+http://www.mysql.com/downloads/api-jdbc-stable.html
+-->
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>MySqlDS</jndi-name>
+    <connection-url>jdbc:mysql://mysql-hostname:3306/jbossdb</connection-url>
+    <driver-class>com.mysql.jdbc.Driver</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
+    <!-- should only be used on drivers after 3.22.1 with "ping" support
+    <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
+    -->
+    <!-- sql to call when connection is created
+    <new-connection-sql>some arbitrary sql</new-connection-sql>
+      -->
+    <!-- sql to call on an existing pooled connection when it is obtained from pool - MySQLValidConnectionChecker is preferred for newer drivers
+    <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+      -->
+
+    <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+    <metadata>
+       <type-mapping>mySQL</type-mapping>
+    </metadata>
+  </local-tx-datasource>
+</datasources>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/oracle-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/oracle-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/oracle-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: oracle-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+<!-- ==================================================================== -->
+<!--  Datasource config for Oracle originally from Steven Coy             -->
+<!-- ==================================================================== -->
+
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>OracleDS</jndi-name>
+    <connection-url>jdbc:oracle:thin:@youroraclehost:1521:yoursid</connection-url>
+	<!--
+
+		Here are a couple of the possible OCI configurations.
+		For more information, see http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/java.920/a96654/toc.htm
+
+	<connection-url>jdbc:oracle:oci:@youroracle-tns-name</connection-url>
+		or
+	<connection-url>jdbc:oracle:oci:@(description=(address=(host=youroraclehost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=yourservicename)))</connection-url>
+
+		Clearly, its better to have TNS set up properly.
+	 -->
+    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+    <!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
+    <!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
+    <!-- Checks the Oracle error codes and messages for fatal errors -->
+    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
+        <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool - the OracleValidConnectionChecker is prefered
+        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+        -->
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>Oracle9i</type-mapping>
+      </metadata>
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/oracle-xa-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/oracle-xa-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/oracle-xa-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: oracle-xa-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+<!-- ===================================================================== -->
+<!-- ATTENTION:  DO NOT FORGET TO SET Pad=true IN transaction-service.xml  -->
+<!-- ===================================================================== -->
+
+<datasources>
+  <xa-datasource>
+    <jndi-name>XAOracleDS</jndi-name>
+    <track-connection-by-tx/>
+    <isSameRM-override-value>false</isSameRM-override-value>
+    <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
+    <xa-datasource-property name="URL">jdbc:oracle:oci8:@tc</xa-datasource-property>
+    <xa-datasource-property name="User">scott</xa-datasource-property>
+    <xa-datasource-property name="Password">tiger</xa-datasource-property>
+    <!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
+    <!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
+    <!-- Checks the Oracle error codes and messages for fatal errors -->
+    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
+    <!-- Oracles XA datasource cannot reuse a connection outside a transaction once enlisted in a global transaction and vice-versa -->
+    <no-tx-separate-pools/>
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>Oracle9i</type-mapping>
+      </metadata>
+  </xa-datasource>
+
+  <mbean code="org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter" 
+         name="jboss.jca:service=OracleXAExceptionFormatter">
+    <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends>
+  </mbean>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/pointbase-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/pointbase-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/pointbase-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Example of the pointbase 4.8 datasource configuration -->
+<!-- $Id: pointbase-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+<datasources>
+   <local-tx-datasource>
+      <jndi-name>DefaultDS</jndi-name>
+      <connection-url>jdbc:pointbase:server://@pointbase.server@:@pointbase.port/pointbase.dbName@,new</connection-url>
+      <driver-class>com.pointbase.jdbc.jdbcUniversalDriver</driver-class>
+      <user-name>@pointbase.user@</user-name>
+      <password>@pointbase.passwd@</password>
+        <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool 
+        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+        -->
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml-->
+      <metadata>
+         <type-mapping>PointBase</type-mapping>
+      </metadata>
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/pointbase-xa-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/pointbase-xa-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/pointbase-xa-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Example of the pointbase 4.8 XA datasource configuration -->
+<!-- $Id: pointbase-xa-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+<datasources>
+   <xa-datasource>
+      <jndi-name>PointbaseXA</jndi-name>
+      <xa-datasource-class>com.pointbase.xa.xaDataSource</xa-datasource-class>
+      <xa-datasource-property name="ServerName">@pointbase.server@</xa-datasource-property>
+      <xa-datasource-property name="DatabaseName">9092</xa-datasource-property>
+      <user-name>@pointbase.user@</user-name>
+      <password>@pointbase.passwd@</password>
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>PointBase</type-mapping>
+      </metadata>
+   </xa-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/postgres-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/postgres-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/postgres-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: postgres-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+<!-- ==================================================================== -->
+<!--  Datasource config for Postgres                                      -->
+<!-- ==================================================================== -->
+
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>PostgresDS</jndi-name>
+    <connection-url>jdbc:postgresql://[servername]:[port]/[database name]</connection-url>
+    <driver-class>org.postgresql.Driver</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+        <!-- sql to call when connection is created.  Can be anything, select 1 is valid for PostgreSQL
+        <new-connection-sql>select 1</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool.  Can be anything, select 1 is valid for PostgreSQL
+        <check-valid-connection-sql>select 1</check-valid-connection-sql>
+        -->
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>PostgreSQL 8.0</type-mapping>
+      </metadata>
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/progress-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/progress-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/progress-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: progress-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+<!-- ==================================================================== -->
+<!--  Datasource config for Progress 9.1                                  -->
+<!--                                                                      -->
+<!--  Based on config provided by victorstar in the forums                -->
+<!--                                                                      -->
+<!--  Beside adding the driver jar to server/[config]/lib you also        -->
+<!--  need to add the native library to your path.                        -->
+<!--  e.g. JdbcProgress.dll on windows                                    -->
+<!-- ==================================================================== -->
+
+<datasources>
+
+   <local-tx-datasource>
+      <jndi-name>ProgressDS</jndi-name>
+
+      <connection-url>jdbc:JdbcProgress:T:dbserver:3305:liveappl</connection-url>
+      <driver-class>com.progress.sql.jdbc.JdbcProgressDriver</driver-class>
+      <user-name>user</user-name>
+      <password>password</password>
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>PostgreSQL 7.2</type-mapping>
+      </metadata>
+   </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sapdb-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sapdb-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sapdb-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- New ConnectionManager setup for Sapdb using the sapdbc driver         -->
+<!-- Thanks to Kasper Nielsen <news at kav.dk>                                -->
+<!-- See http://www.sapdb.org/sap_db_jdbc.htm for details                  -->
+<!-- This is a minimal example.  See the generic example for other stuff   -->
+<!-- ===================================================================== -->
+
+<!-- $Id: sapdb-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>SapdbDS</jndi-name>
+    <connection-url>jdbc:sapdb://127.0.0.1/DB_NAME</connection-url>
+    <driver-class>com.sap.dbtech.jdbc.DriverSapDB</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>SapDB</type-mapping>
+      </metadata>
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sapr3-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sapr3-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sapr3-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+  <!-- ==================================================================== -->
+  <!-- ConnectionManager setup for SAP R3                                   -->
+  <!--  Author: David Jencks (d_jencks at users.sourceforge.net)               -->
+  <!--  Author: Chris Pinfold (chrisp at yambay.com)                           -->
+  <!--  Author: Juraj Lenharcik (nort at nort.de) ;-)	                    -->
+  <!-- ==================================================================== -->
+
+<connection-factories>
+  <tx-connection-factory>
+    <adapter-display-name>SAPJRA</adapter-display-name>
+    <jndi-name>eis/SAPJRA</jndi-name>
+    <config-property name="SAPClient" type="java.lang.String">150</config-property>
+    <user-name>dsgsd</user-name>
+    <password>sdgsdg</password>
+    <config-property name="Language" type="java.lang.String">DE</config-property>
+    <config-property name="ServerName" type="java.lang.String">44.44.44.44</config-property>
+    <config-property name="SystemNumber" type="java.lang.String">00</config-property>
+    <config-property name="PortNumber" type="java.lang.String">10</config-property>
+<!--    <config-property name="GatewayServerName" type="java.lang.String">a</config-property>
+    <config-property name="GatewayServiceNumber" type="java.lang.String">a</config-property>
+    <config-property name="MessageServerName" type="java.lang.String">a</config-property>
+    <config-property name="SystemName" type="java.lang.String">a</config-property>
+    <config-property name="GroupName" type="java.lang.String">a</config-property>   -->
+  </tx-connection-factory>
+</connection-factories>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/solid-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/solid-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/solid-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: solid-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+<!-- ==================================================================== -->
+<!-- DataSource configuration for solid using 3.0 driver                  -->
+<!-- Thanks to Casey Haakenson                                            -->
+<!-- ==================================================================== -->
+
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>SolidDS</jndi-name>
+    <!--NOTE: Solid wants the username/password in the URL, it will 
+            ignore the specific arguments.-->
+    <connection-url>jdbc:solid://yourdbhost:1964/yourdbusername/yourdbpassword</connection-url>
+    <driver-class>solid.jdbc.SolidDriver</driver-class>
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>SOLID</type-mapping>
+      </metadata>
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sybase-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sybase-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sybase-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!--                                                                       -->
+<!-- New ConnectionManager setup for Sybase ASE/ASA jConnect driver        -->
+<!-- Thanks to Marc Zampetti <zampetti at aol.net>                            -->
+<!-- This is a minimal example.  See the generic example for other stuff   -->
+<!-- ===================================================================== -->
+
+<!-- $Id: sybase-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>jdbc/SybaseDB</jndi-name>
+    <!-- Sybase jConnect URL for the database. 
+    NOTE: The hostname and port are made up values. The optional
+          database name is provided, as well as some additinal Driver
+          parameters.
+    -->
+    <connection-url>jdbc:sybase:Tds:host.at.some.domain:5000/db_name?JCONNECT_VERSION=6</connection-url>
+    <driver-class>com.sybase.jdbc2.jdbc.SybDataSource</driver-class>
+    <user-name>x</user-name>
+    <password>y</password>
+    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.SybaseExceptionSorter</exception-sorter-class-name>
+        <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+        -->
+
+        <!-- sql to call on an existing pooled connection when it is obtained from pool 
+        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+        -->
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>Sybase</type-mapping>
+      </metadata>
+  </local-tx-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sybase-xa-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sybase-xa-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jca/sybase-xa-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss Server Configuration                                           -->
+<!-- Thanks to kosulin in the forumns                                      -->
+<!-- ===================================================================== -->
+
+<!-- $Id: db2-xa-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+<datasources>
+
+   <!--
+      TODO: add driver name, version and download url here
+   -->
+
+   <!--
+      The example posted in the forums uses a security domain. What is the user/password xa-datasource-property?
+      try javap com.sybase.jdbc3.jdbc.SybXADataSource 
+      For the security domain. Add something like the following to conf/login-config.xml
+
+      <application-policy name = "SybaseXADSRealm">
+         <login-module code = "org.jboss.resource.security.SecureIdentityLoginModule" flag = "required">
+            <module-option name = "username">myuser</module-option>
+            <module-option name = "password">myhash</module-option>
+            <module-option name = "managedConnectionFactoryName">jboss.jca:service=XATxCM,name=SybaseXADS</module-option>
+         </login-module>
+      </application-policy>
+   -->
+
+   <xa-datasource>
+     <jndi-name>SybaseXADS</jndi-name>
+     <track-connection-by-tx/>
+     <xa-datasource-class>com.sybase.jdbc3.jdbc.SybXADataSource</xa-datasource-class>
+     <xa-datasource-property name="NetworkProtocol">Tds</xa-datasource-property>
+     <xa-datasource-property name="ServerName">myserver</xa-datasource-property>
+     <xa-datasource-property name="PortNumber">4100</xa-datasource-property>
+     <xa-datasource-property name="DatabaseName">mydatabase</xa-datasource-property>
+     <!-- Use the security domain defined in conf/login-config.xml -->
+     <security-domain>SybaseXADSRealm</security-domain>
+     <min-pool-size>1</min-pool-size>
+     <max-pool-size>20</max-pool-size>
+     <idle-timeout-minutes>15</idle-timeout-minutes>
+     <check-valid-connection-sql>select 1 from mytable</check-valid-connection-sql>
+     <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.SybaseExceptionSorter</exception-sorter-class-name>
+     <type-mapping>Sybase</type-mapping>
+
+   </xa-datasource>
+
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/as400-jdbc2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/as400-jdbc2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/as400-jdbc2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+  <!--
+     | The destination manager is the core service within JBossMQ
+  -->
+  <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
+    <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
+    <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
+    <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
+    <depends>jboss:service=Naming</depends>
+  </mbean>
+
+  <!--
+     | The MessageCache decides where to put JBossMQ message that
+     | are sitting around waiting to be consumed by a client.
+     |
+     | The memory marks are in Megabytes.  Once the JVM memory usage hits
+     | the high memory mark, the old messages in the cache will start getting
+     | stored in the DataDirectory.  As memory usage gets closer to the
+     | Max memory mark, the amount of message kept in the memory cache aproaches 0.
+   -->
+  <mbean code="org.jboss.mq.server.MessageCache"
+	 name="jboss.mq:service=MessageCache">
+    <attribute name="HighMemoryMark">50</attribute>
+    <attribute name="MaxMemoryMark">60</attribute>
+    <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
+  </mbean>
+
+  
+  <mbean code="org.jboss.mq.pm.jdbc2.PersistenceManager"
+	 name="jboss.mq:service=PersistenceManager">
+    <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=DB2-400</depends>
+    <attribute name="SqlProperties">
+      BLOB_TYPE=BYTES_BLOB
+      INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
+      INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+      SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
+      SELECT_MAX_TX = (SELECT MAX(TXID) AS TXID FROM JMS_TRANSACTIONS UNION SELECT MAX(TXID) AS TXID FROM JMS_MESSAGES)
+      DELETE_ALL_TX = DELETE FROM JMS_TRANSACTIONS
+      SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXOP=? AND JMS_MESSAGES.TXID IN (SELECT TXID FROM JMS_TRANSACTIONS)
+      DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
+      DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
+      DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
+      DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(150) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB BLOB, PRIMARY KEY (MESSAGEID, DESTINATION))
+      CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID)
+      CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON JMS_MESSAGES (DESTINATION)
+      CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) )
+      CREATE_TABLES_ON_STARTUP = TRUE </attribute>
+    <!-- Uncomment to override the transaction timeout for recovery per queue/subscription, in seconds -->
+    <!--attribute name="RecoveryTimeout">0</attribute-->
+  </mbean>
+ 
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/conf/jbossmq-state.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/conf/jbossmq-state.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/conf/jbossmq-state.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<StateManager>
+	<Users>
+		<User>
+			<Name>j2ee</Name>
+			<Password>j2ee</Password>
+		</User>
+		<User>
+			<Name>john</Name>
+			<Password>needle</Password>
+			<Id>DurableSubscriberExample</Id>
+		</User>
+		<User>
+			<Name>guest</Name>
+			<Password>guest</Password>
+		</User>
+		<User>
+			<Name>nobody</Name>
+			<Password>nobody</Password>
+		</User>
+		<User>
+			<Name>dynsub</Name>
+			<Password>dynsub</Password>
+		</User>
+	</Users>
+	<Roles>
+		<Role name="guest">
+			<UserName>j2ee</UserName>
+			<UserName>guest</UserName>
+			<UserName>john</UserName>
+		</Role>
+		<Role name="subscriber">
+			<UserName>john</UserName>
+		</Role>
+		<Role name="publisher">
+			<UserName>john</UserName>
+			<UserName>dynsub</UserName>
+		</Role>
+		<Role name="durpublisher">
+			<UserName>john</UserName>
+			<UserName>dynsub</UserName>
+		</Role>
+		<Role name="noacc">
+			<UserName>nobody</UserName>
+		</Role>
+	</Roles>
+	<DurableSubscriptions>
+	</DurableSubscriptions>
+</StateManager>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/db2-jdbc2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/db2-jdbc2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/db2-jdbc2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+  <!--
+     | The destination manager is the core service within JBossMQ
+  -->
+  <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
+    <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
+    <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
+    <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
+    <depends>jboss:service=Naming</depends>
+  </mbean>
+
+  <!--
+     | The MessageCache decides where to put JBossMQ message that
+     | are sitting around waiting to be consumed by a client.
+     |
+     | The memory marks are in Megabytes.  Once the JVM memory usage hits
+     | the high memory mark, the old messages in the cache will start getting
+     | stored in the DataDirectory.  As memory usage gets closer to the
+     | Max memory mark, the amount of message kept in the memory cache aproaches 0.
+   -->
+  <mbean code="org.jboss.mq.server.MessageCache"
+	 name="jboss.mq:service=MessageCache">
+    <attribute name="HighMemoryMark">50</attribute>
+    <attribute name="MaxMemoryMark">60</attribute>
+    <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
+  </mbean>
+
+  
+  <mbean code="org.jboss.mq.pm.jdbc2.PersistenceManager"
+	 name="jboss.mq:service=PersistenceManager">
+    <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=DB2DS</depends>
+    <attribute name="SqlProperties">
+      BLOB_TYPE=BYTES_BLOB
+      INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
+      INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+      SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
+      SELECT_MAX_TX = (SELECT MAX(TXID) AS TXID FROM JMS_TRANSACTIONS UNION SELECT MAX(TXID) AS TXID FROM JMS_MESSAGES)
+      DELETE_ALL_TX = DELETE FROM JMS_TRANSACTIONS
+      SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXOP=? AND JMS_MESSAGES.TXID IN (SELECT TXID FROM JMS_TRANSACTIONS)
+      DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
+      DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
+      DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
+      DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(150) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB BLOB(1024M), PRIMARY KEY (MESSAGEID, DESTINATION))
+      CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID)
+      CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_DESTINATION ON JMS_MESSAGES (DESTINATION)
+      CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER NOT NULL, PRIMARY KEY (TXID) )
+      CREATE_TABLES_ON_STARTUP = TRUE </attribute>
+    <!-- Uncomment to override the transaction timeout for recovery per queue/subscription, in seconds -->
+    <!--attribute name="RecoveryTimeout">0</attribute-->
+  </mbean>
+ 
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/derby-jdbc2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/derby-jdbc2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/derby-jdbc2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: derby-jdbc2-service.xml 58302 2006-11-13 17:11:17Z adrian at jboss.org $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Persistence and caching using DERBY-DB (Synonym: IBM-Cloudscape)     -->
+  <!-- See docs/examples/jms for other configurations                       -->
+  <!-- IMPORTANT: Remove hsqldb-jdbc2-service.xml                           -->
+  <!--                                                                      -->
+  <!-- Configuration supplied by Bison Schweiz AG Hendrik Schäfer           -->  
+  <!-- ==================================================================== -->
+
+  <!--
+     | The destination manager is the core service within JBossMQ
+  -->
+  <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
+    <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
+    <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
+    <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
+  </mbean>
+
+  <!--
+     | The MessageCache decides where to put JBossMQ message that
+     | are sitting around waiting to be consumed by a client.
+     |
+     | The memory marks are in Megabytes.  Once the JVM memory usage hits
+     | the high memory mark, the old messages in the cache will start getting
+     | stored in the DataDirectory.  As memory usage gets closer to the
+     | Max memory mark, the amount of message kept in the memory cache aproaches 0.
+   -->
+  <mbean code="org.jboss.mq.server.MessageCache"
+   name="jboss.mq:service=MessageCache">
+    <attribute name="HighMemoryMark">50</attribute>
+    <attribute name="MaxMemoryMark">60</attribute>
+    <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
+  </mbean>
+
+  <!-- The PersistenceManager is used to store messages to disk. -->
+  <!-- 
+     | The jdbc2 PersistenceManager is the new improved JDBC implementation.
+     | This implementation allows you to control how messages are stored in 
+     | the database.
+     | 
+     | This jdbc2 PM configuration has been tested against Derby DB
+     | 
+   -->
+  <mbean code="org.jboss.mq.pm.jdbc2.PersistenceManager"
+   name="jboss.mq:service=PersistenceManager">
+    <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=DerbyDS</depends>
+    <attribute name="SqlProperties">
+      BLOB_TYPE=BYTES_BLOB
+      INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
+      INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+      SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
+      SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES
+      DELETE_ALL_TX = DELETE FROM JMS_TRANSACTIONS
+      SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE_KEYS_IN_DEST = SELECT MESSAGEID FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE EXISTS (SELECT JMS_TRANSACTIONS.TXID FROM JMS_TRANSACTIONS \
+                                                                              WHERE JMS_TRANSACTIONS.TXID = JMS_MESSAGES.TXID) \
+                                                                               AND JMS_MESSAGES.TXOP = ?
+      DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
+      DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
+      DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
+      DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT NULL, \
+         DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \
+         MESSAGEBLOB blob(1024M), PRIMARY KEY (MESSAGEID, DESTINATION))
+      CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID)
+      CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON JMS_MESSAGES (DESTINATION)
+      CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER not null, PRIMARY KEY (TXID) )
+      CREATE_TABLES_ON_STARTUP = TRUE
+    </attribute>
+    <!-- Uncomment to override the transaction timeout for recovery per queue/subscription, in seconds -->
+    <!--attribute name="RecoveryTimeout">0</attribute-->
+    <!-- The number of blobs to load at once during message recovery -->
+    <attribute name="RecoverMessagesChunk">0</attribute>    
+  </mbean>
+
+</server>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/file-state-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/file-state-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/file-state-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: file-state-service.xml 23368 2004-09-03 15:50:38Z ejort $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- State management using the file system                               -->
+  <!--                                                                      -->
+  <!-- IMPORTANT OTHER CONFIGURATION INSTRUCTIONS                           -->
+  <!--                                                                      -->
+  <!-- 1) Remove hsqldb-jdbc-state-service.xml                              -->
+  <!-- 2) Replace the jbossmq configuration with the following              -->
+  <!--    login module in conf/login-config.xml                             -->
+  <!--
+    <application-policy name = "jbossmq">
+       <authentication>
+          <login-module code = "org.jboss.mq.sm.file.DynamicLoginModule"
+             flag = "required">
+             <module-option name = "unauthenticatedIdentity">guest</module-option>
+             <module-option name = "sm.objectname">jboss.mq:service=StateManager</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+  -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | The StateManager is used to keep JMS persistent state data.
+     | For example: what durable subscriptions are active.
+   -->
+  <mbean code="org.jboss.mq.sm.file.DynamicStateManager"
+	 name="jboss.mq:service=StateManager">
+    <!-- This file is pulled from the configuration URL of the server -->
+    <attribute name="StateFile">jbossmq-state.xml</attribute>
+  </mbean>
+  
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/mssql-jdbc2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/mssql-jdbc2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/mssql-jdbc2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: mssql-jdbc2-service.xml 63369 2007-06-05 22:22:14Z dbhole $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Persistence and caching using MSSQL                                  -->
+  <!-- IMPORTANT: Remove hsqldb-jdbc2-service.xml                           -->
+  <!-- Provided by matty at mattygiedt.com                                     -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | The destination manager is the core service within JBossMQ
+  -->
+  <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
+    <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
+    <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
+    <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
+  </mbean>
+
+  <!--
+     | The MessageCache decides where to put JBossMQ message that
+     | are sitting around waiting to be consumed by a client.
+     |
+     | The memory marks are in Megabytes.  Once the JVM memory usage hits
+     | the high memory mark, the old messages in the cache will start getting
+     | stored in the DataDirectory.  As memory usage gets closer to the
+     | Max memory mark, the amount of message kept in the memory cache aproaches 0.
+   -->
+  <mbean code="org.jboss.mq.server.MessageCache"
+	 name="jboss.mq:service=MessageCache">
+    <attribute name="HighMemoryMark">50</attribute>
+    <attribute name="MaxMemoryMark">60</attribute>
+    <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
+  </mbean>
+
+  <!-- The PersistenceManager is used to store messages to disk. -->
+  <!--
+     | The jdbc2 PersistenceManager is the new improved JDBC implementation.
+     | This implementation allows you to control how messages are stored in
+     | the database.
+     |
+     | This jdbc2 PM configuration has been tested against MS SQL Server 2000
+     | http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAMSSQLDatasource
+   -->
+  <mbean code="org.jboss.mq.pm.jdbc2.MSSQLPersistenceManager"
+	 name="jboss.mq:service=PersistenceManager">
+    <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=MSSQLDS</depends>
+    <attribute name="SqlProperties">
+      BLOB_TYPE=BINARYSTREAM_BLOB
+      INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
+      INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+      SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
+      SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES
+      DELETE_ALL_TX = DELETE FROM JMS_TRANSACTIONS
+      SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE_KEYS_IN_DEST = SELECT MESSAGEID FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXID IN (SELECT TXID FROM JMS_TRANSACTIONS) AND TXOP=?
+      DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
+      DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
+      DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
+      DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(150) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB IMAGE)
+      CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID)
+      CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON JMS_MESSAGES (DESTINATION)
+      CREATE_IDX_MESSAGE_MESSAGEID_DESTINATION = CREATE UNIQUE CLUSTERED INDEX JMS_MESSAGES_IDX ON JMS_MESSAGES (MESSAGEID, DESTINATION)
+      CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) )
+      CREATE_TABLES_ON_STARTUP = TRUE
+    </attribute>
+    <!-- Uncomment to override the transaction timeout for recovery per queue/subscription, in seconds -->
+    <!--attribute name="RecoveryTimeout">0</attribute-->
+    <!-- The number of blobs to load at once during message recovery -->
+    <attribute name="RecoverMessagesChunk">0</attribute>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/mysql-jdbc2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/mysql-jdbc2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/mysql-jdbc2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: mysql-jdbc2-service.xml 39343 2005-12-29 16:32:35Z ltexier $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Persistence and caching using MySQL                                  -->
+  <!-- IMPORTANT: Remove hsqldb-jdbc2-service.xml                           -->
+  <!--                                                                      -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | The destination manager is the core service within JBossMQ
+  -->
+  <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
+    <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
+    <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
+    <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
+  </mbean>
+
+  <!--
+     | The MessageCache decides where to put JBossMQ message that
+     | are sitting around waiting to be consumed by a client.
+     |
+     | The memory marks are in Megabytes.  Once the JVM memory usage hits
+     | the high memory mark, the old messages in the cache will start getting
+     | stored in the DataDirectory.  As memory usage gets closer to the
+     | Max memory mark, the amount of message kept in the memory cache aproaches 0.
+   -->
+  <mbean code="org.jboss.mq.server.MessageCache"
+	 name="jboss.mq:service=MessageCache">
+    <attribute name="HighMemoryMark">50</attribute>
+    <attribute name="MaxMemoryMark">60</attribute>
+    <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
+  </mbean>
+
+  <!-- The PersistenceManager is used to store messages to disk. -->
+  <!-- 
+     | The jdbc2 PersistenceManager is the new improved JDBC implementation.
+     | This implementation allows you to control how messages are stored in 
+     | the database.
+     | 
+     | This jdbc2 PM configuration has was supplied by Stephane Nicoll in the forums as an example for MySQL
+   -->
+  <mbean code="org.jboss.mq.pm.jdbc2.PersistenceManager"
+	 name="jboss.mq:service=PersistenceManager">
+    <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=MySqlDS</depends>
+    <attribute name="SqlProperties">
+      BLOB_TYPE=BYTES_BLOB
+      INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
+      INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+      SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
+      SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES 
+      DELETE_ALL_TX = DELETE FROM JMS_TRANSACTIONS
+      SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE_KEYS_IN_DEST = SELECT MESSAGEID FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      DELETE_MARKED_MESSAGES_WITH_TX = DELETE JMS_MESSAGES FROM JMS_MESSAGES, JMS_TRANSACTIONS WHERE JMS_MESSAGES.TXID = JMS_TRANSACTIONS.TXID AND JMS_MESSAGES.TXOP=?
+      DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
+      DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
+      DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
+      DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(150) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB LONGBLOB, PRIMARY KEY (MESSAGEID, DESTINATION))
+      CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID)
+      CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON JMS_MESSAGES (DESTINATION)
+      CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) )
+      CREATE_TABLES_ON_STARTUP = TRUE
+    </attribute>
+    <!-- Uncomment to override the transaction timeout for recovery per queue/subscription, in seconds -->
+    <!--attribute name="RecoveryTimeout">0</attribute-->
+    <!-- The number of blobs to load at once during message recovery -->
+    <attribute name="RecoverMessagesChunk">1</attribute>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/null-persistence-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/null-persistence-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/null-persistence-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: null-persistence-service.xml 29473 2005-03-14 19:18:48Z ejort $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Persistence and caching using MSSQL                                  -->
+  <!-- IMPORTANT: Remove hsqldb-jdbc2-service.xml                           -->
+  <!-- Provided by matty at mattygiedt.com                                     -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | The destination manager is the core service within JBossMQ
+  -->
+  <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
+    <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
+    <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
+    <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
+    
+    <!-- If using a delegate persistence manager, use the in memory cache store -->
+    <!-- for temporary queues/topics (uncomment to enable)                      -->
+    <!--attribute name="TemporaryInMemory">true</attribute-->
+  </mbean>
+
+  <!--
+     | The MessageCache decides where to put JBossMQ message that
+     | are sitting around waiting to be consumed by a client.
+     |
+     | The memory marks are in Megabytes.  Once the JVM memory usage hits
+     | the high memory mark, the old messages in the cache will start getting
+     | stored in the DataDirectory.  As memory usage gets closer to the
+     | Max memory mark, the amount of message kept in the memory cache aproaches 0.
+   -->
+  <mbean code="org.jboss.mq.server.MessageCache"
+	 name="jboss.mq:service=MessageCache">
+    <attribute name="HighMemoryMark">50</attribute>
+    <attribute name="MaxMemoryMark">60</attribute>
+    <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
+  </mbean>
+
+  <!-- This PersistenceManager does not store messages to disk               -->
+  <!-- All persistence requests are ignored and the cache store is in memory -->
+  <!--                                                                       -->
+  <!-- Use org.jboss.mq.pm.none.NewPersistenceManager to enable the          -->
+  <!-- optimized topic persistence with or without a jdbc3 delegate          -->
+  <!--                                                                       -->
+  <!-- A delegate persistence manager can be configured                      -->
+  <!-- The delegate will be used unless the queue/topic is configured with   -->
+  <!-- <attribute name="InMemory">true</attribute>                           -->
+  <mbean code="org.jboss.mq.pm.none.PersistenceManager"
+	 name="jboss.mq:service=PersistenceManager">
+	 
+	<!-- An optional delegate for real persistence of some destinations e.g. jdbc2 -->
+   <!-- depends optional-attribute-name="DelegatePM">jboss.mq:service=SomePersistenceManager</depends-->
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/oil-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/oil-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/oil-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: oil-service.xml 38188 2005-11-17 00:11:34Z adrian $ -->
+
+<server>
+
+  <!-- JBossMQ communication using the Optimizated Invocation Layer
+       The server connects back to the client on a different socket -->
+
+  <mbean code="org.jboss.mq.il.oil.OILServerILService"
+	 name="jboss.mq:service=InvocationLayer,type=OIL">
+    <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
+    <attribute name="ConnectionFactoryJNDIRef">OILConnectionFactory</attribute>
+    <attribute name="XAConnectionFactoryJNDIRef">OILXAConnectionFactory</attribute>
+    <attribute name="ServerBindPort">8090</attribute>
+    <attribute name="PingPeriod">60000</attribute>
+    <attribute name="EnableTcpNoDelay">true</attribute>
+    <attribute name="BindAddress">${jboss.bind.address}</attribute>
+    <!-- Used to disconnect the client if there is no activity -->
+    <!-- Ensure this is greater than the ping period -->
+    <attribute name="ReadTimeout">70000</attribute>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/oracle-jdbc2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/oracle-jdbc2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/oracle-jdbc2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: oracle-jdbc2-service.xml 57445 2006-10-05 13:20:43Z adrian at jboss.org $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Persistence and caching using Oracle                                 -->
+  <!-- IMPORTANT: Remove hsqldb-jdbc2-service.xml                           -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | The destination manager is the core service within JBossMQ
+  -->
+  <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
+    <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
+    <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
+    <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
+  </mbean>
+
+  <!--
+     | The MessageCache decides where to put JBossMQ message that
+     | are sitting around waiting to be consumed by a client.
+     |
+     | The memory marks are in Megabytes.  Once the JVM memory usage hits
+     | the high memory mark, the old messages in the cache will start getting
+     | stored in the DataDirectory.  As memory usage gets closer to the
+     | Max memory mark, the amount of message kept in the memory cache aproaches 0.
+   -->
+  <mbean code="org.jboss.mq.server.MessageCache"
+	 name="jboss.mq:service=MessageCache">
+    <attribute name="HighMemoryMark">50</attribute>
+    <attribute name="MaxMemoryMark">60</attribute>
+    <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
+  </mbean>
+
+  <!-- The PersistenceManager is used to store messages to disk. -->
+  <!-- 
+     | The jdbc2 PersistenceManager is the new improved JDBC implementation.
+     | This implementation allows you to control how messages are stored in 
+     | the database.
+     | 
+     | This jdbc2 PM configuration has been tested against Oracle
+     | 
+     | Use the OracleThinPeristenceManager if you have the 4K limit problem for blobs
+     | this uses the INSERT_EMPTY_BLOB and LOCK_EMPTY_BLOB before updating the row
+     | with the real blob data to workaround that limit.
+   -->
+  <!--mbean code="org.jboss.mq.pm.jdbc2.OracleThinPersistenceManager" -->
+  <mbean code="org.jboss.mq.pm.jdbc2.PersistenceManager"
+	 name="jboss.mq:service=PersistenceManager">
+    <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=OracleDS</depends>
+    <attribute name="SqlProperties">
+      INSERT_EMPTY_BLOB = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,EMPTY_BLOB(),?,?)
+      LOCK_EMPTY_BLOB = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID = ? AND DESTINATION = ? FOR UPDATE
+      BLOB_TYPE=BINARYSTREAM_BLOB
+      INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
+      INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+      SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
+      SELECT_MAX_TX = SELECT MAX(TXID) FROM (SELECT MAX(TXID) AS TXID FROM JMS_TRANSACTIONS UNION SELECT MAX(TXID) AS TXID FROM JMS_MESSAGES)
+      DELETE_ALL_TX = DELETE FROM JMS_TRANSACTIONS
+      SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE_KEYS_IN_DEST = SELECT MESSAGEID FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES MESS WHERE TXOP=? AND EXISTS (SELECT TXID FROM JMS_TRANSACTIONS TX WHERE TX.TXID = MESS.TXID)
+      DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
+      DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
+      DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
+      DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \
+         DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \
+         MESSAGEBLOB BLOB, PRIMARY KEY (MESSAGEID, DESTINATION) )
+      CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID)
+      CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON JMS_MESSAGES (DESTINATION)
+      CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) )
+      CREATE_TABLES_ON_STARTUP = TRUE
+    </attribute>
+    <!-- Uncomment to override the transaction timeout for recovery per queue/subscription, in seconds -->
+    <!--attribute name="RecoveryTimeout">0</attribute-->
+    <!-- The number of blobs to load at once during message recovery -->
+    <attribute name="RecoverMessagesChunk">0</attribute>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/postgres-jdbc2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/postgres-jdbc2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/postgres-jdbc2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: postgres-jdbc2-service.xml 42419 2006-03-17 11:35:42Z adrian $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Persistence and caching using Postgres                               -->
+  <!-- IMPORTANT: Remove hsqldb-jdbc2-service.xml                           -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | The destination manager is the core service within JBossMQ
+  -->
+  <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
+    <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
+    <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
+    <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
+  </mbean>
+
+  <!--
+     | The MessageCache decides where to put JBossMQ message that
+     | are sitting around waiting to be consumed by a client.
+     |
+     | The memory marks are in Megabytes.  Once the JVM memory usage hits
+     | the high memory mark, the old messages in the cache will start getting
+     | stored in the DataDirectory.  As memory usage gets closer to the
+     | Max memory mark, the amount of message kept in the memory cache aproaches 0.
+   -->
+  <mbean code="org.jboss.mq.server.MessageCache"
+	 name="jboss.mq:service=MessageCache">
+    <attribute name="HighMemoryMark">50</attribute>
+    <attribute name="MaxMemoryMark">60</attribute>
+    <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
+  </mbean>
+
+  <!-- The PersistenceManager is used to store messages to disk. -->
+  <!-- 
+     | The jdbc2 PersistenceManager is the new improved JDBC implementation.
+     | This implementation allows you to control how messages are stored in 
+     | the database.
+     | 
+     | This jdbc2 PM configuration has was supplied by Stephane Nicoll in the forums as an example for Postgres
+   -->
+  <mbean code="org.jboss.mq.pm.jdbc2.PersistenceManager"
+	 name="jboss.mq:service=PersistenceManager">
+    <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=PostgresDS</depends>
+    <attribute name="SqlProperties">
+      BLOB_TYPE=BYTES_BLOB
+      INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
+      INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+      SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
+      SELECT_MAX_TX = SELECT MAX(TXID) FROM (SELECT MAX(TXID) AS TXID FROM JMS_TRANSACTIONS UNION SELECT MAX(TXID) AS TXID FROM JMS_MESSAGES) AS TXID
+      DELETE_ALL_TX = DELETE FROM JMS_TRANSACTIONS
+      SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE_KEYS_IN_DEST = SELECT MESSAGEID FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXID IN (SELECT TXID FROM JMS_TRANSACTIONS) AND TXOP=?
+      DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
+      DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
+      DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
+      DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(150) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB BYTEA, PRIMARY KEY (MESSAGEID, DESTINATION))
+      CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID)
+      CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON JMS_MESSAGES (DESTINATION)
+      CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) )
+      CREATE_TABLES_ON_STARTUP = TRUE
+    </attribute>
+    <!-- Uncomment to override the transaction timeout for recovery per queue/subscription, in seconds -->
+    <!--attribute name="RecoveryTimeout">0</attribute-->
+    <!-- The number of blobs to load at once during message recovery -->
+    <attribute name="RecoverMessagesChunk">0</attribute>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/rmi-il-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/rmi-il-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/rmi-il-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: rmi-il-service.xml 30526 2005-04-19 05:00:42Z  $ -->
+
+<server>
+
+  <!-- JBossMQ communication using RMI -->
+
+  <mbean code="org.jboss.mq.il.rmi.RMIServerILService"
+	 name="jboss.mq:service=InvocationLayer,type=RMI">
+	 <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
+    <attribute name="ConnectionFactoryJNDIRef">RMIConnectionFactory</attribute>
+    <attribute name="XAConnectionFactoryJNDIRef">RMIXAConnectionFactory</attribute>
+    <attribute name="PingPeriod">60000</attribute>
+  </mbean>
+
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/ssl-uil2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/ssl-uil2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/ssl-uil2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: ssl-uil2-service.xml 33429 2005-07-11 19:59:46Z adrian $ -->
+
+<server>
+
+  <!-- An example invocation layer using ssl
+       JBossMQ using the Unified Invocation Layer
+       All communication uses one socket connection -->
+
+  <mbean code="org.jboss.mq.il.uil2.UILServerILService"
+	 name="jboss.mq:service=InvocationLayer,type=SSLUIL2">
+
+    <!-- The server chain -->
+    <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
+
+    <!-- JNDI binding -->
+    <attribute name="ConnectionFactoryJNDIRef">SSLUIL2ConnectionFactory</attribute>
+
+    <!-- JNDI binding for XA -->
+    <attribute name="XAConnectionFactoryJNDIRef">SSLUIL2XAConnectionFactory</attribute>
+
+    <!-- The bind address -->
+    <attribute name="BindAddress">${jboss.bind.address}</attribute>
+
+    <!-- The bind port -->
+    <attribute name="ServerBindPort">8091</attribute>
+
+    <!-- The ping period in millis -->
+    <attribute name="PingPeriod">60000</attribute>
+
+    <!-- Whether tcp/ip does not wait for buffer fills -->
+
+    <attribute name="EnableTcpNoDelay">true</attribute>
+    <!-- Used to disconnect the client on the serverside if there is no activity -->
+    <!-- Ensure this is greater than the ping period -->
+    <attribute name="ReadTimeout">120000</attribute>
+
+    <!-- Used to disconnect the client on the clientside if there is no activity -->
+    <!-- Ensure this is greater than the ping period -->
+    <attribute name="ClientReadTimeout">300000</attribute>
+
+    <!-- The size of the buffer (in bytes) wrapping the socket -->
+    <!-- The buffer is flushed after each request -->
+    <attribute name="BufferSize">2048</attribute>
+
+    <!-- Large messages may block the ping/pong -->
+    <!-- A pong is simulated after each chunk (in bytes) for both reading and writing -->
+    <!-- It must be larger than the buffer size -->
+    <attribute name="ChunkSize">1000000</attribute>
+    
+    <!-- Minimum number of threads in the internal thread pool -->
+    <attribute name="MinimumThreads">1</attribute>
+    
+    <!-- Maximum number of threads in the internal thread pool -->
+    <!-- This is not strict, it represents how many threads go back into the pool -->
+    <!-- rather than are reaped immediately -->
+    <attribute name="MaximumThreads">50</attribute>
+    
+    <!-- The timeout for unused threads in the internal pool in millis -->
+    <attribute name="TimeoutThreads">60000</attribute>
+
+    <!-- SSL Socket Factories -->
+    <attribute name="ClientSocketFactory">org.jboss.security.ssl.ClientSocketFactory</attribute>
+    <attribute name="ServerSocketFactory">org.jboss.security.ssl.DomainServerSocketFactory</attribute>
+
+    <!-- Security domain - see below -->
+    <attribute name="SecurityDomain">java:/jaas/SSL</attribute>
+  </mbean>
+
+  <!-- Configures the keystore on the security domain
+       This mbean is better placed in conf/jboss-service.xml where it
+       can be used by other services. But it will still work from anywhere.
+       Use keytool from the sdk to create the keystore.
+  -->
+  <mbean code="org.jboss.security.plugins.JaasSecurityDomain"
+         name="jboss.security:service=JaasSecurityDomain,domain=SSL">
+     <!-- This must correlate with the java:/jaas/SSL above -->
+     <constructor>
+        <arg type="java.lang.String" value="SSL"/>
+     </constructor>
+     <!-- The location of the keystore
+          resource: loads from the classloaders conf/ is the first classloader -->
+     <attribute name="KeyStoreURL">resource:test.keystore</attribute>
+     <attribute name="KeyStorePass">changeme</attribute>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/build.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/build.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/build.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This is an Ant build script that creates a minimal jbossmq
+configuration based on the default configuration
+-->
+<project name="Mininal JBossMQ configuration script" default="config">
+
+   <!-- Override if the script is not run from within the
+   dist/docs/examples/jms/standalone directory.
+   -->
+   <property name="jboss.dist" value="../../../.."/>
+
+
+   <target name="common">
+
+     <!-- get rid of any existing folder -->
+     <delete dir="${jboss.dist}/server/jbossmq"/>
+
+
+     <!-- We are mainly based on the minimal configuration -->
+      <copy todir="${jboss.dist}/server/jbossmq">
+         <fileset dir="${jboss.dist}/server/minimal">
+            <exclude name="conf/jboss-service.xml"/>
+            <exclude name="lib/jboss-minimal.jar"/>
+         </fileset>
+      </copy>
+ 
+     <!-- We need the following from the default configuration -->
+      <copy todir="${jboss.dist}/server/jbossmq">
+         <fileset dir="${jboss.dist}/server/default">
+            <!-- configuration -->
+            <include name="conf/login-config.xml"/>
+            <include name="conf/xmdesc/*"/>
+            <!-- the main jboss jar -->
+            <include name="lib/jboss.jar"/>
+            <!-- jaas -->
+            <include name="lib/jbosssx.jar"/>
+            <!-- transactions -->
+            <include name="lib/jboss-transaction.jar"/>
+            <!-- jms interfaces -->
+            <include name="lib/jboss-j2ee.jar"/>
+            <!-- local db support -->
+            <include name="lib/jboss-common-jdbc-wrapper.jar"/>
+            <include name="lib/xalan.jar"/>
+            <include name="lib/jboss-jca.jar"/>
+            <include name="deploy/jbossjca-service.xml"/>
+            <include name="deploy/jboss-local-jdbc.rar"/>
+            <include name="conf/standardjbosscmp-jdbc.xml"/>
+         </fileset>
+     </copy>
+     
+     
+      <copy todir="${jboss.dist}/server/jbossmq/conf/" overwrite="true">
+         <fileset dir="${jboss.dist}/docs/examples/jms/standalone">
+            <include name="jboss-service.xml"/>
+         </fileset>
+      </copy>
+      
+           
+   </target>
+   
+   
+   <target name="config" depends="common">
+ 
+     <!-- We need the following from the default configuration -->
+      <copy todir="${jboss.dist}/server/jbossmq">
+         <fileset dir="${jboss.dist}/server/default">
+
+            <!-- hypersonic -->
+            <include name="lib/hsqldb*"/>
+            <include name="deploy/hsqldb-ds.xml"/>
+            <include name="deploy/jms/hsqldb-jdbc2-service.xml"/>
+            <include name="deploy/jms/hsqldb-jdbc-state-service.xml"/>
+            <!-- jbossmq -->
+            <include name="lib/jbossmq.jar"/>
+            <include name="deploy/jms/jbossmq-service.xml"/>
+            <include name="deploy/jms/jbossmq-destinations-service.xml"/>
+            <include name="deploy/jms/uil2-service.xml"/>
+         </fileset>
+      </copy>
+
+   </target>
+   
+   <target name="config-all" depends="common">
+        
+ 
+     <!-- We need the following from the all configuration -->
+      <copy todir="${jboss.dist}/server/jbossmq">
+         <fileset dir="${jboss.dist}/server/all">
+            
+            <!-- hypersonic -->
+            <include name="lib/hsqldb*"/>
+            <include name="deploy/hsqldb-ds.xml"/>
+            <include name="deploy-hasingleton/jms/hsqldb-jdbc2-service.xml"/>
+            <include name="deploy-hasingleton/jms/hsqldb-jdbc-state-service.xml"/>
+            <!-- jbossmq -->
+            <include name="lib/jbossmq.jar"/>
+            <include name="deploy-hasingleton/jms/jbossmq-service.xml"/>
+            <include name="deploy-hasingleton/jms/jbossmq-destinations-service.xml"/>
+            <include name="deploy-hasingleton/jms/uil2-service.xml"/>
+            <!-- clustering -->
+            <include name="lib/jgroups.jar"/>
+            <include name="lib/jbossha.jar"/>
+            <include name="lib/commons-logging.jar"/>
+            <include name="deploy/cluster-service.xml"/>
+            <include name="deploy/deploy-hasingleton-service.xml"/>
+            
+
+         </fileset>
+      </copy>
+
+
+      
+      <copy todir="${jboss.dist}/server/jbossmq/deploy/" overwrite="true">
+         <fileset dir="${jboss.dist}/docs/examples/jms/standalone">
+            <include name="cluster-service.xml"/>
+         </fileset>
+      </copy>
+      
+
+   </target>
+   
+   
+   
+</project>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/cluster-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/cluster-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/cluster-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample Clustering Service Configuration                              -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Cluster Partition: defines cluster                                   -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.ha.framework.server.ClusterPartition"
+      name="jboss:service=${jboss.partition.name:DefaultPartition}">
+         
+      <!-- Name of the partition being built -->
+      <attribute name="PartitionName">${jboss.partition.name:DefaultPartition}</attribute>
+
+      <!-- The address used to determine the node name -->
+      <attribute name="NodeAddress">${jboss.bind.address}</attribute>
+
+      <!-- Determine if deadlock detection is enabled -->
+      <attribute name="DeadlockDetection">False</attribute>
+     
+      <!-- Max time (in ms) to wait for state transfer to complete. Increase for large states -->
+      <attribute name="StateTransferTimeout">30000</attribute>
+
+      <!-- The JGroups protocol configuration -->
+      <attribute name="PartitionConfig">
+         <!--
+         The default UDP stack:
+         - If you have a multihomed machine, set the UDP protocol's bind_addr attribute to the
+         appropriate NIC IP address, e.g bind_addr="192.168.0.2".
+         - On Windows machines, because of the media sense feature being broken with multicast
+         (even after disabling media sense) set the UDP protocol's loopback attribute to true
+         -->
+         <Config>
+            <UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.3}" mcast_port="45566"
+               ip_ttl="8" ip_mcast="true"
+               mcast_send_buf_size="800000" mcast_recv_buf_size="150000"
+               ucast_send_buf_size="800000" ucast_recv_buf_size="150000"
+               loopback="false"/>
+            <PING timeout="2000" num_initial_members="3"
+               up_thread="true" down_thread="true"/>
+            <MERGE2 min_interval="10000" max_interval="20000"/>
+            <FD shun="true" up_thread="true" down_thread="true"
+               timeout="2500" max_tries="5"/>
+            <VERIFY_SUSPECT timeout="3000" num_msgs="3"
+               up_thread="true" down_thread="true"/>
+            <pbcast.NAKACK gc_lag="50" retransmit_timeout="300,600,1200,2400,4800"
+               max_xmit_size="8192"
+               up_thread="true" down_thread="true"/>
+            <UNICAST timeout="300,600,1200,2400,4800" window_size="100" min_threshold="10"
+               down_thread="true"/>
+            <pbcast.STABLE desired_avg_gossip="20000"
+               up_thread="true" down_thread="true"/>
+            <FRAG frag_size="8192"
+               down_thread="true" up_thread="true"/>
+            <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
+               shun="true" print_local_addr="true"/>
+            <pbcast.STATE_TRANSFER up_thread="true" down_thread="true"/>
+         </Config>
+
+         <!-- Alternate TCP stack: customize it for your environment, change bind_addr and initial_hosts -->
+         <!--
+         <Config>
+            <TCP bind_addr="thishost" start_port="7800" loopback="true"/>
+            <TCPPING initial_hosts="thishost[7800],otherhost[7800]" port_range="3" timeout="3500"
+               num_initial_members="3" up_thread="true" down_thread="true"/>
+            <MERGE2 min_interval="5000" max_interval="10000"/>
+            <FD shun="true" timeout="2500" max_tries="5" up_thread="true" down_thread="true" />
+            <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false" />
+            <pbcast.NAKACK down_thread="true" up_thread="true" gc_lag="100"
+               retransmit_timeout="3000"/>
+            <pbcast.STABLE desired_avg_gossip="20000" down_thread="false" up_thread="false" />
+            <pbcast.GMS join_timeout="5000" join_retry_timeout="2000" shun="false"
+               print_local_addr="true" down_thread="true" up_thread="true"/>
+            <pbcast.STATE_TRANSFER up_thread="true" down_thread="true"/>
+         </Config>
+         -->
+      </attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+
+
+
+   <!-- ==================================================================== -->
+   <!-- HA JNDI                                                              -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.ha.jndi.HANamingService"
+      name="jboss:service=HAJNDI">
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+      <!-- Name of the partition to which the service is linked -->
+      <attribute name="PartitionName">${jboss.partition.name:DefaultPartition}</attribute>
+      <!-- Bind address of bootstrap and HA-JNDI RMI endpoints -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>
+      <!-- Port on which the HA-JNDI stub is made available -->
+      <attribute name="Port">1100</attribute>
+      <!-- RmiPort to be used by the HA-JNDI service once bound. 0 => auto. -->
+      <attribute name="RmiPort">1101</attribute>
+      <!-- Accept backlog of the bootstrap socket -->
+      <attribute name="Backlog">50</attribute>
+      <!-- The thread pool service used to control the bootstrap and
+      auto discovery lookups -->
+      <depends optional-attribute-name="LookupPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+
+      <!-- A flag to disable the auto discovery via multicast -->
+      <attribute name="DiscoveryDisabled">false</attribute>
+      <!-- Set the auto-discovery bootstrap multicast bind address. If not 
+      specified and a BindAddress is specified, the BindAddress will be used. -->
+      <attribute name="AutoDiscoveryBindAddress">${jboss.bind.address}</attribute>
+      <!-- Multicast Address and group port used for auto-discovery -->
+      <attribute name="AutoDiscoveryAddress">${jboss.partition.udpGroup:230.0.0.4}</attribute>
+      <attribute name="AutoDiscoveryGroup">1102</attribute>
+      <!-- The TTL (time-to-live) for autodiscovery IP multicast packets -->
+      <attribute name="AutoDiscoveryTTL">16</attribute>
+
+      <!-- Client socket factory to be used for client-server
+           RMI invocations during JNDI queries
+      <attribute name="ClientSocketFactory">custom</attribute>
+      -->
+      <!-- Server socket factory to be used for client-server
+           RMI invocations during JNDI queries
+      <attribute name="ServerSocketFactory">custom</attribute>
+      -->
+   </mbean>
+
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/standalone/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,376 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-service.xml 56341 2006-08-28 14:34:39Z luc.texier at jboss.com $ -->
+
+<!-- ===================================================================== -->
+<!--  JBoss Server Configuration                                           -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- Load all jars from the JBOSS_DIST/server/<config>/lib directory. This
+     can be restricted to specific jars by specifying them in the archives
+     attribute.
+    -->
+   <classpath codebase="${jboss.server.lib.url:lib}" archives="*"/>
+
+
+
+   <!-- A Thread pool service -->
+   <mbean code="org.jboss.util.threadpool.BasicThreadPool"
+      name="jboss.system:service=ThreadPool">
+      <attribute name="Name">JBoss System Threads</attribute>
+      <attribute name="ThreadGroupName">System Threads</attribute>
+      <!-- How long a thread will live without any tasks in MS -->
+      <attribute name="KeepAliveTime">60000</attribute>
+      <!-- The max number of threads in the pool -->
+      <attribute name="MaximumPoolSize">10</attribute>
+      <!-- The max number of tasks before the queue is full -->
+      <attribute name="MaximumQueueSize">1000</attribute>
+      <!-- The behavior of the pool when a task is added and the queue is full.
+      abort - a RuntimeException is thrown
+      run - the calling thread executes the task
+      wait - the calling thread blocks until the queue has room
+      discard - the task is silently discarded without being run
+      discardOldest - check to see if a task is about to complete and enque
+         the new task if possible, else run the task in the calling thread
+      -->
+      <attribute name="BlockingMode">run</attribute>
+   </mbean>
+
+
+   <!-- ==================================================================== -->
+   <!-- Log4j Initialization                                                 -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.logging.Log4jService"
+      name="jboss.system:type=Log4jService,service=Logging"
+	  xmbean-dd="resource:xmdesc/Log4jService-xmbean.xml">
+      <attribute name="ConfigurationURL">resource:log4j.xml</attribute>
+      <!-- Set the org.apache.log4j.helpers.LogLog.setQuiteMode. As of log4j1.2.8
+      this needs to be set to avoid a possible deadlock on exception at the
+      appender level. See bug#696819.
+      -->
+      <attribute name="Log4jQuietMode">true</attribute>
+      <!-- How frequently in seconds the ConfigurationURL is checked for changes -->
+      <attribute name="RefreshPeriod">60</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- JBoss RMI Classloader - only install when available                  -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.util.property.jmx.SystemPropertyClassValue"
+      name="jboss.rmi:type=RMIClassLoader">
+      <attribute name="Property">java.rmi.server.RMIClassLoaderSpi</attribute>
+      <attribute name="ClassName">org.jboss.system.JBossRMIClassLoader</attribute>
+   </mbean>
+
+
+   <!-- ==================================================================== -->
+   <!-- JNDI                                                                 -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.naming.NamingService"
+      name="jboss:service=Naming"
+      xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
+      <!-- The call by value mode. true if all lookups are unmarshalled using
+      the caller's TCL, false if in VM lookups return the value by reference.
+      -->
+      <attribute name="CallByValue">false</attribute>
+      <!-- The listening port for the bootstrap JNP service. Set this to -1
+        to run the NamingService without the JNP invoker listening port.
+      -->
+      <attribute name="Port">1099</attribute>
+      <!-- The bootstrap JNP server bind address. This also sets the default
+      RMI service bind address. Empty == all addresses
+       -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>
+      <!-- The port of the RMI naming service, 0 == anonymous -->
+      <attribute name="RmiPort">1098</attribute>
+      <!-- The RMI service bind address. Empty == all addresses
+       -->
+      <attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
+      <!-- The thread pool service used to control the bootstrap lookups -->
+      <depends optional-attribute-name="LookupPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+   </mbean>
+
+   <mbean code="org.jboss.naming.JNDIView"
+   		name="jboss:service=JNDIView"
+   		xmbean-dd="resource:xmdesc/JNDIView-xmbean.xml">
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Security                                                             -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.security.plugins.SecurityConfig"
+      name="jboss.security:service=SecurityConfig">
+      <attribute name="LoginConfig">jboss.security:service=XMLLoginConfig</attribute>
+   </mbean>
+   <mbean code="org.jboss.security.auth.login.XMLLoginConfig"
+      name="jboss.security:service=XMLLoginConfig">
+      <attribute name="ConfigResource">login-config.xml</attribute>
+   </mbean>
+
+   <!-- JAAS security manager and realm mapping -->
+   <mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
+      name="jboss.security:service=JaasSecurityManager">
+      <!-- A flag which indicates whether the SecurityAssociation server mode
+      is set on service creation. This is true by default since the
+      SecurityAssociation should be thread local for multi-threaded server
+      operation.
+      -->
+      <attribute name="ServerMode">true</attribute>
+      <attribute name="SecurityManagerClassName">org.jboss.security.plugins.JaasSecurityManager</attribute>
+      <attribute name="DefaultUnauthenticatedPrincipal">anonymous</attribute>
+      <!-- DefaultCacheTimeout: Specifies the default timed cache policy timeout
+      in seconds.
+      If you want to disable caching of security credentials, set this to 0 to
+      force authentication to occur every time. This has no affect if the
+      AuthenticationCacheJndiName has been changed from the default value.
+      -->
+      <attribute name="DefaultCacheTimeout">1800</attribute>
+      <!-- DefaultCacheResolution: Specifies the default timed cache policy
+      resolution in seconds. This controls the interval at which the cache
+      current timestamp is updated and should be less than the DefaultCacheTimeout
+      in order for the timeout to be meaningful. This has no affect if the
+      AuthenticationCacheJndiName has been changed from the default value.
+      -->
+      <attribute name="DefaultCacheResolution">60</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Transactions                                                         -->
+   <!-- ==================================================================== -->
+   <!-- The configurable Xid factory.  For use with Oracle, set pad to true -->
+   <mbean code="org.jboss.tm.XidFactory"
+      name="jboss:service=XidFactory">
+      <!--attribute name="Pad">true</attribute-->
+   </mbean>
+
+   <!--
+      | The fast in-memory transaction manager.
+    -->
+   <mbean code="org.jboss.tm.TransactionManagerService"
+      name="jboss:service=TransactionManager"
+      xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml">
+      <attribute name="TransactionTimeout">300</attribute>
+      <!-- set to false to disable transaction demarcation over IIOP -->
+      <attribute name="GlobalIdsEnabled">true</attribute>
+      <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
+
+      <!-- Transaction Integrity Checking -->
+      <!-- Force a rollback if another thread is associated with the transaction at commit -->
+      <!--depends optional-attribute-name="TransactionIntegrityFactory" 
+               proxy-type="org.jboss.tm.integrity.TransactionIntegrityFactory">
+         <mbean code="org.jboss.tm.integrity.FailIncompleteTransaction"
+                name="jboss:service=TransactionManager,plugin=TransactionIntegrity"/>
+      </depends-->
+   </mbean>
+   <!--
+      | UserTransaction support.
+    -->
+   <mbean code="org.jboss.tm.usertx.server.ClientUserTransactionService"
+      name="jboss:service=ClientUserTransaction"
+      xmbean-dd="resource:xmdesc/ClientUserTransaction-xmbean.xml">
+      <depends>
+         <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
+            name="jboss:service=proxyFactory,target=ClientUserTransactionFactory">
+            <attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
+            <attribute name="TargetName">jboss:service=ClientUserTransaction</attribute>
+            <attribute name="JndiName">UserTransactionSessionFactory</attribute>
+            <attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory</attribute>
+            <attribute name="ClientInterceptors">
+               <interceptors>
+                  <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+                  <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+               </interceptors>
+            </attribute>
+            <depends>jboss:service=invoker,type=jrmp</depends>
+         </mbean>
+      </depends>
+      <depends optional-attribute-name="TxProxyName">
+         <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
+            name="jboss:service=proxyFactory,target=ClientUserTransaction">
+            <attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
+            <attribute name="TargetName">jboss:service=ClientUserTransaction</attribute>
+            <attribute name="JndiName"></attribute>
+            <attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSession</attribute>
+            <attribute name="ClientInterceptors">
+               <interceptors>
+                  <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+                  <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+               </interceptors>
+            </attribute>
+            <depends>jboss:service=invoker,type=jrmp</depends>
+         </mbean>
+      </depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Invokers to the JMX node                                             -->
+   <!-- ==================================================================== -->
+
+   <!-- RMI/JRMP invoker -->
+   <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
+      name="jboss:service=invoker,type=jrmp">
+      <attribute name="RMIObjectPort">4444</attribute>
+      <attribute name="ServerAddress">${jboss.bind.address}</attribute>
+      <!--
+      <attribute name="RMIClientSocketFactory">custom</attribute>
+      <attribute name="RMIServerSocketFactory">custom</attribute>
+      <attribute name="RMIServerSocketAddr">custom</attribute>
+      <attribute name="SecurityDomain">ssl-domain-name</attribute>
+      -->
+      <depends>jboss:service=TransactionManager</depends>
+   </mbean>
+
+   <mbean code="org.jboss.invocation.local.LocalInvoker"
+      name="jboss:service=invoker,type=local">
+
+      <depends>jboss:service=TransactionManager</depends>
+   </mbean>
+
+   <mbean code="org.jboss.invocation.pooled.server.PooledInvoker"
+      name="jboss:service=invoker,type=pooled">
+      <attribute name="NumAcceptThreads">1</attribute>
+      <attribute name="MaxPoolSize">300</attribute>
+      <attribute name="ClientMaxPoolSize">300</attribute>
+      <attribute name="SocketTimeout">60000</attribute>
+      <attribute name="ServerBindAddress">${jboss.bind.address}</attribute>
+      <attribute name="ServerBindPort">4445</attribute>
+      <attribute name="ClientConnectAddress">${jboss.bind.address}</attribute>
+      <attribute name="ClientConnectPort">0</attribute>
+      <attribute name="ClientRetryCount">1</attribute>
+      <attribute name="EnableTcpNoDelay">false</attribute>
+
+      <!-- Customized socket factory attributes
+      <attribute name="ClientSocketFactoryName">custom.client.factory</attribute>
+      <attribute name="ServerSocketFactoryName">custom.server.factory</attribute>
+      <attribute name="SslDomain">java:/jaas/pooledInvoker</attribute>
+      -->
+      <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Monitoring and Management                                            -->
+   <!-- ==================================================================== -->
+
+   <!-- Uncomment to enable JMX monitoring of the bean cache
+   <mbean code="org.jboss.monitor.BeanCacheMonitor"
+          name="jboss.monitor:name=BeanCacheMonitor"/>
+   -->
+
+   <!-- Uncomment to enable JMX monitoring of the entity bean locking
+   <mbean code="org.jboss.monitor.EntityLockMonitor"
+          name="jboss.monitor:name=EntityLockMonitor"/>
+   -->
+
+   <!-- ==================================================================== -->
+   <!-- An MBean that is a registry for JDBC type-mapping metadata           -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary"
+      name="jboss.jdbc:service=metadata"/>
+
+   <!-- ==================================================================== -->
+   <!-- Deployment Scanning                                                  -->
+   <!-- ==================================================================== -->
+
+   <!-- An mbean for hot deployment/undeployment of archives.
+   -->
+   <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
+      name="jboss.deployment:type=DeploymentScanner,flavor=URL">
+
+      <!-- Uncomment (and comment/remove version below) to enable usage of the
+        DeploymentCache
+      <depends optional-attribute-name="Deployer">jboss.deployment:type=DeploymentCache</depends>
+      -->
+      <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
+
+      <!-- The URLComparator can be used to specify a deployment ordering
+           for deployments found in a scanned directory.  The class specified
+           must be an implementation of java.util.Comparator, it must be able
+           to compare two URL objects, and it must have a no-arg constructor.
+           Two deployment comparators are shipped with JBoss:
+             - org.jboss.deployment.DeploymentSorter
+               Sorts by file extension, as follows:
+                 "sar", "service.xml", "rar", "jar", "war", "wsr", "ear", "zip",
+                 "*"
+             - org.jboss.deployment.scanner.PrefixDeploymentSorter
+               If the name portion of the url begins with 1 or more digits, those
+               digits are converted to an int (ignoring leading zeroes), and
+               files are deployed in that order.  Files that do not start with
+               any digits will be deployed first, and they will be sorted by
+               extension as above with DeploymentSorter.
+      -->
+      <attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
+      
+      <!--
+      <attribute name="URLComparator">org.jboss.deployment.scanner.PrefixDeploymentSorter</attribute>
+      -->
+
+      <!-- The FilterInstance specifies a URLLister.URLFilter for scanned
+           directories. This DeploymentFilter is initialized with the given
+           prefixes, suffixes and matches that define which URLs should be
+           ignored.
+      -->
+      <attribute name="FilterInstance"
+         attributeClass="org.jboss.deployment.scanner.DeploymentFilter"
+         serialDataType="javaBean">
+         <!-- Files starting with theses strings are ignored -->
+         <property name="prefixes">#,%,\,,.,_$</property>
+         <!-- Files ending with theses strings are ignored -->
+         <property name="suffixes">#,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh</property>
+         <!-- Files matching with theses strings are ignored -->
+         <property name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property>
+      </attribute>
+
+      <!-- Frequency in milliseconds to rescan the URLs for changes -->
+      <attribute name="ScanPeriod">5000</attribute>
+      
+      <!-- A flag to disable the scans -->
+      <attribute name="ScanEnabled">true</attribute>
+
+      <!-- URLs are comma separated and resolve relative to the server home URL
+         unless the given path is absolute. If the URL ends in "/" it is
+         considered a collection and scanned, otherwise it is simply deployed;
+         this follows RFC2518 convention and allows discrimination between
+         collections and directories that are simply unpacked archives.
+
+         URLs may be local (file:) or remote (http:). Scanning is supported
+         for remote URLs but unpacked deployment units are not.
+
+         Example URLs:
+            deploy/
+                 scans ${jboss.server.url}/deploy/, which is local or remote
+                 depending on the URL used to boot the server
+            ${jboss.server.home}/deploy/
+                 scans ${jboss.server.home)/deploy, which is always local
+            file:/var/opt/myapp.ear
+                 deploy myapp.ear from a local location
+            file:/var/opt/apps/
+                 scans the specified directory
+            http://www.test.com/netboot/myapp.ear
+                 deploys myapp.ear from a remote location
+            http://www.test.com/netboot/apps/
+                 scans the specified WebDAV location
+       -->
+      <attribute name="URLs">
+         deploy/
+      </attribute>
+
+      <!-- Indicates if the scanner should recursively scan directories that
+      contain no "." in their names. This can be used to group applications
+      and services that must be deployed and that have the same
+      logical function in the same directory i.e.
+        deploy/JMX/
+        deploy/JMS/
+        ...
+      -->
+      <attribute name="RecursiveSearch">True</attribute>
+
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/sybase-jdbc2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/sybase-jdbc2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/sybase-jdbc2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: sybase-jdbc2-service.xml 61575 2007-03-22 14:35:46Z adrian at jboss.org $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Persistence and caching using Sybase                                 -->
+  <!-- Based on configuration provided by amresh.deshmukh at drkw.com       -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | The destination manager is the core service within JBossMQ
+  -->
+  <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
+    <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
+    <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
+    <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
+  </mbean>
+
+  <!--
+     | The MessageCache decides where to put JBossMQ message that
+     | are sitting around waiting to be consumed by a client.
+     |
+     | The memory marks are in Megabytes.  Once the JVM memory usage hits
+     | the high memory mark, the old messages in the cache will start getting
+     | stored in the DataDirectory.  As memory usage gets closer to the
+     | Max memory mark, the amount of message kept in the memory cache aproaches 0.
+   -->
+  <mbean code="org.jboss.mq.server.MessageCache"
+	 name="jboss.mq:service=MessageCache">
+    <attribute name="HighMemoryMark">50</attribute>
+    <attribute name="MaxMemoryMark">60</attribute>
+    <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
+  </mbean>
+
+  <!-- 
+     | The jdbc2 PersistenceManager is the new improved JDBC implementation.
+     | This implementation allows you to control how messages are stored in 
+     | the database.
+     |
+     | Take care that the selected blob column type in jms_messages can store
+     | all message data. Some databases (e.g. mySQL) offer blob types with
+     | different maximum capacity (e.g. mySQL-type BLOB=64K, LONGBLOB=2G).
+     |
+     | If you encouter problems with the configured BLOB_TYPE try a different
+     | setting. Valid settings are OBJECT_BLOB, BINARYSTREAM_BLOB and BYTES_BLOB.
+   -->
+    <mbean code="org.jboss.mq.pm.jdbc2.PersistenceManager"
+  	 name="jboss.mq:service=PersistenceManager">
+      <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=jdbc/SybaseDB</depends>
+      <attribute name="SqlProperties">
+      BLOB_TYPE=BYTES_BLOB
+      INSERT_TX = INSERT INTO dbo.JMS_TRANSACTIONS (TXID) values(?)
+      INSERT_MESSAGE = INSERT INTO dbo.JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+      SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM dbo.JMS_TRANSACTIONS
+      SELECT_MAX_TX = SELECT MAX(X.TXID) FROM (SELECT MAX(TXID) AS TXID FROM dbo.JMS_TRANSACTIONS UNION SELECT MAX(TXID) AS TXID FROM dbo.JMS_MESSAGES) X
+      DELETE_ALL_TX = DELETE FROM dbo.JMS_TRANSACTIONS
+      SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM dbo.JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE_KEYS_IN_DEST = SELECT MESSAGEID FROM dbo.JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM dbo.JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      MARK_MESSAGE = UPDATE dbo.JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MESSAGE = UPDATE dbo.JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE dbo.JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE dbo.JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM dbo.JMS_MESSAGES WHERE TXID IN (SELECT TXID FROM dbo.JMS_TRANSACTIONS) AND TXOP=?
+      DELETE_TX = DELETE FROM dbo.JMS_TRANSACTIONS WHERE TXID = ?
+      DELETE_MARKED_MESSAGES = DELETE FROM dbo.JMS_MESSAGES WHERE TXID=? AND TXOP=?
+      DELETE_TEMPORARY_MESSAGES = DELETE FROM dbo.JMS_MESSAGES WHERE TXOP='T'
+      DELETE_MESSAGE = DELETE FROM dbo.JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      CREATE_MESSAGE_TABLE = CREATE TABLE dbo.JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \
+         DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER NULL, TXOP CHAR(1) NOT NULL, \
+         MESSAGEBLOB IMAGE NOT NULL, PRIMARY KEY (MESSAGEID, DESTINATION) ) LOCK DATAROWS
+      CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX dbo.JMS_MESSAGES_TXOP_TXID ON dbo.JMS_MESSAGES (TXOP, TXID)
+      CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX dbo.JMS_MESSAGES_DESTINATION ON dbo.JMS_MESSAGES (DESTINATION)
+      CREATE_TX_TABLE = CREATE TABLE dbo.JMS_TRANSACTIONS ( TXID INTEGER NOT NULL, PRIMARY KEY (TXID) ) \
+         LOCK DATAROWS
+      CREATE_TABLES_ON_STARTUP = TRUE
+      </attribute>
+    <!-- Uncomment to override the transaction timeout for recovery per queue/subscription, in seconds -->
+    <!--attribute name="RecoveryTimeout">0</attribute-->
+    <!-- The number of blobs to load at once during message recovery -->
+    <attribute name="RecoverMessagesChunk">0</attribute>
+    </mbean> 
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/uil-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/uil-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jms/uil-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: uil-service.xml 19392 2004-03-05 12:35:23Z ejort $ -->
+
+<server>
+
+  <!-- Deprecated use UIL2 -->
+
+  <mbean code="org.jboss.mq.il.uil.UILServerILService"
+	 name="jboss.mq:service=InvocationLayer,type=UIL">
+    <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
+    <attribute name="ConnectionFactoryJNDIRef">UILConnectionFactory</attribute>
+    <attribute name="XAConnectionFactoryJNDIRef">UILXAConnectionFactory</attribute>
+    <attribute name="ServerBindPort">8091</attribute>
+    <!-- FIXME: ping disabled because of deadlock problem -->
+    <attribute name="PingPeriod">0</attribute>
+<!--    <attribute name="PingPeriod">60000</attribute> -->
+    <attribute name="EnableTcpNoDelay">true</attribute>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/ejb-management.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/ejb-management.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/deploy/default-ds-monitor-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/deploy/default-ds-monitor-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/deploy/default-ds-monitor-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server PUBLIC
+    "-//JBoss//DTD MBean Service 4.0//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd">
+
+<!-- $Id: default-ds-monitor-service.xml 34694 2005-08-07 12:33:37Z dimitris $ -->
+
+<!--============================================================================
+ | DefaultDS LoggingMonitor Service Configuration
+ |
+ | An example configuration of the LoggingMonitor service to monitor the JBoss
+ | default datasource.
+ |===========================================================================-->
+<server>
+
+   <mbean code="org.jboss.services.loggingmonitor.LoggingMonitor"
+          name="jboss.monitor:type=LoggingMonitor,name=DefaultDSMonitor">
+
+      <!--
+       | The name of the file to which monitoring information will be logged.
+       -->
+      <attribute name="Filename">${jboss.server.home.dir}/log/default-ds.log</attribute>
+
+      <!--
+       | Whether or not this monitor's log file should have information appended
+       | to it, if it already exists.  This attribute is *not* required, and the
+       | default value is true.
+       -->
+      <attribute name="AppendToFile">false</attribute>
+
+      <!--
+       | Controls the org.apache.log4j.PatternLayout for logging entries.
+       | The default pattern is "%d %-5p [%c] %m%n".
+      <attribute name="PatternLayout">%d %-5p [%c] %m%n</attribute>
+       -->
+       
+      <!--
+       | The rollover period for this monitor's log file.  Valid values are
+       | MONTH, WEEK, DAY, HALFDAY, HOUR, MINUTE (case insensitive).  This
+       | attributes is *not* required, and the default value is DAY.
+       -->
+      <attribute name="RolloverPeriod">DAY</attribute>
+
+      <!--
+       | The period to delay in between monitoring snapshots (in milliseconds).
+       -->
+      <attribute name="MonitorPeriod">5000</attribute>
+      
+      <!--
+       | The list of objects (MBeans) and their corresponding attributes to be
+       | monitored.
+       |
+       | This parameter is specified as a XML fragment as follows:
+       |
+       | <attribute name="MonitoredObjects">
+       |    <configuration>
+       |       <monitoredmbean name="[object name]"
+       |                       logger="[logger name]">
+       |          <attribute>[an attribute name]</attribute>
+       |          <attribute>[an attribute name]</attribute>
+       |          ...
+       |       </monitoredmbean>
+       |    </configuration>
+       | </attribute>
+       -->
+       <attribute name="MonitoredObjects">
+          <configuration>
+             <monitoredmbean name="jboss.jca:name=DefaultDS,service=ManagedConnectionPool"
+                             logger="jca.defaultds">
+                <attribute>InUseConnectionCount</attribute>
+                <attribute>AvailableConnectionCount</attribute>
+                <attribute>ConnectionCreatedCount</attribute>
+                <attribute>ConnectionDestroyedCount</attribute>
+                <attribute>MaxConnectionsInUseCount</attribute>
+             </monitoredmbean>
+          </configuration>
+       </attribute>
+
+      <depends>jboss.jca:name=DefaultDS,service=ManagedConnectionPool</depends>
+   </mbean>
+   
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/deploy/jvm-monitor-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/deploy/jvm-monitor-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/deploy/jvm-monitor-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server PUBLIC
+    "-//JBoss//DTD MBean Service 4.0//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd">
+
+<!-- $Id: jvm-monitor-service.xml 34694 2005-08-07 12:33:37Z dimitris $ -->
+
+<!--============================================================================
+ | JVM LoggingMonitor Service Configuration
+ |
+ | An example configuration of the LoggingMonitor service to monitor JVM thread
+ | and heap useage information.
+ |===========================================================================-->
+<server>
+
+   <mbean code="org.jboss.services.loggingmonitor.LoggingMonitor"
+          name="jboss.monitor:type=LoggingMonitor,name=JVMMonitor">
+
+      <!--
+       | The name of the file to which monitoring information will be logged.
+       -->
+      <attribute name="Filename">${jboss.server.home.dir}/log/jvm.log</attribute>
+
+      <!--
+       | Whether or not this monitor's log file should have information appended
+       | to it, if it already exists.  This attribute is *not* required, and the
+       | default value is true.
+       -->
+      <attribute name="AppendToFile">false</attribute>
+
+      <!--
+       | Controls the org.apache.log4j.PatternLayout for logging entries.
+       | The default pattern is "%d %-5p [%c] %m%n".
+      <attribute name="PatternLayout">%d %-5p [%c] %m%n</attribute>
+       -->
+      
+      <!--
+       | The rollover period for this monitor's log file.  Valid values are
+       | MONTH, WEEK, DAY, HALFDAY, HOUR, MINUTE (case insensitive).  This
+       | attributes is *not* required, and the default value is DAY.
+       -->
+      <attribute name="RolloverPeriod">DAY</attribute>
+
+      <!--
+       | The period to delay in between monitoring snapshots (in milliseconds).
+       -->
+      <attribute name="MonitorPeriod">10000</attribute>
+      
+      <!--
+       | The list of objects (MBeans) and their corresponding attributes to be
+       | monitored.
+       |
+       | This parameter is specified as a XML fragment as follows:
+       |
+       | <attribute name="MonitoredObjects">
+       |    <configuration>
+       |       <monitoredmbean name="[object name]"
+       |                       logger="[logger name]">
+       |          <attribute>[an attribute name]</attribute>
+       |          <attribute>[an attribute name]</attribute>
+       |          ...
+       |       </monitoredmbean>
+       |    </configuration>
+       | </attribute>
+       -->
+       <attribute name="MonitoredObjects">
+          <configuration>
+             <monitoredmbean name="jboss.system:type=ServerInfo" logger="jvm.threads">
+                <attribute>ActiveThreadCount</attribute>
+             </monitoredmbean>
+             <monitoredmbean name="jboss.system:type=ServerInfo" logger="jvm.heap">
+                <attribute>FreeMemory</attribute>
+                <attribute>TotalMemory</attribute>
+                <attribute>MaxMemory</attribute>
+             </monitoredmbean>
+          </configuration>
+       </attribute>
+
+      <!--
+       | Since this logging monitor only depends upon the ServerInfo MBean, a
+       | non-service MBean, no dependancies can be specified.
+       -->
+      <!-- <depends>jboss.system:type=ServerInfo</depends> -->
+   </mbean>
+   
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/lib/logging-monitor.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/lib/logging-monitor.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/logging-monitor/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,92 @@
+JBoss LoggingMonitor Service
+----------------------------
+
+--- $Id: readme.txt 34694 2005-08-07 12:33:37Z dimitris $ ----
+
+INTRODUCTION
+
+The JBoss LoggingMonitor service is similar in purpose to the other monitoring
+services provided as a part of JBossAS.  The JBoss LoggingMonitor service
+monitor's the specified attributes of a MBean periodically and logs their value
+to the filename specified.  This file can then be used for debugging and/or
+charting JBoss services information based upon your specific use case(s).
+
+The JBoss LoggingMonitor service graduated succesfully from the
+"JBoss World Of MBeans", to the jboss codebase. You can read more
+about this here: http://www.jboss.org/wiki/Wiki.jsp?page=JBossWorldOfMBeans.
+
+Additional information about the service maybe found in the JBoss wiki:
+http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossLoggingMonitor
+
+Questions regarding the use of the JBoss LoggingMonitor service should be
+directed to the "Management, JMX/JBoss" user forum.
+
+INSTALLATION/USE
+
+Place the ./lib/logging-monitor.jar file in the lib directory of your JBoss server
+configuration, and hot-deploy your customized *-service.xml file to your server
+configuration's deploy directory.  Multiple *-service.xml files can be deployed
+simultaneously utilizing this MBean.  Examples of various *-service.xml files
+can be found in the ./deploy subdirectory.
+
+*-SERVICE.XML FILE FORMAT
+
+The JBoss LoggingMonitor service MBean's configuration file format is the same
+as most JBoss MBean services.  Its DTD is specified at
+http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd.
+
+The following is a description of the attributes and their possible values:
+
+Attribute         Description
+---------         -----------
+
+Filename          The name of the file to which monitoring information will be
+                  logged.  This attribute can not be set to null or the be
+                  empty.
+
+AppendToFile      Whether or not a monitor's log file should have information
+                  appended to it, if it already exists.  This attribute is *not*
+                  required, and the default value is "true".
+
+PatternLayout     Controls the org.apache.log4j.PatternLayout for logging entries.
+                  The default pattern is "%d %-5p [%c] %m%n".
+
+RolloverPeriod    The rollover period for the monitor's log file.  Valid values
+                  are MONTH, WEEK, DAY, HALFDAY, HOUR, and MINUTE (case
+                  insensitive).  This attribute is *not* required, and the
+                  default value is DAY.
+
+MonitoredObjects  The list of objects (MBeans) and their corresponding
+                  attributes to be monitored.
+
+                  This parameter is specified as a XML fragment as follows:
+
+                  <configuration>
+                     <monitoredmbean name="[object name]"
+                                     logger="[logger name]">
+                        <attribute>[attribute name]</attribute>
+                        <attribute>[attribute name]</attribute>
+                        ...
+                     </monitoredmbean>
+                     ...
+                  </configuration>
+
+                  [object name] is the name of the MBean to be monitored.
+
+                  [logger name] the name of the logger to be used when logging
+                                attribute information.
+
+                  [attribute name] the name of an attribute to be logged.
+
+                  As the XML fragment indicates, any number of MBeans can be
+                  monitored, and any number of attributes for a given MBean can
+                  be specified.
+
+MonitorPeriod     The frequency with which to log information (in milliseconds).
+                  This attribute must have a non-zero, positive value.
+
+AUTHORS
+
+James Wilson, original code
+Dimitris Andreadis, integration into the jboss codebase                  
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+Specification-Title: JBoss
+Specification-Version: 4.2.2.GA
+Specification-Vendor: JBoss (http://www.jboss.org/)
+Implementation-Title: JBoss [Trinity]
+Implementation-URL: http://www.jboss.org/
+Implementation-Version: 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=20
+ 0710221139)
+Implementation-Vendor: JBoss Inc.
+Implementation-Vendor-Id: http://www.jboss.org/
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-service.xml 23704 2004-09-14 20:29:40Z andd $ -->
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Example Service using "external" XMBean persistence                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+   <mbean code="org.jboss.jmx.examples.persistence.PersistentServiceExample"
+          name="jboss.jmx:service=PersistentServiceExample"
+          xmbean-dd="">
+
+      <!-- Inline xmbean descriptor
+      
+      This is a normal XMBean descriptor, the only different being the
+      specification of the DelegatingPersistenceManager as a persistence-manager.
+      
+      This persistence manager will invoke a factory operations
+      (by default apmCreate()) on an external MBean service 
+      (by default jboss:service=AttributePersistenceService),
+      in order to get a reference to an AttributePersistenceManager
+      implementation.
+      
+      The actual AttributePersistenceManager implementation is instantiated
+      by the AttributePersistenceService and shared by many
+      DelegatingPersistenceManagers. By default an XMLAttributePersistenceManager
+      is instantiated, but other implementations are possible.
+      
+      The external AttributePersistenceService can be use to manage at runtime
+      the AttributePersistenceManager implementation, i.e. list persisted ids,
+      remove persisted images, or specify a particular 'version-tag' for all
+      saved information.
+      
+      It is important that the external AttributePersistenceService is
+      operational when the XMBean that uses it is instantiated. This will
+      normally not be a problem since the AttributePersistenceService is most
+      probably started by conf/jboss-service.xml
+      -->
+      <xmbean>
+         <description>PersistentServiceExample</description>
+         <descriptors>
+            <persistence persistPolicy="OnUpdate"/>
+                    <!-- persistLocation is ignored
+                    
+                         persistName="PersistentServiceExample"
+                         
+                         an alternative persistent id may be specified with
+                         persistName; by default the ObjectName will used -->
+            
+            <!-- THIS IS IMPORTANT -->             
+            <persistence-manager value="org.jboss.mx.persistence.DelegatingPersistenceManager"/>
+             
+            <!-- May use a different external AttributePersistenceService; default should be ok.           
+            <descriptor name="attribute-persistence-service" value="jboss:service=AttributePersistenceService"/>
+            <descriptor name="attribute-persistence-operation" value="apmCreate"/>
+            -->
+         </descriptors>
+         <class>org.jboss.jmx.examples.persistence.PersistentServiceExample</class>
+         
+         <!-- Attributes -->
+         
+         <attribute access="read-write" getMethod="getSomeBigDecimal" setMethod="setSomeBigDecimal">
+            <name>SomeBigDecimal</name>
+            <type>java.math.BigDecimal</type>
+         </attribute>
+         
+         <attribute access="read-write" getMethod="isSomeBoolean" setMethod="setSomeBoolean">
+            <name>SomeBoolean</name>
+            <type>boolean</type>
+         </attribute>
+         
+         <!-- This is an XML element -->
+         <attribute access="read-write" getMethod="getSomeElement" setMethod="setSomeElement">
+            <name>SomeElement</name>
+            <type>org.w3c.dom.Element</type>
+         </attribute>
+         
+         <!-- We can specify that an attribute is never persisted
+              If we remove the "persistPolicy" - "Never" descriptor we'll
+              probably get a warning since the java.io.FileDescriptor 
+              cannot be persisted. Try it! -->
+         <attribute access="read-write" getMethod="getSomeFileDescriptor" setMethod="setSomeFileDescriptor">
+            <name>SomeFileDescriptor</name>
+            <type>java.io.FileDescriptor</type>
+            <descriptors>
+               <descriptor name="persistPolicy" value="Never"/>
+            </descriptors>           
+         </attribute>
+         
+         <!-- primitive types (e.g. int) are boxed during persistence 
+              (e.g java.lang.Integer) -->
+         <attribute access="read-write" getMethod="getSomeInt" setMethod="setSomeInt">
+            <name>SomeInt</name>
+            <type>int</type>
+         </attribute>
+         
+         <attribute access="read-write" getMethod="getSomeInteger" setMethod="setSomeInteger">
+            <name>SomeInteger</name>
+            <type>java.lang.Integer</type>
+         </attribute>
+   
+         <attribute access="read-write" getMethod="getSomeString" setMethod="setSomeString">
+            <name>SomeString</name>
+            <type>java.lang.String</type>
+         </attribute>
+         
+         <attribute access="read-write" getMethod="getSomeTimestamp" setMethod="setSomeTimestamp">
+            <name>SomeTimestamp</name>
+            <type>java.sql.Timestamp</type>
+            <descriptors>
+               <descriptor name="currencyTimeLimit" value="10"/>
+            </descriptors>                
+         </attribute>
+         
+         <attribute access="read-write" getMethod="getSomeNullObject" setMethod="setSomeNullObject">
+            <name>SomeNullObject</name>
+            <type>java.lang.Object</type>
+         </attribute>
+         
+         <!-- Again, although the java.util.ArrayList is Serializable,
+              it cannot be persisted in this case because it contains
+              non-serializable content -->
+         <attribute access="read-write" getMethod="getSomeArrayList" setMethod="setSomeArrayList">
+            <name>SomeArrayList</name>
+            <type>java.util.ArrayList</type>
+            <descriptors>
+               <descriptor name="persistPolicy" value="Never"/>
+            </descriptors>               
+         </attribute>
+         
+      </xmbean>
+      <!-- XMBean Descriptor END -->
+   
+      <!-- Normal Attribute Overrides Here, for Example: -->
+      <attribute name="SomeElement">
+        <some-message>Welcome to the Athens 2004, Olympic Games!</some-message>
+      </attribute>
+      
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/org/jboss/jmx/examples/persistence/PersistentServiceExample.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/org/jboss/jmx/examples/persistence/PersistentServiceExample.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/org/jboss/jmx/examples/persistence/PersistentServiceExampleMBean.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/jmx/persistent-service.sar/org/jboss/jmx/examples/persistence/PersistentServiceExampleMBean.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/netboot/netboot.war
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/netboot/netboot.war
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/build.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/build.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/build.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="install" name="installer">
+
+  <property name="server.default" value="../../../../server/default"/>
+  
+  <target name="install" 
+    description="Installs the DeploymentService to the default configuration">
+
+    <copy todir="${server.default}/conf">
+      <fileset dir=".">
+        <include name="templates/**"/>
+      </fileset>
+    </copy>
+    
+    <mkdir dir="${server.default}/deploy/deployment-service.sar"/>
+    <unjar src="deployment-service.sar"
+       dest="${server.default}/deploy/deployment-service.sar"/>
+    
+  </target>
+  
+  <target name="clean"
+    description="Cleans up the DeploymentService from the default configuration">
+
+    <delete dir="${server.default}/deploy/deployment-service.sar"/>    
+    <delete dir="${server.default}/conf/templates"/>
+    
+  </target>
+  
+</project>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/deployment-service.sar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/deployment-service.sar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+
+ant install - installs the DeploymentService
+ant clean   - uninstalls the DeploymentService 
+
+For more info, see:
+http://www.jboss.org/wiki/Wiki.jsp?page=DeploymentService
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/schema/jboss-template-config.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/schema/jboss-template-config.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/schema/jboss-template-config.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   XML Schema used by DeploymentManager
+   when loading configuration templates
+   
+   $Revision: 25695 $
+   
+   Authors
+      <a href="mailto:dimitris at jboss.org">Dimitris Andreadis</a>
+-->
+<xsd:schema
+   targetNamespace="http://www.jboss.org/" 
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+   xmlns="http://www.w3.org/2001/XMLSchema">
+
+   <xsd:annotation>
+      <xsd:documentation xml:lang="en">
+         XML Schema used by DeploymentManager
+         when loading configuration templates.
+      </xsd:documentation>
+   </xsd:annotation>
+
+   <xsd:element name="template-config">
+      <xsd:complexType>
+        <xsd:sequence>
+          
+          <xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+
+          <xsd:element name="property-list" minOccurs="0" maxOccurs="1">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="property" minOccurs="1" maxOccurs="unbounded">
+                  <xsd:complexType>
+                    <xsd:sequence>                  
+                      <xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                      <xsd:element name="default-value" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                    </xsd:sequence>
+                    <xsd:attribute name="name" type="string" use="required"/>
+                    <xsd:attribute name="type" type="string" use="optional" default="java.lang.String"/>
+                    <xsd:attribute name="optional" type="string" use="optional"/>                    
+                  </xsd:complexType>
+                </xsd:element>
+              </xsd:sequence>
+            </xsd:complexType>
+          </xsd:element>
+
+          <xsd:element name="template-list" minOccurs="0" maxOccurs="1">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="template" minOccurs="1" maxOccurs="unbounded">
+                  <xsd:complexType>
+                    <xsd:attribute name="input" type="string" use="required"/>
+                    <xsd:attribute name="output" type="string" use="required"/>
+                  </xsd:complexType>
+                </xsd:element>
+              </xsd:sequence>
+            </xsd:complexType>
+          </xsd:element>
+
+        </xsd:sequence>                  
+        <xsd:attribute name="template"  type="string" use="optional"/>
+        <xsd:attribute name="copydir"   type="string" use="optional"/>
+        <xsd:attribute name="extension" type="string" use="optional"/>          
+      </xsd:complexType>
+      
+   </xsd:element>
+
+</xsd:schema>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/VM_global_library.vm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/VM_global_library.vm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/VM_global_library.vm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+## ---------------------------------------------------------
+## Velocity macros to be shared by all DeploymentService
+## velocity templates.
+##
+## $Id: VM_global_library.vm 25695 2004-11-09 18:52:46Z andd $
+## ---------------------------------------------------------
+
+## --------------------------------------------------------
+## ifDefReplace
+## 
+## If $substr is contained in $string then produce $replace
+##
+## $string and $substr must be Strings
+## --------------------------------------------------------
+#macro(ifDefReplace $string $substr $replace)
+#if($string.indexOf($substr) >= 0)
+$replace#end
+#end
+
+## --------------------------------------------------------
+## firstToken
+##
+## If $delim appears in $string, produce all characters
+## up to $delim, else, produce $string
+##
+## $string and $delim must be Strings
+## --------------------------------------------------------
+#macro(firstToken $string $delim)
+#if($string.indexOf($delim))
+$string.substring(0, $string.indexOf($delim))#else
+$string#end
+#end

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/jms-queue/template-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/jms-queue/template-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/jms-queue/template-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Example template configuration that produces a JMS-Queue
+  deployment descriptor.
+  
+  Documentation for the deployment service can be found at: 
+  http://www.jboss.org/wiki/Wiki.jsp?page=DeploymentService
+-->
+<template-config template="vm/jms-queue.xml.vm" extension="-service.xml">
+
+  <property-list>
+    <!-- if type not specified, java.lang.String is assumed -->
+    <!-- a value must be supplied at runtime, or an exception will be thrown -->
+    <property name="QueueName"/>
+    
+    <!-- if a value is not supplied at runtime, the default will be used -->
+    <property name="DestinationManager" type="javax.management.ObjectName">
+      <default-value>jboss.mq:service=DestinationManager</default-value>
+    </property>
+    
+    <!-- mark a property with optional=true so that a value is not required -->
+    <!-- any specified default will be ignored in this case -->
+    <property name="SecurityManager" type="javax.management.ObjectName" optional="true">
+      <default-value>jboss.mq:service=SecurityManager</default-value>
+    </property>
+    
+    <!-- arrays and generally any valid java/user class is permitted -->
+    <property name="SecurityRoles" type="[Ljava.lang.String;" optional="true"/>
+  </property-list>
+  
+</template-config>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/jms-queue/vm/jms-queue.xml.vm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/jms-queue/vm/jms-queue.xml.vm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/jms-queue/vm/jms-queue.xml.vm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Automatically generated by DeploymentService
+  ===================================================================
+  QueueName          - $QueueName
+  DestinationManager - $DestinationManager
+  SecurityManager    - $SecurityManager
+  SecurityRoles      - $SecurityRoles   
+  ===================================================================
+-->
+<server>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=$QueueName">
+         
+    <depends optional-attribute-name="DestinationManager">$DestinationManager</depends>
+#if($SecurityManager)
+    <depends optional-attribute-name="SecurityManager">$SecurityManager</depends>
+#end
+#if($SecurityRoles)
+    <attribute name="SecurityConf">
+      <security>
+#foreach($role in $SecurityRoles)      
+        <role name="#firstToken($role ':')" #ifDefReplace($role "read" 'read="true"') #ifDefReplace($role "write" 'write="true"') #ifDefReplace($role "create" 'create="true"')/>
+#end        
+      </security>
+    </attribute>
+#end
+  </mbean>
+</server>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/local-tx-datasource/template-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/local-tx-datasource/template-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/local-tx-datasource/template-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Template configuration that produces a local-tx-datasource
+  deployment descriptor.
+  
+  $Id: template-config.xml 29103 2005-02-24 12:22:56Z andd $
+-->
+<template-config template="vm/local-tx-datasource.vm" extension="-ds.xml">
+
+   <property-list>
+      <property name="jndi-name" type="java.lang.String">
+         <description>The JNDI name under which the DataSource wrapper will be bound. Note that this name is relative to the "java:/" prefix unless use-java-context is false.</description>
+      </property>
+      
+      <property name="use-java-context" type="java.lang.Boolean" optional="true">
+         <description>Setting this to false will bind the DataSource into global jndi.</description>
+         <default-value>true</default-value>         
+      </property>
+      
+      <property name="connection-url" type="java.lang.String">
+         <description>The JDBC driver connection URL string.</description>
+      </property>
+      
+      <property name="driver-class" type="java.lang.String">
+         <description>The fully qualifed name of the JDBC driver class.</description>
+      </property>
+      
+      <property name="transaction-isolation" type="java.lang.String" optional="true">
+         <description>The java.sql.Connection transaction isolation level to use. The possible values are
+            TRANSACTION_READ_UNCOMMITTED
+            TRANSACTION_READ_COMMITTED
+            TRANSACTION_REPEATABLE_READ
+            TRANSACTION_SERIALIZABLE
+            TRANSACTION_NONE
+         </description>
+      </property>
+      
+      <property name="connection-properties" type="java.util.Hashtable" optional="true">
+         <description>Allows you to pass in arbitrary connection properties (string name/value pairs) to the Driver.connect(url, props) method.</description>
+      </property>
+      
+      <property name="user-name" type="java.lang.String" optional="true">
+         <description>Specifies the default username used when creating a new connection.</description>
+      </property>
+      
+      <property name="password" type="java.lang.String" optional="true">
+         <description>Specifies the default password used when creating a new connection.</description>
+      </property>
+
+      <!-- The two properties that follow are related -->
+      <property name="security-config" type="java.lang.String" optional="true">
+         <description>
+            The value of this property should be one of:
+               APPLICATION-MANAGED-SECURITY - Indicates that app supplied parameters (such as from getConnection(user, pw)) are used to distinguish connections in the pool. 
+               SECURITY-DOMAIN - Indicates that the Subject (from the security domain) is used to distinguish connections in the pool. 
+               SECURITY-DOMAIN-AND-APPLICATION - Indicates that either app suplied parameters or the Subject are used to distinguish connections in the pool.
+         </description>
+      </property>
+
+      <property name="security-domain" type="java.lang.String" optional="true">
+         <description>When the security-config is either SECURITY-DOMAIN or SECURITY-DOMAIN-AND-APPLICATION this property should define the name of the JAAS security manager handling authentication, which correlates to the login-config.xml descriptor, application-policy/name attribute.</description>
+      </property>
+      
+      <property name="min-pool-size" type="java.lang.Integer" optional="true">
+         <description>The min-pool-size element indicates the minimum number of connections a pool should hold. These are not created until a Subject is known from a request for a connection.</description>
+         <default-value>0</default-value>
+      </property>
+
+      <property name="max-pool-size" type="java.lang.Integer" optional="true">
+         <description>The max-pool-size element indicates the maximum number of connections for a pool. No more than MaxSize connections will be created in each sub-pool.</description>
+         <default-value>20</default-value>
+      </property>
+
+      <property name="blocking-timeout-millis" type="java.lang.Integer" optional="true">
+         <description>The blocking-timeout-millis element indicates the maximum time in milliseconds to block while waiting for a connection before throwing an exception. Note that this blocks only while waiting for a permit for a connection, and will never throw an exception if creating a new connection takes an inordinately long time.</description>
+         <default-value>30000</default-value>
+      </property>
+      
+      <property name="idle-timeout-minutes" type="java.lang.Integer" optional="true">
+         <description>The idle-timeout-minutes elements indicates the maximum time in minutes a connection may be idle before being closed.  The actual maximum time depends also on the IdleRemover scan time, which is 1/2 the smallest idle-timeout-minutes of any pool.</description>
+      </property>
+      
+      <property name="no-tx-separate-pools" type="java.lang.Boolean" optional="true">
+         <description>Indicates whether to use separete pools for connection retrieved in a transaction and those retrieved outside a transaction.</description>
+         <default-value>false</default-value>
+      </property>
+
+      <property name="new-connection-sql" type="java.lang.String" optional="true">
+         <description>Specify an SQL statement to execute whenever a connection is added to the connection pool.</description>
+      </property>
+      
+      <property name="check-valid-connection-sql" type="java.lang.String" optional="true">
+         <description>Specify an SQL statement to check validity of a pool connection. This may be called when managed connection is taken from pool for use.</description>
+      </property>
+      
+      <property name="valid-connection-checker-class-name" type="java.lang.String" optional="true">
+         <description>An org.jboss.resource.adapter.jdbc.ValidConnectionChecker that provides an SQLException isValidConnection(Connection e) method to validate if a connection is valid. An exception means the connection is destroyed. This overrides the check-valid-connection-sql when present.</description>
+      </property>
+
+      <property name="exception-sorter-class-name" type="java.lang.String" optional="true">
+         <description>An org.jboss.resource.adapter.jdbc.ExceptionSorter that provides a boolean isExceptionFatal(SQLException e) method to validate if an exception should be broadcast to all javax.resource.spi.ConnectionEventListener as a connectionErrorOccurred message.</description>
+      </property>
+      
+      <property name="track-statements" type="java.lang.String" optional="true">
+         <description>Specifies whether to check for unclosed statements when a connection is returned to the pool, and result sets are closed when a statement is closed/return to the prepared statement cache. Valid values are:
+            FALSE - do not track statements and results
+            TRUE - track statements and result sets and warn when they are not closed
+            NOWARN - track statements but do no warn about them being unclosed (the default)
+         </description>
+         <default-value>NOWARN</default-value>
+      </property>
+      
+      <property name="prepared-statement-cache-size" type="java.lang.Integer" optional="true">
+         <description>The number of prepared statements per connection in an LRU cache.</description>
+      </property>
+      
+      <property name="dependencies" type="[Ljavax.management.ObjectName;" optional="true">
+         <description>ObjectNames of services the connection manager depends on.</description>
+      </property>
+      
+      <property name="type-mapping" type="java.lang.String" optional="true">
+         <description>Datasource/connection factory type-mapping.</description>
+      </property>
+      
+  </property-list>
+  
+</template-config>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/local-tx-datasource/vm/local-tx-datasource.vm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/local-tx-datasource/vm/local-tx-datasource.vm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/local-tx-datasource/vm/local-tx-datasource.vm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ===================================================================
+  Generic local-tx-datasource configuration,
+  automatically generated by DeploymentService.
+##
+## author:  dimitris at jboss.org
+## version: $Revision: 29103 $
+  ===================================================================
+-->
+<datasources>
+   <local-tx-datasource>
+   
+      <!-- Where to bind the datasource, under the "java:/" prefix -->
+      <jndi-name>${jndi-name}</jndi-name>
+#if($helper.isDefined(${use-java-context}))
+      <!-- Setting this to false will bind the DataSource into global jndi -->
+      <use-java-context>${use-java-context}</use-java-context>
+#end   
+
+      <!-- The JDBC driver connection URL string -->
+      <connection-url>${connection-url}</connection-url>
+      <!-- The fully qualifed name of the JDBC driver class -->
+      <driver-class>${driver-class}</driver-class>
+#if(${transaction-isolation})    
+      <!-- The java.sql.Connection transaction isolation level to use -->
+      <transaction-isolation>${transaction-isolation}</transaction-isolation>
+#end    
+#if(${connection-properties})
+      <!-- Pass arbitrary connection properties to the Driver.connect(url, props) method -->
+#foreach($key in ${connection-properties.keySet()})
+      <connection-property name="$key">${connection-properties.get($key)}</connection-property>
+#end
+#end
+#if(${user-name})
+
+      <!-- Specifies the default username used when creating a new connection -->
+      <user-name>${user-name}</user-name>
+#end
+#if(${password})
+      <!-- Specifies the default password used when creating a new connection -->
+      <password>${password}</password>
+#end
+#if(${security-config})
+
+#if(${security-config.equalsIgnoreCase("APPLICATION-MANAGED-SECURITY")})
+      <!-- App supplied parameters (such as from getConnection(user, pw)) -->
+      <!-- are used to distinguish connections in the pool -->
+      <application-managed-security/>
+#elseif(${security-config.equalsIgnoreCase("SECURITY-DOMAIN")})
+      <!-- Indicates that the Subject (from the security domain) -->
+      <!-- is used to distinguish connections in the pool -->
+      <security-domain>${security-domain}</security-domain>
+#elseif(${security-config.equalsIgnoreCase("SECURITY-DOMAIN-AND-APPLICATION")})
+      <!-- Indicates that either app suplied parameters or the -->
+      <!-- Subject are used to distinguish connections in the pool -->
+      <security-domain-and-application>${security-domain}</security-domain-and-application>
+#end
+#end
+#if(${min-pool-size})
+
+      <!-- The minimum number of connections a pool should hold -->
+      <min-pool-size>${min-pool-size}</min-pool-size>
+#end
+#if(${max-pool-size})
+      <!-- The maximum number of connections for a pool -->
+      <max-pool-size>${max-pool-size}</max-pool-size>
+#end
+#if(${blocking-timeout-millis})
+      <!-- The maximum time in milliseconds to block while waiting for a connection --> 
+      <!-- before throwing an exception. Note that this blocks only while waiting -->
+      <!-- for a permit for a connection, and will never throw an exception if -->
+      <!-- creating a new connection takes an inordinately long time -->
+      <blocking-timeout-millis>${blocking-timeout-millis}</blocking-timeout-millis>
+#end
+#if(${idle-timeout-minutes})
+      <!-- The maximum time in minutes a connection may be idle before being closed -->
+      <idle-timeout-minutes>${idle-timeout-minutes}</idle-timeout-minutes>
+#end
+#if(${no-tx-separate-pools})
+      <!-- use separete pools for connection retrieved in a transaction -->
+      <!-- and those retrieved outside a transaction -->
+      <no-tx-separate-pools/>
+#end
+#if(${new-connection-sql})
+
+      <!-- SQL statement to execute whenever a connection is added to the connection pool -->
+      <new-connection-sql>${new-connection-sql}</new-connection-sql>
+#end
+#if(${check-valid-connection-sql})
+      <!-- SQL statement to check validity of a pool connection -->
+      <check-valid-connection-sql>${check-valid-connection-sql}</check-valid-connection-sql>
+#end
+#if(${valid-connection-checker-class-name})
+      <!-- An org.jboss.resource.adapter.jdbc.ValidConnectionChecker -->
+      <valid-connection-checker-class-name>${valid-connection-checker-class-name}</valid-connection-checker-class-name>
+#end
+#if(${exception-sorter-class-name})
+      <!-- An org.jboss.resource.adapter.jdbc.ExceptionSorter -->
+      <exception-sorter-class-name>${exception-sorter-class-name}</exception-sorter-class-name>
+#end
+#if(${track-statements})
+      <!-- Whether to check for unclosed statements when a connection is -->
+      <!-- returned to the pool, and result sets are closed when a statement -->
+      <!-- is closed/return to the prepared statement cache -->
+      <track-statements>${track-statements.toLowerCase()}</track-statements>
+#end
+#if(${prepared-statement-cache-size})
+      <!-- The number of prepared statements per connection in an LRU cache -->
+      <prepared-statement-cache-size>${prepared-statement-cache-size}</prepared-statement-cache-size>
+#end
+#if(${dependencies})
+
+      <!-- ObjectNames of services the connection manager depends on -->
+#foreach($dependency in ${dependencies})
+      <depends>$dependency</depends>
+#end
+#end
+#if(${type-mapping})
+
+      <!-- Datasource/connection factory type-mapping -->
+      <metadata>
+         <type-mapping>${type-mapping}</type-mapping>
+      </metadata>
+#end
+
+   </local-tx-datasource>
+</datasources>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/no-tx-datasource/template-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/no-tx-datasource/template-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/no-tx-datasource/template-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Template configuration that produces a no-tx-datasource
+  deployment descriptor.
+  
+  $Id: template-config.xml 29103 2005-02-24 12:22:56Z andd $
+-->
+<template-config template="vm/no-tx-datasource.vm" extension="-ds.xml">
+
+   <property-list>
+      <property name="jndi-name" type="java.lang.String">
+         <description>The JNDI name under which the DataSource wrapper will be bound. Note that this name is relative to the "java:/" prefix unless use-java-context is false.</description>
+      </property>
+      
+      <property name="use-java-context" type="java.lang.Boolean" optional="true">
+         <description>Setting this to false will bind the DataSource into global jndi.</description>
+         <default-value>true</default-value>         
+      </property>
+      
+      <property name="connection-url" type="java.lang.String">
+         <description>The JDBC driver connection URL string.</description>
+      </property>
+      
+      <property name="driver-class" type="java.lang.String">
+         <description>The fully qualifed name of the JDBC driver class.</description>
+      </property>
+      
+      <property name="connection-properties" type="java.util.Hashtable" optional="true">
+         <description>Allows you to pass in arbitrary connection properties (string name/value pairs) to the Driver.connect(url, props) method.</description>
+      </property>
+      
+      <property name="user-name" type="java.lang.String" optional="true">
+         <description>Specifies the default username used when creating a new connection.</description>
+      </property>
+      
+      <property name="password" type="java.lang.String" optional="true">
+         <description>Specifies the default password used when creating a new connection.</description>
+      </property>
+
+      <!-- The two properties that follow are related -->
+      <property name="security-config" type="java.lang.String" optional="true">
+         <description>
+            The value of this property should be one of:
+               APPLICATION-MANAGED-SECURITY - Indicates that app supplied parameters (such as from getConnection(user, pw)) are used to distinguish connections in the pool. 
+               SECURITY-DOMAIN - Indicates that the Subject (from the security domain) is used to distinguish connections in the pool. 
+               SECURITY-DOMAIN-AND-APPLICATION - Indicates that either app suplied parameters or the Subject are used to distinguish connections in the pool.
+         </description>
+      </property>
+
+      <property name="security-domain" type="java.lang.String" optional="true">
+         <description>When the security-config is either SECURITY-DOMAIN or SECURITY-DOMAIN-AND-APPLICATION this property should define the name of the JAAS security manager handling authentication, which correlates to the login-config.xml descriptor, application-policy/name attribute.</description>
+      </property>
+      
+      <property name="min-pool-size" type="java.lang.Integer" optional="true">
+         <description>The min-pool-size element indicates the minimum number of connections a pool should hold. These are not created until a Subject is known from a request for a connection.</description>
+         <default-value>0</default-value>
+      </property>
+
+      <property name="max-pool-size" type="java.lang.Integer" optional="true">
+         <description>The max-pool-size element indicates the maximum number of connections for a pool. No more than MaxSize connections will be created in each sub-pool.</description>
+         <default-value>20</default-value>
+      </property>
+
+      <property name="blocking-timeout-millis" type="java.lang.Integer" optional="true">
+         <description>The blocking-timeout-millis element indicates the maximum time in milliseconds to block while waiting for a connection before throwing an exception. Note that this blocks only while waiting for a permit for a connection, and will never throw an exception if creating a new connection takes an inordinately long time.</description>
+         <default-value>30000</default-value>
+      </property>
+      
+      <property name="idle-timeout-minutes" type="java.lang.Integer" optional="true">
+         <description>The idle-timeout-minutes elements indicates the maximum time in minutes a connection may be idle before being closed.  The actual maximum time depends also on the IdleRemover scan time, which is 1/2 the smallest idle-timeout-minutes of any pool.</description>
+      </property>
+      
+      <property name="new-connection-sql" type="java.lang.String" optional="true">
+         <description>Specify an SQL statement to execute whenever a connection is added to the connection pool.</description>
+      </property>
+      
+      <property name="check-valid-connection-sql" type="java.lang.String" optional="true">
+         <description>Specify an SQL statement to check validity of a pool connection. This may be called when managed connection is taken from pool for use.</description>
+      </property>
+      
+      <property name="valid-connection-checker-class-name" type="java.lang.String" optional="true">
+         <description>An org.jboss.resource.adapter.jdbc.ValidConnectionChecker that provides an SQLException isValidConnection(Connection e) method to validate if a connection is valid. An exception means the connection is destroyed. This overrides the check-valid-connection-sql when present.</description>
+      </property>
+
+      <property name="exception-sorter-class-name" type="java.lang.String" optional="true">
+         <description>An org.jboss.resource.adapter.jdbc.ExceptionSorter that provides a boolean isExceptionFatal(SQLException e) method to validate if an exception should be broadcast to all javax.resource.spi.ConnectionEventListener as a connectionErrorOccurred message.</description>
+      </property>
+      
+      <property name="track-statements" type="java.lang.String" optional="true">
+         <description>Specifies whether to check for unclosed statements when a connection is returned to the pool, and result sets are closed when a statement is closed/return to the prepared statement cache. Valid values are:
+            FALSE - do not track statements and results
+            TRUE - track statements and result sets and warn when they are not closed
+            NOWARN - track statements but do no warn about them being unclosed (the default)
+         </description>
+         <default-value>NOWARN</default-value>
+      </property>
+      
+      <property name="prepared-statement-cache-size" type="java.lang.Integer" optional="true">
+         <description>The number of prepared statements per connection in an LRU cache.</description>
+      </property>
+      
+      <property name="dependencies" type="[Ljavax.management.ObjectName;" optional="true">
+         <description>ObjectNames of services the connection manager depends on.</description>
+      </property>
+      
+      <property name="type-mapping" type="java.lang.String" optional="true">
+         <description>Datasource/connection factory type-mapping.</description>
+      </property>
+      
+  </property-list>
+  
+</template-config>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/no-tx-datasource/vm/no-tx-datasource.vm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/no-tx-datasource/vm/no-tx-datasource.vm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/no-tx-datasource/vm/no-tx-datasource.vm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ===================================================================
+  Generic no-tx-datasource configuration,
+  automatically generated by DeploymentService.
+##
+## author:  dimitris at jboss.org
+## version: $Revision: 29103 $
+  ===================================================================
+-->
+<datasources>
+   <no-tx-datasource>
+   
+      <!-- Where to bind the datasource, under the "java:/" prefix -->
+      <jndi-name>${jndi-name}</jndi-name>
+#if($helper.isDefined(${use-java-context}))
+      <!-- Setting this to false will bind the DataSource into global jndi -->
+      <use-java-context>${use-java-context}</use-java-context>
+#end    
+
+      <!-- The JDBC driver connection URL string -->
+      <connection-url>${connection-url}</connection-url>
+      <!-- The fully qualifed name of the JDBC driver class -->
+      <driver-class>${driver-class}</driver-class>
+#if(${connection-properties})
+      <!-- Pass arbitrary connection properties to the Driver.connect(url, props) method -->
+#foreach($key in ${connection-properties.keySet()})
+      <connection-property name="$key">${connection-properties.get($key)}</connection-property>
+#end
+#end
+#if(${user-name})
+
+      <!-- Specifies the default username used when creating a new connection -->
+      <user-name>${user-name}</user-name>
+#end
+#if(${password})
+      <!-- Specifies the default password used when creating a new connection -->
+      <password>${password}</password>
+#end
+#if(${security-config})
+
+#if(${security-config.equalsIgnoreCase("APPLICATION-MANAGED-SECURITY")})
+      <!-- App supplied parameters (such as from getConnection(user, pw)) -->
+      <!-- are used to distinguish connections in the pool -->
+      <application-managed-security/>
+#elseif(${security-config.equalsIgnoreCase("SECURITY-DOMAIN")})
+      <!-- Indicates that the Subject (from the security domain) -->
+      <!-- is used to distinguish connections in the pool -->
+      <security-domain>${security-domain}</security-domain>
+#elseif(${security-config.equalsIgnoreCase("SECURITY-DOMAIN-AND-APPLICATION")})
+      <!-- Indicates that either app suplied parameters or the -->
+      <!-- Subject are used to distinguish connections in the pool -->
+      <security-domain-and-application>${security-domain}</security-domain-and-application>
+#end
+#end
+#if(${min-pool-size})
+
+      <!-- The minimum number of connections a pool should hold -->
+      <min-pool-size>${min-pool-size}</min-pool-size>
+#end
+#if(${max-pool-size})
+      <!-- The maximum number of connections for a pool -->
+      <max-pool-size>${max-pool-size}</max-pool-size>
+#end
+#if(${blocking-timeout-millis})
+      <!-- The maximum time in milliseconds to block while waiting for a connection --> 
+      <!-- before throwing an exception. Note that this blocks only while waiting -->
+      <!-- for a permit for a connection, and will never throw an exception if -->
+      <!-- creating a new connection takes an inordinately long time -->
+      <blocking-timeout-millis>${blocking-timeout-millis}</blocking-timeout-millis>
+#end
+#if(${idle-timeout-minutes})
+      <!-- The maximum time in minutes a connection may be idle before being closed -->
+      <idle-timeout-minutes>${idle-timeout-minutes}</idle-timeout-minutes>
+#end
+#if(${new-connection-sql})
+
+      <!-- SQL statement to execute whenever a connection is added to the connection pool -->
+      <new-connection-sql>${new-connection-sql}</new-connection-sql>
+#end
+#if(${check-valid-connection-sql})
+      <!-- SQL statement to check validity of a pool connection -->
+      <check-valid-connection-sql>${check-valid-connection-sql}</check-valid-connection-sql>
+#end
+#if(${valid-connection-checker-class-name})
+      <!-- An org.jboss.resource.adapter.jdbc.ValidConnectionChecker -->
+      <valid-connection-checker-class-name>${valid-connection-checker-class-name}</valid-connection-checker-class-name>
+#end
+#if(${exception-sorter-class-name})
+      <!-- An org.jboss.resource.adapter.jdbc.ExceptionSorter -->
+      <exception-sorter-class-name>${exception-sorter-class-name}</exception-sorter-class-name>
+#end
+#if(${track-statements})
+      <!-- Whether to check for unclosed statements when a connection is -->
+      <!-- returned to the pool, and result sets are closed when a statement -->
+      <!-- is closed/return to the prepared statement cache -->
+      <track-statements>${track-statements.toLowerCase()}</track-statements>
+#end
+#if(${prepared-statement-cache-size})
+      <!-- The number of prepared statements per connection in an LRU cache -->
+      <prepared-statement-cache-size>${prepared-statement-cache-size}</prepared-statement-cache-size>
+#end
+#if(${dependencies})
+
+      <!-- ObjectNames of services the connection manager depends on -->
+#foreach($dependency in ${dependencies})
+      <depends>$dependency</depends>
+#end
+#end
+#if(${type-mapping})
+
+      <!-- Datasource/connection factory type-mapping -->
+      <metadata>
+         <type-mapping>${type-mapping}</type-mapping>
+      </metadata>
+#end
+
+   </no-tx-datasource>
+</datasources>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/xa-datasource/template-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/xa-datasource/template-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/xa-datasource/template-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Template configuration that produces an xa-datasource
+  deployment descriptor.
+  
+  $Id: template-config.xml 29103 2005-02-24 12:22:56Z andd $
+-->
+<template-config template="vm/xa-datasource.vm" extension="-ds.xml">
+
+   <property-list>
+      <property name="jndi-name" type="java.lang.String">
+         <description>The JNDI name under which the DataSource wrapper will be bound. Note that this name is relative to the "java:/" prefix unless use-java-context is false.</description>
+      </property>
+      
+      <property name="use-java-context" type="java.lang.Boolean" optional="true">
+         <description>Setting this to false will bind the DataSource into global jndi.</description>
+         <default-value>true</default-value>         
+      </property>
+      
+      <property name="track-connection-by-tx" type="java.lang.Boolean" optional="true">
+         <description>All work on one tx will go through one connection.</description>
+         <default-value>false</default-value>         
+      </property>
+      
+      <property name="xa-datasource-class" type="java.lang.String">
+         <description>The fully qualifed name of the javax.sql.XADataSource implementation class.</description>
+      </property>      
+      
+      <property name="xa-datasource-properties" type="java.util.Hashtable" optional="true">
+         <description>Allows you to pass in arbitrary connection properties (string name/value pairs) to the XADataSource.</description>
+      </property>      
+      
+      <property name="is-same-RM-override-value" type="java.lang.Boolean" optional="true">
+         <description>Allows to unconditionally set whether the javax.transaction.xa.XAResource.isSameRM(XAResource) returns true or false.</description>
+      </property>
+      
+      <property name="transaction-isolation" type="java.lang.String" optional="true">
+         <description>The java.sql.Connection transaction isolation level to use. The possible values are
+            TRANSACTION_READ_UNCOMMITTED
+            TRANSACTION_READ_COMMITTED
+            TRANSACTION_REPEATABLE_READ
+            TRANSACTION_SERIALIZABLE
+            TRANSACTION_NONE
+         </description>
+      </property>
+      
+      <property name="user-name" type="java.lang.String" optional="true">
+         <description>Specifies the default username used when creating a new connection.</description>
+      </property>
+      
+      <property name="password" type="java.lang.String" optional="true">
+         <description>Specifies the default password used when creating a new connection.</description>
+      </property>
+
+      <!-- The two properties that follow are related -->
+      <property name="security-config" type="java.lang.String" optional="true">
+         <description>
+            The value of this property should be one of:
+               APPLICATION-MANAGED-SECURITY - Indicates that app supplied parameters (such as from getConnection(user, pw)) are used to distinguish connections in the pool. 
+               SECURITY-DOMAIN - Indicates that the Subject (from the security domain) is used to distinguish connections in the pool. 
+               SECURITY-DOMAIN-AND-APPLICATION - Indicates that either app suplied parameters or the Subject are used to distinguish connections in the pool.
+         </description>
+      </property>
+
+      <property name="security-domain" type="java.lang.String" optional="true">
+         <description>When the security-config is either SECURITY-DOMAIN or SECURITY-DOMAIN-AND-APPLICATION this property should define the name of the JAAS security manager handling authentication, which correlates to the login-config.xml descriptor, application-policy/name attribute.</description>
+      </property>
+      
+      <property name="min-pool-size" type="java.lang.Integer" optional="true">
+         <description>The min-pool-size element indicates the minimum number of connections a pool should hold. These are not created until a Subject is known from a request for a connection.</description>
+         <default-value>0</default-value>
+      </property>
+
+      <property name="max-pool-size" type="java.lang.Integer" optional="true">
+         <description>The max-pool-size element indicates the maximum number of connections for a pool. No more than MaxSize connections will be created in each sub-pool.</description>
+         <default-value>20</default-value>
+      </property>
+
+      <property name="blocking-timeout-millis" type="java.lang.Integer" optional="true">
+         <description>The blocking-timeout-millis element indicates the maximum time in milliseconds to block while waiting for a connection before throwing an exception. Note that this blocks only while waiting for a permit for a connection, and will never throw an exception if creating a new connection takes an inordinately long time.</description>
+         <default-value>30000</default-value>
+      </property>
+      
+      <property name="idle-timeout-minutes" type="java.lang.Integer" optional="true">
+         <description>The idle-timeout-minutes elements indicates the maximum time in minutes a connection may be idle before being closed.  The actual maximum time depends also on the IdleRemover scan time, which is 1/2 the smallest idle-timeout-minutes of any pool.</description>
+      </property>
+      
+      <property name="no-tx-separate-pools" type="java.lang.Boolean" optional="true">
+         <description>Indicates whether to use separete pools for connection retrieved in a transaction and those retrieved outside a transaction.</description>
+         <default-value>false</default-value>
+      </property>
+
+      <property name="new-connection-sql" type="java.lang.String" optional="true">
+         <description>Specify an SQL statement to execute whenever a connection is added to the connection pool.</description>
+      </property>
+      
+      <property name="check-valid-connection-sql" type="java.lang.String" optional="true">
+         <description>Specify an SQL statement to check validity of a pool connection. This may be called when managed connection is taken from pool for use.</description>
+      </property>
+      
+      <property name="valid-connection-checker-class-name" type="java.lang.String" optional="true">
+         <description>An org.jboss.resource.adapter.jdbc.ValidConnectionChecker that provides an SQLException isValidConnection(Connection e) method to validate if a connection is valid. An exception means the connection is destroyed. This overrides the check-valid-connection-sql when present.</description>
+      </property>
+
+      <property name="exception-sorter-class-name" type="java.lang.String" optional="true">
+         <description>An org.jboss.resource.adapter.jdbc.ExceptionSorter that provides a boolean isExceptionFatal(SQLException e) method to validate if an exception should be broadcast to all javax.resource.spi.ConnectionEventListener as a connectionErrorOccurred message.</description>
+      </property>
+      
+      <property name="track-statements" type="java.lang.String" optional="true">
+         <description>Specifies whether to check for unclosed statements when a connection is returned to the pool, and result sets are closed when a statement is closed/return to the prepared statement cache. Valid values are:
+            FALSE - do not track statements and results
+            TRUE - track statements and result sets and warn when they are not closed
+            NOWARN - track statements but do no warn about them being unclosed (the default)
+         </description>
+         <default-value>NOWARN</default-value>
+      </property>
+      
+      <property name="prepared-statement-cache-size" type="java.lang.Integer" optional="true">
+         <description>The number of prepared statements per connection in an LRU cache.</description>
+      </property>
+      
+      <property name="dependencies" type="[Ljavax.management.ObjectName;" optional="true">
+         <description>ObjectNames of services the connection manager depends on.</description>
+      </property>
+      
+      <property name="type-mapping" type="java.lang.String" optional="true">
+         <description>Datasource/connection factory type-mapping.</description>
+      </property>
+      
+  </property-list>
+  
+</template-config>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/xa-datasource/vm/xa-datasource.vm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/xa-datasource/vm/xa-datasource.vm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/deployment-service/templates/xa-datasource/vm/xa-datasource.vm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ===================================================================
+  Generic xa-datasource configuration,
+  automatically generated by DeploymentService.
+##
+## author:  dimitris at jboss.org
+## version: $Revision: 29103 $
+  ===================================================================
+-->
+<datasources>
+   <xa-datasource>
+   
+      <!-- Where to bind the datasource, under the "java:/" prefix -->
+      <jndi-name>${jndi-name}</jndi-name>
+#if($helper.isDefined(${use-java-context}))
+      <!-- Setting this to false will bind the DataSource into global jndi -->
+      <use-java-context>${use-java-context}</use-java-context>
+#end    
+#if(${track-connection-by-tx})
+      <!-- All work on one tx will go through one connection -->
+      <track-connection-by-tx/>
+#end
+      <!-- The fully qualifed name of the javax.sql.XADataSource implementation class -->
+      <xa-datasource-class>${xa-datasource-class}</xa-datasource-class>
+#if(${xa-datasource-properties})
+      <!-- Pass arbitrary connection properties (string name/value pairs) to the XADataSource -->
+#foreach($key in ${xa-datasource-properties.keySet()})
+      <xa-datasource-property name="$key">${xa-datasource-properties.get($key)}</xa-datasource-property>
+#end
+#end
+#if($helper.isDefined(${is-same-RM-override-value}))
+      <!-- Force javax.transaction.xa.XAResource.isSameRM(XAResource) to return true or false -->
+      <isSameRM-override-value>${is-same-RM-override-value}</isSameRM-override-value>
+#end      
+#if(${transaction-isolation})    
+      <!-- The java.sql.Connection transaction isolation level to use -->
+      <transaction-isolation>${transaction-isolation}</transaction-isolation>
+#end    
+#if(${user-name})
+      <!-- Specifies the default username used when creating a new connection -->
+      <user-name>${user-name}</user-name>
+#end
+#if(${password})
+      <!-- Specifies the default password used when creating a new connection -->
+      <password>${password}</password>
+#end
+#if(${security-config})
+
+#if(${security-config.equalsIgnoreCase("APPLICATION-MANAGED-SECURITY")})
+      <!-- App supplied parameters (such as from getConnection(user, pw)) -->
+      <!-- are used to distinguish connections in the pool -->
+      <application-managed-security/>
+#elseif(${security-config.equalsIgnoreCase("SECURITY-DOMAIN")})
+      <!-- Indicates that the Subject (from the security domain) -->
+      <!-- is used to distinguish connections in the pool -->
+      <security-domain>${security-domain}</security-domain>
+#elseif(${security-config.equalsIgnoreCase("SECURITY-DOMAIN-AND-APPLICATION")})
+      <!-- Indicates that either app suplied parameters or the -->
+      <!-- Subject are used to distinguish connections in the pool -->
+      <security-domain-and-application>${security-domain}</security-domain-and-application>
+#end
+#end
+#if(${min-pool-size})
+
+      <!-- The minimum number of connections a pool should hold -->
+      <min-pool-size>${min-pool-size}</min-pool-size>
+#end
+#if(${max-pool-size})
+      <!-- The maximum number of connections for a pool -->
+      <max-pool-size>${max-pool-size}</max-pool-size>
+#end
+#if(${blocking-timeout-millis})
+      <!-- The maximum time in milliseconds to block while waiting for a connection --> 
+      <!-- before throwing an exception. Note that this blocks only while waiting -->
+      <!-- for a permit for a connection, and will never throw an exception if -->
+      <!-- creating a new connection takes an inordinately long time -->
+      <blocking-timeout-millis>${blocking-timeout-millis}</blocking-timeout-millis>
+#end
+#if(${idle-timeout-minutes})
+      <!-- The maximum time in minutes a connection may be idle before being closed -->
+      <idle-timeout-minutes>${idle-timeout-minutes}</idle-timeout-minutes>
+#end
+#if(${no-tx-separate-pools})
+      <!-- use separete pools for connection retrieved in a transaction -->
+      <!-- and those retrieved outside a transaction -->
+      <no-tx-separate-pools/>
+#end
+#if(${new-connection-sql})
+
+      <!-- SQL statement to execute whenever a connection is added to the connection pool -->
+      <new-connection-sql>${new-connection-sql}</new-connection-sql>
+#end
+#if(${check-valid-connection-sql})
+      <!-- SQL statement to check validity of a pool connection -->
+      <check-valid-connection-sql>${check-valid-connection-sql}</check-valid-connection-sql>
+#end
+#if(${valid-connection-checker-class-name})
+      <!-- An org.jboss.resource.adapter.jdbc.ValidConnectionChecker -->
+      <valid-connection-checker-class-name>${valid-connection-checker-class-name}</valid-connection-checker-class-name>
+#end
+#if(${exception-sorter-class-name})
+      <!-- An org.jboss.resource.adapter.jdbc.ExceptionSorter -->
+      <exception-sorter-class-name>${exception-sorter-class-name}</exception-sorter-class-name>
+#end
+#if(${track-statements})
+      <!-- Whether to check for unclosed statements when a connection is -->
+      <!-- returned to the pool, and result sets are closed when a statement -->
+      <!-- is closed/return to the prepared statement cache -->
+      <track-statements>${track-statements.toLowerCase()}</track-statements>
+#end
+#if(${prepared-statement-cache-size})
+      <!-- The number of prepared statements per connection in an LRU cache -->
+      <prepared-statement-cache-size>${prepared-statement-cache-size}</prepared-statement-cache-size>
+#end
+#if(${dependencies})
+
+      <!-- ObjectNames of services the connection manager depends on -->
+#foreach($dependency in ${dependencies})
+      <depends>$dependency</depends>
+#end
+#end
+#if(${type-mapping})
+
+      <!-- Datasource/connection factory type-mapping -->
+      <metadata>
+         <type-mapping>${type-mapping}</type-mapping>
+      </metadata>
+#end
+
+   </xa-datasource>
+</datasources>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/derby-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/derby-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/entity-resolver-manager/xmlresolver-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/entity-resolver-manager/xmlresolver-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/entity-resolver-manager/xmlresolver-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,12 @@
+<!-- The JBossEntityResolver mbean service which allows customization of the
+xml parser entity resolver publicID/systemID to dtd/schema file mapping.
+See, http://wiki.jboss.org/wiki/Wiki.jsp?page=XMLEntitySchemaResolution
+-->
+<server>
+   <mbean code="org.jboss.services.xml.JBossEntityResolverMgr"
+      name="jboss.xml:service=JBossEntityResolverMgr">
+      <attribute name="WarnOnNonFileURLs">true</attribute>
+      <attribute name="EntityMap">
+      </attribute>
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/jboss-bindings.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/jboss-bindings.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/examples/varia/jboss-bindings.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,187 @@
+<!DOCTYPE service-bindings [
+  <!ELEMENT service-bindings (server+)>
+
+  <!ELEMENT server (service-config+)>
+
+  <!ATTLIST server name CDATA  #REQUIRED>
+
+  <!ELEMENT service-config (delegate-config? , binding+)>
+
+  <!ATTLIST service-config  name CDATA  #REQUIRED
+                              delegateClass CDATA  #IMPLIED >
+
+  <!ELEMENT binding EMPTY>
+
+  <!ATTLIST binding  name CDATA  #IMPLIED
+                       host CDATA  #IMPLIED
+                       port CDATA  #IMPLIED >
+  <!ELEMENT delegate-config ANY>
+  <!ATTLIST delegate-config  hostName CDATA  #IMPLIED
+                       portName CDATA  #IMPLIED >
+]>
+
+<service-bindings>
+
+   <server name="jboss_2">
+
+   <!-- ********************************************************** -->
+
+      <service-config name="jboss:service=WebService"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="Port"/>
+         <binding port="28083" />
+      </service-config>
+
+   <!-- ********************************************************** -->
+
+      <service-config name="jboss:service=Naming"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="Port"/>
+         <binding port="21099" />
+      </service-config>
+
+   <!-- ********************************************************** -->
+
+      <service-config name="jboss:service=invoker,type=trunk"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="ServerBindPort"/>
+         <binding port="24445" />
+      </service-config>
+
+   <!-- ********************************************************** -->
+
+      <!-- Hypersonic related services -->
+      <service-config name="jboss.jca:service=LocalTxDS,name=DefaultDS"
+         delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
+      >
+         <delegate-config>
+          <attribute name="">jdbc:hsqldb:hsql://${host}:${port}</attribute>
+         <xslt-config configName="ManagedConnectionFactoryProperties"><![CDATA[
+<xsl:stylesheet 
+      xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+  <xsl:output method="xml" />
+  <xsl:param name="host"/>
+  <xsl:param name="port"/>
+  
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="config-property[@name='ConnectionURL']">
+    <config-property type="java.lang.String" name="ConnectionURL">jdbc:hsqldb:hsql://<xsl:value-of select='$host'/>:<xsl:value-of select='$port'/></config-property>
+  </xsl:template>
+  <xsl:template match="*|@*">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+</xsl:stylesheet>
+]]>
+         </xslt-config>
+         </delegate-config>
+         <binding host="localhost" port="21476" />
+      </service-config>
+
+      <service-config name="jboss:service=Hypersonic"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="Port" />
+         <binding port="21476" />
+      </service-config>
+
+   <!-- ********************************************************** -->
+
+      <!-- JMS related services -->
+      <service-config name="jboss.mq:service=InvocationLayer,type=OIL"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="ServerBindPort" />
+         <binding port="28090" />
+      </service-config>
+
+      <service-config name="jboss.mq:service=InvocationLayer,type=OIL2"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="ServerBindPort" />
+         <binding port="28092" />
+      </service-config>
+
+      <service-config name="jboss.mq:service=InvocationLayer,type=UIL"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="ServerBindPort" />
+         <binding port="28091" />
+      </service-config>
+
+      <service-config name="jboss.mq:service=InvocationLayer,type=UIL2"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="ServerBindPort" />
+         <binding port="28093" />
+      </service-config>
+
+   <!-- ********************************************************** -->
+
+      <!-- Jetty -->
+      <service-config name="jboss.web:service=WebServer"
+         delegateClass="org.jboss.services.binding.XSLTConfigDelegate"
+      >
+         <!-- This transforms the ConfigurationElement attribute document         
+         -->
+         <delegate-config>
+         <xslt-config configName="ConfigurationElement"><![CDATA[
+<xsl:stylesheet 
+      xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+
+  <xsl:output method="xml" />
+  <xsl:param name="host"/>
+  <xsl:param name="port"/>
+  
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="SystemProperty[@name='jetty.port']">
+    <SystemProperty default="{$port}" name="jetty.port" />
+  </xsl:template>
+  <xsl:template match="New[@class='org.mortbay.http.ajp.AJP13Listener']/Set[@name='Port']">
+             <Set name="Port"><xsl:value-of select="$port - 71"/></Set>
+  </xsl:template>
+  <xsl:template match="*|@*">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+</xsl:stylesheet>
+]]>
+         </xslt-config>
+         </delegate-config>
+         <binding port="28080" />
+      </service-config>
+
+   <!-- ********************************************************** -->
+
+      <service-config name="jboss:service=HAJNDI"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="Port" />
+         <binding port="21100" />
+      </service-config>
+
+   <!-- ********************************************************** -->
+
+   <!-- Corba cannot be modified: it uses conf/jacorb.properties for its port number -->
+      <service-config name="jboss:service=CorbaORB"
+         delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
+      >
+         <delegate-config portName="Port" />
+         <binding port="23528" />
+      </service-config>
+
+   </server>
+
+</service-bindings>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/antlr.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/antlr.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/antlr.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,19 @@
+http://www.antlr.org/license.html
+
+Software License
+
+We reserve no legal rights to the ANTLR--it is fully in the public domain. An
+individual or company may do whatever they wish with source code distributed
+with ANTLR or the code generated by ANTLR, including the incorporation of ANTLR,
+or its output, into commerical software.
+
+We encourage users to develop software with ANTLR. However, we do ask that
+credit is given to us for developing ANTLR. By "credit", we mean that if you
+use ANTLR or incorporate any source code into one of your programs (commercial
+product, research project, or otherwise) that you acknowledge this fact
+somewhere in the documentation, research report, etc... If you like ANTLR and
+have developed a nice tool with the output, please mention that you developed
+it using ANTLR. In addition, we ask that the headers remain intact in our
+source code. As long as these guidelines are kept, we expect to continue
+enhancing this system and expect to make other tools available as they are
+completed.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/apache-1.1.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/apache-1.1.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/apache-1.1.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,58 @@
+/* ====================================================================
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2000 The Apache Software Foundation.  All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in
+ *    the documentation and/or other materials provided with the
+ *    distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ *    if any, must include the following acknowledgment:
+ *       "This product includes software developed by the
+ *        Apache Software Foundation (http://www.apache.org/)."
+ *    Alternately, this acknowledgment may appear in the software itself,
+ *    if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache" and "Apache Software Foundation" must
+ *    not be used to endorse or promote products derived from this
+ *    software without prior written permission. For written
+ *    permission, please contact apache at apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ *    nor may "Apache" appear in their name, without prior written
+ *    permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation.  For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ *
+ * Portions of this software are based upon public domain software
+ * originally written at the National Center for Supercomputing Applications,
+ * University of Illinois, Urbana-Champaign.
+ */
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/apache-2.0.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/apache-2.0.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/apache-2.0.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/bsd.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/bsd.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/bsd.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+The BSD License
+
+    The following is a BSD license template. To generate your own license, change the values of OWNER, ORGANIZATION and YEAR from their original values as given here, and substitute your own.
+
+    Note: The advertising clause in the license appearing on BSD Unix files was officially rescinded by the Director of the Office of Technology Licensing of the University of California on July 22 1999. He states that clause 3 is "hereby deleted in its entirety."
+
+    Note the new BSD license is thus equivalent to the MIT License, except for the no-endorsement final clause.
+
+<OWNER> = Regents of the University of California
+<ORGANIZATION> = University of California, Berkeley
+<YEAR> = 1998
+
+In the original BSD license, both occurrences of the phrase "COPYRIGHT HOLDERS AND CONTRIBUTORS" in the disclaimer read "REGENTS AND CONTRIBUTORS".
+
+Here is the license template:
+
+Copyright (c) <YEAR>, <OWNER>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+    * Neither the name of the <ORGANIZATION> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/cddl.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/cddl.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/cddl.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,384 @@
+COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
+
+
+      1. Definitions.
+
+            1.1. "Contributor" means each individual or entity that
+            creates or contributes to the creation of Modifications.
+
+            1.2. "Contributor Version" means the combination of the
+            Original Software, prior Modifications used by a
+            Contributor (if any), and the Modifications made by that
+            particular Contributor.
+
+            1.3. "Covered Software" means (a) the Original Software, or
+            (b) Modifications, or (c) the combination of files
+            containing Original Software with files containing
+            Modifications, in each case including portions thereof.
+
+            1.4. "Executable" means the Covered Software in any form
+            other than Source Code. 
+
+            1.5. "Initial Developer" means the individual or entity
+            that first makes Original Software available under this
+            License. 
+            
+            1.6. "Larger Work" means a work which combines Covered
+            Software or portions thereof with code not governed by the
+            terms of this License.
+
+            1.7. "License" means this document.
+
+            1.8. "Licensable" means having the right to grant, to the
+            maximum extent possible, whether at the time of the initial
+            grant or subsequently acquired, any and all of the rights
+            conveyed herein.
+            
+            1.9. "Modifications" means the Source Code and Executable
+            form of any of the following: 
+
+                  A. Any file that results from an addition to,
+                  deletion from or modification of the contents of a
+                  file containing Original Software or previous
+                  Modifications; 
+
+                  B. Any new file that contains any part of the
+                  Original Software or previous Modification; or 
+
+                  C. Any new file that is contributed or otherwise made
+                  available under the terms of this License.
+
+            1.10. "Original Software" means the Source Code and
+            Executable form of computer software code that is
+            originally released under this License. 
+
+            1.11. "Patent Claims" means any patent claim(s), now owned
+            or hereafter acquired, including without limitation,
+            method, process, and apparatus claims, in any patent
+            Licensable by grantor. 
+
+            1.12. "Source Code" means (a) the common form of computer
+            software code in which modifications are made and (b)
+            associated documentation included in or with such code.
+
+            1.13. "You" (or "Your") means an individual or a legal
+            entity exercising rights under, and complying with all of
+            the terms of, this License. For legal entities, "You"
+            includes any entity which controls, is controlled by, or is
+            under common control with You. For purposes of this
+            definition, "control" means (a) the power, direct or
+            indirect, to cause the direction or management of such
+            entity, whether by contract or otherwise, or (b) ownership
+            of more than fifty percent (50%) of the outstanding shares
+            or beneficial ownership of such entity.
+
+      2. License Grants. 
+
+            2.1. The Initial Developer Grant.
+
+            Conditioned upon Your compliance with Section 3.1 below and
+            subject to third party intellectual property claims, the
+            Initial Developer hereby grants You a world-wide,
+            royalty-free, non-exclusive license: 
+
+                  (a) under intellectual property rights (other than
+                  patent or trademark) Licensable by Initial Developer,
+                  to use, reproduce, modify, display, perform,
+                  sublicense and distribute the Original Software (or
+                  portions thereof), with or without Modifications,
+                  and/or as part of a Larger Work; and 
+
+                  (b) under Patent Claims infringed by the making,
+                  using or selling of Original Software, to make, have
+                  made, use, practice, sell, and offer for sale, and/or
+                  otherwise dispose of the Original Software (or
+                  portions thereof). 
+
+                  (c) The licenses granted in Sections 2.1(a) and (b)
+                  are effective on the date Initial Developer first
+                  distributes or otherwise makes the Original Software
+                  available to a third party under the terms of this
+                  License. 
+
+                  (d) Notwithstanding Section 2.1(b) above, no patent
+                  license is granted: (1) for code that You delete from
+                  the Original Software, or (2) for infringements
+                  caused by: (i) the modification of the Original
+                  Software, or (ii) the combination of the Original
+                  Software with other software or devices. 
+
+            2.2. Contributor Grant.
+
+            Conditioned upon Your compliance with Section 3.1 below and
+            subject to third party intellectual property claims, each
+            Contributor hereby grants You a world-wide, royalty-free,
+            non-exclusive license:
+
+                  (a) under intellectual property rights (other than
+                  patent or trademark) Licensable by Contributor to
+                  use, reproduce, modify, display, perform, sublicense
+                  and distribute the Modifications created by such
+                  Contributor (or portions thereof), either on an
+                  unmodified basis, with other Modifications, as
+                  Covered Software and/or as part of a Larger Work; and
+                  
+
+                  (b) under Patent Claims infringed by the making,
+                  using, or selling of Modifications made by that
+                  Contributor either alone and/or in combination with
+                  its Contributor Version (or portions of such
+                  combination), to make, use, sell, offer for sale,
+                  have made, and/or otherwise dispose of: (1)
+                  Modifications made by that Contributor (or portions
+                  thereof); and (2) the combination of Modifications
+                  made by that Contributor with its Contributor Version
+                  (or portions of such combination). 
+
+                  (c) The licenses granted in Sections 2.2(a) and
+                  2.2(b) are effective on the date Contributor first
+                  distributes or otherwise makes the Modifications
+                  available to a third party. 
+
+                  (d) Notwithstanding Section 2.2(b) above, no patent
+                  license is granted: (1) for any code that Contributor
+                  has deleted from the Contributor Version; (2) for
+                  infringements caused by: (i) third party
+                  modifications of Contributor Version, or (ii) the
+                  combination of Modifications made by that Contributor
+                  with other software (except as part of the
+                  Contributor Version) or other devices; or (3) under
+                  Patent Claims infringed by Covered Software in the
+                  absence of Modifications made by that Contributor. 
+
+      3. Distribution Obligations.
+
+            3.1. Availability of Source Code.
+
+            Any Covered Software that You distribute or otherwise make
+            available in Executable form must also be made available in
+            Source Code form and that Source Code form must be
+            distributed only under the terms of this License. You must
+            include a copy of this License with every copy of the
+            Source Code form of the Covered Software You distribute or
+            otherwise make available. You must inform recipients of any
+            such Covered Software in Executable form as to how they can
+            obtain such Covered Software in Source Code form in a
+            reasonable manner on or through a medium customarily used
+            for software exchange.
+
+            3.2. Modifications.
+
+            The Modifications that You create or to which You
+            contribute are governed by the terms of this License. You
+            represent that You believe Your Modifications are Your
+            original creation(s) and/or You have sufficient rights to
+            grant the rights conveyed by this License.
+
+            3.3. Required Notices.
+
+            You must include a notice in each of Your Modifications
+            that identifies You as the Contributor of the Modification.
+            You may not remove or alter any copyright, patent or
+            trademark notices contained within the Covered Software, or
+            any notices of licensing or any descriptive text giving
+            attribution to any Contributor or the Initial Developer.
+
+            3.4. Application of Additional Terms.
+
+            You may not offer or impose any terms on any Covered
+            Software in Source Code form that alters or restricts the
+            applicable version of this License or the recipients"
+            rights hereunder. You may choose to offer, and to charge a
+            fee for, warranty, support, indemnity or liability
+            obligations to one or more recipients of Covered Software.
+            However, you may do so only on Your own behalf, and not on
+            behalf of the Initial Developer or any Contributor. You
+            must make it absolutely clear that any such warranty,
+            support, indemnity or liability obligation is offered by
+            You alone, and You hereby agree to indemnify the Initial
+            Developer and every Contributor for any liability incurred
+            by the Initial Developer or such Contributor as a result of
+            warranty, support, indemnity or liability terms You offer.
+          
+
+            3.5. Distribution of Executable Versions.
+
+            You may distribute the Executable form of the Covered
+            Software under the terms of this License or under the terms
+            of a license of Your choice, which may contain terms
+            different from this License, provided that You are in
+            compliance with the terms of this License and that the
+            license for the Executable form does not attempt to limit
+            or alter the recipient"s rights in the Source Code form
+            from the rights set forth in this License. If You
+            distribute the Covered Software in Executable form under a
+            different license, You must make it absolutely clear that
+            any terms which differ from this License are offered by You
+            alone, not by the Initial Developer or Contributor. You
+            hereby agree to indemnify the Initial Developer and every
+            Contributor for any liability incurred by the Initial
+            Developer or such Contributor as a result of any such terms
+            You offer.
+
+            3.6. Larger Works.
+
+            You may create a Larger Work by combining Covered Software
+            with other code not governed by the terms of this License
+            and distribute the Larger Work as a single product. In such
+            a case, You must make sure the requirements of this License
+            are fulfilled for the Covered Software. 
+            
+      4. Versions of the License. 
+
+            4.1. New Versions.
+
+            Sun Microsystems, Inc. is the initial license steward and
+            may publish revised and/or new versions of this License
+            from time to time. Each version will be given a
+            distinguishing version number. Except as provided in
+            Section 4.3, no one other than the license steward has the
+            right to modify this License. 
+
+            4.2. Effect of New Versions.
+
+            You may always continue to use, distribute or otherwise
+            make the Covered Software available under the terms of the
+            version of the License under which You originally received
+            the Covered Software. If the Initial Developer includes a
+            notice in the Original Software prohibiting it from being
+            distributed or otherwise made available under any
+            subsequent version of the License, You must distribute and
+            make the Covered Software available under the terms of the
+            version of the License under which You originally received
+            the Covered Software. Otherwise, You may also choose to
+            use, distribute or otherwise make the Covered Software
+            available under the terms of any subsequent version of the
+            License published by the license steward. 
+
+            4.3. Modified Versions.
+
+            When You are an Initial Developer and You want to create a
+            new license for Your Original Software, You may create and
+            use a modified version of this License if You: (a) rename
+            the license and remove any references to the name of the
+            license steward (except to note that the license differs
+            from this License); and (b) otherwise make it clear that
+            the license contains terms which differ from this License.
+            
+
+      5. DISCLAIMER OF WARRANTY.
+
+      COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS"
+      BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
+      INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
+      SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
+      PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND
+      PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY
+      COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
+      INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF
+      ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF
+      WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+      ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
+      DISCLAIMER. 
+
+      6. TERMINATION. 
+
+            6.1. This License and the rights granted hereunder will
+            terminate automatically if You fail to comply with terms
+            herein and fail to cure such breach within 30 days of
+            becoming aware of the breach. Provisions which, by their
+            nature, must remain in effect beyond the termination of
+            this License shall survive.
+
+            6.2. If You assert a patent infringement claim (excluding
+            declaratory judgment actions) against Initial Developer or
+            a Contributor (the Initial Developer or Contributor against
+            whom You assert such claim is referred to as "Participant")
+            alleging that the Participant Software (meaning the
+            Contributor Version where the Participant is a Contributor
+            or the Original Software where the Participant is the
+            Initial Developer) directly or indirectly infringes any
+            patent, then any and all rights granted directly or
+            indirectly to You by such Participant, the Initial
+            Developer (if the Initial Developer is not the Participant)
+            and all Contributors under Sections 2.1 and/or 2.2 of this
+            License shall, upon 60 days notice from Participant
+            terminate prospectively and automatically at the expiration
+            of such 60 day notice period, unless if within such 60 day
+            period You withdraw Your claim with respect to the
+            Participant Software against such Participant either
+            unilaterally or pursuant to a written agreement with
+            Participant.
+
+            6.3. In the event of termination under Sections 6.1 or 6.2
+            above, all end user licenses that have been validly granted
+            by You or any distributor hereunder prior to termination
+            (excluding licenses granted to You by any distributor)
+            shall survive termination.
+
+      7. LIMITATION OF LIABILITY.
+
+      UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+      (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
+      INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
+      COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
+      LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
+      CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
+      LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK
+      STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+      COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+      INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+      LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
+      INJURY RESULTING FROM SUCH PARTY"S NEGLIGENCE TO THE EXTENT
+      APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
+      NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
+      CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
+      APPLY TO YOU.
+
+      8. U.S. GOVERNMENT END USERS.
+
+      The Covered Software is a "commercial item," as that term is
+      defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial
+      computer software" (as that term is defined at 48 C.F.R. "
+      252.227-7014(a)(1)) and "commercial computer software
+      documentation" as such terms are used in 48 C.F.R. 12.212 (Sept.
+      1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
+      through 227.7202-4 (June 1995), all U.S. Government End Users
+      acquire Covered Software with only those rights set forth herein.
+      This U.S. Government Rights clause is in lieu of, and supersedes,
+      any other FAR, DFAR, or other clause or provision that addresses
+      Government rights in computer software under this License.
+
+      9. MISCELLANEOUS.
+
+      This License represents the complete agreement concerning subject
+      matter hereof. If any provision of this License is held to be
+      unenforceable, such provision shall be reformed only to the
+      extent necessary to make it enforceable. This License shall be
+      governed by the law of the jurisdiction specified in a notice
+      contained within the Original Software (except to the extent
+      applicable law, if any, provides otherwise), excluding such
+      jurisdiction"s conflict-of-law provisions. Any litigation
+      relating to this License shall be subject to the jurisdiction of
+      the courts located in the jurisdiction and venue specified in a
+      notice contained within the Original Software, with the losing
+      party responsible for costs, including, without limitation, court
+      costs and reasonable attorneys" fees and expenses. The
+      application of the United Nations Convention on Contracts for the
+      International Sale of Goods is expressly excluded. Any law or
+      regulation which provides that the language of a contract shall
+      be construed against the drafter shall not apply to this License.
+      You agree that You alone are responsible for compliance with the
+      United States export administration regulations (and the export
+      control laws and regulation of any other countries) when You use,
+      distribute or otherwise make available any Covered Software.
+
+      10. RESPONSIBILITY FOR CLAIMS.
+
+      As between Initial Developer and the Contributors, each party is
+      responsible for claims and damages arising, directly or
+      indirectly, out of its utilization of rights under this License
+      and You agree to work with Initial Developer and Contributors to
+      distribute such responsibility on an equitable basis. Nothing
+      herein is intended or shall be deemed to constitute any admission
+      of liability.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/cpl-1.0.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/cpl-1.0.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/cpl-1.0.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,213 @@
+Common Public License Version 1.0
+
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC
+LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
+CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+1. DEFINITIONS
+
+"Contribution" means:
+
+    a) in the case of the initial Contributor, the initial code and documentation
+    distributed under this Agreement, and
+
+    b) in the case of each subsequent Contributor:
+
+    i) changes to the Program, and
+
+    ii) additions to the Program;
+
+    where such changes and/or additions to the Program originate from and are
+    distributed by that particular Contributor. A Contribution 'originates' from
+    a Contributor if it was added to the Program by such Contributor itself or
+    anyone acting on such Contributor's behalf. Contributions do not include
+    additions to the Program which: (i) are separate modules of software
+    distributed in conjunction with the Program under their own license
+    agreement, and (ii) are not derivative works of the Program.
+
+"Contributor" means any person or entity that distributes the Program.
+
+"Licensed Patents " mean patent claims licensable by a Contributor which are
+necessarily infringed by the use or sale of its Contribution alone or when
+combined with the Program.
+
+"Program" means the Contributions distributed in accordance with this Agreement.
+
+"Recipient" means anyone who receives the Program under this Agreement, including
+all Contributors.
+
+2. GRANT OF RIGHTS
+
+    a) Subject to the terms of this Agreement, each Contributor hereby grants
+    Recipient a non-exclusive, worldwide, royalty-free copyright license to
+    reproduce, prepare derivative works of, publicly display, publicly perform,
+    distribute and sublicense the Contribution of such Contributor, if any, and
+    such derivative works, in source code and object code form.
+
+    b) Subject to the terms of this Agreement, each Contributor hereby grants
+    Recipient a non-exclusive, worldwide, royalty-free patent license under
+    Licensed Patents to make, use, sell, offer to sell, import and otherwise
+    transfer the Contribution of such Contributor, if any, in source code and
+    object code form. This patent license shall apply to the combination of the
+    Contribution and the Program if, at the time the Contribution is added by
+    the Contributor, such addition of the Contribution causes such combination
+    to be covered by the Licensed Patents. The patent license shall not apply to
+    any other combinations which include the Contribution. No hardware per se is
+    licensed hereunder.
+
+    c) Recipient understands that although each Contributor grants the licenses
+    to its Contributions set forth herein, no assurances are provided by any
+    Contributor that the Program does not infringe the patent or other
+    intellectual property rights of any other entity. Each Contributor disclaims
+    any liability to Recipient for claims brought by any other entity based on
+    infringement of intellectual property rights or otherwise. As a condition to
+    exercising the rights and licenses granted hereunder, each Recipient hereby
+    assumes sole responsibility to secure any other intellectual property rights
+    needed, if any. For example, if a third party patent license is required to
+    allow Recipient to distribute the Program, it is Recipient's responsibility
+    to acquire that license before distributing the Program.
+
+    d) Each Contributor represents that to its knowledge it has sufficient
+    copyright rights in its Contribution, if any, to grant the copyright license
+    set forth in this Agreement.
+
+3. REQUIREMENTS
+
+A Contributor may choose to distribute the Program in object code form under its
+own license agreement, provided that:
+
+    a) it complies with the terms and conditions of this Agreement; and
+
+    b) its license agreement:
+
+    i) effectively disclaims on behalf of all Contributors all warranties and
+    conditions, express and implied, including warranties or conditions of title
+    and non-infringement, and implied warranties or conditions of merchantability
+    and fitness for a particular purpose;
+
+    ii) effectively excludes on behalf of all Contributors all liability for
+    damages, including direct, indirect, special, incidental and consequential
+    damages, such as lost profits;
+
+    iii) states that any provisions which differ from this Agreement are offered
+    by that Contributor alone and not by any other party; and
+
+    iv) states that source code for the Program is available from such Contributor,
+    and informs licensees how to obtain it in a reasonable manner on or through
+    a medium customarily used for software exchange. 
+
+When the Program is made available in source code form:
+
+    a) it must be made available under this Agreement; and
+
+    b) a copy of this Agreement must be included with each copy of the Program. 
+
+Contributors may not remove or alter any copyright notices contained within the Program.
+
+Each Contributor must identify itself as the originator of its Contribution, if
+any, in a manner that reasonably allows subsequent Recipients to identify the
+originator of the Contribution.
+
+4. COMMERCIAL DISTRIBUTION
+
+Commercial distributors of software may accept certain responsibilities with
+respect to end users, business partners and the like. While this license is
+intended to facilitate the commercial use of the Program, the Contributor who
+includes the Program in a commercial product offering should do so in a manner
+which does not create potential liability for other Contributors. Therefore, if
+a Contributor includes the Program in a commercial product offering, such
+Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
+every other Contributor ("Indemnified Contributor") against any losses, damages
+and costs (collectively "Losses") arising from claims, lawsuits and other legal
+actions brought by a third party against the Indemnified Contributor to the
+extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product offering.
+The obligations in this section do not apply to any claims or Losses relating to
+any actual or alleged intellectual property infringement. In order to qualify,
+an Indemnified Contributor must: a) promptly notify the Commercial Contributor 
+n writing of such claim, and b) allow the Commercial Contributor to control,
+and cooperate with the Commercial Contributor in, the defense and any related
+settlement negotiations. The Indemnified Contributor may participate in any such
+claim at its own expense.
+
+For example, a Contributor might include the Program in a commercial product
+offering, Product X. That Contributor is then a Commercial Contributor. If that
+Commercial Contributor then makes performance claims, or offers warranties
+related to Product X, those performance claims and warranties are such Commercial
+Contributor's responsibility alone. Under this section, the Commercial
+Contributor would have to defend claims against the other Contributors related
+to those performance claims and warranties, and if a court requires any other
+Contributor to pay any damages as a result, the Commercial Contributor must pay
+those damages.
+
+5. NO WARRANTY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
+IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
+NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
+Recipient is solely responsible for determining the appropriateness of using
+and distributing the Program and assumes all risks associated with its exercise
+of rights under this Agreement, including but not limited to the risks and costs
+of program errors, compliance with applicable laws, damage to or loss of data,
+programs or equipment, and unavailability or interruption of operations.
+
+6. DISCLAIMER OF LIABILITY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
+CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
+PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
+WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
+GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+7. GENERAL
+
+If any provision of this Agreement is invalid or unenforceable under applicable
+law, it shall not affect the validity or enforceability of the remainder of the
+terms of this Agreement, and without further action by the parties hereto, such
+provision shall be reformed to the minimum extent necessary to make such
+provision valid and enforceable.
+
+If Recipient institutes patent litigation against a Contributor with respect to
+a patent applicable to software (including a cross-claim or counterclaim in a
+lawsuit), then any patent licenses granted by that Contributor to such Recipient
+under this Agreement shall terminate as of the date such litigation is filed.
+In addition, if Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging that the Program
+itself (excluding combinations of the Program with other software or hardware)
+infringes such Recipient's patent(s), then such Recipient's rights granted under
+Section 2(b) shall terminate as of the date such litigation is filed.
+
+All Recipient's rights under this Agreement shall terminate if it fails to comply
+with any of the material terms or conditions of this Agreement and does not cure
+such failure in a reasonable period of time after becoming aware of such
+noncompliance. If all Recipient's rights under this Agreement terminate, Recipient
+agrees to cease use and distribution of the Program as soon as reasonably
+practicable. However, Recipient's obligations under this Agreement and any
+licenses granted by Recipient relating to the Program shall continue and survive.
+
+Everyone is permitted to copy and distribute copies of this Agreement, but in
+order to avoid inconsistency the Agreement is copyrighted and may only be modified
+in the following manner. The Agreement Steward reserves the right to publish new
+versions (including revisions) of this Agreement from time to time. No one other
+than the Agreement Steward has the right to modify this Agreement. IBM is the
+initial Agreement Steward. IBM may assign the responsibility to serve as the
+Agreement Steward to a suitable separate entity. Each new version of the Agreement
+will be given a distinguishing version number. The Program (including Contributions)
+may always be distributed subject to the version of the Agreement under which it
+was received. In addition, after a new version of the Agreement is published,
+Contributor may elect to distribute the Program (including its Contributions)
+under the new version. Except as expressly stated in Sections 2(a) and 2(b) above,
+Recipient receives no rights or licenses to the intellectual property of any
+Contributor under this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under this Agreement
+are reserved.
+
+This Agreement is governed by the laws of the State of New York and the
+intellectual property laws of the United States of America. No party to this
+Agreement will bring a legal action under this Agreement more than one year after
+the cause of action arose. Each party waives its rights to a jury trial in any
+resulting litigation.
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/dom4j.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/dom4j.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/dom4j.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,12 @@
+Redistribution and use of this software and associated documentation ("Software"), with or without modification, are permitted provided that the following conditions are met:
+
+   1. Redistributions of source code must retain copyright statements and notices. Redistributions must also contain a copy of this document.
+   2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+   3. The name "DOM4J" must not be used to endorse or promote products derived from this Software without prior written permission of MetaStuff, Ltd. For written permission, please contact dom4j-info at metastuff.com.
+   4. Products derived from this Software may not be called "DOM4J" nor may "DOM4J" appear in their names without prior written permission of MetaStuff, Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.
+   5. Due credit should be given to the DOM4J Project - http://www.dom4j.org
+
+THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Copyright 2001-2004 (C) MetaStuff, Ltd. All Rights Reserved. 
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/hsqldb.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/hsqldb.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/hsqldb.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,65 @@
+/* Copyright (c) 1995-2000, The Hypersonic SQL Group.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * Neither the name of the Hypersonic SQL Group nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE HYPERSONIC SQL GROUP, 
+ * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * This software consists of voluntary contributions made by many individuals 
+ * on behalf of the Hypersonic SQL Group.
+ *
+ *
+ * For work added by the HSQL Development Group:
+ *
+ * Copyright (c) 2001-2005, The HSQL Development Group
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * Neither the name of the HSQL Development Group nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL HSQL DEVELOPMENT GROUP, HSQLDB.ORG, 
+ * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+ 
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/ironsmith.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/ironsmith.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/ironsmith.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,52 @@
+/* ====================================================================
+ * The IronSmith Software License, Version 1.1
+ *
+ * (this license is derived and fully compatible with the Apache Software
+ * License - see http://www.apache.org/LICENSE.txt)
+ *
+ * Copyright (c) 2002 The IronSmith Project. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in
+ *    the documentation and/or other materials provided with the
+ *    distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ *    if any, must include the following acknowledgment:
+ *       "This product includes software developed by the
+ *        IronSmith Project (http://www.ironsmith.org/)."
+ *    Alternately, this acknowledgment may appear in the software itself,
+ *    if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "IronSmith" and "The IronSmith Project"
+ *    must not be used to endorse or promote products derived from this
+ *    software without prior written permission. For written
+ *    permission, please contact help at ironsmith.org.
+ *
+ * 5. Products derived from this software may not be called "IronSmith"
+ *    or "QDox", nor may "IronSmith" or "QDox" appear in their
+ *    name, without prior written permission of the IronSmith Project.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ */
+
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/jaxen.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/jaxen.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/jaxen.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+/*
+ $Id: jaxen.txt,v 1.2 2006/09/19 10:57:22 dimitris Exp $
+
+ Copyright 2003-2006 The Werken Company. All Rights Reserved.
+ 
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+  * Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+
+  * Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+
+  * Neither the name of the Jaxen Project nor the names of its
+    contributors may be used to endorse or promote products derived 
+    from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
+OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ */
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/juddi.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/juddi.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/juddi.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+                    jUDDI License
+
+Copyright (c) 2003, Steve Viens and contributors.
+All rights reserved. Redistribution and use in source and
+binary forms, with or without modification, are permitted
+provided that the following conditions are met:
+
+* Redistributions of source code must retain the above
+  copyright notice, this list of conditions and the
+  following disclaimer.
+
+* Redistributions in binary form must reproduce the
+  above copyright notice, this list of conditions and
+  the following disclaimer in the documentation and/or
+  other materials provided with the distribution.
+
+* Neither name of Steve Viens nor the names of any
+  jUDDI contributors may be used to endorse or promote
+  products derived from this software without specific 
+  prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+CONTRIBUTORS &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/lgpl.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/lgpl.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/lgpl.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,504 @@
+		  GNU LESSER GENERAL PUBLIC LICENSE
+		       Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL.  It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+  This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it.  You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+  When we speak of free software, we are referring to freedom of use,
+not price.  Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+  To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights.  These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  To protect each distributor, we want to make it very clear that
+there is no warranty for the free library.  Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+  Finally, software patents pose a constant threat to the existence of
+any free program.  We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder.  Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+  Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License.  This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License.  We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+  When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library.  The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom.  The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+  We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License.  It also provides other free software developers Less
+of an advantage over competing non-free programs.  These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries.  However, the Lesser license provides advantages in certain
+special circumstances.
+
+  For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard.  To achieve this, non-free programs must be
+allowed to use the library.  A more frequent case is that a free
+library does the same job as widely used non-free libraries.  In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+  In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software.  For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+  Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+		  GNU LESSER GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+  
+  1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+  You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+  2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+
+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+  If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+  6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Use a suitable shared library mechanism for linking with the
+    Library.  A suitable mechanism is one that (1) uses at run time a
+    copy of the library already present on the user's computer system,
+    rather than copying library functions into the executable, and (2)
+    will operate properly with a modified version of the library, if
+    the user installs one, as long as the modified version is
+    interface-compatible with the version that the work was made with.
+
+    c) Accompany the work with a written offer, valid for at
+    least three years, to give the same user the materials
+    specified in Subsection 6a, above, for a charge no more
+    than the cost of performing this distribution.
+
+    d) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    e) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded.  In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+			    NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+           How to Apply These Terms to Your New Libraries
+
+  If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change.  You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+  To apply these terms, attach the following notices to the library.  It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the library's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+  <signature of Ty Coon>, 1 April 1990
+  Ty Coon, President of Vice
+
+That's all there is to it!
+
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/license-info.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/license-info.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/license-info.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,248 @@
+<!-- A summary of the licenses used by the repository components
+$Id: license-info.xml,v 1.12 2007/02/13 21:03:45 tdiesler Exp $
+-->
+<licenses>
+   <!-- The valid headers for each license type. These headers are validated
+   by the org.jboss.tools.copyright.ValidateLicenseHeaders utility.
+   -->
+   <license id="apache-1.1" licenseFile="apache-1.1.txt">
+      <terms-header id="apache#1">
+          * The Apache Software License, Version 1.1
+          *
+          *
+          * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights 
+          * reserved.
+          *
+          * Redistribution and use in source and binary forms, with or without
+          * modification, are permitted provided that the following conditions
+          * are met:
+      </terms-header>
+      <terms-header id="apache#2">
+          * Copyright (C) The Apache Software Foundation. All rights reserved.
+          *
+          * This software is published under the terms of the Apache Software License
+          * version 1.1, a copy of which has been included with this distribution in
+          * the docs/licenses/apache-1.1.txt file.
+      </terms-header>
+   </license>
+   <license id="apache-2.0" licenseFile="apache-2.0.txt">
+      <terms-header id="apache2#1">
+       * Copyright 2001-2004 The Apache Software Foundation.
+       *
+       * Licensed under the Apache License, Version 2.0 (the "License");
+       * you may not use this file except in compliance with the License.
+       * You may obtain a copy of the License at
+       *
+       *      http://www.apache.org/licenses/LICENSE-2.0
+       *
+       * Unless required by applicable law or agreed to in writing, software
+       * distributed under the License is distributed on an "AS IS" BASIS,
+       * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+       * See the License for the specific language governing permissions and
+       * limitations under the License.
+      </terms-header>
+   </license>
+   <license id="bouncycastle" licenseFile="bouncycastle.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="bsd" licenseFile="bsd.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="cpl-1.0" licenseFile="cpl-1.0.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="dom4j" licenseFile="dom4-license.txt">
+   </license>
+   <license id="epl-1.0" licenseFile="epl-1.0.txt">
+      <terms-header/>
+   </license>
+   <license id="hsqldb" licenseFile="hsqldb.txt">
+      <terms-header/>
+   </license>
+   <license id="lgpl" licenseFile="lgpl.txt">
+      <terms-header id="jboss#0">
+         JBoss, Home of Professional Open Source.
+         Copyright 2006, Red Hat Middleware LLC, and individual contributors
+         as indicated by the @author tags. See the copyright.txt file in the
+         distribution for a full listing of individual contributors.
+         This is free software; you can redistribute it and/or modify it
+         under the terms of the GNU Lesser General Public License as
+         published by the Free Software Foundation; either version 2.1 of
+         the License, or (at your option) any later version.
+         This software is distributed in the hope that it will be useful,
+         but WITHOUT ANY WARRANTY; without even the implied warranty of
+         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+         Lesser General Public License for more details.
+         You should have received a copy of the GNU Lesser General Public
+         License along with this software; if not, write to the Free
+         Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+         02110-1301 USA, or see the FSF site: http://www.fsf.org.
+      </terms-header>
+      <!-- Legacy jboss headers that should be replaced with jboss#0 -->      
+      <terms-header id="jboss#1">
+         JBoss, Home of Professional Open Source
+         Copyright 2005, JBoss Inc., and individual contributors as indicated
+         by the @authors tag. See the copyright.txt in the distribution for a
+         full listing of individual contributors.
+         This is free software; you can redistribute it and/or modify it
+         under the terms of the GNU Lesser General Public License as
+         published by the Free Software Foundation; either version 2.1 of
+         the License, or (at your option) any later version.
+         This software is distributed in the hope that it will be useful,
+         but WITHOUT ANY WARRANTY; without even the implied warranty of
+         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+         Lesser General Public License for more details.
+         You should have received a copy of the GNU Lesser General Public
+         License along with this software; if not, write to the Free
+         Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+         02110-1301 USA, or see the FSF site: http://www.fsf.org.
+      </terms-header>
+      <terms-header id="jboss#2">
+         JBoss, Home of Professional Open Source
+         Distributable under LGPL license.
+         See terms of license at gnu.org.
+      </terms-header>
+      <terms-header id="jboss#3">
+         JBoss, the OpenSource J2EE webOS
+         Distributable under LGPL license.
+         See terms of license at gnu.org.
+      </terms-header>
+      <terms-header id="jboss#4">
+         JBoss, the OpenSource EJB server
+         Distributable under LGPL license.
+         See terms of license at gnu.org.
+      </terms-header>
+      <terms-header id="jboss#5">
+         JBoss, the OpenSource WebOS
+         Distributable under LGPL license.
+         See terms of license at gnu.org.
+      </terms-header>
+      <terms-header id="jboss#6">
+         JBoss: The OpenSource J2EE WebOS
+         Distributable under LGPL license.
+         See terms of license at gnu.org.
+      </terms-header>
+      <terms-header id="jboss#7">
+          * JBossMQ, the OpenSource JMS implementation
+          * 
+          * Distributable under LGPL license. See terms of license at gnu.org.
+      </terms-header>
+      <terms-header id="intracom#1">
+          * Copyright (c) 2003,  Intracom S.A. - www.intracom.com
+          *
+          * This library is free software; you can redistribute it and/or
+          * modify it under the terms of the GNU Lesser General Public
+          * License as published by the Free Software Foundation; either
+          * version 2 of the License, or (at your option) any later version
+          *
+          * This library is distributed in the hope that it will be useful,
+          * but WITHOUT ANY WARRANTY; without even the implied warranty of
+          * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+          * Lesser General Public License for more details.
+          *
+          * You should have received a copy of the GNU Lesser General Public
+          * License along with this library; if not, write to the Free Software
+          * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+          *
+          * This package and its source code is available at www.jboss.org
+      </terms-header>
+   </license>
+   <license id="jbpm-bpel" licenseFile="jbpm-bpel.txt">
+      <terms-header id="jbpm-bpel#0">
+      * JBoss, Home of Professional Open Source
+      * Copyright 2005, JBoss Inc., and individual contributors as indicated
+      * by the @authors tag.
+      *
+      * This is free software; you can redistribute it and/or modify it
+      * under the terms of the JBPM BPEL PUBLIC LICENSE AGREEMENT as
+      * published by JBoss Inc.; either version 1.0 of the License, or
+      * (at your option) any later version.
+      *
+      * This software is distributed in the hope that it will be useful,
+      * but WITHOUT ANY WARRANTY; without even the implied warranty of
+      * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+      </terms-header>
+   </license>
+   <license id="mit" licenseFile="mit.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="mozilla" licenseFile="mozilla-1.0.1.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="opensaml" licenseFile="opensaml.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="public-domain" licenseFile="public-domain.txt">
+      <terms-header/>
+   </license>   
+   <license id="ironsmith" licenseFile="ironsmith.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="joram-tests">
+      <terms-header id="joram-tests#1">
+       * JORAM: Java(TM) Open Reliable Asynchronous Messaging
+       * Copyright (C) 2002 INRIA
+       * Contact: joram-team at objectweb.org
+       * 
+       * This library is free software; you can redistribute it and/or
+       * modify it under the terms of the GNU Lesser General Public
+       * License as published by the Free Software Foundation; either
+       * version 2.1 of the License, or any later version.
+       * 
+       * This library is distributed in the hope that it will be useful,
+       * but WITHOUT ANY WARRANTY; without even the implied warranty of
+       * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+       * Lesser General Public License for more details.
+      </terms-header>
+   </license>
+   <license id="juddi" licenseFile="juddi.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="sleepycat" licenseFile="sleepycat.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="sun-jaf" licenseFile="sun-jaf.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="sun-javamail" licenseFile="sun-javamail.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="sun-jmf" licenseFile="sun-jmf.txt">
+      <terms-header>
+      </terms-header>
+   </license>
+   <license id="sun-misc">
+      <terms-header id="sun-misc#1">
+       * Copyright (c) 1998, 1999 Sun Microsystems, Inc. All Rights Reserved.
+       *
+       * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
+       * modify and redistribute this software in source and binary code form,
+       * provided that i) this copyright notice and license appear on all copies of
+       * the software; and ii) Licensee does not utilize the software in a manner
+       * which is disparaging to Sun.
+      </terms-header>
+   </license>
+   <license id="w3c" licenseFile="w3c.txt">
+      <terms-header id="w3c#1">
+     * Copyright (c) 2004 World Wide Web Consortium,
+     *
+     * (Massachusetts Institute of Technology, European Research Consortium for
+     * Informatics and Mathematics, Keio University). All Rights Reserved. This
+     * work is distributed under the W3C(r) Software License [1] in the hope that
+     * it will be useful, but WITHOUT ANY WARRANTY; without even the implied
+     * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+      </terms-header>
+   </license>
+</licenses>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/oswego.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/oswego.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/oswego.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,7 @@
+All classes are released to the public domain and may be used for any purpose
+whatsoever without permission or acknowledgment. Portions of the
+CopyOnWriteArrayList and ConcurrentReaderHashMap classes are adapted from Sun
+JDK source code. These are copyright of Sun Microsystems, Inc, and are used
+with their kind permission, as described in this license.
+http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/sun-u.c.license.pdf
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/thirdparty-licenses.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/thirdparty-licenses.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/thirdparty-licenses.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,645 @@
+<thirdparty-licenses>	<module name='jboss/jaxr'
+		licenseType='lgpl'
+		version='1.2.0.GA'
+		projectHome='null'
+		description='JBoss JAXR implementation'>
+		<jar name='juddi-service.sar' />
+		<jar name='juddi-saaj.jar' />
+	</module>
+	<module name='apache-digester'
+		licenseType='apache-2.0'
+		version='1.7-brew'
+		projectHome='http://jakarta.apache.org/commons/digester/'
+		description='XML to Java object mapping module'>
+		<jar name='commons-digester.jar' />
+	</module>
+	<module name='jboss/jbossts14'
+		licenseType='lgpl'
+		version='4.2.3.SP6'
+		projectHome='http://labs.jboss.com/portal/jbosstm'
+		description='JBoss Transaction Service'>
+		<jar name='jbossjta.jar' />
+		<jar name='jbossjta-integration.jar' />
+		<jar name='jbossts-common.jar' />
+		<jar name='jbossjta-properties.xml' />
+	</module>
+	<module name='apache-collections'
+		licenseType='apache-2.0'
+		version='3.1-brew'
+		projectHome='http://jakarta.apache.org/commons/collections/'
+		description='Extensions to java.util type of collections'>
+		<jar name='commons-collections.jar' />
+	</module>
+	<module name='apache-velocity'
+		licenseType='apache-2.0'
+		version='1.4jboss-brew'
+		projectHome='http://jakarta.apache.org/velocity'
+		description='Velocity is a Java-based template engine.               This jboss patch allows ',' and ':' characters to be in a               variable character set to work around the problem that velocity               has no way to escape ${x:y} and ${x,y:z} constructs that should               just pass through the template engine unchanged'>
+		<jar name='velocity.jar' />
+	</module>
+	<module name='qdox'
+		licenseType='ironsmith'
+		version='1.6.1-brew'
+		projectHome='http://qdox.codehaus.org/'
+		description='Parser for extracting class/interface/method definitions from source files complete with JavaDoc @tags.'>
+		<jar name='qdox.jar' />
+	</module>
+	<module name='apache-avalon'
+		licenseType='apache-1.1'
+		version='4.1.5-brew'
+		projectHome='http://www.apache.org/dist/avalon/avalon-framework/'
+		description='Java Apache Server Framework'>
+		<jar name='avalon-framework.jar' />
+	</module>
+	<module name='jboss/profiler/jvmti'
+		licenseType='lgpl'
+		version='1.0.0.CR5-brew'
+		projectHome='http://www.jboss.org/profiler'
+		description='JVMTI Wrapper Library'>
+		<jar name='jboss-profiler-jvmti.jar' />
+	</module>
+	<module name='oswego-concurrent'
+		licenseType='oswego'
+		version='1.3.4-jboss'
+		projectHome='http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html'
+		description='Oswego util.concurrent package'>
+		<jar name='concurrent.jar' />
+		<jar name='concurrent-src.zip' />
+	</module>
+	<module name='jacorb'
+		licenseType='lgpl'
+		version='2.3.0jboss.patch5-brew'
+		projectHome='http://www.jacorb.org'
+		description='Java implementation of the OMG's CORBA standard.'>
+		<jar name='idl.jar' />
+		<jar name='idl_g.jar' />
+		<jar name='jacorb.jar' />
+		<jar name='jacorb_g.jar' />
+		<jar name='orb.idl' />
+		<jar name='CSI.idl' />
+		<jar name='CosTransactions.idl' />
+		<jar name='jacorb.properties' />
+	</module>
+	<module name='apache-avalon-logkit'
+		licenseType='apache-1.1'
+		version='1.2-brew'
+		projectHome='http://www.apache.org/dist/avalon/logkit/'
+		description='Java Apache Server Framework Logging'>
+		<jar name='logkit.jar' />
+	</module>
+	<module name='jboss/jboss-vfs'
+		licenseType='lgpl'
+		version='1.0.0.GA'
+		projectHome='null'
+		description='A VFS library'>
+		<jar name='jboss-vfs.jar' />
+		<jar name='jboss-vfs-sources.jar' />
+	</module>
+	<module name='wscommons-policy'
+		licenseType='apache-2.0'
+		version='1.0'
+		projectHome='http://ws.apache.org/commons/policy/'
+		description='An implementation of WS-Policy specification'>
+		<jar name='policy.jar' />
+	</module>
+	<module name='trove'
+		licenseType='lgpl'
+		version='1.0.2-brew'
+		projectHome='http://trove4j.sourceforge.net/'
+		description='High performance collections for Java'>
+		<jar name='trove.jar' />
+	</module>
+	<module name='sun-javacc'
+		licenseType='bsd'
+		version='3.2'
+		projectHome='https://javacc.dev.java.net/'
+		description='JavaCC is a parser/scanner generator for java'>
+		<jar name='javacc.jar' />
+	</module>
+	<module name='gjt-jpl-util'
+		licenseType='lgpl'
+		version='1.0'
+		projectHome='http://www.gjt.org/pkgdoc/org/gjt/lindfors/util/'
+		description='Miscellaneous utility classes and methods'>
+		<jar name='jpl-util.jar' />
+		<jar name='jpl-pattern.jar' />
+	</module>
+	<module name='jboss/jbossws-spi'
+		licenseType='lgpl'
+		version='1.0.0.GA'
+		projectHome='null'
+		description='JBossWS SPI'>
+		<jar name='jbossws-spi.jar' />
+		<jar name='jbossws-spi-src.zip' />
+	</module>
+	<module name='quartz'
+		licenseType='apache-2.0'
+		version='1.5.2-brew'
+		projectHome='http://www.opensymphony.com/'
+		description='Quartz is a full-featured, open source job scheduling system that can be integrated with, or used along side virtually any J2EE or J2SE application'>
+		<jar name='quartz-all.jar' />
+		<jar name='quartz.jar' />
+	</module>
+	<module name='sun-jstl'
+		licenseType='cddl'
+		version='1.2'
+		projectHome='http://jcp.org/en/jsr/detail?id=52'
+		description='The JSTL 1.2 implementation'>
+		<jar name='jstl.jar' />
+	</module>
+	<module name='apache-fileupload'
+		licenseType='apache-2.0'
+		version='1.1.1-brew'
+		projectHome='http://jakarta.apache.org/commons/fileupload/'
+		description='FileUpload parses HTTP requests which conform to RFC 1867'>
+		<jar name='commons-fileupload.jar' />
+	</module>
+	<module name='javassist'
+		licenseType='lgpl'
+		version='3.6.0.GA'
+		projectHome='http://sourceforge.net/projects/jboss'
+		description='Simple Java bytecode manipulation (cvstag rel_3_6_ga)'>
+		<jar name='javassist.jar' />
+		<jar name='javassist-src.jar' />
+	</module>
+	<module name='antlr'
+		licenseType='antlr'
+		version='2.7.6-brew'
+		projectHome='http://www.antlr.org/'
+		description='ANother Tool for Language Recognition'>
+		<jar name='antlr.jar' />
+	</module>
+	<module name='gnu-getopt'
+		licenseType='lgpl'
+		version='1.0.12-brew'
+		projectHome='http://www.urbanophile.com/arenn/hacking/download.html'
+		description='Java getopt classes for short and long argument parsing'>
+		<jar name='getopt.jar' />
+	</module>
+	<module name='jboss/web'
+		licenseType='lgpl'
+		version='2.0.1.GA'
+		projectHome='null'
+		description='JBoss Web 2.0.1.GA'>
+		<jar name='el-api.jar' />
+		<jar name='jasper-jdt.jar' />
+		<jar name='jbossweb.jar' />
+		<jar name='jbossweb-extras.jar' />
+		<jar name='jsp-api.jar' />
+		<jar name='servlet-api.jar' />
+		<jar name='jbossweb-src.zip' />
+	</module>
+	<module name='apache-xmlsec'
+		licenseType='apache-2.0'
+		version='1.3.0-brew'
+		projectHome='http://xml.apache.org/security/index.html'
+		description='implementation of security standards for XML'>
+		<jar name='xmlsec.jar' />
+	</module>
+	<module name='wutka-dtdparser'
+		licenseType='lgpl'
+		version='1.21-brew'
+		projectHome='http://www.wutka.com/dtdparser.html'
+		description='DTD parser for Java'>
+		<jar name='dtdparser.jar' />
+	</module>
+	<module name='sun-jsf'
+		licenseType='cddl'
+		version='1.2_04_P02'
+		projectHome='https://javaserverfaces.dev.java.net/'
+		description='The JSF 1.2 implementation'>
+		<jar name='jsf-api.jar' />
+		<jar name='jsf-impl.jar' />
+	</module>
+	<module name='cglib'
+		licenseType='apache-2.0'
+		version='2.1.3-brew'
+		projectHome='http://cglib.sourceforge.net/'
+		description='Code Generation Library with no dependencies'>
+		<jar name='cglib.jar' />
+	</module>
+	<module name='apache-xerces'
+		licenseType='apache-2.0'
+		version='2.7.1-brew'
+		projectHome='http://xml.apache.org/xerces2-j/index.html'
+		description='High performance, fully compliant XML parser'>
+		<jar name='xercesImpl.jar' />
+	</module>
+	<module name='jboss/jbossws-framework'
+		licenseType='lgpl'
+		version='2.0.1.GA'
+		projectHome='null'
+		description='JBossWS SPI'>
+		<jar name='jbossws-framework.jar' />
+		<jar name='jbossws-framework-scripts.zip' />
+	</module>
+	<module name='sun-jaf'
+		licenseType='cddl'
+		version='1.1'
+		projectHome='https://glassfish.dev.java.net/'
+		description='JavaBeans Activation Frameworkfrom glashfish(http://wiki.java.net/bin/view/Projects/GlassFishCodeDependencies)'>
+		<jar name='activation.jar' />
+	</module>
+	<module name='hibernate'
+		licenseType='lgpl'
+		version='3.2.4.SP1_CP01-brew'
+		projectHome='http://hibernate.org/'
+		description='ultra-high performance object/relational persistence'>
+		<jar name='hibernate3.jar' />
+	</module>
+	<module name='jboss/jbossws'
+		licenseType='lgpl'
+		version='2.0.1.SP2'
+		projectHome='null'
+		description='JBossWS an implementation of J2EE Web Services'>
+		<jar name='jbossws-client.jar' />
+		<jar name='jbossws-core.jar' />
+		<jar name='jboss-jaxrpc.jar' />
+		<jar name='jboss-jaxws.jar' />
+		<jar name='jboss-saaj.jar' />
+		<jar name='jbossws-core-src.zip' />
+		<jar name='jbossws-core-scripts.zip' />
+	</module>
+	<module name='beanshell'
+		licenseType='lgpl'
+		version='1.3.0-brew'
+		projectHome='http://www.beanshell.org/'
+		description='Lightweight Scripting for Java'>
+		<jar name='bsh.jar' />
+	</module>
+	<module name='woodstox'
+		licenseType='lgpl'
+		version='3.1.1-brew'
+		projectHome='http://woodstox.codehaus.org/'
+		description='A fast STAX parser implementation'>
+		<jar name='wstx.jar' />
+	</module>
+	<module name='jboss/jbossxb'
+		licenseType='lgpl'
+		version='1.0.0.SP1'
+		projectHome='http://anonsvn.jboss.org/repos/common/jbossxb/'
+		description='JBoss XML Binding'>
+		<jar name='jboss-xml-binding.jar' />
+		<jar name='jboss-xml-binding-sources.jar' />
+	</module>
+	<module name='apache-scout'
+		licenseType='apache-2.0'
+		version='0.7rc2'
+		projectHome='http://ws.apache.org/scout/'
+		description='An implementation of the JAXR spec'>
+		<jar name='scout.jar' />
+	</module>
+	<module name='joesnmp'
+		licenseType='lgpl'
+		version='0.3.4-brew'
+		projectHome='http://sourceforge.net/projects/joesnmp'
+		description='joeSNMP is an open-source Java SNMP library'>
+		<jar name='joesnmp.jar' />
+	</module>
+	<module name='apache-codec'
+		licenseType='apache-2.0'
+		version='1.3.0-brew'
+		projectHome='http://jakarta.apache.org/commons/codec/'
+		description='Commons Codec provides implementations of common encoders and decoders'>
+		<jar name='commons-codec.jar' />
+	</module>
+	<module name='apache-bcel'
+		licenseType='apache-2.0'
+		version='5.1-brew'
+		projectHome='http://jakarta.apache.org/bcel/index.html'
+		description='Byte Code Engineering Library'>
+		<jar name='bcel.jar' />
+	</module>
+	<module name='hibernate-annotations'
+		licenseType='lgpl'
+		version='3.2.1.GA'
+		projectHome='http://annotations.hibernate.org'
+		description='Annotations for Hibernate/EJB3'>
+		<jar name='hibernate-annotations.jar' />
+	</module>
+	<module name='stax-api'
+		licenseType='apache-2.0'
+		version='1.0'
+		projectHome='http://stax.codehaus.org/'
+		description='The STAX API'>
+		<jar name='stax-api.jar' />
+	</module>
+	<module name='hibernate-entitymanager'
+		licenseType='lgpl'
+		version='3.2.1.GA'
+		projectHome='http://entitymanager.hibernate.org/'
+		description='Hibernate EntityManager for EJB3'>
+		<jar name='hibernate-entitymanager.jar' />
+		<jar name='ejb3-persistence.jar' />
+	</module>
+	<module name='apache-log4j'
+		licenseType='apache-2.0'
+		version='1.2.14-brew'
+		projectHome='http://logging.apache.org/'
+		description='Java logging framework'>
+		<jar name='log4j.jar' />
+	</module>
+	<module name='jboss/jbossws-common'
+		licenseType='lgpl'
+		version='1.0.0.GA'
+		projectHome='null'
+		description='JBossWS Common'>
+		<jar name='jbossws-common.jar' />
+	</module>
+	<module name='apache-slide'
+		licenseType='apache-2.0'
+		version='2.1-brew'
+		projectHome='http://jakarta.apache.org/slide/index.html'
+		description='WebDAV Support Library'>
+		<jar name='jakarta-slide-webdavlib.jar' />
+	</module>
+	<module name='jboss/common'
+		licenseType='lgpl'
+		version='1.2.1.GA'
+		projectHome='null'
+		description='Common utilities used in Branch_4_2 of the JBossAS project, compiled with jdk14'>
+		<jar name='namespace.jar' />
+		<jar name='jboss-common.jar' />
+		<jar name='jboss-common-client.jar' />
+		<jar name='jboss-common-sources.jar' />
+	</module>
+	<module name='jgroups'
+		licenseType='lgpl'
+		version='2.4.1.SP4'
+		projectHome='http://www.jgroups.org'
+		description='JGroups is a toolkit for reliable multicast communication'>
+		<jar name='jgroups.jar' />
+	</module>
+	<module name='jboss/cache'
+		licenseType='lgpl'
+		version='1.4.1.SP5'
+		projectHome='http://www.jboss.org/products/jbosscache'
+		description='JBoss Cache is a product designed to cache                frequently accessed Java objects in order to dramatically improve                the performance of e-business applications.'>
+		<jar name='jboss-cache-jdk50.jar' />
+	</module>
+	<module name='hsqldb'
+		licenseType='hsqldb'
+		version='1.8.0.8-brew'
+		projectHome='http://hsqldb.org/'
+		description='Java relational database engine supporting a subset of ANSI-92 SQL plus SQL 99 and 2003 enhancements'>
+		<jar name='hsqldb.jar' />
+	</module>
+	<module name='apache-httpclient'
+		licenseType='apache-2.0'
+		version='3.0.1-brew'
+		projectHome='http://jakarta.apache.org/commons/httpclient/'
+		description='Implementation of client side of the most recent HTTP standards'>
+		<jar name='commons-httpclient.jar' />
+	</module>
+	<module name='jboss/dom4j-jarjar'
+		licenseType='dom4j'
+		version='1.6.1'
+		projectHome='http://dom4j.org/'
+		description='JarJar Dom4j(base package = org.jboss.dom4j)'>
+		<jar name='dom4j-jarjar.jar' />
+	</module>
+	<module name='jboss/remoting'
+		licenseType='lgpl'
+		version='2.2.2.SP1-brew'
+		projectHome='http://www.jboss.org/products/remoting'
+		description='a single API for most network based invocations and related service that uses pluggable transports and data marshallers'>
+		<jar name='jboss-remoting.jar' />
+	</module>
+	<module name='jbpm/jpdl'
+		licenseType='lgpl'
+		version='3.2.0.Beta2'
+		projectHome='http://jbpm.org/'
+		description='BPM and workflow engine in Java'>
+		<jar name='jbpm-jpdl.jar' />
+	</module>
+	<module name='jbpm/bpel'
+		licenseType='cpl-1.0'
+		version='1.1.0.Beta5'
+		projectHome='http://jbpm.org/'
+		description='Web services orchestration platform'>
+		<jar name='jbpm-bpel.jar' />
+		<jar name='jbpm-bpel.war' />
+		<jar name='jbpm-bpel.sar' />
+	</module>
+	<module name='apache-lang'
+		licenseType='apache-2.0'
+		version='2.1-brew'
+		projectHome='http://jakarta.apache.org/commons/lang/'
+		description='no description'>
+		<jar name='commons-lang-2.1.jar' />
+		<jar name='commons-lang.jar' />
+	</module>
+	<module name='jfreechart'
+		licenseType='lgpl'
+		version='0.9.20'
+		projectHome='http://www.jfree.org/jfreechart/'
+		description='A free Java class library for generating charts, including'>
+		<jar name='jfreechart.jar' />
+		<jar name='jcommon.jar' />
+	</module>
+	<module name='junit'
+		licenseType='cpl-1.0'
+		version='3.8.2-brew'
+		projectHome='http://www.junit.org/index.htm'
+		description='Java unit testing framework'>
+		<jar name='junit.jar' />
+	</module>
+	<module name='xdoclet'
+		licenseType='xdoclet'
+		version='1.2.3-brew'
+		projectHome='http://xdoclet.sourceforge.net/xdoclet/index.html'
+		description='Open source code generation engine'>
+		<jar name='xdoclet-ejb-module.jar' />
+		<jar name='xdoclet-hibernate-module.jar' />
+		<jar name='xdoclet-java-module.jar' />
+		<jar name='xdoclet-jboss-module.jar' />
+		<jar name='xdoclet-jmx-module.jar' />
+		<jar name='xdoclet-portlet-module.jar' />
+		<jar name='xdoclet-web-module.jar' />
+		<jar name='xdoclet-xdoclet-module.jar' />
+		<jar name='xjavadoc.jar' />
+		<jar name='xdoclet.jar' />
+	</module>
+	<module name='jboss/microcontainer'
+		licenseType='lgpl'
+		version='1.0.2'
+		projectHome='null'
+		description='no description'>
+		<jar name='jboss-container.jar' />
+		<jar name='jboss-dependency.jar' />
+		<jar name='jboss-microcontainer.jar' />
+	</module>
+	<module name='odmg'
+		licenseType='apache-2.0'
+		version='3.0-brew'
+		projectHome='http://www.odmg.org/'
+		description='ODMG Java binding'>
+		<jar name='odmg.jar' />
+	</module>
+	<module name='dom4j'
+		licenseType='dom4j'
+		version='1.6.1-brew'
+		projectHome='http://dom4j.org/'
+		description='Library for XML, XPath and XSLT on the Java platform'>
+		<jar name='dom4j.jar' />
+	</module>
+	<module name='apache-jaxme'
+		licenseType='apache-2.0'
+		version='0.2-cvs'
+		projectHome='http://ws.apache.org/jaxme/'
+		description='no description'>
+		<jar name='jaxmexs.jar' />
+	</module>
+	<module name='sun-jaxb'
+		licenseType='cddl'
+		version='2.1.4'
+		projectHome='https://jaxb.dev.java.net/'
+		description='The JAXB 2.1 implementation'>
+		<jar name='jaxb-api.jar' />
+		<jar name='jaxb-xjc.jar' />
+		<jar name='jaxb-impl.jar' />
+	</module>
+	<module name='ibm-wsdl4j'
+		licenseType='cpl-1.0'
+		version='1.6.2-brew'
+		projectHome='http://sourceforge.net/projects/wsdl4j'
+		description='Web Services Description Language for Java Toolkit'>
+		<jar name='wsdl4j.jar' />
+		<jar name='wsdl4j-src.jar' />
+	</module>
+	<module name='apache-bsf'
+		licenseType='apache-1.1'
+		version='2.3.0-brew'
+		projectHome='http://jakarta.apache.org/bsf/'
+		description='Apache Bean Scripting Framework (BSF)'>
+		<jar name='bsf.jar' />
+	</module>
+	<module name='sun-javamail'
+		licenseType='cddl'
+		version='1.4'
+		projectHome='https://glassfish.dev.java.net/javaee5/mail/'
+		description='JavaMail APIs from glashfish(http://wiki.java.net/bin/view/Projects/GlassFishCodeDependencies)'>
+		<jar name='mail.jar' />
+	</module>
+	<module name='apache-discovery'
+		licenseType='apache-2.0'
+		version='0.4-brew'
+		projectHome='http://jakarta.apache.org/commons/discovery/'
+		description='Jakarta Commons Discovery'>
+		<jar name='commons-discovery.jar' />
+	</module>
+	<module name='jboss/jbossws-native42'
+		licenseType='lgpl'
+		version='2.0.1.SP2'
+		projectHome='null'
+		description='JBossWS an implementation of J2EE Web Services'>
+		<jar name='jbossws-native42.sar' />
+	</module>
+	<module name='snmptrapappender'
+		licenseType='apache-2.0'
+		version='1.2.8-brew'
+		projectHome=' http://www.m2technologies.net/asp/snmpTrapAppender.asp'
+		description='SNMP Trap Appender extension for log4j'>
+		<jar name='snmpTrapAppender.jar' />
+	</module>
+	<module name='juddi'
+		licenseType='juddi'
+		version='0.9RC4-brew'
+		projectHome='http://ws.apache.org/juddi/'
+		description='Universal Description, Discovery, and Integration (UDDI)'>
+		<jar name='juddi.jar' />
+		<jar name='juddi.war' />
+	</module>
+	<module name='jaxen'
+		licenseType='jaxen'
+		version='1.1-brew'
+		projectHome='http://jaxen.codehaus.org/'
+		description='Java XPath Engine'>
+		<jar name='jaxen.jar' />
+	</module>
+	<module name='sun-jaxws'
+		licenseType='null'
+		version='2.1.1'
+		projectHome='https://jax-ws.dev.java.net/'
+		description='no description'>
+		<jar name='FastInfoset.jar' />
+		<jar name='http.jar' />
+		<jar name='jaxws-api.jar' />
+		<jar name='jaxws-rt.jar' />
+		<jar name='jaxws-tools.jar' />
+		<jar name='jsr173_api.jar' />
+		<jar name='jsr181-api.jar' />
+		<jar name='jsr250-api.jar' />
+		<jar name='saaj-api.jar' />
+		<jar name='saaj-impl.jar' />
+		<jar name='sjsxp.jar' />
+		<jar name='stax-ex.jar' />
+		<jar name='streambuffer.jar' />
+	</module>
+	<module name='objectweb-joramtests'
+		licenseType='lgpl'
+		version='1.1'
+		projectHome='null'
+		description='no description'>
+		<jar name='joram-tests.jar' />
+	</module>
+	<module name='jboss/aop'
+		licenseType='lgpl'
+		version='1.5.6.GA'
+		projectHome='http://www.jboss.org/products/aop'
+		description='JBoss Aspect Oriented Programming'>
+		<jar name='common-softvaluehashmap.jar' />
+		<jar name='jboss-aop-jdk50-client.jar' />
+		<jar name='jboss-aop-jdk50.jar' />
+		<jar name='jboss-aop.jar' />
+		<jar name='jdk14-pluggable-instrumentor.jar' />
+		<jar name='jrockit-pluggable-instrumentor.jar' />
+		<jar name='pluggable-instrumentor.jar' />
+	</module>
+	<module name='sun-servlet'
+		licenseType='apache-2.0'
+		version='2.5-brew'
+		projectHome='http://jakarta.apache.org/tomcat/index.html'
+		description='Tomcat 6.0.10 servlet 2.5 spec api classes (jsp 2.1)'>
+		<jar name='servlet-api.jar' />
+		<jar name='jsp-api.jar' />
+	</module>
+	<module name='apache-logging'
+		licenseType='apache-2.0'
+		version='1.1.0.jboss'
+		projectHome='http://jakarta.apache.org/commons/logging/'
+		description='Yet another logging api. This is the 1.1 release with the reflective log4j logger patch.'>
+		<jar name='commons-logging.jar' />
+		<jar name='commons-logging-src.zip' />
+	</module>
+	<module name='apache-beanutils'
+		licenseType='apache-2.0'
+		version='1.7.0-brew'
+		projectHome='http://jakarta.apache.org/commons/beanutils/'
+		description='Jakarta Commons BeanUtils Package'>
+		<jar name='commons-beanutils.jar' />
+	</module>
+	<module name='apache-xalan'
+		licenseType='apache-2.0'
+		version='2.7.0.patch01-brew'
+		projectHome='http://xml.apache.org/xalan-j/'
+		description='Xalan-Java is an XSLT processor for transforming XML documents'>
+		<jar name='xalan.jar' />
+		<jar name='serializer.jar' />
+	</module>
+	<module name='jboss/serialization'
+		licenseType='lgpl'
+		version='1.0.3.GA'
+		projectHome='http://labs.jboss.com/serialization'
+		description='JBoss Alternative Serialization'>
+		<jar name='jboss-serialization.jar' />
+	</module>
+	<module name='apache-xml-commons'
+		licenseType='apache-2.0'
+		version='1.3.03-brew'
+		projectHome='http://xml.apache.org/commons/'
+		description='Common code for XML projects'>
+		<jar name='resolver.jar' />
+		<jar name='xml-apis.jar' />
+	</module>
+</thirdparty-licenses>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/xdoclet.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/xdoclet.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/licenses/xdoclet.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+Copyright (c) 2000-2004, XDoclet Team
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list
+of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright notice, this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+
+Neither the name of the XDoclet team nor the names of its contributors may be
+used to endorse or promote products derived from this software without specific
+prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/README-SCHEMA.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/README-SCHEMA.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/README-SCHEMA.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,18 @@
+$Id: README-SCHEMA.txt 60567 2007-02-15 11:35:43Z dimitris at jboss.org $
+The following files contained within this folder are covered by license terms
+documented in docs/licenses/sun-specs.txt of the distribution. 
+
+application_1_4.xsd
+application-client_1_4.xsd
+connector_1_5.xsd
+ejb-jar_2_1.xsd
+j2ee_1_4.xsd
+j2ee_jaxrpc_mapping_1_1.xsd
+j2ee_web_services_1_1.xsd
+j2ee_web_services_client_1_1.xsd
+jsp_2_0.xsd
+web-app_2_4.xsd
+web-jsptaglibrary_2_0.xsd
+
+More details on using these J2EE Schemas are available at:
+java.sun.com/xml/ns/j2ee/#usage

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application-client_1_4.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application-client_1_4.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application-client_1_4.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,266 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="1.4">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)application-client_1_4.xsds	1.17 02/11/03
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2002 Sun Microsystems, Inc., 901 San Antonio
+      Road, Palo Alto, California 94303, U.S.A. All rights
+      reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	This is the XML Schema for the application client 1.4
+	deployment descriptor.  The deployment descriptor must
+	be named "META-INF/application-client.xml" in the
+	application client's jar file.  All application client
+	deployment descriptors must indicate the application
+	client schema by using the J2EE namespace:
+
+	http://java.sun.com/xml/ns/j2ee
+
+	and indicate the version of the schema by
+	using the version element as shown below:
+
+	    <application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+		http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"
+	      version="1.4">
+	      ...
+	    </application-client>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute for J2EE
+	namespace with the following location:
+
+	http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all J2EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
+
+
+<!-- **************************************************** -->
+
+
+  <xsd:element name="application-client" type="j2ee:application-clientType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The application-client element is the root element of an
+	application client deployment descriptor.  The application
+	client deployment descriptor describes the EJB components
+	and external resources referenced by the application
+	client.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:unique name="env-entry-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The env-entry-name element contains the name of an
+	  application client's environment entry.  The name is a JNDI
+	  name relative to the java:comp/env context.  The name must
+	  be unique within an application client.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:env-entry"/>
+      <xsd:field    xpath="j2ee:env-entry-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="ejb-ref-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The ejb-ref-name element contains the name of an EJB
+	  reference. The EJB reference is an entry in the application
+	  client's environment and is relative to the
+	  java:comp/env context. The name must be unique within the
+	  application client.
+
+	  It is recommended that name is prefixed with "ejb/".
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:ejb-ref"/>
+      <xsd:field    xpath="j2ee:ejb-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="res-ref-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The res-ref-name element specifies the name of a
+	  resource manager connection factory reference.The name
+	  is a JNDI name relative to the java:comp/env context.
+	  The name must be unique within an application client.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:resource-ref"/>
+      <xsd:field    xpath="j2ee:res-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="resource-env-ref-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The resource-env-ref-name element specifies the name of
+	  a resource environment reference; its value is the
+	  environment entry name used in the application client
+	  code. The name is a JNDI name relative to the
+	  java:comp/env context and must be unique within an
+	  application client.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:resource-env-ref"/>
+      <xsd:field    xpath="j2ee:resource-env-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="message-destination-ref-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The message-destination-ref-name element specifies the
+	  name of a message destination reference; its value is
+	  the message destination reference name used in the
+	  application client code. The name is a JNDI name
+	  relative to the java:comp/env context and must be unique
+	  within an application client.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:message-destination-ref"/>
+      <xsd:field    xpath="j2ee:message-destination-ref-name"/>
+    </xsd:unique>
+  </xsd:element>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="application-clientType">
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="env-entry"
+		   type="j2ee:env-entryType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="ejb-ref"
+		   type="j2ee:ejb-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:group ref="j2ee:service-refGroup"/>
+      <xsd:element name="resource-ref"
+		   type="j2ee:resource-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="resource-env-ref"
+		   type="j2ee:resource-env-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="message-destination-ref"
+		   type="j2ee:message-destination-refType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="callback-handler"
+		   type="j2ee:fully-qualified-classType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The callback-handler element names a class provided by
+	    the application.  The class must have a no args
+	    constructor and must implement the
+	    javax.security.auth.callback.CallbackHandler
+	    interface.  The class will be instantiated by the
+	    application client container and used by the container
+	    to collect authentication information from the user.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="message-destination"
+		   type="j2ee:message-destinationType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+
+    <xsd:attribute name="version"
+		   type="j2ee:dewey-versionType"
+		   fixed="1.4"
+		   use="required">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The required value for the version is 1.4.
+
+	</xsd:documentation>
+      </xsd:annotation>
+
+    </xsd:attribute>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application-client_5.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application-client_5.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application-client_5.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,303 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/javaee"
+	    xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="5">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)application-client_5.xsds	1.26 02/17/06
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003-2006 Sun Microsystems, Inc.
+      4150 Network Circle
+      Santa Clara, California 95054
+      U.S.A
+      All rights reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	This is the XML Schema for the application client 5
+	deployment descriptor.  The deployment descriptor must
+	be named "META-INF/application-client.xml" in the
+	application client's jar file.  All application client
+	deployment descriptors must indicate the application
+	client schema by using the Java EE namespace:
+
+	http://java.sun.com/xml/ns/javaee
+
+	and indicate the version of the schema by
+	using the version element as shown below:
+
+	    <application-client xmlns="http://java.sun.com/xml/ns/javaee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+		http://java.sun.com/xml/ns/javaee/application-client_5.xsd"
+	      version="5">
+	      ...
+	    </application-client>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute for Java EE
+	namespace with the following location:
+
+	http://java.sun.com/xml/ns/javaee/application-client_5.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all Java EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="javaee_5.xsd"/>
+
+
+<!-- **************************************************** -->
+
+  <xsd:element name="application-client" type="javaee:application-clientType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The application-client element is the root element of an
+	application client deployment descriptor.  The application
+	client deployment descriptor describes the EJB components
+	and external resources referenced by the application
+	client.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:unique name="env-entry-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The env-entry-name element contains the name of an
+	  application client's environment entry.  The name is a JNDI
+	  name relative to the java:comp/env context.  The name must
+	  be unique within an application client.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:env-entry"/>
+      <xsd:field    xpath="javaee:env-entry-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="ejb-ref-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The ejb-ref-name element contains the name of an EJB
+	  reference. The EJB reference is an entry in the application
+	  client's environment and is relative to the
+	  java:comp/env context. The name must be unique within the
+	  application client.
+
+	  It is recommended that name is prefixed with "ejb/".
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:ejb-ref"/>
+      <xsd:field    xpath="javaee:ejb-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="res-ref-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The res-ref-name element specifies the name of a
+	  resource manager connection factory reference.The name
+	  is a JNDI name relative to the java:comp/env context.
+	  The name must be unique within an application client.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:resource-ref"/>
+      <xsd:field    xpath="javaee:res-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="resource-env-ref-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The resource-env-ref-name element specifies the name of
+	  a resource environment reference; its value is the
+	  environment entry name used in the application client
+	  code. The name is a JNDI name relative to the
+	  java:comp/env context and must be unique within an
+	  application client.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:resource-env-ref"/>
+      <xsd:field    xpath="javaee:resource-env-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="message-destination-ref-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The message-destination-ref-name element specifies the
+	  name of a message destination reference; its value is
+	  the message destination reference name used in the
+	  application client code. The name is a JNDI name
+	  relative to the java:comp/env context and must be unique
+	  within an application client.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:message-destination-ref"/>
+      <xsd:field    xpath="javaee:message-destination-ref-name"/>
+    </xsd:unique>
+  </xsd:element>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="application-clientType">
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="env-entry"
+		   type="javaee:env-entryType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="ejb-ref"
+		   type="javaee:ejb-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:group ref="javaee:service-refGroup"/>
+      <xsd:element name="resource-ref"
+		   type="javaee:resource-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="resource-env-ref"
+		   type="javaee:resource-env-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="message-destination-ref"
+		   type="javaee:message-destination-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="persistence-unit-ref"
+		   type="javaee:persistence-unit-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="post-construct"
+		   type="javaee:lifecycle-callbackType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="pre-destroy"
+		   type="javaee:lifecycle-callbackType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="callback-handler"
+		   type="javaee:fully-qualified-classType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The callback-handler element names a class provided by
+	    the application.  The class must have a no args
+	    constructor and must implement the
+	    javax.security.auth.callback.CallbackHandler
+	    interface.  The class will be instantiated by the
+	    application client container and used by the container
+	    to collect authentication information from the user.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="message-destination"
+		   type="javaee:message-destinationType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+
+    <xsd:attribute name="version"
+		   type="javaee:dewey-versionType"
+		   fixed="5"
+		   use="required">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The required value for the version is 5.
+
+	</xsd:documentation>
+      </xsd:annotation>
+
+    </xsd:attribute>
+
+    <xsd:attribute name="metadata-complete" type="xsd:boolean">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The metadata-complete attribute defines whether this
+	  deployment descriptor and other related deployment
+	  descriptors for this module (e.g., web service
+	  descriptors) are complete, or whether the class
+	  files available to this module and packaged with
+	  this application should be examined for annotations
+	  that specify deployment information.
+
+	  If metadata-complete is set to "true", the deployment
+	  tool must ignore any annotations that specify deployment
+	  information, which might be present in the class files
+	  of the application.
+
+	  If metadata-complete is not specified or is set to
+	  "false", the deployment tool must examine the class
+	  files of the application for annotations, as
+	  specified by the specifications.
+
+	</xsd:documentation>
+      </xsd:annotation>
+
+    </xsd:attribute>
+
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application_1_4.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application_1_4.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application_1_4.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,314 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="1.4">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)application_1_4.xsds	1.13 02/11/03
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2002 Sun Microsystems, Inc., 901 San Antonio
+      Road, Palo Alto, California 94303, U.S.A. All rights
+      reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	This is the XML Schema for the application 1.4 deployment
+	descriptor.  The deployment descriptor must be named
+	"META-INF/application.xml" in the application's ear file.
+	All application deployment descriptors must indicate
+	the application schema by using the J2EE namespace:
+
+	http://java.sun.com/xml/ns/j2ee
+
+	and indicate the version of the schema by
+	using the version element as shown below:
+
+	    <application xmlns="http://java.sun.com/xml/ns/j2ee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+		http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
+	      version="1.4">
+	      ...
+	    </application>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute for J2EE
+	namespace with the following location:
+
+	http://java.sun.com/xml/ns/j2ee/application_1_4.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all J2EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
+
+
+<!-- **************************************************** -->
+
+
+  <xsd:element name="application" type="j2ee:applicationType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The application element is the root element of a J2EE
+	application deployment descriptor.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:unique name="context-root-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The context-root element content must be unique
+	  in the ear.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:module/j2ee:web"/>
+      <xsd:field    xpath="j2ee:context-root"/>
+    </xsd:unique>
+
+    <xsd:unique name="security-role-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The security-role-name element content
+	  must be unique in the ear.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:security-role"/>
+      <xsd:field    xpath="j2ee:role-name"/>
+    </xsd:unique>
+
+  </xsd:element>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="applicationType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The applicationType defines the structure of the
+	application.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="module"
+		   type="j2ee:moduleType"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The application deployment descriptor must have one
+	    module element for each J2EE module in the
+	    application package. A module element is defined
+	    by moduleType definition.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="security-role"
+		   type="j2ee:security-roleType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="version"
+		   type="j2ee:dewey-versionType"
+		   fixed="1.4"
+		   use="required">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The required value for the version is 1.4.
+
+	</xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="moduleType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The moduleType defines a single J2EE module and contains a
+	connector, ejb, java, or web element, which indicates the
+	module type and contains a path to the module file, and an
+	optional alt-dd element, which specifies an optional URI to
+	the post-assembly version of the deployment descriptor.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:choice>
+	<xsd:element name="connector"
+		     type="j2ee:pathType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The connector element specifies the URI of a
+	      resource adapter archive file, relative to the
+	      top level of the application package.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+	<xsd:element name="ejb"
+		     type="j2ee:pathType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb element specifies the URI of an ejb-jar,
+	      relative to the top level of the application
+	      package.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+	<xsd:element name="java"
+		     type="j2ee:pathType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The java element specifies the URI of a java
+	      application client module, relative to the top
+	      level of the application package.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+	<xsd:element name="web"
+		     type="j2ee:webType"/>
+      </xsd:choice>
+      <xsd:element name="alt-dd"
+		   type="j2ee:pathType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The alt-dd element specifies an optional URI to the
+	    post-assembly version of the deployment descriptor
+	    file for a particular J2EE module.  The URI must
+	    specify the full pathname of the deployment
+	    descriptor file relative to the application's root
+	    directory. If alt-dd is not specified, the deployer
+	    must read the deployment descriptor from the default
+	    location and file name required by the respective
+	    component specification.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="webType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The webType defines the web-uri and context-root of
+	a web application module.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="web-uri"
+		   type="j2ee:pathType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The web-uri element specifies the URI of a web
+	    application file, relative to the top level of the
+	    application package.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="context-root"
+		   type="j2ee:string">
+
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The context-root element specifies the context root
+	    of a web application.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application_5.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application_5.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/application_5.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,334 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/javaee"
+	    xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="5">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)application_5.xsds	1.17 08/05/05
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003-2006 Sun Microsystems, Inc.
+      4150 Network Circle
+      Santa Clara, California 95054
+      U.S.A
+      All rights reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	This is the XML Schema for the application 5 deployment
+	descriptor.  The deployment descriptor must be named
+	"META-INF/application.xml" in the application's ear file.
+	All application deployment descriptors must indicate
+	the application schema by using the Java EE namespace:
+
+	http://java.sun.com/xml/ns/javaee
+
+	and indicate the version of the schema by
+	using the version element as shown below:
+
+	    <application xmlns="http://java.sun.com/xml/ns/javaee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+		http://java.sun.com/xml/ns/javaee/application_5.xsd"
+	      version="5">
+	      ...
+	    </application>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute for Java EE
+	namespace with the following location:
+
+	http://java.sun.com/xml/ns/javaee/application_5.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all Java EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="javaee_5.xsd"/>
+
+
+<!-- **************************************************** -->
+
+  <xsd:element name="application" type="javaee:applicationType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The application element is the root element of a Java EE
+	application deployment descriptor.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:unique name="context-root-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The context-root element content must be unique
+	  in the ear.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:module/javaee:web"/>
+      <xsd:field    xpath="javaee:context-root"/>
+    </xsd:unique>
+
+    <xsd:unique name="security-role-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The security-role-name element content
+	  must be unique in the ear.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:security-role"/>
+      <xsd:field    xpath="javaee:role-name"/>
+    </xsd:unique>
+
+  </xsd:element>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="applicationType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The applicationType defines the structure of the
+	application.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="module"
+		   type="javaee:moduleType"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The application deployment descriptor must have one
+	    module element for each Java EE module in the
+	    application package. A module element is defined
+	    by moduleType definition.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="security-role"
+		   type="javaee:security-roleType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="library-directory"
+		   type="javaee:pathType"
+		   minOccurs="0"
+		   maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The library-directory element specifies the pathname
+	    of a directory within the application package, relative
+	    to the top level of the application package.  All files
+	    named "*.jar" in this directory must be made available
+	    in the class path of all components included in this
+	    application package.  If this element isn't specified,
+	    the directory named "lib" is searched.  An empty element
+	    may be used to disable searching.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="version"
+		   type="javaee:dewey-versionType"
+		   fixed="5"
+		   use="required">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The required value for the version is 5.
+
+	</xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="moduleType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The moduleType defines a single Java EE module and contains a
+	connector, ejb, java, or web element, which indicates the
+	module type and contains a path to the module file, and an
+	optional alt-dd element, which specifies an optional URI to
+	the post-assembly version of the deployment descriptor.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:choice>
+	<xsd:element name="connector"
+		     type="javaee:pathType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The connector element specifies the URI of a
+	      resource adapter archive file, relative to the
+	      top level of the application package.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+	<xsd:element name="ejb"
+		     type="javaee:pathType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb element specifies the URI of an ejb-jar,
+	      relative to the top level of the application
+	      package.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+	<xsd:element name="java"
+		     type="javaee:pathType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The java element specifies the URI of a java
+	      application client module, relative to the top
+	      level of the application package.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+	<xsd:element name="web"
+		     type="javaee:webType"/>
+      </xsd:choice>
+      <xsd:element name="alt-dd"
+		   type="javaee:pathType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The alt-dd element specifies an optional URI to the
+	    post-assembly version of the deployment descriptor
+	    file for a particular Java EE module.  The URI must
+	    specify the full pathname of the deployment
+	    descriptor file relative to the application's root
+	    directory. If alt-dd is not specified, the deployer
+	    must read the deployment descriptor from the default
+	    location and file name required by the respective
+	    component specification.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="webType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The webType defines the web-uri and context-root of
+	a web application module.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="web-uri"
+		   type="javaee:pathType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The web-uri element specifies the URI of a web
+	    application file, relative to the top level of the
+	    application package.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="context-root"
+		   type="javaee:string">
+
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The context-root element specifies the context root
+	    of a web application.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/bean-deployer_1_0.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/bean-deployer_1_0.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/bean-deployer_1_0.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,688 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- A prototype xsd schema for the pojoserver xml deployer
+$Id: bean-deployer_1_0.xsd 39207 2005-12-21 22:49:56Z adrian $
+ -->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+   targetNamespace="urn:jboss:bean-deployer"
+   xmlns="urn:jboss:bean-deployer"
+   elementFormDefault="qualified"
+   attributeFormDefault="unqualified"
+   version="1.0">
+
+   <xsd:annotation>
+      <xsd:documentation>
+         <![CDATA[
+         The xml deployer schema. The deployment document instance
+         root element should reference the schema in the root
+         deployment element using something like:
+
+         <deployment
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd"
+            xmlns="urn:jboss:bean-deployer">
+         ...
+         ]]>
+      </xsd:documentation>
+   </xsd:annotation>
+
+   <xsd:element name="deployment" type="deploymentType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           The root of the xml deployer instance document
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+   </xsd:element>
+
+   <xsd:complexType name="deploymentType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           The deployment contains a number of beans and bean factories.
+           
+           e.g.
+           <deployment ...>
+              <bean .../>          
+              <bean .../>    
+              <beanfactory .../>
+           </deployment>
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="bean" type="beanType" minOccurs="0" maxOccurs="unbounded"/>
+         <xsd:element name="beanfactory" type="beanfactoryType" minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+   </xsd:complexType>
+
+   <xsd:complexType name="beanType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           The bean is an instance of a pojo.
+           
+           e.g.
+           <bean name="MyName" class="com.acme.POJO">
+              <constructor .../>
+              <property .../>
+              <property .../>
+              <depends .../>
+           </bean>
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="annotation" type="annotationType" minOccurs="0" maxOccurs="unbounded"/>
+         <xsd:element name="constructor" type="constructorType" minOccurs="0"/>
+         <xsd:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
+         <xsd:element name="create" type="lifecycleType" minOccurs="0"/>
+         <xsd:element name="start" type="lifecycleType" minOccurs="0"/>
+         <xsd:element name="stop" type="lifecycleType" minOccurs="0"/>
+         <xsd:element name="destroy" type="lifecycleType" minOccurs="0"/>
+         <xsd:element name="depends" type="dependsType" minOccurs="0" maxOccurs="unbounded"/>
+         <xsd:element name="demand" type="demandType" minOccurs="0" maxOccurs="unbounded"/>
+         <xsd:element name="supply" type="supplyType" minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+      <xsd:attribute name="name" type="xsd:string" use="optional"/>
+      <xsd:attribute name="class" type="xsd:token" use="required"/>
+      <xsd:attribute name="mode" type="controllerModeType" use="optional"/>
+   </xsd:complexType>
+
+   <xsd:complexType name="beanfactoryType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           The beanfactory is a org.jboss.beans.metadata.plugins.factory.GenericBeanFactory deployment.
+           This gives you a factory such you can invoke create() multiple times with the guarantee
+           that the injected objects are "installed".
+
+           e.g.
+           <bean name="User" class="com.acme.User">
+              <property name="factory"><inject bean="Factory"/></property>
+           </bean>
+           
+           <beanfactory name="Factory" class="com.acme.SomeBean">
+              <property name="someProperty"><inject bean="SomeOtherBean"/></property>
+           </beanFactory>
+           
+           package com.acme.User;
+           public class User {
+              // factory has been configured at this point
+              public void setFactory(GenericBeanFactory factory) { 
+                 SomeBean bean1 = factory.create();
+                 System.out.println(bean1.getSomeProperty()); // "SomeOtherBean"
+                 SomeBean bean2 = factory.create();
+                 System.out.println(bean2.getSomeProperty()); // "SomeOtherBean"
+              }
+           }
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="constructor" type="constructorType" minOccurs="0"/>
+         <xsd:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+      <xsd:attribute name="name" type="xsd:string" use="optional"/>
+      <xsd:attribute name="class" type="xsd:token" use="required"/>
+   </xsd:complexType>
+
+   <xsd:complexType name="constructorType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           The constructor for this bean(factory) instance.
+           
+           e.g. simple constructor - new POJO(new String("String value"));
+           <bean name="MyBean" class="com.acme.POJO">
+              <constructor>
+                 <parameter>String value</parameter>
+              </constructor>
+           </bean>
+           
+           e.g. static factory - com.acme.Factory.newInstance(new String("String value"));
+           <bean name="MyBean" class="com.acme.POJO">
+              <constructor factoryClass="com.acme.Factory" factoryMethod="newInstance">
+                 <parameter>String value</parameter>
+              </constructor>
+           </bean>
+
+           e.g. instance factory - "SomeOtherBean".newInstance(new String("String value"));
+           <bean name="MyBean" class="com.acme.POJO">
+              <constructor factoryMethod="newInstance">
+                 <factory bean="SomeOtherBean"/>
+                 <parameter>String value</parameter>
+              </constructor>
+           </bean>
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="annotation" type="annotationType" minOccurs="0" maxOccurs="unbounded"/>
+         <xsd:element name="factory" type="dependencyType" minOccurs="0"/>
+         <xsd:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+      <xsd:attribute name="factoryClass" type="classNameType" use="optional"/>
+      <xsd:attribute name="factoryMethod" type="xsd:token" use="optional"/>
+   </xsd:complexType>
+
+   <xsd:complexType name="lifecycleType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           The lifecycle lets you override the method parameters passed to the
+           create, start, stop, destroy lifecycle callbacks.
+           
+           e.g.
+           <bean>
+              <create method="initialize">
+                 <parameter>String value</parameter>
+              </create>
+           </bean>
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="annotation" type="annotationType" minOccurs="0" maxOccurs="unbounded"/>
+         <xsd:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+      <xsd:attribute name="method" type="xsd:token" use="optional"/>
+   </xsd:complexType>
+
+   <xsd:complexType name="dependencyType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           A dependency represents an injection into the bean.
+           They can be used anywhere a string value can appear.
+           
+           e.g. Bean instance - "InjectedIntoMe".setSomeProperty("BeanInjected");
+           <bean name="InjectedIntoMe" ...>
+              <property name="someProperty"><inject bean="BeanInjected"/>
+           </bean>
+           <bean name="BeanInjected" .../>
+           
+           e.g. Bean property - "InjectedIntoMe".setSomeProperty("BeanInjected".getOtherProperty());
+           <bean name="InjectedIntoMe" ...>
+              <property name="someProperty"><inject bean="BeanInjected" property="otherProperty"/>
+           </bean>
+           <bean name="BeanInjected" .../>
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:attribute name="bean" type="xsd:string" use="required"/>
+      <xsd:attribute name="property" type="xsd:string" use="optional"/>
+      <xsd:attribute name="state" type="controllerStateType" use="optional"/>
+   </xsd:complexType>
+
+   <xsd:complexType name="parameterType" mixed="true">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           A parameter is used to define the constructor, factory
+           and lifecycle method usage.
+           
+           e.g. Using number of parameters when this is unique enough
+           <bean ...>
+              <constructor>
+                 <parameter>1st Parameter</parameter>
+                 <parameter>2nd Parameter</parameter>
+              </constructor>
+           </bean>
+           
+           e.g. Explicitly stating the parameter type to resolve overloading
+           <bean ...>
+              <constructor>
+                 <parameter>1st Parameter</parameter>
+                 <parameter class="java.lang.String">2nd Parameter</parameter>
+              </constructor>
+           </bean>
+
+           e.g. To override the injected type use <value/>
+           <bean ...>
+              <constructor>
+                 <parameter>1st Parameter</parameter>
+                 <!-- Parameter is java.lang.Object, but we inject a String -->
+                 <parameter class="java.lang.Object">
+                    <value class="java.lang.String">2nd Parameter</value>
+                 </parameter>
+              </constructor>
+           </bean>
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexContent>
+         <xsd:extension base="annotatedValueType"/>
+      </xsd:complexContent>
+   </xsd:complexType>
+
+   <xsd:complexType name="propertyType" mixed="true">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           A property defines values passed to the setters.
+           
+           e.g. Using the type from the setter argument
+           <bean ...>
+              <property name="someProperty">Some value</property>
+           </bean>
+           
+           e.g. Overridding the injected type
+           <bean ...>
+              <property name="someProperty" class="java.lang.String">Some value</property>
+           </bean>
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexContent>
+         <xsd:extension base="namedValueType"/>
+      </xsd:complexContent>
+   </xsd:complexType>
+
+   <xsd:complexType name="annotationType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           The annotation type represents an annotation on the particular join point.
+           TODO: This is currently unimplemented.
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="attribute" type="annotationAttributeType" minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+      <xsd:attribute name="name" type="xsd:string" use="required"/>
+   </xsd:complexType>
+
+   <xsd:complexType name="annotationAttributeType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           An attribute attached to a particular annotation.
+           TODO: This is currently unimplemented.
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:attribute name="name" type="xsd:string" use="required"/>
+      <xsd:attribute name="value" type="xsd:string" use="required"/>
+   </xsd:complexType>
+
+   <xsd:simpleType name="classNameType">
+      <xsd:annotation>
+         <xsd:documentation> The elements that use this type designate the name
+            of a Java class or interface. The name is in the form of a "binary
+            name", as defined in the JLS and as used in Class.forName().
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:string">
+         <xsd:whiteSpace value="collapse"/>
+      </xsd:restriction>
+   </xsd:simpleType>
+
+   <xsd:group name="valueGroup">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           The value group represents the comment elements of the other configurations
+           <parameter/>, <property/> or collection components
+           e.g.
+
+           <property name="someProperty">
+              <list><value class="java.lang.String">Hello</value></list>
+           </property>
+           
+           e.g. This also defines the null value
+           <property name="someProperty"><null/></property>
+           as opposed to the empty string
+           <property name="someProperty"></property>
+           or the string "null"
+           <property name="someProperty">null</property>
+
+           TODO: "any" is currently unimplemented.
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:choice>
+         <xsd:element name="value" type="plainValueType"/>
+         <xsd:element name="collection" type="collectionType"/>
+         <xsd:element name="list" type="listType"/>
+         <xsd:element name="set" type="setType"/>
+         <xsd:element name="array" type="arrayType"/>
+         <xsd:element name="map" type="mapType"/>
+         <xsd:element name="inject" type="dependencyType"/>
+         <xsd:element name="null">
+            <xsd:complexType/>
+         </xsd:element>
+         <xsd:any namespace="##other" processContents="strict">
+            <xsd:annotation>
+               <xsd:documentation>An extension value</xsd:documentation>
+            </xsd:annotation>
+         </xsd:any>
+      </xsd:choice>
+   </xsd:group>
+
+   <xsd:complexType name="plainValueType" mixed="true">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           A simple value, used in collections and to specify a type for parameters.
+           
+           e.g.
+           <parameter><value class="com.acme.MyClass">xxx</value></parameter>
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:attribute name="class" type="classNameType" use="optional"/>
+   </xsd:complexType>
+
+   <xsd:complexType name="valueType" mixed="true">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           A value that can take other values, i.e. properties and parameters.
+           
+           e.g.
+           <parameter><value class="com.acme.MyClass">xxx</value></parameter>
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexContent>
+         <xsd:extension base="plainValueType">
+            <xsd:sequence>
+               <xsd:choice minOccurs="0">
+                  <xsd:group ref="valueGroup"/>
+               </xsd:choice>
+            </xsd:sequence>
+         </xsd:extension>
+      </xsd:complexContent>
+   </xsd:complexType>
+
+   <xsd:complexType name="annotatedValueType" mixed="true">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           A value that can take annotations.
+           TODO: This is currently unimplemented.
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexContent>
+         <xsd:extension base="valueType">
+            <xsd:sequence>
+               <xsd:element name="annotation" type="annotationType" minOccurs="0" maxOccurs="unbounded"/>
+            </xsd:sequence>
+         </xsd:extension>
+      </xsd:complexContent>
+   </xsd:complexType>
+
+   <xsd:complexType name="namedValueType" mixed="true">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           A value that has a name, currently only a property.
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexContent>
+         <xsd:extension base="annotatedValueType">
+            <xsd:attribute name="name" type="xsd:string" use="required"/>
+         </xsd:extension>
+      </xsd:complexContent>
+   </xsd:complexType>
+
+   <xsd:complexType name="baseCollectionType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            A collection defines a java.util.Collection object.
+            It has two class definitions:
+            class: The implementation class of the collection
+            elementClass: The default implementation class of the elements
+            The default "class" is a java.util.ArrayList unless the point of injection
+            defines a concrete type, e.g. in the signature of the setter
+            
+            example:
+            <property name="whatever" class="java.util.ArrayList" elementClass="java.net.URL">
+               <value>http://localhost</value> <!-- Creates a URL -->
+               <value class="java.lang.String">http://localhost</value> <!-- Creates a String -->
+            </property>
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:choice minOccurs="0" maxOccurs="unbounded">
+         <xsd:group ref="valueGroup"/>
+      </xsd:choice>
+      <xsd:attribute name="class" type="classNameType" use="optional"/>
+      <xsd:attribute name="elementClass" type="classNameType" use="optional"/>      
+   </xsd:complexType>
+
+   <xsd:complexType name="collectionType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           A collection, see baseCollectionType
+           the default collection is a java.util.ArrayList
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexContent>
+         <xsd:extension base="baseCollectionType"/>
+      </xsd:complexContent>
+   </xsd:complexType>
+
+   <xsd:complexType name="listType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           A list, see baseCollectionType
+           the default list is a java.util.ArrayList
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexContent>
+         <xsd:extension base="baseCollectionType"/>
+      </xsd:complexContent>
+   </xsd:complexType>
+
+   <xsd:complexType name="setType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           A set, see baseCollectionType
+           the default set is a java.util.HashSet
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexContent>
+         <xsd:extension base="baseCollectionType"/>
+      </xsd:complexContent>
+   </xsd:complexType>
+
+   <xsd:complexType name="arrayType">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           An array, see baseCollectionType
+           the default array is a java.lang.Object[]
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexContent>
+         <xsd:extension base="baseCollectionType"/>
+      </xsd:complexContent>
+   </xsd:complexType>
+
+   <xsd:complexType name="mapType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            A map defines a java.util.Map object.
+            It has three class definitions:
+            class: The implementation class of the class
+            keyClass: The default implementation class of the keys
+            valueClass: The default implementation class of the values
+            The default "class" is a java.util.HashMap unless the point of injection
+            defines a concrete type, e.g. in the signature of the setter
+            
+            e.g.:
+            <property name="whatever" class="java.util.HashMap" keyClass="java.lang.String" valueClas="java.net.URL">
+               <!-- map.put(new String("default"), new URL("http://localhost"));
+               <entry><key>default</key><value>http://localhost</value>
+               <!-- map.put(new String("default"), new String("http://localhost"));
+               <entry><key>default</key><value class="java.lang.String">http://localhost</value>
+            </property>
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="entry" type="entryType" minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+      <xsd:attribute name="class" type="classNameType" use="optional"/>
+      <xsd:attribute name="keyClass" type="classNameType" use="optional"/>      
+      <xsd:attribute name="valueClass" type="classNameType" use="optional"/>      
+   </xsd:complexType>
+
+   <xsd:complexType name="entryType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            An entry in map. These are made of key/value pairs
+            
+            e.g.:
+            <entry><key>default</key><value>http://localhost</value>
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element name="key" type="valueType" minOccurs="0"/>
+         <xsd:element name="value" type="valueType" minOccurs="0"/>
+      </xsd:sequence>
+   </xsd:complexType>
+
+   <xsd:complexType name="dependsType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The depends element is used to define that one bean depends upon
+            another for the create/start/stop/destroy lifecycle
+            
+            e.g.:
+            <bean name="IGoFirst" .../>
+            <bean name="IGoSecond" ...>
+               <depends>IGoFirst</depends>
+            </bean>
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="xsd:string"/>
+      </xsd:simpleContent>
+   </xsd:complexType>
+
+   <xsd:complexType name="demandType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The demand is used to specify a dependency on a supply
+            and when the demand is should be deplied
+            
+            e.g.:
+            ISupply must be installed before IDemand is constructed
+
+            <bean name="IDemand" ... whenRequired="Instantiated">
+               <demand>theSupply</demand>
+            </bean>
+            <bean name="ISupply" ...>
+               <supply>theSupply</supply>
+            </bean>
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="xsd:string">
+            <xsd:attribute name="whenRequired" type="controllerStateType" use="optional"/>
+         </xsd:extension>
+      </xsd:simpleContent>
+   </xsd:complexType>
+
+   <xsd:complexType name="supplyType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The supply is used to specify that the bean supplies a demanded dependency
+            
+            e.g.:
+            <bean name="IDemand" ...>
+               <demand>theSupply</demand>
+            </bean>
+            <bean name="ISupply" ...>
+               <supply>theSupply</supply>
+            </bean>
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:simpleContent>
+         <xsd:extension base="xsd:string"/>
+      </xsd:simpleContent>
+   </xsd:complexType>
+
+   <xsd:simpleType name="controllerStateType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The controller state is used to say when dependencies must be satisfied.
+            Valid values include:
+            Described
+            Instantiated
+            Configured
+            Create
+            Start
+            Installed
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:string">
+         <xsd:whiteSpace value="collapse"/>
+      </xsd:restriction>
+   </xsd:simpleType>
+
+   <xsd:simpleType name="controllerModeType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The controller mode, used to control how automatic the bean progresses
+            through the controller lifecyle (the states).
+            Valid values include:
+            Automatic (default) - the controller takes the bean to "Installed"
+            Manual - the user must tell the controller the required state
+            On Demand - the controller takes the bean to "Installed" when another bean depends on it
+            Disabled - the controller or user cannot change the state
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:restriction base="xsd:string">
+         <xsd:whiteSpace value="collapse"/>
+      </xsd:restriction>
+   </xsd:simpleType>
+
+   <!-- 
+     WARN:
+     Do not use this in the bean deployer, it won't work!
+     FIXME:
+     The correct way to do this is to have two separate
+     schemas (one for deployments the other for beans) 
+     then use schema imports.
+   -->
+   <xsd:element name="bean" type="beanType"/>
+
+   <!-- 
+     WARN:
+     Do not use this in the bean deployer, it won't work!
+     FIXME:
+     The correct way to do this is to have two separate
+     schemas (one for deployments the other for beans) 
+     then use schema imports.
+   -->
+   <xsd:element name="beanfactory" type="beanfactoryType"/>
+
+</xsd:schema>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/connector_1_5.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/connector_1_5.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/connector_1_5.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1035 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="1.5">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)connector_1_5.xsds	1.27 06/17/03
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003 Sun Microsystems, Inc., 901 San Antonio
+      Road, Palo Alto, California 94303, U.S.A. All rights
+      reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	This is the XML Schema for the Connector 1.5 deployment
+	descriptor.  The deployment descriptor must be named
+	"META-INF/ra.xml" in the connector's rar file.  All Connector
+	deployment descriptors must indicate the connector resource
+	adapter schema by using the J2EE namespace:
+
+	http://java.sun.com/xml/ns/j2ee
+
+	and by indicating the version of the schema by
+	using the version element as shown below:
+
+	    <connector xmlns="http://java.sun.com/xml/ns/j2ee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+		 http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
+	      version="1.5">
+	      ...
+	    </connector>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute for J2EE
+	namespace with the following location:
+
+	http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all J2EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
+
+
+<!-- **************************************************** -->
+
+
+  <xsd:element name="connector" type="j2ee:connectorType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The connector element is the root element of the deployment
+	descriptor for the resource adapter. This element includes
+	general information - vendor name, resource adapter version,
+	icon - about the resource adapter module. It also includes
+	information specific to the implementation of the resource
+	adapter library as specified through the element
+	resourceadapter.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+  </xsd:element>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="activationspecType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The activationspecType specifies an activation
+	specification.  The information includes fully qualified
+	Java class name of an activation specification and a set of
+	required configuration property names.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="activationspec-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The element activationspec-class specifies the fully
+	      qualified Java class name of the activation
+	      specification class. This class must implement the
+	      javax.resource.spi.ActivationSpec interface. The
+	      implementation of this class is required to be a
+	      JavaBean.
+
+	      Example:
+		  <activationspec-class>com.wombat.ActivationSpecImpl
+		  </activationspec-class>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="required-config-property"
+		   type="j2ee:required-config-propertyType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="adminobjectType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The adminobjectType specifies information about an
+	administered object.  Administered objects are specific to a
+	messaging style or message provider.  This contains
+	information on the Java type of the interface implemented by
+	an administered object, its Java class name and its
+	configuration properties.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="adminobject-interface"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The element adminobject-interface specifies the
+	      fully qualified name of the Java type of the
+	      interface implemented by an administered object.
+
+	      Example:
+		<adminobject-interface>javax.jms.Destination
+		</adminobject-interface>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="adminobject-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The element adminobject-class specifies the fully
+	      qualified Java class name of an administered object.
+
+	      Example:
+		  <adminobject-class>com.wombat.DestinationImpl
+		  </adminobject-class>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="config-property"
+		   type="j2ee:config-propertyType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="authentication-mechanismType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The authentication-mechanismType specifies an authentication
+	mechanism supported by the resource adapter. Note that this
+	support is for the resource adapter and not for the
+	underlying EIS instance. The optional description specifies
+	any resource adapter specific requirement for the support of
+	security contract and authentication mechanism.
+
+	Note that BasicPassword mechanism type should support the
+	javax.resource.spi.security.PasswordCredential interface.
+	The Kerbv5 mechanism type should support the
+	org.ietf.jgss.GSSCredential interface or the deprecated
+	javax.resource.spi.security.GenericCredential interface.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="authentication-mechanism-type"
+		   type="j2ee:xsdStringType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The element authentication-mechanism-type specifies
+	      type of an authentication mechanism.
+
+	      The example values are:
+
+	      <authentication-mechanism-type>BasicPassword
+	      </authentication-mechanism-type>
+
+	      <authentication-mechanism-type>Kerbv5
+	      </authentication-mechanism-type>
+
+	      Any additional security mechanisms are outside the
+	      scope of the Connector architecture specification.
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="credential-interface"
+		   type="j2ee:credential-interfaceType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="config-property-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The config-property-nameType contains the name of a
+	  configuration property.
+
+	  The connector architecture defines a set of well-defined
+	  properties all of type java.lang.String. These are as
+	  follows.
+
+	       ServerName
+	       PortNumber
+	       UserName
+	       Password
+	       ConnectionURL
+
+	  A resource adapter provider can extend this property set to
+	  include properties specific to the resource adapter and its
+	  underlying EIS.
+
+	  Possible values include
+		  ServerName
+		  PortNumber
+		  UserName
+		  Password
+		  ConnectionURL
+
+	  Example: <config-property-name>ServerName</config-property-name>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:xsdStringType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="config-property-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The config-property-typeType contains the fully
+	  qualified Java type of a configuration property.
+
+	  The following are the legal values:
+	     java.lang.Boolean, java.lang.String, java.lang.Integer,
+	     java.lang.Double, java.lang.Byte, java.lang.Short,
+	     java.lang.Long, java.lang.Float, java.lang.Character
+
+	  Used in: config-property
+
+	  Example:
+	  <config-property-type>java.lang.String</config-property-type>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="java.lang.Boolean"/>
+	<xsd:enumeration value="java.lang.String"/>
+	<xsd:enumeration value="java.lang.Integer"/>
+	<xsd:enumeration value="java.lang.Double"/>
+	<xsd:enumeration value="java.lang.Byte"/>
+	<xsd:enumeration value="java.lang.Short"/>
+	<xsd:enumeration value="java.lang.Long"/>
+	<xsd:enumeration value="java.lang.Float"/>
+	<xsd:enumeration value="java.lang.Character"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="config-propertyType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The config-propertyType contains a declaration of a single
+	configuration property that may be used for providing
+	configuration information.
+
+	The declaration consists of an optional description, name,
+	type and an optional value of the configuration property. If
+	the resource adapter provider does not specify a value than
+	the deployer is responsible for providing a valid value for
+	a configuration property.
+
+	Any bounds or well-defined values of properties should be
+	described in the description element.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="config-property-name"
+		   type="j2ee:config-property-nameType"/>
+      <xsd:element name="config-property-type"
+		   type="j2ee:config-property-typeType"/>
+      <xsd:element name="config-property-value"
+		   type="j2ee:xsdStringType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The element config-property-value contains the value
+	      of a configuration entry. Note, it is possible for a
+	      resource adapter deployer to override this
+	      configuration information during deployment.
+
+	      Example:
+	      <config-property-value>WombatServer</config-property-value>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="connection-definitionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The connection-definitionType defines a set of connection
+	interfaces and classes pertaining to a particular connection
+	type. This also includes configurable properties for
+	ManagedConnectionFactory instances that may be produced out
+	of this set.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="managedconnectionfactory-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The element managedconnectionfactory-class specifies
+	      the fully qualified name of the Java class that
+	      implements the
+	      javax.resource.spi.ManagedConnectionFactory interface.
+	      This Java class is provided as part of resource
+	      adapter's implementation of connector architecture
+	      specified contracts. The implementation of this
+	      class is required to be a JavaBean.
+
+	      Example:
+	      <managedconnectionfactory-class>
+		  com.wombat.ManagedConnectionFactoryImpl
+	      </managedconnectionfactory-class>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="config-property"
+		   type="j2ee:config-propertyType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="connectionfactory-interface"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The element connectionfactory-interface specifies
+	      the fully qualified name of the ConnectionFactory
+	      interface supported by the resource adapter.
+
+	      Example:
+	      <connectionfactory-interface>com.wombat.ConnectionFactory
+	      </connectionfactory-interface>
+
+	      OR
+
+	      <connectionfactory-interface>javax.resource.cci.ConnectionFactory
+	      </connectionfactory-interface>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="connectionfactory-impl-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The element connectionfactory-impl-class specifies
+	      the fully qualified name of the ConnectionFactory
+	      class that implements resource adapter
+	      specific ConnectionFactory interface.
+
+	      Example:
+
+	      <connectionfactory-impl-class>com.wombat.ConnectionFactoryImpl
+	      </connectionfactory-impl-class>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="connection-interface"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The connection-interface element specifies the fully
+	      qualified name of the Connection interface supported
+	      by the resource adapter.
+
+	      Example:
+
+		  <connection-interface>javax.resource.cci.Connection
+		  </connection-interface>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="connection-impl-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The connection-impl-classType specifies the fully
+	      qualified name of the Connection class that
+	      implements resource adapter specific Connection
+	      interface.  It is used by the connection-impl-class
+	      elements.
+
+	      Example:
+
+		  <connection-impl-class>com.wombat.ConnectionImpl
+		  </connection-impl-class>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="connectorType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The connectorType defines a resource adapter.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="vendor-name"
+		   type="j2ee:xsdStringType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The element vendor-name specifies the name of
+	    resource adapter provider vendor.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="eis-type"
+		   type="j2ee:xsdStringType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The element eis-type contains information about the
+	    type of the EIS. For example, the type of an EIS can
+	    be product name of EIS independent of any version
+	    info.
+
+	    This helps in identifying EIS instances that can be
+	    used with this resource adapter.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="resourceadapter-version"
+		   type="j2ee:xsdStringType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The element resourceadapter-version specifies a string-based version
+	    of the resource adapter from the resource adapter
+	    provider.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="license"
+		   type="j2ee:licenseType"
+		   minOccurs="0"/>
+      <xsd:element name="resourceadapter"
+		   type="j2ee:resourceadapterType"/>
+
+    </xsd:sequence>
+    <xsd:attribute name="version"
+		   type="j2ee:dewey-versionType"
+		   fixed="1.5"
+		   use="required">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The version specifies the version of the
+	  connector architecture specification that is
+	  supported by this resource adapter. This information
+	  enables deployer to configure the resource adapter to
+	  support deployment and runtime requirements of the
+	  corresponding connector architecture specification.
+
+	</xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="credential-interfaceType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The credential-interfaceType specifies the
+	interface that the resource adapter implementation
+	supports for the representation of the
+	credentials. This element(s) that use this type,
+	i.e. credential-interface,  should be used by
+	application server to find out the Credential
+	interface it should use as part of the security
+	contract.
+
+	The possible values are:
+
+	javax.resource.spi.security.PasswordCredential
+	org.ietf.jgss.GSSCredential
+	javax.resource.spi.security.GenericCredential
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:fully-qualified-classType">
+	<xsd:enumeration
+	     value="javax.resource.spi.security.PasswordCredential"/>
+	<xsd:enumeration
+	     value="org.ietf.jgss.GSSCredential"/>
+	<xsd:enumeration
+	     value="javax.resource.spi.security.GenericCredential"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="inbound-resourceadapterType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The inbound-resourceadapterType specifies information
+	about an inbound resource adapter. This contains information
+	specific to the implementation of the resource adapter
+	library as specified through the messageadapter element.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="messageadapter"
+		   type="j2ee:messageadapterType"
+		   minOccurs="0">
+	<xsd:unique name="messagelistener-type-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The messagelistener-type element content must be
+	      unique in the messageadapter. Several messagelisteners
+	      can not use the same messagelistener-type.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:messagelistener"/>
+	  <xsd:field    xpath="j2ee:messagelistener-type"/>
+	</xsd:unique>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="licenseType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The licenseType specifies licensing requirements for the
+	resource adapter module. This type specifies whether a
+	license is required to deploy and use this resource adapter,
+	and an optional description of the licensing terms
+	(examples: duration of license, number of connection
+	restrictions). It is used by the license element.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="license-required"
+		   type="j2ee:true-falseType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The element license-required specifies whether a
+	    license is required to deploy and use the
+	    resource adapter. This element must be one of
+	    the following, "true" or "false".
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="messageadapterType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The messageadapterType specifies information about the
+	messaging capabilities of the resource adapter. This
+	contains information specific to the implementation of the
+	resource adapter library as specified through the
+	messagelistener element.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="messagelistener"
+		   type="j2ee:messagelistenerType"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="messagelistenerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The messagelistenerType specifies information about a
+	specific message listener supported by the messaging
+	resource adapter. It contains information on the Java type
+	of the message listener interface and an activation
+	specification.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="messagelistener-type"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The element messagelistener-type specifies the fully
+	      qualified name of the Java type of a message
+	      listener interface.
+
+	      Example:
+
+		<messagelistener-type>javax.jms.MessageListener
+		</messagelistener-type>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="activationspec"
+		   type="j2ee:activationspecType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="outbound-resourceadapterType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The outbound-resourceadapterType specifies information about
+	an outbound resource adapter. The information includes fully
+	qualified names of classes/interfaces required as part of
+	the connector architecture specified contracts for
+	connection management, level of transaction support
+	provided, one or more authentication mechanisms supported
+	and additional required security permissions.
+
+	If there is no authentication-mechanism specified as part of
+	resource adapter element then the resource adapter does not
+	support any standard security authentication mechanisms as
+	part of security contract. The application server ignores
+	the security part of the system contracts in this case.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="connection-definition"
+		   type="j2ee:connection-definitionType"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="transaction-support"
+		   type="j2ee:transaction-supportType"/>
+      <xsd:element name="authentication-mechanism"
+		   type="j2ee:authentication-mechanismType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="reauthentication-support"
+		   type="j2ee:true-falseType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The element reauthentication-support specifies
+	    whether the resource adapter implementation supports
+	    re-authentication of existing Managed- Connection
+	    instance. Note that this information is for the
+	    resource adapter implementation and not for the
+	    underlying EIS instance. This element must have
+	    either a "true" or "false" value.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="required-config-propertyType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The required-config-propertyType contains a declaration
+	  of a single configuration property used for specifying a
+	  required configuration property name. It is used
+	  by required-config-property elements.
+
+	  Example:
+
+	  <required-config-property>Destination</required-config-property>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="config-property-name"
+		   type="j2ee:config-property-nameType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="resourceadapterType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The resourceadapterType specifies information about the
+	resource adapter. The information includes fully qualified
+	resource adapter Java class name, configuration properties,
+	information specific to the implementation of the resource
+	adapter library as specified through the
+	outbound-resourceadapter and inbound-resourceadapter
+	elements, and an optional set of administered objects.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="resourceadapter-class"
+		   type="j2ee:fully-qualified-classType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The element resourceadapter-class specifies the
+	    fully qualified name of a Java class that implements
+	    the javax.resource.spi.ResourceAdapter
+	    interface. This Java class is provided as part of
+	    resource adapter's implementation of connector
+	    architecture specified contracts. The implementation
+	    of this class is required to be a JavaBean.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="config-property"
+		   type="j2ee:config-propertyType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="outbound-resourceadapter"
+		   type="j2ee:outbound-resourceadapterType"
+		   minOccurs="0">
+	<xsd:unique name="connectionfactory-interface-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The connectionfactory-interface element content
+	      must be unique in the outbound-resourceadapter.
+	      Multiple connection-definitions can not use the
+	      same connectionfactory-type.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:connection-definition"/>
+	  <xsd:field    xpath="j2ee:connectionfactory-interface"/>
+	</xsd:unique>
+      </xsd:element>
+      <xsd:element name="inbound-resourceadapter"
+		   type="j2ee:inbound-resourceadapterType"
+		   minOccurs="0"/>
+      <xsd:element name="adminobject"
+		   type="j2ee:adminobjectType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="security-permission"
+		   type="j2ee:security-permissionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="security-permissionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The security-permissionType specifies a security
+	permission that is required by the resource adapter code.
+
+	The security permission listed in the deployment descriptor
+	are ones that are different from those required by the
+	default permission set as specified in the connector
+	specification. The optional description can mention specific
+	reason that resource adapter requires a given security
+	permission.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="security-permission-spec"
+		   type="j2ee:xsdStringType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The element security-permission-spec specifies a security
+	    permission based on the Security policy file
+	    syntax. Refer to the following URL for Sun's
+	    implementation of the security permission
+	    specification:
+
+	    http://java.sun.com/products/jdk/1.4/docs/guide/security/PolicyFiles.html#FileSyntax
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="transaction-supportType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The transaction-supportType specifies the level of
+	transaction support provided by the resource adapter. It is
+	used by transaction-support elements.
+
+	The value must be one of the following:
+
+	    NoTransaction
+	    LocalTransaction
+	    XATransaction
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="NoTransaction"/>
+	<xsd:enumeration value="LocalTransaction"/>
+	<xsd:enumeration value="XATransaction"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/ejb-jar_2_1.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/ejb-jar_2_1.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/ejb-jar_2_1.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2207 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="2.1">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)ejb-jar_2_1.xsds	1.23 08/01/03
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003 Sun Microsystems, Inc., 901 San Antonio
+      Road, Palo Alto, California 94303, U.S.A. All rights
+      reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	This is the XML Schema for the EJB 2.1 deployment descriptor.
+	The deployment descriptor must be named "META-INF/ejb-jar.xml" in
+	the EJB's jar file.  All EJB deployment descriptors must indicate
+	the ejb-jar schema by using the J2EE namespace:
+
+	http://java.sun.com/xml/ns/j2ee
+
+	and by indicating the version of the schema by
+	using the version element as shown below:
+
+	    <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+		  http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
+	      version="2.1">
+	      ...
+	    </ejb-jar>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute for the
+	J2EE namespace with the following location:
+
+	http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all J2EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
+
+
+<!-- **************************************************** -->
+
+
+  <xsd:element name="ejb-jar" type="j2ee:ejb-jarType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This is the root of the ejb-jar deployment descriptor.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:key name="ejb-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The ejb-name element contains the name of an enterprise
+	  bean. The name must be unique within the ejb-jar file.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:enterprise-beans/*"/>
+      <xsd:field    xpath="j2ee:ejb-name"/>
+    </xsd:key>
+
+    <xsd:keyref name="ejb-name-references"
+		refer="j2ee:ejb-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The keyref indicates the references from
+	  relationship-role-source must be to a specific ejb-name
+	  defined within the scope of enterprise-beans element.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector
+	   xpath=".//j2ee:ejb-relationship-role/j2ee:relationship-role-source"/>
+      <xsd:field
+	   xpath="j2ee:ejb-name"/>
+    </xsd:keyref>
+
+    <xsd:key name="role-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  A role-name-key is specified to allow the references
+	  from the security-role-refs.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:assembly-descriptor/j2ee:security-role"/>
+      <xsd:field    xpath="j2ee:role-name"/>
+    </xsd:key>
+
+    <xsd:keyref name="role-name-references"
+		refer="j2ee:role-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The keyref indicates the references from
+	  security-role-ref to a specified role-name.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:enterprise-beans/*/j2ee:security-role-ref"/>
+      <xsd:field    xpath="j2ee:role-link"/>
+    </xsd:keyref>
+  </xsd:element>
+
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="activation-config-propertyType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The activation-config-propertyType contains a name/value
+	configuration property pair for a message-driven bean.
+
+	The properties that are recognized for a particular
+	message-driven bean are determined by the messaging type.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="activation-config-property-name"
+		   type="j2ee:xsdStringType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The activation-config-property-name element contains
+	    the name for an activation configuration property of
+	    a message-driven bean.
+
+	    For JMS message-driven beans, the following property
+	    names are recognized: acknowledgeMode,
+	    messageSelector, destinationType, subscriptionDurability
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="activation-config-property-value"
+		   type="j2ee:xsdStringType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The activation-config-property-value element
+	    contains the value for an activation configuration
+	    property of a message-driven bean.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="activation-configType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The activation-configType defines information about the
+	expected configuration properties of the message-driven bean
+	in its operational environment. This may include information
+	about message acknowledgement, message selector, expected
+	destination type, etc.
+
+	The configuration information is expressed in terms of
+	name/value configuration properties.
+
+	The properties that are recognized for a particular
+	message-driven bean are determined by the messaging type.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="activation-config-property"
+		   type="j2ee:activation-config-propertyType"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="assembly-descriptorType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The assembly-descriptorType defines
+	application-assembly information.
+
+	The application-assembly information consists of the
+	following parts: the definition of security roles, the
+	definition of method permissions, the definition of
+	transaction attributes for enterprise beans with
+	container-managed transaction demarcation and a list of
+	methods to be excluded from being invoked.
+
+	All the parts are optional in the sense that they are
+	omitted if the lists represented by them are empty.
+
+	Providing an assembly-descriptor in the deployment
+	descriptor is optional for the ejb-jar file producer.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="security-role"
+		   type="j2ee:security-roleType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="method-permission"
+		   type="j2ee:method-permissionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="container-transaction"
+		   type="j2ee:container-transactionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="message-destination"
+		   type="j2ee:message-destinationType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="exclude-list"
+		   type="j2ee:exclude-listType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="cmp-fieldType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The cmp-fieldType describes a container-managed field. The
+	cmp-fieldType contains an optional description of the field,
+	and the name of the field.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="field-name"
+		   type="j2ee:java-identifierType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The field-name element specifies the name of a
+	    container managed field.
+
+	    The name of the cmp-field of an entity bean with
+	    cmp-version 2.x must begin with a lowercase
+	    letter. This field is accessed by methods whose
+	    names consists of the name of the field specified by
+	    field-name in which the first letter is uppercased,
+	    prefixed by "get" or "set".
+
+	    The name of the cmp-field of an entity bean with
+	    cmp-version 1.x must denote a public field of the
+	    enterprise bean class or one of its superclasses.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="cmp-versionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The cmp-versionType specifies the version of an entity bean
+	with container-managed persistence. It is used by
+	cmp-version elements.
+
+	The value must be one of the two following:
+
+	    1.x
+	    2.x
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="1.x"/>
+	<xsd:enumeration value="2.x"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="cmr-field-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The cmr-field-type element specifies the class of a
+	collection-valued logical relationship field in the entity
+	bean class. The value of an element using cmr-field-typeType
+	must be either: java.util.Collection or java.util.Set.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="java.util.Collection"/>
+	<xsd:enumeration value="java.util.Set"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="cmr-fieldType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The cmr-fieldType describes the bean provider's view of
+	a relationship. It consists of an optional description, and
+	the name and the class type of a field in the source of a
+	role of a relationship. The cmr-field-name element
+	corresponds to the name used for the get and set accessor
+	methods for the relationship. The cmr-field-type element is
+	used only for collection-valued cmr-fields. It specifies the
+	type of the collection that is used.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="cmr-field-name"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The cmr-field-name element specifies the name of a
+	    logical relationship field in the entity bean
+	    class. The name of the cmr-field must begin with a
+	    lowercase letter. This field is accessed by methods
+	    whose names consist of the name of the field
+	    specified by cmr-field-name in which the first
+	    letter is uppercased, prefixed by "get" or "set".
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="cmr-field-type"
+		   type="j2ee:cmr-field-typeType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="container-transactionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The container-transactionType specifies how the container
+	must manage transaction scopes for the enterprise bean's
+	method invocations. It defines an optional description, a
+	list of method elements, and a transaction attribute. The
+	transaction attribute is to be applied to all the specified
+	methods.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="method"
+		   type="j2ee:methodType"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="trans-attribute"
+		   type="j2ee:trans-attributeType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-classType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The ejb-classType contains the fully-qualified name of the
+	  enterprise bean's class. It is used by ejb-class elements.
+
+	  Example:
+
+	      <ejb-class>com.wombat.empl.EmployeeServiceBean</ejb-class>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-jarType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The ejb-jarType defines the root element of the EJB
+	deployment descriptor. It contains
+
+	    - an optional description of the ejb-jar file
+	    - an optional display name
+	    - an optional icon that contains a small and a large
+	      icon file name
+	    - mandatory structural information about all included
+	      enterprise beans
+	    - a descriptor for container managed relationships,
+	      if any
+	    - an optional application-assembly descriptor
+	    - an optional name of an ejb-client-jar file for the
+	      ejb-jar.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="enterprise-beans"
+		   type="j2ee:enterprise-beansType"/>
+      <xsd:element name="relationships"
+		   type="j2ee:relationshipsType"
+		   minOccurs="0">
+	<xsd:unique name="relationship-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-relation-name contains the name of a
+	      relation. The name must be unique within
+	      relationships.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:ejb-relation"/>
+	  <xsd:field    xpath="j2ee:ejb-relation-name"/>
+	</xsd:unique>
+      </xsd:element>
+      <xsd:element name="assembly-descriptor"
+		   type="j2ee:assembly-descriptorType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Providing an assembly-descriptor in the deployment
+	    descriptor is optional for the ejb-jar file
+	    producer.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="ejb-client-jar"
+		   type="j2ee:pathType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The optional ejb-client-jar element specifies a JAR
+	      file that contains the class files necessary for a
+	      client program to access the
+	      enterprise beans in the ejb-jar file.
+
+	      Example:
+
+		  <ejb-client-jar>employee_service_client.jar
+		  </ejb-client-jar>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="version"
+		   type="j2ee:dewey-versionType"
+		   fixed="2.1"
+		   use="required">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The version specifies the version of the
+	  EJB specification that the instance document must
+	  comply with. This information enables deployment tools
+	  to validate a particular EJB Deployment
+	  Descriptor with respect to a specific version of the EJB
+	  schema.
+
+	</xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The ejb-nameType specifies an enterprise bean's name. It is
+	  used by ejb-name elements. This name is assigned by the
+	  ejb-jar file producer to name the enterprise bean in the
+	  ejb-jar file's deployment descriptor. The name must be
+	  unique among the names of the enterprise beans in the same
+	  ejb-jar file.
+
+	  There is no architected relationship between the used
+	  ejb-name in the deployment descriptor and the JNDI name that
+	  the Deployer will assign to the enterprise bean's home.
+
+	  The name for an entity bean must conform to the lexical
+	  rules for an NMTOKEN.
+
+	  Example:
+
+	  <ejb-name>EmployeeService</ejb-name>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:xsdNMTOKENType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-relationType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The ejb-relationType describes a relationship between two
+	entity beans with container-managed persistence.  It is used
+	by ejb-relation elements. It contains a description; an
+	optional ejb-relation-name element; and exactly two
+	relationship role declarations, defined by the
+	ejb-relationship-role elements. The name of the
+	relationship, if specified, is unique within the ejb-jar
+	file.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-relation-name"
+		   type="j2ee:string"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The ejb-relation-name element provides a unique name
+	    within the ejb-jar file for a relationship.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="ejb-relationship-role"
+		   type="j2ee:ejb-relationship-roleType"/>
+      <xsd:element name="ejb-relationship-role"
+		   type="j2ee:ejb-relationship-roleType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-relationship-roleType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The ejb-relationship-roleType describes a role within a
+	  relationship. There are two roles in each relationship.
+
+	  The ejb-relationship-roleType contains an optional
+	  description; an optional name for the relationship role; a
+	  specification of the multiplicity of the role; an optional
+	  specification of cascade-delete functionality for the role;
+	  the role source; and a declaration of the cmr-field, if any,
+	  by means of which the other side of the relationship is
+	  accessed from the perspective of the role source.
+
+	  The multiplicity and role-source element are mandatory.
+
+	  The relationship-role-source element designates an entity
+	  bean by means of an ejb-name element. For bidirectional
+	  relationships, both roles of a relationship must declare a
+	  relationship-role-source element that specifies a cmr-field
+	  in terms of which the relationship is accessed. The lack of
+	  a cmr-field element in an ejb-relationship-role specifies
+	  that the relationship is unidirectional in navigability and
+	  the entity bean that participates in the relationship is
+	  "not aware" of the relationship.
+
+	  Example:
+
+	  <ejb-relation>
+	      <ejb-relation-name>Product-LineItem</ejb-relation-name>
+	      <ejb-relationship-role>
+		  <ejb-relationship-role-name>product-has-lineitems
+		  </ejb-relationship-role-name>
+		  <multiplicity>One</multiplicity>
+		  <relationship-role-source>
+		  <ejb-name>ProductEJB</ejb-name>
+		  </relationship-role-source>
+	       </ejb-relationship-role>
+	  </ejb-relation>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-relationship-role-name"
+		   type="j2ee:string"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The ejb-relationship-role-name element defines a
+	    name for a role that is unique within an
+	    ejb-relation. Different relationships can use the
+	    same name for a role.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="multiplicity"
+		   type="j2ee:multiplicityType"/>
+      <xsd:element name="cascade-delete"
+		   type="j2ee:emptyType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The cascade-delete element specifies that, within a
+	    particular relationship, the lifetime of one or more
+	    entity beans is dependent upon the lifetime of
+	    another entity bean. The cascade-delete element can
+	    only be specified for an ejb-relationship-role
+	    element contained in an ejb-relation element in
+	    which the other ejb-relationship-role
+	    element specifies a multiplicity of One.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="relationship-role-source"
+		   type="j2ee:relationship-role-sourceType"/>
+      <xsd:element name="cmr-field"
+		   type="j2ee:cmr-fieldType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="enterprise-beansType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The enterprise-beansType declares one or more enterprise
+	beans. Each bean can be a session, entity or message-driven
+	bean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:choice maxOccurs="unbounded">
+      <xsd:element name="session"
+		   type="j2ee:session-beanType">
+	<xsd:unique name="session-ejb-local-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of
+	      an EJB reference. The EJB reference is an entry in
+	      the component's environment and is relative to the
+	      java:comp/env context.  The name must be unique within
+	      the component.
+
+	      It is recommended that name be prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:ejb-local-ref"/>
+	  <xsd:field    xpath="j2ee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="session-ejb-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of an EJB
+	      reference. The EJB reference is an entry in the
+	      component's environment and is relative to the
+	      java:comp/env context. The name must be unique
+	      within the component.
+
+	      It is recommended that name is prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:ejb-ref"/>
+	  <xsd:field    xpath="j2ee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="session-resource-env-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The resource-env-ref-name element specifies the name
+	      of a resource environment reference; its value is
+	      the environment entry name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:resource-env-ref"/>
+	  <xsd:field    xpath="j2ee:resource-env-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="session-message-destination-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The message-destination-ref-name element specifies the name
+	      of a message destination reference; its value is
+	      the message destination reference name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:message-destination-ref"/>
+	  <xsd:field    xpath="j2ee:message-destination-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="session-res-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The res-ref-name element specifies the name of a
+	      resource manager connection factory reference.  The name
+	      is a JNDI name relative to the java:comp/env context.
+	      The name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:resource-ref"/>
+	  <xsd:field    xpath="j2ee:res-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="session-env-entry-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The env-entry-name element contains the name of a
+	      component's environment entry.  The name is a JNDI
+	      name relative to the java:comp/env context.  The
+	      name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:env-entry"/>
+	  <xsd:field    xpath="j2ee:env-entry-name"/>
+	</xsd:unique>
+      </xsd:element>
+
+      <xsd:element name="entity"
+		   type="j2ee:entity-beanType">
+	<xsd:unique name="entity-ejb-local-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of
+	      an EJB reference. The EJB reference is an entry in
+	      the component's environment and is relative to the
+	      java:comp/env context.  The name must be unique within
+	      the component.
+
+	      It is recommended that name be prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:ejb-local-ref"/>
+	  <xsd:field    xpath="j2ee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="entity-ejb-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of an EJB
+	      reference. The EJB reference is an entry in the
+	      component's environment and is relative to the
+	      java:comp/env context. The name must be unique
+	      within the component.
+
+	      It is recommended that name is prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:ejb-ref"/>
+	  <xsd:field    xpath="j2ee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="entity-resource-env-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The resource-env-ref-name element specifies the name
+	      of a resource environment reference; its value is
+	      the environment entry name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:resource-env-ref"/>
+	  <xsd:field    xpath="j2ee:resource-env-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="entity-message-destination-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The message-destination-ref-name element specifies the name
+	      of a message destination reference; its value is
+	      the message destination reference name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:message-destination-ref"/>
+	  <xsd:field    xpath="j2ee:message-destination-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="entity-res-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The res-ref-name element specifies the name of a
+	      resource manager connection factory reference.  The name
+	      is a JNDI name relative to the java:comp/env context.
+	      The name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:resource-ref"/>
+	  <xsd:field    xpath="j2ee:res-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="entity-env-entry-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The env-entry-name element contains the name of a
+	      component's environment entry.  The name is a JNDI
+	      name relative to the java:comp/env context.  The
+	      name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:env-entry"/>
+	  <xsd:field    xpath="j2ee:env-entry-name"/>
+	</xsd:unique>
+      </xsd:element>
+
+      <xsd:element name="message-driven"
+		   type="j2ee:message-driven-beanType">
+	<xsd:unique name="messaged-ejb-local-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of
+	      an EJB reference. The EJB reference is an entry in
+	      the component's environment and is relative to the
+	      java:comp/env context.  The name must be unique within
+	      the component.
+
+	      It is recommended that name be prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:ejb-local-ref"/>
+	  <xsd:field    xpath="j2ee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="messaged-ejb-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of an EJB
+	      reference. The EJB reference is an entry in the
+	      component's environment and is relative to the
+	      java:comp/env context. The name must be unique
+	      within the component.
+
+	      It is recommended that name is prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:ejb-ref"/>
+	  <xsd:field    xpath="j2ee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="messaged-resource-env-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The resource-env-ref-name element specifies the name
+	      of a resource environment reference; its value is
+	      the environment entry name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:resource-env-ref"/>
+	  <xsd:field    xpath="j2ee:resource-env-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="messaged-message-destination-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The message-destination-ref-name element specifies the name
+	      of a message destination reference; its value is
+	      the message destination reference name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:message-destination-ref"/>
+	  <xsd:field    xpath="j2ee:message-destination-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="messaged-res-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The res-ref-name element specifies the name of a
+	      resource manager connection factory reference.  The name
+	      is a JNDI name relative to the java:comp/env context.
+	      The name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:resource-ref"/>
+	  <xsd:field    xpath="j2ee:res-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="messaged-env-entry-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The env-entry-name element contains the name of a
+	      component's environment entry.  The name is a JNDI
+	      name relative to the java:comp/env context.  The
+	      name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:env-entry"/>
+	  <xsd:field    xpath="j2ee:env-entry-name"/>
+	</xsd:unique>
+      </xsd:element>
+
+    </xsd:choice>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="entity-beanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The entity-beanType declares an entity bean. The declaration
+	consists of:
+
+	    - an optional description
+	    - an optional display name
+	    - an optional icon element that contains a small and a large
+	      icon file name
+	    - a unique name assigned to the enterprise bean
+	      in the deployment descriptor
+	    - the names of the entity bean's remote home
+	      and remote interfaces, if any
+	    - the names of the entity bean's local home and local
+	      interfaces, if any
+	    - the entity bean's implementation class
+	    - the entity bean's persistence management type
+	    - the entity bean's primary key class name
+	    - an indication of the entity bean's reentrancy
+	    - an optional specification of the
+	      entity bean's cmp-version
+	    - an optional specification of the entity bean's
+	      abstract schema name
+	    - an optional list of container-managed fields
+	    - an optional specification of the primary key
+	      field
+	    - an optional declaration of the bean's environment
+	      entries
+	    - an optional declaration of the bean's EJB
+	      references
+	    - an optional declaration of the bean's local
+	      EJB references
+	    - an optional declaration of the bean's web
+	      service references
+	    - an optional declaration of the security role
+	      references
+	    - an optional declaration of the security identity
+	      to be used for the execution of the bean's methods
+	    - an optional declaration of the bean's
+	      resource manager connection factory references
+	    - an optional declaration of the bean's
+	      resource environment references
+	    - an optional declaration of the bean's message
+	      destination references
+	    - an optional set of query declarations
+	      for finder and select methods for an entity
+	      bean with cmp-version 2.x.
+
+	The optional abstract-schema-name element must be specified
+	for an entity bean with container-managed persistence and
+	cmp-version 2.x.
+
+	The optional primkey-field may be present in the descriptor
+	if the entity's persistence-type is Container.
+
+	The optional cmp-version element may be present in the
+	descriptor if the entity's persistence-type is Container. If
+	the persistence-type is Container and the cmp-version
+	element is not specified, its value defaults to 2.x.
+
+	The optional home and remote elements must be specified if
+	the entity bean cmp-version is 1.x.
+
+	The optional home and remote elements must be specified if
+	the entity bean has a remote home and remote interface.
+
+	The optional local-home and local elements must be specified
+	if the entity bean has a local home and local interface.
+
+	Either both the local-home and the local elements or both
+	the home and the remote elements must be specified.
+
+	The optional query elements must be present if the
+	persistence-type is Container and the cmp-version is 2.x and
+	query methods other than findByPrimaryKey have been defined
+	for the entity bean.
+
+	The other elements that are optional are "optional" in the
+	sense that they are omitted if the lists represented by them
+	are empty.
+
+	At least one cmp-field element must be present in the
+	descriptor if the entity's persistence-type is Container and
+	the cmp-version is 1.x, and none must not be present if the
+	entity's persistence-type is Bean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="ejb-name"
+		   type="j2ee:ejb-nameType"/>
+      <xsd:element name="home"
+		   type="j2ee:homeType"
+		   minOccurs="0"/>
+      <xsd:element name="remote"
+		   type="j2ee:remoteType"
+		   minOccurs="0"/>
+      <xsd:element name="local-home"
+		   type="j2ee:local-homeType"
+		   minOccurs="0"/>
+      <xsd:element name="local"
+		   type="j2ee:localType"
+		   minOccurs="0"/>
+      <xsd:element name="ejb-class"
+		   type="j2ee:ejb-classType"/>
+      <xsd:element name="persistence-type"
+		   type="j2ee:persistence-typeType"/>
+      <xsd:element name="prim-key-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The prim-key-class element contains the
+	    fully-qualified name of an
+	    entity bean's primary key class.
+
+	    If the definition of the primary key class is
+	    deferred to deployment time, the prim-key-class
+	    element should specify java.lang.Object.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="reentrant"
+		   type="j2ee:true-falseType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The reentrant element specifies whether an entity
+	    bean is reentrant or not.
+
+	    The reentrant element must be one of the two
+	    following: true or false
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="cmp-version"
+		   type="j2ee:cmp-versionType"
+		   minOccurs="0"/>
+      <xsd:element name="abstract-schema-name"
+		   type="j2ee:java-identifierType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The abstract-schema-name element specifies the name
+	    of the abstract schema type of an entity bean with
+	    cmp-version 2.x. It is used in EJB QL queries.
+
+	    For example, the abstract-schema-name for an entity
+	    bean whose local interface is
+	    com.acme.commerce.Order might be Order.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="cmp-field"
+		   type="j2ee:cmp-fieldType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="primkey-field"
+		   type="j2ee:string"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The primkey-field element is used to specify the
+	    name of the primary key field for an entity with
+	    container-managed persistence.
+
+	    The primkey-field must be one of the fields declared
+	    in the cmp-field element, and the type of the field
+	    must be the same as the primary key type.
+
+	    The primkey-field element is not used if the primary
+	    key maps to multiple container-managed fields
+	    (i.e. the key is a compound key). In this case, the
+	    fields of the primary key class must be public, and
+	    their names must correspond to the field names of
+	    the entity bean class that comprise the key.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:group ref="j2ee:jndiEnvironmentRefsGroup"/>
+      <xsd:element name="security-role-ref"
+		   type="j2ee:security-role-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="security-identity"
+		   type="j2ee:security-identityType"
+		   minOccurs="0"/>
+      <xsd:element name="query"
+		   type="j2ee:queryType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="exclude-listType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The exclude-listType specifies one or more methods which
+	the Assembler marks to be uncallable.
+
+	If the method permission relation contains methods that are
+	in the exclude list, the Deployer should consider those
+	methods to be uncallable.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="method"
+		   type="j2ee:methodType"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-driven-beanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The message-driven element declares a message-driven
+	bean. The declaration consists of:
+
+	    - an optional description
+	    - an optional display name
+	    - an optional icon element that contains a small and a large
+	      icon file name.
+	    - a name assigned to the enterprise bean in
+	      the deployment descriptor
+	    - the message-driven bean's implementation class
+	    - an optional declaration of the bean's messaging
+	      type
+	    - the message-driven bean's transaction management type
+	    - an optional declaration of the bean's
+	      message-destination-type
+	    - an optional declaration of the bean's
+	      message-destination-link
+	    - an optional declaration of the message-driven bean's
+	      activation configuration properties
+	    - an optional declaration of the bean's environment
+	      entries
+	    - an optional declaration of the bean's EJB references
+	    - an optional declaration of the bean's local EJB
+	      references
+	    - an optional declaration of the bean's web service
+	      references
+	    - an optional declaration of the security
+	      identity to be used for the execution of the bean's
+	      methods
+	    - an optional declaration of the bean's
+	      resource manager connection factory
+	      references
+	    - an optional declaration of the bean's resource
+	      environment references.
+	    - an optional declaration of the bean's message
+	      destination references
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="ejb-name"
+		   type="j2ee:ejb-nameType"/>
+      <xsd:element name="ejb-class"
+		   type="j2ee:ejb-classType"/>
+      <xsd:element name="messaging-type"
+		   type="j2ee:fully-qualified-classType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The messaging-type element specifies the message
+	    listener interface of the message-driven bean. If
+	    the messaging-type element is not specified, it is
+	    assumed to be javax.jms.MessageListener.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="transaction-type"
+		   type="j2ee:transaction-typeType"/>
+      <xsd:element name="message-destination-type"
+		   type="j2ee:message-destination-typeType"
+		   minOccurs="0"/>
+      <xsd:element name="message-destination-link"
+		   type="j2ee:message-destination-linkType"
+		   minOccurs="0"/>
+      <xsd:element name="activation-config"
+		   type="j2ee:activation-configType"
+		   minOccurs="0"/>
+      <xsd:group ref="j2ee:jndiEnvironmentRefsGroup"/>
+      <xsd:element name="security-identity"
+		   type="j2ee:security-identityType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="method-intfType">
+
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The method-intf element allows a method element to
+	differentiate between the methods with the same name and
+	signature that are multiply defined across the home and
+	component interfaces (e.g, in both an enterprise bean's
+	remote and local interfaces or in both an enterprise bean's
+	home and remote interfaces, etc.); the component and web
+	service endpoint interfaces, and so on.
+
+	The method-intf element must be one of the following:
+
+	    Home
+	    Remote
+	    LocalHome
+	    Local
+	    ServiceEndpoint
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="Home"/>
+	<xsd:enumeration value="Remote"/>
+	<xsd:enumeration value="LocalHome"/>
+	<xsd:enumeration value="Local"/>
+	<xsd:enumeration value="ServiceEndpoint"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="method-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The method-nameType contains a name of an enterprise
+	bean method or the asterisk (*) character. The asterisk is
+	used when the element denotes all the methods of an
+	enterprise bean's client view interfaces.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="method-paramsType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The method-paramsType defines a list of the
+	fully-qualified Java type names of the method parameters.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="method-param"
+		   type="j2ee:java-typeType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The method-param element contains a primitive
+	    or a fully-qualified Java type name of a method
+	    parameter.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="method-permissionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The method-permissionType specifies that one or more
+	security roles are allowed to invoke one or more enterprise
+	bean methods. The method-permissionType consists of an
+	optional description, a list of security role names or an
+	indicator to state that the method is unchecked for
+	authorization, and a list of method elements.
+
+	The security roles used in the method-permissionType
+	must be defined in the security-role elements of the
+	deployment descriptor, and the methods must be methods
+	defined in the enterprise bean's home, component and/or web
+	service endpoint interfaces.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:choice>
+	<xsd:element name="role-name"
+		     type="j2ee:role-nameType"
+		     maxOccurs="unbounded"/>
+	<xsd:element name="unchecked"
+		     type="j2ee:emptyType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The unchecked element specifies that a method is
+	      not checked for authorization by the container
+	      prior to invocation of the method.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+      </xsd:choice>
+      <xsd:element name="method"
+		   type="j2ee:methodType"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="methodType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The methodType is used to denote a method of an enterprise
+	  bean's home, component, and/or web service endpoint
+	  interface, or, in the case of a message-driven bean, the
+	  bean's message listener method, or a set of such
+	  methods. The ejb-name element must be the name of one of the
+	  enterprise beans declared in the deployment descriptor; the
+	  optional method-intf element allows to distinguish between a
+	  method with the same signature that is multiply defined
+	  across the home, component, and/or web service endpoint
+	  interfaces; the method-name element specifies the method
+	  name; and the optional method-params elements identify a
+	  single method among multiple methods with an overloaded
+	  method name.
+
+	  There are three possible styles of using methodType element
+	  within a method element:
+
+	  1.
+	  <method>
+	      <ejb-name>EJBNAME</ejb-name>
+	      <method-name>*</method-name>
+	  </method>
+
+	     This style is used to refer to all the methods of the
+	     specified enterprise bean's home, component, and/or web
+	     service endpoint interfaces.
+
+	  2.
+	  <method>
+	      <ejb-name>EJBNAME</ejb-name>
+	      <method-name>METHOD</method-name>
+	  </method>
+
+	     This style is used to refer to the specified method of
+	     the specified enterprise bean. If there are multiple
+	     methods with the same overloaded name, the element of
+	     this style refers to all the methods with the overloaded
+	     name.
+
+	  3.
+	  <method>
+	      <ejb-name>EJBNAME</ejb-name>
+	      <method-name>METHOD</method-name>
+	      <method-params>
+		  <method-param>PARAM-1</method-param>
+		  <method-param>PARAM-2</method-param>
+		  ...
+		  <method-param>PARAM-n</method-param>
+	      </method-params>
+	  </method>
+
+	     This style is used to refer to a single method within a
+	     set of methods with an overloaded name. PARAM-1 through
+	     PARAM-n are the fully-qualified Java types of the
+	     method's input parameters (if the method has no input
+	     arguments, the method-params element contains no
+	     method-param elements). Arrays are specified by the
+	     array element's type, followed by one or more pair of
+	     square brackets (e.g. int[][]). If there are multiple
+	     methods with the same overloaded name, this style refers
+	     to all of the overloaded methods.
+
+	  Examples:
+
+	  Style 1: The following method element refers to all the
+	  methods of the EmployeeService bean's home, component,
+	  and/or web service endpoint interfaces:
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-name>*</method-name>
+	  </method>
+
+	  Style 2: The following method element refers to all the
+	  create methods of the EmployeeService bean's home
+	  interface(s).
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-name>create</method-name>
+	  </method>
+
+	  Style 3: The following method element refers to the
+	  create(String firstName, String LastName) method of the
+	  EmployeeService bean's home interface(s).
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-name>create</method-name>
+	      <method-params>
+		  <method-param>java.lang.String</method-param>
+		  <method-param>java.lang.String</method-param>
+	      </method-params>
+	  </method>
+
+	  The following example illustrates a Style 3 element with
+	  more complex parameter types. The method
+	  foobar(char s, int i, int[] iar, mypackage.MyClass mycl,
+	  mypackage.MyClass[][] myclaar) would be specified as:
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-name>foobar</method-name>
+	      <method-params>
+		  <method-param>char</method-param>
+		  <method-param>int</method-param>
+		  <method-param>int[]</method-param>
+		  <method-param>mypackage.MyClass</method-param>
+		  <method-param>mypackage.MyClass[][]</method-param>
+	      </method-params>
+	  </method>
+
+	  The optional method-intf element can be used when it becomes
+	  necessary to differentiate between a method that is multiply
+	  defined across the enterprise bean's home, component, and/or
+	  web service endpoint interfaces with the same name and
+	  signature.
+
+	  For example, the method element
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-intf>Remote</method-intf>
+	      <method-name>create</method-name>
+	      <method-params>
+		  <method-param>java.lang.String</method-param>
+		  <method-param>java.lang.String</method-param>
+	      </method-params>
+	  </method>
+
+	  can be used to differentiate the create(String, String)
+	  method defined in the remote interface from the
+	  create(String, String) method defined in the remote home
+	  interface, which would be defined as
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-intf>Home</method-intf>
+	      <method-name>create</method-name>
+	      <method-params>
+		  <method-param>java.lang.String</method-param>
+		  <method-param>java.lang.String</method-param>
+	      </method-params>
+	  </method>
+
+	  and the create method that is defined in the local home
+	  interface which would be defined as
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-intf>LocalHome</method-intf>
+	      <method-name>create</method-name>
+	      <method-params>
+		  <method-param>java.lang.String</method-param>
+		  <method-param>java.lang.String</method-param>
+	      </method-params>
+	  </method>
+
+	  The method-intf element can be used with all th ree Styles
+	  of the method element usage. For example, the following
+	  method element example could be used to refer to all the
+	  methods of the EmployeeService bean's remote home interface.
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-intf>Home</method-intf>
+	      <method-name>*</method-name>
+	  </method>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="ejb-name"
+		   type="j2ee:ejb-nameType"/>
+      <xsd:element name="method-intf"
+		   type="j2ee:method-intfType"
+		   minOccurs="0">
+      </xsd:element>
+      <xsd:element name="method-name"
+		   type="j2ee:method-nameType"/>
+      <xsd:element name="method-params"
+		   type="j2ee:method-paramsType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="multiplicityType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The multiplicityType describes the multiplicity of the
+	role that participates in a relation.
+
+	The value must be one of the two following:
+
+	    One
+	    Many
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="One"/>
+	<xsd:enumeration value="Many"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="persistence-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The persistence-typeType specifies an entity bean's persistence
+	management type.
+
+	The persistence-type element must be one of the two following:
+
+	    Bean
+	    Container
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="Bean"/>
+	<xsd:enumeration value="Container"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="query-methodType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The query-method specifies the method for a finder or select
+	  query.
+
+	  The method-name element specifies the name of a finder or select
+	  method in the entity bean's implementation class.
+
+	  Each method-param must be defined for a query-method using the
+	  method-params element.
+
+	  It is used by the query-method element.
+
+	  Example:
+
+	  <query>
+	      <description>Method finds large orders</description>
+	      <query-method>
+		  <method-name>findLargeOrders</method-name>
+		  <method-params></method-params>
+	      </query-method>
+	      <ejb-ql>
+		SELECT OBJECT(o) FROM Order o
+		  WHERE o.amount &gt; 1000
+	      </ejb-ql>
+	  </query>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="method-name"
+		   type="j2ee:method-nameType"/>
+      <xsd:element name="method-params"
+		   type="j2ee:method-paramsType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="queryType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The queryType defines a finder or select
+	query. It contains
+	    - an optional description of the query
+	    - the specification of the finder or select
+	      method it is used by
+		- an optional specification of the result type
+		  mapping, if the query is for a select method
+		  and entity objects are returned.
+		- the EJB QL query string that defines the query.
+
+	Queries that are expressible in EJB QL must use the ejb-ql
+	element to specify the query. If a query is not expressible
+	in EJB QL, the description element should be used to
+	describe the semantics of the query and the ejb-ql element
+	should be empty.
+
+	The result-type-mapping is an optional element. It can only
+	be present if the query-method specifies a select method
+	that returns entity objects.  The default value for the
+	result-type-mapping element is "Local".
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType" minOccurs="0"/>
+      <xsd:element name="query-method"
+		   type="j2ee:query-methodType"/>
+      <xsd:element name="result-type-mapping"
+		   type="j2ee:result-type-mappingType"
+		   minOccurs="0"/>
+      <xsd:element name="ejb-ql"
+		   type="j2ee:xsdStringType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="relationship-role-sourceType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The relationship-role-sourceType designates the source of a
+	role that participates in a relationship. A
+	relationship-role-sourceType is used by
+	relationship-role-source elements to uniquely identify an
+	entity bean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-name"
+		   type="j2ee:ejb-nameType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="relationshipsType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The relationshipsType describes the relationships in
+	which entity beans with container-managed persistence
+	participate. The relationshipsType contains an optional
+	description; and a list of ejb-relation elements, which
+	specify the container managed relationships.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-relation"
+		   type="j2ee:ejb-relationType"
+		   maxOccurs="unbounded">
+
+	<xsd:unique name="role-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-relationship-role-name contains the name of a
+	      relationship role. The name must be unique within
+	      a relationship, but can be reused in different
+	      relationships.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector
+	       xpath=".//j2ee:ejb-relationship-role-name"/>
+	  <xsd:field
+	       xpath="."/>
+	</xsd:unique>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="result-type-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The result-type-mappingType is used in the query element to
+	specify whether an abstract schema type returned by a query
+	for a select method is to be mapped to an EJBLocalObject or
+	EJBObject type.
+
+	The value must be one of the following:
+
+	    Local
+	    Remote
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="Local"/>
+	<xsd:enumeration value="Remote"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="security-identityType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The security-identityType specifies whether the caller's
+	security identity is to be used for the execution of the
+	methods of the enterprise bean or whether a specific run-as
+	identity is to be used. It contains an optional description
+	and a specification of the security identity to be used.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:choice>
+	<xsd:element name="use-caller-identity"
+		     type="j2ee:emptyType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The use-caller-identity element specifies that
+	      the caller's security identity be used as the
+	      security identity for the execution of the
+	      enterprise bean's methods.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+	<xsd:element name="run-as"
+		     type="j2ee:run-asType"/>
+      </xsd:choice>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="session-beanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The session-beanType declares an session bean. The
+	declaration consists of:
+
+	    - an optional description
+	    - an optional display name
+	    - an optional icon element that contains a small and a large
+	      icon file name
+	    - a name assigned to the enterprise bean
+	      in the deployment description
+	    - the names of the session bean's remote home and
+	      remote interfaces, if any
+	    - the names of the session bean's local home and
+	      local interfaces, if any
+	    - the name of the session bean's web service endpoint
+	      interface, if any
+	    - the session bean's implementation class
+	    - the session bean's state management type
+	    - the session bean's transaction management type
+	    - an optional declaration of the bean's
+	      environment entries
+	    - an optional declaration of the bean's EJB references
+	    - an optional declaration of the bean's local
+	      EJB references
+	    - an optional declaration of the bean's web
+	      service references
+	    - an optional declaration of the security role
+	      references
+	    - an optional declaration of the security identity
+	      to be used for the execution of the bean's methods
+	    - an optional declaration of the bean's resource
+	      manager connection factory references
+	    - an optional declaration of the bean's resource
+	      environment references.
+	    - an optional declaration of the bean's message
+	      destination references
+
+	The elements that are optional are "optional" in the sense
+	that they are omitted when if lists represented by them are
+	empty.
+
+	Either both the local-home and the local elements or both
+	the home and the remote elements must be specified for the
+	session bean.
+
+	The service-endpoint element may only be specified if the
+	bean is a stateless session bean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="ejb-name"
+		   type="j2ee:ejb-nameType"/>
+      <xsd:element name="home"
+		   type="j2ee:homeType"
+		   minOccurs="0"/>
+      <xsd:element name="remote"
+		   type="j2ee:remoteType"
+		   minOccurs="0"/>
+      <xsd:element name="local-home"
+		   type="j2ee:local-homeType"
+		   minOccurs="0"/>
+      <xsd:element name="local"
+		   type="j2ee:localType"
+		   minOccurs="0"/>
+      <xsd:element name="service-endpoint"
+		   type="j2ee:fully-qualified-classType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-endpoint element contains the
+	    fully-qualified name of the enterprise bean's web
+	    service endpoint interface. The service-endpoint
+	    element may only be specified for a stateless
+	    session bean. The specified interface must be a
+	    valid JAX-RPC service endpoint interface.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="ejb-class"
+		   type="j2ee:ejb-classType"/>
+      <xsd:element name="session-type"
+		   type="j2ee:session-typeType"/>
+      <xsd:element name="transaction-type"
+		   type="j2ee:transaction-typeType"/>
+      <xsd:group ref="j2ee:jndiEnvironmentRefsGroup"/>
+      <xsd:element name="security-role-ref"
+		   type="j2ee:security-role-refType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="security-identity"
+		   type="j2ee:security-identityType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="session-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The session-typeType describes whether the session bean is a
+	stateful session or stateless session. It is used by
+	session-type elements.
+
+	The value must be one of the two following:
+
+	    Stateful
+	    Stateless
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="Stateful"/>
+	<xsd:enumeration value="Stateless"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="trans-attributeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The trans-attributeType specifies how the container must
+	manage the transaction boundaries when delegating a method
+	invocation to an enterprise bean's business method.
+
+	The value must be one of the following:
+
+	    NotSupported
+	    Supports
+	    Required
+	    RequiresNew
+	    Mandatory
+	    Never
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="NotSupported"/>
+	<xsd:enumeration value="Supports"/>
+	<xsd:enumeration value="Required"/>
+	<xsd:enumeration value="RequiresNew"/>
+	<xsd:enumeration value="Mandatory"/>
+	<xsd:enumeration value="Never"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="transaction-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The transaction-typeType specifies an enterprise bean's
+	transaction management type.
+
+	The transaction-type must be one of the two following:
+
+	    Bean
+	    Container
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="Bean"/>
+	<xsd:enumeration value="Container"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/ejb-jar_3_0.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/ejb-jar_3_0.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/ejb-jar_3_0.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2705 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/javaee"
+	    xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="3.0">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)ejb-jar_3_0.xsds	1.51 02/23/06
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003-2006 Sun Microsystems, Inc.
+      4150 Network Circle
+      Santa Clara, California 95054
+      U.S.A
+      All rights reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	This is the XML Schema for the EJB 3.0 deployment descriptor.
+	The deployment descriptor must be named "META-INF/ejb-jar.xml" in
+	the EJB's jar file.  All EJB deployment descriptors must indicate
+	the ejb-jar schema by using the Java EE namespace:
+
+	http://java.sun.com/xml/ns/javaee
+
+	and by indicating the version of the schema by
+	using the version element as shown below:
+
+	    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+		  http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
+	      version="3.0">
+	      ...
+	    </ejb-jar>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute for the
+	Java EE namespace with the following location:
+
+	http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all Java EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="javaee_5.xsd"/>
+
+
+<!-- **************************************************** -->
+
+  <xsd:element name="ejb-jar" type="javaee:ejb-jarType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This is the root of the ejb-jar deployment descriptor.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:key name="ejb-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The ejb-name element contains the name of an enterprise
+	  bean. The name must be unique within the ejb-jar file.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:enterprise-beans/*"/>
+      <xsd:field    xpath="javaee:ejb-name"/>
+    </xsd:key>
+
+    <xsd:keyref name="ejb-name-references"
+		refer="javaee:ejb-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The keyref indicates the references from
+	  relationship-role-source must be to a specific ejb-name
+	  defined within the scope of enterprise-beans element.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector
+xpath=".//javaee:ejb-relationship-role/javaee:relationship-role-source"/>
+      <xsd:field
+	   xpath="javaee:ejb-name"/>
+    </xsd:keyref>
+
+    <xsd:key name="role-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  A role-name-key is specified to allow the references
+	  from the security-role-refs.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:assembly-descriptor/javaee:security-role"/>
+      <xsd:field    xpath="javaee:role-name"/>
+    </xsd:key>
+
+    <xsd:keyref name="role-name-references"
+		refer="javaee:role-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The keyref indicates the references from
+	  security-role-ref to a specified role-name.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:enterprise-beans/*/javaee:security-role-ref"/>
+      <xsd:field    xpath="javaee:role-link"/>
+    </xsd:keyref>
+  </xsd:element>
+
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="activation-config-propertyType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The activation-config-propertyType contains a name/value
+	configuration property pair for a message-driven bean.
+
+	The properties that are recognized for a particular
+	message-driven bean are determined by the messaging type.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="activation-config-property-name"
+		   type="javaee:xsdStringType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The activation-config-property-name element contains
+	    the name for an activation configuration property of
+	    a message-driven bean.
+
+	    For JMS message-driven beans, the following property
+	    names are recognized: acknowledgeMode,
+	    messageSelector, destinationType, subscriptionDurability
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="activation-config-property-value"
+		   type="javaee:xsdStringType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The activation-config-property-value element
+	    contains the value for an activation configuration
+	    property of a message-driven bean.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="activation-configType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The activation-configType defines information about the
+	expected configuration properties of the message-driven bean
+	in its operational environment. This may include information
+	about message acknowledgement, message selector, expected
+	destination type, etc.
+
+	The configuration information is expressed in terms of
+	name/value configuration properties.
+
+	The properties that are recognized for a particular
+	message-driven bean are determined by the messaging type.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="activation-config-property"
+		   type="javaee:activation-config-propertyType"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="application-exceptionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        The application-exceptionType declares an application
+        exception. The declaration consists of:
+
+            - the exception class. When the container receives
+              an exception of this type, it is required to
+              forward this exception as an applcation exception
+              to the client regardless of whether it is a checked
+              or unchecked exception.
+            - an optional rollback element. If this element is
+              set to true, the container must rollback the current
+              transaction before forwarding the exception to the
+              client.  If not specified, it defaults to false.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="exception-class"
+		   type="javaee:fully-qualified-classType"/>
+      <xsd:element name="rollback"
+                   type="javaee:true-falseType"
+                   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="around-invokeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        The around-invoke type specifies a method on a
+        class to be called during the around invoke portion of an
+        ejb invocation.  Note that each class may have only one
+        around invoke method and that the method may not be
+        overloaded.
+
+        If the class element is missing then
+        the class defining the callback is assumed to be the
+        interceptor class or component class in scope at the
+        location in the descriptor in which the around invoke
+        definition appears.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="class"
+                   type="javaee:fully-qualified-classType"
+                   minOccurs="0"/>
+      <xsd:element name="method-name"
+                   type="javaee:java-identifierType"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="assembly-descriptorType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The assembly-descriptorType defines
+	application-assembly information.
+
+	The application-assembly information consists of the
+	following parts: the definition of security roles, the
+	definition of method permissions, the definition of
+	transaction attributes for enterprise beans with
+	container-managed transaction demarcation, the definition
+        of interceptor bindings, a list of
+	methods to be excluded from being invoked, and a list of
+        exception types that should be treated as application exceptions.
+
+	All the parts are optional in the sense that they are
+	omitted if the lists represented by them are empty.
+
+	Providing an assembly-descriptor in the deployment
+	descriptor is optional for the ejb-jar file producer.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="security-role"
+		   type="javaee:security-roleType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="method-permission"
+		   type="javaee:method-permissionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="container-transaction"
+		   type="javaee:container-transactionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="interceptor-binding"
+                   type="javaee:interceptor-bindingType"
+                   minOccurs="0"
+                   maxOccurs="unbounded"/>
+      <xsd:element name="message-destination"
+		   type="javaee:message-destinationType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="exclude-list"
+		   type="javaee:exclude-listType"
+		   minOccurs="0"/>
+      <xsd:element name="application-exception"
+                   type="javaee:application-exceptionType"
+                   minOccurs="0"
+                   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="cmp-fieldType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The cmp-fieldType describes a container-managed field. The
+	cmp-fieldType contains an optional description of the field,
+	and the name of the field.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="field-name"
+		   type="javaee:java-identifierType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The field-name element specifies the name of a
+	    container managed field.
+
+	    The name of the cmp-field of an entity bean with
+	    cmp-version 2.x must begin with a lowercase
+	    letter. This field is accessed by methods whose
+	    names consists of the name of the field specified by
+	    field-name in which the first letter is uppercased,
+	    prefixed by "get" or "set".
+
+	    The name of the cmp-field of an entity bean with
+	    cmp-version 1.x must denote a public field of the
+	    enterprise bean class or one of its superclasses.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="cmp-versionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The cmp-versionType specifies the version of an entity bean
+	with container-managed persistence. It is used by
+	cmp-version elements.
+
+	The value must be one of the two following:
+
+	    1.x
+	    2.x
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="1.x"/>
+	<xsd:enumeration value="2.x"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="cmr-field-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The cmr-field-type element specifies the class of a
+	collection-valued logical relationship field in the entity
+	bean class. The value of an element using cmr-field-typeType
+	must be either: java.util.Collection or java.util.Set.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="java.util.Collection"/>
+	<xsd:enumeration value="java.util.Set"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="cmr-fieldType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The cmr-fieldType describes the bean provider's view of
+	a relationship. It consists of an optional description, and
+	the name and the class type of a field in the source of a
+	role of a relationship. The cmr-field-name element
+	corresponds to the name used for the get and set accessor
+	methods for the relationship. The cmr-field-type element is
+	used only for collection-valued cmr-fields. It specifies the
+	type of the collection that is used.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="cmr-field-name"
+		   type="javaee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The cmr-field-name element specifies the name of a
+	    logical relationship field in the entity bean
+	    class. The name of the cmr-field must begin with a
+	    lowercase letter. This field is accessed by methods
+	    whose names consist of the name of the field
+	    specified by cmr-field-name in which the first
+	    letter is uppercased, prefixed by "get" or "set".
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="cmr-field-type"
+		   type="javaee:cmr-field-typeType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="container-transactionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The container-transactionType specifies how the container
+	must manage transaction scopes for the enterprise bean's
+	method invocations. It defines an optional description, a
+	list of method elements, and a transaction attribute. The
+	transaction attribute is to be applied to all the specified
+	methods.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="method"
+		   type="javaee:methodType"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="trans-attribute"
+		   type="javaee:trans-attributeType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-classType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The ejb-classType contains the fully-qualified name of the
+	  enterprise bean's class. It is used by ejb-class elements.
+
+	  Example:
+
+	      <ejb-class>com.wombat.empl.EmployeeServiceBean</ejb-class>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-jarType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The ejb-jarType defines the root element of the EJB
+	deployment descriptor. It contains
+
+	    - an optional description of the ejb-jar file
+	    - an optional display name
+	    - an optional icon that contains a small and a large
+	      icon file name
+	    - structural information about all included
+	      enterprise beans that is not specified through
+              annotations
+            - structural information about interceptor classes
+	    - a descriptor for container managed relationships,
+	      if any.
+	    - an optional application-assembly descriptor
+	    - an optional name of an ejb-client-jar file for the
+	      ejb-jar.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="enterprise-beans"
+		   type="javaee:enterprise-beansType"
+                   minOccurs="0"/>
+      <xsd:element name="interceptors"
+		   type="javaee:interceptorsType"
+                   minOccurs="0"/>
+      <xsd:element name="relationships"
+		   type="javaee:relationshipsType"
+		   minOccurs="0">
+	<xsd:unique name="relationship-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-relation-name contains the name of a
+	      relation. The name must be unique within
+	      relationships.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:ejb-relation"/>
+	  <xsd:field    xpath="javaee:ejb-relation-name"/>
+	</xsd:unique>
+      </xsd:element>
+      <xsd:element name="assembly-descriptor"
+		   type="javaee:assembly-descriptorType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Providing an assembly-descriptor in the deployment
+	    descriptor is optional for the ejb-jar file
+	    producer.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="ejb-client-jar"
+		   type="javaee:pathType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The optional ejb-client-jar element specifies a JAR
+	      file that contains the class files necessary for a
+	      client program to access the
+	      enterprise beans in the ejb-jar file.
+
+	      Example:
+
+		  <ejb-client-jar>employee_service_client.jar
+		  </ejb-client-jar>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="version"
+		   type="javaee:dewey-versionType"
+		   fixed="3.0"
+		   use="required">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The version specifies the version of the
+	  EJB specification that the instance document must
+	  comply with. This information enables deployment tools
+	  to validate a particular EJB Deployment
+	  Descriptor with respect to a specific version of the EJB
+	  schema.
+
+	</xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+    <xsd:attribute name="metadata-complete" type="xsd:boolean">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The metadata-complete attribute defines whether this
+	  deployment descriptor and other related deployment
+	  descriptors for this module (e.g., web service
+	  descriptors) are complete, or whether the class
+	  files available to this module and packaged with
+	  this application should be examined for annotations
+	  that specify deployment information.
+
+	  If metadata-complete is set to "true", the deployment
+	  tool must ignore any annotations that specify deployment
+	  information, which might be present in the class files
+	  of the application.
+
+	  If metadata-complete is not specified or is set to
+	  "false", the deployment tool must examine the class
+	  files of the application for annotations, as
+	  specified by the specifications.
+
+	</xsd:documentation>
+      </xsd:annotation>
+
+    </xsd:attribute>
+
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The ejb-nameType specifies an enterprise bean's name. It is
+	  used by ejb-name elements. This name is assigned by the
+	  ejb-jar file producer to name the enterprise bean in the
+	  ejb-jar file's deployment descriptor. The name must be
+	  unique among the names of the enterprise beans in the same
+	  ejb-jar file.
+
+	  There is no architected relationship between the used
+	  ejb-name in the deployment descriptor and the JNDI name that
+	  the Deployer will assign to the enterprise bean's home.
+
+	  The name for an entity bean must conform to the lexical
+	  rules for an NMTOKEN.
+
+	  Example:
+
+	  <ejb-name>EmployeeService</ejb-name>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:xsdNMTOKENType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-relationType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The ejb-relationType describes a relationship between two
+	entity beans with container-managed persistence.  It is used
+	by ejb-relation elements. It contains a description; an
+	optional ejb-relation-name element; and exactly two
+	relationship role declarations, defined by the
+	ejb-relationship-role elements. The name of the
+	relationship, if specified, is unique within the ejb-jar
+	file.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-relation-name"
+		   type="javaee:string"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The ejb-relation-name element provides a unique name
+	    within the ejb-jar file for a relationship.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="ejb-relationship-role"
+		   type="javaee:ejb-relationship-roleType"/>
+      <xsd:element name="ejb-relationship-role"
+		   type="javaee:ejb-relationship-roleType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-relationship-roleType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The ejb-relationship-roleType describes a role within a
+	  relationship. There are two roles in each relationship.
+
+	  The ejb-relationship-roleType contains an optional
+	  description; an optional name for the relationship role; a
+	  specification of the multiplicity of the role; an optional
+	  specification of cascade-delete functionality for the role;
+	  the role source; and a declaration of the cmr-field, if any,
+	  by means of which the other side of the relationship is
+	  accessed from the perspective of the role source.
+
+	  The multiplicity and role-source element are mandatory.
+
+	  The relationship-role-source element designates an entity
+	  bean by means of an ejb-name element. For bidirectional
+	  relationships, both roles of a relationship must declare a
+	  relationship-role-source element that specifies a cmr-field
+	  in terms of which the relationship is accessed. The lack of
+	  a cmr-field element in an ejb-relationship-role specifies
+	  that the relationship is unidirectional in navigability and
+	  the entity bean that participates in the relationship is
+	  "not aware" of the relationship.
+
+	  Example:
+
+	  <ejb-relation>
+	      <ejb-relation-name>Product-LineItem</ejb-relation-name>
+	      <ejb-relationship-role>
+		  <ejb-relationship-role-name>product-has-lineitems
+		  </ejb-relationship-role-name>
+		  <multiplicity>One</multiplicity>
+		  <relationship-role-source>
+		  <ejb-name>ProductEJB</ejb-name>
+		  </relationship-role-source>
+	       </ejb-relationship-role>
+	  </ejb-relation>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-relationship-role-name"
+		   type="javaee:string"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The ejb-relationship-role-name element defines a
+	    name for a role that is unique within an
+	    ejb-relation. Different relationships can use the
+	    same name for a role.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="multiplicity"
+		   type="javaee:multiplicityType"/>
+      <xsd:element name="cascade-delete"
+		   type="javaee:emptyType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The cascade-delete element specifies that, within a
+	    particular relationship, the lifetime of one or more
+	    entity beans is dependent upon the lifetime of
+	    another entity bean. The cascade-delete element can
+	    only be specified for an ejb-relationship-role
+	    element contained in an ejb-relation element in
+	    which the other ejb-relationship-role
+	    element specifies a multiplicity of One.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="relationship-role-source"
+		   type="javaee:relationship-role-sourceType"/>
+      <xsd:element name="cmr-field"
+		   type="javaee:cmr-fieldType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="enterprise-beansType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The enterprise-beansType declares one or more enterprise
+	beans. Each bean can be a session, entity or message-driven
+	bean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:choice maxOccurs="unbounded">
+      <xsd:element name="session"
+		   type="javaee:session-beanType">
+	<xsd:unique name="session-ejb-local-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of
+	      an EJB reference. The EJB reference is an entry in
+	      the component's environment and is relative to the
+	      java:comp/env context.  The name must be unique within
+	      the component.
+
+	      It is recommended that name be prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:ejb-local-ref"/>
+	  <xsd:field    xpath="javaee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="session-ejb-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of an EJB
+	      reference. The EJB reference is an entry in the
+	      component's environment and is relative to the
+	      java:comp/env context. The name must be unique
+	      within the component.
+
+	      It is recommended that name is prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:ejb-ref"/>
+	  <xsd:field    xpath="javaee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="session-resource-env-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The resource-env-ref-name element specifies the name
+	      of a resource environment reference; its value is
+	      the environment entry name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:resource-env-ref"/>
+	  <xsd:field    xpath="javaee:resource-env-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="session-message-destination-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The message-destination-ref-name element specifies the name
+	      of a message destination reference; its value is
+	      the message destination reference name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:message-destination-ref"/>
+	  <xsd:field    xpath="javaee:message-destination-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="session-res-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The res-ref-name element specifies the name of a
+	      resource manager connection factory reference.  The name
+	      is a JNDI name relative to the java:comp/env context.
+	      The name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:resource-ref"/>
+	  <xsd:field    xpath="javaee:res-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="session-env-entry-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The env-entry-name element contains the name of a
+	      component's environment entry.  The name is a JNDI
+	      name relative to the java:comp/env context.  The
+	      name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:env-entry"/>
+	  <xsd:field    xpath="javaee:env-entry-name"/>
+	</xsd:unique>
+      </xsd:element>
+
+      <xsd:element name="entity"
+		   type="javaee:entity-beanType">
+	<xsd:unique name="entity-ejb-local-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of
+	      an EJB reference. The EJB reference is an entry in
+	      the component's environment and is relative to the
+	      java:comp/env context.  The name must be unique within
+	      the component.
+
+	      It is recommended that name be prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:ejb-local-ref"/>
+	  <xsd:field    xpath="javaee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="entity-ejb-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of an EJB
+	      reference. The EJB reference is an entry in the
+	      component's environment and is relative to the
+	      java:comp/env context. The name must be unique
+	      within the component.
+
+	      It is recommended that name is prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:ejb-ref"/>
+	  <xsd:field    xpath="javaee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="entity-resource-env-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The resource-env-ref-name element specifies the name
+	      of a resource environment reference; its value is
+	      the environment entry name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:resource-env-ref"/>
+	  <xsd:field    xpath="javaee:resource-env-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="entity-message-destination-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The message-destination-ref-name element specifies the name
+	      of a message destination reference; its value is
+	      the message destination reference name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:message-destination-ref"/>
+	  <xsd:field    xpath="javaee:message-destination-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="entity-res-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The res-ref-name element specifies the name of a
+	      resource manager connection factory reference.  The name
+	      is a JNDI name relative to the java:comp/env context.
+	      The name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:resource-ref"/>
+	  <xsd:field    xpath="javaee:res-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="entity-env-entry-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The env-entry-name element contains the name of a
+	      component's environment entry.  The name is a JNDI
+	      name relative to the java:comp/env context.  The
+	      name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:env-entry"/>
+	  <xsd:field    xpath="javaee:env-entry-name"/>
+	</xsd:unique>
+      </xsd:element>
+
+      <xsd:element name="message-driven"
+		   type="javaee:message-driven-beanType">
+	<xsd:unique name="messaged-ejb-local-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of
+	      an EJB reference. The EJB reference is an entry in
+	      the component's environment and is relative to the
+	      java:comp/env context.  The name must be unique within
+	      the component.
+
+	      It is recommended that name be prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:ejb-local-ref"/>
+	  <xsd:field    xpath="javaee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="messaged-ejb-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-ref-name element contains the name of an EJB
+	      reference. The EJB reference is an entry in the
+	      component's environment and is relative to the
+	      java:comp/env context. The name must be unique
+	      within the component.
+
+	      It is recommended that name is prefixed with "ejb/".
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:ejb-ref"/>
+	  <xsd:field    xpath="javaee:ejb-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="messaged-resource-env-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The resource-env-ref-name element specifies the name
+	      of a resource environment reference; its value is
+	      the environment entry name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:resource-env-ref"/>
+	  <xsd:field    xpath="javaee:resource-env-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="messaged-message-destination-ref-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The message-destination-ref-name element specifies the name
+	      of a message destination reference; its value is
+	      the message destination reference name used in the component
+	      code. The name is a JNDI name relative to the
+	      java:comp/env context and must be unique within an
+	      component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:message-destination-ref"/>
+	  <xsd:field    xpath="javaee:message-destination-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="messaged-res-ref-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The res-ref-name element specifies the name of a
+	      resource manager connection factory reference.  The name
+	      is a JNDI name relative to the java:comp/env context.
+	      The name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:resource-ref"/>
+	  <xsd:field    xpath="javaee:res-ref-name"/>
+	</xsd:unique>
+
+	<xsd:unique name="messaged-env-entry-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The env-entry-name element contains the name of a
+	      component's environment entry.  The name is a JNDI
+	      name relative to the java:comp/env context.  The
+	      name must be unique within an component.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:env-entry"/>
+	  <xsd:field    xpath="javaee:env-entry-name"/>
+	</xsd:unique>
+      </xsd:element>
+
+    </xsd:choice>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="entity-beanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The entity-beanType declares an entity bean. The declaration
+	consists of:
+
+	    - an optional description
+	    - an optional display name
+	    - an optional icon element that contains a small and a large
+	      icon file name
+	    - a unique name assigned to the enterprise bean
+	      in the deployment descriptor
+            - an optional mapped-name element that can be used to provide
+              vendor-specific deployment information such as the physical
+              jndi-name of the entity bean's remote home interface. This
+              element is not required to be supported by all implementations.
+              Any use of this element is non-portable.
+	    - the names of the entity bean's remote home
+	      and remote interfaces, if any
+	    - the names of the entity bean's local home and local
+	      interfaces, if any
+	    - the entity bean's implementation class
+	    - the optional entity bean's persistence management type. If
+              this element is not specified it is defaulted to Container.
+	    - the entity bean's primary key class name
+	    - an indication of the entity bean's reentrancy
+	    - an optional specification of the
+	      entity bean's cmp-version
+	    - an optional specification of the entity bean's
+	      abstract schema name
+	    - an optional list of container-managed fields
+	    - an optional specification of the primary key
+	      field
+	    - an optional declaration of the bean's environment
+	      entries
+	    - an optional declaration of the bean's EJB
+	      references
+	    - an optional declaration of the bean's local
+	      EJB references
+	    - an optional declaration of the bean's web
+	      service references
+	    - an optional declaration of the security role
+	      references
+	    - an optional declaration of the security identity
+	      to be used for the execution of the bean's methods
+	    - an optional declaration of the bean's
+	      resource manager connection factory references
+	    - an optional declaration of the bean's
+	      resource environment references
+	    - an optional declaration of the bean's message
+	      destination references
+	    - an optional set of query declarations
+	      for finder and select methods for an entity
+	      bean with cmp-version 2.x.
+
+	The optional abstract-schema-name element must be specified
+	for an entity bean with container-managed persistence and
+	cmp-version 2.x.
+
+	The optional primkey-field may be present in the descriptor
+	if the entity's persistence-type is Container.
+
+	The optional cmp-version element may be present in the
+	descriptor if the entity's persistence-type is Container. If
+	the persistence-type is Container and the cmp-version
+	element is not specified, its value defaults to 2.x.
+
+	The optional home and remote elements must be specified if
+	the entity bean cmp-version is 1.x.
+
+	The optional home and remote elements must be specified if
+	the entity bean has a remote home and remote interface.
+
+	The optional local-home and local elements must be specified
+	if the entity bean has a local home and local interface.
+
+	Either both the local-home and the local elements or both
+	the home and the remote elements must be specified.
+
+	The optional query elements must be present if the
+	persistence-type is Container and the cmp-version is 2.x and
+	query methods other than findByPrimaryKey have been defined
+	for the entity bean.
+
+	The other elements that are optional are "optional" in the
+	sense that they are omitted if the lists represented by them
+	are empty.
+
+	At least one cmp-field element must be present in the
+	descriptor if the entity's persistence-type is Container and
+	the cmp-version is 1.x, and none must not be present if the
+	entity's persistence-type is Bean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="ejb-name"
+		   type="javaee:ejb-nameType"/>
+      <xsd:element name="mapped-name"
+		   type="javaee:xsdStringType"
+		   minOccurs="0"/>
+      <xsd:element name="home"
+		   type="javaee:homeType"
+		   minOccurs="0"/>
+      <xsd:element name="remote"
+		   type="javaee:remoteType"
+		   minOccurs="0"/>
+      <xsd:element name="local-home"
+		   type="javaee:local-homeType"
+		   minOccurs="0"/>
+      <xsd:element name="local"
+		   type="javaee:localType"
+		   minOccurs="0"/>
+      <xsd:element name="ejb-class"
+		   type="javaee:ejb-classType"/>
+      <xsd:element name="persistence-type"
+		   type="javaee:persistence-typeType"/>
+      <xsd:element name="prim-key-class"
+		   type="javaee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The prim-key-class element contains the
+	    fully-qualified name of an
+	    entity bean's primary key class.
+
+	    If the definition of the primary key class is
+	    deferred to deployment time, the prim-key-class
+	    element should specify java.lang.Object.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="reentrant"
+		   type="javaee:true-falseType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The reentrant element specifies whether an entity
+	    bean is reentrant or not.
+
+	    The reentrant element must be one of the two
+	    following: true or false
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="cmp-version"
+		   type="javaee:cmp-versionType"
+		   minOccurs="0"/>
+      <xsd:element name="abstract-schema-name"
+		   type="javaee:java-identifierType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The abstract-schema-name element specifies the name
+	    of the abstract schema type of an entity bean with
+	    cmp-version 2.x. It is used in EJB QL queries.
+
+	    For example, the abstract-schema-name for an entity
+	    bean whose local interface is
+	    com.acme.commerce.Order might be Order.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="cmp-field"
+		   type="javaee:cmp-fieldType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="primkey-field"
+		   type="javaee:string"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The primkey-field element is used to specify the
+	    name of the primary key field for an entity with
+	    container-managed persistence.
+
+	    The primkey-field must be one of the fields declared
+	    in the cmp-field element, and the type of the field
+	    must be the same as the primary key type.
+
+	    The primkey-field element is not used if the primary
+	    key maps to multiple container-managed fields
+	    (i.e. the key is a compound key). In this case, the
+	    fields of the primary key class must be public, and
+	    their names must correspond to the field names of
+	    the entity bean class that comprise the key.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
+      <xsd:element name="security-role-ref"
+		   type="javaee:security-role-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="security-identity"
+		   type="javaee:security-identityType"
+		   minOccurs="0"/>
+      <xsd:element name="query"
+		   type="javaee:queryType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="exclude-listType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The exclude-listType specifies one or more methods which
+	the Assembler marks to be uncallable.
+
+	If the method permission relation contains methods that are
+	in the exclude list, the Deployer should consider those
+	methods to be uncallable.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="method"
+		   type="javaee:methodType"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="init-methodType">
+    <xsd:sequence>
+      <xsd:element name="create-method"
+		   type="javaee:named-methodType"/>
+      <xsd:element name="bean-method"
+		   type="javaee:named-methodType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="interceptor-bindingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        The interceptor-bindingType element describes the binding of
+        interceptor classes to beans within the ejb-jar.
+        It consists of :
+
+          - An optional description.
+          - The name of an ejb within the ejb-jar or the wildcard value "*",
+            which is used to define interceptors that are bound to all
+            beans in the ejb-jar.
+          - A list of interceptor classes that are bound to the contents of
+            the ejb-name element or a specification of the total ordering
+            over the interceptors defined for the given level and above.
+          - An optional exclude-default-interceptors element.  If set to true,
+            specifies that default interceptors are not to be applied to
+            a bean-class and/or business method.
+          - An optional exclude-class-interceptors element.  If set to true,
+            specifies that class interceptors are not to be applied to
+            a business method.
+          - An optional set of method elements for describing the name/params
+            of a method-level interceptor.
+
+         Interceptors bound to all classes using the wildcard syntax
+         "*" are default interceptors for the components in the ejb-jar.
+         In addition, interceptors may be bound at the level of the bean
+         class (class-level interceptors) or business methods (method-level
+         interceptors ).
+
+         The binding of interceptors to classes is additive.  If interceptors
+         are bound at the class-level and/or default-level as well as the
+         method-level, both class-level and/or default-level as well as
+         method-level will apply.
+
+         There are four possible styles of the interceptor element syntax :
+
+         1.
+         <interceptor-binding>
+           <ejb-name>*</ejb-name>
+           <interceptor-class>INTERCEPTOR</interceptor-class>
+         </interceptor-binding>
+
+         Specifying the ejb-name as the wildcard value "*" designates
+         default interceptors (interceptors that apply to all session and
+         message-driven beans contained in the ejb-jar).
+
+         2.
+         <interceptor-binding>
+           <ejb-name>EJBNAME</ejb-name>
+           <interceptor-class>INTERCEPTOR</interceptor-class>
+         </interceptor-binding>
+
+         This style is used to refer to interceptors associated with the
+         specified enterprise bean(class-level interceptors).
+
+         3.
+         <interceptor-binding>
+           <ejb-name>EJBNAME</ejb-name>
+           <interceptor-class>INTERCEPTOR</interceptor-class>
+           <method>
+             <method-name>METHOD</method-name>
+           </method>
+         </interceptor-binding>
+
+         This style is used to associate a method-level interceptor with
+         the specified enterprise bean.  If there are multiple methods
+         with the same overloaded name, the element of this style refers
+         to all the methods with the overloaded name.  Method-level
+         interceptors can only be associated with business methods of the
+         bean class.   Note that the wildcard value "*" cannot be used
+         to specify method-level interceptors.
+
+         4.
+         <interceptor-binding>
+           <ejb-name>EJBNAME</ejb-name>
+           <interceptor-class>INTERCEPTOR</interceptor-class>
+           <method>
+             <method-name>METHOD</method-name>
+             <method-params>
+               <method-param>PARAM-1</method-param>
+               <method-param>PARAM-2</method-param>
+               ...
+               <method-param>PARAM-N</method-param>
+             </method-params>
+           </method>
+         </interceptor-binding>
+
+         This style is used to associate a method-level interceptor with
+         the specified method of the specified enterprise bean.  This
+         style is used to refer to a single method within a set of methods
+         with an overloaded name.  The values PARAM-1 through PARAM-N
+         are the fully-qualified Java types of the method's input parameters
+         (if the method has no input arguments, the method-params element
+         contains no method-param elements). Arrays are specified by the
+         array element's type, followed by one or more pair of square
+         brackets (e.g. int[][]).
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-name"
+		   type="javaee:string"/>
+      <xsd:choice>
+        <xsd:element name="interceptor-class"
+                     type="javaee:fully-qualified-classType"
+		     minOccurs="0"
+                     maxOccurs="unbounded"/>
+        <xsd:element name="interceptor-order"
+		     type="javaee:interceptor-orderType"
+		     minOccurs="1"/>
+      </xsd:choice>
+      <xsd:element name="exclude-default-interceptors"
+		   type="javaee:true-falseType"
+		   minOccurs="0"/>
+      <xsd:element name="exclude-class-interceptors"
+		   type="javaee:true-falseType"
+		   minOccurs="0"/>
+      <xsd:element name="method"
+		   type="javaee:named-methodType"
+                   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="interceptor-orderType">
+    <xsd:annotation>
+      <xsd:documentation>
+        The interceptor-orderType element describes a total ordering
+        of interceptor classes.
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+
+      <xsd:element name="interceptor-class"
+                   type="javaee:fully-qualified-classType"
+		   minOccurs="1"
+                   maxOccurs="unbounded"/>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="interceptorType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        The interceptorType element declares information about a single
+        interceptor class.  It consists of :
+
+            - An optional description.
+            - The fully-qualified name of the interceptor class.
+            - An optional list of around invoke methods declared on the
+              interceptor class and/or its super-classes.
+            - An optional list environment dependencies for the interceptor
+              class and/or its super-classes.
+            - An optional list of post-activate methods declared on the
+              interceptor class and/or its super-classes.
+            - An optional list of pre-passivate methods declared on the
+              interceptor class and/or its super-classes.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="interceptor-class"
+		   type="javaee:fully-qualified-classType"/>
+      <xsd:element name="around-invoke"
+                   type="javaee:around-invokeType"
+                   minOccurs="0"
+                   maxOccurs="unbounded"/>
+      <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
+      <xsd:element name="post-activate"
+                   type="javaee:lifecycle-callbackType"
+                   minOccurs="0"
+                   maxOccurs="unbounded"/>
+      <xsd:element name="pre-passivate"
+                   type="javaee:lifecycle-callbackType"
+                   minOccurs="0"
+                   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="interceptorsType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        The interceptorsType element declares one or more interceptor
+        classes used by components within this ejb-jar.  The declaration
+        consists of :
+
+            - An optional description.
+            - One or more interceptor elements.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="interceptor"
+		   type="javaee:interceptorType"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-driven-beanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The message-driven element declares a message-driven
+	bean. The declaration consists of:
+
+	    - an optional description
+	    - an optional display name
+	    - an optional icon element that contains a small and a large
+	      icon file name.
+	    - a name assigned to the enterprise bean in
+	      the deployment descriptor
+            - an optional mapped-name element that can be used to provide
+              vendor-specific deployment information such as the physical
+              jndi-name of destination from which this message-driven bean
+              should consume.  This element is not required to be supported
+              by all implementations.  Any use of this element is non-portable.
+	    - the message-driven bean's implementation class
+	    - an optional declaration of the bean's messaging
+	      type
+            - an optional declaration of the bean's timeout method.
+	    - the optional message-driven bean's transaction management
+              type. If it is not defined, it is defaulted to Container.
+	    - an optional declaration of the bean's
+	      message-destination-type
+	    - an optional declaration of the bean's
+	      message-destination-link
+	    - an optional declaration of the message-driven bean's
+	      activation configuration properties
+            - an optional list of the message-driven bean class and/or
+              superclass around-invoke methods.
+	    - an optional declaration of the bean's environment
+	      entries
+	    - an optional declaration of the bean's EJB references
+	    - an optional declaration of the bean's local EJB
+	      references
+	    - an optional declaration of the bean's web service
+	      references
+	    - an optional declaration of the security
+	      identity to be used for the execution of the bean's
+	      methods
+	    - an optional declaration of the bean's
+	      resource manager connection factory
+	      references
+	    - an optional declaration of the bean's resource
+	      environment references.
+	    - an optional declaration of the bean's message
+	      destination references
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="ejb-name"
+		   type="javaee:ejb-nameType"/>
+      <xsd:element name="mapped-name"
+		   type="javaee:xsdStringType"
+		   minOccurs="0"/>
+      <xsd:element name="ejb-class"
+		   type="javaee:ejb-classType"
+                   minOccurs="0">
+        <xsd:annotation>
+          <xsd:documentation>
+
+             The ejb-class element specifies the fully qualified name
+             of the bean class for this ejb.  It is required unless
+             there is a component-defining annotation for the same
+             ejb-name.
+
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="messaging-type"
+		   type="javaee:fully-qualified-classType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The messaging-type element specifies the message
+	    listener interface of the message-driven bean.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="timeout-method"
+                   type="javaee:named-methodType"
+                   minOccurs="0"/>
+      <xsd:element name="transaction-type"
+		   type="javaee:transaction-typeType"
+                   minOccurs="0"/>
+      <xsd:element name="message-destination-type"
+		   type="javaee:message-destination-typeType"
+		   minOccurs="0"/>
+      <xsd:element name="message-destination-link"
+		   type="javaee:message-destination-linkType"
+		   minOccurs="0"/>
+      <xsd:element name="activation-config"
+		   type="javaee:activation-configType"
+		   minOccurs="0"/>
+      <xsd:element name="around-invoke"
+                   type="javaee:around-invokeType"
+                   minOccurs="0"
+                   maxOccurs="unbounded"/>
+      <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
+      <xsd:element name="security-identity"
+		   type="javaee:security-identityType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="method-intfType">
+
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The method-intf element allows a method element to
+	differentiate between the methods with the same name and
+	signature that are multiply defined across the home and
+	component interfaces (e.g, in both an enterprise bean's
+	remote and local interfaces or in both an enterprise bean's
+	home and remote interfaces, etc.); the component and web
+	service endpoint interfaces, and so on. The Local applies to
+        both local component interface and local business interface.
+        Similarly, Remote applies to both remote component interface
+        and the remote business interface.
+
+	The method-intf element must be one of the following:
+
+	    Home
+	    Remote
+	    LocalHome
+	    Local
+	    ServiceEndpoint
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="Home"/>
+	<xsd:enumeration value="Remote"/>
+	<xsd:enumeration value="LocalHome"/>
+	<xsd:enumeration value="Local"/>
+	<xsd:enumeration value="ServiceEndpoint"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="method-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The method-nameType contains a name of an enterprise
+	bean method or the asterisk (*) character. The asterisk is
+	used when the element denotes all the methods of an
+	enterprise bean's client view interfaces.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="method-paramsType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The method-paramsType defines a list of the
+	fully-qualified Java type names of the method parameters.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="method-param"
+		   type="javaee:java-typeType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The method-param element contains a primitive
+	    or a fully-qualified Java type name of a method
+	    parameter.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="method-permissionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The method-permissionType specifies that one or more
+	security roles are allowed to invoke one or more enterprise
+	bean methods. The method-permissionType consists of an
+	optional description, a list of security role names or an
+	indicator to state that the method is unchecked for
+	authorization, and a list of method elements.
+
+	The security roles used in the method-permissionType
+	must be defined in the security-role elements of the
+	deployment descriptor, and the methods must be methods
+	defined in the enterprise bean's business, home, component
+        and/or web service endpoint interfaces.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:choice>
+	<xsd:element name="role-name"
+		     type="javaee:role-nameType"
+		     maxOccurs="unbounded"/>
+	<xsd:element name="unchecked"
+		     type="javaee:emptyType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The unchecked element specifies that a method is
+	      not checked for authorization by the container
+	      prior to invocation of the method.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+      </xsd:choice>
+      <xsd:element name="method"
+		   type="javaee:methodType"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="methodType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The methodType is used to denote a method of an enterprise
+	  bean's business, home, component, and/or web service endpoint
+	  interface, or, in the case of a message-driven bean, the
+	  bean's message listener method, or a set of such
+	  methods. The ejb-name element must be the name of one of the
+	  enterprise beans declared in the deployment descriptor; the
+	  optional method-intf element allows to distinguish between a
+	  method with the same signature that is multiply defined
+	  across the business, home, component, and/or web service
+          endpoint nterfaces; the method-name element specifies the
+          method name; and the optional method-params elements identify
+          a single method among multiple methods with an overloaded
+	  method name.
+
+	  There are three possible styles of using methodType element
+	  within a method element:
+
+	  1.
+	  <method>
+	      <ejb-name>EJBNAME</ejb-name>
+	      <method-name>*</method-name>
+	  </method>
+
+	     This style is used to refer to all the methods of the
+	     specified enterprise bean's business, home, component,
+             and/or web service endpoint interfaces.
+
+	  2.
+	  <method>
+	      <ejb-name>EJBNAME</ejb-name>
+	      <method-name>METHOD</method-name>
+	  </method>
+
+	     This style is used to refer to the specified method of
+	     the specified enterprise bean. If there are multiple
+	     methods with the same overloaded name, the element of
+	     this style refers to all the methods with the overloaded
+	     name.
+
+	  3.
+	  <method>
+	      <ejb-name>EJBNAME</ejb-name>
+	      <method-name>METHOD</method-name>
+	      <method-params>
+		  <method-param>PARAM-1</method-param>
+		  <method-param>PARAM-2</method-param>
+		  ...
+		  <method-param>PARAM-n</method-param>
+	      </method-params>
+	  </method>
+
+	     This style is used to refer to a single method within a
+	     set of methods with an overloaded name. PARAM-1 through
+	     PARAM-n are the fully-qualified Java types of the
+	     method's input parameters (if the method has no input
+	     arguments, the method-params element contains no
+	     method-param elements). Arrays are specified by the
+	     array element's type, followed by one or more pair of
+	     square brackets (e.g. int[][]). If there are multiple
+	     methods with the same overloaded name, this style refers
+	     to all of the overloaded methods.
+
+	  Examples:
+
+	  Style 1: The following method element refers to all the
+	  methods of the EmployeeService bean's business, home,
+          component, and/or web service endpoint interfaces:
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-name>*</method-name>
+	  </method>
+
+	  Style 2: The following method element refers to all the
+	  create methods of the EmployeeService bean's home
+	  interface(s).
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-name>create</method-name>
+	  </method>
+
+	  Style 3: The following method element refers to the
+	  create(String firstName, String LastName) method of the
+	  EmployeeService bean's home interface(s).
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-name>create</method-name>
+	      <method-params>
+		  <method-param>java.lang.String</method-param>
+		  <method-param>java.lang.String</method-param>
+	      </method-params>
+	  </method>
+
+	  The following example illustrates a Style 3 element with
+	  more complex parameter types. The method
+	  foobar(char s, int i, int[] iar, mypackage.MyClass mycl,
+	  mypackage.MyClass[][] myclaar) would be specified as:
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-name>foobar</method-name>
+	      <method-params>
+		  <method-param>char</method-param>
+		  <method-param>int</method-param>
+		  <method-param>int[]</method-param>
+		  <method-param>mypackage.MyClass</method-param>
+		  <method-param>mypackage.MyClass[][]</method-param>
+	      </method-params>
+	  </method>
+
+	  The optional method-intf element can be used when it becomes
+	  necessary to differentiate between a method that is multiply
+	  defined across the enterprise bean's business, home, component,
+          and/or web service endpoint interfaces with the same name and
+	  signature. However, if the same method is a method of both the
+          local business interface, and the local component interface,
+          the same attribute applies to the method for both interfaces.
+          Likewise, if the same method is a method of both the remote
+          business interface and the remote component interface, the same
+          attribute applies to the method for both interfaces.
+
+	  For example, the method element
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-intf>Remote</method-intf>
+	      <method-name>create</method-name>
+	      <method-params>
+		  <method-param>java.lang.String</method-param>
+		  <method-param>java.lang.String</method-param>
+	      </method-params>
+	  </method>
+
+	  can be used to differentiate the create(String, String)
+	  method defined in the remote interface from the
+	  create(String, String) method defined in the remote home
+	  interface, which would be defined as
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-intf>Home</method-intf>
+	      <method-name>create</method-name>
+	      <method-params>
+		  <method-param>java.lang.String</method-param>
+		  <method-param>java.lang.String</method-param>
+	      </method-params>
+	  </method>
+
+	  and the create method that is defined in the local home
+	  interface which would be defined as
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-intf>LocalHome</method-intf>
+	      <method-name>create</method-name>
+	      <method-params>
+		  <method-param>java.lang.String</method-param>
+		  <method-param>java.lang.String</method-param>
+	      </method-params>
+	  </method>
+
+	  The method-intf element can be used with all three Styles
+	  of the method element usage. For example, the following
+	  method element example could be used to refer to all the
+	  methods of the EmployeeService bean's remote home interface
+          and the remote business interface.
+
+	  <method>
+	      <ejb-name>EmployeeService</ejb-name>
+	      <method-intf>Home</method-intf>
+	      <method-name>*</method-name>
+	  </method>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="ejb-name"
+		   type="javaee:ejb-nameType"/>
+      <xsd:element name="method-intf"
+		   type="javaee:method-intfType"
+		   minOccurs="0">
+      </xsd:element>
+      <xsd:element name="method-name"
+		   type="javaee:method-nameType"/>
+      <xsd:element name="method-params"
+		   type="javaee:method-paramsType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="multiplicityType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The multiplicityType describes the multiplicity of the
+	role that participates in a relation.
+
+	The value must be one of the two following:
+
+	    One
+	    Many
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="One"/>
+	<xsd:enumeration value="Many"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="named-methodType">
+    <xsd:sequence>
+      <xsd:element name="method-name"
+		   type="javaee:string"/>
+      <xsd:element name="method-params"
+		   type="javaee:method-paramsType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="persistence-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The persistence-typeType specifies an entity bean's persistence
+	management type.
+
+	The persistence-type element must be one of the two following:
+
+	    Bean
+	    Container
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="Bean"/>
+	<xsd:enumeration value="Container"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="query-methodType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The query-method specifies the method for a finder or select
+	  query.
+
+	  The method-name element specifies the name of a finder or select
+	  method in the entity bean's implementation class.
+
+	  Each method-param must be defined for a query-method using the
+	  method-params element.
+
+	  It is used by the query-method element.
+
+	  Example:
+
+	  <query>
+	      <description>Method finds large orders</description>
+	      <query-method>
+		  <method-name>findLargeOrders</method-name>
+		  <method-params></method-params>
+	      </query-method>
+	      <ejb-ql>
+		SELECT OBJECT(o) FROM Order o
+		  WHERE o.amount &gt; 1000
+	      </ejb-ql>
+	  </query>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="method-name"
+		   type="javaee:method-nameType"/>
+      <xsd:element name="method-params"
+		   type="javaee:method-paramsType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="queryType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The queryType defines a finder or select
+	query. It contains
+	    - an optional description of the query
+	    - the specification of the finder or select
+	      method it is used by
+		- an optional specification of the result type
+		  mapping, if the query is for a select method
+		  and entity objects are returned.
+		- the EJB QL query string that defines the query.
+
+	Queries that are expressible in EJB QL must use the ejb-ql
+	element to specify the query. If a query is not expressible
+	in EJB QL, the description element should be used to
+	describe the semantics of the query and the ejb-ql element
+	should be empty.
+
+	The result-type-mapping is an optional element. It can only
+	be present if the query-method specifies a select method
+	that returns entity objects.  The default value for the
+	result-type-mapping element is "Local".
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType" minOccurs="0"/>
+      <xsd:element name="query-method"
+		   type="javaee:query-methodType"/>
+      <xsd:element name="result-type-mapping"
+		   type="javaee:result-type-mappingType"
+		   minOccurs="0"/>
+      <xsd:element name="ejb-ql"
+		   type="javaee:xsdStringType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="relationship-role-sourceType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The relationship-role-sourceType designates the source of a
+	role that participates in a relationship. A
+	relationship-role-sourceType is used by
+	relationship-role-source elements to uniquely identify an
+	entity bean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-name"
+		   type="javaee:ejb-nameType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="relationshipsType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The relationshipsType describes the relationships in
+	which entity beans with container-managed persistence
+	participate. The relationshipsType contains an optional
+	description; and a list of ejb-relation elements, which
+	specify the container managed relationships.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-relation"
+		   type="javaee:ejb-relationType"
+		   maxOccurs="unbounded">
+
+	<xsd:unique name="role-name-uniqueness">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The ejb-relationship-role-name contains the name of a
+	      relationship role. The name must be unique within
+	      a relationship, but can be reused in different
+	      relationships.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector
+	       xpath=".//javaee:ejb-relationship-role-name"/>
+	  <xsd:field
+	       xpath="."/>
+	</xsd:unique>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="remove-methodType">
+    <xsd:sequence>
+      <xsd:element name="bean-method"
+		   type="javaee:named-methodType"/>
+      <xsd:element name="retain-if-exception"
+		   type="javaee:true-falseType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="result-type-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The result-type-mappingType is used in the query element to
+	specify whether an abstract schema type returned by a query
+	for a select method is to be mapped to an EJBLocalObject or
+	EJBObject type.
+
+	The value must be one of the following:
+
+	    Local
+	    Remote
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="Local"/>
+	<xsd:enumeration value="Remote"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="security-identityType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The security-identityType specifies whether the caller's
+	security identity is to be used for the execution of the
+	methods of the enterprise bean or whether a specific run-as
+	identity is to be used. It contains an optional description
+	and a specification of the security identity to be used.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:choice>
+	<xsd:element name="use-caller-identity"
+		     type="javaee:emptyType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The use-caller-identity element specifies that
+	      the caller's security identity be used as the
+	      security identity for the execution of the
+	      enterprise bean's methods.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+	<xsd:element name="run-as"
+		     type="javaee:run-asType"/>
+      </xsd:choice>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="session-beanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The session-beanType declares an session bean. The
+	declaration consists of:
+
+	    - an optional description
+	    - an optional display name
+	    - an optional icon element that contains a small and a large
+	      icon file name
+	    - a name assigned to the enterprise bean
+	      in the deployment description
+            - an optional mapped-name element that can be used to provide
+              vendor-specific deployment information such as the physical
+              jndi-name of the session bean's remote home/business interface.
+              This element is not required to be supported by all
+              implementations. Any use of this element is non-portable.
+            - the names of all the remote or local business interfaces,
+              if any
+	    - the names of the session bean's remote home and
+	      remote interfaces, if any
+	    - the names of the session bean's local home and
+	      local interfaces, if any
+	    - the name of the session bean's web service endpoint
+	      interface, if any
+	    - the session bean's implementation class
+	    - the session bean's state management type
+            - an optional declaration of the session bean's timeout method.
+	    - the optional session bean's transaction management type.
+              If it is not present, it is defaulted to Container.
+            - an optional list of the session bean class and/or
+              superclass around-invoke methods.
+	    - an optional declaration of the bean's
+	      environment entries
+	    - an optional declaration of the bean's EJB references
+	    - an optional declaration of the bean's local
+	      EJB references
+	    - an optional declaration of the bean's web
+	      service references
+	    - an optional declaration of the security role
+	      references
+	    - an optional declaration of the security identity
+	      to be used for the execution of the bean's methods
+	    - an optional declaration of the bean's resource
+	      manager connection factory references
+	    - an optional declaration of the bean's resource
+	      environment references.
+	    - an optional declaration of the bean's message
+	      destination references
+
+	The elements that are optional are "optional" in the sense
+	that they are omitted when if lists represented by them are
+	empty.
+
+	Either both the local-home and the local elements or both
+	the home and the remote elements must be specified for the
+	session bean.
+
+	The service-endpoint element may only be specified if the
+	bean is a stateless session bean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="ejb-name"
+		   type="javaee:ejb-nameType"/>
+      <xsd:element name="mapped-name"
+		   type="javaee:xsdStringType"
+		   minOccurs="0"/>
+      <xsd:element name="home"
+		   type="javaee:homeType"
+		   minOccurs="0"/>
+      <xsd:element name="remote"
+		   type="javaee:remoteType"
+		   minOccurs="0"/>
+      <xsd:element name="local-home"
+		   type="javaee:local-homeType"
+		   minOccurs="0"/>
+      <xsd:element name="local"
+		   type="javaee:localType"
+		   minOccurs="0"/>
+      <xsd:element name="business-local"
+		   type="javaee:fully-qualified-classType"
+		   minOccurs="0"
+                   maxOccurs="unbounded"/>
+      <xsd:element name="business-remote"
+		   type="javaee:fully-qualified-classType"
+		   minOccurs="0"
+                   maxOccurs="unbounded"/>
+      <xsd:element name="service-endpoint"
+		   type="javaee:fully-qualified-classType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-endpoint element contains the
+	    fully-qualified name of the enterprise bean's web
+	    service endpoint interface. The service-endpoint
+	    element may only be specified for a stateless
+	    session bean. The specified interface must be a
+	    valid JAX-RPC service endpoint interface.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="ejb-class"
+		   type="javaee:ejb-classType"
+                   minOccurs="0">
+        <xsd:annotation>
+          <xsd:documentation>
+
+             The ejb-class element specifies the fully qualified name
+             of the bean class for this ejb.  It is required unless
+             there is a component-defining annotation for the same
+             ejb-name.
+
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="session-type"
+		   type="javaee:session-typeType"
+                   minOccurs="0"/>
+      <xsd:element name="timeout-method"
+                   type="javaee:named-methodType"
+                   minOccurs="0"/>
+      <xsd:element name="init-method"
+                   type="javaee:init-methodType"
+                   minOccurs="0"
+                   maxOccurs="unbounded">
+        <xsd:annotation>
+	  <xsd:documentation>
+
+	    The init-method element specifies the mappings for
+	    EJB 2.x style create methods for an EJB 3.0 bean.
+	    This element can only be specified for stateful
+            session beans.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="remove-method"
+                   type="javaee:remove-methodType"
+                   minOccurs="0"
+                   maxOccurs="unbounded">
+        <xsd:annotation>
+	  <xsd:documentation>
+
+	    The remove-method element specifies the mappings for
+	    EJB 2.x style remove methods for an EJB 3.0 bean.
+	    This element can only be specified for stateful
+            session beans.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="transaction-type"
+		   type="javaee:transaction-typeType"
+                   minOccurs="0"/>
+      <xsd:element name="around-invoke"
+                   type="javaee:around-invokeType"
+                   minOccurs="0"
+                   maxOccurs="unbounded"/>
+      <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
+      <xsd:element name="post-activate"
+                   type="javaee:lifecycle-callbackType"
+                   minOccurs="0"
+                   maxOccurs="unbounded"/>
+      <xsd:element name="pre-passivate"
+                   type="javaee:lifecycle-callbackType"
+                   minOccurs="0"
+                   maxOccurs="unbounded"/>
+      <xsd:element name="security-role-ref"
+		   type="javaee:security-role-refType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+      </xsd:element>
+      <xsd:element name="security-identity"
+		   type="javaee:security-identityType"
+		   minOccurs="0">
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="session-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The session-typeType describes whether the session bean is a
+	stateful session or stateless session. It is used by
+	session-type elements.
+
+	The value must be one of the two following:
+
+	    Stateful
+	    Stateless
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="Stateful"/>
+	<xsd:enumeration value="Stateless"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="trans-attributeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The trans-attributeType specifies how the container must
+	manage the transaction boundaries when delegating a method
+	invocation to an enterprise bean's business method.
+
+	The value must be one of the following:
+
+	    NotSupported
+	    Supports
+	    Required
+	    RequiresNew
+	    Mandatory
+	    Never
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="NotSupported"/>
+	<xsd:enumeration value="Supports"/>
+	<xsd:enumeration value="Required"/>
+	<xsd:enumeration value="RequiresNew"/>
+	<xsd:enumeration value="Mandatory"/>
+	<xsd:enumeration value="Never"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="transaction-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The transaction-typeType specifies an enterprise bean's
+	transaction management type.
+
+	The transaction-type must be one of the two following:
+
+	    Bean
+	    Container
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="Bean"/>
+	<xsd:enumeration value="Container"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_1_4.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_1_4.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_1_4.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1607 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema
+     targetNamespace="http://java.sun.com/xml/ns/j2ee"
+     xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+     elementFormDefault="qualified"
+     attributeFormDefault="unqualified"
+     version="1.4">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)j2ee_1_4.xsds	1.43 03/09/16
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003 Sun Microsystems, Inc., 901 San Antonio
+      Road, Palo Alto, California 94303, U.S.A. All rights
+      reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+<xsd:annotation>
+<xsd:documentation>
+
+The following definitions that appear in the common
+shareable schema(s) of J2EE deployment descriptors should be
+interpreted with respect to the context they are included:
+
+Deployment Component may indicate one of the following:
+    j2ee application;
+    application client;
+    web application;
+    enterprise bean;
+    resource adapter;
+
+Deployment File may indicate one of the following:
+    ear file;
+    war file;
+    jar file;
+    rar file;
+
+</xsd:documentation>
+</xsd:annotation>
+
+  <xsd:import namespace="http://www.w3.org/XML/1998/namespace"
+	      schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+
+  <xsd:include schemaLocation=
+	"http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd"/>
+
+
+<!-- **************************************************** -->
+
+  <xsd:group name="descriptionGroup">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This group keeps the usage of the contained description related
+	elements consistent across J2EE deployment descriptors.
+
+	All elements may occur multiple times with different languages,
+	to support localization of the content.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="display-name"
+		   type="j2ee:display-nameType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="icon"
+		   type="j2ee:iconType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:group>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="descriptionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The description type is used by a description element to
+	provide text describing the parent element.  The elements
+	that use this type should include any information that the
+	Deployment Component's Deployment File file producer wants
+	to provide to the consumer of the Deployment Component's
+	Deployment File (i.e., to the Deployer). Typically, the
+	tools used by such a Deployment File consumer will display
+	the description when processing the parent element that
+	contains the description.
+
+	The lang attribute defines the language that the
+	description is provided in. The default value is "en" (English).
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="j2ee:xsdStringType">
+	<xsd:attribute ref="xml:lang"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="dewey-versionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type defines a dewey decimal which is used
+	to describe versions of documents.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:restriction base="xsd:decimal">
+      <xsd:whiteSpace value="collapse"/>
+    </xsd:restriction>
+
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="display-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The display-name type contains a short name that is intended
+	  to be displayed by tools. It is used by display-name
+	  elements.  The display name need not be unique.
+
+	  Example:
+
+	  ...
+	     <display-name xml:lang="en">Employee Self Service</display-name>
+
+	  The value of the xml:lang attribute is "en" (English) by default.
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="j2ee:string">
+	<xsd:attribute ref="xml:lang"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-linkType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The ejb-linkType is used by ejb-link
+	  elements in the ejb-ref or ejb-local-ref elements to specify
+	  that an EJB reference is linked to enterprise bean.
+
+	  The value of the ejb-link element must be the ejb-name of an
+	  enterprise bean in the same ejb-jar file or in another ejb-jar
+	  file in the same J2EE application unit.
+
+	  Alternatively, the name in the ejb-link element may be
+	  composed of a path name specifying the ejb-jar containing the
+	  referenced enterprise bean with the ejb-name of the target
+	  bean appended and separated from the path name by "#".  The
+	  path name is relative to the Deployment File containing
+	  Deployment Component that is referencing the enterprise
+	  bean.  This allows multiple enterprise beans with the same
+	  ejb-name to be uniquely identified.
+
+	  Examples:
+
+	      <ejb-link>EmployeeRecord</ejb-link>
+
+	      <ejb-link>../products/product.jar#ProductEJB</ejb-link>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-local-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The ejb-local-refType is used by ejb-local-ref elements for
+	the declaration of a reference to an enterprise bean's local
+	home. The declaration consists of:
+
+	    - an optional description
+	    - the EJB reference name used in the code of the Deployment
+	      Component that's referencing the enterprise bean
+	    - the expected type of the referenced enterprise bean
+	    - the expected local home and local interfaces of the
+	      referenced enterprise bean
+	    - optional ejb-link information, used to specify the
+	      referenced enterprise bean
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-ref-name"
+		   type="j2ee:ejb-ref-nameType"/>
+      <xsd:element name="ejb-ref-type"
+		   type="j2ee:ejb-ref-typeType"/>
+      <xsd:element name="local-home"
+		   type="j2ee:local-homeType"/>
+      <xsd:element name="local"
+		   type="j2ee:localType"/>
+      <xsd:element name="ejb-link"
+		   type="j2ee:ejb-linkType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-ref-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The ejb-ref-name element contains the name of an EJB
+	  reference. The EJB reference is an entry in the
+	  Deployment Component's environment and is relative to the
+	  java:comp/env context.  The name must be unique within the
+	  Deployment Component.
+
+	  It is recommended that name is prefixed with "ejb/".
+
+	  Example:
+
+	  <ejb-ref-name>ejb/Payroll</ejb-ref-name>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:jndi-nameType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-ref-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The ejb-ref-typeType contains the expected type of the
+	referenced enterprise bean.
+
+	The ejb-ref-type designates a value
+	that must be one of the following:
+
+	    Entity
+	    Session
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="Entity"/>
+	<xsd:enumeration value="Session"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The ejb-refType is used by ejb-ref elements for the
+	declaration of a reference to an enterprise bean's home. The
+	declaration consists of:
+
+	    - an optional description
+	    - the EJB reference name used in the code of
+	      the Deployment Component that's referencing the enterprise
+	      bean
+	    - the expected type of the referenced enterprise bean
+	    - the expected home and remote interfaces of the referenced
+	      enterprise bean
+	    - optional ejb-link information, used to specify the
+	      referenced enterprise bean
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-ref-name"
+		   type="j2ee:ejb-ref-nameType"/>
+      <xsd:element name="ejb-ref-type"
+		   type="j2ee:ejb-ref-typeType"/>
+
+      <xsd:element name="home"
+		   type="j2ee:homeType"/>
+      <xsd:element name="remote"
+		   type="j2ee:remoteType"/>
+      <xsd:element name="ejb-link"
+		   type="j2ee:ejb-linkType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="emptyType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type is used to designate an empty
+	element when used.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="env-entry-type-valuesType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  This type contains the fully-qualified Java type of the
+	  environment entry value that is expected by the
+	  application's code.
+
+	  The following are the legal values of env-entry-type-valuesType:
+
+	      java.lang.Boolean
+	      java.lang.Byte
+	      java.lang.Character
+	      java.lang.String
+	      java.lang.Short
+	      java.lang.Integer
+	      java.lang.Long
+	      java.lang.Float
+	      java.lang.Double
+
+	  Example:
+
+	  <env-entry-type>java.lang.Boolean</env-entry-type>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="java.lang.Boolean"/>
+	<xsd:enumeration value="java.lang.Byte"/>
+	<xsd:enumeration value="java.lang.Character"/>
+	<xsd:enumeration value="java.lang.String"/>
+	<xsd:enumeration value="java.lang.Short"/>
+	<xsd:enumeration value="java.lang.Integer"/>
+	<xsd:enumeration value="java.lang.Long"/>
+	<xsd:enumeration value="java.lang.Float"/>
+	<xsd:enumeration value="java.lang.Double"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="env-entryType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The env-entryType is used to declare an application's
+	environment entry. The declaration consists of an optional
+	description, the name of the environment entry, and an
+	optional value.  If a value is not specified, one must be
+	supplied during deployment.
+
+	It is used by env-entry elements.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="env-entry-name"
+		   type="j2ee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The env-entry-name element contains the name of a
+	      Deployment Component's environment entry.  The name
+	      is a JNDI name relative to the java:comp/env
+	      context.  The name must be unique within a
+	      Deployment Component. The uniqueness
+	      constraints must be defined within the declared
+	      context.
+
+	      Example:
+
+	      <env-entry-name>minAmount</env-entry-name>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="env-entry-type"
+		   type="j2ee:env-entry-type-valuesType"/>
+
+      <xsd:element name="env-entry-value"
+		   type="j2ee:xsdStringType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The env-entry-value designates the value of a
+	      Deployment Component's environment entry. The value
+	      must be a String that is valid for the
+	      constructor of the specified type that takes a
+	      single String parameter, or for java.lang.Character,
+	      a single character.
+
+	      Example:
+
+	      <env-entry-value>100.00</env-entry-value>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="fully-qualified-classType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The elements that use this type designate the name of a
+	Java class or interface.  The name is in the form of a
+	"binary name", as defined in the JLS.  This is the form
+	of name used in Class.forName().  Tools that need the
+	canonical name (the name used in source code) will need
+	to convert this binary name to the canonical name.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="generic-booleanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type defines four different values which can designate
+	boolean values. This includes values yes and no which are
+	not designated by xsd:boolean
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="true"/>
+	<xsd:enumeration value="false"/>
+	<xsd:enumeration value="yes"/>
+	<xsd:enumeration value="no"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="homeType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The homeType defines the fully-qualified name of
+	  an enterprise bean's home interface.
+
+	  Example:
+
+	      <home>com.aardvark.payroll.PayrollHome</home>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="iconType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The icon type contains small-icon and large-icon elements
+	that specify the file names for small and large GIF or
+	JPEG icon images used to represent the parent element in a
+	GUI tool.
+
+	The xml:lang attribute defines the language that the
+	icon file names are provided in. Its value is "en" (English)
+	by default.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="small-icon" type="j2ee:pathType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The small-icon element contains the name of a file
+	      containing a small (16 x 16) icon image. The file
+	      name is a relative path within the Deployment
+	      Component's Deployment File.
+
+	      The image may be either in the JPEG or GIF format.
+	      The icon can be used by tools.
+
+	      Example:
+
+	      <small-icon>employee-service-icon16x16.jpg</small-icon>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="large-icon" type="j2ee:pathType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The large-icon element contains the name of a file
+	      containing a large
+	      (32 x 32) icon image. The file name is a relative
+	      path within the Deployment Component's Deployment
+	      File.
+
+	      The image may be either in the JPEG or GIF format.
+	      The icon can be used by tools.
+
+	      Example:
+
+	      <large-icon>employee-service-icon32x32.jpg</large-icon>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+    </xsd:sequence>
+
+    <xsd:attribute ref="xml:lang"/>
+    <xsd:attribute name="id" type="xsd:ID"/>
+
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="java-identifierType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The java-identifierType defines a Java identifier.
+	The users of this type should further verify that
+	the content does not contain Java reserved keywords.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:pattern value="($|_|\p{L})(\p{L}|\p{Nd}|_|$)*"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="java-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This is a generic type that designates a Java primitive
+	type or a fully qualified name of a Java interface/type,
+	or an array of such types.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:pattern value="[^\p{Z}]*"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="jndi-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The jndi-nameType type designates a JNDI name in the
+	Deployment Component's environment and is relative to the
+	java:comp/env context.  A JNDI name must be unique within the
+	Deployment Component.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:group name="jndiEnvironmentRefsGroup">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This group keeps the usage of the contained JNDI environment
+	reference elements consistent across J2EE deployment descriptors.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="env-entry"
+		   type="j2ee:env-entryType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="ejb-ref"
+		   type="j2ee:ejb-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="ejb-local-ref"
+		   type="j2ee:ejb-local-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:group ref="j2ee:service-refGroup"/>
+      <xsd:element name="resource-ref"
+		   type="j2ee:resource-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="resource-env-ref"
+		   type="j2ee:resource-env-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="message-destination-ref"
+		   type="j2ee:message-destination-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:group>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="listenerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The listenerType indicates the deployment properties for a web
+	application listener bean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="listener-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The listener-class element declares a class in the
+	    application must be registered as a web
+	    application listener bean. The value is the fully
+	    qualified classname of the listener class.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="local-homeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The local-homeType defines the fully-qualified
+	name of an enterprise bean's local home interface.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="localType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The localType defines the fully-qualified name of an
+	enterprise bean's local interface.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-destination-linkType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The message-destination-linkType is used to link a message
+	destination reference or message-driven bean to a message
+	destination.
+
+	The Assembler sets the value to reflect the flow of messages
+	between producers and consumers in the application.
+
+	The value must be the message-destination-name of a message
+	destination in the same Deployment File or in another
+	Deployment File in the same J2EE application unit.
+
+	Alternatively, the value may be composed of a path name
+	specifying a Deployment File containing the referenced
+	message destination with the message-destination-name of the
+	destination appended and separated from the path name by
+	"#". The path name is relative to the Deployment File
+	containing Deployment Component that is referencing the
+	message destination.  This allows multiple message
+	destinations with the same name to be uniquely identified.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-destination-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The message-destination-ref element contains a declaration
+	  of Deployment Component's reference to a message destination
+	  associated with a resource in Deployment Component's
+	  environment. It consists of:
+
+		  - an optional description
+		  - the message destination reference name
+		  - the message destination type
+		  - a specification as to whether the
+		    destination is used for
+		    consuming or producing messages, or both
+		  - a link to the message destination
+
+	  Examples:
+
+	  <message-destination-ref>
+		  <message-destination-ref-name>jms/StockQueue
+		  </message-destination-ref-name>
+		  <message-destination-type>javax.jms.Queue
+		  </message-destination-type>
+		  <message-destination-usage>Consumes
+		  </message-destination-usage>
+		  <message-destination-link>CorporateStocks
+		  </message-destination-link>
+	  </message-destination-ref>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="message-destination-ref-name"
+		   type="j2ee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The message-destination-ref-name element specifies
+	    the name of a message destination reference; its
+	    value is the environment entry name used in
+	    Deployment Component code.  The name is a JNDI name
+	    relative to the java:comp/env context and must be
+	    unique within an ejb-jar (for enterprise beans) or a
+	    Deployment File (for others).
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="message-destination-type"
+		   type="j2ee:message-destination-typeType"/>
+      <xsd:element name="message-destination-usage"
+		   type="j2ee:message-destination-usageType"/>
+      <xsd:element name="message-destination-link"
+		   type="j2ee:message-destination-linkType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-destination-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The message-destination-typeType specifies the type of
+	  the destination. The type is specified by the Java interface
+	  expected to be implemented by the destination.
+
+	  Example:
+
+	    <message-destination-type>javax.jms.Queue
+	    </message-destination-type>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-destination-usageType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The message-destination-usageType specifies the use of the
+	message destination indicated by the reference.  The value
+	indicates whether messages are consumed from the message
+	destination, produced for the destination, or both.  The
+	Assembler makes use of this information in linking producers
+	of a destination with its consumers.
+
+	The value of the message-destination-usage element must be
+	one of the following:
+	    Consumes
+	    Produces
+	    ConsumesProduces
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="Consumes"/>
+	<xsd:enumeration value="Produces"/>
+	<xsd:enumeration value="ConsumesProduces"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-destinationType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The message-destinationType specifies a message
+	  destination. The logical destination described by this
+	  element is mapped to a physical destination by the Deployer.
+
+	  The message destination element contains:
+
+		  - an optional description
+		  - an optional display-name
+		  - an optional icon
+		  - a message destination name which must be unique
+		    among message destination names within the same
+		    Deployment File.
+
+	  Example:
+
+	  <message-destination>
+		  <message-destination-name>CorporateStocks
+		  </message-destination-name>
+	  </message-destination>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="message-destination-name"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The message-destination-name element specifies a
+	    name for a message destination.  This name must be
+	    unique among the names of message destinations
+	    within the Deployment File.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="param-valueType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type is a general type that can be used to declare
+	parameter/value lists.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="param-name"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The param-name element contains the name of a
+	    parameter.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="param-value"
+		   type="j2ee:xsdStringType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The param-value element contains the value of a
+	    parameter.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="pathType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The elements that use this type designate either a relative
+	path or an absolute path starting with a "/".
+
+	In elements that specify a pathname to a file within the
+	same Deployment File, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the Deployment File's namespace.  Absolute filenames (i.e.,
+	those starting with "/") also specify names in the root of
+	the Deployment File's namespace.  In general, relative names
+	are preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="remoteType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The remote element contains the fully-qualified name
+	  of the enterprise bean's remote interface.
+
+	  Example:
+
+	      <remote>com.wombat.empl.EmployeeService</remote>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="res-authType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The res-authType specifies whether the Deployment Component
+	code signs on programmatically to the resource manager, or
+	whether the Container will sign on to the resource manager
+	on behalf of the Deployment Component. In the latter case,
+	the Container uses information that is supplied by the
+	Deployer.
+
+	The value must be one of the two following:
+
+	    Application
+	    Container
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="Application"/>
+	<xsd:enumeration value="Container"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="res-sharing-scopeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The res-sharing-scope type specifies whether connections
+	obtained through the given resource manager connection
+	factory reference can be shared. The value, if specified,
+	must be one of the two following:
+
+	    Shareable
+	    Unshareable
+
+	The default value is Shareable.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="Shareable"/>
+	<xsd:enumeration value="Unshareable"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="resource-env-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The resource-env-refType is used to define
+	  resource-env-type elements.  It contains a declaration of a
+	  Deployment Component's reference to an administered object
+	  associated with a resource in the Deployment Component's
+	  environment.  It consists of an optional description, the
+	  resource environment reference name, and an indication of
+	  the resource environment reference type expected by the
+	  Deployment Component code.
+
+	  Example:
+
+	  <resource-env-ref>
+	      <resource-env-ref-name>jms/StockQueue
+	      </resource-env-ref-name>
+	      <resource-env-ref-type>javax.jms.Queue
+	      </resource-env-ref-type>
+	  </resource-env-ref>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="resource-env-ref-name"
+		   type="j2ee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The resource-env-ref-name element specifies the name
+	    of a resource environment reference; its value is
+	    the environment entry name used in
+	    the Deployment Component code.  The name is a JNDI
+	    name relative to the java:comp/env context and must
+	    be unique within a Deployment Component.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="resource-env-ref-type"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The resource-env-ref-type element specifies the type
+	    of a resource environment reference.  It is the
+	    fully qualified name of a Java language class or
+	    interface.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="resource-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The resource-refType contains a declaration of a
+	  Deployment Component's reference to an external resource. It
+	  consists of an optional description, the resource manager
+	  connection factory reference name, the indication of the
+	  resource manager connection factory type expected by the
+	  Deployment Component code, the type of authentication
+	  (Application or Container), and an optional specification of
+	  the shareability of connections obtained from the resource
+	  (Shareable or Unshareable).
+
+	  Example:
+
+	  <resource-ref>
+	      <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
+	      <res-type>javax.sql.DataSource</res-type>
+	      <res-auth>Container</res-auth>
+	      <res-sharing-scope>Shareable</res-sharing-scope>
+	  </resource-ref>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="res-ref-name"
+		   type="j2ee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The res-ref-name element specifies the name of a
+	    resource manager connection factory reference.
+	    The name is a JNDI name relative to the
+	    java:comp/env context.
+	    The name must be unique within a Deployment File.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="res-type"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The res-type element specifies the type of the data
+	    source. The type is specified by the fully qualified
+	    Java language class or interface
+	    expected to be implemented by the data source.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="res-auth"
+		   type="j2ee:res-authType"/>
+
+      <xsd:element name="res-sharing-scope"
+		   type="j2ee:res-sharing-scopeType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="role-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The role-nameType designates the name of a security role.
+
+	The name must conform to the lexical rules for a token.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="run-asType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The run-asType specifies the run-as identity to be
+	used for the execution of a component. It contains an
+	optional description, and the name of a security role.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="role-name"
+		   type="j2ee:role-nameType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="security-role-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The security-role-refType contains the declaration of a
+	security role reference in a component's or a
+	Deployment Component's code. The declaration consists of an
+	optional description, the security role name used in the
+	code, and an optional link to a security role. If the
+	security role is not specified, the Deployer must choose an
+	appropriate security role.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="role-name"
+		   type="j2ee:role-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The value of the role-name element must be the String used
+	    as the parameter to the
+	    EJBContext.isCallerInRole(String roleName) method or the
+	    HttpServletRequest.isUserInRole(String role) method.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="role-link"
+		   type="j2ee:role-nameType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The role-link element is a reference to a defined
+	    security role. The role-link element must contain
+	    the name of one of the security roles defined in the
+	    security-role elements.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="security-roleType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The security-roleType contains the definition of a security
+	  role. The definition consists of an optional description of the
+	  security role, and the security role name.
+
+	  Example:
+
+	      <security-role>
+	      <description>
+		  This role includes all employees who are authorized
+		  to access the employee service application.
+	      </description>
+	      <role-name>employee</role-name>
+	      </security-role>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="role-name"
+		   type="j2ee:role-nameType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="string">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This is a special string datatype that is defined by J2EE as
+	a base type for defining collapsed strings. When schemas
+	require trailing/leading space elimination as well as
+	collapsing the existing whitespace, this base type may be
+	used.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:token">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="true-falseType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This simple type designates a boolean with only two
+	permissible values
+
+	- true
+	- false
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:xsdBooleanType">
+	<xsd:pattern value="(true|false)"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="url-patternType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The url-patternType contains the url pattern of the mapping.
+	It must follow the rules specified in Section 11.2 of the
+	Servlet API Specification. This pattern is assumed to be in
+	URL-decoded form and must not contain CR(#xD) or LF(#xA).
+	If it contains those characters, the container must inform
+	the developer with a descriptive error message.
+	The container must preserve all characters including whitespaces.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdAnyURIType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:anyURI.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:anyURI">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdBooleanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:boolean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:boolean">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdIntegerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:integer.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:integer">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdNMTOKENType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:NMTOKEN.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:NMTOKEN">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdNonNegativeIntegerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:nonNegativeInteger.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:nonNegativeInteger">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdPositiveIntegerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:positiveInteger.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:positiveInteger">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdQNameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:QName.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:QName">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdStringType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:string.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:string">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_jaxrpc_mapping_1_1.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_jaxrpc_mapping_1_1.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_jaxrpc_mapping_1_1.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,885 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="1.1">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)j2ee_jaxrpc_mapping_1_1.xsds	1.11 09/03/03
+
+      Based on j2ee_jaxrpc_mapping_1_0.dtd, Last updated: 09/19/2002 10:26
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003 Sun Microsystems, Inc., 901 San Antonio
+      Road, Palo Alto, California 94303, U.S.A. All rights
+      reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      (C) Copyright International Business Machines Corporation 2002
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	The element describes the Java mapping to a known WSDL document.
+
+	It contains the mapping between package names and XML namespaces,
+	WSDL root types and Java artifacts, and the set of mappings for
+	services.
+
+	All java-wsdl-mapping deployment descriptors must indicate the
+	schema by using the J2EE namespace:
+
+	http://java.sun.com/xml/ns/j2ee
+
+	and by indicating the version of the schema by using the
+	version element as shown below:
+
+	    <java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+		http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd"
+	      version="1.1">
+	      ...
+	    </java-wsdl-mapping>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute for J2EE
+	namespace with the following location:
+
+	http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all J2EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
+
+
+<!-- **************************************************** -->
+
+
+  <xsd:element name="java-wsdl-mapping" type="j2ee:java-wsdl-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This is the root of the java-wsdl-mapping deployment descriptor.
+
+      </xsd:documentation>
+    </xsd:annotation>
+  </xsd:element>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="constructor-parameter-orderType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The constructor-parameter-order element defines the order
+	that complexType element values are applied to a Java
+	exception constructor. Element names are specified for each
+	parameter of the constructor, including element names of
+	inherited types if necessary.
+
+	Used in: exception-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="element-name"
+		   type="j2ee:string"
+		   minOccurs="1" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The element-name element defines the name of a complexType
+	    element name attribute value.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="exception-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The exception-mapping element defines the mapping between the
+	service specific exception types and wsdl faults and
+	SOAP headerfaults.
+
+	This element should be interpreted with respect to the
+	mapping between a method and an operation which provides the
+	mapping context.
+
+	Used in: service-endpoint-method-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="exception-type"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The exception-type element defines Java type of the exception.
+	    It may be a service specific exception.
+
+	    It must be a fully qualified class name.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-message"
+		   type="j2ee:wsdl-messageType"/>
+      <xsd:element name="wsdl-message-part-name"
+		   type="j2ee:wsdl-message-part-nameType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+            The wsdl-message-part-name element is required only
+            when the message referenced by the wsdl-message element
+            has more than one part.
+
+            This only occurs when multiple headerfaults use the
+            same message.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="constructor-parameter-order"
+		   type="j2ee:constructor-parameter-orderType"
+		   minOccurs="0" maxOccurs="1"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="java-wsdl-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The element describes the Java mapping to a known WSDL document.
+
+	It contains the mapping between package names and XML namespaces,
+	WSDL root types and Java artifacts, and the set of mappings for
+	services.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="package-mapping"
+		   type="j2ee:package-mappingType"
+		   minOccurs="1" maxOccurs="unbounded"/>
+      <xsd:element name="java-xml-type-mapping"
+		   type="j2ee:java-xml-type-mappingType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="exception-mapping"
+		   type="j2ee:exception-mappingType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:sequence minOccurs="0" maxOccurs="unbounded">
+        <xsd:element name="service-interface-mapping"
+		     type="j2ee:service-interface-mappingType"
+		     minOccurs="0" maxOccurs="1"/>
+        <xsd:element name="service-endpoint-interface-mapping"
+		     type="j2ee:service-endpoint-interface-mappingType"
+		     minOccurs="1" maxOccurs="unbounded"/>
+      </xsd:sequence>
+    </xsd:sequence>
+
+    <xsd:attribute name="version"
+		   type="j2ee:dewey-versionType"
+		   fixed="1.1"
+		   use="required">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The required value for the version is 1.1.
+
+	</xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="java-xml-type-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The java-xml-type-mapping element contains a java-type that is the
+	fully qualified name of the Java class, primitive type, or array
+	type, QName of the XML root type or anonymous type, the WSDL type
+	scope the QName applies to and the set of variable mappings for
+	each public variable within the Java class.
+
+	Used in: java-wsdl-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="java-type"
+		   type="j2ee:java-typeType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The java-type element is the fully qualified class name of
+	    a Java class, primitive, or array type.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <choice>
+        <xsd:element name="root-type-qname"
+		   type="j2ee:xsdQNameType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The root-type-qname identifies the WSDL QName of an XML type.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+        </xsd:element>
+        <xsd:element name="anonymous-type-qname"
+		   type="j2ee:string">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The anonymous-type-qname identifies the WSDL QName of an
+	      anonymous XML type.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+        </xsd:element>
+      </choice>
+      <xsd:element name="qname-scope"
+		   type="j2ee:qname-scopeType"/>
+      <xsd:element name="variable-mapping"
+		   type="j2ee:variable-mappingType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="method-param-parts-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The method-param-parts-mapping element defines the mapping between a
+	Java method parameters and a wsdl-message.
+
+	Used in: service-endpoint-method-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="param-position"
+		   type="j2ee:xsdNonNegativeIntegerType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The param-position element defines the position of a
+	    parameter within a Java method.  It must be an integer
+	    starting from 0.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="param-type"
+		   type="j2ee:java-typeType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The param-type element defines the fully qualified
+	    class name of a Java class, primitive, or array type.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-message-mapping"
+		   type="j2ee:wsdl-message-mappingType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="package-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The package-mapping indicates the mapping between java-package-name
+	and XML namespace in the WSDL document.
+
+	Used in: java-wsdl-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="package-type"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The package-type indicates the Java package name. It must be a fully
+	    qualified package name, even though the XML schema type is
+	    fully-qualified-classType.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="namespaceURI"
+		   type="j2ee:xsdAnyURIType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The namespaceURI element indicates a URI.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="parameter-modeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The parameter-mode element defines the mode of the parameter.
+	It can have only three values, IN, OUT, INOUT.
+
+	Used in: java-xml-type-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="IN"/>
+	<xsd:enumeration value="OUT"/>
+	<xsd:enumeration value="INOUT"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="port-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The port-mapping defines the mapping of the WSDL port name attribute
+	to the Java name used to generate the Generated Service Interface
+	method get{java-name}.
+
+	Used in: service-interface-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="port-name"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The port-mapping defines the mapping of the WSDL port name
+	    attribute to the Java name used to generate the Generated
+	    Service Interface method get{java-name}.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="java-port-name"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The java-port-name element is the string to use as the port
+	    name in Java.  It is used in generating the Generated
+	    Service Interface method get{java-port-name}.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="qname-scopeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The qname-scope elements scopes the reference of a QName to the WSDL
+	element type it applies to. The value of qname-scope may be
+	simpleType, complexType, or element.
+
+	Used in: java-xml-type-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="simpleType"/>
+	<xsd:enumeration value="complexType"/>
+	<xsd:enumeration value="element"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="service-endpoint-interface-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The service-endpoint-interface-mapping defines a tuple
+	to specify Service Endpoint Interfaces to
+	WSDL port types and WSDL bindings.
+
+	An interface may be mapped to a port-type and binding multiple
+	times. This happens rarely.
+
+	Used in: java-wsdl-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="service-endpoint-interface"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-endpoint-interface element defines the Java
+	    type for the endpoint interface. The name must be a fully
+	    qualified class name.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-port-type"
+		   type="j2ee:xsdQNameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The wsdl-port-type element defines the wsdl port type
+	    by a QNAME which uniquely identifies  the port type.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-binding"
+		   type="j2ee:xsdQNameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The wsdl-binding element defines the wsdl binding
+	    by a QNAME which uniquely identifies  the binding.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="service-endpoint-method-mapping"
+		   type="j2ee:service-endpoint-method-mappingType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="service-endpoint-method-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The service-endpoint-method-mapping element defines the mapping of
+	Java methods to operations (which are not uniquely qualified by
+	qnames).
+
+	The wsdl-operation should be interpreted with respect to the
+	portType and binding in which this definition is embedded within.
+	See the definitions for service-endpoint-interface-mapping and
+	service-interface-mapping to acquire the proper context.  The
+	wrapped-element indicator should only be specified when a WSDL
+	message wraps an element type.  The wsdl-return-value-mapping is
+	not specified for one-way operations.
+
+	Used in: service-endpoint-interface-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="java-method-name"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The java-method-name element defines the name of a Java method
+	    within an interface.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-operation"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The wsdl-operation element defines an operation within a WSDL
+	    document.  It must be interpreted with respect to a port type.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wrapped-element"
+		   type="j2ee:emptyType"
+		   minOccurs="0"
+		   maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The wrapped-element element is defined when a WSDL message
+	    with a single part is used to wrap an element type and the
+	    element's name matches the operation name.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="method-param-parts-mapping"
+		   type="j2ee:method-param-parts-mappingType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="wsdl-return-value-mapping"
+		   type="j2ee:wsdl-return-value-mappingType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="service-interface-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The service-interface-mapping element defines how a Java type for
+	the service interface maps to a WSDL service.
+
+	Used in: java-wsdl-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="service-interface"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-interface element defines the Java type for the service.
+	    For static services, it is javax.xml.rpc.Service interface. For
+	    generated service, it would be the generated interface name.
+
+	    The name must be a fully qualified class name.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-service-name"
+		   type="j2ee:xsdQNameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The wsdl-service-name element defines the wsdl service name
+	    by a QNAME which uniquely identifies  the service.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="port-mapping"
+		   type="j2ee:port-mappingType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="variable-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The variable-mapping element defines the correlation between a
+	Java class data member or JavaBeans property to an XML element
+	or attribute name of an XML root type. If the data-member
+	element is present, the Java variable name is a public data
+	member.  If data-member	is not present, the Java variable name
+	is a JavaBeans property.
+
+	Used in: java-xml-type-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="java-variable-name"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The java-variable-name defines the name of a public data member or
+	    JavaBeans property within a Java class.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="data-member"
+		   type="j2ee:emptyType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The data-member element is a boolean indicator that a Java
+	    variable is a public data member and not a JavaBeans property.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:choice>
+        <xsd:element name="xml-attribute-name"
+		     type="j2ee:string">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The xml-attribute-name element defines name attribute value
+	      of a WSDL attribute element within a root type.  The value
+	      of an xml-attribute-name element must match the value of
+	      the ref attribute if mapping an attribute reference.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+        </xsd:element>
+        <xsd:element name="xml-element-name"
+		     type="j2ee:string">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The xml-element-name element defines name attribute value of
+	      a WSDL element within a root type.  The value of an
+	      xml-element-name element must match the value of the ref
+	      attribute if mapping an element reference.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+        </xsd:element>
+        <xsd:element name="xml-wildcard"
+		     type="j2ee:emptyType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The xml-wildcard element associates the variable-mapping with
+	      an xsd:any element within a root type.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+        </xsd:element>
+      </xsd:choice>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="wsdl-message-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The wsdl-message-mapping element defines the mapping to a
+	specific message and its part. Together they define uniquely
+	the mapping for a specific parameter. Parts within a message
+	context are uniquely identified with their names.
+
+	The parameter-mode is defined by the mapping to indicate
+	whether the mapping will be IN, OUT, or INOUT..  The presence
+	of the soap-header element indicates that the parameter is
+	mapped to a soap header only.  When absent, it means that the
+	wsdl-message is mapped to a Java parameter. The soap headers
+	are interpreted in the order they are provided in the mapping.
+
+	Used in: method-param-parts-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="wsdl-message"
+		   type="j2ee:wsdl-messageType"/>
+      <xsd:element name="wsdl-message-part-name"
+		   type="j2ee:wsdl-message-part-nameType"/>
+      <xsd:element name="parameter-mode"
+		   type="j2ee:parameter-modeType"/>
+      <xsd:element name="soap-header"
+		   type="j2ee:emptyType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The soap-header element is a boolean element indicating that
+	    a parameter is mapped to a SOAP header.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="wsdl-message-part-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Interpretation of the wsdl-message-part-name element depends on
+	whether or not wrapped-element has been defined in the
+	service-endpoint-method-mapping.  If wrapped-element is not
+	specified, wsdl-message-part-name defines a WSDL message part. It
+	should always be interpreted with respect to a wsdl-message
+	element. If wrapped-element is specified, wsdl-message-part-name
+	refers to an element name of the element type.
+
+	Used in: wsdl-message-mapping, wsdl-return-value-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="wsdl-messageType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The wsdl-message element defines a WSDL message by a QNAME.
+
+	Used in: wsdl-message-mapping, wsdl-return-value-mapping,
+	exception-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:xsdQNameType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="wsdl-return-value-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The wsdl-return-value-mapping  element defines the mapping for the
+	method's return value. It defines the mapping to a specific message
+	and its part.  Together they define uniquely the mapping for a
+	specific parameter. Parts within a message context are uniquely
+	identified with their names. The wsdl-message-part-name is not
+	specified if there is no return value or OUT parameters.
+
+	Used in: service-endpoint-method-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="method-return-value"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The method-return-value  element defines a fully qualified
+	    class name or void type for the method's return value
+	    type.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-message"
+		   type="j2ee:wsdl-messageType"/>
+      <xsd:element name="wsdl-message-part-name"
+		   type="j2ee:wsdl-message-part-nameType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_web_services_1_1.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_web_services_1_1.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_web_services_1_1.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,490 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+  targetNamespace="http://java.sun.com/xml/ns/j2ee"
+  xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  elementFormDefault="qualified"
+  attributeFormDefault="unqualified"
+  version="1.1">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)j2ee_web_services_1_1.xsds	1.11 02/11/03
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003 Sun Microsystems, Inc., 901 San Antonio
+      Road, Palo Alto, California 94303, U.S.A. All rights
+      reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      (C) Copyright International Business Machines Corporation 2002
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	The webservices element is the root element for the web services
+	deployment descriptor.  It specifies the set of web service
+	descriptions that are to be deployed into the J2EE Application
+	Server and the dependencies they have on container resources and
+	services.  The deployment descriptor must be named
+	"META-INF/webservices.xml" in the web services' jar file.
+
+	Used in: webservices.xml
+
+	All webservices deployment descriptors must indicate the
+	webservices schema by using the J2EE namespace:
+
+	http://java.sun.com/xml/ns/j2ee
+
+	and by indicating the version of the schema by using the version
+	element as shown below:
+
+	    <webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+		http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+	      version="1.1">
+	      ...
+	    </webservices>
+
+	The instance documents may indicate the published version of the
+	schema using the xsi:schemaLocation attribute for the J2EE
+	namespace with the following location:
+
+	http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all J2EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
+
+
+  <!-- **************************************************** -->
+
+
+  <xsd:element name="webservices" type="j2ee:webservicesType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The webservices element is the root element for the web services
+	deployment descriptor.  It specifies the set of web service
+	descriptions that are to be deployed into the J2EE Application Server
+	and the dependencies they have on container resources and services.
+
+	Used in: webservices.xml
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:key name="webservice-description-name-key">
+      <xsd:annotation>
+        <xsd:documentation>
+
+	  The webservice-description-name identifies the collection of
+	  port-components associated with a WSDL file and JAX-RPC mapping. The
+	  name must be unique within the deployment descriptor.
+
+        </xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:webservice-description"/>
+      <xsd:field xpath="j2ee:webservice-description-name"/>
+    </xsd:key>
+  </xsd:element>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="port-componentType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The port-component element associates a WSDL port with a web service
+	interface and implementation.  It defines the name of the port as a
+	component, optional description, optional display name, optional iconic
+	representations, WSDL port QName, Service Endpoint Interface, Service
+	Implementation Bean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+        type="j2ee:descriptionType"
+        minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="display-name"
+        type="j2ee:display-nameType"
+        minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="icon"
+        type="j2ee:iconType"
+        minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="port-component-name"
+        type="j2ee:string">
+        <xsd:annotation>
+          <xsd:documentation>
+            <![CDATA[
+
+	      The port-component-name element specifies a port component's
+	      name.  This name is assigned by the module producer to name
+	      the service implementation bean in the module's deployment
+	      descriptor. The name must be unique among the port component
+	      names defined in the same module.
+
+	      Used in: port-component
+
+	      Example:
+		      <port-component-name>EmployeeService
+		      </port-component-name>
+
+              ]]>
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-port"
+        type="j2ee:xsdQNameType">
+        <xsd:annotation>
+          <xsd:documentation>
+
+	    Defines the name space and local name part of the WSDL port QName.
+
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="service-endpoint-interface"
+        type="j2ee:fully-qualified-classType">
+        <xsd:annotation>
+          <xsd:documentation>
+            <![CDATA[
+
+	      The service-endpoint-interface element contains the
+	      fully-qualified name of the port component's Service Endpoint
+	      Interface.
+
+	      Used in: port-component
+
+	      Example:
+		      <remote>com.wombat.empl.EmployeeService</remote>
+
+              ]]>
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="service-impl-bean"
+        type="j2ee:service-impl-beanType"/>
+
+      <xsd:element name="handler"
+        type="j2ee:port-component_handlerType"
+        minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="port-component_handlerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Declares the handler for a port-component. Handlers can access the
+	init-param name/value pairs using the HandlerInfo interface.
+
+	Used in: port-component
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="handler-name"
+        type="j2ee:string">
+        <xsd:annotation>
+          <xsd:documentation>
+
+	    Defines the name of the handler. The name must be unique within the
+	    module.
+
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="handler-class"
+        type="j2ee:fully-qualified-classType">
+        <xsd:annotation>
+          <xsd:documentation>
+
+	    Defines a fully qualified class name for the handler implementation.
+
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="init-param"
+        type="j2ee:param-valueType"
+        minOccurs="0" maxOccurs="unbounded"/>
+
+      <xsd:element name="soap-header"
+        type="j2ee:xsdQNameType"
+        minOccurs="0" maxOccurs="unbounded">
+        <xsd:annotation>
+          <xsd:documentation>
+
+	    Defines the QName of a SOAP header that will be processed by the
+	    handler.
+
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="soap-role"
+        type="j2ee:string"
+        minOccurs="0" maxOccurs="unbounded">
+        <xsd:annotation>
+          <xsd:documentation>
+
+	    The soap-role element contains a SOAP actor definition that the
+	    Handler will play as a role.
+
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="service-impl-beanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The service-impl-bean element defines the web service implementation.
+	A service implementation can be an EJB bean class or JAX-RPC web
+	component.  Existing EJB implementations are exposed as a web service
+	using an ejb-link.
+
+	Used in: port-component
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:choice>
+      <xsd:element name="ejb-link"
+        type="j2ee:ejb-linkType"/>
+      <xsd:element name="servlet-link"
+        type="j2ee:servlet-linkType"/>
+    </xsd:choice>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="servlet-linkType">
+    <xsd:annotation>
+      <xsd:documentation>
+        <![CDATA[
+
+	  The servlet-link element is used in the service-impl-bean element
+	  to specify that a Service Implementation Bean is defined as a
+	  JAX-RPC Service Endpoint.
+
+	  The value of the servlet-link element must be the servlet-name of
+	  a JAX-RPC Service Endpoint in the same WAR file.
+
+	  Used in: service-impl-bean
+
+	  Example:
+		  <servlet-link>StockQuoteService</servlet-link>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="webservice-descriptionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The webservice-description element defines a WSDL document file
+	and the set of Port components associated with the WSDL ports
+	defined in the WSDL document.  There may be multiple
+	webservice-descriptions defined within a module.
+
+	All WSDL file ports must have a corresponding port-component element
+	defined.
+
+	Used in: webservices
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+        type="j2ee:descriptionType"
+        minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="display-name"
+        type="j2ee:display-nameType"
+        minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="icon"
+        type="j2ee:iconType"
+        minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="webservice-description-name"
+        type="j2ee:string">
+        <xsd:annotation>
+          <xsd:documentation>
+
+	    The webservice-description-name identifies the collection of
+	    port-components associated with a WSDL file and JAX-RPC
+	    mapping. The name must be unique within the deployment descriptor.
+
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-file"
+        type="j2ee:pathType">
+        <xsd:annotation>
+          <xsd:documentation>
+
+	    The wsdl-file element contains the name of a WSDL file in the
+	    module.  The file name is a relative path within the module.
+
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="jaxrpc-mapping-file"
+        type="j2ee:pathType">
+        <xsd:annotation>
+          <xsd:documentation>
+
+	    The jaxrpc-mapping-file element contains the name of a file that
+	    describes the JAX-RPC mapping between the Java interaces used by
+	    the application and the WSDL description in the wsdl-file.  The
+	    file name is a relative path within the module.
+
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="port-component"
+        type="j2ee:port-componentType"
+        minOccurs="1" maxOccurs="unbounded">
+        <xsd:key name="port-component_handler-name-key">
+          <xsd:annotation>
+            <xsd:documentation>
+
+	      Defines the name of the handler. The name must be unique
+	      within the module.
+
+            </xsd:documentation>
+          </xsd:annotation>
+          <xsd:selector xpath="j2ee:handler"/>
+          <xsd:field xpath="j2ee:handler-name"/>
+        </xsd:key>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="webservicesType">
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="webservice-description"
+        type="j2ee:webservice-descriptionType"
+        minOccurs="1" maxOccurs="unbounded">
+        <xsd:key name="port-component-name-key">
+          <xsd:annotation>
+            <xsd:documentation>
+              <![CDATA[
+
+		The port-component-name element specifies a port
+		component's name.  This name is assigned by the module
+		producer to name the service implementation bean in the
+		module's deployment descriptor. The name must be unique
+		among the port component names defined in the same module.
+
+		Used in: port-component
+
+		Example:
+			<port-component-name>EmployeeService
+			</port-component-name>
+
+          ]]>
+            </xsd:documentation>
+          </xsd:annotation>
+          <xsd:selector xpath="j2ee:port-component"/>
+          <xsd:field xpath="j2ee:port-component-name"/>
+        </xsd:key>
+      </xsd:element>
+    </xsd:sequence>
+
+    <xsd:attribute name="version"
+      type="j2ee:dewey-versionType"
+      fixed="1.1"
+      use="required">
+      <xsd:annotation>
+        <xsd:documentation>
+
+	  The required value for the version is 1.1.
+
+        </xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_web_services_client_1_1.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_web_services_client_1_1.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/j2ee_web_services_client_1_1.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,344 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="1.1">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)j2ee_web_services_client_1_1.xsds	1.10 02/11/03
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003 Sun Microsystems, Inc., 901 San Antonio
+      Road, Palo Alto, California 94303, U.S.A. All rights
+      reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      (C) Copyright International Business Machines Corporation 2002
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="port-component-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The port-component-ref element declares a client dependency
+	on the container for resolving a Service Endpoint Interface
+	to a WSDL port. It optionally associates the Service Endpoint
+	Interface with a particular port-component. This is only used
+	by the container for a Service.getPort(Class) method call.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="service-endpoint-interface"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-endpoint-interface element defines a fully qualified
+	    Java class that represents the Service Endpoint Interface of a
+	    WSDL port.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="port-component-link"
+		   type="j2ee:string"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The port-component-link element links a port-component-ref
+	    to a specific port-component required to be made available
+	    by a service reference.
+
+	    The value of a port-component-link must be the
+	    port-component-name of a port-component in the same module
+	    or another module in the same application unit. The syntax
+	    for specification follows the syntax defined for ejb-link
+	    in the EJB 2.0 specification.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:group name="service-refGroup">
+    <xsd:sequence>
+      <xsd:element name="service-ref"
+		   type="j2ee:service-refType"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:key name="service-ref_handler-name-key">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      Defines the name of the handler. The name must be unique
+	      within the module.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="j2ee:handler"/>
+	  <xsd:field xpath="j2ee:handler-name"/>
+	</xsd:key>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:group>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="service-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The service-ref element declares a reference to a Web
+	service. It contains optional description, display name and
+	icons, a declaration of the required Service interface,
+	an optional WSDL document location, an optional set
+	of JAX-RPC mappings, an optional QName for the service element,
+	an optional set of Service Endpoint Interfaces to be resolved
+	by the container to a WSDL port, and an optional set of handlers.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="service-ref-name"
+		   type="j2ee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-ref-name element declares logical name that the
+	    components in the module use to look up the Web service. It
+	    is recommended that all service reference names start with
+	    "service/".
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="service-interface"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-interface element declares the fully qualified class
+	    name of the JAX-RPC Service interface the client depends on.
+	    In most cases the value will be javax.xml.rpc.Service.  A JAX-RPC
+	    generated Service Interface class may also be specified.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="wsdl-file"
+		   type="j2ee:xsdAnyURIType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The wsdl-file element contains the URI location of a WSDL
+	    file. The location is relative to the root of the module.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="jaxrpc-mapping-file"
+		   type="j2ee:pathType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The jaxrpc-mapping-file element contains the name of a file that
+	    describes the JAX-RPC mapping between the Java interaces used by
+	    the application and the WSDL description in the wsdl-file.  The
+	    file name is a relative path within the module file.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="service-qname"
+		   type="j2ee:xsdQNameType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-qname element declares the specific WSDL service
+	    element that is being refered to.  It is not specified if no
+	    wsdl-file is declared.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="port-component-ref"
+		   type="j2ee:port-component-refType"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The port-component-ref element declares a client dependency
+	    on the container for resolving a Service Endpoint Interface
+	    to a WSDL port. It optionally associates the Service Endpoint
+	    Interface with a particular port-component. This is only used
+	    by the container for a Service.getPort(Class) method call.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="handler"
+		   type="j2ee:service-ref_handlerType"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Declares the handler for a port-component. Handlers can
+	    access the init-param name/value pairs using the
+	    HandlerInfo interface. If port-name is not specified, the
+	    handler is assumed to be associated with all ports of the
+	    service.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="service-ref_handlerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Declares the handler for a port-component. Handlers can access the
+	init-param name/value pairs using the HandlerInfo interface. If
+	port-name is not specified, the handler is assumed to be associated
+	with all ports of the service.
+
+	Used in: service-ref
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="handler-name"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines the name of the handler. The name must be unique
+	    within the module.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="handler-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines a fully qualified class name for the handler
+	    implementation.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="init-param"
+		   type="j2ee:param-valueType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+
+      <xsd:element name="soap-header"
+		   type="j2ee:xsdQNameType"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines the QName of a SOAP header that will be processed
+	    by the handler.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="soap-role"
+		   type="j2ee:string"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The soap-role element contains a SOAP actor definition that
+	    the Handler will play as a role.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="port-name"
+		   type="j2ee:string"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The port-name element defines the WSDL port-name that a
+	    handler should be associated with.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/java-properties_1_0.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/java-properties_1_0.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/java-properties_1_0.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: java-properties_1_0.xsd 33895 2005-07-25 03:47:22Z  $
+-->
+<xs:schema version="1.0"
+   targetNamespace="urn:jboss:java-properties"
+   xmlns:java="urn:jboss:custom-object-binding"
+   xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:jbxb="http://www.jboss.org/xml/ns/jbxb"
+   attributeFormDefault="unqualified"
+   elementFormDefault="qualified"
+   >
+   <xs:annotation>
+      <xs:documentation>A JBossXB schema for specifying how a java.util.Properties
+         object is unmarshalled.
+      </xs:documentation>
+   </xs:annotation>
+   <xs:element name="properties">
+      <xs:annotation>
+         <xs:appinfo>
+            <jbxb:class impl="java.util.Properties"/>
+         </xs:appinfo>
+      </xs:annotation>
+      <xs:complexType>
+         <xs:sequence>
+            <xs:element name="property" maxOccurs="unbounded">
+               <xs:annotation>
+                  <xs:appinfo>
+                     <jbxb:putMethod name="setProperty" keyType="java.lang.String" valueType="java.lang.String"/>
+                  </xs:appinfo>
+               </xs:annotation>
+               <xs:complexType id="propertyType">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <jbxb:mapEntry/>
+                     </xs:appinfo>
+                  </xs:annotation>
+                  <xs:sequence>
+                     <xs:element name="key" type="xs:string">
+                        <xs:annotation>
+                           <xs:appinfo>
+                              <jbxb:mapEntryKey/>
+                           </xs:appinfo>
+                        </xs:annotation>
+                     </xs:element>
+                     <xs:element name="value" type="xs:string">
+                        <xs:annotation>
+                           <xs:appinfo>
+                              <jbxb:mapEntryValue/>
+                           </xs:appinfo>
+                        </xs:annotation>
+                     </xs:element>
+                  </xs:sequence>
+               </xs:complexType>
+            </xs:element>
+         </xs:sequence>
+      </xs:complexType>
+   </xs:element>
+</xs:schema>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_5.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_5.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_5.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2095 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema
+     targetNamespace="http://java.sun.com/xml/ns/javaee"
+     xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+     elementFormDefault="qualified"
+     attributeFormDefault="unqualified"
+     version="5">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)javaee_5.xsds	1.65 06/02/17
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003-2006 Sun Microsystems, Inc.
+      4150 Network Circle
+      Santa Clara, California 95054
+      U.S.A
+      All rights reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+<xsd:annotation>
+<xsd:documentation>
+
+The following definitions that appear in the common
+shareable schema(s) of J2EE deployment descriptors should be
+interpreted with respect to the context they are included:
+
+Deployment Component may indicate one of the following:
+    j2ee application;
+    application client;
+    web application;
+    enterprise bean;
+    resource adapter;
+
+Deployment File may indicate one of the following:
+    ear file;
+    war file;
+    jar file;
+    rar file;
+
+</xsd:documentation>
+</xsd:annotation>
+
+  <xsd:import namespace="http://www.w3.org/XML/1998/namespace"
+	      schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+
+  <xsd:include schemaLocation="javaee_web_services_client_1_2.xsd"/>
+
+
+<!-- **************************************************** -->
+
+  <xsd:group name="descriptionGroup">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This group keeps the usage of the contained description related
+	elements consistent across Java EE deployment descriptors.
+
+	All elements may occur multiple times with different languages,
+	to support localization of the content.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="display-name"
+		   type="javaee:display-nameType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="icon"
+		   type="javaee:iconType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:group>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="descriptionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The description type is used by a description element to
+	provide text describing the parent element.  The elements
+	that use this type should include any information that the
+	Deployment Component's Deployment File file producer wants
+	to provide to the consumer of the Deployment Component's
+	Deployment File (i.e., to the Deployer). Typically, the
+	tools used by such a Deployment File consumer will display
+	the description when processing the parent element that
+	contains the description.
+
+	The lang attribute defines the language that the
+	description is provided in. The default value is "en" (English).
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="javaee:xsdStringType">
+	<xsd:attribute ref="xml:lang"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="dewey-versionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type defines a dewey decimal that is used
+	to describe versions of documents.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:restriction base="xsd:token">
+      <xsd:pattern value="\.?[0-9]+(\.[0-9]+)*"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="display-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The display-name type contains a short name that is intended
+	  to be displayed by tools. It is used by display-name
+	  elements.  The display name need not be unique.
+
+	  Example:
+
+	  ...
+	     <display-name xml:lang="en">
+	       Employee Self Service
+	     </display-name>
+
+	  The value of the xml:lang attribute is "en" (English) by default.
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="javaee:string">
+	<xsd:attribute ref="xml:lang"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-linkType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The ejb-linkType is used by ejb-link
+	  elements in the ejb-ref or ejb-local-ref elements to specify
+	  that an EJB reference is linked to enterprise bean.
+
+	  The value of the ejb-link element must be the ejb-name of an
+	  enterprise bean in the same ejb-jar file or in another ejb-jar
+	  file in the same Java EE application unit.
+
+	  Alternatively, the name in the ejb-link element may be
+	  composed of a path name specifying the ejb-jar containing the
+	  referenced enterprise bean with the ejb-name of the target
+	  bean appended and separated from the path name by "#".  The
+	  path name is relative to the Deployment File containing
+	  Deployment Component that is referencing the enterprise
+	  bean.  This allows multiple enterprise beans with the same
+	  ejb-name to be uniquely identified.
+
+	  Examples:
+
+	      <ejb-link>EmployeeRecord</ejb-link>
+
+	      <ejb-link>../products/product.jar#ProductEJB</ejb-link>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-local-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The ejb-local-refType is used by ejb-local-ref elements for
+	the declaration of a reference to an enterprise bean's local
+	home or to the local business interface of a 3.0 bean.
+        The declaration consists of:
+
+	    - an optional description
+	    - the EJB reference name used in the code of the Deployment
+	      Component that's referencing the enterprise bean.
+	    - the optional expected type of the referenced enterprise bean
+	    - the optional expected local interface of the referenced
+              enterprise bean or the local business interface of the
+              referenced enterprise bean.
+	    - the optional expected local home interface of the referenced
+              enterprise bean. Not applicable if this ejb-local-ref refers
+              to the local business interface of a 3.0 bean.
+	    - optional ejb-link information, used to specify the
+	      referenced enterprise bean
+            - optional elements to define injection of the named enterprise
+              bean into a component field or property.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-ref-name"
+		   type="javaee:ejb-ref-nameType"/>
+      <xsd:element name="ejb-ref-type"
+		   type="javaee:ejb-ref-typeType"
+                   minOccurs="0"/>
+      <xsd:element name="local-home"
+		   type="javaee:local-homeType"
+                   minOccurs="0"/>
+      <xsd:element name="local"
+		   type="javaee:localType"
+                   minOccurs="0"/>
+      <xsd:element name="ejb-link"
+		   type="javaee:ejb-linkType"
+		   minOccurs="0"/>
+      <xsd:group ref="javaee:resourceGroup"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-ref-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The ejb-ref-name element contains the name of an EJB
+	  reference. The EJB reference is an entry in the
+	  Deployment Component's environment and is relative to the
+	  java:comp/env context.  The name must be unique within the
+	  Deployment Component.
+
+	  It is recommended that name is prefixed with "ejb/".
+
+	  Example:
+
+	  <ejb-ref-name>ejb/Payroll</ejb-ref-name>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:jndi-nameType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-ref-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The ejb-ref-typeType contains the expected type of the
+	referenced enterprise bean.
+
+	The ejb-ref-type designates a value
+	that must be one of the following:
+
+	    Entity
+	    Session
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="Entity"/>
+	<xsd:enumeration value="Session"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="ejb-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The ejb-refType is used by ejb-ref elements for the
+	declaration of a reference to an enterprise bean's home or
+        to the remote business interface of a 3.0 bean.
+	The declaration consists of:
+
+	    - an optional description
+	    - the EJB reference name used in the code of
+	      the Deployment Component that's referencing the enterprise
+	      bean.
+	    - the optional expected type of the referenced enterprise bean
+            - the optional remote interface of the referenced enterprise bean
+              or the remote business interface of the referenced enterprise
+              bean
+	    - the optional expected home interface of the referenced
+              enterprise bean.  Not applicable if this ejb-ref
+              refers to the remote business interface of a 3.0 bean.
+	    - optional ejb-link information, used to specify the
+	      referenced enterprise bean
+            - optional elements to define injection of the named enterprise
+              bean into a component field or property
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="ejb-ref-name"
+		   type="javaee:ejb-ref-nameType"/>
+      <xsd:element name="ejb-ref-type"
+		   type="javaee:ejb-ref-typeType"
+		   minOccurs="0"/>
+      <xsd:element name="home"
+		   type="javaee:homeType"
+		   minOccurs="0"/>
+      <xsd:element name="remote"
+		   type="javaee:remoteType"
+                   minOccurs="0"/>
+      <xsd:element name="ejb-link"
+		   type="javaee:ejb-linkType"
+		   minOccurs="0"/>
+      <xsd:group ref="javaee:resourceGroup"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="emptyType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type is used to designate an empty
+	element when used.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="env-entry-type-valuesType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  This type contains the fully-qualified Java type of the
+	  environment entry value that is expected by the
+	  application's code.
+
+	  The following are the legal values of env-entry-type-valuesType:
+
+	      java.lang.Boolean
+	      java.lang.Byte
+	      java.lang.Character
+	      java.lang.String
+	      java.lang.Short
+	      java.lang.Integer
+	      java.lang.Long
+	      java.lang.Float
+	      java.lang.Double
+
+	  Example:
+
+	  <env-entry-type>java.lang.Boolean</env-entry-type>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="java.lang.Boolean"/>
+	<xsd:enumeration value="java.lang.Byte"/>
+	<xsd:enumeration value="java.lang.Character"/>
+	<xsd:enumeration value="java.lang.String"/>
+	<xsd:enumeration value="java.lang.Short"/>
+	<xsd:enumeration value="java.lang.Integer"/>
+	<xsd:enumeration value="java.lang.Long"/>
+	<xsd:enumeration value="java.lang.Float"/>
+	<xsd:enumeration value="java.lang.Double"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="env-entryType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The env-entryType is used to declare an application's
+	environment entry. The declaration consists of an optional
+	description, the name of the environment entry, a type
+	(optional if the value is injected, otherwise required), and
+	an optional value.
+
+	It also includes optional elements to define injection of
+	the named resource into fields or JavaBeans properties.
+
+	If a value is not specified and injection is requested,
+	no injection will occur and no entry of the specified name
+	will be created.  This allows an initial value to be
+	specified in the source code without being incorrectly
+	changed when no override has been specified.
+
+	If a value is not specified and no injection is requested,
+	a value must be supplied during deployment.
+
+	This type is used by env-entry elements.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="env-entry-name"
+		   type="javaee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The env-entry-name element contains the name of a
+	      Deployment Component's environment entry.  The name
+	      is a JNDI name relative to the java:comp/env
+	      context.  The name must be unique within a
+	      Deployment Component. The uniqueness
+	      constraints must be defined within the declared
+	      context.
+
+	      Example:
+
+	      <env-entry-name>minAmount</env-entry-name>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="env-entry-type"
+		   type="javaee:env-entry-type-valuesType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The env-entry-type element contains the Java language
+	      type of the environment entry.  If an injection target
+	      is specified for the environment entry, the type may
+	      be omitted, or must match the type of the injection
+	      target.  If no injection target is specified, the type
+	      is required.
+
+	      Example:
+
+	      <env-entry-type>java.lang.Integer</env-entry-type>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="env-entry-value"
+		   type="javaee:xsdStringType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The env-entry-value designates the value of a
+	      Deployment Component's environment entry. The value
+	      must be a String that is valid for the
+	      constructor of the specified type that takes a
+	      single String parameter, or for java.lang.Character,
+	      a single character.
+
+	      Example:
+
+	      <env-entry-value>100.00</env-entry-value>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:group ref="javaee:resourceGroup"/>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="fully-qualified-classType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The elements that use this type designate the name of a
+	Java class or interface.  The name is in the form of a
+	"binary name", as defined in the JLS.  This is the form
+	of name used in Class.forName().  Tools that need the
+	canonical name (the name used in source code) will need
+	to convert this binary name to the canonical name.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="generic-booleanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type defines four different values which can designate
+	boolean values. This includes values yes and no which are
+	not designated by xsd:boolean
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="true"/>
+	<xsd:enumeration value="false"/>
+	<xsd:enumeration value="yes"/>
+	<xsd:enumeration value="no"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="homeType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The homeType defines the fully-qualified name of
+	  an enterprise bean's home interface.
+
+	  Example:
+
+	      <home>com.aardvark.payroll.PayrollHome</home>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="iconType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The icon type contains small-icon and large-icon elements
+	that specify the file names for small and large GIF, JPEG,
+	or PNG icon images used to represent the parent element in a
+	GUI tool.
+
+	The xml:lang attribute defines the language that the
+	icon file names are provided in. Its value is "en" (English)
+	by default.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="small-icon" type="javaee:pathType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The small-icon element contains the name of a file
+	      containing a small (16 x 16) icon image. The file
+	      name is a relative path within the Deployment
+	      Component's Deployment File.
+
+	      The image may be in the GIF, JPEG, or PNG format.
+	      The icon can be used by tools.
+
+	      Example:
+
+	      <small-icon>employee-service-icon16x16.jpg</small-icon>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="large-icon" type="javaee:pathType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The large-icon element contains the name of a file
+	      containing a large
+	      (32 x 32) icon image. The file name is a relative
+	      path within the Deployment Component's Deployment
+	      File.
+
+	      The image may be in the GIF, JPEG, or PNG format.
+	      The icon can be used by tools.
+
+	      Example:
+
+	      <large-icon>employee-service-icon32x32.jpg</large-icon>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+    </xsd:sequence>
+
+    <xsd:attribute ref="xml:lang"/>
+    <xsd:attribute name="id" type="xsd:ID"/>
+
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="injection-targetType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	An injection target specifies a class and a name within
+	that class into which a resource should be injected.
+
+	The injection target class specifies the fully qualified
+	class name that is the target of the injection.  The
+	Java EE specifications describe which classes can be an
+	injection target.
+
+	The injection target name specifies the target within
+	the specified class.  The target is first looked for as a
+	JavaBeans property name.  If not found, the target is
+	looked for as a field name.
+
+	The specified resource will be injected into the target
+	during initialization of the class by either calling the
+	set method for the target property or by setting a value
+	into the named field.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="injection-target-class"
+		   type="javaee:fully-qualified-classType"/>
+      <xsd:element name="injection-target-name"
+		   type="javaee:java-identifierType"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="java-identifierType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The java-identifierType defines a Java identifier.
+	The users of this type should further verify that
+	the content does not contain Java reserved keywords.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:pattern value="($|_|\p{L})(\p{L}|\p{Nd}|_|$)*"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="java-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This is a generic type that designates a Java primitive
+	type or a fully qualified name of a Java interface/type,
+	or an array of such types.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:pattern value="[^\p{Z}]*"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="jndi-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The jndi-nameType type designates a JNDI name in the
+	Deployment Component's environment and is relative to the
+	java:comp/env context.  A JNDI name must be unique within the
+	Deployment Component.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:group name="jndiEnvironmentRefsGroup">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This group keeps the usage of the contained JNDI environment
+	reference elements consistent across Java EE deployment descriptors.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="env-entry"
+		   type="javaee:env-entryType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="ejb-ref"
+		   type="javaee:ejb-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="ejb-local-ref"
+		   type="javaee:ejb-local-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:group ref="javaee:service-refGroup"/>
+      <xsd:element name="resource-ref"
+		   type="javaee:resource-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="resource-env-ref"
+		   type="javaee:resource-env-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="message-destination-ref"
+		   type="javaee:message-destination-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="persistence-context-ref"
+		   type="javaee:persistence-context-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="persistence-unit-ref"
+		   type="javaee:persistence-unit-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="post-construct"
+		   type="javaee:lifecycle-callbackType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="pre-destroy"
+		   type="javaee:lifecycle-callbackType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:group>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="lifecycle-callbackType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The lifecycle-callback type specifies a method on a
+	class to be called when a lifecycle event occurs.
+	Note that each class may have only one lifecycle callback
+        method for any given event and that the method may not
+	be overloaded.
+
+        If the lifefycle-callback-class element is missing then
+        the class defining the callback is assumed to be the
+        component class in scope at the place in the descriptor
+        in which the callback definition appears.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="lifecycle-callback-class"
+		   type="javaee:fully-qualified-classType"
+                   minOccurs="0"/>
+      <xsd:element name="lifecycle-callback-method"
+		   type="javaee:java-identifierType"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="listenerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The listenerType indicates the deployment properties for a web
+	application listener bean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="listener-class"
+		   type="javaee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The listener-class element declares a class in the
+	    application must be registered as a web
+	    application listener bean. The value is the fully
+	    qualified classname of the listener class.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="local-homeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The local-homeType defines the fully-qualified
+	name of an enterprise bean's local home interface.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="localType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The localType defines the fully-qualified name of an
+	enterprise bean's local interface.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-destination-linkType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The message-destination-linkType is used to link a message
+	destination reference or message-driven bean to a message
+	destination.
+
+	The Assembler sets the value to reflect the flow of messages
+	between producers and consumers in the application.
+
+	The value must be the message-destination-name of a message
+	destination in the same Deployment File or in another
+	Deployment File in the same Java EE application unit.
+
+	Alternatively, the value may be composed of a path name
+	specifying a Deployment File containing the referenced
+	message destination with the message-destination-name of the
+	destination appended and separated from the path name by
+	"#". The path name is relative to the Deployment File
+	containing Deployment Component that is referencing the
+	message destination.  This allows multiple message
+	destinations with the same name to be uniquely identified.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-destination-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The message-destination-ref element contains a declaration
+	  of Deployment Component's reference to a message destination
+	  associated with a resource in Deployment Component's
+	  environment. It consists of:
+
+		  - an optional description
+		  - the message destination reference name
+		  - an optional message destination type
+		  - an optional specification as to whether
+		    the destination is used for
+		    consuming or producing messages, or both.
+		    if not specified, "both" is assumed.
+		  - an optional link to the message destination
+		  - optional injection targets
+
+	  The message destination type must be supplied unless an
+	  injection target is specified, in which case the type
+	  of the target is used.  If both are specified, the type
+	  must be assignment compatible with the type of the injection
+	  target.
+
+	  Examples:
+
+	  <message-destination-ref>
+		  <message-destination-ref-name>jms/StockQueue
+		  </message-destination-ref-name>
+		  <message-destination-type>javax.jms.Queue
+		  </message-destination-type>
+		  <message-destination-usage>Consumes
+		  </message-destination-usage>
+		  <message-destination-link>CorporateStocks
+		  </message-destination-link>
+	  </message-destination-ref>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="message-destination-ref-name"
+		   type="javaee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The message-destination-ref-name element specifies
+	    the name of a message destination reference; its
+	    value is the environment entry name used in
+	    Deployment Component code.  The name is a JNDI name
+	    relative to the java:comp/env context and must be
+	    unique within an ejb-jar (for enterprise beans) or a
+	    Deployment File (for others).
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="message-destination-type"
+		   type="javaee:message-destination-typeType"
+		   minOccurs="0"/>
+      <xsd:element name="message-destination-usage"
+		   type="javaee:message-destination-usageType"
+		   minOccurs="0"/>
+      <xsd:element name="message-destination-link"
+		   type="javaee:message-destination-linkType"
+		   minOccurs="0"/>
+
+      <xsd:group ref="javaee:resourceGroup"/>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-destination-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The message-destination-typeType specifies the type of
+	  the destination. The type is specified by the Java interface
+	  expected to be implemented by the destination.
+
+	  Example:
+
+	    <message-destination-type>javax.jms.Queue
+	    </message-destination-type>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-destination-usageType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The message-destination-usageType specifies the use of the
+	message destination indicated by the reference.  The value
+	indicates whether messages are consumed from the message
+	destination, produced for the destination, or both.  The
+	Assembler makes use of this information in linking producers
+	of a destination with its consumers.
+
+	The value of the message-destination-usage element must be
+	one of the following:
+	    Consumes
+	    Produces
+	    ConsumesProduces
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="Consumes"/>
+	<xsd:enumeration value="Produces"/>
+	<xsd:enumeration value="ConsumesProduces"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="message-destinationType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The message-destinationType specifies a message
+	  destination. The logical destination described by this
+	  element is mapped to a physical destination by the Deployer.
+
+	  The message destination element contains:
+
+		  - an optional description
+		  - an optional display-name
+		  - an optional icon
+		  - a message destination name which must be unique
+		    among message destination names within the same
+		    Deployment File.
+		  - an optional mapped name
+
+	  Example:
+
+	  <message-destination>
+		  <message-destination-name>CorporateStocks
+		  </message-destination-name>
+	  </message-destination>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="message-destination-name"
+		   type="javaee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The message-destination-name element specifies a
+	    name for a message destination.  This name must be
+	    unique among the names of message destinations
+	    within the Deployment File.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="mapped-name"
+		   type="javaee:xsdStringType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      A product specific name that this message destination
+	      should be mapped to.  Each message-destination-ref
+	      element that references this message destination will
+	      define a name in the namespace of the referencing
+	      component.  (It's a name in the JNDI java:comp/env
+	      namespace.)  Many application servers provide a way to
+	      map these local names to names of resources known to the
+	      application server.  This mapped name is often a global
+	      JNDI name, but may be a name of any form.  Each of the
+	      local names should be mapped to this same global name.
+
+	      Application servers are not required to support any
+	      particular form or type of mapped name, nor the ability
+	      to use mapped names.  The mapped name is
+	      product-dependent and often installation-dependent.  No
+	      use of a mapped name is portable.
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="param-valueType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type is a general type that can be used to declare
+	parameter/value lists.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="param-name"
+		   type="javaee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The param-name element contains the name of a
+	    parameter.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="param-value"
+		   type="javaee:xsdStringType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The param-value element contains the value of a
+	    parameter.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="pathType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The elements that use this type designate either a relative
+	path or an absolute path starting with a "/".
+
+	In elements that specify a pathname to a file within the
+	same Deployment File, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the Deployment File's namespace.  Absolute filenames (i.e.,
+	those starting with "/") also specify names in the root of
+	the Deployment File's namespace.  In general, relative names
+	are preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="persistence-context-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The persistence-context-ref element contains a declaration
+	  of Deployment Component's reference to a persistence context
+	  associated within a Deployment Component's
+	  environment. It consists of:
+
+		  - an optional description
+		  - the persistence context reference name
+		  - an optional persistence unit name.  If not specified,
+                    the default persistence unit is assumed.
+		  - an optional specification as to whether
+		    the persistence context type is Transaction or
+		    Extended.  If not specified, Transaction is assumed.
+                  - an optional list of persistence properties
+		  - optional injection targets
+
+	  Examples:
+
+            <persistence-context-ref>
+              <persistence-context-ref-name>myPersistenceContext
+              </persistence-context-ref-name>
+            </persistence-context-ref>
+
+            <persistence-context-ref>
+              <persistence-context-ref-name>myPersistenceContext
+                </persistence-context-ref-name>
+              <persistence-unit-name>PersistenceUnit1
+                </persistence-unit-name>
+              <persistence-context-type>Extended</persistence-context-type>
+            </persistence-context-ref>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="persistence-context-ref-name"
+		   type="javaee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The persistence-context-ref-name element specifies
+	    the name of a persistence context reference; its
+	    value is the environment entry name used in
+	    Deployment Component code.  The name is a JNDI name
+	    relative to the java:comp/env context.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="persistence-unit-name"
+		   type="javaee:string"
+		   minOccurs="0">
+        <xsd:annotation>
+	  <xsd:documentation>
+
+            The Application Assembler(or BeanProvider) may use the
+            following syntax to avoid the need to rename persistence
+            units to have unique names within a Java EE application.
+
+            The Application Assembler specifies the pathname of the
+            root of the persistence.xml file for the referenced
+            persistence unit and appends the name of the persistence
+            unit separated from the pathname by #. The pathname is
+            relative to the referencing application component jar file.
+            In this manner, multiple persistence units with the same
+            persistence unit name may be uniquely identified when the
+            Application Assembler cannot change persistence unit names.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="persistence-context-type"
+		   type="javaee:persistence-context-typeType"
+		   minOccurs="0"/>
+
+      <xsd:element name="persistence-property"
+		   type="javaee:propertyType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+        <xsd:annotation>
+	  <xsd:documentation>
+
+            Used to specify properties for the container or persistence
+            provider.  Vendor-specific properties may be included in
+            the set of properties.  Properties that are not recognized
+            by a vendor must be ignored.  Entries that make use of the
+            namespace javax.persistence and its subnamespaces must not
+            be used for vendor-specific properties.  The namespace
+            javax.persistence is reserved for use by the specification.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:group ref="javaee:resourceGroup"/>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="persistence-context-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The persistence-context-typeType specifies the transactional
+	nature of a persistence context reference.
+
+	The value of the persistence-context-type element must be
+	one of the following:
+	    Transaction
+            Extended
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="Transaction"/>
+	<xsd:enumeration value="Extended"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="persistence-unit-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The persistence-unit-ref element contains a declaration
+	  of Deployment Component's reference to a persistence unit
+	  associated within a Deployment Component's
+	  environment. It consists of:
+
+		  - an optional description
+		  - the persistence unit reference name
+		  - an optional persistence unit name.  If not specified,
+                    the default persistence unit is assumed.
+		  - optional injection targets
+
+	  Examples:
+
+            <persistence-unit-ref>
+              <persistence-unit-ref-name>myPersistenceUnit
+              </persistence-unit-ref-name>
+            </persistence-unit-ref>
+
+            <persistence-unit-ref>
+              <persistence-unit-ref-name>myPersistenceUnit
+                </persistence-unit-ref-name>
+              <persistence-unit-name>PersistenceUnit1
+                </persistence-unit-name>
+            </persistence-unit-ref>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="persistence-unit-ref-name"
+		   type="javaee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The persistence-unit-ref-name element specifies
+	    the name of a persistence unit reference; its
+	    value is the environment entry name used in
+	    Deployment Component code.  The name is a JNDI name
+	    relative to the java:comp/env context.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="persistence-unit-name"
+		   type="javaee:string"
+		   minOccurs="0">
+        <xsd:annotation>
+	  <xsd:documentation>
+
+            The Application Assembler(or BeanProvider) may use the
+            following syntax to avoid the need to rename persistence
+            units to have unique names within a Java EE application.
+
+            The Application Assembler specifies the pathname of the
+            root of the persistence.xml file for the referenced
+            persistence unit and appends the name of the persistence
+            unit separated from the pathname by #. The pathname is
+            relative to the referencing application component jar file.
+            In this manner, multiple persistence units with the same
+            persistence unit name may be uniquely identified when the
+            Application Assembler cannot change persistence unit names.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:group ref="javaee:resourceGroup"/>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="propertyType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Specifies a name/value pair.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="name"
+		   type="javaee:xsdStringType">
+      </xsd:element>
+      <xsd:element name="value"
+		   type="javaee:xsdStringType">
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="remoteType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The remote element contains the fully-qualified name
+	  of the enterprise bean's remote interface.
+
+	  Example:
+
+	      <remote>com.wombat.empl.EmployeeService</remote>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:fully-qualified-classType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="res-authType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The res-authType specifies whether the Deployment Component
+	code signs on programmatically to the resource manager, or
+	whether the Container will sign on to the resource manager
+	on behalf of the Deployment Component. In the latter case,
+	the Container uses information that is supplied by the
+	Deployer.
+
+	The value must be one of the two following:
+
+	    Application
+	    Container
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="Application"/>
+	<xsd:enumeration value="Container"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="res-sharing-scopeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The res-sharing-scope type specifies whether connections
+	obtained through the given resource manager connection
+	factory reference can be shared. The value, if specified,
+	must be one of the two following:
+
+	    Shareable
+	    Unshareable
+
+	The default value is Shareable.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="Shareable"/>
+	<xsd:enumeration value="Unshareable"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="resource-env-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The resource-env-refType is used to define
+	  resource-env-type elements.  It contains a declaration of a
+	  Deployment Component's reference to an administered object
+	  associated with a resource in the Deployment Component's
+	  environment.  It consists of an optional description, the
+	  resource environment reference name, and an optional
+	  indication of the resource environment reference type
+	  expected by the Deployment Component code.
+
+	  It also includes optional elements to define injection of
+	  the named resource into fields or JavaBeans properties.
+
+	  The resource environment type must be supplied unless an
+	  injection target is specified, in which case the type
+	  of the target is used.  If both are specified, the type
+	  must be assignment compatible with the type of the injection
+	  target.
+
+	  Example:
+
+	  <resource-env-ref>
+	      <resource-env-ref-name>jms/StockQueue
+	      </resource-env-ref-name>
+	      <resource-env-ref-type>javax.jms.Queue
+	      </resource-env-ref-type>
+	  </resource-env-ref>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="resource-env-ref-name"
+		   type="javaee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The resource-env-ref-name element specifies the name
+	    of a resource environment reference; its value is
+	    the environment entry name used in
+	    the Deployment Component code.  The name is a JNDI
+	    name relative to the java:comp/env context and must
+	    be unique within a Deployment Component.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="resource-env-ref-type"
+		   type="javaee:fully-qualified-classType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The resource-env-ref-type element specifies the type
+	    of a resource environment reference.  It is the
+	    fully qualified name of a Java language class or
+	    interface.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:group ref="javaee:resourceGroup"/>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="resource-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The resource-refType contains a declaration of a
+	  Deployment Component's reference to an external resource. It
+	  consists of an optional description, the resource manager
+	  connection factory reference name, an optional indication of
+	  the resource manager connection factory type expected by the
+	  Deployment Component code, an optional type of authentication
+	  (Application or Container), and an optional specification of
+	  the shareability of connections obtained from the resource
+	  (Shareable or Unshareable).
+
+	  It also includes optional elements to define injection of
+	  the named resource into fields or JavaBeans properties.
+
+	  The connection factory type must be supplied unless an
+	  injection target is specified, in which case the type
+	  of the target is used.  If both are specified, the type
+	  must be assignment compatible with the type of the injection
+	  target.
+
+	  Example:
+
+	  <resource-ref>
+	      <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
+	      <res-type>javax.sql.DataSource</res-type>
+	      <res-auth>Container</res-auth>
+	      <res-sharing-scope>Shareable</res-sharing-scope>
+	  </resource-ref>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="res-ref-name"
+		   type="javaee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The res-ref-name element specifies the name of a
+	    resource manager connection factory reference.
+	    The name is a JNDI name relative to the
+	    java:comp/env context.
+	    The name must be unique within a Deployment File.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="res-type"
+		   type="javaee:fully-qualified-classType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The res-type element specifies the type of the data
+	    source. The type is specified by the fully qualified
+	    Java language class or interface
+	    expected to be implemented by the data source.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="res-auth"
+		   type="javaee:res-authType"
+		   minOccurs="0"/>
+
+      <xsd:element name="res-sharing-scope"
+		   type="javaee:res-sharing-scopeType"
+		   minOccurs="0"/>
+
+      <xsd:group ref="javaee:resourceGroup"/>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:group name="resourceGroup">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This group collects elements that are common to all the
+	JNDI resource elements.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="mapped-name"
+		   type="javaee:xsdStringType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      A product specific name that this resource should be
+	      mapped to.  The name of this resource, as defined by the
+	      resource's name element or defaulted, is a name that is
+	      local to the application component using the resource.
+	      (It's a name in the JNDI java:comp/env namespace.)  Many
+	      application servers provide a way to map these local
+	      names to names of resources known to the application
+	      server.  This mapped name is often a global JNDI name,
+	      but may be a name of any form.
+
+	      Application servers are not required to support any
+	      particular form or type of mapped name, nor the ability
+	      to use mapped names.  The mapped name is
+	      product-dependent and often installation-dependent.  No
+	      use of a mapped name is portable.
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="injection-target"
+		   type="javaee:injection-targetType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:group>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="role-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The role-nameType designates the name of a security role.
+
+	The name must conform to the lexical rules for a token.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="run-asType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The run-asType specifies the run-as identity to be
+	used for the execution of a component. It contains an
+	optional description, and the name of a security role.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="role-name"
+		   type="javaee:role-nameType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="security-role-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The security-role-refType contains the declaration of a
+	security role reference in a component's or a
+	Deployment Component's code. The declaration consists of an
+	optional description, the security role name used in the
+	code, and an optional link to a security role. If the
+	security role is not specified, the Deployer must choose an
+	appropriate security role.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="role-name"
+		   type="javaee:role-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The value of the role-name element must be the String used
+	    as the parameter to the
+	    EJBContext.isCallerInRole(String roleName) method or the
+	    HttpServletRequest.isUserInRole(String role) method.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="role-link"
+		   type="javaee:role-nameType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The role-link element is a reference to a defined
+	    security role. The role-link element must contain
+	    the name of one of the security roles defined in the
+	    security-role elements.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="security-roleType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The security-roleType contains the definition of a security
+	  role. The definition consists of an optional description of
+	  the security role, and the security role name.
+
+	  Example:
+
+	      <security-role>
+	      <description>
+		  This role includes all employees who are authorized
+		  to access the employee service application.
+	      </description>
+	      <role-name>employee</role-name>
+	      </security-role>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="role-name"
+		   type="javaee:role-nameType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="string">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This is a special string datatype that is defined by Java EE as
+	a base type for defining collapsed strings. When schemas
+	require trailing/leading space elimination as well as
+	collapsing the existing whitespace, this base type may be
+	used.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:token">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="true-falseType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This simple type designates a boolean with only two
+	permissible values
+
+	- true
+	- false
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:xsdBooleanType">
+	<xsd:pattern value="(true|false)"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="url-patternType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The url-patternType contains the url pattern of the mapping.
+	It must follow the rules specified in Section 11.2 of the
+	Servlet API Specification. This pattern is assumed to be in
+	URL-decoded form and must not contain CR(#xD) or LF(#xA).
+	If it contains those characters, the container must inform
+	the developer with a descriptive error message.
+	The container must preserve all characters including whitespaces.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdAnyURIType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:anyURI.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:anyURI">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdBooleanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:boolean.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:boolean">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdIntegerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:integer.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:integer">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdNMTOKENType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:NMTOKEN.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:NMTOKEN">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdNonNegativeIntegerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:nonNegativeInteger.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:nonNegativeInteger">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdPositiveIntegerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:positiveInteger.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:positiveInteger">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdQNameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:QName.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:QName">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="xsdStringType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type adds an "id" attribute to xsd:string.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:extension base="xsd:string">
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:extension>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_web_services_1_2.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_web_services_1_2.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_web_services_1_2.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,747 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/javaee"
+	    xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="1.2">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)javaee_web_services_1_2.xsds	1.18 02/13/06
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003-2006 Sun Microsystems, Inc.
+      4150 Network Circle
+      Santa Clara, California 95054
+      U.S.A
+      All rights reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      (C) Copyright International Business Machines Corporation 2002
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	The webservices element is the root element for the web services
+	deployment descriptor.  It specifies the set of web service
+	descriptions that are to be deployed into the Java EE Application
+	Server and the dependencies they have on container resources and
+	services.  The deployment descriptor must be named
+	"META-INF/webservices.xml" in the web services' jar file.
+
+	Used in: webservices.xml
+
+	All webservices deployment descriptors must indicate the
+	webservices schema by using the Java EE namespace:
+
+	http://java.sun.com/xml/ns/javaee
+
+	and by indicating the version of the schema by using the version
+	element as shown below:
+
+	    <webservices xmlns="http://java.sun.com/xml/ns/javaee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+		http://java.sun.com/xml/ns/javaee/javaee_web_services_1_2.xsd"
+	      version="1.2">
+	      ...
+	    </webservices>
+
+	The instance documents may indicate the published version of the
+	schema using the xsi:schemaLocation attribute for the Java EE
+	namespace with the following location:
+
+	http://java.sun.com/xml/ns/javaee/javaee_web_services_1_2.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all Java EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="javaee_5.xsd"/>
+
+
+<!-- **************************************************** -->
+
+  <xsd:element name="webservices" type="javaee:webservicesType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The webservices element is the root element for the web services
+	deployment descriptor.  It specifies the set of web service
+	descriptions that are to be deployed into the Java EE Application Server
+	and the dependencies they have on container resources and services.
+
+	Used in: webservices.xml
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:key name="webservice-description-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The webservice-description-name identifies the collection of
+	  port-components associated with a WSDL file and JAX-RPC mapping. The
+	  name must be unique within the deployment descriptor.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:webservice-description"/>
+      <xsd:field xpath="javaee:webservice-description-name"/>
+    </xsd:key>
+  </xsd:element>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="handler-chainType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+      The handler-chain element defines the handlerchain.
+      Handlerchain can be defined such that the handlers in the
+      handlerchain operate,all ports of a service, on a specific
+      port or on a list of protocol-bindings. The choice of elements
+      service-name-pattern, port-name-pattern and protocol-bindings
+      are used to specify whether the handlers in handler-chain are
+      for a service, port or protocol binding. If none of these
+      choices are specified with the handler-chain element then the
+      handlers specified in the handler-chain will be applied on
+      everything.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+
+      <xsd:choice minOccurs="0" maxOccurs="1">
+         <xsd:element name="service-name-pattern"
+		      type="javaee:qname-pattern" />
+         <xsd:element name="port-name-pattern"
+		      type="javaee:qname-pattern" />
+         <xsd:element name="protocol-bindings"
+		      type="javaee:protocol-bindingListType"/>
+      </xsd:choice>
+
+      <xsd:element name="handler"
+                   type="javaee:port-component_handlerType"
+		   minOccurs="1" maxOccurs="unbounded"/>
+    </xsd:sequence>
+
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="handler-chainsType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+      The handler-chains element defines the handlerchains associated
+      with this service or service endpoint.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="handler-chain"
+                   type="javaee:handler-chainType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="port-componentType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The port-component element associates a WSDL port with a web service
+	interface and implementation.  It defines the name of the port as a
+	component, optional description, optional display name, optional iconic
+	representations, WSDL port QName, Service Endpoint Interface, Service
+	Implementation Bean.
+
+	This element also associates a WSDL service with a JAX-WS Provider
+	implementation.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="display-name"
+		   type="javaee:display-nameType"
+		   minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="icon"
+		   type="javaee:iconType"
+		   minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="port-component-name"
+		   type="javaee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The port-component-name element specifies a port component's
+	      name.  This name is assigned by the module producer to name
+	      the service implementation bean in the module's deployment
+	      descriptor. The name must be unique among the port component
+	      names defined in the same module.
+
+	      Used in: port-component
+
+	      Example:
+		      <port-component-name>EmployeeService
+		      </port-component-name>
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-service"
+		   type="javaee:xsdQNameType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines the name space and local name part of the WSDL
+	    service QName. This is required to be specified for
+	    port components that are JAX-WS Provider implementations.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-port"
+		   type="javaee:xsdQNameType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines the name space and local name part of the WSDL
+	    port QName. This is not required to be specified for port
+	    components that are JAX-WS Provider implementations
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="enable-mtom"
+                   type="javaee:true-falseType"
+		   minOccurs="0" maxOccurs="1">
+        <xsd:annotation>
+          <xsd:documentation>
+
+            Used to enable or disable SOAP MTOM/XOP mechanism for an
+            endpoint implementation.
+
+	    Not to be specified for JAX-RPC runtime
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+      <xsd:element name="protocol-binding"
+                   type="javaee:protocol-bindingType"
+		   minOccurs="0" maxOccurs="1">
+        <xsd:annotation>
+          <xsd:documentation>
+
+            Used to specify the protocol binding used by the port-component.
+	    If this element is not specified, then the default binding is
+            used (SOAP 1.1 over HTTP)
+
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="service-endpoint-interface"
+		   type="javaee:fully-qualified-classType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+	    <![CDATA[
+
+	      The service-endpoint-interface element contains the
+	      fully-qualified name of the port component's Service Endpoint
+	      Interface.
+
+	      Used in: port-component
+
+	      Example:
+		      <remote>com.wombat.empl.EmployeeService</remote>
+
+	      This may not be specified in case there is no Service
+	      Enpoint Interface as is the case with directly using an
+	      implementation class with the @WebService annotation.
+
+	      When the port component is a Provider implementation
+	      this is not specified.
+
+	      ]]>
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="service-impl-bean"
+		   type="javaee:service-impl-beanType"/>
+
+      <xsd:choice>
+	<xsd:element name="handler"
+		     type="javaee:port-component_handlerType"
+		     minOccurs="0" maxOccurs="unbounded">
+	  <xsd:annotation>
+	    <xsd:documentation>
+		 To be used with JAX-RPC based runtime only.
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+	<xsd:element name="handler-chains"
+		     type="javaee:handler-chainsType"
+		     minOccurs="0" maxOccurs="1">
+	  <xsd:annotation>
+	    <xsd:documentation>
+		 To be used with JAX-WS based runtime only.
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+      </xsd:choice>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="port-component_handlerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Declares the handler for a port-component. Handlers can access the
+	init-param name/value pairs using the HandlerInfo interface.
+
+	Used in: port-component
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="handler-name"
+		   type="javaee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines the name of the handler. The name must be unique within the
+	    module.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="handler-class"
+		   type="javaee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines a fully qualified class name for the handler implementation.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="init-param"
+		   type="javaee:param-valueType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+
+      <xsd:element name="soap-header"
+		   type="javaee:xsdQNameType"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines the QName of a SOAP header that will be processed by the
+	    handler.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="soap-role"
+		   type="javaee:string"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The soap-role element contains a SOAP actor definition that the
+	    Handler will play as a role.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="protocol-URIAliasType">
+     <xsd:annotation>
+        <xsd:documentation>
+	   Defines the type that is used for specifying tokens that
+	   start with ## which are used to alias existing standard
+	   protocol bindings and support aliases for new standard
+	   binding URIs that are introduced in future specifications.
+
+	   The following tokens alias the standard protocol binding
+	   URIs:
+
+	   ##SOAP11_HTTP = "http://schemas.xmlsoap.org/wsdl/soap/http"
+	   ##SOAP11_HTTP_MTOM =
+                 "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true"
+           ##SOAP12_HTTP = "http://www.w3.org/2003/05/soap/bindings/HTTP/"
+           ##SOAP12_HTTP_MTOM =
+		 "http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true"
+           ##XML_HTTP = "http://www.w3.org/2004/08/wsdl/http"
+
+        </xsd:documentation>
+     </xsd:annotation>
+     <xsd:restriction base="xsd:token">
+        <xsd:pattern value="##.+"/>
+     </xsd:restriction>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="protocol-bindingListType">
+     <xsd:annotation>
+        <xsd:documentation>
+	   Defines the type used for specifying a list of
+	   protocol-bindingType(s). For e.g.
+
+	    ##SOAP11_HTTP ##SOAP12_HTTP ##XML_HTTP
+
+        </xsd:documentation>
+     </xsd:annotation>
+     <xsd:list itemType="javaee:protocol-bindingType"/>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="protocol-bindingType">
+     <xsd:annotation>
+        <xsd:documentation>
+	   Defines the type used for specifying the URI for the
+	   protocol binding used by the port-component.  For
+	   portability one could use one of the following tokens that
+	   alias the standard binding types:
+
+	    ##SOAP11_HTTP
+	    ##SOAP11_HTTP_MTOM
+	    ##SOAP12_HTTP
+	    ##SOAP12_HTTP_MTOM
+	    ##XML_HTTP
+
+	   Other specifications could define tokens that start with ##
+	   to alias new standard binding URIs that are introduced.
+
+        </xsd:documentation>
+     </xsd:annotation>
+     <xsd:union memberTypes="xsd:anyURI javaee:protocol-URIAliasType"/>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="qname-pattern">
+     <xsd:annotation>
+        <xsd:documentation>
+	     This is used to specify the QName pattern in the
+	     attribute service-name-pattern and port-name-pattern in
+	     the handler-chain element
+
+	     For example, the various forms acceptable here for
+	     service-name-pattern attribute in handler-chain element
+	     are :
+
+	     Exact Name: service-name-pattern="ns1:EchoService"
+
+		 In this case, handlers specified in this
+		 handler-chain element will apply to all ports with
+		 this exact service name. The namespace prefix must
+		 have been declared in a namespace declaration
+		 attribute in either the start-tag of the element
+		 where the prefix is used or in an an ancestor
+		 element (i.e. an element in whose content the
+		 prefixed markup occurs)
+
+	     Pattern : service-name-pattern="ns1:EchoService*"
+
+		 In this case, handlers specified in this
+		 handler-chain element will apply to all ports whose
+		 Service names are like EchoService1, EchoServiceFoo
+		 etc. The namespace prefix must have been declared in
+		 a namespace declaration attribute in either the
+		 start-tag of the element where the prefix is used or
+		 in an an ancestor element (i.e. an element in whose
+		 content the prefixed markup occurs)
+
+	     Wild Card : service-name-pattern="*"
+
+		In this case, handlers specified in this handler-chain
+		element will apply to ports of all service names.
+
+	    The same can be applied to port-name attribute in
+	    handler-chain element.
+
+        </xsd:documentation>
+     </xsd:annotation>
+
+     <xsd:restriction base="xsd:token">
+        <xsd:pattern value="\*|([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*\*?"/>
+     </xsd:restriction>
+
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="service-impl-beanType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The service-impl-bean element defines the web service implementation.
+	A service implementation can be an EJB bean class or JAX-RPC web
+	component.  Existing EJB implementations are exposed as a web service
+	using an ejb-link.
+
+	Used in: port-component
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:choice>
+      <xsd:element name="ejb-link"
+		   type="javaee:ejb-linkType"/>
+      <xsd:element name="servlet-link"
+		   type="javaee:servlet-linkType"/>
+    </xsd:choice>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="servlet-linkType">
+    <xsd:annotation>
+      <xsd:documentation>
+	<![CDATA[
+
+	  The servlet-link element is used in the service-impl-bean element
+	  to specify that a Service Implementation Bean is defined as a
+	  JAX-RPC Service Endpoint.
+
+	  The value of the servlet-link element must be the servlet-name of
+	  a JAX-RPC Service Endpoint in the same WAR file.
+
+	  Used in: service-impl-bean
+
+	  Example:
+		  <servlet-link>StockQuoteService</servlet-link>
+
+	  ]]>
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="webservice-descriptionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The webservice-description element defines a WSDL document file
+	and the set of Port components associated with the WSDL ports
+	defined in the WSDL document.  There may be multiple
+	webservice-descriptions defined within a module.
+
+	All WSDL file ports must have a corresponding port-component element
+	defined.
+
+	Used in: webservices
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="display-name"
+		   type="javaee:display-nameType"
+		   minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="icon"
+		   type="javaee:iconType"
+		   minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="webservice-description-name"
+		   type="javaee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The webservice-description-name identifies the collection of
+	    port-components associated with a WSDL file and JAX-RPC
+	    mapping. The name must be unique within the deployment descriptor.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="wsdl-file"
+		   type="javaee:pathType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The wsdl-file element contains the name of a WSDL file in the
+	    module.  The file name is a relative path within the module.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="jaxrpc-mapping-file"
+		   type="javaee:pathType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The jaxrpc-mapping-file element contains the name of a file that
+	    describes the JAX-RPC mapping between the Java interaces used by
+	    the application and the WSDL description in the wsdl-file.  The
+	    file name is a relative path within the module.
+
+	    This is not required when JAX-WS based runtime is used.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="port-component"
+		   type="javaee:port-componentType"
+		   minOccurs="1" maxOccurs="unbounded">
+	<xsd:key name="port-component_handler-name-key">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      Defines the name of the handler. The name must be unique
+	      within the module.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:handler"/>
+	  <xsd:field xpath="javaee:handler-name"/>
+	</xsd:key>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="webservicesType">
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="webservice-description"
+		   type="javaee:webservice-descriptionType"
+		   minOccurs="1" maxOccurs="unbounded">
+	<xsd:key name="port-component-name-key">
+	  <xsd:annotation>
+	    <xsd:documentation>
+	      <![CDATA[
+
+		The port-component-name element specifies a port
+		component's name.  This name is assigned by the module
+		producer to name the service implementation bean in the
+		module's deployment descriptor. The name must be unique
+		among the port component names defined in the same module.
+
+		Used in: port-component
+
+		Example:
+			<port-component-name>EmployeeService
+			</port-component-name>
+
+		]]>
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:port-component"/>
+	  <xsd:field xpath="javaee:port-component-name"/>
+	</xsd:key>
+      </xsd:element>
+    </xsd:sequence>
+
+    <xsd:attribute name="version"
+		   type="javaee:dewey-versionType"
+		   fixed="1.2"
+		   use="required">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The required value for the version is 1.2.
+
+	</xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_web_services_client_1_2.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_web_services_client_1_2.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/javaee_web_services_client_1_2.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,578 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/javaee"
+	    xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="1.2">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)javaee_web_services_client_1_2.xsds	1.19 02/13/06
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003-2006 Sun Microsystems, Inc.
+      4150 Network Circle
+      Santa Clara, California 95054
+      U.S.A
+      All rights reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      (C) Copyright International Business Machines Corporation 2002
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="port-component-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The port-component-ref element declares a client dependency
+	on the container for resolving a Service Endpoint Interface
+	to a WSDL port. It optionally associates the Service Endpoint
+	Interface with a particular port-component. This is only used
+	by the container for a Service.getPort(Class) method call.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="service-endpoint-interface"
+		   type="javaee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-endpoint-interface element defines a fully qualified
+	    Java class that represents the Service Endpoint Interface of a
+	    WSDL port.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="enable-mtom"
+                   type="javaee:true-falseType"
+		   minOccurs="0" maxOccurs="1">
+        <xsd:annotation>
+          <xsd:documentation>
+
+            Used to enable or disable SOAP MTOM/XOP mechanism on the client
+	    side for a port-component.
+
+	    Not to be specified for JAX-RPC runtime
+          </xsd:documentation>
+        </xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="port-component-link"
+		   type="javaee:string"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The port-component-link element links a port-component-ref
+	    to a specific port-component required to be made available
+	    by a service reference.
+
+	    The value of a port-component-link must be the
+	    port-component-name of a port-component in the same module
+	    or another module in the same application unit. The syntax
+	    for specification follows the syntax defined for ejb-link
+	    in the EJB 2.0 specification.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:group name="service-refGroup">
+    <xsd:sequence>
+      <xsd:element name="service-ref"
+		   type="javaee:service-refType"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:key name="service-ref_handler-name-key">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      Defines the name of the handler. The name must be unique
+	      within the module.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	  <xsd:selector xpath="javaee:handler"/>
+	  <xsd:field xpath="javaee:handler-name"/>
+	</xsd:key>
+      </xsd:element>
+    </xsd:sequence>
+  </xsd:group>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="service-refType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The service-ref element declares a reference to a Web
+	service. It contains optional description, display name and
+	icons, a declaration of the required Service interface,
+	an optional WSDL document location, an optional set
+	of JAX-RPC mappings, an optional QName for the service element,
+	an optional set of Service Endpoint Interfaces to be resolved
+	by the container to a WSDL port, and an optional set of handlers.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="service-ref-name"
+		   type="javaee:jndi-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-ref-name element declares logical name that the
+	    components in the module use to look up the Web service. It
+	    is recommended that all service reference names start with
+	    "service/".
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="service-interface"
+		   type="javaee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-interface element declares the fully qualified class
+	    name of the JAX-RPC Service interface the client depends on.
+	    In most cases the value will be javax.xml.rpc.Service.  A JAX-RPC
+	    generated Service Interface class may also be specified.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="service-ref-type"
+		   type="javaee:fully-qualified-classType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-ref-type element declares the type of the service-ref
+	    element that is injected or returned when a JNDI lookup is done.
+	    This must be either a fully qualified name of Service class or
+	    the fully qualified name of service endpoint interface class.
+	    This is only used with JAX-WS runtime where the corresponding
+	    @WebServiceRef annotation can be used to denote both a Service
+	    or a Port.
+
+	    If this is not specified, then the type of service-ref element
+	    that is injected or returned when a JNDI lookup is done is
+	    always a Service interface/class.
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="wsdl-file"
+		   type="javaee:xsdAnyURIType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The wsdl-file element contains the URI location of a WSDL
+	    file. The location is relative to the root of the module.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="jaxrpc-mapping-file"
+		   type="javaee:pathType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The jaxrpc-mapping-file element contains the name of a file that
+	    describes the JAX-RPC mapping between the Java interaces used by
+	    the application and the WSDL description in the wsdl-file.  The
+	    file name is a relative path within the module file.
+
+	    This is not required when JAX-WS based runtime is used.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="service-qname"
+		   type="javaee:xsdQNameType"
+		   minOccurs="0" maxOccurs="1">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The service-qname element declares the specific WSDL service
+	    element that is being refered to.  It is not specified if no
+	    wsdl-file is declared.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="port-component-ref"
+		   type="javaee:port-component-refType"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The port-component-ref element declares a client dependency
+	    on the container for resolving a Service Endpoint Interface
+	    to a WSDL port. It optionally associates the Service Endpoint
+	    Interface with a particular port-component. This is only used
+	    by the container for a Service.getPort(Class) method call.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:choice>
+	  <xsd:element name="handler"
+		       type="javaee:service-ref_handlerType"
+		       minOccurs="0" maxOccurs="unbounded">
+	    <xsd:annotation>
+	      <xsd:documentation>
+
+		Declares the handler for a port-component. Handlers can
+		access the init-param name/value pairs using the
+		HandlerInfo interface. If port-name is not specified, the
+		handler is assumed to be associated with all ports of the
+		service.
+
+		To be used with JAX-RPC based runtime only.
+
+	      </xsd:documentation>
+	    </xsd:annotation>
+	  </xsd:element>
+	  <xsd:element name="handler-chains"
+		       type="javaee:service-ref_handler-chainsType"
+		       minOccurs="0" maxOccurs="1">
+	    <xsd:annotation>
+	      <xsd:documentation>
+		 To be used with JAX-WS based runtime only.
+	      </xsd:documentation>
+	    </xsd:annotation>
+	  </xsd:element>
+      </xsd:choice>
+
+      <xsd:group ref="javaee:resourceGroup"/>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="service-ref_handler-chainType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+      The handler-chain element defines the handlerchain.
+      Handlerchain can be defined such that the handlers in the
+      handlerchain operate,all ports of a service, on a specific
+      port or on a list of protocol-bindings. The choice of elements
+      service-name-pattern, port-name-pattern and protocol-bindings
+      are used to specify whether the handlers in handler-chain are
+      for a service, port or protocol binding. If none of these
+      choices are specified with the handler-chain element then the
+      handlers specified in the handler-chain will be applied on
+      everything.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+
+      <xsd:choice minOccurs="0" maxOccurs="1">
+         <xsd:element name="service-name-pattern"
+		      type="javaee:service-ref_qname-pattern" />
+         <xsd:element name="port-name-pattern"
+	              type="javaee:service-ref_qname-pattern" />
+         <xsd:element name="protocol-bindings"
+	              type="javaee:service-ref_protocol-bindingListType"/>
+      </xsd:choice>
+
+      <xsd:element name="handler"
+                   type="javaee:service-ref_handlerType"
+		   minOccurs="1" maxOccurs="unbounded"/>
+    </xsd:sequence>
+
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="service-ref_handler-chainsType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+      The handler-chains element defines the handlerchains associated with this
+      service or service endpoint.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="handler-chain"
+                   type="javaee:service-ref_handler-chainType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="service-ref_handlerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Declares the handler for a port-component. Handlers can access the
+	init-param name/value pairs using the HandlerInfo interface. If
+	port-name is not specified, the handler is assumed to be associated
+	with all ports of the service.
+
+	Used in: service-ref
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="handler-name"
+		   type="javaee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines the name of the handler. The name must be unique
+	    within the module.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="handler-class"
+		   type="javaee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines a fully qualified class name for the handler
+	    implementation.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="init-param"
+		   type="javaee:param-valueType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+
+      <xsd:element name="soap-header"
+		   type="javaee:xsdQNameType"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines the QName of a SOAP header that will be processed
+	    by the handler.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="soap-role"
+		   type="javaee:string"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The soap-role element contains a SOAP actor definition that
+	    the Handler will play as a role.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="port-name"
+		   type="javaee:string"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The port-name element defines the WSDL port-name that a
+	    handler should be associated with.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="service-ref_protocol-URIAliasType">
+     <xsd:annotation>
+        <xsd:documentation>
+	   Defines the type that is used for specifying tokens that
+	   start with ## which are used to alias existing standard
+	   protocol bindings and support aliases for new standard
+	   binding URIs that are introduced in future specifications.
+
+	   The following tokens alias the standard protocol binding
+	   URIs:
+
+	   ##SOAP11_HTTP = "http://schemas.xmlsoap.org/wsdl/soap/http"
+	   ##SOAP11_HTTP_MTOM =
+                 "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true"
+           ##SOAP12_HTTP = "http://www.w3.org/2003/05/soap/bindings/HTTP/"
+           ##SOAP12_HTTP_MTOM =
+                 "http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true"
+           ##XML_HTTP = "http://www.w3.org/2004/08/wsdl/http"
+
+        </xsd:documentation>
+     </xsd:annotation>
+     <xsd:restriction base="xsd:token">
+        <xsd:pattern value="##.+"/>
+     </xsd:restriction>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="service-ref_protocol-bindingListType">
+     <xsd:annotation>
+        <xsd:documentation>
+	   Defines the type used for specifying a list of
+	   protocol-bindingType(s). For e.g.
+
+	    ##SOAP11_HTTP ##SOAP12_HTTP ##XML_HTTP
+
+        </xsd:documentation>
+     </xsd:annotation>
+     <xsd:list itemType="javaee:service-ref_protocol-bindingType"/>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="service-ref_protocol-bindingType">
+     <xsd:annotation>
+        <xsd:documentation>
+	   Defines the type used for specifying the URI for the
+	   protocol binding used by the port-component.  For
+	   portability one could use one of the following tokens that
+	   alias the standard binding types:
+
+	    ##SOAP11_HTTP
+	    ##SOAP11_HTTP_MTOM
+            ##SOAP12_HTTP
+            ##SOAP12_HTTP_MTOM
+            ##XML_HTTP
+
+	   Other specifications could define tokens that start with ##
+	   to alias new standard binding URIs that are introduced.
+
+        </xsd:documentation>
+     </xsd:annotation>
+     <xsd:union memberTypes="xsd:anyURI javaee:service-ref_protocol-URIAliasType"/>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="service-ref_qname-pattern">
+     <xsd:annotation>
+        <xsd:documentation>
+	     This is used to specify the QName pattern in the
+	     attribute service-name-pattern and port-name-pattern in
+	     the handler-chain element
+
+	     For example, the various forms acceptable here for
+	     service-name-pattern attribute in handler-chain element
+	     are :
+
+	     Exact Name: service-name-pattern="ns1:EchoService"
+
+		 In this case, handlers specified in this
+		 handler-chain element will apply to all ports with
+		 this exact service name. The namespace prefix must
+		 have been declared in a namespace declaration
+		 attribute in either the start-tag of the element
+		 where the prefix is used or in an an ancestor
+		 element (i.e. an element in whose content the
+		 prefixed markup occurs)
+
+	     Pattern : service-name-pattern="ns1:EchoService*"
+
+		 In this case, handlers specified in this
+		 handler-chain element will apply to all ports whose
+		 Service names are like EchoService1, EchoServiceFoo
+		 etc. The namespace prefix must have been declared in
+		 a namespace declaration attribute in either the
+		 start-tag of the element where the prefix is used or
+		 in an an ancestor element (i.e. an element in whose
+		 content the prefixed markup occurs)
+
+	     Wild Card : service-name-pattern="*"
+
+		In this case, handlers specified in this handler-chain
+		element will apply to ports of all service names.
+
+	    The same can be applied to port-name attribute in
+	    handler-chain element.
+
+        </xsd:documentation>
+     </xsd:annotation>
+
+     <xsd:restriction base="xsd:token">
+        <xsd:pattern value="\*|([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*\*?"/>
+     </xsd:restriction>
+
+  </xsd:simpleType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jbxb_1_0.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jbxb_1_0.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jbxb_1_0.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,425 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema version="1.0beta"
+   attributeFormDefault="unqualified"
+   elementFormDefault="qualified"
+   xmlns:jbxb="http://www.jboss.org/xml/ns/jbxb"
+   xmlns:xs="http://www.w3.org/2001/XMLSchema">
+    <xs:annotation>
+        <xs:documentation>The JBossXB schema customization
+        elements</xs:documentation>
+    </xs:annotation>
+    <xs:element name="schemaBindings">
+        <xs:annotation>
+            <xs:documentation>This element defines default bindings for the
+                schema</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <!-- The child elements can be selected in any order. -->
+            <xs:choice maxOccurs="unbounded" minOccurs="1">
+                <xs:element maxOccurs="1" minOccurs="0" ref="jbxb:package"/>
+
+               <xs:element name="ignoreUnresolvedFieldOrClass" type="xs:boolean" default="true"
+                  maxOccurs="1" minOccurs="0">
+                  <xs:annotation>
+                     <xs:documentation>The ignoreUnresolvedFieldOrClass specifies the behavior the parser chooses
+                        when a field is not found in the parent class for a child value, or when an element does not have
+                        any class assignement. If false, an exception will be thrown when either situation is encountered.
+                        If true, the missing mapping is ignored and the parse continues.
+                        </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+
+               <xs:element name="replacePropertyRefs" type="xs:boolean" default="true"
+                  maxOccurs="1" minOccurs="0">
+                  <xs:annotation>
+                     <xs:documentation>The replacePropertyRefs flag indicates whether the
+                        text content of values has ${x} system property references replaced
+                        during parsing. The default is true.
+                        </xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:choice>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="package" type="xs:NCName">
+        <xs:annotation>
+            <xs:documentation> Defines the default package for the schema which
+                is used for searching classes when unmarshalling elements of
+                complex types. If jbxb:package is not present, schema's
+                namespace URI will be used as the base to generate the default
+                package name for the schema (the mapping is defined in JAXB2.0
+                spec D.5.1 Mapping from a Namespace URI). Example: <![CDATA[
+                   <xsd:annotation>
+                      <xsd:appinfo>
+                         <jbxb:schema>
+                            <jbxb:package name="org.jboss.test.xml.pojoserver.metadata"/>
+                         </jbxb:schema>
+                      </xsd:appinfo>
+                   </xsd:annotation>
+                ]]></xs:documentation>
+        </xs:annotation>
+    </xs:element>
+    <xs:element name="characters">
+        <xs:annotation>
+            <xs:documentation> Binds text content of complex types. This element
+                is just a container for jbxb:value, jbxb:property,
+                jbxb:mapEntryKey, jbxb:mapEntryValue elements, all of them are
+                optional. This element can only appear inside complex type
+                definitions. Example: <![CDATA[
+                   <xsd:complexType name="namedValueType" mixed="true">
+                      <xsd:annotation>
+                         <xsd:appinfo>
+                            <jbxb:class impl="org.jboss.test.xml.pojoserver.metadata.AbstractPropertyMetaData"/>
+                            <jbxb:characters>
+                               <jbxb:property name="value"/>
+                               <jbxb:value unmarshalMethod="org.jboss.test.xml.pojoserver.metadata.DataTypeConverter.unmarshalStringValue"/>
+                            </jbxb:characters>
+                         </xsd:appinfo>
+                      </xsd:annotation>
+                  <xsd:complexContent>
+                  ...
+                  </xsd:complexContent>
+               </xsd:complexType>
+                ]]></xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:choice>
+                <xs:element ref="jbxb:property"/>
+                <xs:element ref="jbxb:value"/>
+                <xs:element ref="jbxb:mapEntryKey"/>
+                <xs:element ref="jbxb:mapEntryValue"/>
+            </xs:choice>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="class" type="xs:NCName">
+        <xs:annotation>
+            <xs:documentation> Binds XML element or complex type to a Java class
+                which is specified as a value of attribute 'impl'. If jbxb:class
+                is used inside complex type definition, all elements of this
+                complex type will be unmarshalled into the specified Java type
+                unless there is overriding jbxb:class in an element declaration.
+                Example: <![CDATA[
+               <xsd:complexType name="deploymentType">
+                  <xsd:annotation>
+                     <xsd:appinfo>
+                        <jbxb:class impl="org.jboss.test.xml.pojoserver.deployment.AbstractKernelDeployment"/>
+                     </xsd:appinfo>
+                  </xsd:annotation>
+                  <xsd:sequence>
+                     ...
+                  </xsd:sequence>
+               </xsd:complexType>
+            
+               <xsd:element name="list" type="listType">
+                  <xsd:annotation>
+                     <xsd:appinfo>
+                        <jbxb:class impl="org.jboss.test.xml.pojoserver.metadata.AbstractListMetaData"/>
+                     </xsd:appinfo>
+                  </xsd:annotation>
+               </xsd:element>
+                ]]></xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attribute name="impl" type="xs:NCName" use="required"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="property">
+        <xs:annotation>
+            <xs:documentation> Binds an element to property/field in a class.
+                This element can appear inside an element definition or inside
+                jbxb:characters. If jbxb:property is not specified for an
+                element, the property name is resolved based on the element's
+                name using "D.2 The Name to Identifier Mapping Algorithm"
+                defined in JAXB2.0 spec. Example: <![CDATA[
+   <xsd:element name="list" type="listType">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:property name="value"/>
+            <jbxb:class impl="org.jboss.test.xml.pojoserver.metadata.AbstractListMetaData"/>
+         </xsd:appinfo>
+      </xsd:annotation>
+   </xsd:element>
+                ]]></xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attribute name="name" type="xs:NCName" use="required"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="value">
+        <xs:annotation>
+            <xs:documentation> Binds text value (attribute value or text
+                content) to a Java value. There are two attributes:
+                unmarshalMethod which specfies a public static method that is
+                used to unmarshal text values and marshalMethod which also a
+                public static method that is used to marshal Java values. Both
+                methods are defined as concatenation of fully-qualified class
+                name, '.' and the method name. unmarshalMethod must have two
+                parameters: the first one of type java.lang.String and the
+                second one is of type javax.xml.namespace.NamespaceContext.
+                marshalMethod must also have two parameters: the first one is of
+                type java.lang.Object and the second one is of type
+                javax.xml.namespace.NamespaceContext. jbxb:value can appear
+                inside simple type definitions, attribute declarations and
+                jbxb:characters. If jbxb:value is not used, text values are
+                unmarshalled using default simple types to Java bindings
+                defained in JAXB2.0 spec. If simple type is a user-defined, by
+                default it is not unmarshalled and passed as a string. Example: <![CDATA[
+                <xsd:simpleType name="kernelControllerState">
+                    <xsd:annotation>
+                        <xsd:appinfo>
+                            <jbxb:value unmarshalMethod="org.jboss.test.xml.pojoserver.metadata.KernelControllerStateDatatypeConverter.unmarshal"/>
+                        </xsd:appinfo>
+                    </xsd:annotation>
+                    <xsd:restriction base="xsd:string">
+                        <xsd:enumeration value="Not Installed" />
+                        <xsd:enumeration value="Described" />
+                        <xsd:enumeration value="Instantiated" />
+                        <xsd:enumeration value="Configured" />
+                        <xsd:enumeration value="Lifecycle" />
+                        <xsd:enumeration value="Started" />
+                        <xsd:enumeration value="Installed" />
+                    </xsd:restriction>
+                </xsd:simpleType>
+
+                public class KernelControllerStateDatatypeConverter
+                {
+                    public static KernelControllerState unmarshal(String text, NamespaceContext nsCtx)
+                    {
+                        KernelControllerState state;
+                        if(KernelControllerState.NOT_INSTALLED.getStateString().equals(text))
+                        {
+                           state = KernelControllerState.NOT_INSTALLED;
+                        }
+                        else
+                        ...
+                ]]></xs:documentation>
+        </xs:annotation>
+    </xs:element>
+    <xs:element name="addMethod">
+        <xs:annotation>
+            <xs:documentation> Specified on an element that should be added to
+                its parent not with a setter (is not a property) and not with a
+                field but with a custom method. The attributes are: * name - the
+                name of the method. There is not default value for this
+                attribute. It must be set. * valueType - the type of the
+                argument. If not present, the default is java.lang.Object. And
+                there is a special value 'child' which means the type of the
+                child should be used as the argument's type. Example: <![CDATA[
+              <xs:element name="user">
+                <xsd:annotation>
+                  <xsd:appinfo>
+                    <jbxb:class impl="org.jboss.test.xml.mbeanserver.Users$User"/>
+                    <jbxb:addMethod name="addUser" valueType="child"/>
+                  </xsd:appinfo>
+                </xsd:annotation>
+                <xs:complexType>
+                  <xs:sequence>
+                    <xs:element minOccurs="0" maxOccurs="unbounded" ref="ur:role"/>
+                  </xs:sequence>
+                  <xs:attribute name="name" use="required" type="xs:NCName"/>
+                  <xs:attribute name="password" use="required" type="xs:NCName"/>
+                </xs:complexType>
+              </xs:element> 
+                ]]></xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attribute name="name" type="xs:NCName" use="required">
+                <xs:annotation>
+                    <xs:documentation>This required attribute specifies the name
+                        of the add method</xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute default="java.lang.Object" name="valueType"
+                type="xs:NCName" use="optional">
+                <xs:annotation>
+                    <xs:documentation> the type of the add method argument. If
+                        not present, the default is java.lang.Object. And there
+                        is a special value 'child' which means the type of the
+                        child should be used as the argument's type.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="putMethod">
+        <xs:annotation>
+            <xs:documentation/>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attribute default="put" name="name" type="xs:NCName"
+                use="optional">
+                <xs:annotation>
+                    <xs:documentation> the method name in the parent object's
+                        class that adds child to to its parent object. If not
+                        present, the default is 'put'. </xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute default="java.lang.Object" name="keyType"
+                type="xs:NCName" use="optional">
+                <xs:annotation>
+                    <xs:documentation> fully qualified type name of the
+                        key-parameter to the put-method. If not present, the
+                        default is java.lang.Object. </xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute default="java.lang.Object" name="valueType"
+                type="xs:NCName" use="optional">
+                <xs:annotation>
+                    <xs:documentation>fully qualified type name of the
+                        value-parameter to the put-method. If not present, the
+                        default is java.lang.Object. </xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="mapEntry">
+        <xs:annotation>
+            <xs:documentation> Specified on an element or a complex type
+                definition that is bound to a map entry. jbxb:class and
+                jbxb:mapEntry are mutually exclusive, meanning an element or a
+                complex type cannot be annotated with both jbxb:class and
+                jbxb:mapEntry at the same time. Otherwise, it will result in an
+                exception during binding. </xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:attribute name="impl" type="xs:NCName" use="optional">
+                <xs:annotation>
+                    <xs:documentation>an optional element that specifies a fully
+                        qualified name of the class that will represent map
+                        entry. If absent, a special class will be used by the
+                        framework internally.</xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute default="getKey" name="getKeyMethod" type="xs:NCName"
+                use="optional">
+                <xs:annotation>
+                    <xs:documentation>an optional attribute that specifies the
+                        name of the method that is used to get the key out of
+                        the object that represents a map
+                    entry.</xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute default="setKey" name="setKeyMethod" type="xs:NCName"
+                use="optional">
+                <xs:annotation>
+                    <xs:documentation>an optional attribute that specifies the
+                        name of the method that is used to set the key value on
+                        the object that represents a map
+                    entry.</xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute default="getValue" name="getValueMethod"
+                type="xs:NCName" use="optional">
+                <xs:annotation>
+                    <xs:documentation>an optional element that specifies the
+                        name of the method that is used to get the value out of
+                        the object that represents a map entry. If absent and
+                        impl attribute is absent too, the default value is
+                        "getValue". If absent and impl attribute is present, the
+                        value will be the object that reprents the map entry
+                        itself.</xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute default="setValue" name="setValueMethod"
+                type="xs:NCName" use="optional">
+                <xs:annotation>
+                    <xs:documentation>an optional element that specifies the
+                        name of the method that is used to set the value on the
+                        object that represents a map entry.</xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute name="valueType" type="xs:NCName" use="optional">
+                <xs:annotation>
+                    <xs:documentation>an optional attribute that specifies the
+                        type of the map entry value. Used when map entry value
+                        should be a parent for element/type's
+                    content.</xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute default="false" name="nonNullValue" type="xs:boolean"
+                use="optional">
+                <xs:annotation>
+                    <xs:documentation>If true, when a map entry is created, a
+                        non-null map entry value will also be created and set on
+                        the map entry. Otherwise, a map entry object is created
+                        with null value and the value will be created and set
+                        later when it is actually parsed. This attribute is used
+                        in combination with valueType.</xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="mapEntryKey">
+        <xs:annotation>
+            <xs:documentation>This element is a marker element that has no
+                attributes. It is specified on an element, attribute or inside
+                jbxb:characters to specify that the element, attribute or
+                characters should be used as the key in map
+            entry.</xs:documentation>
+        </xs:annotation>
+    </xs:element>
+    <xs:element name="mapEntryValue">
+        <xs:annotation>
+            <xs:documentation>This element is a marker element that has no
+                attributes. It is specified on an element, attribute or inside
+                jbxb:characters to specify that the element, attribute or
+                characters should be used as the value in map entry. Example:<![CDATA[
+         <xsd:element name="entry1">
+            <xsd:annotation>
+               <xsd:appinfo>
+                  <putMethod/>
+               </xsd:appinfo>
+            </xsd:annotation>
+            <xsd:complexType>
+               <xsd:annotation>
+                  <xsd:appinfo>
+                     <jbxb:mapEntry/>
+                  </xsd:appinfo>
+               </xsd:annotation>
+               <xsd:sequence>
+                  <xsd:element name="key1" type="xsd:string">
+                     <xsd:annotation>
+                        <xsd:appinfo>
+                           <jbxb:mapEntryKey/>
+                        </xsd:appinfo>
+                     </xsd:annotation>
+                  </xsd:element>
+                  <xsd:element name="value1" type="xsd:string">
+                     <xsd:annotation>
+                        <xsd:appinfo>
+                           <jbxb:mapEntryValue/>
+                        </xsd:appinfo>
+                     </xsd:annotation>
+                  </xsd:element>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+                ]]></xs:documentation>
+        </xs:annotation>
+    </xs:element>
+    <xs:element name="skip">
+        <xs:annotation>
+            <xs:documentation>This element can be used on an element declaration
+                or a complex type definition. Unmarshaller will not try to
+                create new objects for elements (or elements of complex types)
+                that are annotated with jbxb:skip. Instead, the object that was
+                created for the parent of such elements will be propagated and
+                values of attributes, character contents and child elements of
+                such elements will be set on their parent's
+            object. Example:<![CDATA[
+              <xs:element name="authentication">
+                <xsd:annotation>
+                   <xsd:appinfo>
+                      <jbxb:skip/>
+                   </xsd:appinfo>
+                </xsd:annotation>
+                <xs:complexType>
+                  <xs:sequence>
+                    <xs:element ref="jaas:login-module"/>
+                  </xs:sequence>
+                </xs:complexType>
+              </xs:element>
+                ]]>In the example above, login-modules will be added to the parent of authentication element.</xs:documentation>
+        </xs:annotation>
+    </xs:element>
+</xs:schema>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jndi-binding-service_1_0.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jndi-binding-service_1_0.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jndi-binding-service_1_0.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema version="1.0beta" attributeFormDefault="unqualified"
+   elementFormDefault="qualified"
+   targetNamespace="urn:jboss:jndi-binding-service:1.0"
+   xmlns:jndi="urn:jboss:jndi-binding-service:1.0"
+   xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:jbxb="http://www.jboss.org/xml/ns/jbxb"
+   >
+   <xs:annotation>
+      <xs:documentation>This schema defines the content model for the
+         JNDIBindingService BindingsConfig attribute content.<![CDATA[
+	    <jndi:bindings xmlns:jndi="urn:jboss:jndi-binding-service"
+	      version="1.0">
+	      ...
+	    </jndi:bindings>
+         ]]></xs:documentation>
+      <xs:appinfo>
+         <jbxb:schemaBindings>
+            <jbxb:ignoreUnresolvedFieldOrClass>false</jbxb:ignoreUnresolvedFieldOrClass>
+            <jbxb:replacePropertyRefs>true</jbxb:replacePropertyRefs>
+         </jbxb:schemaBindings>
+      </xs:appinfo>
+   </xs:annotation>
+   <xs:element name="bindings">
+      <xs:annotation>
+         <xs:appinfo>
+            <jbxb:class impl="org.jboss.naming.JNDIBindings"/>
+         </xs:appinfo>
+      </xs:annotation>
+      <xs:complexType>
+         <xs:sequence>
+            <xs:element name="binding" minOccurs="1"
+               maxOccurs="unbounded">
+               <xs:annotation>
+                  <xs:appinfo>
+                     <jbxb:class impl="org.jboss.naming.JNDIBinding"/>
+                     <jbxb:property name="Bindings" />
+                  </xs:appinfo>
+               </xs:annotation>
+               <xs:complexType>
+                  <xs:choice minOccurs="1" maxOccurs="1">
+                     <xs:element name="value">
+                        <xs:annotation>
+                           <xs:appinfo>
+                              <jbxb:skip/>
+                           </xs:appinfo>
+                        </xs:annotation>
+                        <xs:complexType>
+                           <xs:annotation>
+                              <xs:appinfo>
+                                 <jbxb:characters>
+                                    <jbxb:property name="text"/>
+                                 </jbxb:characters>
+                              </xs:appinfo>
+                           </xs:annotation>
+                           <xs:simpleContent>
+                              <xs:extension base="xs:string">
+                                 <xs:attribute name="type" type="xs:string" use="optional">
+                                 </xs:attribute>
+                                 <xs:attribute name="editor" type="xs:string" use="optional">
+                                 </xs:attribute>
+                                 <xs:attribute name="trim" type="xs:boolean" default="true">
+                                 </xs:attribute>
+                              </xs:extension>
+                           </xs:simpleContent>
+                        </xs:complexType>
+                     </xs:element>
+                     <xs:any namespace="##other">
+                        <xs:annotation>
+                           <xs:documentation>An extension point for arbitrary xml value fragments</xs:documentation>
+                           <xs:appinfo>
+                              <jbxb:property name="value"/>
+                           </xs:appinfo>
+                        </xs:annotation>
+                     </xs:any>
+                  </xs:choice>
+                  <xs:attribute name="name" type="xs:string" use="required">
+                     <xs:annotation>
+                        <xs:documentation>The JNDI name of the binding</xs:documentation>
+                     </xs:annotation>
+                  </xs:attribute>
+               </xs:complexType>
+            </xs:element>
+         </xs:sequence>
+      </xs:complexType>
+   </xs:element>
+</xs:schema>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jsp_2_0.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jsp_2_0.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jsp_2_0.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,307 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="2.0">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)jsp_2_0.xsds	1.17 03/18/03
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2002 Sun Microsystems, Inc., 901 San Antonio
+      Road, Palo Alto, California 94303, U.S.A. All rights
+      reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      This is the XML Schema for the JSP 2.0 deployment descriptor
+      types.  The JSP 2.0 schema contains all the special
+      structures and datatypes that are necessary to use JSP files
+      from a web application.
+
+      The contents of this schema is used by the web-app_2_4.xsd
+      file to define JSP specific content.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all J2EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
+
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="jsp-configType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The jsp-configType is used to provide global configuration
+	information for the JSP files in a web application. It has
+	two subelements, taglib and jsp-property-group.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="taglib"
+		   type="j2ee:taglibType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="jsp-property-group"
+		   type="j2ee:jsp-property-groupType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="jsp-fileType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The jsp-file element contains the full path to a JSP file
+	within the web application beginning with a `/'.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:pathType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="jsp-property-groupType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The jsp-property-groupType is used to group a number of
+	files so they can be given global property information.
+	All files so described are deemed to be JSP files.  The
+	following additional properties can be described:
+
+	    - Control whether EL is ignored
+	    - Control whether scripting elements are invalid
+	    - Indicate pageEncoding information.
+	    - Indicate that a resource is a JSP document (XML)
+	    - Prelude and Coda automatic includes.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="url-pattern"
+		   type="j2ee:url-patternType"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="el-ignored"
+		   type="j2ee:true-falseType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Can be used to easily set the isELIgnored
+	    property of a group of JSP pages.  By default, the
+	    EL evaluation is enabled for Web Applications using
+	    a Servlet 2.4 or greater web.xml, and disabled
+	    otherwise.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="page-encoding"
+		   type="j2ee:string"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The valid values of page-encoding are those of the
+	    pageEncoding page directive.  It is a
+	    translation-time error to name different encodings
+	    in the pageEncoding attribute of the page directive
+	    of a JSP page and in a JSP configuration element
+	    matching the page.  It is also a translation-time
+	    error to name different encodings in the prolog
+	    or text declaration of a document in XML syntax and
+	    in a JSP configuration element matching the document.
+	    It is legal to name the same encoding through
+	    mulitple mechanisms.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="scripting-invalid"
+		   type="j2ee:true-falseType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Can be used to easily disable scripting in a
+	    group of JSP pages.  By default, scripting is
+	    enabled.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="is-xml"
+		   type="j2ee:true-falseType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    If true, denotes that the group of resources
+	    that match the URL pattern are JSP documents,
+	    and thus must be interpreted as XML documents.
+	    If false, the resources are assumed to not
+	    be JSP documents, unless there is another
+	    property group that indicates otherwise.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="include-prelude"
+		   type="j2ee:pathType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The include-prelude element is a context-relative
+	    path that must correspond to an element in the
+	    Web Application.  When the element is present,
+	    the given path will be automatically included (as
+	    in an include directive) at the beginning of each
+	    JSP page in this jsp-property-group.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="include-coda"
+		   type="j2ee:pathType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The include-coda element is a context-relative
+	    path that must correspond to an element in the
+	    Web Application.  When the element is present,
+	    the given path will be automatically included (as
+	    in an include directive) at the end of each
+	    JSP page in this jsp-property-group.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="taglibType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The taglibType defines the syntax for declaring in
+	the deployment descriptor that a tag library is
+	available to the application.  This can be done
+	to override implicit map entries from TLD files and
+	from the container.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="taglib-uri"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    A taglib-uri element describes a URI identifying a
+	    tag library used in the web application.  The body
+	    of the taglib-uri element may be either an
+	    absolute URI specification, or a relative URI.
+	    There should be no entries in web.xml with the
+	    same taglib-uri value.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="taglib-location"
+		   type="j2ee:pathType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    the taglib-location element contains the location
+	    (as a resource relative to the root of the web
+	    application) where to find the Tag Library
+	    Description file for the tag library.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jsp_2_1.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jsp_2_1.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/jsp_2_1.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,342 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/javaee"
+	    xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="2.1">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)jsp_2_1.xsds	1.5 08/11/05
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003-2006 Sun Microsystems, Inc.
+      4150 Network Circle
+      Santa Clara, California 95054
+      U.S.A
+      All rights reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      This is the XML Schema for the JSP 2.1 deployment descriptor
+      types.  The JSP 2.1 schema contains all the special
+      structures and datatypes that are necessary to use JSP files
+      from a web application.
+
+      The contents of this schema is used by the web-app_2_5.xsd
+      file to define JSP specific content.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all Java EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="javaee_5.xsd"/>
+
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="jsp-configType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The jsp-configType is used to provide global configuration
+	information for the JSP files in a web application. It has
+	two subelements, taglib and jsp-property-group.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="taglib"
+		   type="javaee:taglibType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="jsp-property-group"
+		   type="javaee:jsp-property-groupType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="jsp-fileType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The jsp-file element contains the full path to a JSP file
+	within the web application beginning with a `/'.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:pathType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="jsp-property-groupType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The jsp-property-groupType is used to group a number of
+	files so they can be given global property information.
+	All files so described are deemed to be JSP files.  The
+	following additional properties can be described:
+
+	    - Control whether EL is ignored.
+	    - Control whether scripting elements are invalid.
+	    - Indicate pageEncoding information.
+	    - Indicate that a resource is a JSP document (XML).
+	    - Prelude and Coda automatic includes.
+            - Control whether the character sequence #{ is allowed
+              when used as a String literal.
+            - Control whether template text containing only
+              whitespaces must be removed from the response output.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="url-pattern"
+		   type="javaee:url-patternType"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="el-ignored"
+		   type="javaee:true-falseType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Can be used to easily set the isELIgnored
+	    property of a group of JSP pages.  By default, the
+	    EL evaluation is enabled for Web Applications using
+	    a Servlet 2.4 or greater web.xml, and disabled
+	    otherwise.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="page-encoding"
+		   type="javaee:string"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The valid values of page-encoding are those of the
+	    pageEncoding page directive.  It is a
+	    translation-time error to name different encodings
+	    in the pageEncoding attribute of the page directive
+	    of a JSP page and in a JSP configuration element
+	    matching the page.  It is also a translation-time
+	    error to name different encodings in the prolog
+	    or text declaration of a document in XML syntax and
+	    in a JSP configuration element matching the document.
+	    It is legal to name the same encoding through
+	    mulitple mechanisms.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="scripting-invalid"
+		   type="javaee:true-falseType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Can be used to easily disable scripting in a
+	    group of JSP pages.  By default, scripting is
+	    enabled.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="is-xml"
+		   type="javaee:true-falseType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    If true, denotes that the group of resources
+	    that match the URL pattern are JSP documents,
+	    and thus must be interpreted as XML documents.
+	    If false, the resources are assumed to not
+	    be JSP documents, unless there is another
+	    property group that indicates otherwise.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="include-prelude"
+		   type="javaee:pathType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The include-prelude element is a context-relative
+	    path that must correspond to an element in the
+	    Web Application.  When the element is present,
+	    the given path will be automatically included (as
+	    in an include directive) at the beginning of each
+	    JSP page in this jsp-property-group.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="include-coda"
+		   type="javaee:pathType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The include-coda element is a context-relative
+	    path that must correspond to an element in the
+	    Web Application.  When the element is present,
+	    the given path will be automatically included (as
+	    in an include directive) at the end of each
+	    JSP page in this jsp-property-group.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="deferred-syntax-allowed-as-literal"
+		   type="javaee:true-falseType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+             The character sequence #{ is reserved for EL expressions.
+             Consequently, a translation error occurs if the #{
+             character sequence is used as a String literal, unless
+             this element is enabled (true). Disabled (false) by
+             default.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="trim-directive-whitespaces"
+		   type="javaee:true-falseType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+             Indicates that template text containing only whitespaces
+             must be removed from the response output. It has no
+             effect on JSP documents (XML syntax). Disabled (false)
+             by default.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="taglibType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The taglibType defines the syntax for declaring in
+	the deployment descriptor that a tag library is
+	available to the application.  This can be done
+	to override implicit map entries from TLD files and
+	from the container.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="taglib-uri"
+		   type="javaee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    A taglib-uri element describes a URI identifying a
+	    tag library used in the web application.  The body
+	    of the taglib-uri element may be either an
+	    absolute URI specification, or a relative URI.
+	    There should be no entries in web.xml with the
+	    same taglib-uri value.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="taglib-location"
+		   type="javaee:pathType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    the taglib-location element contains the location
+	    (as a resource relative to the root of the web
+	    application) where to find the Tag Library
+	    Description file for the tag library.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/orm_1_0.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/orm_1_0.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/orm_1_0.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1516 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Java Persistence API object-relational mapping file schema -->
+<xsd:schema targetNamespace="http://java.sun.com/xml/ns/persistence/orm" 
+  xmlns:orm="http://java.sun.com/xml/ns/persistence/orm" 
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+  elementFormDefault="qualified" 
+  attributeFormDefault="unqualified" 
+  version="1.0">
+
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)orm_1_0.xsd 1.0  Feb 14 2006
+    </xsd:documentation>
+  </xsd:annotation>
+  <xsd:annotation>
+     <xsd:documentation><![CDATA[
+
+       This is the XML Schema for the persistence object-relational 
+       mapping file.
+       The file may be named "META-INF/orm.xml" in the persistence 
+       archive or it may be named some other name which would be 
+       used to locate the file as resource on the classpath.
+
+     ]]></xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:complexType name="emptyType"/>
+
+  <xsd:simpleType name="versionType">
+    <xsd:restriction base="xsd:token">
+      <xsd:pattern value="[0-9]+(\.[0-9]+)*"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:element name="entity-mappings">
+    <xsd:complexType>
+      <xsd:annotation>
+        <xsd:documentation>
+
+        The entity-mappings element is the root element of an mapping
+        file. It contains the following four types of elements:
+
+        1. The persistence-unit-metadata element contains metadata
+        for the entire persistence unit. It is undefined if this element
+        occurs in multiple mapping files within the same persistence unit.
+        
+        2. The package, schema, catalog and access elements apply to all of
+        the entity, mapped-superclass and embeddable elements defined in
+        the same file in which they occur.
+
+        3. The sequence-generator, table-generator, named-query,
+        named-native-query and sql-result-set-mapping elements are global
+        to the persistence unit. It is undefined to have more than one
+        sequence-generator or table-generator of the same name in the same
+        or different mapping files in a persistence unit. It is also 
+        undefined to have more than one named-query or named-native-query
+        of the same name in the same or different mapping files in a 
+        persistence unit.
+
+        4. The entity, mapped-superclass and embeddable elements each define
+        the mapping information for a managed persistent class. The mapping
+        information contained in these elements may be complete or it may
+        be partial.
+
+        </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+        <xsd:element name="description" type="xsd:string"
+                     minOccurs="0"/>
+        <xsd:element name="persistence-unit-metadata" 
+                     type="orm:persistence-unit-metadata"
+                     minOccurs="0"/>
+        <xsd:element name="package" type="xsd:string"
+                     minOccurs="0"/>
+        <xsd:element name="schema" type="xsd:string"
+                     minOccurs="0"/>
+        <xsd:element name="catalog" type="xsd:string"
+                     minOccurs="0"/>
+        <xsd:element name="access" type="orm:access-type"
+                     minOccurs="0"/>
+        <xsd:element name="sequence-generator" type="orm:sequence-generator"
+                     minOccurs="0" maxOccurs="unbounded"/>
+        <xsd:element name="table-generator" type="orm:table-generator" 
+                     minOccurs="0" maxOccurs="unbounded"/>
+        <xsd:element name="named-query" type="orm:named-query" 
+                     minOccurs="0" maxOccurs="unbounded"/>
+        <xsd:element name="named-native-query" type="orm:named-native-query"
+                     minOccurs="0" maxOccurs="unbounded"/>
+        <xsd:element name="sql-result-set-mapping" 
+                     type="orm:sql-result-set-mapping" 
+                     minOccurs="0" maxOccurs="unbounded"/>
+        <xsd:element name="mapped-superclass" type="orm:mapped-superclass" 
+                     minOccurs="0" maxOccurs="unbounded"/>
+        <xsd:element name="entity" type="orm:entity" 
+                     minOccurs="0" maxOccurs="unbounded"/>
+        <xsd:element name="embeddable" type="orm:embeddable" 
+                     minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+      <xsd:attribute name="version" type="orm:versionType" 
+                     fixed="1.0" use="required"/>
+    </xsd:complexType>
+  </xsd:element>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="persistence-unit-metadata">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        Metadata that applies to the persistence unit and not just to 
+        the mapping file in which it is contained. 
+
+        If the xml-mapping-metadata-complete element is specified then 
+        the complete set of mapping metadata for the persistence unit 
+        is contained in the XML mapping files for the persistence unit.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="xml-mapping-metadata-complete" type="orm:emptyType"
+                   minOccurs="0"/>
+      <xsd:element name="persistence-unit-defaults" 
+                   type="orm:persistence-unit-defaults"
+                   minOccurs="0"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="persistence-unit-defaults">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        These defaults are applied to the persistence unit as a whole 
+        unless they are overridden by local annotation or XML 
+        element settings. 
+        
+        schema - Used as the schema for all tables or secondary tables
+            that apply to the persistence unit
+        catalog - Used as the catalog for all tables or secondary tables
+            that apply to the persistence unit
+        access - Used as the access type for all managed classes in
+            the persistence unit
+        cascade-persist - Adds cascade-persist to the set of cascade options
+            in entity relationships of the persistence unit
+        entity-listeners - List of default entity listeners to be invoked 
+            on each entity in the persistence unit. 
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+        <xsd:element name="schema" type="xsd:string"
+                     minOccurs="0"/>
+        <xsd:element name="catalog" type="xsd:string"
+                     minOccurs="0"/>
+        <xsd:element name="access" type="orm:access-type"
+                     minOccurs="0"/>
+        <xsd:element name="cascade-persist" type="orm:emptyType" 
+                     minOccurs="0"/>
+        <xsd:element name="entity-listeners" type="orm:entity-listeners"
+                     minOccurs="0"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="entity">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        Defines the settings and mappings for an entity. Is allowed to be
+        sparsely populated and used in conjunction with the annotations.
+        Alternatively, the metadata-complete attribute can be used to 
+        indicate that no annotations on the entity class (and its fields
+        or properties) are to be processed. If this is the case then 
+        the defaulting rules for the entity and its subelements will 
+        be recursively applied.
+
+        @Target(TYPE) @Retention(RUNTIME)
+          public @interface Entity {
+          String name() default "";
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description" type="xsd:string" minOccurs="0"/>
+      <xsd:element name="table" type="orm:table" 
+                   minOccurs="0"/>
+      <xsd:element name="secondary-table" type="orm:secondary-table" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="primary-key-join-column" 
+                   type="orm:primary-key-join-column" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="id-class" type="orm:id-class" minOccurs="0"/>
+      <xsd:element name="inheritance" type="orm:inheritance" minOccurs="0"/>
+      <xsd:element name="discriminator-value" type="orm:discriminator-value" 
+                   minOccurs="0"/>
+      <xsd:element name="discriminator-column" 
+                   type="orm:discriminator-column" 
+                   minOccurs="0"/>
+      <xsd:element name="sequence-generator" type="orm:sequence-generator" 
+                   minOccurs="0"/>
+      <xsd:element name="table-generator" type="orm:table-generator" 
+                   minOccurs="0"/>
+      <xsd:element name="named-query" type="orm:named-query" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="named-native-query" type="orm:named-native-query" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="sql-result-set-mapping" 
+                   type="orm:sql-result-set-mapping" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="exclude-default-listeners" type="orm:emptyType" 
+                   minOccurs="0"/>
+      <xsd:element name="exclude-superclass-listeners" type="orm:emptyType" 
+                   minOccurs="0"/>
+      <xsd:element name="entity-listeners" type="orm:entity-listeners" 
+                   minOccurs="0"/>
+      <xsd:element name="pre-persist" type="orm:pre-persist" minOccurs="0"/>
+      <xsd:element name="post-persist" type="orm:post-persist" 
+                   minOccurs="0"/>
+      <xsd:element name="pre-remove" type="orm:pre-remove" minOccurs="0"/>
+      <xsd:element name="post-remove" type="orm:post-remove" minOccurs="0"/>
+      <xsd:element name="pre-update" type="orm:pre-update" minOccurs="0"/>
+      <xsd:element name="post-update" type="orm:post-update" minOccurs="0"/>
+      <xsd:element name="post-load" type="orm:post-load" minOccurs="0"/>
+      <xsd:element name="attribute-override" type="orm:attribute-override" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="association-override" 
+                   type="orm:association-override"
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="attributes" type="orm:attributes" minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string"/>
+    <xsd:attribute name="class" type="xsd:string" use="required"/>
+    <xsd:attribute name="access" type="orm:access-type"/>
+    <xsd:attribute name="metadata-complete" type="xsd:boolean"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="attributes">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        This element contains the entity field or property mappings.
+        It may be sparsely populated to include only a subset of the
+        fields or properties. If metadata-complete for the entity is true
+        then the remainder of the attributes will be defaulted according
+        to the default rules.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:choice>
+        <xsd:element name="id" type="orm:id" 
+                     minOccurs="0" maxOccurs="unbounded"/>
+        <xsd:element name="embedded-id" type="orm:embedded-id" 
+                     minOccurs="0"/>
+      </xsd:choice>
+      <xsd:element name="basic" type="orm:basic"
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="version" type="orm:version"
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="many-to-one" type="orm:many-to-one"
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="one-to-many" type="orm:one-to-many"
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="one-to-one" type="orm:one-to-one"
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="many-to-many" type="orm:many-to-many" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="embedded" type="orm:embedded"
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="transient" type="orm:transient"
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="access-type">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        This element determines how the persistence provider accesses the
+        state of an entity or embedded object.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="xsd:token">
+      <xsd:enumeration value="PROPERTY"/>
+      <xsd:enumeration value="FIELD"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="entity-listeners">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE}) @Retention(RUNTIME)
+        public @interface EntityListeners {
+          Class[] value();
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="entity-listener" type="orm:entity-listener" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="entity-listener">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        Defines an entity listener to be invoked at lifecycle events
+        for the entities that list this listener.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="pre-persist" type="orm:pre-persist" minOccurs="0"/>
+      <xsd:element name="post-persist" type="orm:post-persist" 
+                   minOccurs="0"/>
+      <xsd:element name="pre-remove" type="orm:pre-remove" minOccurs="0"/>
+      <xsd:element name="post-remove" type="orm:post-remove" minOccurs="0"/>
+      <xsd:element name="pre-update" type="orm:pre-update" minOccurs="0"/>
+      <xsd:element name="post-update" type="orm:post-update" minOccurs="0"/>
+      <xsd:element name="post-load" type="orm:post-load" minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="class" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="pre-persist">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD}) @Retention(RUNTIME)
+        public @interface PrePersist {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="method-name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="post-persist">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD}) @Retention(RUNTIME)
+        public @interface PostPersist {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="method-name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="pre-remove">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD}) @Retention(RUNTIME)
+        public @interface PreRemove {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="method-name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="post-remove">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD}) @Retention(RUNTIME)
+        public @interface PostRemove {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="method-name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="pre-update">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD}) @Retention(RUNTIME)
+        public @interface PreUpdate {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="method-name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="post-update">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD}) @Retention(RUNTIME)
+        public @interface PostUpdate {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="method-name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="post-load">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD}) @Retention(RUNTIME)
+        public @interface PostLoad {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="method-name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="query-hint">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({}) @Retention(RUNTIME) 
+        public @interface QueryHint {
+          String name();
+          String value();
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+    <xsd:attribute name="value" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="named-query">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE}) @Retention(RUNTIME)
+        public @interface NamedQuery {
+          String name();
+          String query();
+          QueryHint[] hints() default {};
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="query" type="xsd:string"/>
+      <xsd:element name="hint" type="orm:query-hint" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="named-native-query">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE}) @Retention(RUNTIME)
+        public @interface NamedNativeQuery {
+          String name();
+          String query();
+          QueryHint[] hints() default {};
+          Class resultClass() default void.class;
+          String resultSetMapping() default ""; //named SqlResultSetMapping
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="query" type="xsd:string"/>
+      <xsd:element name="hint" type="orm:query-hint" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+    <xsd:attribute name="result-class" type="xsd:string"/>
+    <xsd:attribute name="result-set-mapping" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="sql-result-set-mapping">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE}) @Retention(RUNTIME)
+        public @interface SqlResultSetMapping {
+          String name();
+          EntityResult[] entities() default {};
+          ColumnResult[] columns() default {};
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="entity-result" type="orm:entity-result" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="column-result" type="orm:column-result" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="entity-result">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({}) @Retention(RUNTIME)
+        public @interface EntityResult {
+          Class entityClass();
+          FieldResult[] fields() default {};
+          String discriminatorColumn() default "";
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="field-result" type="orm:field-result" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="entity-class" type="xsd:string" use="required"/>
+    <xsd:attribute name="discriminator-column" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="field-result">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({}) @Retention(RUNTIME)
+        public @interface FieldResult {
+          String name();
+          String column();
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+    <xsd:attribute name="column" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="column-result">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({}) @Retention(RUNTIME)
+        public @interface ColumnResult {
+          String name();
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="table">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE}) @Retention(RUNTIME)
+        public @interface Table {
+          String name() default "";
+          String catalog() default "";
+          String schema() default "";
+          UniqueConstraint[] uniqueConstraints() default {};
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="unique-constraint" type="orm:unique-constraint" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string"/>
+    <xsd:attribute name="catalog" type="xsd:string"/>
+    <xsd:attribute name="schema" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="secondary-table">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE}) @Retention(RUNTIME)
+        public @interface SecondaryTable {
+          String name();
+          String catalog() default "";
+          String schema() default "";
+          PrimaryKeyJoinColumn[] pkJoinColumns() default {};
+          UniqueConstraint[] uniqueConstraints() default {};
+         }
+
+       </xsd:documentation>
+     </xsd:annotation>
+     <xsd:sequence>
+       <xsd:element name="primary-key-join-column" 
+                    type="orm:primary-key-join-column" 
+                    minOccurs="0" maxOccurs="unbounded"/>
+       <xsd:element name="unique-constraint" type="orm:unique-constraint" 
+                    minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+    <xsd:attribute name="catalog" type="xsd:string"/>
+    <xsd:attribute name="schema" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="unique-constraint">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({}) @Retention(RUNTIME)
+        public @interface UniqueConstraint {
+          String[] columnNames();
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="column-name" type="xsd:string" 
+                   maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="column">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface Column {
+          String name() default "";
+          boolean unique() default false;
+          boolean nullable() default true;
+          boolean insertable() default true;
+          boolean updatable() default true;
+          String columnDefinition() default "";
+          String table() default "";
+          int length() default 255;
+          int precision() default 0; // decimal precision
+          int scale() default 0; // decimal scale
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="name" type="xsd:string"/>
+    <xsd:attribute name="unique" type="xsd:boolean"/>
+    <xsd:attribute name="nullable" type="xsd:boolean"/>
+    <xsd:attribute name="insertable" type="xsd:boolean"/>
+    <xsd:attribute name="updatable" type="xsd:boolean"/>
+    <xsd:attribute name="column-definition" type="xsd:string"/>
+    <xsd:attribute name="table" type="xsd:string"/>
+    <xsd:attribute name="length" type="xsd:int"/>
+    <xsd:attribute name="precision" type="xsd:int"/>
+    <xsd:attribute name="scale" type="xsd:int"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="join-column">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface JoinColumn {
+          String name() default "";
+          String referencedColumnName() default "";
+          boolean unique() default false;
+          boolean nullable() default true;
+          boolean insertable() default true;
+          boolean updatable() default true;
+          String columnDefinition() default "";
+          String table() default "";
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="name" type="xsd:string"/>
+    <xsd:attribute name="referenced-column-name" type="xsd:string"/>
+    <xsd:attribute name="unique" type="xsd:boolean"/>
+    <xsd:attribute name="nullable" type="xsd:boolean"/>
+    <xsd:attribute name="insertable" type="xsd:boolean"/>
+    <xsd:attribute name="updatable" type="xsd:boolean"/>
+    <xsd:attribute name="column-definition" type="xsd:string"/>
+    <xsd:attribute name="table" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="generation-type">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        public enum GenerationType { TABLE, SEQUENCE, IDENTITY, AUTO };
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="xsd:token">
+      <xsd:enumeration value="TABLE"/>
+      <xsd:enumeration value="SEQUENCE"/>
+      <xsd:enumeration value="IDENTITY"/>
+      <xsd:enumeration value="AUTO"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="attribute-override">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface AttributeOverride {
+          String name();
+          Column column();
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="column" type="orm:column"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="association-override">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface AssociationOverride {
+          String name();
+          JoinColumn[] joinColumns();
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="join-column" type="orm:join-column"
+                   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="id-class">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE}) @Retention(RUNTIME)
+        public @interface IdClass {
+          Class value();
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="class" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="id">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface Id {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="column" type="orm:column" 
+                   minOccurs="0"/>
+      <xsd:element name="generated-value" type="orm:generated-value"
+                   minOccurs="0"/>
+      <xsd:element name="temporal" type="orm:temporal" 
+                   minOccurs="0"/>
+      <xsd:element name="table-generator" type="orm:table-generator" 
+                   minOccurs="0"/>
+      <xsd:element name="sequence-generator" type="orm:sequence-generator"
+                   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="embedded-id">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface EmbeddedId {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="attribute-override" type="orm:attribute-override" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="transient">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface Transient {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="version">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface Version {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="column" type="orm:column" minOccurs="0"/>
+      <xsd:element name="temporal" type="orm:temporal" minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="basic">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface Basic {
+          FetchType fetch() default EAGER;
+          boolean optional() default true;
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="column" type="orm:column" minOccurs="0"/>
+      <xsd:choice>
+        <xsd:element name="lob" type="orm:lob" minOccurs="0"/>
+        <xsd:element name="temporal" type="orm:temporal" minOccurs="0"/>
+        <xsd:element name="enumerated" type="orm:enumerated" minOccurs="0"/>
+      </xsd:choice>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+    <xsd:attribute name="fetch" type="orm:fetch-type"/>
+    <xsd:attribute name="optional" type="xsd:boolean"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="fetch-type">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        public enum FetchType { LAZY, EAGER };
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="xsd:token">
+      <xsd:enumeration value="LAZY"/>
+      <xsd:enumeration value="EAGER"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="lob">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface Lob {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="temporal">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface Temporal {
+          TemporalType value();
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="orm:temporal-type"/>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="temporal-type">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        public enum TemporalType {
+          DATE, // java.sql.Date
+          TIME, // java.sql.Time
+          TIMESTAMP // java.sql.Timestamp
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+      <xsd:restriction base="xsd:token">
+        <xsd:enumeration value="DATE"/>
+        <xsd:enumeration value="TIME"/>
+        <xsd:enumeration value="TIMESTAMP"/>
+     </xsd:restriction>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="enumerated">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface Enumerated {
+          EnumType value() default ORDINAL;
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="orm:enum-type"/>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="enum-type">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        public enum EnumType {
+          ORDINAL,
+          STRING
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="xsd:token">
+      <xsd:enumeration value="ORDINAL"/>
+      <xsd:enumeration value="STRING"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="many-to-one">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface ManyToOne {
+          Class targetEntity() default void.class;
+          CascadeType[] cascade() default {};
+          FetchType fetch() default EAGER;
+          boolean optional() default true;
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:choice>       
+        <xsd:element name="join-column" type="orm:join-column" 
+                     minOccurs="0" maxOccurs="unbounded"/>
+        <xsd:element name="join-table" type="orm:join-table" 
+                     minOccurs="0"/>
+      </xsd:choice>       
+      <xsd:element name="cascade" type="orm:cascade-type" 
+                   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+    <xsd:attribute name="target-entity" type="xsd:string"/>
+    <xsd:attribute name="fetch" type="orm:fetch-type"/>
+    <xsd:attribute name="optional" type="xsd:boolean"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="cascade-type">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        public enum CascadeType { ALL, PERSIST, MERGE, REMOVE, REFRESH};
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="cascade-all" type="orm:emptyType"
+                   minOccurs="0"/>
+      <xsd:element name="cascade-persist" type="orm:emptyType"
+                   minOccurs="0"/>
+      <xsd:element name="cascade-merge" type="orm:emptyType"
+                   minOccurs="0"/>
+      <xsd:element name="cascade-remove" type="orm:emptyType"
+                   minOccurs="0"/>
+      <xsd:element name="cascade-refresh" type="orm:emptyType"
+                   minOccurs="0"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="one-to-one">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface OneToOne {
+          Class targetEntity() default void.class;
+          CascadeType[] cascade() default {};
+          FetchType fetch() default EAGER;
+          boolean optional() default true;
+          String mappedBy() default "";
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:choice>
+        <xsd:element name="primary-key-join-column" 
+                     type="orm:primary-key-join-column" 
+                     minOccurs="0" maxOccurs="unbounded"/>
+        <xsd:element name="join-column" type="orm:join-column" 
+                     minOccurs="0" maxOccurs="unbounded"/>
+        <xsd:element name="join-table" type="orm:join-table" 
+                     minOccurs="0"/>
+      </xsd:choice>
+      <xsd:element name="cascade" type="orm:cascade-type" 
+                   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+    <xsd:attribute name="target-entity" type="xsd:string"/>
+    <xsd:attribute name="fetch" type="orm:fetch-type"/>
+    <xsd:attribute name="optional" type="xsd:boolean"/>
+    <xsd:attribute name="mapped-by" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="one-to-many">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface OneToMany {
+          Class targetEntity() default void.class;
+          CascadeType[] cascade() default {};
+          FetchType fetch() default LAZY;
+          String mappedBy() default "";
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="order-by" type="orm:order-by" 
+                   minOccurs="0"/>
+      <xsd:element name="map-key" type="orm:map-key" 
+                   minOccurs="0"/>
+      <xsd:choice>       
+        <xsd:element name="join-table" type="orm:join-table" 
+                     minOccurs="0"/>
+        <xsd:element name="join-column" type="orm:join-column" 
+                     minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:choice>       
+      <xsd:element name="cascade" type="orm:cascade-type" 
+                   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+    <xsd:attribute name="target-entity" type="xsd:string"/>
+    <xsd:attribute name="fetch" type="orm:fetch-type"/>
+    <xsd:attribute name="mapped-by" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="join-table">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface JoinTable {
+          String name() default "";
+          String catalog() default "";
+          String schema() default "";
+          JoinColumn[] joinColumns() default {};
+          JoinColumn[] inverseJoinColumns() default {};
+          UniqueConstraint[] uniqueConstraints() default {};
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="join-column" type="orm:join-column" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="inverse-join-column" type="orm:join-column" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="unique-constraint" type="orm:unique-constraint" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string"/>
+    <xsd:attribute name="catalog" type="xsd:string"/>
+    <xsd:attribute name="schema" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="many-to-many">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface ManyToMany {
+          Class targetEntity() default void.class;
+          CascadeType[] cascade() default {};
+          FetchType fetch() default LAZY;
+          String mappedBy() default "";
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="order-by" type="orm:order-by" 
+                   minOccurs="0"/>
+      <xsd:element name="map-key" type="orm:map-key" 
+                   minOccurs="0"/>
+      <xsd:element name="join-table" type="orm:join-table" 
+                   minOccurs="0"/>
+      <xsd:element name="cascade" type="orm:cascade-type" 
+                   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+    <xsd:attribute name="target-entity" type="xsd:string"/>
+    <xsd:attribute name="fetch" type="orm:fetch-type"/>
+    <xsd:attribute name="mapped-by" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="generated-value">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface GeneratedValue {
+          GenerationType strategy() default AUTO;
+          String generator() default "";
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="strategy" type="orm:generation-type"/>
+    <xsd:attribute name="generator" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="map-key">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface MapKey {
+          String name() default "";
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="name" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="order-by">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface OrderBy {
+          String value() default "";
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="xsd:string"/>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="inheritance">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE}) @Retention(RUNTIME)
+        public @interface Inheritance {
+          InheritanceType strategy() default SINGLE_TABLE;
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="strategy" type="orm:inheritance-type"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="inheritance-type">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        public enum InheritanceType
+          { SINGLE_TABLE, JOINED, TABLE_PER_CLASS};
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="xsd:token">
+      <xsd:enumeration value="SINGLE_TABLE"/>
+      <xsd:enumeration value="JOINED"/>
+      <xsd:enumeration value="TABLE_PER_CLASS"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="discriminator-value">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE}) @Retention(RUNTIME)
+        public @interface DiscriminatorValue {
+          String value();
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="xsd:string"/>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="discriminator-type">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        public enum DiscriminatorType { STRING, CHAR, INTEGER };
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="xsd:token">
+      <xsd:enumeration value="STRING"/>
+      <xsd:enumeration value="CHAR"/>
+      <xsd:enumeration value="INTEGER"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="primary-key-join-column">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface PrimaryKeyJoinColumn {
+          String name() default "";
+          String referencedColumnName() default "";
+          String columnDefinition() default "";
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="name" type="xsd:string"/>
+    <xsd:attribute name="referenced-column-name" type="xsd:string"/>
+    <xsd:attribute name="column-definition" type="xsd:string"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="discriminator-column">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE}) @Retention(RUNTIME)
+        public @interface DiscriminatorColumn {
+          String name() default "DTYPE";
+          DiscriminatorType discriminatorType() default STRING;
+          String columnDefinition() default "";
+          int length() default 31;
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="name" type="xsd:string"/>
+    <xsd:attribute name="discriminator-type" type="orm:discriminator-type"/>
+    <xsd:attribute name="column-definition" type="xsd:string"/>
+    <xsd:attribute name="length" type="xsd:int"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="embeddable">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        Defines the settings and mappings for embeddable objects. Is 
+        allowed to be sparsely populated and used in conjunction with 
+        the annotations. Alternatively, the metadata-complete attribute 
+        can be used to indicate that no annotations are to be processed 
+        in the class. If this is the case then the defaulting rules will 
+        be recursively applied.
+
+        @Target({TYPE}) @Retention(RUNTIME)
+        public @interface Embeddable {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description" type="xsd:string" minOccurs="0"/>
+      <xsd:element name="attributes" type="orm:embeddable-attributes" 
+                   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="class" type="xsd:string" use="required"/>
+    <xsd:attribute name="access" type="orm:access-type"/>
+    <xsd:attribute name="metadata-complete" type="xsd:boolean"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="embeddable-attributes">
+    <xsd:sequence>
+      <xsd:element name="basic" type="orm:basic" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="transient" type="orm:transient" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="embedded">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface Embedded {}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="attribute-override" type="orm:attribute-override" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="mapped-superclass">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        Defines the settings and mappings for a mapped superclass. Is 
+        allowed to be sparsely populated and used in conjunction with 
+        the annotations. Alternatively, the metadata-complete attribute 
+        can be used to indicate that no annotations are to be processed 
+        If this is the case then the defaulting rules will be recursively 
+        applied.
+
+        @Target(TYPE) @Retention(RUNTIME)
+        public @interface MappedSuperclass{}
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description" type="xsd:string" minOccurs="0"/>
+      <xsd:element name="id-class" type="orm:id-class" minOccurs="0"/>
+      <xsd:element name="exclude-default-listeners" type="orm:emptyType" 
+                   minOccurs="0"/>
+      <xsd:element name="exclude-superclass-listeners" type="orm:emptyType" 
+                   minOccurs="0"/>
+      <xsd:element name="entity-listeners" type="orm:entity-listeners" 
+                   minOccurs="0"/>
+      <xsd:element name="pre-persist" type="orm:pre-persist" minOccurs="0"/>
+      <xsd:element name="post-persist" type="orm:post-persist" 
+                   minOccurs="0"/>
+      <xsd:element name="pre-remove" type="orm:pre-remove" minOccurs="0"/>
+      <xsd:element name="post-remove" type="orm:post-remove" minOccurs="0"/>
+      <xsd:element name="pre-update" type="orm:pre-update" minOccurs="0"/>
+      <xsd:element name="post-update" type="orm:post-update" minOccurs="0"/>
+      <xsd:element name="post-load" type="orm:post-load" minOccurs="0"/>
+      <xsd:element name="attributes" type="orm:attributes" minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="class" type="xsd:string" use="required"/>
+    <xsd:attribute name="access" type="orm:access-type"/>
+    <xsd:attribute name="metadata-complete" type="xsd:boolean"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="sequence-generator">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface SequenceGenerator {
+          String name();
+          String sequenceName() default "";
+          int initialValue() default 1;
+          int allocationSize() default 50;
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+    <xsd:attribute name="sequence-name" type="xsd:string"/>
+    <xsd:attribute name="initial-value" type="xsd:int"/>
+    <xsd:attribute name="allocation-size" type="xsd:int"/>
+  </xsd:complexType>
+
+  <!-- **************************************************** -->
+
+  <xsd:complexType name="table-generator">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        @Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
+        public @interface TableGenerator {
+          String name();
+          String table() default "";
+          String catalog() default "";
+          String schema() default "";
+          String pkColumnName() default "";
+          String valueColumnName() default "";
+          String pkColumnValue() default "";
+          int initialValue() default 0;
+          int allocationSize() default 50;
+          UniqueConstraint[] uniqueConstraints() default {};
+        }
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="unique-constraint" type="orm:unique-constraint" 
+                   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="name" type="xsd:string" use="required"/>
+    <xsd:attribute name="table" type="xsd:string"/>
+    <xsd:attribute name="catalog" type="xsd:string"/>
+    <xsd:attribute name="schema" type="xsd:string"/>
+    <xsd:attribute name="pk-column-name" type="xsd:string"/>
+    <xsd:attribute name="value-column-name" type="xsd:string"/>
+    <xsd:attribute name="pk-column-value" type="xsd:string"/>
+    <xsd:attribute name="initial-value" type="xsd:int"/>
+    <xsd:attribute name="allocation-size" type="xsd:int"/>
+  </xsd:complexType>
+
+</xsd:schema>
+
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/persistence_1_0.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/persistence_1_0.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/persistence_1_0.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,260 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- persistence.xml schema -->
+<xsd:schema targetNamespace="http://java.sun.com/xml/ns/persistence" 
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns:persistence="http://java.sun.com/xml/ns/persistence"
+  elementFormDefault="qualified" 
+  attributeFormDefault="unqualified" 
+  version="1.0">
+
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)persistence_1_0.xsd  1.0  Feb 9 2006
+    </xsd:documentation>
+  </xsd:annotation>
+   <xsd:annotation>
+     <xsd:documentation><![CDATA[
+
+     This is the XML Schema for the persistence configuration file.
+     The file must be named "META-INF/persistence.xml" in the 
+     persistence archive.
+     Persistence configuration files must indicate
+     the persistence schema by using the persistence namespace:
+
+     http://java.sun.com/xml/ns/persistence
+
+     and indicate the version of the schema by
+     using the version element as shown below:
+
+      <persistence xmlns="http://java.sun.com/xml/ns/persistence"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+          http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+        version="1.0">
+          ...
+      </persistence>
+
+    ]]></xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:simpleType name="versionType">
+    <xsd:restriction base="xsd:token">
+      <xsd:pattern value="[0-9]+(\.[0-9]+)*"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+  <!-- **************************************************** -->
+
+  <xsd:element name="persistence">
+    <xsd:complexType>
+      <xsd:sequence>
+
+        <!-- **************************************************** -->
+
+        <xsd:element name="persistence-unit" 
+                     minOccurs="0" maxOccurs="unbounded">
+          <xsd:complexType>
+            <xsd:annotation>
+              <xsd:documentation>
+
+                Configuration of a persistence unit.
+
+              </xsd:documentation>
+            </xsd:annotation>
+            <xsd:sequence>
+
+            <!-- **************************************************** -->
+
+              <xsd:element name="description" type="xsd:string" 
+                           minOccurs="0">
+                <xsd:annotation>
+                  <xsd:documentation>
+
+                    Textual description of this persistence unit.
+
+                  </xsd:documentation>
+                </xsd:annotation>
+              </xsd:element>
+
+              <!-- **************************************************** -->
+
+              <xsd:element name="provider" type="xsd:string" 
+                           minOccurs="0">
+                <xsd:annotation>
+                  <xsd:documentation>
+
+                    Provider class that supplies EntityManagers for this 
+                    persistence unit.
+
+                  </xsd:documentation>
+                </xsd:annotation>
+              </xsd:element>
+
+              <!-- **************************************************** -->
+
+              <xsd:element name="jta-data-source" type="xsd:string" 
+                           minOccurs="0">
+                <xsd:annotation>
+                  <xsd:documentation>
+
+                    The container-specific name of the JTA datasource to use.
+
+                  </xsd:documentation>
+                </xsd:annotation>
+              </xsd:element>
+
+              <!-- **************************************************** -->
+
+              <xsd:element name="non-jta-data-source" type="xsd:string" 
+                           minOccurs="0">
+                <xsd:annotation>
+                  <xsd:documentation>
+
+                    The container-specific name of a non-JTA datasource to use.
+
+                  </xsd:documentation>
+                </xsd:annotation>
+              </xsd:element>
+
+              <!-- **************************************************** -->
+
+              <xsd:element name="mapping-file" type="xsd:string" 
+                           minOccurs="0" maxOccurs="unbounded">
+                <xsd:annotation>
+                  <xsd:documentation>
+
+                    File containing mapping information. Loaded as a resource 
+                    by the persistence provider.
+
+                  </xsd:documentation>
+                </xsd:annotation>
+              </xsd:element>
+
+              <!-- **************************************************** -->
+
+              <xsd:element name="jar-file" type="xsd:string" 
+                           minOccurs="0" maxOccurs="unbounded">
+                <xsd:annotation>
+                  <xsd:documentation>
+
+                    Jar file that should be scanned for entities. 
+                    Not applicable to Java SE persistence units.
+
+                  </xsd:documentation>
+                </xsd:annotation>
+              </xsd:element>
+
+              <!-- **************************************************** -->
+
+              <xsd:element name="class" type="xsd:string" 
+                           minOccurs="0" maxOccurs="unbounded">
+                <xsd:annotation>
+                  <xsd:documentation>
+
+                    Class to scan for annotations.  It should be annotated 
+                    with either @Entity, @Embeddable or @MappedSuperclass.
+
+                  </xsd:documentation>
+                </xsd:annotation>
+              </xsd:element>
+
+              <!-- **************************************************** -->
+
+              <xsd:element name="exclude-unlisted-classes" type="xsd:boolean" 
+                           default="false" minOccurs="0">
+                <xsd:annotation>
+                  <xsd:documentation>
+
+                    When set to true then only listed classes and jars will 
+                    be scanned for persistent classes, otherwise the enclosing 
+                    jar or directory will also be scanned. Not applicable to 
+                    Java SE persistence units.
+
+                  </xsd:documentation>
+                </xsd:annotation>
+              </xsd:element>
+
+              <!-- **************************************************** -->
+
+              <xsd:element name="properties" minOccurs="0">
+                <xsd:annotation>
+                  <xsd:documentation>
+
+                    A list of vendor-specific properties.
+
+                  </xsd:documentation>
+                </xsd:annotation>
+                <xsd:complexType>
+                  <xsd:sequence>
+                    <xsd:element name="property" 
+                                 minOccurs="0" maxOccurs="unbounded">
+                      <xsd:annotation>
+                        <xsd:documentation>
+                          A name-value pair.
+                        </xsd:documentation>
+                      </xsd:annotation>
+                      <xsd:complexType>
+                        <xsd:attribute name="name" type="xsd:string" 
+                                       use="required"/>
+                        <xsd:attribute name="value" type="xsd:string" 
+                                       use="required"/>
+                      </xsd:complexType>
+                    </xsd:element>
+                  </xsd:sequence>
+                </xsd:complexType>
+              </xsd:element>
+
+            </xsd:sequence>
+
+            <!-- **************************************************** -->
+
+            <xsd:attribute name="name" type="xsd:string" use="required">
+              <xsd:annotation>
+                <xsd:documentation>
+
+                  Name used in code to reference this persistence unit.
+
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:attribute>
+
+            <!-- **************************************************** -->
+
+            <xsd:attribute name="transaction-type" 
+                           type="persistence:persistence-unit-transaction-type">
+              <xsd:annotation>
+                <xsd:documentation>
+
+                  Type of transactions used by EntityManagers from this 
+                  persistence unit.
+
+                </xsd:documentation>
+              </xsd:annotation>
+            </xsd:attribute>
+
+          </xsd:complexType>
+        </xsd:element>
+      </xsd:sequence>
+      <xsd:attribute name="version" type="persistence:versionType" 
+                     fixed="1.0" use="required"/>
+    </xsd:complexType>
+  </xsd:element>
+
+  <!-- **************************************************** -->
+
+  <xsd:simpleType name="persistence-unit-transaction-type">
+    <xsd:annotation>
+      <xsd:documentation>
+
+        public enum TransactionType { JTA, RESOURCE_LOCAL };
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="xsd:token">
+      <xsd:enumeration value="JTA"/>
+      <xsd:enumeration value="RESOURCE_LOCAL"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/security-config_4_0.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/security-config_4_0.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/security-config_4_0.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns="http://www.jboss.org/j2ee/schema/jaas"
+   targetNamespace="http://www.jboss.org/j2ee/schema/jaas"
+   elementFormDefault="unqualified" attributeFormDefault="unqualified" version="4.0">
+   <xs:annotation>
+      <xs:documentation><![CDATA[
+   $Id: security-config_4_0.xsd 26732 2004-12-19 14:34:44Z  $
+	This is the XML Schema for the jboss 4.0 security configuration descriptor.
+	The default version of the descriptor is found in conf/login-config.xml
+   and this version of the schema is indicated using:
+
+	    <policy xmlns="http://www.jboss.org/j2ee/schema/jaas"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://www.jboss.org/j2ee/schema/security-config_4_0.xsd"
+	      version="4.0">
+	      ...
+	    </policy>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute:
+	http://www.jboss.org/j2ee/schema/security-config_4_0.xsd
+
+   The outline of a policy/application-policy is:
+   <policy>
+    <application-policy name="security-domain-name">
+     <authentication>
+       <login-module code="login.module1.class.name" flag="control_flag">
+         <module-option name = "option1-name">option1-value</module-option>
+         <module-option name = "option2-name">option2-value</module-option>
+         ...
+       </login-module>
+   
+       <login-module code="login.module2.class.name" flag="control_flag">
+         ...
+       </login-module>
+       ...
+     </authentication>
+    </application-policy>
+   </policy>
+	]]></xs:documentation>
+   </xs:annotation>
+   <xs:element name="policy">
+      <xs:annotation>
+         <xs:documentation>The policy element is the root of the security
+            configuration descriptor.</xs:documentation>
+      </xs:annotation>
+      <xs:complexType>
+         <xs:sequence>
+            <xs:element maxOccurs="unbounded" ref="application-policy"/>
+         </xs:sequence>
+      </xs:complexType>
+   </xs:element>
+   <xs:element name="application-policy">
+      <xs:annotation>
+         <xs:documentation>The application-policy lists configuration for a
+            named policy. This currently only consists of the authentication
+            configuration. </xs:documentation>
+      </xs:annotation>
+      <xs:complexType>
+         <xs:sequence>
+            <xs:element ref="authentication"/>
+         </xs:sequence>
+         <xs:attribute name="name" use="required" type="xs:NCName">
+            <xs:annotation>
+               <xs:documentation>The name attribute defines the authentication
+                  configuration name. This is the name that would be passed to
+                  the JAAS LoginContext ctor to use the associated login module stack.</xs:documentation>
+            </xs:annotation>
+         </xs:attribute>
+      </xs:complexType>
+   </xs:element>
+   <xs:element name="authentication">
+      <xs:annotation>
+         <xs:documentation>The authentication element contains the login module
+            stack configuration. Each login module configuration is specified
+            using a login-module element.</xs:documentation>
+      </xs:annotation>
+      <xs:complexType>
+         <xs:sequence>
+            <xs:element maxOccurs="unbounded" ref="login-module"/>
+         </xs:sequence>
+      </xs:complexType>
+   </xs:element>
+   <xs:element name="login-module">
+      <xs:annotation>
+         <xs:documentation>The login-module element defines a JAAS login module
+            configuration entry. Each entry must have a code and flag attribute
+            along with zero or more login module options specified via the
+            module-option element. </xs:documentation>
+      </xs:annotation>
+      <xs:complexType>
+         <xs:sequence>
+            <xs:element minOccurs="0" maxOccurs="unbounded" ref="module-option"/>
+         </xs:sequence>
+         <xs:attribute name="code" use="required">
+            <xs:annotation>
+               <xs:documentation>The code attribute gives the fully qualifed class
+                  name of the javax.security.auth.spi.LoginModule interface implementation
+                  for the login module.
+               </xs:documentation>
+            </xs:annotation>
+         </xs:attribute>
+         <xs:attribute name="flag" use="required">
+            <xs:annotation>
+               <xs:documentation>The flag attribute controls how a login module
+                  participates in the overall authentication proceedure.
+                  Required - The LoginModule is required to succeed. If it
+                  succeeds or fails, authentication still continues to proceed
+                  down the LoginModule list.
+
+                  Requisite - The LoginModule is required to succeed. If it succeeds,
+                  authentication continues down the LoginModule list. If it fails,
+                  control immediately returns to the application (authentication does not proceed
+                  down the LoginModule list).
+
+                  Sufficient - The LoginModule is  not required to succeed. If it does
+                  succeed, control immediately returns to the application (authentication
+                  does not proceed down the LoginModule list). If it fails,
+                  authentication continues down the LoginModule list.
+                  
+                  Optional - The LoginModule is not required to succeed. If it succeeds or
+                  fails, authentication still continues to proceed down the
+                  LoginModule list.
+                  
+                  The overall authentication succeeds only if
+                  all required and requisite LoginModules succeed. If a
+                  sufficient LoginModule is configured and succeeds, then only
+                  the required and requisite LoginModules prior to that
+                  sufficient LoginModule need to have succeeded for the overall
+                  authentication to succeed. If no required or requisite
+                  LoginModules are configured for an application, then at least
+                  one sufficient or optional LoginModule must succeed. </xs:documentation>
+            </xs:annotation>
+         </xs:attribute>
+      </xs:complexType>
+   </xs:element>
+   <xs:element name="module-option">
+      <xs:annotation>
+         <xs:documentation>A module option defines a name, value pair that are
+         passed to a LoginModule when it is initialized during the login proceedure.
+         The name attribute defines the option name while the element value is the
+         option value. The type of the value can be anything from a string obtained
+         from the module-option body, to arbitary objects unmarshalled based on
+         the namespace associated with the module-option child element.</xs:documentation>
+      </xs:annotation>
+      <xs:complexType mixed="true">
+         <xs:sequence>
+            <xs:any namespace="##any"/>
+         </xs:sequence>
+         <xs:attribute name="name" use="required" type="xs:NCName">
+            <xs:annotation>
+               <xs:documentation>The module option name. This is the key used to store
+               the module value in the LoginModule initalize options Map.</xs:documentation>
+            </xs:annotation>
+         </xs:attribute>
+      </xs:complexType>
+   </xs:element>
+</xs:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/security-config_4_1.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/security-config_4_1.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/security-config_4_1.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: security-config_4_1.xsd 44282 2006-04-27 00:11:58Z asaldhana $ -->
+
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+   elementFormDefault="qualified"
+   xmlns:jaas="urn:jboss:security-config:4.1"
+   xmlns:jbxb="http://www.jboss.org/xml/ns/jbxb"
+   targetNamespace="urn:jboss:security-config:4.1">
+
+   <xsd:annotation>
+      <xsd:documentation><![CDATA[
+         The login-config.xml schema with jbossxb annotations that map conforming
+         documents to the org.jboss.security.auth.login.PolicyConfig.
+     $Id: security-config_4_1.xsd 44282 2006-04-27 00:11:58Z asaldhana $
+    This is the XML Schema for the jboss 4.1 security configuration descriptor.
+    The default version of the descriptor is found in conf/login-config.xml
+     and this version of the schema is indicated using:
+
+        <policy xmlns="urn:jboss:security-config:4.1"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          version="4.1">
+          ...
+        </policy>
+
+     The outline of a policy/application-policy is:
+     <policy>
+      <application-policy name="security-domain-name">
+       <authentication>
+         <login-module code="login.module1.class.name" flag="control_flag">
+           <module-option name = "option1-name">option1-value</module-option>
+           <module-option name = "option2-name">option2-value</module-option>
+           ...
+         </login-module>
+   
+         <login-module code="login.module2.class.name" flag="control_flag">
+           ...
+         </login-module>
+         ...
+       </authentication>
+      </application-policy>
+     </policy>
+    ]]></xsd:documentation>
+      <xsd:appinfo>
+         <jbxb:schemaBindings>
+            <jbxb:package name="org.jboss.security.auth.login"/>
+            <jbxb:ignoreUnresolvedFieldOrClass>false</jbxb:ignoreUnresolvedFieldOrClass>
+         </jbxb:schemaBindings>
+      </xsd:appinfo>
+   </xsd:annotation>
+
+  <xsd:element name="policy">
+    <xsd:complexType>
+       <xsd:annotation>
+         <xsd:documentation>The policy element is the root of the security
+            configuration descriptor.</xsd:documentation>
+          <xsd:appinfo>
+             <jbxb:class impl="org.jboss.security.auth.login.PolicyConfig"/>
+          </xsd:appinfo>
+       </xsd:annotation>
+
+      <xsd:sequence>
+        <xsd:element maxOccurs="unbounded" ref="jaas:application-policy"/>
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="application-policy">
+    <xsd:complexType>
+       <xsd:annotation>
+      <xsd:documentation>The application-policy lists configuration for a
+         named policy. This currently only consists of the authentication
+         configuration. </xsd:documentation>
+         <xsd:appinfo>
+           <jbxb:class impl="org.jboss.security.auth.login.AuthenticationInfoContainer"/>
+           <jbxb:addMethod name="add" valueType="child"/>
+         </xsd:appinfo>
+       </xsd:annotation>
+
+      <xsd:sequence>
+        <xsd:element ref="jaas:authentication"/>
+      </xsd:sequence>
+      <xsd:attribute name="name" use="required" type="xsd:string"/>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="authentication">
+    <xsd:annotation>
+      <xsd:documentation>The authentication element contains the login module
+         stack configuration. Each login module configuration is specified
+         using a login-module element.</xsd:documentation>
+       <xsd:appinfo>
+          <jbxb:skip/>
+       </xsd:appinfo>
+    </xsd:annotation>
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element maxOccurs="unbounded" ref="jaas:login-module"/>
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+  <xsd:element name="login-module">
+    <xsd:complexType>
+       <xsd:annotation>
+         <xsd:documentation>The login-module element defines a JAAS login module
+            configuration entry. Each entry must have a code and flag attribute
+            along with zero or more login module options specified via the
+            module-option element. </xsd:documentation>
+          <xsd:appinfo>
+             <jbxb:class impl="org.jboss.security.auth.login.AppConfigurationEntryHolder"/>
+          </xsd:appinfo>
+       </xsd:annotation>
+      <xsd:sequence>
+        <xsd:element minOccurs="0" maxOccurs="unbounded" ref="jaas:module-option"/>
+      </xsd:sequence>
+      <xsd:attribute name="code" use="required" type="xsd:string"/>
+      <xsd:attribute name="flag" use="required">
+        <xsd:annotation>
+           <xsd:documentation>The flag attribute controls how a login module
+              participates in the overall authentication proceedure.
+              Required - The LoginModule is required to succeed. If it
+              succeeds or fails, authentication still continues to proceed
+              down the LoginModule list.
+
+              Requisite - The LoginModule is required to succeed. If it succeeds,
+              authentication continues down the LoginModule list. If it fails,
+              control immediately returns to the application (authentication does not proceed
+              down the LoginModule list).
+
+              Sufficient - The LoginModule is  not required to succeed. If it does
+              succeed, control immediately returns to the application (authentication
+              does not proceed down the LoginModule list). If it fails,
+              authentication continues down the LoginModule list.
+                  
+              Optional - The LoginModule is not required to succeed. If it succeeds or
+              fails, authentication still continues to proceed down the
+              LoginModule list.
+                  
+              The overall authentication succeeds only if
+              all required and requisite LoginModules succeed. If a
+              sufficient LoginModule is configured and succeeds, then only
+              the required and requisite LoginModules prior to that
+              sufficient LoginModule need to have succeeded for the overall
+              authentication to succeed. If no required or requisite
+              LoginModules are configured for an application, then at least
+              one sufficient or optional LoginModule must succeed.
+           </xsd:documentation>
+        </xsd:annotation>
+        <xsd:simpleType>
+          <xsd:restriction base="xsd:string">
+            <xsd:enumeration value="required" />
+            <xsd:enumeration value="requisite" />
+            <xsd:enumeration value="sufficient" />
+            <xsd:enumeration value="optional" />
+          </xsd:restriction>
+        </xsd:simpleType>
+      </xsd:attribute>
+    </xsd:complexType>
+  </xsd:element>
+  <xsd:element name="module-option">
+    <xsd:complexType mixed="true">
+       <xsd:annotation>
+            <xsd:documentation>A module option defines a name, value pair that are
+            passed to a LoginModule when it is initialized during the login proceedure.
+            The name attribute defines the option name while the element value is the
+            option value. The type of the value can be anything from a string obtained
+            from the module-option body, to arbitary objects unmarshalled based on
+            the namespace associated with the module-option child element
+            </xsd:documentation>
+          <xsd:appinfo>
+             <!-- ModuleOption declares a constructor that takes name as a parameter
+                  while the value should be set with the setter.
+                  This use-case is not supported out-of-the-box. So, we use this container. -->
+             <jbxb:class impl="org.jboss.security.auth.login.ModuleOptionContainer"/>
+          </xsd:appinfo>
+       </xsd:annotation>
+      <xsd:sequence>
+        <xsd:any minOccurs="0" maxOccurs="1" namespace="##other" />
+      </xsd:sequence>
+      <xsd:attribute name="name" use="required" type="xsd:string"/>
+    </xsd:complexType>
+  </xsd:element>
+</xsd:schema>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/user-roles_1_0.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/user-roles_1_0.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/user-roles_1_0.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: user-roles_1_0.xsd 36253 2005-09-22 23:25:51Z starksm $ -->
+
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+   elementFormDefault="qualified"
+   targetNamespace="urn:jboss:user-roles:1.0"
+   xmlns:jbxb="http://www.jboss.org/xml/ns/jbxb"
+   xmlns:ur="urn:jboss:user-roles:1.0">
+
+   <xsd:element name="users">
+      <xsd:annotation>
+         <xsd:documentation>
+            This is the jbossxb annotated schema for the embedded users content
+            for the org.jboss.security.auth.spi.XMLLoginModule
+         </xsd:documentation>
+         <xsd:appinfo>
+            <jbxb:class impl="org.jboss.security.auth.spi.Users"/>
+         </xsd:appinfo>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:sequence>
+            <xsd:element minOccurs="1" maxOccurs="unbounded" ref="ur:user"/>
+         </xsd:sequence>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="user">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:class impl="org.jboss.security.auth.spi.Users$User"/>
+            <jbxb:addMethod name="addUser" valueType="child"/>
+         </xsd:appinfo>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:sequence>
+            <xsd:element minOccurs="0" maxOccurs="unbounded" ref="ur:role"/>
+         </xsd:sequence>
+         <xsd:attribute name="name" use="required" type="xsd:NCName"/>
+         <xsd:attribute name="password" use="required" type="xsd:NCName"/>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="role">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:mapEntry/>
+            <jbxb:putMethod name="addRole"
+               keyType="java.lang.String" valueType="java.lang.String" />
+         </xsd:appinfo>
+      </xsd:annotation>
+
+      <xsd:complexType>
+         <xsd:attribute name="group" use="optional" type="xsd:NCName" default="Roles">
+            <xsd:annotation>
+               <xsd:appinfo>
+                  <jbxb:mapEntryValue/>
+               </xsd:appinfo>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="name" use="required" type="xsd:NCName">
+            <xsd:annotation>
+               <xsd:appinfo>
+                  <jbxb:mapEntryKey/>
+               </xsd:appinfo>
+            </xsd:annotation>
+         </xsd:attribute> 
+      </xsd:complexType>
+   </xsd:element>
+</xsd:schema>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-app_2_4.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-app_2_4.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-app_2_4.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1266 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="2.4">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)web-app_2_4.xsds	1.57 03/04/07
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2002 Sun Microsystems, Inc., 901 San Antonio
+      Road, Palo Alto, California 94303, U.S.A. All rights
+      reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	This is the XML Schema for the Servlet 2.4 deployment descriptor.
+	The deployment descriptor must be named "WEB-INF/web.xml" in the
+	web application's war file.  All Servlet deployment descriptors
+	must indicate the web application schema by using the J2EE
+	namespace:
+
+	http://java.sun.com/xml/ns/j2ee
+
+	and by indicating the version of the schema by
+	using the version element as shown below:
+
+	    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="..."
+	      version="2.4">
+	      ...
+	    </web-app>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute for J2EE
+	namespace with the following location:
+
+	http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all J2EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
+  <xsd:include schemaLocation="jsp_2_0.xsd"/>
+
+
+<!-- **************************************************** -->
+
+
+  <xsd:element name="web-app" type="j2ee:web-appType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The web-app element is the root of the deployment
+	descriptor for a web application.  Note that the sub-elements
+	of this element can be in the arbitrary order. Because of
+	that, the multiplicity of the elements of distributable,
+	session-config, welcome-file-list, jsp-config, login-config,
+	and locale-encoding-mapping-list was changed from "?" to "*"
+	in this schema.  However, the deployment descriptor instance
+	file must not contain multiple elements of session-config,
+	jsp-config, and login-config. When there are multiple elements of
+	welcome-file-list or locale-encoding-mapping-list, the container
+	must concatinate the element contents.  The multiple occurance
+	of the element distributable is redundant and the container
+	treats that case exactly in the same way when there is only
+	one distributable.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:unique name="servlet-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The servlet element contains the name of a servlet.
+	  The name must be unique within the web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:servlet"/>
+      <xsd:field    xpath="j2ee:servlet-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="filter-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The filter element contains the name of a filter.
+	  The name must be unique within the web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:filter"/>
+      <xsd:field    xpath="j2ee:filter-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="ejb-local-ref-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The ejb-local-ref-name element contains the name of an EJB
+	  reference. The EJB reference is an entry in the web
+	  application's environment and is relative to the
+	  java:comp/env context.  The name must be unique within
+	  the web application.
+
+	  It is recommended that name is prefixed with "ejb/".
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:ejb-local-ref"/>
+      <xsd:field    xpath="j2ee:ejb-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="ejb-ref-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The ejb-ref-name element contains the name of an EJB
+	  reference. The EJB reference is an entry in the web
+	  application's environment and is relative to the
+	  java:comp/env context.  The name must be unique within
+	  the web application.
+
+	  It is recommended that name is prefixed with "ejb/".
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:ejb-ref"/>
+      <xsd:field    xpath="j2ee:ejb-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="resource-env-ref-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The resource-env-ref-name element specifies the name of
+	  a resource environment reference; its value is the
+	  environment entry name used in the web application code.
+	  The name is a JNDI name relative to the java:comp/env
+	  context and must be unique within a web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:resource-env-ref"/>
+      <xsd:field    xpath="j2ee:resource-env-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="message-destination-ref-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The message-destination-ref-name element specifies the name of
+	  a message destination reference; its value is the
+	  environment entry name used in the web application code.
+	  The name is a JNDI name relative to the java:comp/env
+	  context and must be unique within a web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:message-destination-ref"/>
+      <xsd:field    xpath="j2ee:message-destination-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="res-ref-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The res-ref-name element specifies the name of a
+	  resource manager connection factory reference.  The name
+	  is a JNDI name relative to the java:comp/env context.
+	  The name must be unique within a web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:resource-ref"/>
+      <xsd:field    xpath="j2ee:res-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="env-entry-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The env-entry-name element contains the name of a web
+	  application's environment entry.  The name is a JNDI
+	  name relative to the java:comp/env context.  The name
+	  must be unique within a web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+
+      <xsd:selector xpath="j2ee:env-entry"/>
+      <xsd:field    xpath="j2ee:env-entry-name"/>
+    </xsd:unique>
+
+    <xsd:key name="role-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  A role-name-key is specified to allow the references
+	  from the security-role-refs.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:security-role"/>
+      <xsd:field    xpath="j2ee:role-name"/>
+    </xsd:key>
+
+    <xsd:keyref name="role-name-references"
+		refer="j2ee:role-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The keyref indicates the references from
+	  security-role-ref to a specified role-name.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:servlet/j2ee:security-role-ref"/>
+      <xsd:field    xpath="j2ee:role-link"/>
+    </xsd:keyref>
+  </xsd:element>
+
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="auth-constraintType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The auth-constraintType indicates the user roles that
+	should be permitted access to this resource
+	collection. The role-name used here must either correspond
+	to the role-name of one of the security-role elements
+	defined for this web application, or be the specially
+	reserved role-name "*" that is a compact syntax for
+	indicating all roles in the web application. If both "*"
+	and rolenames appear, the container interprets this as all
+	roles.  If no roles are defined, no user is allowed access
+	to the portion of the web application described by the
+	containing security-constraint.  The container matches
+	role names case sensitively when determining access.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="role-name"
+		   type="j2ee:role-nameType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="auth-methodType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The auth-methodType is used to configure the authentication
+	mechanism for the web application. As a prerequisite to
+	gaining access to any web resources which are protected by
+	an authorization constraint, a user must have authenticated
+	using the configured mechanism. Legal values are "BASIC",
+	"DIGEST", "FORM", "CLIENT-CERT", or a vendor-specific
+	authentication scheme.
+
+	Used in: login-config
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="dispatcherType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The dispatcher has four legal values: FORWARD, REQUEST, INCLUDE,
+	and ERROR. A value of FORWARD means the Filter will be applied
+	under RequestDispatcher.forward() calls.  A value of REQUEST
+	means the Filter will be applied under ordinary client calls to
+	the path or servlet. A value of INCLUDE means the Filter will be
+	applied under RequestDispatcher.include() calls.  A value of
+	ERROR means the Filter will be applied under the error page
+	mechanism.  The absence of any dispatcher elements in a
+	filter-mapping indicates a default of applying filters only under
+	ordinary client calls to the path or servlet.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="FORWARD"/>
+	<xsd:enumeration value="INCLUDE"/>
+	<xsd:enumeration value="REQUEST"/>
+	<xsd:enumeration value="ERROR"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="encodingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The encodingType defines IANA character sets.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:restriction base="xsd:string">
+      <xsd:pattern value="[^\s]+"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="error-codeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The error-code contains an HTTP error code, ex: 404
+
+	Used in: error-page
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:xsdPositiveIntegerType">
+	<xsd:pattern value="\d{3}"/>
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="error-pageType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The error-pageType contains a mapping between an error code
+	or exception type to the path of a resource in the web
+	application.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:choice>
+	<xsd:element name="error-code"
+		     type="j2ee:error-codeType"/>
+
+	<xsd:element name="exception-type"
+		     type="j2ee:fully-qualified-classType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The exception-type contains a fully qualified class
+	      name of a Java exception type.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+      </xsd:choice>
+
+      <xsd:element name="location"
+		   type="j2ee:war-pathType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The location element contains the location of the
+	    resource in the web application relative to the root of
+	    the web application. The value of the location must have
+	    a leading `/'.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="filter-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Declaration of the filter mappings in this web
+	application is done by using filter-mappingType.
+	The container uses the filter-mapping
+	declarations to decide which filters to apply to a request,
+	and in what order. The container matches the request URI to
+	a Servlet in the normal way. To determine which filters to
+	apply it matches filter-mapping declarations either on
+	servlet-name, or on url-pattern for each filter-mapping
+	element, depending on which style is used. The order in
+	which filters are invoked is the order in which
+	filter-mapping declarations that match a request URI for a
+	servlet appear in the list of filter-mapping elements.The
+	filter-name value must be the value of the filter-name
+	sub-elements of one of the filter declarations in the
+	deployment descriptor.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="filter-name"
+		   type="j2ee:filter-nameType"/>
+      <xsd:choice>
+	<xsd:element name="url-pattern"
+		     type="j2ee:url-patternType"/>
+	<xsd:element name="servlet-name"
+		     type="j2ee:servlet-nameType"/>
+      </xsd:choice>
+      <xsd:element name="dispatcher"
+		   type="j2ee:dispatcherType"
+		   minOccurs="0" maxOccurs="4"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="filter-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The logical name of the filter is declare
+	by using filter-nameType. This name is used to map the
+	filter.  Each filter name is unique within the web
+	application.
+
+	Used in: filter, filter-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:extension base="j2ee:nonEmptyStringType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="filterType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The filterType is used to declare a filter in the web
+	application. The filter is mapped to either a servlet or a
+	URL pattern in the filter-mapping element, using the
+	filter-name value to reference. Filters can access the
+	initialization parameters declared in the deployment
+	descriptor at runtime via the FilterConfig interface.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="filter-name"
+		   type="j2ee:filter-nameType"/>
+      <xsd:element name="filter-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The fully qualified classname of the filter.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="init-param"
+		   type="j2ee:param-valueType"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The init-param element contains a name/value pair as
+	    an initialization param of a servlet filter
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="form-login-configType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The form-login-configType specifies the login and error
+	pages that should be used in form based login. If form based
+	authentication is not used, these elements are ignored.
+
+	Used in: login-config
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+
+      <xsd:element name="form-login-page"
+		   type="j2ee:war-pathType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The form-login-page element defines the location in the web
+	    app where the page that can be used for login can be
+	    found.  The path begins with a leading / and is interpreted
+	    relative to the root of the WAR.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="form-error-page"
+		   type="j2ee:war-pathType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The form-error-page element defines the location in
+	    the web app where the error page that is displayed
+	    when login is not successful can be found.
+	    The path begins with a leading / and is interpreted
+	    relative to the root of the WAR.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="http-methodType">
+    <xsd:annotation>
+
+      <xsd:documentation>
+
+	The http-method contains an HTTP method recognized by the
+	web-app, for example GET, POST, ...
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="GET"/>
+	<xsd:enumeration value="POST"/>
+	<xsd:enumeration value="PUT"/>
+	<xsd:enumeration value="DELETE"/>
+	<xsd:enumeration value="HEAD"/>
+	<xsd:enumeration value="OPTIONS"/>
+	<xsd:enumeration value="TRACE"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="listenerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The listenerType indicates the deployment properties for a web
+	application listener bean.
+
+	Used in: web-app:listenerType
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="listener-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The listener-class element declares a class in the
+	    application must be registered as a web
+	    application listener bean. The value is the fully
+	    qualified classname of the listener class.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="locale-encoding-mapping-listType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The locale-encoding-mapping-list contains one or more
+	locale-encoding-mapping(s).
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="locale-encoding-mapping"
+		   type="j2ee:locale-encoding-mappingType"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="locale-encoding-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The locale-encoding-mapping contains locale name and
+	encoding name. The locale name must be either "Language-code",
+	such as "ja", defined by ISO-639 or "Language-code_Country-code",
+	such as "ja_JP".  "Country code" is defined by ISO-3166.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="locale"
+		   type="j2ee:localeType"/>
+      <xsd:element name="encoding"
+		   type="j2ee:encodingType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="localeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The localeType defines valid locale defined by ISO-639-1
+	and ISO-3166.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:restriction base="xsd:string">
+      <xsd:pattern value="[a-z]{2}(_|-)?([\p{L}\-\p{Nd}]{2})?"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="login-configType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The login-configType is used to configure the authentication
+	method that should be used, the realm name that should be
+	used for this application, and the attributes that are
+	needed by the form login mechanism.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="auth-method"
+		   type="j2ee:auth-methodType"
+		   minOccurs="0"/>
+      <xsd:element name="realm-name"
+		   type="j2ee:string" minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The realm name element specifies the realm name to
+	    use in HTTP Basic authorization.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="form-login-config"
+		   type="j2ee:form-login-configType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="mime-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The mime-mappingType defines a mapping between an extension
+	and a mime type.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The extension element contains a string describing an
+	  extension. example: "txt"
+
+	</xsd:documentation>
+      </xsd:annotation>
+
+      <xsd:element name="extension"
+		   type="j2ee:string"/>
+      <xsd:element name="mime-type"
+		   type="j2ee:mime-typeType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="mime-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The mime-typeType is used to indicate a defined mime type.
+
+	Example:
+	"text/plain"
+
+	Used in: mime-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:pattern value="[\p{L}\-\p{Nd}]+/[\p{L}\-\p{Nd}\.]+"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="nonEmptyStringType">
+    <xsd:annotation>
+      <xsd:documentation>
+	This type defines a string which contains at least one
+	character.
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:minLength value="1"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="security-constraintType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The security-constraintType is used to associate
+	security constraints with one or more web resource
+	collections
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="display-name"
+		   type="j2ee:display-nameType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="web-resource-collection"
+		   type="j2ee:web-resource-collectionType"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="auth-constraint"
+		   type="j2ee:auth-constraintType"
+		   minOccurs="0"/>
+      <xsd:element name="user-data-constraint"
+		   type="j2ee:user-data-constraintType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="servlet-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The servlet-mappingType defines a mapping between a
+	servlet and a url pattern.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="servlet-name"
+		   type="j2ee:servlet-nameType"/>
+      <xsd:element name="url-pattern"
+		   type="j2ee:url-patternType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="servlet-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The servlet-name element contains the canonical name of the
+	servlet. Each servlet name is unique within the web
+	application.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:extension base="j2ee:nonEmptyStringType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="servletType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The servletType is used to declare a servlet.
+	It contains the declarative data of a
+	servlet. If a jsp-file is specified and the load-on-startup
+	element is present, then the JSP should be precompiled and
+	loaded.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="servlet-name"
+		   type="j2ee:servlet-nameType"/>
+      <xsd:choice>
+	<xsd:element name="servlet-class"
+		     type="j2ee:fully-qualified-classType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The servlet-class element contains the fully
+	      qualified class name of the servlet.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+
+	<xsd:element name="jsp-file"
+		     type="j2ee:jsp-fileType"/>
+
+      </xsd:choice>
+
+      <xsd:element name="init-param"
+		   type="j2ee:param-valueType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="load-on-startup"
+		   type="j2ee:xsdIntegerType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The load-on-startup element indicates that this
+	    servlet should be loaded (instantiated and have
+	    its init() called) on the startup of the web
+	    application. The optional contents of these
+	    element must be an integer indicating the order in
+	    which the servlet should be loaded. If the value
+	    is a negative integer, or the element is not
+	    present, the container is free to load the servlet
+	    whenever it chooses. If the value is a positive
+	    integer or 0, the container must load and
+	    initialize the servlet as the application is
+	    deployed. The container must guarantee that
+	    servlets marked with lower integers are loaded
+	    before servlets marked with higher integers. The
+	    container may choose the order of loading of
+	    servlets with the same load-on-start-up value.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="run-as"
+		   type="j2ee:run-asType"
+		   minOccurs="0"/>
+      <xsd:element name="security-role-ref"
+		   type="j2ee:security-role-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="session-configType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The session-configType defines the session parameters
+	for this web application.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="session-timeout"
+		   type="j2ee:xsdIntegerType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The session-timeout element defines the default
+	    session timeout interval for all sessions created
+	    in this web application. The specified timeout
+	    must be expressed in a whole number of minutes.
+	    If the timeout is 0 or less, the container ensures
+	    the default behaviour of sessions is never to time
+	    out. If this element is not specified, the container
+	    must set its default timeout period.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="transport-guaranteeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The transport-guaranteeType specifies that the communication
+	between client and server should be NONE, INTEGRAL, or
+	CONFIDENTIAL. NONE means that the application does not
+	require any transport guarantees. A value of INTEGRAL means
+	that the application requires that the data sent between the
+	client and server be sent in such a way that it can't be
+	changed in transit. CONFIDENTIAL means that the application
+	requires that the data be transmitted in a fashion that
+	prevents other entities from observing the contents of the
+	transmission. In most cases, the presence of the INTEGRAL or
+	CONFIDENTIAL flag will indicate that the use of SSL is
+	required.
+
+	Used in: user-data-constraint
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="NONE"/>
+	<xsd:enumeration value="INTEGRAL"/>
+	<xsd:enumeration value="CONFIDENTIAL"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="user-data-constraintType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The user-data-constraintType is used to indicate how
+	data communicated between the client and container should be
+	protected.
+
+	Used in: security-constraint
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="transport-guarantee"
+		   type="j2ee:transport-guaranteeType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="war-pathType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The elements that use this type designate a path starting
+	with a "/" and interpreted relative to the root of a WAR
+	file.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:pattern value="/.*"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="web-app-versionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type contains the recognized versions of
+	web-application supported. It is used to designate the
+	version of the web application.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="xsd:token">
+      <xsd:enumeration value="2.4"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="web-appType">
+
+    <xsd:choice minOccurs="0" maxOccurs="unbounded">
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="distributable"
+		   type="j2ee:emptyType"/>
+      <xsd:element name="context-param"
+		   type="j2ee:param-valueType">
+
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The context-param element contains the declaration
+	    of a web application's servlet context
+	    initialization parameters.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="filter"
+		   type="j2ee:filterType"/>
+      <xsd:element name="filter-mapping"
+		   type="j2ee:filter-mappingType"/>
+      <xsd:element name="listener"
+		   type="j2ee:listenerType"/>
+      <xsd:element name="servlet"
+		   type="j2ee:servletType"/>
+      <xsd:element name="servlet-mapping"
+		   type="j2ee:servlet-mappingType"/>
+      <xsd:element name="session-config"
+		   type="j2ee:session-configType"/>
+      <xsd:element name="mime-mapping"
+		   type="j2ee:mime-mappingType"/>
+      <xsd:element name="welcome-file-list"
+		   type="j2ee:welcome-file-listType"/>
+      <xsd:element name="error-page"
+		   type="j2ee:error-pageType"/>
+      <xsd:element name="jsp-config"
+		   type="j2ee:jsp-configType"/>
+      <xsd:element name="security-constraint"
+		   type="j2ee:security-constraintType"/>
+      <xsd:element name="login-config"
+		   type="j2ee:login-configType"/>
+      <xsd:element name="security-role"
+		   type="j2ee:security-roleType"/>
+      <xsd:group ref="j2ee:jndiEnvironmentRefsGroup"/>
+      <xsd:element name="message-destination"
+		   type="j2ee:message-destinationType"/>
+      <xsd:element name="locale-encoding-mapping-list"
+		   type="j2ee:locale-encoding-mapping-listType"/>
+    </xsd:choice>
+
+    <xsd:attribute name="version"
+		   type="j2ee:web-app-versionType"
+		   use="required"/>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="web-resource-collectionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The web-resource-collectionType is used to identify a subset
+	of the resources and HTTP methods on those resources within
+	a web application to which a security constraint applies. If
+	no HTTP methods are specified, then the security constraint
+	applies to all HTTP methods.
+
+	Used in: security-constraint
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="web-resource-name"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The web-resource-name contains the name of this web
+	    resource collection.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="url-pattern"
+		   type="j2ee:url-patternType"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="http-method"
+		   type="j2ee:http-methodType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="welcome-file-listType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The welcome-file-list contains an ordered list of welcome
+	files elements.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="welcome-file"
+		   type="j2ee:string"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The welcome-file element contains file name to use
+	    as a default welcome file, such as index.html
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-app_2_5.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-app_2_5.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-app_2_5.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1268 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	    targetNamespace="http://java.sun.com/xml/ns/javaee"
+	    xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	    elementFormDefault="qualified"
+	    attributeFormDefault="unqualified"
+	    version="2.5">
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)web-app_2_5.xsds	1.62 05/08/06
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2003-2006 Sun Microsystems, Inc.
+      4150 Network Circle
+      Santa Clara, California 95054
+      U.S.A
+      All rights reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	This is the XML Schema for the Servlet 2.5 deployment descriptor.
+	The deployment descriptor must be named "WEB-INF/web.xml" in the
+	web application's war file.  All Servlet deployment descriptors
+	must indicate the web application schema by using the Java EE
+	namespace:
+
+	http://java.sun.com/xml/ns/javaee
+
+	and by indicating the version of the schema by
+	using the version element as shown below:
+
+	    <web-app xmlns="http://java.sun.com/xml/ns/javaee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="..."
+	      version="2.5">
+	      ...
+	    </web-app>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute for Java EE
+	namespace with the following location:
+
+	http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+
+      The following conventions apply to all Java EE
+      deployment descriptor elements unless indicated otherwise.
+
+      - In elements that specify a pathname to a file within the
+	same JAR file, relative filenames (i.e., those not
+	starting with "/") are considered relative to the root of
+	the JAR file's namespace.  Absolute filenames (i.e., those
+	starting with "/") also specify names in the root of the
+	JAR file's namespace.  In general, relative names are
+	preferred.  The exception is .war files where absolute
+	names are preferred for consistency with the Servlet API.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="javaee_5.xsd"/>
+  <xsd:include schemaLocation="jsp_2_1.xsd"/>
+
+
+<!-- **************************************************** -->
+
+  <xsd:element name="web-app" type="javaee:web-appType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The web-app element is the root of the deployment
+	descriptor for a web application.  Note that the sub-elements
+	of this element can be in the arbitrary order. Because of
+	that, the multiplicity of the elements of distributable,
+	session-config, welcome-file-list, jsp-config, login-config,
+	and locale-encoding-mapping-list was changed from "?" to "*"
+	in this schema.  However, the deployment descriptor instance
+	file must not contain multiple elements of session-config,
+	jsp-config, and login-config. When there are multiple elements of
+	welcome-file-list or locale-encoding-mapping-list, the container
+	must concatenate the element contents.  The multiple occurence
+	of the element distributable is redundant and the container
+	treats that case exactly in the same way when there is only
+	one distributable.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:unique name="web-app-servlet-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The servlet element contains the name of a servlet.
+	  The name must be unique within the web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:servlet"/>
+      <xsd:field    xpath="javaee:servlet-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="web-app-filter-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The filter element contains the name of a filter.
+	  The name must be unique within the web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:filter"/>
+      <xsd:field    xpath="javaee:filter-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="web-app-ejb-local-ref-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The ejb-local-ref-name element contains the name of an EJB
+	  reference. The EJB reference is an entry in the web
+	  application's environment and is relative to the
+	  java:comp/env context.  The name must be unique within
+	  the web application.
+
+	  It is recommended that name is prefixed with "ejb/".
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:ejb-local-ref"/>
+      <xsd:field    xpath="javaee:ejb-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="web-app-ejb-ref-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The ejb-ref-name element contains the name of an EJB
+	  reference. The EJB reference is an entry in the web
+	  application's environment and is relative to the
+	  java:comp/env context.  The name must be unique within
+	  the web application.
+
+	  It is recommended that name is prefixed with "ejb/".
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:ejb-ref"/>
+      <xsd:field    xpath="javaee:ejb-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="web-app-resource-env-ref-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The resource-env-ref-name element specifies the name of
+	  a resource environment reference; its value is the
+	  environment entry name used in the web application code.
+	  The name is a JNDI name relative to the java:comp/env
+	  context and must be unique within a web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:resource-env-ref"/>
+      <xsd:field    xpath="javaee:resource-env-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="web-app-message-destination-ref-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The message-destination-ref-name element specifies the name of
+	  a message destination reference; its value is the
+	  environment entry name used in the web application code.
+	  The name is a JNDI name relative to the java:comp/env
+	  context and must be unique within a web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:message-destination-ref"/>
+      <xsd:field    xpath="javaee:message-destination-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="web-app-res-ref-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The res-ref-name element specifies the name of a
+	  resource manager connection factory reference.  The name
+	  is a JNDI name relative to the java:comp/env context.
+	  The name must be unique within a web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:resource-ref"/>
+      <xsd:field    xpath="javaee:res-ref-name"/>
+    </xsd:unique>
+
+    <xsd:unique name="web-app-env-entry-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The env-entry-name element contains the name of a web
+	  application's environment entry.  The name is a JNDI
+	  name relative to the java:comp/env context.  The name
+	  must be unique within a web application.
+
+	</xsd:documentation>
+      </xsd:annotation>
+
+      <xsd:selector xpath="javaee:env-entry"/>
+      <xsd:field    xpath="javaee:env-entry-name"/>
+    </xsd:unique>
+
+    <xsd:key name="web-app-role-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  A role-name-key is specified to allow the references
+	  from the security-role-refs.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:security-role"/>
+      <xsd:field    xpath="javaee:role-name"/>
+    </xsd:key>
+
+    <xsd:keyref name="web-app-role-name-references"
+		refer="javaee:web-app-role-name-key">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The keyref indicates the references from
+	  security-role-ref to a specified role-name.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="javaee:servlet/javaee:security-role-ref"/>
+      <xsd:field    xpath="javaee:role-link"/>
+    </xsd:keyref>
+  </xsd:element>
+
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="auth-constraintType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The auth-constraintType indicates the user roles that
+	should be permitted access to this resource
+	collection. The role-name used here must either correspond
+	to the role-name of one of the security-role elements
+	defined for this web application, or be the specially
+	reserved role-name "*" that is a compact syntax for
+	indicating all roles in the web application. If both "*"
+	and rolenames appear, the container interprets this as all
+	roles.  If no roles are defined, no user is allowed access
+	to the portion of the web application described by the
+	containing security-constraint.  The container matches
+	role names case sensitively when determining access.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="role-name"
+		   type="javaee:role-nameType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="auth-methodType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The auth-methodType is used to configure the authentication
+	mechanism for the web application. As a prerequisite to
+	gaining access to any web resources which are protected by
+	an authorization constraint, a user must have authenticated
+	using the configured mechanism. Legal values are "BASIC",
+	"DIGEST", "FORM", "CLIENT-CERT", or a vendor-specific
+	authentication scheme.
+
+	Used in: login-config
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="dispatcherType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The dispatcher has four legal values: FORWARD, REQUEST, INCLUDE,
+	and ERROR. A value of FORWARD means the Filter will be applied
+	under RequestDispatcher.forward() calls.  A value of REQUEST
+	means the Filter will be applied under ordinary client calls to
+	the path or servlet. A value of INCLUDE means the Filter will be
+	applied under RequestDispatcher.include() calls.  A value of
+	ERROR means the Filter will be applied under the error page
+	mechanism.  The absence of any dispatcher elements in a
+	filter-mapping indicates a default of applying filters only under
+	ordinary client calls to the path or servlet.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="FORWARD"/>
+	<xsd:enumeration value="INCLUDE"/>
+	<xsd:enumeration value="REQUEST"/>
+	<xsd:enumeration value="ERROR"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="encodingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The encodingType defines IANA character sets.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:restriction base="xsd:string">
+      <xsd:pattern value="[^\s]+"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="error-codeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The error-code contains an HTTP error code, ex: 404
+
+	Used in: error-page
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:xsdPositiveIntegerType">
+	<xsd:pattern value="\d{3}"/>
+	<xsd:attribute name="id" type="xsd:ID"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="error-pageType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The error-pageType contains a mapping between an error code
+	or exception type to the path of a resource in the web
+	application.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:choice>
+	<xsd:element name="error-code"
+		     type="javaee:error-codeType"/>
+
+	<xsd:element name="exception-type"
+		     type="javaee:fully-qualified-classType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The exception-type contains a fully qualified class
+	      name of a Java exception type.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+      </xsd:choice>
+
+      <xsd:element name="location"
+		   type="javaee:war-pathType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The location element contains the location of the
+	    resource in the web application relative to the root of
+	    the web application. The value of the location must have
+	    a leading `/'.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="filter-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Declaration of the filter mappings in this web
+	application is done by using filter-mappingType.
+	The container uses the filter-mapping
+	declarations to decide which filters to apply to a request,
+	and in what order. The container matches the request URI to
+	a Servlet in the normal way. To determine which filters to
+	apply it matches filter-mapping declarations either on
+	servlet-name, or on url-pattern for each filter-mapping
+	element, depending on which style is used. The order in
+	which filters are invoked is the order in which
+	filter-mapping declarations that match a request URI for a
+	servlet appear in the list of filter-mapping elements.The
+	filter-name value must be the value of the filter-name
+	sub-elements of one of the filter declarations in the
+	deployment descriptor.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="filter-name"
+		   type="javaee:filter-nameType"/>
+      <xsd:choice minOccurs="1" maxOccurs="unbounded">
+	<xsd:element name="url-pattern"
+		     type="javaee:url-patternType"/>
+	<xsd:element name="servlet-name"
+		     type="javaee:servlet-nameType"/>
+      </xsd:choice>
+      <xsd:element name="dispatcher"
+		   type="javaee:dispatcherType"
+		   minOccurs="0" maxOccurs="4"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="filter-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The logical name of the filter is declare
+	by using filter-nameType. This name is used to map the
+	filter.  Each filter name is unique within the web
+	application.
+
+	Used in: filter, filter-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:extension base="javaee:nonEmptyStringType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="filterType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The filterType is used to declare a filter in the web
+	application. The filter is mapped to either a servlet or a
+	URL pattern in the filter-mapping element, using the
+	filter-name value to reference. Filters can access the
+	initialization parameters declared in the deployment
+	descriptor at runtime via the FilterConfig interface.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="filter-name"
+		   type="javaee:filter-nameType"/>
+      <xsd:element name="filter-class"
+		   type="javaee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The fully qualified classname of the filter.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="init-param"
+		   type="javaee:param-valueType"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The init-param element contains a name/value pair as
+	    an initialization param of a servlet filter
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="form-login-configType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The form-login-configType specifies the login and error
+	pages that should be used in form based login. If form based
+	authentication is not used, these elements are ignored.
+
+	Used in: login-config
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+
+      <xsd:element name="form-login-page"
+		   type="javaee:war-pathType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The form-login-page element defines the location in the web
+	    app where the page that can be used for login can be
+	    found.  The path begins with a leading / and is interpreted
+	    relative to the root of the WAR.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="form-error-page"
+		   type="javaee:war-pathType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The form-error-page element defines the location in
+	    the web app where the error page that is displayed
+	    when login is not successful can be found.
+	    The path begins with a leading / and is interpreted
+	    relative to the root of the WAR.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="http-methodType">
+    <xsd:annotation>
+
+      <xsd:documentation>
+
+	A HTTP method type as defined in HTTP 1.1 section 2.2.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+     <xsd:restriction base="xsd:token">
+         <xsd:pattern value="[\p{L}-[\p{Cc}\p{Z}]]+"/>
+     </xsd:restriction>
+
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="load-on-startupType">
+    <xsd:union memberTypes="javaee:null-charType xsd:integer"/>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="locale-encoding-mapping-listType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The locale-encoding-mapping-list contains one or more
+	locale-encoding-mapping(s).
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="locale-encoding-mapping"
+		   type="javaee:locale-encoding-mappingType"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="locale-encoding-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The locale-encoding-mapping contains locale name and
+	encoding name. The locale name must be either "Language-code",
+	such as "ja", defined by ISO-639 or "Language-code_Country-code",
+	such as "ja_JP".  "Country code" is defined by ISO-3166.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="locale"
+		   type="javaee:localeType"/>
+      <xsd:element name="encoding"
+		   type="javaee:encodingType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="localeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The localeType defines valid locale defined by ISO-639-1
+	and ISO-3166.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:restriction base="xsd:string">
+      <xsd:pattern value="[a-z]{2}(_|-)?([\p{L}\-\p{Nd}]{2})?"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="login-configType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The login-configType is used to configure the authentication
+	method that should be used, the realm name that should be
+	used for this application, and the attributes that are
+	needed by the form login mechanism.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="auth-method"
+		   type="javaee:auth-methodType"
+		   minOccurs="0"/>
+      <xsd:element name="realm-name"
+		   type="javaee:string" minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The realm name element specifies the realm name to
+	    use in HTTP Basic authorization.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="form-login-config"
+		   type="javaee:form-login-configType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="mime-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The mime-mappingType defines a mapping between an extension
+	and a mime type.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The extension element contains a string describing an
+	  extension. example: "txt"
+
+	</xsd:documentation>
+      </xsd:annotation>
+
+      <xsd:element name="extension"
+		   type="javaee:string"/>
+      <xsd:element name="mime-type"
+		   type="javaee:mime-typeType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="mime-typeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The mime-typeType is used to indicate a defined mime type.
+
+	Example:
+	"text/plain"
+
+	Used in: mime-mapping
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="nonEmptyStringType">
+    <xsd:annotation>
+      <xsd:documentation>
+	This type defines a string which contains at least one
+	character.
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:minLength value="1"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="null-charType">
+    <xsd:restriction base="xsd:string">
+      <xsd:enumeration value=""/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="security-constraintType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The security-constraintType is used to associate
+	security constraints with one or more web resource
+	collections
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="display-name"
+		   type="javaee:display-nameType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="web-resource-collection"
+		   type="javaee:web-resource-collectionType"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="auth-constraint"
+		   type="javaee:auth-constraintType"
+		   minOccurs="0"/>
+      <xsd:element name="user-data-constraint"
+		   type="javaee:user-data-constraintType"
+		   minOccurs="0"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="servlet-mappingType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The servlet-mappingType defines a mapping between a
+	servlet and a url pattern.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="servlet-name"
+		   type="javaee:servlet-nameType"/>
+      <xsd:element name="url-pattern"
+		   type="javaee:url-patternType"
+           minOccurs="1" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="servlet-nameType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The servlet-name element contains the canonical name of the
+	servlet. Each servlet name is unique within the web
+	application.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:extension base="javaee:nonEmptyStringType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="servletType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The servletType is used to declare a servlet.
+	It contains the declarative data of a
+	servlet. If a jsp-file is specified and the load-on-startup
+	element is present, then the JSP should be precompiled and
+	loaded.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="servlet-name"
+		   type="javaee:servlet-nameType"/>
+      <xsd:choice>
+	<xsd:element name="servlet-class"
+		     type="javaee:fully-qualified-classType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The servlet-class element contains the fully
+	      qualified class name of the servlet.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+
+	<xsd:element name="jsp-file"
+		     type="javaee:jsp-fileType"/>
+
+      </xsd:choice>
+
+      <xsd:element name="init-param"
+		   type="javaee:param-valueType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="load-on-startup"
+		   type="javaee:load-on-startupType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The load-on-startup element indicates that this
+	    servlet should be loaded (instantiated and have
+	    its init() called) on the startup of the web
+	    application. The optional contents of these
+	    element must be an integer indicating the order in
+	    which the servlet should be loaded. If the value
+	    is a negative integer, or the element is not
+	    present, the container is free to load the servlet
+	    whenever it chooses. If the value is a positive
+	    integer or 0, the container must load and
+	    initialize the servlet as the application is
+	    deployed. The container must guarantee that
+	    servlets marked with lower integers are loaded
+	    before servlets marked with higher integers. The
+	    container may choose the order of loading of
+	    servlets with the same load-on-start-up value.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="run-as"
+		   type="javaee:run-asType"
+		   minOccurs="0"/>
+      <xsd:element name="security-role-ref"
+		   type="javaee:security-role-refType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="session-configType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The session-configType defines the session parameters
+	for this web application.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="session-timeout"
+		   type="javaee:xsdIntegerType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The session-timeout element defines the default
+	    session timeout interval for all sessions created
+	    in this web application. The specified timeout
+	    must be expressed in a whole number of minutes.
+	    If the timeout is 0 or less, the container ensures
+	    the default behaviour of sessions is never to time
+	    out. If this element is not specified, the container
+	    must set its default timeout period.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="transport-guaranteeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The transport-guaranteeType specifies that the communication
+	between client and server should be NONE, INTEGRAL, or
+	CONFIDENTIAL. NONE means that the application does not
+	require any transport guarantees. A value of INTEGRAL means
+	that the application requires that the data sent between the
+	client and server be sent in such a way that it can't be
+	changed in transit. CONFIDENTIAL means that the application
+	requires that the data be transmitted in a fashion that
+	prevents other entities from observing the contents of the
+	transmission. In most cases, the presence of the INTEGRAL or
+	CONFIDENTIAL flag will indicate that the use of SSL is
+	required.
+
+	Used in: user-data-constraint
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:enumeration value="NONE"/>
+	<xsd:enumeration value="INTEGRAL"/>
+	<xsd:enumeration value="CONFIDENTIAL"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="user-data-constraintType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The user-data-constraintType is used to indicate how
+	data communicated between the client and container should be
+	protected.
+
+	Used in: security-constraint
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="transport-guarantee"
+		   type="javaee:transport-guaranteeType"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="war-pathType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The elements that use this type designate a path starting
+	with a "/" and interpreted relative to the root of a WAR
+	file.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:simpleContent>
+      <xsd:restriction base="javaee:string">
+	<xsd:pattern value="/.*"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="web-app-versionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type contains the recognized versions of
+	web-application supported. It is used to designate the
+	version of the web application.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:restriction base="xsd:token">
+      <xsd:enumeration value="2.5"/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="web-appType">
+
+    <xsd:choice minOccurs="0" maxOccurs="unbounded">
+      <xsd:group ref="javaee:descriptionGroup"/>
+      <xsd:element name="distributable"
+		   type="javaee:emptyType"/>
+      <xsd:element name="context-param"
+		   type="javaee:param-valueType">
+
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The context-param element contains the declaration
+	    of a web application's servlet context
+	    initialization parameters.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:element name="filter"
+		   type="javaee:filterType"/>
+      <xsd:element name="filter-mapping"
+		   type="javaee:filter-mappingType"/>
+      <xsd:element name="listener"
+		   type="javaee:listenerType"/>
+      <xsd:element name="servlet"
+		   type="javaee:servletType"/>
+      <xsd:element name="servlet-mapping"
+		   type="javaee:servlet-mappingType"/>
+      <xsd:element name="session-config"
+		   type="javaee:session-configType"/>
+      <xsd:element name="mime-mapping"
+		   type="javaee:mime-mappingType"/>
+      <xsd:element name="welcome-file-list"
+		   type="javaee:welcome-file-listType"/>
+      <xsd:element name="error-page"
+		   type="javaee:error-pageType"/>
+      <xsd:element name="jsp-config"
+		   type="javaee:jsp-configType"/>
+      <xsd:element name="security-constraint"
+		   type="javaee:security-constraintType"/>
+      <xsd:element name="login-config"
+		   type="javaee:login-configType"/>
+      <xsd:element name="security-role"
+		   type="javaee:security-roleType"/>
+      <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
+      <xsd:element name="message-destination"
+		   type="javaee:message-destinationType"/>
+      <xsd:element name="locale-encoding-mapping-list"
+		   type="javaee:locale-encoding-mapping-listType"/>
+    </xsd:choice>
+
+    <xsd:attribute name="version"
+		   type="javaee:web-app-versionType"
+		   use="required"/>
+    <xsd:attribute name="id" type="xsd:ID"/>
+
+    <xsd:attribute name="metadata-complete" type="xsd:boolean">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The metadata-complete attribute defines whether this
+	  deployment descriptor and other related deployment
+	  descriptors for this module (e.g., web service
+	  descriptors) are complete, or whether the class
+	  files available to this module and packaged with
+	  this application should be examined for annotations
+	  that specify deployment information.
+
+	  If metadata-complete is set to "true", the deployment
+	  tool must ignore any annotations that specify deployment
+	  information, which might be present in the class files
+	  of the application.
+
+	  If metadata-complete is not specified or is set to
+	  "false", the deployment tool must examine the class
+	  files of the application for annotations, as
+	  specified by the specifications.
+
+	</xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="web-resource-collectionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The web-resource-collectionType is used to identify a subset
+	of the resources and HTTP methods on those resources within
+	a web application to which a security constraint applies. If
+	no HTTP methods are specified, then the security constraint
+	applies to all HTTP methods.
+
+	Used in: security-constraint
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="web-resource-name"
+		   type="javaee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The web-resource-name contains the name of this web
+	    resource collection.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="description"
+		   type="javaee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="url-pattern"
+		   type="javaee:url-patternType"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="http-method"
+		   type="javaee:http-methodType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="welcome-file-listType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The welcome-file-list contains an ordered list of welcome
+	files elements.
+
+	Used in: web-app
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="welcome-file"
+		   type="xsd:string"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The welcome-file element contains file name to use
+	    as a default welcome file, such as index.html
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-facesconfig_1_2.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-facesconfig_1_2.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-facesconfig_1_2.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2071 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+
+<xsd:schema
+     targetNamespace="http://java.sun.com/xml/ns/javaee"
+     xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+     xmlns:xml="http://www.w3.org/XML/1998/namespace"
+     elementFormDefault="qualified"
+     attributeFormDefault="unqualified"
+     version="1.2">
+
+    <xsd:annotation>
+        <xsd:documentation>
+            $Id: web-facesconfig_1_2.xsd,v 1.11 2006/03/27 00:12:24 rogerk Exp $
+        </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:annotation>
+        <xsd:documentation>
+
+            Copyright 2005 Sun Microsystems, Inc., 
+            901 San Antonio Road, 
+            Palo Alto, California 94303, U.S.A. 
+            All rights reserved.
+
+            Sun Microsystems, Inc. has intellectual property 
+            rights relating to technology described in this document. In
+            particular, and without limitation, these intellectual
+            property rights may include one or more of the U.S. patents
+            listed at http://www.sun.com/patents and one or more
+            additional patents or pending patent applications in the
+            U.S. and other countries.
+
+            This document and the technology which it describes are
+            distributed under licenses restricting their use, copying,
+            distribution, and decompilation. No part of this document
+            may be reproduced in any form by any means without prior
+            written authorization of Sun and its licensors, if any.
+
+            Third-party software, including font technology, is
+            copyrighted and licensed from Sun suppliers.
+
+            Sun, Sun Microsystems, the Sun logo, Solaris, Java, Java EE,
+            JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+            Cup logo are trademarks or registered trademarks of Sun
+            Microsystems, Inc. in the U.S. and other countries.
+
+            Federal Acquisitions: Commercial Software - Government Users
+            Subject to Standard License Terms and Conditions.
+
+        </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:annotation>
+        <xsd:documentation>
+
+            <![CDATA[
+
+            The XML Schema for the JavaServer Faces Application
+            Configuration File (Version 1.2).
+
+            All JavaServer Faces configuration files must indicate
+            the JavaServer Faces schema by indicating the JavaServer
+            Faces namespace:
+
+            http://java.sun.com/xml/ns/javaee
+
+            and by indicating the version of the schema by
+            using the version element as shown below:
+
+            <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
+                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+                    xsi:schemaLocation="..."
+                    version="1.2">
+                ...
+            </faces-config>
+
+            The instance documents may indicate the published
+            version of the schema using xsi:schemaLocation attribute
+            for javaee namespace with the following location:
+
+            http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd
+
+            ]]>
+
+        </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:include schemaLocation="javaee_5.xsd"/>
+
+    <!-- **************************************************** -->
+
+    <xsd:element name = "faces-config" type="javaee:faces-configType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "faces-config" element is the root of the configuration
+                information hierarchy, and contains nested elements for all
+                of the other configuration settings.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:unique name="faces-config-converter-ID-uniqueness">
+            <xsd:annotation>
+                <xsd:documentation>
+
+                    Converter IDs must be unique within a document.
+
+                </xsd:documentation>
+            </xsd:annotation>
+
+            <xsd:selector xpath="javaee:converter"/>
+            <xsd:field    xpath="javaee:converter-id"/>
+        </xsd:unique>
+
+        <xsd:unique name="faces-config-converter-for-class-uniqueness">
+            <xsd:annotation>
+                <xsd:documentation>
+
+                    'converter-for-class' element values must be unique
+                    within a document.
+
+                </xsd:documentation>
+            </xsd:annotation>
+
+            <xsd:selector xpath="javaee:converter"/>
+            <xsd:field    xpath="javaee:converter-for-class"/>
+        </xsd:unique>
+
+        <xsd:unique name="faces-config-validator-ID-uniqueness">
+            <xsd:annotation>
+                <xsd:documentation>
+
+                    Validator IDs must be unique within a document.
+
+                </xsd:documentation>
+            </xsd:annotation>
+
+            <xsd:selector xpath="javaee:validator"/>
+            <xsd:field    xpath="javaee:validator-id"/>
+        </xsd:unique>
+
+        <xsd:unique name="faces-config-managed-bean-name-uniqueness">
+            <xsd:annotation>
+                <xsd:documentation>
+
+                    Managed bean names must be unique within a document.
+
+                </xsd:documentation>
+            </xsd:annotation>
+
+            <xsd:selector xpath="javaee:managed-bean"/>
+            <xsd:field    xpath="javaee:managed-bean-name"/>
+        </xsd:unique>
+    </xsd:element>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-configType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "faces-config" element is the root of the configuration
+                information hierarchy, and contains nested elements for all
+                of the other configuration settings.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:choice minOccurs="0" maxOccurs="unbounded">
+            <xsd:element name="application"
+                         type="javaee:faces-config-applicationType"/>
+            <xsd:element name="factory"
+                         type="javaee:faces-config-factoryType"/>
+            <xsd:element name="component"
+                         type="javaee:faces-config-componentType"/>
+            <xsd:element name="converter"
+                         type="javaee:faces-config-converterType"/>
+            <xsd:element name="managed-bean"
+                         type="javaee:faces-config-managed-beanType"/>
+            <xsd:element name="navigation-rule"
+                         type="javaee:faces-config-navigation-ruleType"/>
+            <xsd:element name="referenced-bean"
+                         type="javaee:faces-config-referenced-beanType"/>
+            <xsd:element name="render-kit"
+                         type="javaee:faces-config-render-kitType"/>
+            <xsd:element name="lifecycle"
+                         type="javaee:faces-config-lifecycleType"/>
+            <xsd:element name="validator"
+                         type="javaee:faces-config-validatorType"/>
+            <xsd:element name="faces-config-extension"
+                         type="javaee:faces-config-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:choice>
+            <xsd:attribute name = "id" type = "xsd:ID"/>
+            <xsd:attribute name="version"
+                type="javaee:faces-config-versionType"
+                use="required"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name = "faces-config-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for faces-config.  It may contain
+                implementation specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-applicationType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "application" element provides a mechanism to define the
+                various per-application-singleton implementation artifacts for
+                a particular web application that is utilizing 
+                JavaServer Faces.  For nested elements that are not specified, 
+                the JSF implementation must provide a suitable default.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:choice minOccurs="0" maxOccurs="unbounded">
+            <xsd:element name="action-listener"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                            
+                            The "action-listener" element contains the fully 
+                            qualified class name of the concrete 
+                            ActionListener implementation class that will be 
+                            called during the Invoke Application phase of the 
+                            request processing lifecycle.
+                            
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="default-render-kit-id"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                            
+                            The "default-render-kit-id" element allows the 
+                            application to define a renderkit to be used other 
+                            than the standard one. 
+                            
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="message-bundle"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                            
+                            The base name of a resource bundle representing 
+                            the message resources for this application.  See 
+                            the JavaDocs for the "java.util.ResourceBundle" 
+                            class for more information on the syntax of 
+                            resource bundle names.
+                            
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="navigation-handler"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                            
+                            The "navigation-handler" element contains the 
+                            fully qualified class name of the concrete 
+                            NavigationHandler implementation class that will 
+                            be called during the Invoke Application phase 
+                            of the request processing lifecycle, if the 
+                            default ActionListener (provided by the JSF 
+                            implementation) is used.
+                            
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="view-handler"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                            
+                            The "view-handler" element contains the fully 
+                            qualified class name of the concrete ViewHandler 
+                            implementation class that will be called during 
+                            the Restore View and Render Response phases of the 
+                            request processing lifecycle.  The faces 
+                            implementation must provide a default 
+                            implementation of this class.
+                            
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="state-manager"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                            
+                            The "state-manager" element contains the fully 
+                            qualified class name of the concrete StateManager 
+                            implementation class that will be called during 
+                            the Restore View and Render Response phases of the 
+                            request processing lifecycle.  The faces 
+                            implementation must provide a default 
+                            implementation of this class.
+                            
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="el-resolver"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                            
+                            The "el-resolver" element contains the fully
+                            qualified class name of the concrete
+                            javax.el.ELResolver implementation class
+                            that will be used during the processing of
+                            EL expressions.
+                            
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="property-resolver"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                            
+                            The "property-resolver" element contains the fully 
+                            qualified class name of the concrete 
+                            PropertyResolver implementation class that will 
+                            be used during the processing of value binding 
+                            expressions.
+                            
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="variable-resolver"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                            The "variable-resolver" element contains the fully
+                            qualified class name of the concrete 
+                            VariableResolver implementation class that will 
+                            be used during the processing of value binding 
+                            expressions.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element 
+                name="locale-config"
+                type="javaee:faces-config-locale-configType"/>
+            <xsd:element 
+                name="resource-bundle"
+                type="javaee:faces-config-application-resource-bundleType"/>
+            <xsd:element name="application-extension"
+                         type="javaee:faces-config-application-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+            </xsd:choice>
+        <xsd:attribute name = "id" type = "xsd:ID"/>
+    </xsd:complexType>
+
+    <xsd:complexType name="faces-config-application-resource-bundleType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+              The resource-bundle element inside the application element
+              references a java.util.ResourceBundle instance by name
+              using the var element.  ResourceBundles referenced in this
+              manner may be returned by a call to
+              Application.getResourceBundle() passing the current
+              FacesContext for this request and the value of the var
+              element below.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="base-name"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The fully qualified class name of the
+                        java.util.ResourceBundle instance.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="var"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The name by which this ResourceBundle instance
+                        is retrieved by a call to
+                        Application.getResourceBundle().
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name = "faces-config-application-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for application.  It may contain
+                implementation specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name = "faces-config-factoryType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "factory" element provides a mechanism to define the 
+                various Factories that comprise parts of the implementation 
+                of JavaServer Faces.  For nested elements that are not 
+                specified, the JSF implementation must provide a suitable 
+                default.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:choice minOccurs="0" maxOccurs="unbounded">
+            <xsd:element name="application-factory"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                            
+                        The "application-factory" element contains the 
+                        fully qualified class name of the concrete 
+                        ApplicationFactory implementation class that will 
+                        be called when 
+                        FactoryFinder.getFactory(APPLICATION_FACTORY) is
+                        called.
+                            
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="faces-context-factory"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                            
+                        The "faces-context-factory" element contains the
+                        fully qualified class name of the concrete
+                        FacesContextFactory implementation class that will
+                        be called when 
+                        FactoryFinder.getFactory(FACES_CONTEXT_FACTORY) 
+                        is called.
+                            
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="lifecycle-factory"
+                        type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                            
+                        The "lifecycle-factory" element contains the fully
+                        qualified class name of the concrete LifecycleFactory
+                        implementation class that will be called when
+                        FactoryFinder.getFactory(LIFECYCLE_FACTORY) is called.
+                            
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="render-kit-factory"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "render-kit-factory" element contains the fully
+                        qualified class name of the concrete RenderKitFactory
+                        implementation class that will be called when
+                        FactoryFinder.getFactory(RENDER_KIT_FACTORY) is 
+                        called.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="factory-extension"
+                         type="javaee:faces-config-factory-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:choice>
+        <xsd:attribute name = "id" type = "xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name = "faces-config-factory-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for factory.  It may contain
+                implementation specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-attributeType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "attribute" element represents a named, typed, value
+                associated with the parent UIComponent via the generic
+                attributes mechanism.
+
+                Attribute names must be unique within the scope of the parent
+                (or related) component.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="attribute-name"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "attribute-name" element represents the name under 
+                        which the corresponding value will be stored, in the 
+                        generic attributes of the UIComponent we are related 
+                        to.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="attribute-class"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "attribute-class" element represents the Java type
+                        of the value associated with this attribute name.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="default-value"
+                         type="javaee:faces-config-default-valueType"
+                         minOccurs="0"/>
+            <xsd:element name="suggested-value"
+                         type="javaee:faces-config-suggested-valueType"
+                         minOccurs="0"/>
+            <xsd:element name="attribute-extension"
+                         type="javaee:faces-config-attribute-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name = "id" type = "xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name = "faces-config-attribute-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for attribute.  It may contain 
+                implementation specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-componentType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "component" element represents a concrete UIComponent
+                implementation class that should be registered under the
+                specified type identifier, along with its associated 
+                properties and attributes.  Component types must be unique 
+                within the entire web application.
+
+                Nested "attribute" elements identify generic attributes that 
+                are recognized by the implementation logic of this component.
+                Nested "property" elements identify JavaBeans properties of 
+                the component class that may be exposed for manipulation 
+                via tools.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="component-type"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "component-type" element represents the name under 
+                        which the corresponding UIComponent class should be 
+                        registered.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="component-class"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "component-class" element represents the fully 
+                        qualified class name of a concrete UIComponent 
+                        implementation class.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="facet"
+                         type="javaee:faces-config-facetType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+            <xsd:element name="attribute"
+                         type="javaee:faces-config-attributeType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+            <xsd:element name="property"
+                         type="javaee:faces-config-propertyType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+            <xsd:element name="component-extension"
+                         type="javaee:faces-config-component-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-component-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+                Extension element for component.  It may contain 
+                implementation specific content.
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-default-localeType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "default-locale" element declares the default locale 
+                for this application instance.
+
+                It must be specified as :language:[_:country:[_:variant:]]
+                without the colons, for example "ja_JP_SJIS".  The
+                separators between the segments may be '-' or '_'.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:simpleContent>
+            <xsd:extension base="javaee:faces-config-localeType">
+                <xsd:attribute name="id" type="xsd:ID"/>                
+            </xsd:extension>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+
+    <xsd:complexType name="faces-config-default-valueType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "default-value" contains the value for the property or
+                attribute in which this element resides.  This value differs
+                from the "suggested-value" in that the property or attribute
+                must take the value, whereas in "suggested-value" taking the
+                value is optional.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:simpleContent>
+            <xsd:restriction base="javaee:string"/>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:simpleType name="faces-config-el-expressionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                EL expressions present within a faces config file
+                must start with the character sequence of '#{' and
+                end with '}'.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:restriction base="xsd:string">
+            <xsd:pattern value="#\{.*\}"/>
+        </xsd:restriction>
+    </xsd:simpleType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-facetType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Define the name and other design-time information for a facet
+                that is associated with a renderer or a component.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="facet-name"
+                         type="javaee:java-identifierType">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "facet-name" element represents the facet name 
+                        under which a UIComponent will be added to its parent.  
+                        It must be of type "Identifier".
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="facet-extension"
+                         type="javaee:faces-config-facet-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-facet-extensionType">
+         <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for facet.  It may contain implementation
+                specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-from-view-idType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The value of from-view-id must contain one of the following 
+                values:
+
+                  - The exact match for a view identifier that is recognized
+                    by the the ViewHandler implementation being used (such as
+                    "/index.jsp" if you are using the default ViewHandler).
+
+                  - A proper prefix of a view identifier, plus a trailing 
+                    "*" character.  This pattern indicates that all view 
+                    identifiers that match the portion of the pattern up to 
+                    the asterisk will match the surrounding rule.  When more 
+                    than one match exists, the match with the longest pattern 
+                    is selected.
+
+                  - An "*" character, which means that this pattern applies 
+                    to all view identifiers.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:simpleContent>
+            <xsd:restriction base="javaee:string"/>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-from-actionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "from-action" element contains an action reference 
+                expression that must have been executed (by the default 
+                ActionListener for handling application level events) 
+                in order to select the navigation rule.  If not specified, 
+                this rule will be relevant no matter which action reference 
+                was executed (or if no action reference was executed).
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:simpleContent>
+            <xsd:extension base="javaee:faces-config-el-expressionType">
+                <xsd:attribute name="id" type="xsd:ID"/>
+            </xsd:extension>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-converterType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "converter" element represents a concrete Converter
+                implementation class that should be registered under the
+                specified converter identifier.  Converter identifiers must 
+                be unique within the entire web application.
+
+                Nested "attribute" elements identify generic attributes that
+                may be configured on the corresponding UIComponent in order 
+                to affect the operation of the Converter.  Nested "property"
+                elements identify JavaBeans properties of the Converter
+                implementation class that may be configured to affect the
+                operation of the Converter.  "attribute" and "property" 
+                elements are intended to allow component developers to 
+                more completely describe their components to tools and users.
+                These elements have no required runtime semantics.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:choice>
+                <xsd:element name="converter-id"
+                             type="javaee:string">
+                    <xsd:annotation>
+                        <xsd:documentation>
+
+                            The "converter-id" element represents the 
+                            identifier under which the corresponding 
+                            Converter class should be registered.
+
+                        </xsd:documentation>
+                    </xsd:annotation>
+                </xsd:element>
+                
+                <xsd:element name="converter-for-class"
+                             type="javaee:fully-qualified-classType">
+                    <xsd:annotation>
+                        <xsd:documentation>
+
+                            The "converter-for-class" element represents the 
+                            fully qualified class name for which a Converter 
+                            class will be registered.
+
+                        </xsd:documentation>
+                    </xsd:annotation>
+                </xsd:element>
+            </xsd:choice>
+            
+            <xsd:element name="converter-class"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "converter-class" element represents the fully
+                        qualified class name of a concrete Converter 
+                        implementation class.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="attribute"
+                         type="javaee:faces-config-attributeType"
+                         minOccurs="0"
+                         maxOccurs="unbounded">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                       Nested "attribute" elements identify generic
+                       attributes that may be configured on the
+                       corresponding UIComponent in order to affect the
+                       operation of the Converter.  This attribute is
+                       primarily for design-time tools and is not
+                       specified to have any meaning at runtime.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="property"
+                         type="javaee:faces-config-propertyType"
+                         minOccurs="0"
+                         maxOccurs="unbounded">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                       Nested "property" elements identify JavaBeans
+                       properties of the Converter implementation class
+                       that may be configured to affect the operation of
+                       the Converter.  This attribute is primarily for
+                       design-time tools and is not specified to have
+                       any meaning at runtime.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="converter-extension"
+                         type="javaee:faces-config-converter-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name = "faces-config-converter-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for converter.  It may contain
+                implementation specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-lifecycleType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "lifecycle" element provides a mechanism to specify
+                modifications to the behaviour of the default Lifecycle
+                implementation for this web application.
+                
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:element name="phase-listener"
+                         type="javaee:fully-qualified-classType"
+                         minOccurs="0" 
+                         maxOccurs="unbounded">
+                
+                <xsd:annotation>
+                    <xsd:documentation>
+                    
+                        The "phase-listener" element contains the fully 
+                        qualified class name of the concrete PhaseListener 
+                        implementation class that will be registered on 
+                        the Lifecycle.
+                    
+                    </xsd:documentation>
+            </xsd:annotation>                
+            </xsd:element>
+            <xsd:element name="lifecycle-extension"
+                         type="javaee:faces-config-lifecycle-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name = "faces-config-lifecycle-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for lifecycle.  It may contain
+                implementation specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    
+    <!-- **************************************************** -->
+    
+    <xsd:simpleType name="faces-config-localeType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The localeType defines valid locale defined by ISO-639-1
+                and ISO-3166.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:restriction base="xsd:string">
+            <xsd:pattern value="[a-z]{2}(_|-)?([\p{L}\-\p{Nd}]{2})?"/>
+        </xsd:restriction>
+  </xsd:simpleType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-locale-configType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "locale-config" element allows the app developer to 
+                declare the supported locales for this application.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        
+        <xsd:sequence>
+            <xsd:element name="default-locale"
+                         type="javaee:faces-config-default-localeType"
+                         minOccurs="0">
+            </xsd:element>
+            <xsd:element name="supported-locale"
+                         type="javaee:faces-config-supported-localeType"
+                         minOccurs="0" 
+                         maxOccurs="unbounded">                
+            </xsd:element>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-managed-beanType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "managed-bean" element represents a JavaBean, of a 
+                particular class, that will be dynamically instantiated 
+                at runtime (by the default VariableResolver implementation) 
+                if it is referenced as the first element of a value binding 
+                expression, and no corresponding bean can be identified in 
+                any scope.  In addition to the creation of the managed bean, 
+                and the optional storing of it into the specified scope, 
+                the nested managed-property elements can be used to 
+                initialize the contents of settable JavaBeans properties of 
+                the created instance.
+                
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="managed-bean-name"
+                         type="javaee:java-identifierType">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "managed-bean-name" element represents the 
+                        attribute name under which a managed bean will 
+                        be searched for, as well as stored (unless the 
+                        "managed-bean-scope" value is "none").
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="managed-bean-class"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "managed-bean-class" element represents the fully
+                        qualified class name of the Java class that will be 
+                        used`to instantiate a new instance if creation of the 
+                        specified`managed bean is requested.
+
+                        The specified class must conform to standard JavaBeans
+                        conventions.  In particular, it must have a public
+                        zero-arguments constructor, and zero or more public
+                        property setters.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element 
+                name="managed-bean-scope"
+                type="javaee:faces-config-managed-bean-scopeOrNoneType">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "managed-bean-scope" element represents the scope 
+                        into which a newly created instance of the specified 
+                        managed bean will be stored (unless the value is 
+                        "none").
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:choice>
+                <xsd:element name="managed-property"
+                             type="javaee:faces-config-managed-propertyType"
+                             minOccurs="0"
+                             maxOccurs="unbounded"/>
+                <xsd:element name="map-entries"
+                             type="javaee:faces-config-map-entriesType"/>
+                <xsd:element name="list-entries"
+                             type="javaee:faces-config-list-entriesType"/>
+            </xsd:choice>
+            <xsd:element name="managed-bean-extension"
+                         type="javaee:faces-config-managed-bean-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name = "faces-config-managed-bean-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for managed-bean.  It may contain
+                implementation specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+
+    <!-- **************************************************** -->
+    
+    <xsd:complexType name="faces-config-managed-bean-scopeOrNoneType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                <![CDATA[
+                Defines the legal values for the <managed-bean-scope>
+                element's body content, which includes all of the scopes
+                normally used in a web application, plus the "none" value
+                indicating that a created bean should not be stored into
+                any scope.
+                ]]>
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:simpleContent>
+            <xsd:restriction base="javaee:string">
+                <xsd:enumeration value="request"/>
+                <xsd:enumeration value="session"/>
+                <xsd:enumeration value="application"/>
+                <xsd:enumeration value="none"/>
+            </xsd:restriction>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-managed-propertyType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "managed-property" element represents an individual 
+                property of a managed bean that will be configured to the 
+                specified value (or value set) if the corresponding 
+                managed bean is automatically created.
+                
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="property-name"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "property-name" element represents the JavaBeans 
+                        property name under which the corresponding value may 
+                        be stored.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="property-class"
+                         type="javaee:java-typeType"
+                         minOccurs="0">
+                <xsd:annotation>
+                    <xsd:documentation>
+                    
+                        The "property-class" element represents the Java type 
+                        of the value associated with this property name.  
+                        If not specified, it can be inferred from existing 
+                        classes; however, this element should be specified 
+                        if the configuration file is going to be the source 
+                        for generating the corresponding classes.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:choice>
+                <xsd:element name="map-entries"
+                             type="javaee:faces-config-map-entriesType"/>
+                <xsd:element name="null-value"
+                             type="javaee:faces-config-null-valueType">
+                </xsd:element>
+                <xsd:element name="value"
+                             type="javaee:faces-config-valueType"/>
+                <xsd:element name="list-entries"
+                             type="javaee:faces-config-list-entriesType"/>
+            </xsd:choice>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-map-entryType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "map-entry" element reprsents a single key-entry pair 
+                that will be added to the computed value of a managed 
+                property of type java.util.Map.
+                
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:element name="key"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "key" element is the String representation of a 
+                        map key that will be stored in a managed property of 
+                        type java.util.Map.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:choice>
+                <xsd:element name="null-value"
+                             type="javaee:faces-config-null-valueType"/>
+                <xsd:element name="value"
+                             type="javaee:faces-config-valueType"/>
+            </xsd:choice>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-map-entriesType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "map-entries' element represents a set of key-entry pairs 
+                that will be added to the computed value of a managed property 
+                of type java.util.Map.  In addition, the Java class types 
+                of the key and entry values may be optionally declared.
+                
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:element name="key-class"
+                         type="javaee:fully-qualified-classType"
+                         minOccurs="0">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "key-class" element defines the Java type to which 
+                        each "key" element in a set of "map-entry" elements 
+                        will be converted to.  If omitted, "java.lang.String" 
+                        is assumed.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="value-class"
+                         type="javaee:faces-config-value-classType"
+                         minOccurs="0"/>                
+            <xsd:element name="map-entry"
+                         type="javaee:faces-config-map-entryType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-navigation-caseType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "navigation-case" element describes a particular 
+                combination of conditions that must match for this case to 
+                be executed, and the view id of the component tree that 
+                should be selected next.
+                
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="from-action"
+                         type="javaee:faces-config-from-actionType"
+                         minOccurs="0">
+            </xsd:element>
+            <xsd:element name="from-outcome"
+                         type="javaee:string" minOccurs="0">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "from-outcome" element contains a logical outcome
+                        string returned by the execution of an application
+                        action method selected via an "actionRef" property
+                        (or a literal value specified by an "action" property)
+                        of a UICommand component.  If specified, this rule 
+                        will be relevant only if the outcome value matches 
+                        this element's value.  If not specified, this rule 
+                        will be relevant no matter what the outcome value was.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="to-view-id"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "to-view-id" element contains the view identifier 
+                        of the next view that should be displayed if this
+                        navigation rule is matched.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element 
+                name="redirect"
+                type="javaee:faces-config-redirectType" minOccurs="0"/>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-navigation-ruleType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "navigation-rule" element represents an individual 
+                decision rule that will be utilized by the default 
+                NavigationHandler implementation to make decisions on 
+                what view should be displayed next, based on the 
+                view id being processed.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="from-view-id"
+                         type="javaee:faces-config-from-view-idType"
+                         minOccurs="0"/>
+            <xsd:element name="navigation-case"
+                         type="javaee:faces-config-navigation-caseType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+            <xsd:element 
+                name="navigation-rule-extension"
+                type="javaee:faces-config-navigation-rule-extensionType"
+                minOccurs="0"
+                maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name = "faces-config-navigation-rule-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for navigation-rule.  It may contain
+                implementation specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-null-valueType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "null-value" element indicates that the managed
+                property in which we are nested will be explicitly
+                set to null if our managed bean is automatically
+                created.  This is different from omitting the managed
+                property element entirely, which will cause no
+                property setter to be called for this property.
+
+                The "null-value" element can only be used when the
+                associated "property-class" identifies a Java class,
+                not a Java primitive.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+    
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-propertyType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "property" element represents a JavaBean property of the 
+                Java class represented by our parent element.
+
+                Property names must be unique within the scope of the Java 
+                class that is represented by the parent element, and must 
+                correspond to property names that will be recognized when 
+                performing introspection against that class via 
+                java.beans.Introspector.
+                
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="property-name"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "property-name" element represents the JavaBeans 
+                        property name under which the corresponding value 
+                        may be stored.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="property-class"
+                         type="javaee:java-typeType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "property-class" element represents the Java type 
+                        of the value associated with this property name.  
+                        If not specified, it can be inferred from existing 
+                        classes; however, this element should be specified if 
+                        the configuration file is going to be the source for 
+                        generating the corresponding classes.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="default-value"
+                         type="javaee:faces-config-default-valueType"
+                         minOccurs="0"/>               
+            <xsd:element name="suggested-value"
+                         type="javaee:faces-config-suggested-valueType"
+                         minOccurs="0"/>
+            <xsd:element name="property-extension"
+                         type="javaee:faces-config-property-extensionType"
+                         minOccurs="0" 
+                         maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-property-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for property.  It may contain 
+                implementation specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-redirectType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                    The "redirect" element indicates that navigation to the
+                    specified "to-view-id" should be accomplished by 
+                    performing an HTTP redirect rather than the usual 
+                    ViewHandler mechanisms.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-referenced-beanType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "referenced-bean" element represents at design time the 
+                promise that a Java object of the specified type will exist at 
+                runtime in some scope, under the specified key.  This can be 
+                used by design time tools to construct user interface dialogs 
+                based on the properties of the specified class.  The presence 
+                or absence of a referenced bean element has no impact on the 
+                JavaServer Faces runtime environment inside a web application.
+                
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="referenced-bean-name"
+                         type="javaee:java-identifierType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "referenced-bean-name" element represents the 
+                        attribute name under which the corresponding 
+                        referenced bean may be assumed to be stored, in one 
+                        of 'request', 'session', or 'application' scopes.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="referenced-bean-class"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "referenced-bean-class" element represents the 
+                        fully qualified class name of the Java class 
+                        (either abstract or concrete) or Java interface 
+                        implemented by the corresponding referenced bean. 
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-render-kitType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "render-kit" element represents a concrete RenderKit 
+                implementation that should be registered under the specified 
+                render-kit-id.  If no render-kit-id is specified, the 
+                identifier of the default RenderKit 
+                (RenderKitFactory.DEFAULT_RENDER_KIT) is assumed.
+                
+            </xsd:documentation>
+        </xsd:annotation>
+        
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="render-kit-id"
+                         type="javaee:string"
+                         minOccurs="0">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "render-kit-id" element represents an identifier 
+                        for the RenderKit represented by the parent 
+                        "render-kit" element.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="render-kit-class"
+                         type="javaee:fully-qualified-classType"
+                         minOccurs="0">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "render-kit-class" element represents the fully 
+                        qualified class name of a concrete RenderKit 
+                        implementation class.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="renderer"
+                         type="javaee:faces-config-rendererType"
+                         minOccurs="0" 
+                         maxOccurs="unbounded"/>
+            <xsd:element name="render-kit-extension"
+                         type="javaee:faces-config-render-kit-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-rendererType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "renderer" element represents a concrete Renderer 
+                implementation class that should be registered under the 
+                specified component family and renderer type identifiers, 
+                in the RenderKit associated with the parent "render-kit" 
+                element.  Combinations of component family and 
+                renderer type must be unique within the RenderKit 
+                associated with the parent "render-kit" element.
+
+                Nested "attribute" elements identify generic component 
+                attributes that are recognized by this renderer.
+                
+            </xsd:documentation>
+        </xsd:annotation>
+        
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="component-family"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "component-family" element represents the 
+                        component family for which the Renderer represented 
+                        by the parent "renderer" element will be used.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>                    
+            </xsd:element>
+            <xsd:element name="renderer-type"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "renderer-type" element represents a renderer type 
+                        identifier for the Renderer represented by the parent 
+                        "renderer" element.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="renderer-class"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                        The "renderer-class" element represents the fully
+                        qualified class name of a concrete Renderer
+                        implementation class.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="facet"
+                         type="javaee:faces-config-facetType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+            <xsd:element name="attribute"
+                         type="javaee:faces-config-attributeType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+            <xsd:element name="renderer-extension"
+                         type="javaee:faces-config-renderer-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-renderer-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for renderer.  It may contain implementation
+                specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-render-kit-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for render-kit.  It may contain
+                implementation specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-suggested-valueType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "suggested-value" contains the value for the property or
+                attribute in which this element resides.  This value is 
+                advisory only and is intended for tools to use when 
+                populating pallettes.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:simpleContent>
+            <xsd:restriction base="javaee:string"/>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-supported-localeType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "supported-locale" element allows authors to declare
+                which locales are supported in this application instance.
+
+                It must be specified as :language:[_:country:[_:variant:]]
+                without the colons, for example "ja_JP_SJIS".  The
+                separators between the segments may be '-' or '_'.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:simpleContent>
+            <xsd:extension base="javaee:faces-config-localeType">
+                <xsd:attribute name="id" type="xsd:ID"/> 
+            </xsd:extension>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-validatorType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "validator" element represents a concrete Validator
+                implementation class that should be registered under the
+                specified validator identifier.  Validator identifiers must 
+                be unique within the entire web application.
+
+                Nested "attribute" elements identify generic attributes that 
+                may be configured on the corresponding UIComponent in order 
+                to affect the operation of the Validator.  Nested "property"
+                elements identify JavaBeans properties of the Validator
+                implementation class that may be configured to affect the
+                operation of the Validator.  "attribute" and "property" 
+                elements are intended to allow component developers to 
+                more completely describe their components to tools and users.
+                These elements have no required runtime semantics.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:group ref="javaee:descriptionGroup"/>
+            <xsd:element name="validator-id"
+                         type="javaee:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "validator-id" element represents the identifier 
+                        under which the corresponding Validator class should 
+                        be registered.
+                        
+                    </xsd:documentation>
+                </xsd:annotation>                
+            </xsd:element>
+            <xsd:element name="validator-class"
+                         type="javaee:fully-qualified-classType">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                        The "validator-class" element represents the fully 
+                        qualified class name of a concrete Validator 
+                        implementation class.  
+                        
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="attribute"
+                         type="javaee:faces-config-attributeType"
+                         minOccurs="0" 
+                         maxOccurs="unbounded">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        
+                       Nested "attribute" elements identify generic
+                       attributes that may be configured on the
+                       corresponding UIComponent in order to affect the
+                       operation of the Validator.  This attribute is
+                       primarily for design-time tools and is not
+                       specified to have any meaning at runtime.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+
+            </xsd:element>
+            <xsd:element name="property"
+                         type="javaee:faces-config-propertyType"
+                         minOccurs="0" 
+                         maxOccurs="unbounded">
+                <xsd:annotation>
+                    <xsd:documentation>
+
+                       Nested "property" elements identify JavaBeans
+                       properties of the Validator implementation class
+                       that may be configured to affect the operation of
+                       the Validator.  This attribute is primarily for
+                       design-time tools and is not specified to have
+                       any meaning at runtime.
+
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="validator-extension"
+                         type="javaee:faces-config-validator-extensionType"
+                         minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name = "faces-config-validator-extensionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                Extension element for validator.  It may contain
+                implementation specific content.
+
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:sequence>
+            <xsd:any namespace="##any"
+                     processContents="lax"
+                     minOccurs="0"
+                     maxOccurs="unbounded" />
+         </xsd:sequence>
+         <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:simpleType name="faces-config-valueType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                The "value" element is the String representation of
+                a literal value to which a scalar managed property
+                will be set, or a value binding expression ("#{...}")
+                that will be used to calculate the required value.
+                It will be converted as specified for the actual
+                property type.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:union 
+            memberTypes="javaee:faces-config-el-expressionType xsd:string"/>
+    </xsd:simpleType>
+    
+    <!-- **************************************************** -->
+    
+    <xsd:complexType name="faces-config-value-classType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "value-class" element defines the Java type to which each
+                "value" element's value will be converted to, prior to adding 
+                it to the "list-entries" list for a managed property that is 
+                a java.util.List, or a "map-entries" map for a managed 
+                property that is a java.util.Map.  
+                
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:simpleContent>
+            <xsd:restriction base="javaee:fully-qualified-classType"/>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:complexType name="faces-config-list-entriesType">
+        <xsd:annotation>
+            <xsd:documentation>
+                
+                The "list-entries" element represents a set of initialization
+                elements for a managed property that is a java.util.List or an
+                array.  In the former case, the "value-class" element can 
+                optionally be used to declare the Java type to which each 
+                value should be converted before adding it to the Collection.
+                
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:element name="value-class"
+                         type="javaee:faces-config-value-classType"
+                         minOccurs="0"/>
+            <xsd:choice minOccurs="0" maxOccurs="unbounded">
+                <xsd:element name="null-value"
+                             type="javaee:faces-config-null-valueType"/>
+                <xsd:element name="value"
+                             type="javaee:faces-config-valueType"/>
+            </xsd:choice>
+        </xsd:sequence>
+        <xsd:attribute name="id" type="xsd:ID"/>
+    </xsd:complexType>
+
+    <!-- **************************************************** -->
+
+    <xsd:simpleType name="faces-config-versionType">
+        <xsd:annotation>
+            <xsd:documentation>
+
+                This type contains the recognized versions of
+                faces-config supported.
+
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:restriction base="xsd:token">
+            <xsd:enumeration value="1.2"/>
+        </xsd:restriction>
+    </xsd:simpleType>
+
+    <!-- **************************************************** -->
+
+</xsd:schema>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-jsptaglibrary_2_0.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-jsptaglibrary_2_0.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/web-jsptaglibrary_2_0.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1031 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema
+     targetNamespace="http://java.sun.com/xml/ns/j2ee"
+     xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+     xmlns:xml="http://www.w3.org/XML/1998/namespace"
+     elementFormDefault="qualified"
+     attributeFormDefault="unqualified"
+     version="2.0">
+
+  <xsd:annotation>
+    <xsd:documentation>
+      @(#)web-jsptaglibrary_2_0.xsds	1.33 03/18/03
+    </xsd:documentation>
+  </xsd:annotation>
+  <xsd:annotation>
+    <xsd:documentation>
+
+      Copyright 2002 Sun Microsystems, Inc., 901 San Antonio
+      Road, Palo Alto, California 94303, U.S.A. All rights
+      reserved.
+
+      Sun Microsystems, Inc. has intellectual property rights
+      relating to technology described in this document. In
+      particular, and without limitation, these intellectual
+      property rights may include one or more of the U.S. patents
+      listed at http://www.sun.com/patents and one or more
+      additional patents or pending patent applications in the
+      U.S. and other countries.
+
+      This document and the technology which it describes are
+      distributed under licenses restricting their use, copying,
+      distribution, and decompilation. No part of this document
+      may be reproduced in any form by any means without prior
+      written authorization of Sun and its licensors, if any.
+
+      Third-party software, including font technology, is
+      copyrighted and licensed from Sun suppliers.
+
+      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+      JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+      Cup logo are trademarks or registered trademarks of Sun
+      Microsystems, Inc. in the U.S. and other countries.
+
+      Federal Acquisitions: Commercial Software - Government Users
+      Subject to Standard License Terms and Conditions.
+
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:annotation>
+    <xsd:documentation>
+      <![CDATA[
+
+	This is the XML Schema for the JSP Taglibrary
+	descriptor.  All Taglibrary descriptors must
+	indicate the tag library schema by using the Taglibrary
+	namespace:
+
+	http://java.sun.com/xml/ns/j2ee
+
+	and by indicating the version of the schema by
+	using the version element as shown below:
+
+	    <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="..."
+	      version="2.0">
+	      ...
+	    </taglib>
+
+	The instance documents may indicate the published
+	version of the schema using xsi:schemaLocation attribute
+	for J2EE namespace with the following location:
+
+	http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd
+
+	]]>
+    </xsd:documentation>
+  </xsd:annotation>
+
+  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
+
+
+<!-- **************************************************** -->
+
+
+  <xsd:element name="taglib" type="j2ee:taglibType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The taglib tag is the document root.
+	The definition of taglib is provided
+	by the taglibType.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:unique name="tag-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The taglib element contains, among other things, tag and
+	  tag-file elements.
+	  The name subelements of these elements must each be unique.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:tag|j2ee:tag-file"/>
+      <xsd:field    xpath="j2ee:name"/>
+    </xsd:unique>
+
+    <xsd:unique name="function-name-uniqueness">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  The taglib element contains function elements.
+	  The name subelements of these elements must each be unique.
+
+	</xsd:documentation>
+      </xsd:annotation>
+      <xsd:selector xpath="j2ee:function"/>
+      <xsd:field    xpath="j2ee:name"/>
+    </xsd:unique>
+
+  </xsd:element>
+
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="body-contentType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Provides a hint as to the content of the body of this tag.
+	Primarily intended for use by page composition tools.
+
+	There are currently four values specified:
+
+	tagdependent    The body of the tag is interpreted by the tag
+			implementation itself, and is most likely
+			in a different "language", e.g embedded SQL
+			statements.
+
+	JSP             The body of the tag contains nested JSP
+			syntax.
+
+	empty           The body must be empty
+
+	scriptless      The body accepts only template text, EL
+			Expressions, and JSP action elements.  No
+			scripting elements are allowed.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="tagdependent"/>
+	<xsd:enumeration value="JSP"/>
+	<xsd:enumeration value="empty"/>
+	<xsd:enumeration value="scriptless"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="extensibleType" abstract="true">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The extensibleType is an abstract base type that is used to
+	define the type of extension-elements. Instance documents
+	must substitute a known type to define the extension by
+	using xsi:type attribute to define the actual type of
+	extension-elements.
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="functionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The function element is used to provide information on each
+	function in the tag library that is to be exposed to the EL.
+
+	The function element may have several subelements defining:
+
+	description         Optional tag-specific information
+
+	display-name        A short name that is intended to be
+			    displayed by tools
+
+	icon                Optional icon element that can be used
+			    by tools
+
+	name                A unique name for this function
+
+	function-class      Provides the name of the Java class that
+			    implements the function
+
+	function-signature  Provides the signature, as in the Java
+			    Language Specification, of the Java
+			    method that is to be used to implement
+			    the function.
+
+	example             Optional informal description of an
+			    example of a use of this function
+
+	function-extension  Zero or more extensions that provide extra
+			    information about this function, for tool
+			    consumption
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="name"
+		   type="j2ee:tld-canonical-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    A unique name for this function.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="function-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Provides the fully-qualified class name of the Java
+	    class containing the static method that implements
+	    the function.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="function-signature"
+		   type="j2ee:string">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Provides the signature, of the static Java method that is
+	    to be used to implement the function.  The syntax of the
+	    function-signature element is as follows:
+
+		FunctionSignature ::= ReturnType S MethodName S?
+				      '(' S? Parameters? S? ')'
+
+                ReturnType        ::= Type
+
+		MethodName        ::= Identifier
+
+		Parameters        ::=   Parameter
+				      | ( Parameter S? ',' S? Parameters )
+
+                Parameter         ::= Type
+
+		Where:
+
+ 		    * Type is a basic type or a fully qualified Java class name
+		      (including package name), as per the 'Type' production
+		      in the Java Language Specification, Second Edition,
+		      Chapter 18.
+
+                    * Identifier is a Java identifier, as per the 'Identifier'
+		      production in the Java Language Specification, Second
+		      Edition, Chapter 18.
+
+	    Example:
+
+	    java.lang.String nickName( java.lang.String, int )
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="example"
+		   type="j2ee:xsdStringType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The example element contains an informal description
+	    of an example of the use of this function.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="function-extension"
+		   type="j2ee:tld-extensionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Function extensions are for tool use only and must not affect
+	    the behavior of a container.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="listenerType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Defines an event listener object to be instantiated and
+	registered automatically.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="listener-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The listener-class element declares a class in the
+	    application that must be registered as a web
+	    application listener bean.  See the Servlet
+	    specification for details.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="tagFileType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Defines an action in this tag library that is implemented
+	as a .tag file.
+
+	The tag-file element has two required subelements:
+
+	description       Optional tag-specific information
+
+	display-name      A short name that is intended to be
+			  displayed by tools
+
+	icon              Optional icon element that can be used
+			  by tools
+
+	name              The unique action name
+
+	path              Where to find the .tag file implementing this
+			  action, relative to the root of the web
+			  application or the root of the JAR file for a
+			  tag library packaged in a JAR.  This must
+			  begin with /WEB-INF/tags if the .tag file
+			  resides in the WAR, or /META-INF/tags if the
+			  .tag file resides in a JAR.
+
+	example           Optional informal description of an
+			  example of a use of this tag
+
+	tag-extension     Zero or more extensions that provide extra
+			  information about this tag, for tool
+			  consumption
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="name"
+		   type="j2ee:tld-canonical-nameType"/>
+      <xsd:element name="path"
+		   type="j2ee:pathType"/>
+      <xsd:element name="example"
+		   type="j2ee:xsdStringType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The example element contains an informal description
+	    of an example of the use of a tag.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="tag-extension"
+		   type="j2ee:tld-extensionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Tag extensions are for tool use only and must not affect
+	    the behavior of a container.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="tagType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The tag defines a unique tag in this tag library.  It has one
+	attribute, id.
+
+	The tag element may have several subelements defining:
+
+	description       Optional tag-specific information
+
+	display-name      A short name that is intended to be
+			  displayed by tools
+
+	icon              Optional icon element that can be used
+			  by tools
+
+	name              The unique action name
+
+	tag-class         The tag handler class implementing
+			  javax.servlet.jsp.tagext.JspTag
+
+	tei-class         An optional subclass of
+			  javax.servlet.jsp.tagext.TagExtraInfo
+
+	body-content      The body content type
+
+	variable          Optional scripting variable information
+
+	attribute         All attributes of this action that are
+			  evaluated prior to invocation.
+
+	dynamic-attributes Whether this tag supports additional
+			   attributes with dynamic names.  If
+			   true, the tag-class must implement the
+			   javax.servlet.jsp.tagext.DynamicAttributes
+			   interface.  Defaults to false.
+
+	example           Optional informal description of an
+			  example of a use of this tag
+
+	tag-extension     Zero or more extensions that provide extra
+			  information about this tag, for tool
+			  consumption
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="name"
+		   type="j2ee:tld-canonical-nameType"/>
+      <xsd:element name="tag-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines the subclass of javax.serlvet.jsp.tagext.JspTag
+	    that implements the request time semantics for
+	    this tag. (required)
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="tei-class"
+		   type="j2ee:fully-qualified-classType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines the subclass of javax.servlet.jsp.tagext.TagExtraInfo
+	    for this tag. (optional)
+
+	    If this is not given, the class is not consulted at
+	    translation time.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="body-content"
+		   type="j2ee:body-contentType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The default (if not defined) is JSP
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="variable"
+		   type="j2ee:variableType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="attribute"
+		   type="j2ee:tld-attributeType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="dynamic-attributes"
+		   type="j2ee:generic-booleanType"
+		   minOccurs="0"/>
+      <xsd:element name="example"
+		   type="j2ee:xsdStringType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The example element contains an informal description
+	    of an example of the use of a tag.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="tag-extension"
+		   type="j2ee:tld-extensionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Tag extensions are for tool use only and must not affect
+	    the behavior of a container.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="taglibType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The taglib tag is the document root, it defines:
+
+	description     a simple string describing the "use" of this taglib,
+			should be user discernable
+
+	display-name    the display-name element contains a
+			short name that is intended to be displayed
+			by tools
+
+	icon            optional icon that can be used by tools
+
+	tlib-version    the version of the tag library implementation
+
+	short-name      a simple default short name that could be
+			used by a JSP authoring tool to create
+			names with a mnemonic value; for example,
+			the it may be used as the prefered prefix
+			value in taglib directives
+
+	uri             a uri uniquely identifying this taglib
+
+	validator       optional TagLibraryValidator information
+
+	listener        optional event listener specification
+
+	tag             tags in this tag library
+
+	tag-file        tag files in this tag library
+
+	function        zero or more EL functions defined in this
+			tag library
+
+	taglib-extension zero or more extensions that provide extra
+			information about this taglib, for tool
+			consumption
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:element name="tlib-version"
+		   type="j2ee:dewey-versionType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Describes this version (number) of the taglibrary.
+	    It is described as a dewey decimal.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+
+      <xsd:element name="short-name"
+		   type="j2ee:tld-canonical-nameType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines a simple default name that could be used by
+	    a JSP authoring tool to create names with a
+	    mnemonicvalue; for example, it may be used as the
+	    preferred prefix value in taglib directives.  Do
+	    not use white space, and do not start with digits
+	    or underscore.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="uri"
+		   type="j2ee:xsdAnyURIType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines a public URI that uniquely identifies this
+	    version of the taglibrary.  Leave it empty if it
+	    does not apply.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+      <xsd:element name="validator"
+		   type="j2ee:validatorType"
+		   minOccurs="0">
+      </xsd:element>
+      <xsd:element name="listener"
+		   type="j2ee:listenerType"
+		   minOccurs="0" maxOccurs="unbounded">
+      </xsd:element>
+      <xsd:element name="tag"
+		   type="j2ee:tagType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="tag-file"
+		   type="j2ee:tagFileType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="function"
+		   type="j2ee:functionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="taglib-extension"
+		   type="j2ee:tld-extensionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Taglib extensions are for tool use only and must not affect
+	    the behavior of a container.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="version"
+		   type="j2ee:dewey-versionType"
+		   fixed="2.0"
+		   use="required">
+      <xsd:annotation>
+	<xsd:documentation>
+
+	  Describes the JSP version (number) this taglibrary
+	  requires in order to function (dewey decimal)
+
+	</xsd:documentation>
+      </xsd:annotation>
+
+    </xsd:attribute>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="tld-attributeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The attribute element defines an attribute for the nesting
+	tag.  The attributre element may have several subelements
+	defining:
+
+	description     a description of the attribute
+
+	name            the name of the attribute
+
+	required        whether the attribute is required or
+			optional
+
+	rtexprvalue     whether the attribute is a runtime attribute
+
+	type            the type of the attributes
+
+	fragment        whether this attribute is a fragment
+
+      </xsd:documentation>
+    </xsd:annotation>
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:element name="name"
+		   type="j2ee:java-identifierType"/>
+      <xsd:element name="required"
+		   type="j2ee:generic-booleanType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines if the nesting attribute is required or
+	    optional.
+
+	    If not present then the default is "false", i.e
+	    the attribute is optional.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+
+      <xsd:choice>
+	<xsd:sequence>
+	  <xsd:element name="rtexprvalue"
+		       type="j2ee:generic-booleanType"
+		       minOccurs="0">
+	    <xsd:annotation>
+	      <xsd:documentation>
+
+		Defines if the nesting attribute can have scriptlet
+		expressions as a value, i.e the value of the
+		attribute may be dynamically calculated at request
+		time, as opposed to a static value determined at
+		translation time.
+
+		If not present then the default is "false", i.e the
+		attribute has a static value
+
+	      </xsd:documentation>
+	    </xsd:annotation>
+
+	  </xsd:element>
+	  <xsd:element name="type"
+		       type="j2ee:fully-qualified-classType"
+		       minOccurs="0">
+	    <xsd:annotation>
+	      <xsd:documentation>
+
+		Defines the Java type of the attributes value.  For
+		static values (those determined at translation time)
+		the type is always java.lang.String.
+
+	      </xsd:documentation>
+	    </xsd:annotation>
+	  </xsd:element>
+	</xsd:sequence>
+	<xsd:element name="fragment"
+		     type="j2ee:generic-booleanType"
+		     minOccurs="0">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      "true" if this attribute is of type
+	      javax.jsp.tagext.JspFragment, representing dynamic
+	      content that can be re-evaluated as many times
+	      as needed by the tag handler.  If omitted or "false",
+	      the default is still type="java.lang.String"
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+      </xsd:choice>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="tld-canonical-nameType">
+
+    <xsd:annotation>
+      <xsd:documentation>
+
+	Defines the canonical name of a tag or attribute being
+	defined.
+
+	The name must conform to the lexical rules for an NMTOKEN.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:xsdNMTOKENType"/>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="tld-extensionType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The tld-extensionType is used to indicate
+	extensions to a specific TLD element.
+
+	It is used by elements to designate an extension block
+	that is targeted to a specific extension designated by
+	a set of extension elements that are declared by a
+	namespace. The namespace identifies the extension to
+	the tool that processes the extension.
+
+	The type of the extension-element is abstract. Therefore,
+	a concrete type must be specified by the TLD using
+	xsi:type attribute for each extension-element.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="extension-element"
+		   type="j2ee:extensibleType"
+		   maxOccurs="unbounded"/>
+    </xsd:sequence>
+
+    <xsd:attribute name="namespace"
+		   use="required"
+		   type="xsd:anyURI"/>
+    <xsd:attribute name="id" type="xsd:ID"/>
+
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="validatorType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	A validator that can be used to validate
+	the conformance of a JSP page to using this tag library is
+	defined by a validatorType.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0"
+		   maxOccurs="unbounded"/>
+      <xsd:element name="validator-class"
+		   type="j2ee:fully-qualified-classType">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Defines the TagLibraryValidator class that can be used
+	    to validate the conformance of a JSP page to using this
+	    tag library.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="init-param"
+		   type="j2ee:param-valueType"
+		   minOccurs="0" maxOccurs="unbounded">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The init-param element contains a name/value pair as an
+	    initialization param.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="variable-scopeType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	This type defines scope of the scripting variable.  See
+	TagExtraInfo for details.  The allowed values are,
+	"NESTED", "AT_BEGIN" and "AT_END".
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleContent>
+      <xsd:restriction base="j2ee:string">
+	<xsd:enumeration value="NESTED"/>
+	<xsd:enumeration value="AT_BEGIN"/>
+	<xsd:enumeration value="AT_END"/>
+      </xsd:restriction>
+    </xsd:simpleContent>
+  </xsd:complexType>
+
+<!-- **************************************************** -->
+
+  <xsd:complexType name="variableType">
+    <xsd:annotation>
+      <xsd:documentation>
+
+	The variableType provides information on the scripting
+	variables defined by using this tag.  It is a (translation
+	time) error for a tag that has one or more variable
+	subelements to have a TagExtraInfo class that returns a
+	non-null value from a call to getVariableInfo().
+
+	The subelements of variableType are of the form:
+
+	description              Optional description of this
+				 variable
+
+	name-given               The variable name as a constant
+
+	name-from-attribute      The name of an attribute whose
+				 (translation time) value will
+				 give the name of the
+				 variable.  One of name-given or
+				 name-from-attribute is required.
+
+	variable-class           Name of the class of the variable.
+				 java.lang.String is default.
+
+	declare                  Whether the variable is declared
+				 or not.  True is the default.
+
+	scope                    The scope of the scripting varaible
+				 defined.  NESTED is default.
+
+      </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:sequence>
+      <xsd:element name="description"
+		   type="j2ee:descriptionType"
+		   minOccurs="0" maxOccurs="unbounded"/>
+      <xsd:choice>
+	<xsd:element name="name-given"
+		     type="j2ee:java-identifierType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The name for the scripting variable.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+
+	<xsd:element name="name-from-attribute"
+		     type="j2ee:java-identifierType">
+	  <xsd:annotation>
+	    <xsd:documentation>
+
+	      The name of an attribute whose
+	      (translation-time) value will give the name of
+	      the variable.
+
+	    </xsd:documentation>
+	  </xsd:annotation>
+	</xsd:element>
+      </xsd:choice>
+      <xsd:element name="variable-class"
+		   type="j2ee:fully-qualified-classType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The optional name of the class for the scripting
+	    variable.  The default is java.lang.String.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+
+      </xsd:element>
+
+      <xsd:element name="declare"
+		   type="j2ee:generic-booleanType"
+		   minOccurs="0">
+
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    Whether the scripting variable is to be defined
+	    or not.  See TagExtraInfo for details.  This
+	    element is optional and "true" is the default.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+      <xsd:element name="scope"
+		   type="j2ee:variable-scopeType"
+		   minOccurs="0">
+	<xsd:annotation>
+	  <xsd:documentation>
+
+	    The element is optional and "NESTED" is the default.
+
+	  </xsd:documentation>
+	</xsd:annotation>
+      </xsd:element>
+    </xsd:sequence>
+    <xsd:attribute name="id" type="xsd:ID"/>
+  </xsd:complexType>
+
+</xsd:schema>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/xml.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/xml.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/schema/xml.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,86 @@
+<?xml version='1.0'?>
+<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
+  
+  <xs:annotation>
+    <xs:documentation> See http://www.w3.org/XML/1998/namespace.html and http://www.w3.org/TR/REC-xml for information about this namespace. This schema document describes the XML
+      namespace, in a form suitable for import by other schema documents. Note that local names in this namespace are intended to be defined only by the World Wide Web Consortium or its subgroups. The
+      following names are currently defined in this namespace and should not be used with conflicting semantics by any Working Group, specification, or document instance: base (as an attribute
+      name): denotes an attribute whose value provides a URI to be used as the base for interpreting any relative URIs in the scope of the element on which it appears; its value is inherited. This name is
+      reserved by virtue of its definition in the XML Base specification. id (as an attribute name): denotes an attribute whose value should be interpreted as if declared to be of type ID. The xml:id
+      specification is not yet a W3C Recommendation, but this attribute is included here to facilitate experimentation with the mechanisms it proposes. Note that it is _not_ included in the
+      specialAttrs attribute group. lang (as an attribute name): denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited.
+      This name is reserved by virtue of its definition in the XML specification. space (as an attribute name): denotes an attribute whose value is a keyword indicating what whitespace processing
+      discipline is intended for the content of the element; its value is inherited. This name is reserved by virtue of its definition in the XML specification. Father (in any context at all): denotes
+      Jon Bosak, the chair of the original XML Working Group. This name is reserved by the following decision of the W3C XML Plenary and XML Coordination groups: In appreciation for his vision,
+      leadership and dedication the W3C XML Plenary on this 10th day of February, 2000 reserves for Jon Bosak in perpetuity the XML name xml:Father </xs:documentation>
+  </xs:annotation>
+  
+  <xs:annotation>
+    <xs:documentation>This schema defines attributes and an attribute group suitable for use by schemas wishing to allow xml:base, xml:lang, xml:space or xml:id attributes on elements they
+      define. To enable this, such a schema must import this schema for the XML namespace, e.g. as follows:
+      &lt;schema . . .> . . .
+      &lt;import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/> Subsequently, qualified reference to any of the attributes or
+      the group defined below will have the desired effect, e.g.
+      
+      &lt;type . . .> . . .
+      &lt;attributeGroup ref="xml:specialAttrs"/> will define a type which will schema-validate an instance element with any of those attributes</xs:documentation>
+    
+  </xs:annotation>
+  
+  <xs:annotation>
+    <xs:documentation>In keeping with the XML Schema WG's standard versioning policy, this schema document will persist at http://www.w3.org/2005/08/xml.xsd. At the date of issue it can also be
+      found at http://www.w3.org/2001/xml.xsd. The schema document at that URI may however change in the future, in order to remain compatible with the latest version of XML Schema itself, or with
+      the XML namespace itself. In other words, if the XML Schema or XML namespaces change, the version of this document at http://www.w3.org/2001/xml.xsd will change accordingly; the version at
+      http://www.w3.org/2005/08/xml.xsd will not change. </xs:documentation>
+  </xs:annotation>
+  
+  <xs:attribute name="lang">
+    <xs:annotation>
+      <xs:documentation>Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility. See RFC 3066 at
+        http://www.ietf.org/rfc/rfc3066.txt and the IANA registry at http://www.iana.org/assignments/lang-tag-apps.htm for further information. The union allows for the
+        'un-declaration' of xml:lang with the empty string.</xs:documentation>
+      
+    </xs:annotation>
+    <xs:simpleType>
+      <xs:union memberTypes="xs:language">
+        <xs:simpleType>
+          <xs:restriction base="xs:string">
+            <xs:enumeration value=""/>
+          </xs:restriction>
+        </xs:simpleType>
+      </xs:union>
+      
+    </xs:simpleType>
+  </xs:attribute>
+  
+  <xs:attribute name="space">
+    <xs:simpleType>
+      <xs:restriction base="xs:NCName">
+        <xs:enumeration value="default"/>
+        <xs:enumeration value="preserve"/>
+      </xs:restriction>
+      
+    </xs:simpleType>
+  </xs:attribute>
+  
+  <xs:attribute name="base" type="xs:anyURI">
+    <xs:annotation>
+      <xs:documentation>See http://www.w3.org/TR/xmlbase/ for information about this attribute.</xs:documentation>
+    </xs:annotation>
+  </xs:attribute>
+  
+  <xs:attribute name="id" type="xs:ID">
+    
+    <xs:annotation>
+      <xs:documentation>See http://www.w3.org/TR/xml-id/ for information about this attribute.</xs:documentation>
+    </xs:annotation>
+  </xs:attribute>
+  
+  <xs:attributeGroup name="specialAttrs">
+    <xs:attribute ref="xml:base"/>
+    <xs:attribute ref="xml:lang"/>
+    <xs:attribute ref="xml:space"/>
+    
+  </xs:attributeGroup>
+  
+</xs:schema>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/tests/TESTS-TestSuites.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/tests/TESTS-TestSuites.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/docs/tests/TESTS-TestSuites.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,44 @@
+
+
+JBoss daily test results
+
+SUMMARY
+
+Number of tests run:   4111
+
+--------------------------------------------
+
+Successful tests:      4111
+
+Errors:                0
+
+Failures:              0
+
+--------------------------------------------
+
+
+
+[time of test: 2007-10-22.22-34 GMT]
+[java.version: 1.5.0_11]
+[java.vendor: Sun Microsystems Inc.]
+[java.vm.version: 1.5.0_11-b03]
+[java.vm.name: Java HotSpot(TM) Client VM]
+[java.vm.info: mixed mode]
+[os.name: Linux]
+[os.arch: i386]
+[os.version: 2.6.9-42.0.10.ELsmp]
+
+Useful resources:
+
+- http://jboss.sourceforge.net/junit-results/32/2007-10-22.22-34 for
+the junit report of this test.
+
+
+NOTE: If there are any errors shown above - this mail is only highlighting 
+them - it is NOT indicating that they are being looked at by anyone.
+
+It is assumed that whoever makes change(s) to jboss that 
+break the test will be fixing the test or jboss, as appropriate!
+
+--------------------------------------------
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/jar-versions.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/jar-versions.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/jar-versions.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jar-versions>
+  <jar name="activation.jar" specVersion="1.1" specVendor="Sun Microsystems, Inc." specTitle="JavaBeans(TM) Activation Framework Specification" implVersion="1.1" implVendor="Sun Microsystems, Inc." implTitle="Sun Java System Application Server" implVendorID="com.sun" implURL="http://www.jboss.org/" sealed="false" md5Digest="3dda8a46842fde66a1c01f0a19667dc4"/>
+  <jar name="antlr.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="16989c88aeeab84b01bcbf61b575804a"/>
+  <jar name="applet.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="114fee8c6b40ef9b3ed521a091443793"/>
+  <jar name="autonumber-plugin.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="3e237921091d7d104642b886d796c33b"/>
+  <jar name="avalon-framework.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="17bed8e66f97bc54a22dac7a6492ebdd"/>
+  <jar name="bcel.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="350b81da76501c0c51226c1073f85bbb"/>
+  <jar name="bindingservice-plugin.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="350f6c6a23e6368b1a8da22175629d20"/>
+  <jar name="bsf.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="70e62ff3fd2462ba37cb3d5e2a21abe2"/>
+  <jar name="bsh-deployer.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ff41caf034c9c22e9c953f8321a39e4b"/>
+  <jar name="bsh.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="92b9e7d6e2fb0973d2eccb1100da7533"/>
+  <jar name="cglib.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="5263211208914a206e4454692c5ace73"/>
+  <jar name="commons-codec.jar" specVersion="1.3" specVendor="Apache Software Foundation" specTitle="Jakarta Commons Codec" implVersion="1.3" implVendor="Apache Software Foundation" implTitle="org.apache.commons.codec" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="60bd408a5018ef9de8e7adad409ac13a"/>
+  <jar name="commons-collections.jar" specVersion="3.1" specVendor="Apache Software Foundation" specTitle="Commons Collections" implVersion="3.1" implVendor="Apache Software Foundation" implTitle="JBoss [Trinity]" implVendorID="" implURL="http://www.jboss.org/" sealed="false" md5Digest="ab6a625b46577e147f3eef4a1e844414"/>
+  <jar name="commons-httpclient.jar" specVersion="1.0" specVendor="Apache Software Foundation" specTitle="JBoss" implVersion="3.0.1" implVendor="Apache Software Foundation" implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="f26bc6e2259a0fdedfd3a18d451c3ca6"/>
+  <jar name="commons-logging.jar" specVersion="1.0" specVendor="Apache Software Foundation" specTitle="Jakarta Commons Logging" implVersion="1.1.0.jboss" implVendor="Red Hat Middleware LLC" implTitle="Jakarta Commons Logging" implVendorID="jboss.org" implURL="http://www.jboss.org/" sealed="false" md5Digest="e8ae012cc3caeefa46f46e265c4ef8c8"/>
+  <jar name="concurrent.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="53bc699bb9c91eb9e78a0760899d205"/>
+  <jar name="console-mgr-classes.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="99a775b7b16817c3ef26df7a2a3cd289"/>
+  <jar name="deployment-service.sar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="af10b5a9e536c866d8f6d0c7b9cb175e"/>
+  <jar name="derby-plugin.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="d613c18c2620855c1713221c6fc2becc"/>
+  <jar name="dom4j.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="c03e6e186f73a65665136fc476734830"/>
+  <jar name="ejb-management.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="d81c401c9b82d4f8481346277b03f2f9"/>
+  <jar name="ejb3-persistence.jar" specVersion="3.0 Final Release" specVendor="Sun Microsystems, Inc." specTitle="EJB 3.0" implVersion="3.0 Final Release September 22 2006" implVendor="hibernate.org" implTitle="EJB" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="fbd66afcf40f0879dc36e3a4de331a74"/>
+  <jar name="el-api.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="a53939edb258ca57db1d04500919654d"/>
+  <jar name="getopt.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ffedccc7da576e50a5ed1d3caa66a5fc"/>
+  <jar name="hibernate-annotations.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="8bb41669d953a8dd06ef9f356bd94fdc"/>
+  <jar name="hibernate-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="d942d14fb0e6a97733d4fdc9a357b984"/>
+  <jar name="hibernate-entitymanager.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ed43ee83a29e4a4fba5453a10d8e7b2d"/>
+  <jar name="hibernate3.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="3.2.4.sp1" implVendor="hibernate.org" implTitle="Hibernate3" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="dfa16687f1aac2c4e938d47c26d2fe51"/>
+  <jar name="hsqldb-plugin.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="4048835466feb90e2b80cb85fd42fc0e"/>
+  <jar name="hsqldb.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="fd0ba710735af1ea3da3ae66a6c51ec7"/>
+  <jar name="jacorb.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="4c7df4a8fb3ae7ce2975ddd5a6004d70"/>
+  <jar name="jasper-jdt.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="b5c0ee6babbdeda7f4a429a3304b1873"/>
+  <jar name="javassist.jar" specVersion="3.6.0.GA" specVendor="Shigeru Chiba, Tokyo Institute of Technology" specTitle="Javassist" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="1512acf3985ae50eca2a10f4a1917354"/>
+  <jar name="jaxb-api.jar" specVersion="2.1" specVendor="Sun Microsystems, Inc." specTitle="Java Architecture for XML Binding" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ce64a03cb610f902159217748a4ed1ec"/>
+  <jar name="jaxb-impl.jar" specVersion="2.1" specVendor="Sun Microsystems, Inc." specTitle="Java Architecture for XML Binding" implVersion="2.1.4" implVendor="Sun Microsystems, Inc." implTitle="JAXB Reference Implementation " implVendorID="com.sun" implURL="http://www.jboss.org/" sealed="false" md5Digest="d156f12539aee79787f7704b966d0cab"/>
+  <jar name="jaxb-xjc.jar" specVersion="2.1" specVendor="Sun Microsystems, Inc." specTitle="Java Architecture for XML Binding" implVersion="2.1.4" implVendor="Sun Microsystems, Inc." implTitle="JAXB Reference Implementation " implVendorID="com.sun" implURL="http://www.jboss.org/" sealed="false" md5Digest="8f16c6337431c13866d637751dc3159b"/>
+  <jar name="jaxen.jar" specVersion="4.2.2.GA" specVendor="Codehaus" specTitle="Universal Java XPath Engine" implVersion="1.1" implVendor="Codehaus" implTitle="org.jaxen" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="b249eff492dd93bf9105a7e10429f70d"/>
+  <jar name="jaxws-rt.jar" specVersion="2.0" specVendor="JBoss (http://www.jboss.org/)" specTitle="The Java API for XML Web Services" implVersion="2.0" implVendor="Sun Microsystems Inc" implTitle="JAX-WS Implementation" implVendorID="com.sun" implURL="http://www.jboss.org/" sealed="false" md5Digest="4f903312aea736cd3e714ad4c8bd1ac1"/>
+  <jar name="jaxws-tools.jar" specVersion="2.0" specVendor="JBoss (http://www.jboss.org/)" specTitle="The Java API for XML Web Services" implVersion="2.0" implVendor="Sun Microsystems Inc" implTitle="JAX-WS Implementation" implVendorID="com.sun" implURL="http://www.jboss.org/" sealed="false" md5Digest="5441863a20644003be8a2a4f81a4dad3"/>
+  <jar name="jboss-annotations-ejb3.jar" specVersion="JBoss EJB 3.0 AS 4.2.1 GA" specVendor="JBoss" specTitle="JBoss EJB 3.0" implVersion="JBoss EJB 3.0 AS 4.2.1 GA" implVendor="JBoss" implTitle="JBoss EJB 3.0" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.com/products/ejb3" sealed="false" md5Digest="5269b93585ed36f4663dea08dca4c50c"/>
+  <jar name="jboss-aop-jdk50-client.jar" specVersion="jboss-aop-1.5.6.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss AOP Framework" implVersion="jboss-aop-1.5.6.GA" implVendor="JBoss.org" implTitle="JBoss AOP Framework" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="425c4d41f06afa21d8ecc2ad947d99a8"/>
+  <jar name="jboss-aop-jdk50.jar" specVersion="jboss-aop-1.5.6.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss AOP Framework" implVersion="jboss-aop-1.5.6.GA" implVendor="JBoss.org" implTitle="JBoss AOP Framework" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="8dad7e13a986c0764301eb0a1210ef09"/>
+  <jar name="jboss-aspect-jdk50-client.jar" specVersion="jboss-aspect-library-1.5" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss AOP Aspect Library" implVersion="jboss-aspect-library-1.5" implVendor="JBoss Inc." implTitle="JBoss AOP Aspect Library" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="63718cb6e2f0146cf289327f3c42727"/>
+  <jar name="jboss-aspect-library-jdk50.jar" specVersion="jboss-aspect-library-1.5" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss AOP Aspect Library" implVersion="jboss-aspect-library-1.5" implVendor="JBoss Inc." implTitle="JBoss AOP Aspect Library" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="8d730a08cefdc1b1df98a8c9d56c674a"/>
+  <jar name="jboss-bean-deployer.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="2bdb4e92f2b6859193b4d47d01d70e52"/>
+  <jar name="jboss-cache-jdk50.jar" specVersion="1.4.1.SP5" specVendor="JBoss Inc." specTitle="JBossCache" implVersion="1.4.1.SP5" implVendor="JBoss Inc." implTitle="JBossCache" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="5e9db23d01792d427111a0b28e5b490"/>
+  <jar name="jboss-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="20bc1d682d6a6618f337de1afbf15838"/>
+  <jar name="jboss-common-client.jar" specVersion="1.2.1.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss Common" implVersion="1.2.1.GA (build: SVNTag=JBossCommon_1_2_1_GA date=200709251905)" implVendor="JBoss.org" implTitle="JBoss Common [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="fd24d3c5b53b76eeebabd5b8b2d2c99"/>
+  <jar name="jboss-common-jdbc-wrapper.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="5b76ecfd9fc2be747282fed0cb6b15"/>
+  <jar name="jboss-common.jar" specVersion="1.2.1.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss Common" implVersion="1.2.1.GA (build: SVNTag=JBossCommon_1_2_1_GA date=200709251905)" implVendor="JBoss.org" implTitle="JBoss Common [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="8229a27c6de3790b0e430b7014368daa"/>
+  <jar name="jboss-container.jar" specVersion="5.0.0" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="5.0.0alpha (build: CVSTag=HEAD date=200601252203)" implVendor="JBoss.org" implTitle="JBoss [TheOne]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="7269c8e204dd69b977e6e482a0ced8de"/>
+  <jar name="jboss-dependency.jar" specVersion="5.0.0" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="5.0.0alpha (build: CVSTag=HEAD date=200601252203)" implVendor="JBoss.org" implTitle="JBoss [TheOne]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="96cf1b911e7aed5a8e12ae4f3ec29458"/>
+  <jar name="jboss-deployment.jar" specVersion="1.1" specVendor="Sun Microsystems, Inc." specTitle="J2EE Deployment API" implVersion="1.1-DEV" implVendor="JBoss Inc." implTitle="JBoss JSR-88 Deployment API" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="c4f433192260a397438535d8753330f8"/>
+  <jar name="jboss-ejb3-client.jar" specVersion="JBoss EJB 3.0 AS 4.2.1 GA" specVendor="JBoss" specTitle="JBoss EJB 3.0" implVersion="JBoss EJB 3.0 AS 4.2.1 GA" implVendor="JBoss" implTitle="JBoss EJB 3.0" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.com/products/ejb3" sealed="false" md5Digest="5672c32c50d26e198dd4fd8f1a0a83c8"/>
+  <jar name="jboss-ejb3.jar" specVersion="JBoss EJB 3.0 AS 4.2.1 GA" specVendor="JBoss" specTitle="JBoss EJB 3.0" implVersion="JBoss EJB 3.0 AS 4.2.1 GA" implVendor="JBoss" implTitle="JBoss EJB 3.0" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.com/products/ejb3" sealed="false" md5Digest="9d9ec330a80ff1b8a2cedd4d369d323b"/>
+  <jar name="jboss-ejb3x.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="45a969e99245d1464c996c715fa40194"/>
+  <jar name="jboss-faces.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="844e563156adf9f0f0fe3373e216479c"/>
+  <jar name="jboss-ha-local-jdbc.rar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ea7db12d05923793e1ae7e5b23d60295"/>
+  <jar name="jboss-ha-xa-jdbc.rar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="31f3cac25d7f61417dcb6b075da8fcb3"/>
+  <jar name="jboss-hibernate.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="40b513d62cbe21e101a06d4d3a5320ad"/>
+  <jar name="jboss-iiop-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="f82b87109fe3d9ac137ba0a5ee03867b"/>
+  <jar name="jboss-iiop.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ccf40add442926ecf917669c263b7f28"/>
+  <jar name="jboss-j2ee.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="8eb31ff3d3eff9c62f54155022527c37"/>
+  <jar name="jboss-jaxb-intros.jar" specVersion="jbossws-2.0" specVendor="JBoss (http://www.jboss.org)" specTitle="JBossWS" implVersion="jbossws-1.0.0.beta2 (build=200709211102)" implVendor="JBoss Inc." implTitle="JBoss Web Services - Integration JBoss42" implVendorID="http://www.jboss.org" implURL="http://www.jboss.org/products/jbossws" sealed="false" md5Digest="95e0cffa4a1486da79fcf9bfbb3b6a87"/>
+  <jar name="jboss-jaxrpc.jar" specVersion="jbossws-2.0" specVendor="JBoss (http://www.jboss.org)" specTitle="JBossWS" implVersion="jbossws-native-2.0.1.SP2 (build=200710210837)" implVendor="JBoss Inc." implTitle="JBoss Web Services - Native" implVendorID="http://www.jboss.org" implURL="http://www.jboss.org/products/jbossws" sealed="false" md5Digest="c30250a0829ed499057cb7606e979cfe"/>
+  <jar name="jboss-jaxws.jar" specVersion="jbossws-2.0" specVendor="JBoss (http://www.jboss.org)" specTitle="JBossWS" implVersion="jbossws-native-2.0.1.SP2 (build=200710210837)" implVendor="JBoss Inc." implTitle="JBoss Web Services - Native" implVendorID="http://www.jboss.org" implURL="http://www.jboss.org/products/jbossws" sealed="false" md5Digest="bb1d5aee943bae01888fc5d09f146439"/>
+  <jar name="jboss-jca.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="d5c371e87101c2c77228b4aa7569319a"/>
+  <jar name="jboss-jmx.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="18292a022d34e86051034a8985da3a1"/>
+  <jar name="jboss-jsr77-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="1c720e6bcd8ba9f1316d0666cd3b46b"/>
+  <jar name="jboss-jsr77.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="d8166a94bda3a2c14c5f40994f85a420"/>
+  <jar name="jboss-jsr88.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="a237be00be258fc1d0e4d7c9593e515e"/>
+  <jar name="jboss-local-jdbc.rar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="cce49f45ed11af1d9b5465b6629b6301"/>
+  <jar name="jboss-management.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="b79d67597b3ab340d59245a5a6645ea2"/>
+  <jar name="jboss-microcontainer.jar" specVersion="5.0.0" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="5.0.0alpha (build: CVSTag=HEAD date=200601252203)" implVendor="JBoss.org" implTitle="JBoss [TheOne]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="8de8f1875d2997eb19471578e7d8ad1f"/>
+  <jar name="jboss-minimal.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="4efc819e382337f74f6e063620aea0f2"/>
+  <jar name="jboss-monitoring.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="31f4172bcf77b4e1a63e980379abc16b"/>
+  <jar name="jboss-remoting-int.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="1ee5a4cfe167190756efd90d1e330c7e"/>
+  <jar name="jboss-remoting.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="2370582bc2a8091943a33e85c306c991"/>
+  <jar name="jboss-saaj.jar" specVersion="jbossws-2.0" specVendor="JBoss (http://www.jboss.org)" specTitle="JBossWS" implVersion="jbossws-native-2.0.1.SP2 (build=200710210837)" implVendor="JBoss Inc." implTitle="JBoss Web Services - Native" implVendorID="http://www.jboss.org" implURL="http://www.jboss.org/products/jbossws" sealed="false" md5Digest="d55e576ee5690c344959028e8028ea15"/>
+  <jar name="jboss-serialization.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="8cb1463e85511af9f2cb3a3ac37cc639"/>
+  <jar name="jboss-srp-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="6360927015142477213b529fa96ccfe6"/>
+  <jar name="jboss-srp.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="89164b73208742f107785f9abf1317b1"/>
+  <jar name="jboss-system-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="e91449608e1e483ddfc67b8644689787"/>
+  <jar name="jboss-system.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="999f374ab94921f6ee97ab35ac4fff94"/>
+  <jar name="jboss-transaction-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ff00ea3ea7e6b458e587b8c80bdc55e8"/>
+  <jar name="jboss-transaction.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="c37c740771e06bf2efcdffefe20f42f5"/>
+  <jar name="jboss-vfs.jar" specVersion="1.0.0.GA" specVendor="JBoss, A division of Red Hat" specTitle="JBoss VFS" implVersion="1.0.0.GA" implVendor="JBoss, A division of Red Hat" implTitle="JBoss VFS" implVendorID="jboss" implURL="http://www.jboss.org/" sealed="false" md5Digest="6489e069e50f952bd004ab0b93a2f1fe"/>
+  <jar name="jboss-web-cluster.aop" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="9071332e9f5ffccb8a83a97379eebe44"/>
+  <jar name="jboss-xa-jdbc.rar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="8b85edf20bb80346b0b8680961a59a89"/>
+  <jar name="jboss-xml-binding.jar" specVersion="1.0.0.SP1" specVendor="JBoss Inc." specTitle="JBoss XML Binding" implVersion="1.0.0.SP1" implVendor="JBoss Inc." implTitle="JBoss XML Binding" implVendorID="org.jboss" implURL="http://www.jboss.org" sealed="false" md5Digest="d0cc2c41ee6633d9a0fe434375567aa9"/>
+  <jar name="jboss.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="8f831cdb4ef1b84205ab1ada9b66f2f5"/>
+  <jar name="jbossall-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="8f9bc3725711bb72782d7074f0305822"/>
+  <jar name="jbosscx-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="42780b99aee25acfb3fd3c75da0c0a0f"/>
+  <jar name="jbossha-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="7e1074c10b0a94b6b1489cb111af5c78"/>
+  <jar name="jbossha.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="a8d0868c15c1a2b0dfd034f74f444240"/>
+  <jar name="jbossjmx-ant.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="e2be1a34fa34917fc24cb4f3a7acb3c3"/>
+  <jar name="jbossjta-integration.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="acc01ad08189a9fcb6d8605127a58765"/>
+  <jar name="jbossjta.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="2bb1a5f26e183b778f8cb0f94321ce49"/>
+  <jar name="jbossmq-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="c8efa4fcc79c12b73c2f5255b308a0ae"/>
+  <jar name="jbossmq.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="c4cb6f723e8047e602b3102b61635af2"/>
+  <jar name="jbosssx-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="1cf810a93616a4df61d18aa2cebcd456"/>
+  <jar name="jbosssx.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="6da3acbd9d86b4d62433756eacd5892f"/>
+  <jar name="jbossts-common.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="b9be36eea5c9c0155332edca36d779c3"/>
+  <jar name="jbossweb-extras.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="23229348d2a18cdeb8a6efb237a9132a"/>
+  <jar name="jbossweb-service.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="1813aaa162fa6ad5410d2ba66b0e0afc"/>
+  <jar name="jbossweb.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ad22656142ba7994316056cd7ff999e5"/>
+  <jar name="jbossws-client.jar" specVersion="jbossws-2.0" specVendor="JBoss (http://www.jboss.org)" specTitle="JBossWS" implVersion="jbossws-native-2.0.1.SP2 (build=200710210837)" implVendor="JBoss Inc." implTitle="JBoss Web Services - Native" implVendorID="http://www.jboss.org" implURL="http://www.jboss.org/products/jbossws" sealed="false" md5Digest="c44cab99583fac7ce3d8f3788a5e7f76"/>
+  <jar name="jbossws-common.jar" specVersion="jbossws-2.0" specVendor="JBoss (http://www.jboss.org)" specTitle="JBossWS" implVersion="jbossws-1.0.0.GA (build=200708171750)" implVendor="JBoss Inc." implTitle="JBoss Web Services - Common" implVendorID="http://www.jboss.org" implURL="http://www.jboss.org/products/jbossws" sealed="false" md5Digest="e346fdc51051cc117a7e03b721269bfc"/>
+  <jar name="jbossws-core.jar" specVersion="jbossws-2.0" specVendor="JBoss (http://www.jboss.org)" specTitle="JBossWS" implVersion="jbossws-native-2.0.1.SP2 (build=200710210837)" implVendor="JBoss Inc." implTitle="JBoss Web Services - Native" implVendorID="http://www.jboss.org" implURL="http://www.jboss.org/products/jbossws" sealed="false" md5Digest="db3f582743c653cbb7a0458c46130b84"/>
+  <jar name="jbossws-framework.jar" specVersion="jbossws-2.0" specVendor="JBoss (http://www.jboss.org)" specTitle="JBossWS" implVersion="jbossws-2.0.1.GA (build=200708171602)" implVendor="JBoss Inc." implTitle="JBoss Web Services - Framework" implVendorID="http://www.jboss.org" implURL="http://www.jboss.org/products/jbossws" sealed="false" md5Digest="55d960c4f414da5a8814923547e3ceab"/>
+  <jar name="jbossws-jboss42.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) (build=200710221143)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="2d18d862e6c4cc8ebc65fae9f329bbf2"/>
+  <jar name="jbossws-native.jar" specVersion="jbossws-2.0" specVendor="JBoss (http://www.jboss.org)" specTitle="JBossWS" implVersion="jbossws-native-2.0.1.SP2 (build=200710210837)" implVendor="JBoss Inc." implTitle="JBoss Web Services - Native" implVendorID="http://www.jboss.org" implURL="http://www.jboss.org/products/jbossws" sealed="false" md5Digest="47a893abafab9b28d9bb0f4e4b8fb5a9"/>
+  <jar name="jbossws-spi.jar" specVersion="jbossws-2.0" specVendor="JBoss (http://www.jboss.org)" specTitle="JBossWS" implVersion="jbossws-1.0.0.GA (build=200708171551)" implVendor="JBoss Inc." implTitle="JBoss Web Services - SPI" implVendorID="http://www.jboss.org" implURL="http://www.jboss.org/products/jbossws" sealed="false" md5Digest="25ad14fc665f929b51ea0ea3f63ccc88"/>
+  <jar name="jcommon.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="91918d9bafa2bd73bfb6aaa70f57c737"/>
+  <jar name="jfreechart.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="57880f213b051804087b630597bf55e2"/>
+  <jar name="jgroups.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="2.4.1-SP4" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="5695bc440309e6da0418d135d594284c"/>
+  <jar name="jms-ra.rar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="125ee136d4dd9f99768083f69dc2a2ea"/>
+  <jar name="jmx-adaptor-plugin.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="5a15cc238e4c34c934d84a3847078ed0"/>
+  <jar name="jmx-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ace952f2e5dbcbbbd6939864a23ab6cf"/>
+  <jar name="jmx-invoker-adaptor-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="d83a75362d1044f41dffa0b30a4c6bf6"/>
+  <jar name="jnp-client.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="9881bc9ae412eaf3880d3df07bace4cc"/>
+  <jar name="jnpserver.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="e45d8fda0364175639ac85fb70da4e0c"/>
+  <jar name="joesnmp.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="0.3.4" implVendor="joeSNMP" implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://sourceforge.net/projects/joesnmp" sealed="false" md5Digest="48c5fc3149880fe13792c8733f31a384"/>
+  <jar name="jpl-pattern.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="bf0cf186fcf6ee580dc5be2ecc3a86c7"/>
+  <jar name="jpl-util.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="c3cb2c7fb546d78a9fcf151d869afd67"/>
+  <jar name="jsf-api.jar" specVersion="1.2MR1" specVendor="JBoss (http://www.jboss.org/)" specTitle="JavaServer Faces" implVersion="1.2_04-b16-p02" implVendor="Sun Microsystems, Inc." implTitle="Sun Microsystems JavaServer Faces Implementation" implVendorID="com.sun" implURL="http://www.jboss.org/" sealed="false" md5Digest="996f20ee840b6caeafa739aaadb8cc86"/>
+  <jar name="jsf-impl.jar" specVersion="1.2MR1" specVendor="JBoss (http://www.jboss.org/)" specTitle="JavaServer Faces" implVersion="1.2_04-b16-p02" implVendor="Sun Microsystems, Inc." implTitle="Sun Microsystems JavaServer Faces Implementation" implVendorID="com.sun" implURL="http://www.jboss.org/" sealed="false" md5Digest="42e763a3f932ede319e9f003b88d0068"/>
+  <jar name="jsp-api.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="80323926f48818d411934fa9a320bcc1"/>
+  <jar name="jstl.jar" specVersion="1.2" specVendor="Sun Microsystems, Inc." specTitle="JavaServer Pages(TM) Standard Tag Library" implVersion="1.2" implVendor="Sun Microsystems, Inc." implTitle="Sun Java System Application Server" implVendorID="org.apache" implURL="http://www.jboss.org/" sealed="false" md5Digest="c047dc51db6012d753f1b397624ba1f9"/>
+  <jar name="juddi-saaj.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="d1e78b10d9e3a236b843e902ee468b4c"/>
+  <jar name="juddi-service.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="78f74ff753acfaba236e1b7dad7c98b4"/>
+  <jar name="juddi.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="81e49bdf429961a3ed2c826b6b5125f7"/>
+  <jar name="log4j-boot.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="f5174db374d44a0edeeeebcd3f03ad7a"/>
+  <jar name="log4j-snmp-appender.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="98b2fe4288439c3e2c29becb596c3bc4"/>
+  <jar name="log4j.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="44c82660722df008788c4c9d94df674e"/>
+  <jar name="logging-monitor.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="6e71c4add9e1ae73f4af050c9326a732"/>
+  <jar name="logkit.jar" specVersion="1.0" specVendor="Apache Software Foundation" specTitle="JBoss" implVersion="1.2" implVendor="Apache Software Foundation" implTitle="JBoss [Trinity]" implVendorID="ASF" implURL="http://www.jboss.org/" sealed="false" md5Digest="2fd63b6b5b25a27f4ba005345c4171e3"/>
+  <jar name="mail-plugin.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="a3d3204f8d0273db5b1a0e6b4e3b9df0"/>
+  <jar name="mail-ra.rar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="654d275e137602053879c47116e7606e"/>
+  <jar name="mail.jar" specVersion="1.4" specVendor="Sun Microsystems, Inc." specTitle="JavaMail(TM) API Design Specification" implVersion="1.4" implVendor="Sun Microsystems, Inc." implTitle="JavaMail(TM) API Reference Implementation" implVendorID="com.sun" implURL="http://www.jboss.org/" sealed="false" md5Digest="42c596b42b738f7426769547e8775f43"/>
+  <jar name="netboot.war" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="f39e3e6445ab37e3a473e7fe652caa02"/>
+  <jar name="otherimages.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="838f1ad3bba30a23de35b4c06f67a591"/>
+  <jar name="policy.jar" specVersion="4.2.2.GA" specVendor="Apache Software Foundation" specTitle="" implVersion="1.0" implVendor="Apache Software Foundation" implTitle="org.apache.ws.policy" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="a578452384cdb51fab0c613307336f0a"/>
+  <jar name="properties-plugin.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="330d58e5fadcede891b518923a7f1e06"/>
+  <jar name="quartz-ra.rar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="b146ecb7ab67ada2b7e8045d17a6d289"/>
+  <jar name="quartz.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="1.5.2" implVendor="OpenSymphony" implTitle="Quartz Enterprise Job Scheduler" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ed4885fda46094602053dcd7a98198f6"/>
+  <jar name="run.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="a69a9f69cb13c97f5a310bff5f41dbf2"/>
+  <jar name="scheduler-plugin-example.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="bcbcd573a29745f566d4e6d2f5eea976"/>
+  <jar name="scheduler-plugin.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="713d2a37ec349f64230c9db8f2aa9751"/>
+  <jar name="scout.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="eeb9776e982d240b3a8fc9b969769e23"/>
+  <jar name="serializer.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="f39549c5e04a8b1a0019bc0519b13a61"/>
+  <jar name="servlet-api.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="9eb8aa9419ca250a6ff995ba24c71ad3"/>
+  <jar name="shutdown.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="b8a5bb08d7f7bdd37fadc835c1768647"/>
+  <jar name="snmp-adaptor.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="24c5dcb2e94e4b24fcf38dc09c68e4d"/>
+  <jar name="stax-api.jar" specVersion="1.0" specVendor="JCP-173" specTitle="StAX" implVersion="1.0" implVendor="JCP" implTitle="StAX 1.0 API" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="38c8a3977f96465128f6eaf82540eaac"/>
+  <jar name="stax-ex.jar" specVersion="4.2.2.GA" specVendor="java.net" specTitle="" implVersion="1.1-SNAPSHOT" implVendor="java.net" implTitle="org.jvnet.staxex" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ac7429f931e963e20374a3b1eb85f241"/>
+  <jar name="streambuffer.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="0.3" implVendor="Sun Microsystems, Inc." implTitle="XML Stream Buffer Implementation " implVendorID="com.sun" implURL="http://www.jboss.org/" sealed="false" md5Digest="c14c3da4e74b88d336be93eb0d5ded12"/>
+  <jar name="trove.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="d01d9ee7e9aa7afc839619406145e9db"/>
+  <jar name="twiddle.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="ae8fb2a78eb888dc472e6900b1c4ec3"/>
+  <jar name="wsdl4j.jar" specVersion="1.2" specVendor="IBM (Java Community Process)" specTitle="JWSDL" implVersion="1.6.2" implVendor="IBM" implTitle="WSDL4J" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="9cb35e45a722b226f479aef9de21559c"/>
+  <jar name="wstx.jar" specVersion="1.0" specVendor="http://jcp.org/en/jsr/detail?id=173" specTitle="StAX 1.0 API" implVersion="3.1.1" implVendor="woodstox.codehaus.org" implTitle="WoodSToX XML-processor" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="18862e30882588defa08eac4387d2384"/>
+  <jar name="xalan.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="fe25c742f2e91cc02b71bc0a41f29f1"/>
+  <jar name="xercesImpl.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="2fda49d290b78f7ea886d934fb2fc58"/>
+  <jar name="xmlentitymgr.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="971d5b60441ee0b1b4856a024afc6cc6"/>
+  <jar name="xmlsec.jar" specVersion="4.2.2.GA" specVendor="JBoss (http://www.jboss.org/)" specTitle="JBoss" implVersion="4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)" implVendor="JBoss Inc." implTitle="JBoss [Trinity]" implVendorID="http://www.jboss.org/" implURL="http://www.jboss.org/" sealed="false" md5Digest="24f15bac573016fadaa31acd8c505bde"/>
+</jar-versions>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lgpl.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lgpl.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lgpl.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,350 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head>
+      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+   <title>Appendix&nbsp;A.&nbsp;GNU Lesser General Public License</title><meta name="generator" content="DocBook XSL Stylesheets V1.69.1a"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="appendix" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="lgpl"></a>GNU Lesser General Public License</h1></div><div><p class="releaseinfo">This is the first released version of the Lesser GPL.  It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.</p></div><div><p class="copyright">Copyright &copy; 1991, 1999 Free Software Foundation, Inc.</p></div><div><div class="legalnotice"><a name="gpl-legalnotice"></a><p>
+	</p><div class="address"><p>Free&nbsp;Software&nbsp;Foundation,&nbsp;Inc.<br>
+	&nbsp;&nbsp;<span class="street">51&nbsp;Franklin&nbsp;Street,&nbsp;Fifth&nbsp;Floor</span>,<br>
+	&nbsp;&nbsp;<span class="city">Boston</span>,<br>
+	&nbsp;&nbsp;<span class="state">MA</span><br>
+	&nbsp;&nbsp;<span class="postcode">02110-1301</span><br>
+	&nbsp;&nbsp;<span class="country">USA</span><br>
+	</p></div><p>
+      </p><p>Everyone is permitted to copy and distribute verbatim
+      copies of this license document, but changing it is not
+      allowed.</p></div></div><div><p class="pubdate">Version 2.1, February 1999</p></div></div></div>
+<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="lgpl-1"></a>Preamble</h2></div></div></div><p>The licenses for most software are designed to take away your
+    freedom to share and change it.  By contrast, the GNU General Public
+    Licenses are intended to guarantee your freedom to share and change
+    free software--to make sure the software is free for all its users.</p><p>This license, the Lesser General Public License, applies to some
+    specially designated software packages--typically libraries--of the
+    Free Software Foundation and other authors who decide to use it.  You
+    can use it too, but we suggest you first think carefully about whether
+    this license or the ordinary General Public License is the better
+    strategy to use in any particular case, based on the explanations below.</p><p>When we speak of free software, we are referring to freedom of use,
+    not price.  Our General Public Licenses are designed to make sure that
+    you have the freedom to distribute copies of free software (and charge
+    for this service if you wish); that you receive source code or can get
+    it if you want it; that you can change the software and use pieces of
+    it in new free programs; and that you are informed that you can do
+    these things.</p><p>To protect your rights, we need to make restrictions that forbid
+    distributors to deny you these rights or to ask you to surrender these
+    rights.  These restrictions translate to certain responsibilities for
+    you if you distribute copies of the library or if you modify it.</p><p>For example, if you distribute copies of the library, whether gratis
+    or for a fee, you must give the recipients all the rights that we gave
+    you.  You must make sure that they, too, receive or can get the source
+    code.  If you link other code with the library, you must provide
+    complete object files to the recipients, so that they can relink them
+    with the library after making changes to the library and recompiling
+    it.  And you must show them these terms so they know their rights.</p><p>We protect your rights with a two-step method:
+      </p><div class="orderedlist"><ol type="1"><li><p>we copyright the library, and</p></li><li><p>we offer you this license, which gives you legal
+	  permission to copy, distribute and/or modify the library.</p></li></ol></div><p>
+    </p><p>To protect each distributor, we want to make it very clear that
+    there is no warranty for the free library.  Also, if the library is
+    modified by someone else and passed on, the recipients should know
+    that what they have is not the original version, so that the original
+    author's reputation will not be affected by problems that might be
+    introduced by others.</p><p>Finally, software patents pose a constant threat to the existence of
+    any free program.  We wish to make sure that a company cannot
+    effectively restrict the users of a free program by obtaining a
+    restrictive license from a patent holder.  Therefore, we insist that
+    any patent license obtained for a version of the library must be
+    consistent with the full freedom of use specified in this license.</p><p>Most GNU software, including some libraries, is covered by the
+    ordinary GNU General Public License.  This license, the GNU Lesser
+    General Public License, applies to certain designated libraries, and
+    is quite different from the ordinary General Public License.  We use
+    this license for certain libraries in order to permit linking those
+    libraries into non-free programs.</p><p>When a program is linked with a library, whether statically or using
+    a shared library, the combination of the two is legally speaking a
+    combined work, a derivative of the original library.  The ordinary
+    General Public License therefore permits such linking only if the
+    entire combination fits its criteria of freedom.  The Lesser General
+    Public License permits more lax criteria for linking other code with
+    the library.</p><p>We call this license the <span class="emphasis"><em>Lesser</em></span> General Public License because it
+    does Less to protect the user's freedom than the ordinary General
+    Public License.  It also provides other free software developers Less
+    of an advantage over competing non-free programs.  These disadvantages
+    are the reason we use the ordinary General Public License for many
+    libraries.  However, the Lesser license provides advantages in certain
+    special circumstances.</p><p>For example, on rare occasions, there may be a special need to
+    encourage the widest possible use of a certain library, so that it becomes
+    a de-facto standard.  To achieve this, non-free programs must be
+    allowed to use the library.  A more frequent case is that a free
+    library does the same job as widely used non-free libraries.  In this
+    case, there is little to gain by limiting the free library to free
+    software only, so we use the Lesser General Public License.</p><p>In other cases, permission to use a particular library in non-free
+    programs enables a greater number of people to use a large body of
+    free software.  For example, permission to use the GNU C Library in
+    non-free programs enables many more people to use the whole GNU
+    operating system, as well as its variant, the GNU/Linux operating
+    system.</p><p>Although the Lesser General Public License is Less protective of the
+    users' freedom, it does ensure that the user of a program that is
+    linked with the Library has the freedom and the wherewithal to run
+    that program using a modified version of the Library.</p><p>The precise terms and conditions for copying, distribution and
+    modification follow.  Pay close attention to the difference between a
+    &#8220;<span class="quote">work based on the library</span>&#8221; and a &#8220;<span class="quote">work that uses the library</span>&#8221;.  The
+    former contains code derived from the library, whereas the latter must
+    be combined with the library in order to run.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="lgpl-2"></a>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</h2></div></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-0"></a>Section 0</h3></div></div></div><p>This License Agreement applies to any software library or other
+      program which contains a notice placed by the copyright holder or
+      other authorized party saying it may be distributed under the terms of
+      this Lesser General Public License (also called &#8220;<span class="quote">this License</span>&#8221;).
+      Each licensee is addressed as &#8220;<span class="quote">you</span>&#8221;.</p><p>A &#8220;<span class="quote">library</span>&#8221; means a collection of software functions and/or data
+      prepared so as to be conveniently linked with application programs
+      (which use some of those functions and data) to form executables.</p><p>The &#8220;<span class="quote">Library</span>&#8221;, below, refers to any such software library or work
+      which has been distributed under these terms.  A &#8220;<span class="quote">work based on the
+      Library</span>&#8221; means either the Library or any derivative work under
+      copyright law: that is to say, a work containing the Library or a
+      portion of it, either verbatim or with modifications and/or translated
+      straightforwardly into another language.  (Hereinafter, translation is
+      included without limitation in the term &#8220;<span class="quote">modification</span>&#8221;.)</p><p>&#8220;<span class="quote">Source code</span>&#8221; for a work means the preferred form of the work for
+      making modifications to it.  For a library, complete source code means
+      all the source code for all modules it contains, plus any associated
+      interface definition files, plus the scripts used to control compilation
+      and installation of the library.</p><p>Activities other than copying, distribution and modification are not
+      covered by this License; they are outside its scope.  The act of
+      running a program using the Library is not restricted, and output from
+      such a program is covered only if its contents constitute a work based
+      on the Library (independent of the use of the Library in a tool for
+      writing it).  Whether that is true depends on what the Library does
+      and what the program that uses the Library does.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-1"></a>Section 1</h3></div></div></div><p>You may copy and distribute verbatim copies of the Library's
+      complete source code as you receive it, in any medium, provided that
+      you conspicuously and appropriately publish on each copy an
+      appropriate copyright notice and disclaimer of warranty; keep intact
+      all the notices that refer to this License and to the absence of any
+      warranty; and distribute a copy of this License along with the
+      Library.</p><p>You may charge a fee for the physical act of transferring a copy,
+      and you may at your option offer warranty protection in exchange for a
+      fee.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-2"></a>Section 2</h3></div></div></div><p>You may modify your copy or copies of the Library or any portion
+      of it, thus forming a work based on the Library, and copy and
+      distribute such modifications or work under the terms of <a href="#lgpl-2-1" title="Section 1">Section 1</a>
+      above, provided that you also meet all of these conditions:
+      </p><div class="orderedlist"><ol type="a"><li><p>The modified work must itself be a software library.</p></li><li><p>You must cause the files modified to carry prominent notices
+	  stating that you changed the files and the date of any change.</p></li><li><p>You must cause the whole of the work to be licensed at no
+	  charge to all third parties under the terms of this License.</p></li><li><p><a name="lgpl-2-2-d"></a>If a facility in the modified Library refers to a function or a
+	  table of data to be supplied by an application program that uses
+	  the facility, other than as an argument passed when the facility
+	  is invoked, then you must make a good faith effort to ensure that,
+	  in the event an application does not supply such function or
+	  table, the facility still operates, and performs whatever part of
+	  its purpose remains meaningful.</p><p>(For example, a function in a library to compute square roots has
+	  a purpose that is entirely well-defined independent of the
+	  application.  Therefore, <a href="#lgpl-2-2-d">Subsection 2d</a> requires that any
+	  application-supplied function or table used by this function must
+	  be optional: if the application does not supply it, the square
+	  root function must still compute square roots.)</p></li></ol></div><p>
+      </p><p>These requirements apply to the modified work as a whole.  If
+      identifiable sections of that work are not derived from the Library,
+      and can be reasonably considered independent and separate works in
+      themselves, then this License, and its terms, do not apply to those
+      sections when you distribute them as separate works.  But when you
+      distribute the same sections as part of a whole which is a work based
+      on the Library, the distribution of the whole must be on the terms of
+      this License, whose permissions for other licensees extend to the
+      entire whole, and thus to each and every part regardless of who wrote
+      it.</p><p>Thus, it is not the intent of this section to claim rights or contest
+      your rights to work written entirely by you; rather, the intent is to
+      exercise the right to control the distribution of derivative or
+      collective works based on the Library.</p><p>In addition, mere aggregation of another work not based on the Library
+      with the Library (or with a work based on the Library) on a volume of
+      a storage or distribution medium does not bring the other work under
+      the scope of this License.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-3"></a>Section 3</h3></div></div></div><p>You may opt to apply the terms of the ordinary GNU General Public
+      License instead of this License to a given copy of the Library.  To do
+      this, you must alter all the notices that refer to this License, so
+      that they refer to the ordinary GNU General Public License, version 2,
+      instead of to this License.  (If a newer version than version 2 of the
+      ordinary GNU General Public License has appeared, then you can specify
+      that version instead if you wish.)  Do not make any other change in
+      these notices.</p><p>Once this change is made in a given copy, it is irreversible for
+      that copy, so the ordinary GNU General Public License applies to all
+      subsequent copies and derivative works made from that copy.</p><p>This option is useful when you wish to copy part of the code of
+      the Library into a program that is not a library.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-4"></a>Section 4</h3></div></div></div><p>You may copy and distribute the Library (or a portion or
+      derivative of it, under <a href="#lgpl-2-2" title="Section 2">Section 2</a>) in object code or executable form
+      under the terms of <a href="#lgpl-2-1" title="Section 1">Sections 1</a> and <a href="#lgpl-2-2" title="Section 2">2</a> above provided that you accompany
+      it with the complete corresponding machine-readable source code, which
+      must be distributed under the terms of <a href="#lgpl-2-1" title="Section 1">Sections 1</a> and <a href="#lgpl-2-2" title="Section 2">2</a> above on a
+      medium customarily used for software interchange.</p><p>If distribution of object code is made by offering access to copy
+      from a designated place, then offering equivalent access to copy the
+      source code from the same place satisfies the requirement to
+      distribute the source code, even though third parties are not
+      compelled to copy the source along with the object code.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-5"></a>Section 5</h3></div></div></div><p>A program that contains no derivative of any portion of the
+      Library, but is designed to work with the Library by being compiled or
+      linked with it, is called a &#8220;<span class="quote">work that uses the Library</span>&#8221;.  Such a
+      work, in isolation, is not a derivative work of the Library, and
+      therefore falls outside the scope of this License.</p><p>However, linking a &#8220;<span class="quote">work that uses the Library</span>&#8221; with the Library
+      creates an executable that is a derivative of the Library (because it
+      contains portions of the Library), rather than a &#8220;<span class="quote">work that uses the
+      library</span>&#8221;.  The executable is therefore covered by this License.
+      <a href="#lgpl-2-6" title="Section 6">Section 6</a> states terms for distribution of such executables.</p><p>When a &#8220;<span class="quote">work that uses the Library</span>&#8221; uses material from a header file
+      that is part of the Library, the object code for the work may be a
+      derivative work of the Library even though the source code is not.
+      Whether this is true is especially significant if the work can be
+      linked without the Library, or if the work is itself a library.  The
+      threshold for this to be true is not precisely defined by law.</p><p>If such an object file uses only numerical parameters, data
+      structure layouts and accessors, and small macros and small inline
+      functions (ten lines or less in length), then the use of the object
+      file is unrestricted, regardless of whether it is legally a derivative
+      work.  (Executables containing this object code plus portions of the
+      Library will still fall under <a href="#lgpl-2-6" title="Section 6">Section 6</a>.)</p><p>Otherwise, if the work is a derivative of the Library, you may
+      distribute the object code for the work under the terms of <a href="#lgpl-2-6" title="Section 6">Section 6</a>.
+      Any executables containing that work also fall under <a href="#lgpl-2-6" title="Section 6">Section 6</a>,
+      whether or not they are linked directly with the Library itself.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-6"></a>Section 6</h3></div></div></div><p>As an exception to the Sections above, you may also combine or
+      link a &#8220;<span class="quote">work that uses the Library</span>&#8221; with the Library to produce a
+      work containing portions of the Library, and distribute that work
+      under terms of your choice, provided that the terms permit
+      modification of the work for the customer's own use and reverse
+      engineering for debugging such modifications.</p><p>You must give prominent notice with each copy of the work that the
+      Library is used in it and that the Library and its use are covered by
+      this License.  You must supply a copy of this License.  If the work
+      during execution displays copyright notices, you must include the
+      copyright notice for the Library among them, as well as a reference
+      directing the user to the copy of this License.  Also, you must do one
+      of these things:
+      </p><div class="orderedlist"><ol type="a"><li><p><a name="lgpl-2-6-a"></a>Accompany the work with the complete corresponding
+	  machine-readable source code for the Library including whatever
+	  changes were used in the work (which must be distributed under
+	  <a href="#lgpl-2-1" title="Section 1">Sections 1</a> and <a href="#lgpl-2-2" title="Section 2">2</a> above); and, if the work is an executable linked
+	  with the Library, with the complete machine-readable &#8220;<span class="quote">work that
+	  uses the Library</span>&#8221;, as object code and/or source code, so that the
+	  user can modify the Library and then relink to produce a modified
+	  executable containing the modified Library.  (It is understood
+	  that the user who changes the contents of definitions files in the
+	  Library will not necessarily be able to recompile the application
+	  to use the modified definitions.)</p></li><li><p>Use a suitable shared library mechanism for linking with the
+	  Library.  A suitable mechanism is one that (1) uses at run time a
+	  copy of the library already present on the user's computer system,
+	  rather than copying library functions into the executable, and (2)
+	  will operate properly with a modified version of the library, if
+	  the user installs one, as long as the modified version is
+	  interface-compatible with the version that the work was made with.</p></li><li><p>Accompany the work with a written offer, valid for at
+	  least three years, to give the same user the materials
+	  specified in <a href="#lgpl-2-6-a">Subsection 6a</a>, above, for a charge no more
+	  than the cost of performing this distribution.</p></li><li><p>If distribution of the work is made by offering access to copy
+	  from a designated place, offer equivalent access to copy the above
+	  specified materials from the same place.</p></li><li><p>Verify that the user has already received a copy of these
+	  materials or that you have already sent this user a copy.</p></li></ol></div><p>
+      </p><p>For an executable, the required form of the &#8220;<span class="quote">work that uses the
+      Library</span>&#8221; must include any data and utility programs needed for
+      reproducing the executable from it.  However, as a special exception,
+      the materials to be distributed need not include anything that is
+      normally distributed (in either source or binary form) with the major
+      components (compiler, kernel, and so on) of the operating system on
+      which the executable runs, unless that component itself accompanies
+      the executable.</p><p>It may happen that this requirement contradicts the license
+      restrictions of other proprietary libraries that do not normally
+      accompany the operating system.  Such a contradiction means you cannot
+      use both them and the Library together in an executable that you
+      distribute.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-7"></a>Section 7</h3></div></div></div><p>You may place library facilities that are a work based on the
+      Library side-by-side in a single library together with other library
+      facilities not covered by this License, and distribute such a combined
+      library, provided that the separate distribution of the work based on
+      the Library and of the other library facilities is otherwise
+      permitted, and provided that you do these two things:
+      </p><div class="orderedlist"><ol type="a"><li><p>Accompany the combined library with a copy of the same work
+	  based on the Library, uncombined with any other library
+	  facilities.  This must be distributed under the terms of the
+	  Sections above.</p></li><li><p>Give prominent notice with the combined library of the fact
+	  that part of it is a work based on the Library, and explaining
+	  where to find the accompanying uncombined form of the same work.</p></li></ol></div><p>
+      </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-8"></a>Section 8</h3></div></div></div><p>You may not copy, modify, sublicense, link with, or distribute
+      the Library except as expressly provided under this License.  Any
+      attempt otherwise to copy, modify, sublicense, link with, or
+      distribute the Library is void, and will automatically terminate your
+      rights under this License.  However, parties who have received copies,
+      or rights, from you under this License will not have their licenses
+      terminated so long as such parties remain in full compliance.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-9"></a>Section 9</h3></div></div></div><p>You are not required to accept this License, since you have not
+      signed it.  However, nothing else grants you permission to modify or
+      distribute the Library or its derivative works.  These actions are
+      prohibited by law if you do not accept this License.  Therefore, by
+      modifying or distributing the Library (or any work based on the
+      Library), you indicate your acceptance of this License to do so, and
+      all its terms and conditions for copying, distributing or modifying
+      the Library or works based on it.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-10"></a>Section 10</h3></div></div></div><p>Each time you redistribute the Library (or any work based on the
+      Library), the recipient automatically receives a license from the
+      original licensor to copy, distribute, link with or modify the Library
+      subject to these terms and conditions.  You may not impose any further
+      restrictions on the recipients' exercise of the rights granted herein.
+      You are not responsible for enforcing compliance by third parties with
+      this License.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-11"></a>Section 11</h3></div></div></div><p>If, as a consequence of a court judgment or allegation of patent
+      infringement or for any other reason (not limited to patent issues),
+      conditions are imposed on you (whether by court order, agreement or
+      otherwise) that contradict the conditions of this License, they do not
+      excuse you from the conditions of this License.  If you cannot
+      distribute so as to satisfy simultaneously your obligations under this
+      License and any other pertinent obligations, then as a consequence you
+      may not distribute the Library at all.  For example, if a patent
+      license would not permit royalty-free redistribution of the Library by
+      all those who receive copies directly or indirectly through you, then
+      the only way you could satisfy both it and this License would be to
+      refrain entirely from distribution of the Library.</p><p>If any portion of this section is held invalid or unenforceable under any
+      particular circumstance, the balance of the section is intended to apply,
+      and the section as a whole is intended to apply in other circumstances.</p><p>It is not the purpose of this section to induce you to infringe any
+      patents or other property right claims or to contest validity of any
+      such claims; this section has the sole purpose of protecting the
+      integrity of the free software distribution system which is
+      implemented by public license practices.  Many people have made
+      generous contributions to the wide range of software distributed
+      through that system in reliance on consistent application of that
+      system; it is up to the author/donor to decide if he or she is willing
+      to distribute software through any other system and a licensee cannot
+      impose that choice.</p><p>This section is intended to make thoroughly clear what is believed to
+      be a consequence of the rest of this License.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-12"></a>Section 12</h3></div></div></div><p>If the distribution and/or use of the Library is restricted in
+      certain countries either by patents or by copyrighted interfaces, the
+      original copyright holder who places the Library under this License may add
+      an explicit geographical distribution limitation excluding those countries,
+      so that distribution is permitted only in or among countries not thus
+      excluded.  In such case, this License incorporates the limitation as if
+      written in the body of this License.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-13"></a>Section 13</h3></div></div></div><p>The Free Software Foundation may publish revised and/or new
+      versions of the Lesser General Public License from time to time.
+      Such new versions will be similar in spirit to the present version,
+      but may differ in detail to address new problems or concerns.</p><p>Each version is given a distinguishing version number.  If the Library
+      specifies a version number of this License which applies to it and
+      &#8220;<span class="quote">any later version</span>&#8221;, you have the option of following the terms and
+      conditions either of that version or of any later version published by
+      the Free Software Foundation.  If the Library does not specify a
+      license version number, you may choose any version ever published by
+      the Free Software Foundation.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-14"></a>Section 14</h3></div></div></div><p>If you wish to incorporate parts of the Library into other free
+      programs whose distribution conditions are incompatible with these,
+      write to the author to ask for permission.  For software which is
+      copyrighted by the Free Software Foundation, write to the Free
+      Software Foundation; we sometimes make exceptions for this.  Our
+      decision will be guided by the two goals of preserving the free status
+      of all derivatives of our free software and of promoting the sharing
+      and reuse of software generally.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-15"></a>NO WARRANTY Section 15</h3></div></div></div><p>BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+      WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+      EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+      OTHER PARTIES PROVIDE THE LIBRARY &#8220;<span class="quote">AS IS</span>&#8221; WITHOUT WARRANTY OF ANY
+      KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+      IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+      PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+      LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+      THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="lgpl-2-16"></a>Section 16</h3></div></div></div><p>IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+      WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+      AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+      FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+      CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+      LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+      RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+      FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+      SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+      DAMAGES.</p><p>END OF TERMS AND CONDITIONS</p></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="lgpl-3"></a>How to Apply These Terms to Your New Libraries</h2></div></div></div><p>If you develop a new library, and you want it to be of the greatest
+    possible use to the public, we recommend making it free software that
+    everyone can redistribute and change.  You can do so by permitting
+    redistribution under these terms (or, alternatively, under the terms of the
+    ordinary General Public License).</p><p>To apply these terms, attach the following notices to the library.  It is
+    safest to attach them to the start of each source file to most effectively
+    convey the exclusion of warranty; and each file should have at least the
+    &#8220;<span class="quote">copyright</span>&#8221; line and a pointer to where the full notice is found.</p><p>&lt;one line to give the library's name and a brief idea of what it does.&gt;
+    Copyright (C) &lt;year&gt;  &lt;name of author&gt;</p><p>This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.</p><p>This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.</p><p>You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA</p><p>Also add information on how to contact you by electronic and paper mail.</p><p>You should also get your employer (if you work as a programmer) or your
+    school, if any, to sign a &#8220;<span class="quote">copyright disclaimer</span>&#8221; for the library, if
+    necessary.  Here is a sample; alter the names:</p><p>Yoyodyne, Inc., hereby disclaims all copyright interest in the
+    library `Frob' (a library for tweaking knobs) written by James Random Hacker.</p><p>&lt;signature of Ty Coon&gt;, 1 April 1990
+    Ty Coon, President of Vice</p><p>That's all there is to it!</p></div></div></body></html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/commons-codec.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/commons-codec.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/commons-httpclient.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/commons-httpclient.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/commons-logging.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/commons-logging.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/concurrent.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/concurrent.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/endorsed/serializer.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/endorsed/serializer.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/endorsed/xalan.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/endorsed/xalan.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/endorsed/xercesImpl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/endorsed/xercesImpl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/getopt.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/getopt.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-common.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-common.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-jmx.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-jmx.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-system.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-system.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-xml-binding.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/jboss-xml-binding.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/log4j-boot.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/lib/log4j-boot.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/readme.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/readme.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/readme.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,543 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><!-- $Id: readme.html,v 1.1.2.36 2006/05/13 15:42:36 dimitris Exp $ -->
+<meta content="text/html" http-equiv="content-type"><meta content="JBoss Inc." name="author"><title>JBoss 4.2.2.GA Readme</title></head>
+<body><a href="http://www.jboss.com"><img src="http://www.jboss.org/themes/jbosstheme/img/logo.gif" alt="JBoss Inc."></a><h1>JBoss AS 4.2.2.GA
+Release Notes</h1>
+<p>This is the second bug fixing release of the <a href="http://labs.jboss.org/jbossas/">JBoss Application
+Server</a> v4.2 series.&nbsp;The aim of this release is to
+provide fixes for&nbsp;important bugs reported by the
+community&nbsp;against&nbsp;JBossAS
+v4.2.1.GA or&nbsp;one of the jboss and thirdparty libraries
+included with&nbsp;the application server. There were quite a few
+backwards compatible <a href="#Libraries">component
+upgrades</a> so switching to AS 4.2.2.GA from a previous
+4.2.0/4.2.1 release should not present any problems. Please check
+out&nbsp;the <a href="readme.html#Details">Detailed
+Release Notes</a> section for the full details.</p>
+<p>JBoss AS 4.2
+is a stepping stone from JBoss 4.0 to JBoss 5.0. It combines a lot (but
+not all) of the exciting new features of JBoss 5, but based on the
+stable 4.x MicroKernel architecture.</p>
+<p>JBoss AS 4.2 is also used as the basis for the<a href="http://www.redhat.com/jboss/platforms/application/">
+JBoss Enterprise Application Platform.</a> The <i>Application
+Platform</i> bundles <span style="text-decoration: underline;"></span><a href="http://labs.jboss.org/jbossas/">JBoss AS&nbsp;</a>and
+<a href="http://labs.jboss.org/jbossseam/">JBoss Seam</a>&nbsp;
+in a software package for which commercial support
+is offered
+by JBoss/Red Hat. Please read
+<a href="http://blogs.jboss.com/blog/slabourey/2007/04/24/New+Development,+Distribution+and+Support+Model+for+JBoss.txt">Sacha's
+blog</a> if you are interested to learn more about the new
+development, distribution and support model for JBoss.</p>
+<p>For information on the APIs that make up Java EE 1.4, see <a href="http://java.sun.com/j2ee/1.4/docs/index.html"> Java EE
+v1.4 Documentation</a>. For a comprehensive tutorial on Java EE
+1.4, see <a href="http://java.sun.com/j2ee/1.4/docs/tutorial-update2/doc/index.html">
+The Java EE&trade; 1.4 Tutorial</a>. A jboss-4.2.x getting
+started guide that is based on contents from the tutorial can be found
+in <a href="http://labs.jboss.org/portal/jbossas/docs">JBoss
+Application Server Documentation Library</a></p>
+<p> <em>Note: The 4.2.x release of the JBoss Application
+Server provides support for certain JavaEE5 features, such as EJB3, but
+it is not Java EE5 certified.</em></p>
+<!-- ======================================================= --><h2>Overview</h2>
+<ul><li><a href="#Highlights">Highlights</a></li>
+<li><a href="#Compatibility">Known Compatibility
+Issues</a></li>
+<li><a href="#Configuration">Known Configuration
+Issues</a></li>
+<li><a href="#Libraries">JBoss/Thirdparty
+Library Updates</a></li>
+<li><a href="#Details">Detailed Release Notes</a></li>
+<li><a href="#Documentation">Additional Docs and
+Help</a></li>
+<li><a href="#Licenses">Licenses</a></li>
+<li><a href="#About">About JBoss</a></li>
+</ul><!-- ======================================================= --><h2><a name="Highlights">Highlights of
+JBoss AS 4.2
+series</a></h2>
+<ul><li>JDK5 is *required* to run JBossAS 4.2.x. The
+decision was
+based on the fact that JDK1.4 is phased out and the reality that a lot
+of people like Java Annotations support and want to combine EJB3 and <a href="http://www.jboss.com/products/seam">JBoss Seam</a>
+components with JBossAS. JDK6 is not formally supported yet, although
+you may be able to start the server with it. JDK6 support will come
+with JBossAS 5.x.</li>
+<li><a href="http://labs.jboss.org/portal/jbossejb3">JBoss
+EJB3</a> is now deployed *by default* in JBossAS 4.2.x The fact
+that we base on JDK5 makes our life easier in this regard, meaning we
+don't have to maintain jdk5 code retro-weaved for jdk1.4 runtimes, and
+we can include by default components that require jdk5 to run.</li>
+<li><a href="http://www.jboss.com/products/jbossweb">JBoss
+Web</a> v2.x is the web container in JBossAS 4.2, an
+implementation based on Apache Tomcat that includes the Apache Portable
+Runtime (APR) and Tomcat native technologies to achieve scalability and
+performance characteristics that match and exceed the Apache Http
+server. In the absence of the native libraries,
+JBoss Web falls back to the standard non-native connector mode. The
+native libraries need to be <a href="http://labs.jboss.org/jbossweb/downloads">downloaded</a>
+and installed separately in JBOSS_HOME/bin/native.</li>
+<li><a href="http://www.jboss.com/products/transactions">JBoss
+Transactions</a> v4.2 is the default transaction manager for
+JBossAS 4.2. JBoss Transactions is founded on industry proven
+technology and 18 year history as a leader in distributed transactions,
+and is one of the most interoperable implementations available. The JTA
+version of JBoss Transactions included with the server provides for
+fully recoverable transactions. For distributed transaction support the
+JTS version of JBoss Transactions will need to be used. Furthermore, it
+is always possible to fall back to the legacy JBossTM fast in-memory
+transaction manager implementation, although it should be noted
+that&nbsp;JBoss TM will not be supported in future JBossAS versions.</li>
+<li><a href="http://labs.jboss.com/portal/jbossws">JBoss
+WS</a>
+is the web services stack for JBoss 4.2 providing Java EE compatible
+web services.</li>
+<li><a href="http://labs.jboss.com/portal/jgroups">JGroups</a>/<a href="http://www.jboss.org/products/jbosscache">JBossCache</a>
+is already configured
+to support channel multiplexing, when it becomes available.</li>
+<li><a href="http://labs.jboss.com/jbossremoting/">JBoss
+Remoting</a> was upgraded to the latest stable 2.2.x version.
+This was done in order to align dependencies with the thirdparty
+libraries required by the new <a href="http://labs.jboss.com/jbossmessaging/">JBoss Messaging</a>,
+which means that, if you want, you can replace the default <a href="http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQ">JBossMQ</a>
+messaging provider with JBoss Messaging, without having to revert to a
+scoped deployment.</li>
+</ul><h3>Minor feature additions in 4.2.2.GA</h3><ul><li>The
+most promiment feature addition is full support for JAX-WS by upgrading
+to JBoss WS 2.x. See the release notes <a href="http://labs.jboss.org/file-access/default/members/jbossws/downloads/ReleaseNotes-2.0.1.GA.txt">here</a>. You may also find useful information in the&nbsp;<a href="http://jbws.dyndns.org/mediawiki/index.php?title=Quick_Start">Quick Start</a> or the <a href="http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide">JAX-WS User Guide</a>.</li><li>A
+new tomcat filter for flushing the jboss authentication cache upon
+session expiration, <a href="http://jira.jboss.com/jira/browse/JBAS-4752">JBAS-4752</a>.</li></ul><h3>Minor
+feature additions in 4.2.1.GA<br>
+</h3><ul><li>LIMIT/OFFSET support in StoreManager2
+(CMP), <a href="http://jira.jboss.com/jira/browse/JBAS-4408">JBAS-4408</a>.</li>
+<li>detect collisions between JSF RI and JSF MyFaces, <a href="http://jira.jboss.com/jira/browse/JBAS-3158">JBAS-3158</a>.</li>
+</ul><!-- ======================================================= --><h2><a name="Compatibility">Compatibility
+Issues</a></h2>
+This lists the changes that could affect compatibility.<br>
+<br>According to our <a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProductVersioning">product
+versioning rules</a>, JBossAS 4.2.2 should be fully compatible
+with previous JBossAS 4.2.x releases. However you may want to check the
+release notes of
+the individual&nbsp;<a href="readme.html#Libraries">JBoss
+and Thirdparty libraries</a> updated with this release. Some
+related issues that you should be aware of are listed below:<br>
+<h3>JBossAS 4.2.2.GA</h3><ul><li>JBossWS 1.2.1 supported JAX-WS only as
+a technology preview while JBossWS&nbsp;2.0.1 used in AS 4.2.2 provides
+full JAX-WS support. If you have used in your code the&nbsp;annotation <span style="font-family: monospace;">org.jboss.ws.annotation.WebContext</span>&nbsp;this must&nbsp;be&nbsp;replaced by <span style="font-family: monospace;">org.jboss.wsf.spi.annotation.WebContext.</span></li><li>JBoss
+WS 1.0.x&nbsp;due to a deployer limitation used a proprietary .jse
+extension&nbsp;for deploying WS endpoints&nbsp;nested in .sar files.
+This was deprecated with JBoss WS 1.2.x. and with JBoss WS 2.x this
+proprietary extension is not supported anymore as it is possible to use
+the standard&nbsp;.war extension for deploying nested WS endpoints. If
+you see:&nbsp;INIT_WAITING_DEPLOYER error messages for .jse files, re-package them using a .war extension, <a href="http://jira.jboss.com/jira/browse/JBWS-1854">JBWS-1854</a>.<span style="font-family: monospace;"></span></li><li>Another
+known limitation is that&nbsp;EJB3 web service endpoints can only be
+specified using annotations and not metadata in jboss.xml. This is
+something that will be addressed&nbsp;in a future release, <a href="http://jira.jboss.com/jira/browse/JBAS-4852">JBAS-4852</a>, <a href="http://jira.jboss.com/jira/browse/JBWS-1813">JBWS-1813</a>.</li><li>Finding
+the default local business interface on a ejb3 bean may not work in
+certain inheritance scenarios. You may workaround this known
+problem&nbsp;by&nbsp;annotating the local business interface. Read more
+about this at <a href="http://jira.jboss.com/jira/browse/EJBTHREE-1062">EJBTHREE-1062</a>.<span style="font-family: monospace;"><br></span></li><li>EJB Timer
+related fixes, <a href="http://jira.jboss.com/jira/browse/JBAS-3379">JBAS-3379</a>,
+<a href="http://jira.jboss.com/jira/browse/JBAS-4053">JBAS-4053</a>.</li><li>JBossMQ
+related fixes, JBAS-4525, JBAS-4555, JBAS-4559, JBAS-4607, JBAS-4625,
+JBAS-4699</li><li>JSP compiler now set to compile JDK 1.5
+source code by default, <a href="http://jira.jboss.com/jira/browse/JBAS-4605">JBAS-4605</a>.</li><li>The
+mail-ra.rar resource adapter was missing from the distro, <a href="http://jira.jboss.com/jira/browse/JBAS-4659">JBAS-4659</a>.</li><li>HSQLDB
+(which shouldn't be used in production) v1.8.0.8 has a known bug when
+used in server mode, <a href="http://jira.jboss.com/jira/browse/JBAS-4694">JBAS-4694</a>. This doesn't affect the default jboss installation where HSQLDB is used in in-process mode.</li><li>Serialization
+of HomeHandleImplIIOP has changed. In the unlikely case of a
+compatibility problem, define the system property
+-Dorg.jboss.proxy.ejb.old.homehandle.serialization=true to fall back to
+the legacy serialization mode, <a href="http://jira.jboss.com/jira/browse/JBAS-4801">JBAS-4801</a>. </li></ul><h3>JBossAS
+4.2.1.GA
+</h3><ul><li>JBoss TS, the new default transaction
+manager will not let
+you enlist multiple 1-phase participants in the same transaction. This
+was *not* the default behavior with the legacy JBoss TM that would log
+a warning and continue. There are good reasons for this change, mainly
+to avoid heuristic outcomes in the case of system crashes, which is the
+primary reason of using a transaction manager anyway! If your come
+across this problem you should try to fix it by switching to XA
+resources or implementing some form of compensating transactions.
+However, if this is not option and you are fully aware of the
+consequences you can override this behavior by setting
+com.arjuna.ats.jta.allowMultipleLastResources to true in
+conf/jbossjta-properties.xml. For more details read the wiki on <a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=Multiple1PC">Multiple1PC</a>,
+or consult the <a href="http://labs.jboss.com/jbosstm/docs/index.html">JBoss
+Transactions documentation</a>.</li>
+<li>A major problem related to the cleaning up of threads after
+user transaction timeouts was corrected in <a href="http://jira.jboss.com/jira/browse/JBAS-4481">JBAS-4481</a>.
+If you happen to be using User Transactions make sure you follow the <a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatIsTheCorrectPatternForUserTransactions">correct
+pattern</a> for committing or rolling them back.</li>
+<li>Another serious classloading issue that could lead to a
+hanging JBoss with a 100% CPU utilization was fixed with <a href="http://jira.jboss.com/jira/browse/JBAS-4441">JBAS-4441</a>.</li>
+</ul><h3>JBossAS 4.2.0.GA</h3>
+<ul><li><strong>A JavaSE 5 runtime is </strong><strong>required</strong>
+to run JBossAS 4.2. A full
+JDK with tools.jar support is no longer needed by jboss, since JBoss
+Web packages the eclipse JDT compiler for compiling JSP pages and
+javassist has its own internal compiler. JAVA_HOME can point to a JRE, <a href="http://jira.jboss.com/jira/browse/JBAS-4161">JBAS-4161</a>.</li>
+<li>When compared to previous 4.0.x releases, the various JBoss
+APIs should be stable but backwards
+compatibility for individual component implementations may not be
+guaranteed, e.g. interoperating with another JBoss instance that uses
+an older version of JGroups.</li>
+<li>Tomcat 6 is now bundled as part of JBoss Web.
+deploy/jbossweb-tomcat55.sar has been replaced by
+deploy/jboss-web.deployer.</li>
+<li>conf/log4j.xml has been renamed to conf/jboss-log4j.xml, to
+allow log4j.properties override from scoped deployments, <a href="http://jira.jboss.com/jira/browse/JBAS-1853">JBAS-1853</a>.</li>
+<li>log4j and commons-logging have both been upgraded.
+commons-logging is patched in addition, <a href="http://jira.jboss.com/jira/browse/JBAS-2823"> JBAS-2823</a>.</li>
+<li>Since the latest log4j includes a trace level, there is no
+need to reference the custom jboss TRACE level in conf/jboss-log4j.xml
+configs, <a href="http://jira.jboss.com/jira/browse/JBAS-4163">JBAS-4163</a>.<br>
+Instead of: &lt;category
+name="org.jboss.system"&gt;&lt;priority value="TRACE"
+class="org.jboss.logging.XLevel"/&gt;&lt;/category&gt;<br>
+you can use: &lt;category
+name="org.jboss.system"&gt;&lt;priority
+value="TRACE"/&gt;&lt;/category&gt;</li>
+<li>Better integration with WebSphere MQ 5.x, <a href="http://jira.jboss.com/jira/browse/JBAS-3183">JBAS-3183</a>.</li>
+<li>The MyFaces JSF implementation has been replaced by the
+Glassfish JSF 1.2 one, <a href="http://jira.jboss.com/jira/browse/JBAS-3897">JBAS-3897</a>.</li>
+<li>Hibernate, hibernate-annotations and
+hibernate-entity-manager have all been upgraded. to v3.2.1.</li>
+<li>The default invoker for EJBs has been changed from the
+rmi-invoker to the unified-invoker, provided by JBoss Remoting, <a href="http://jira.jboss.com/jira/browse/JBAS-3950">JBAS-3950</a>.</li>
+<li>Apache commons http-client and apache-codec were removed
+from jbossall-client.jar, <a href="http://jira.jboss.com/jira/browse/JBAS-4365"> JBAS-4365</a>.</li>
+<li>The address that is stored in the host portion of the RMI
+codebase URL can now be set correctly,<a href="http://jira.jboss.com/jira/browse/JBAS-3325"> JBAS-3325</a>.</li>
+<li>The java2ClassLoadingCompliance setting in jboss-web.xml
+was ignored; this has been fixed, <a href="http://jira.jboss.com/jira/browse/JBAS-3047"> JBAS-3047</a>.</li>
+<li>In JBoss 4.2 the unified invokers based on JBoss Remoting
+are the default transport for accessing EJBs. Using the unified
+invokers JBoss 4.2 can interoperate safely with JBoss AS
+4.0.4.GA/4.0.5.GA, using the flag
+-Djboss.remoting.pre_2_0_compatible=true on the JBoss 4.2.x side. For
+interoperating with older JBoss AS versions (3.2.8.SP1 to 4.0.3.SP1)
+the legacy rmi or pooled invokers need to be used. See <a href="http://jira.jboss.com/jira/browse/JBAS-4407">JBAS-4407</a>
+and the wiki page on <a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossVersionCompatibilityMatrix">
+JBoss Version Compatibility</a>.</li>
+</ul><!-- ======================================================= --><h2><a name="Configuration">Configuration
+Issues</a></h2>
+This lists the changes that could affect configuration.<br>
+<h3>JBossAS 4.2.2.GA</h3><ul><li>Extensions to
+LdapExtLoginModule, <a href="http://jira.jboss.com/jira/browse/JBAS-4619">JBAS-4619</a>.</li><li>Escape
+syntax for mysql and postgresql in jboss CMP,<a href="http://jira.jboss.com/jira/browse/JBAS-4463"> JBAS-4463</a>.</li><li>Introduced
+a new system
+property org.jboss.mx.loading.UnifiedLoaderRepository.notifyMode to
+provide fine-grained control over the emission of notifications
+whenever&nbsp;Unified Classloaders are created. Classloader leaks
+can
+appear if those notifications are send to remote jmx agents, so the
+usage of the flag can avoid this problem,&nbsp;<a href="http://jira.jboss.com/jira/browse/JBAS-4593">JBAS-4953</a>.
+</li></ul><h3>JBossAS 4.2.1.GA</h3>
+<ul><li>%PATH% is not removed from java.library.path in the
+presence of JAVA_HOME/bin/native, so e.g. native jdbc drivers can be
+loaded, <a href="http://jira.jboss.com/jira/browse/JBAS-4418">JBAS-4418</a>.</li>
+</ul><h3>JBossAS 4.2.0.GA
+</h3><ul><li>JBossAS now binds its services to
+localhost (127.0.0.1) *by
+default*, instead of binding to all available interfaces (0.0.0.0).
+This was primarily done for security reasons because of concerns of
+users going to production without having s<a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureJBoss">ecured
+their servers properly</a>.
+To enable remote access by binding
+JBoss services to a particular interface, simply run jboss with the -b
+option. To bind to all available interfaces and re-enable the legacy
+behaviour use -b 0.0.0.0. In any case,&nbsp;be aware you still need
+to <a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureJBoss">secure
+you server properly</a>.</li>
+<li>There now distinct properties to configure the various
+mcast ports, <a href="http://jira.jboss.com/jira/browse/JBAS-4021">JBAS-4021</a>.</li>
+<li>When running under Linux, run.sh forces the use of IPv4,
+due to a jdk bug, <a href="http://jira.jboss.com/jira/browse/JBAS-4332">JBAS-4332</a>.</li>
+<li>JBoss EJB3 is now included by default. If you don't
+need/want EJB3 support, simply remove deploy/ejb3.deployer.</li>
+<li>When using native libraries for JBoss Web store them in
+JBOSS_HOME/bin/native, which is automatically included in the
+classpath, <a href="http://jira.jboss.com/jira/browse/JBAS-4162">JBAS-4162</a>.</li>
+<li>JBoss Transactions is the new default transaction manager
+in JBoss. It is configured in conf/jboss-service.xml and has additional
+properties defined in conf/jbossjta-properties.xml. The transaction log
+is stored by default at server/default/data/tx-object-store.</li>
+<li>If you are on Red Hat Linux, check out the changes in
+bin/jboss_init_redhat.sh, <a href="http://jira.jboss.com/jira/browse/JBAS-4041">JBAS-4041</a>.</li>
+<li>The JBossAS distributions usually include the installer
+(.jar), the sources (.tar.gz) and the canonical binary release (.zip).
+Unzipping the binary distribution (.zip) with a native unzip utility
+will restore correctly the executable permission in the /bin/*.sh
+files. However, unzipping using the JDK jar utility ignores the
+executable bit, so this need to be set manually.</li>
+<li>bin/shutdown.sh no longer sources run.conf, <a href="http://jira.jboss.com/jira/browse/JBAS-4155">JBAS-4155</a>.</li>
+</ul><!-- ======================================================= --><h2><a name="Libraries">Library Updates</a></h2>
+For a full list of the JBoss and thirdparty libraries used
+with JBoss AS 4.2.2 see &nbsp;<a href="http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_4_2_2_GA/build/build-thirdparty.xml">build-thirdparty.xml.</a>
+<h3>JBossAS 4.2.2.GA</h3>JBoss Library Updates
+<ul><li>javassist upgraded to v3.6.0.GA (from v3.5.0.GA)</li><li>jboss
+aop upgraded to v1.5.6.GA (from 1.5.5.GA)</li><li>jboss
+cache upgraded to v1.4.1.SP5 (from 1.4.1.SP3)</li><li>jboss
+common upgraded to v1.2.1.GA (from v1.2.0.GA)</li><li>jboss
+remoting upgraded to v2.2.2.SP1 (from v2.2.1.GA)</li><li>jboss
+ts upgraded to v4.2.3.SP6 (from v4.2.3.SP5)</li><li>jboss
+web upgraded to v2.0.1.GA (from v2.0.0.GA)</li><li>jboss ws
+upgraded to v2.0.1.SP2 (from v1.2.1.GA)</li><li>jboss xb upgraded to v1.0.0.SP1 (from v1.0.0.GA)</li><li>jgroups
+upgraded to v2.4.1.SP4 (from v2.4.1.SP3)</li></ul>Thirdparty
+Library Updates
+<ul><li>hsqldb upgraded to v1.8.0.8 (from v1.8.0.2)</li><li>jacorb
+upgraded to v2.3.0jboss.patch5 (from v2.3.0jboss.patch4)</li><li>oswego-concurrent
+upgraded to v1.3.4-jboss (from v1.3.4)</li></ul><h3>JBossAS
+4.2.1.GA</h3>
+JBoss Library Updates
+<ul><li>hibernate, upgraded to v3.2.4.SP1_CP01
+(from&nbsp;v3.2.3.GA)</li>
+<li>jboss-ts14, upgraded to v4.2.3.SP5
+(from&nbsp;v4.2.3.SP3)</li>
+<li>jboss-remoting, upgraded to v2.2.1.GA (from v2.2.0.SP4)</li>
+</ul>Thirdparty Library Updates
+<ul><li>jacorb, upgraded to v2.3.0jboss.patch4 (from
+v2.2.4jboss.patch1)</li>
+<li>sun-jsf, upgraded to&nbsp;v1.2_04_P02 (from v1.2_04_P01)</li>
+</ul><!-- ======================================================= --><h1><a name="Details">Detailed Release Notes</a></h1>
+<h3>JBossAS-4.2.2.GA</h3>
+<h2>Feature Request</h2> <ul> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4093">JBAS-4093</a>
+] Example XA datasource configuration for Sybase </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4465">JBAS-4465</a>
+] Rename hsqldb-jdbc-state-service.xml to jdbc-state-service.xml </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4479">JBAS-4479</a>
+] It'd be nice for listThreadDump() to return a timestamp as well </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4490">JBAS-4490</a>
+] Update and document all HA Failover features for the jca datasources </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4595">JBAS-4595</a>
+] Inconclusive exception thrown by HttpNamingContextFactory </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4619">JBAS-4619</a>
+] Add parseRoleNameFromDN option to LdapExtLoginModule </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4752">JBAS-4752</a>
+] Session Expiration should also flush the JBoss Authentication Cache </li>
+</ul> <h2>Bug</h2> <ul> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-3379">JBAS-3379</a>
+] BigIntegerTimerIdGenerator may create dupplicate timer IDs after
+server crash </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4000">JBAS-4000</a>
+] <endpoint-interceptors> should come before <activation-config>
+in standardjboss.xml </activation-config></endpoint-interceptors></li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4053">JBAS-4053</a>
+] EJB TimerService createTimer swallows underlying exception </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4404">JBAS-4404</a>
+] Tests testJdbc and testControlFlags in
+org.jboss.test.security.test.LoginModulesUnitTestCase may fail
+incorrectly </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4422">JBAS-4422</a>
+] org.jboss.test.util.test.TwiddleUnitTestCase can't connect to host </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4463">JBAS-4463</a>
+] escape syntax </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4464">JBAS-4464</a>
+] NPE on shutdown in jacorb connection layer </li> <li> [
+<a href="http://jira.jboss.com/jira/browse/JBAS-4492">JBAS-4492</a>
+] NullPointerException in org.jboss.util.propertyeditor.DateEditor
+setValue(...) </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4525">JBAS-4525</a>
+] JBossMQ WriteTask in UIL2 could block forever </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4528">JBAS-4528</a>
+] jboss-ds-1.5.dtd is not up-to-date </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4536">JBAS-4536</a>
+] Isolated classloading is incorrectly isolating java.* classes </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4540">JBAS-4540</a>
+] Port 8083, HTTP request revealing installation directory </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4541">JBAS-4541</a>
+] Authentication Service (AS) Context stored in CSIv2 encoded IORs
+shouldn't indicate EstablishTrustInClient supported when
+AUTH_METHOD_NONE </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4546">JBAS-4546</a>
+] Fix RunAsSecurityInterceptor </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4555">JBAS-4555</a>
+] Connection.close() taking 2 minutes in JBossMQ </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4559">JBAS-4559</a>
+] JBossMQ security manager should have a dependency on the Jaas service
+</li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4575">JBAS-4575</a>
+] resourceadapter-class should be optional </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4593">JBAS-4593</a>
+] Leak in org/jboss/mx/loading/UnifiedClassLoader3 </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4597">JBAS-4597</a>
+] CacheInvalidator.areInvalid doesn't lock partitions </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4605">JBAS-4605</a>
+] JSP compiler won't compile JDK 1.5 source </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4607">JBAS-4607</a>
+] Transaction timeout is not raising a JMSException in the JBossMQ
+Persistence manager or StateManager </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4611">JBAS-4611</a>
+] HTTP Session Repl Cache configured with CacheLoader can cause slow AS
+shutdowns </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4614">JBAS-4614</a>
+] UnifiedInvokerHAProxy does not implement InvokerProxyHA </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4615">JBAS-4615</a>
+] NamingContext caches stale Naming stub </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4622">JBAS-4622</a>
+] Can't flush bad naming stub if no java.naming.provider.url specified </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4623">JBAS-4623</a>
+] org.jboss.web.tomcat.service.session.JBossCacheCluster creates
+MBeanServer with incorrent domain name </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4625">JBAS-4625</a>
+] Connection leak if failure to setup connection in jms inbound
+resource adapter </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4655">JBAS-4655</a>
+] HandleImplIIOP not retrieving EJBObject correctly </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4659">JBAS-4659</a>
+] jboss-4.2.1.GA.zip distribution doesn't include mail-ra.rar </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4667">JBAS-4667</a>
+] Wrong logic in
+CachedConnectionManager.getCloseConnectionSynchronization() </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4680">JBAS-4680</a>
+] Update example for JBossWS Message TRACE in jboss-log4j.xml </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4681">JBAS-4681</a>
+] Generated Corba stub throws BAD_OPERATION on toString() when not
+connected to the ORB </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4691">JBAS-4691</a>
+] JACC: Unchecked WebUserDataPermission(s) for excluded and transport
+guarantee use cases </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4697">JBAS-4697</a>
+] Use of EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap.toArray()
+is not thread safe and should be replace with
+java.util.concurrent.ConcurrentHashMap when using MQ transactions. </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4701">JBAS-4701</a>
+] JaasSecurityDomain doesn't handle encrypted truststore passwords
+properly </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4719">JBAS-4719</a>
+] Implementations of Invoker should implement equals as an equality
+check rather than relying on Object.equals, this is important for
+cluster fail-over support </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4729">JBAS-4729</a>
+] HARMIClient fails over on UnmarshalException </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4748">JBAS-4748</a>
+] TransactionLocal.get() not sufficiently pluggable</li><li>[
+<a href="http://jira.jboss.com/jira/browse/JBAS-4801">JBAS-4801</a>
+] HomeHandleImplIIOP not using the HandleDelegate</li> </ul>
+<h2>Task</h2> <ul> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-3142">JBAS-3142</a>
+] Add UnifiedInvoker (JBSer and JavaSer) into Version MatrixTestSuite </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4092">JBAS-4092</a>
+] Clean up the tests-webservice-ssl target </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4523">JBAS-4523</a>
+] Verify installation of jbossws tools jars </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4526">JBAS-4526</a>
+] JBossMQ UIL2 Read/Write Tasks should not be doing initialization </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4549">JBAS-4549</a>
+] Track JBoss and thirdparty dependencies for JBossAS 4.2.2 </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4572">JBAS-4572</a>
+] EJB 3 testsuite 100% </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4600">JBAS-4600</a>
+] Rename JBossMQ variables from jboss-messaging to
+jboss.messaging-mq.lib </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4601">JBAS-4601</a>
+] Add example sybase-xa-ds.xml from the forums </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4638">JBAS-4638</a>
+] fix org.jboss.test.web.test.ssl.SSLUnitTestCase caused by upgrade to
+JBoss Web 2.0.1.CR6. </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4640">JBAS-4640</a>
+] JmsActivation reconnection could start multiple threads </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4641">JBAS-4641</a>
+] Move XMLJUnitMultipleResultFormatter from testsuite module to test
+module </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4649">JBAS-4649</a>
+] Upgrade to JBoss Cache 1.4.1.SP4 </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4695">JBAS-4695</a>
+] Update the release notes for JBossAS 4.2.2.GA </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4696">JBAS-4696</a>
+] Arrange community documents for 4.2.2.GA </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4698">JBAS-4698</a>
+] Oswego Concurrent needs checking for bug fixes </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4699">JBAS-4699</a>
+] JBossMQ should use XA_RMFAIL as the default XA error code </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4737">JBAS-4737</a>
+] Include the CSIv2-patched JacORB </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4754">JBAS-4754</a>
+] Do a full CTS1.4 run to check for regressions. </li> </ul>
+<h2>Sub-task</h2> <ul> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-3572">JBAS-3572</a>
+] Fix the NPEs (better error handling) identified by the new
+ServiceController testsuite </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-3613">JBAS-3613</a>
+] failing test in
+org.jboss.test.iiop.test.ParameterPassingStressTestCase </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4152">JBAS-4152</a>
+] Upgrade to hsql 1.8.0.8 causes
+org.jboss.test.cmp2.idxandusersql.test.IdxAndUsersqlUnitTestCase::testCMRmn2
+to fail </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4550">JBAS-4550</a>
+] Upgrade to JBossWeb 2.0.1 (from 2.0.0.GA) </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4578">JBAS-4578</a>
+] Upgrade jboss remoting to v2.2.2.SP1 (from v2.2.1.GA) </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4663">JBAS-4663</a>
+] Replace JBossClusteredTestCase usage of RMIAdaptor </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4664">JBAS-4664</a>
+] Move JBossClusteredTestCase to test module in Branch_4_2 </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4675">JBAS-4675</a>
+] TransactionLocal cannot be locked when transaction is marked rollback
+only </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4690">JBAS-4690</a>
+] TransactionLocal tests are not run against the proper transaction
+manager </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4694">JBAS-4694</a>
+] Upgrade hsqldb to v1.8.0.8 (from 1.8.0.2) </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4715">JBAS-4715</a>
+] Upgrade jboss common to 1.2.1.GA (from 1.2.0.GA) </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4723">JBAS-4723</a>
+] Upgrade JGroups to 2.4.1.SP4 </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4731">JBAS-4731</a>
+] Upgrade to JBoss Cache 1.4.1.SP5 </li> <li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4740">JBAS-4740</a>
+] HARMIClient to give preference to wrapping NoSuchObjectException </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4759">JBAS-4759</a>
+] Upgrade jboss transactions to 4.2.3.SP6 (from 4.2.3.SP5) </li>
+<li> [ <a href="http://jira.jboss.com/jira/browse/JBAS-4760">JBAS-4760</a>
+] Upgrade to javassist 3.6.0.GA (from 3.5.0.GA) </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4761">JBAS-4761</a>
+] Upgrade to JBoss AOP 1.5.6.GA (from 1.5.5.GA) </li> <li>
+[ <a href="http://jira.jboss.com/jira/browse/JBAS-4767">JBAS-4767</a>
+] Upgrade jbossws to 2.0.1 (from 1.2.1.GA) </li> </ul><!-- ======================================================= -->
+<hr><h3>JBossAS-4.2.1.GA</h3>
+<h2>Feature Request</h2>
+<ul><li>[<a href="http://jira.jboss.com/jira/browse/JBAS-3158">JBAS-3158</a>]
+- Need a way to detect collisions between JSF RI and JSF MyFaces</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4408">JBAS-4408</a>]
+- LIMIT/OFFSET support in StoreManager2</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4454">JBAS-4454</a>]
+- Upgrade to JSF RI 1.2_04 P02</li>
+</ul><h2>Bug</h2>
+<ul><li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4415">JBAS-4415</a>]
+- ClusterFileTransferTestCase.testFarmDeploy fails to delete and copy</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4418">JBAS-4418</a>]
+- run.bat should include %PATH% in java.library.path when bin/native
+exists</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4425">JBAS-4425</a>]
+- ConnectionFactoryTemplate.xsl incorrectly sets isSameRM-override-value</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4427">JBAS-4427</a>]
+- Misnamed FK index name for CMP2</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4429">JBAS-4429</a>]
+- Classloader leak to JBossTS ReaperThread</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4441">JBAS-4441</a>]
+- Jboss hangs at startup with 100% CPU utilization</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4444">JBAS-4444</a>]
+- The invoker-proxy-binding in the base container configuration is
+ignored on sub-configurations.</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4461">JBAS-4461</a>]
+- new InitialContext().rebind("x", null) throws NullPointerException</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4462">JBAS-4462</a>]
+- mod() function not supported in SQL server 2005</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4473">JBAS-4473</a>]
+- Java to IDL mapping erroneously treats a 'get' method as an attribute</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4481">JBAS-4481</a>]
+- Transaction timeouts leave garbage Status.ROLLEDBACK UserTransaction
+object bound to the thread</li>
+</ul><h2>Task</h2>
+<ul><li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4198">JBAS-4198</a>]
+- Align EJB3 Security with JEE 1.4 Behavior</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4420">JBAS-4420</a>]
+- Separate classloader leak tests from the 'all' tests</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4442">JBAS-4442</a>]
+- Need to update exception handling code in HypersonicDatabase.java</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4467">JBAS-4467</a>]
+- Document in the release notes a configuration for multiple 1PC with
+JBossTS</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4480">JBAS-4480</a>]
+- Upgrade hibernate to v3.2.4.SP1_CP01</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4482">JBAS-4482</a>]
+- Add compatibility runs against 4.2.0.GA in Branch_4_2</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4503">JBAS-4503</a>]
+- Update the release notes for JBossAS 4.2.1.GA</li>
+<li>[<a href="http://jira.jboss.com/jira/browse/JBAS-4510">JBAS-4510</a>]
+- Upgrade jboss remoting to v2.2.1.GA (from v2.2.0.SP4)</li>
+</ul><!-- ======================================================= --><h2><a name="Documentation">Documentation
+and Help</a></h2>The&nbsp;<a href="http://labs.jboss.org/jbossas/">JBossAS community
+project</a> is hosted on jboss.org labs. Documentation and help
+may
+be obtained from the following locations.
+<ul><li><a href="http://labs.jboss.org/jbossas/docs">JBoss
+AS Documentation</a></li>
+<li><a href="http://wiki.jboss.org/">JBoss Wiki</a></li>
+<li><a href="http://jira.jboss.org/">JBoss JIRA</a></li>
+<li><a href="http://www.jboss.org/index.html?module=bb">JBoss
+Forums</a></li>
+</ul><!-- ======================================================= --><h2><a name="Licenses">Licenses</a></h2>
+<p>JBoss Application Server&nbsp; is licensed under the <a href="lgpl.html">LGPL</a>,
+as explained in the <a href="JBossORG-EULA.txt">JBoss End
+User License Agreement</a>. The licence texts for JBoss and the
+thirdparty components it uses may be found in the docs/licenses
+directory of the distribution. <a href="docs/licenses">Browse
+Licences</a>
+</p><!-- ======================================================= --><h2><a name="About">About JBoss, a
+division of RedHat</a></h2>
+<p>JBoss, a division of <a href="http://www.redhat.com/jboss/">Red
+Hat</a>, is in the business of providing
+superior technical support to our customers. Our goal is to make
+Professional Open Source&trade; the <b>SAFE CHOICE</b>
+for you. We accomplish this by backing up our open source Java products
+with technical support services that are delivered by the core
+developers themselves. We can help you to train your staff and provide
+you with support at every stage of the application lifecycle - from
+development and integration through deployment and maintenance. Visit
+the <a href="http://www.jboss.org/services/index">JBoss
+Services</a> page for more information.</p>
+</body></html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jacorb.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jacorb.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jacorb.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,429 @@
+##  $Id: jacorb.properties,v 1.1 2007/05/28 15:58:35 fnasser Exp $
+
+###############################################################################
+##                                                                           ##
+##               JacORB configuration for the JBoss server                   ##
+##                                                                           ##
+###############################################################################
+
+########################################
+#
+# options to control the configuration stage
+#
+########################################
+
+# where to look for ORB config files?
+#jacorb.config.dir=e:/JacORB_CONFIG_FEATURE
+
+# controls log output (to the console!) during the configuration stage.
+# This can help to find out which config files are actually loaded!
+#    0   : nothing is logged
+#    1,2 : only errors
+#    3,4 : info (which config files were loaded)
+jacorb.config.log.verbosity=0
+# If you set the property above to nonzero, the messages 
+#
+#     "jacorb.home unset! Will use '.'" 
+#
+# and 
+#
+#     "File ./jacorb.properties for configuration jacorb not found"
+#
+# will appear at the console when the JBoss server starts. These messages 
+# can be safely ignored.
+
+########################################
+#                                      #
+#   Initial references configuration   #
+#                                      #
+########################################
+
+ORBInitRef.NameService=corbaloc::localhost:3528/JBoss/Naming/root
+
+########################################
+#                                      #
+#      Export of corbaloc IORs         #
+#                                      #
+########################################
+
+# the object key mapping below permit clients of a name service to
+# access it using corbaloc::ipaddress:portnum/NameService
+jacorb.orb.objectKeyMap.NameService=JBoss/Naming/root
+
+##################################
+#                                #
+#   ORB version number output    #
+#                                #
+##################################
+
+# if on, the ORB's version number is printed whenever the ORB is initialized
+jacorb.orb.print_version=off
+
+##################################
+#                                #
+#   Debug output configuration   #
+#                                #
+##################################
+
+# Logging levels for the ORB instance that runs within the JBoss application 
+# server are not defined in this file anymore. Instead of specifiyng logging
+# levels here, you should use category elements in file log4j.xml to limit the
+# logging output of the various JacORB categories (jacorb, jacorb.orb, 
+# jacorb.orb.factory, jacorb.orb.interceptors, jacorb.orb.giop, jacorb.orb.iiop,
+# jacorb.giop.conn, jacorb.poa, jacorb.naming). Examples:
+#
+# <category name="jacorb">
+#    <priority value="WARN"/>
+# </category>
+#
+# <category name="jacorb.poa">
+#    <priority value="DEBUG"/>
+# </category>
+#
+# The above for is the server-side ORB only. At the client side, JacORB logging
+# levels should still be defined via *.log.verbosity properties, in a 
+# client-side orb.properties or <ORBid>.properties (e.g., jacorb.properties) 
+# file. 
+
+# hexdump outgoing messages
+jacorb.debug.dump_outgoing_messages=off
+
+# hexdump incoming messages
+jacorb.debug.dump_incoming_messages=off
+
+##################################################
+#                                                #
+#    WARNING: The following properties should    #
+#    only be edited by the expert user. They     #
+#    can be left untouched in most cases!        #
+#                                                #
+##################################################
+
+################################
+#                              #
+#   Basic ORB Configuration    #
+#                              #
+################################
+
+# the GIOP minor version number to use for newly created IORs
+jacorb.giop_minor_version=2
+
+# number of retries if connection cannot directly be established
+jacorb.retries=5
+
+# how many msecs. do we wait between retries
+jacorb.retry_interval=500
+
+# size of network buffers for outgoing messages
+jacorb.outbuf_size=2048
+
+# log2 of maximum buffer size managed by the internal
+# buffer manager.
+#
+# This is NOT the maximum buffer size that
+# can be used, but just the largest size of buffers that
+# will be kept and managed. This value will be added to
+# an internal constant of 5, so the real value in bytes
+# is 2**(5+maxManagedBufSize-1). You only need to increase this
+# value if you are dealing with LOTS of LARGE data structures.
+# You may decrease it to make the buffer manager release large
+# buffers immediately rather than keeping them for later
+# reuse.
+jacorb.maxManagedBufSize=24
+# If this value is 0 an extra unlimited size buffer cache is created
+# for the CDROutputStreams. If this value is > 0 then the cache will
+# be purged every x msecs.
+jacorb.bufferManagerMaxFlush=-1
+
+# Normally, a jacorb server will close the TCP/IP connection right
+# after sending a CloseConnection message. However, it may
+# occasionally happen that the client sends a message into the closed
+# connection because it hasn't handled the CloseConnection yet. To
+# avoid this situation, closing of the TCP/IP connection can be delayed.
+#jacorb.connection.delay_close=on
+#jacorb.connection.timeout_after_closeconnection=20000
+
+# Wait the specified number of msecs for a reply to a request. If
+# exceeded, a org.omg.CORBA.TIMEOUT exception will be thrown
+#jacorb.connection.client.pending_reply_timeout=0
+
+# Client-side connection idle timeout. Set to a non-zero value
+# to close an idle connection after so many msecs. Default is zero,
+# meaning a connection will be kept open indefinitely, or until
+# the OS decides to close it.
+#jacorb.connection.client.idle_timeout=0
+
+# Server-side connection idle timeout. Set to a non-zero value
+# to close an idle connection after so many msecs. Default is zero,
+# meaning a connection will be kept open indefinitely, or until
+# the OS decides to close it.
+#jacorb.connection.server.timeout=10000
+
+# Max no of accepted connections on the server.
+#jacorb.connection.max_server_connections=
+
+# Max number of connection threads.
+#jacorb.connection.max_threads=
+
+# The number of msecs that are waited until the next attempt to find
+# an idle connection is made (i.e. do not continuously spin)
+#jacorb.connection.wait_for_idle_interval=500
+
+# The class name of the SelectionStrategy class
+#jacorb.connection.selection_strategy_class=
+
+# The class name of the StatisticsProvider class
+#jacorb.connection.statistics_provider_class=
+
+#jacorb.reference_caching=off
+
+#
+# The following property specifies the class which is used for
+# reference caching. WeakHashtable uses WeakReferences, so entries
+# get gc'ed if only the Hashtable has a reference to them. This
+# is useful if you have many references to short-living non-persistent
+# CORBA objects. It is only available for java 1.2 and above.
+#
+# On the other hand the standard Hashtable keeps the references until
+# they are explicitely deleted by calling _release(). This is useful
+# for persistent and long-living CORBA objects.
+#
+#jacorb.hashtable_class=org.jacorb.util.WeakHashtable
+#
+jacorb.hashtable_class=java.util.Hashtable
+
+# use GIOP 1.2 byte order markers (since CORBA 2.4-5)
+jacorb.use_bom=off
+
+# add additional IIOP 1.0 profiles even if we are using IIOP 1.2
+jacorb.giop.add_1_0_profiles=off
+
+# Use DNS names in IORs
+jacorb.dns.enable=off
+
+# Compact Typecodes (0 - off, 1 - partial (not member_names), 2 - all)
+jacorb.compactTypecodes=0
+
+# Cache typecode on read
+jacorb.cacheTypecodes=off
+
+# Cache poa names
+jacorb.cachePoaNames=off
+
+###########################################
+#                                         #
+#         Interoperability                #
+#                                         #
+###########################################
+
+# Turn off indirection encoding for repeated typecodes. This fixes
+# interoperability with certain broken ORB's eg. Orbix2000
+jacorb.interop.indirection_encoding_disable=off
+
+# Iona Comet CORBA/COM bridge can incorrectly encode buffer lengths.
+# Enabling this property adds additional length checking and adjustment
+# for interoperability with Comet.
+jacorb.interop.comet=off
+
+# Some ORBs do not set a byte value of 1 as a CDR encoded boolean true
+# value. Enabling this property interprets any non zero CDR encoded
+# boolean value as true.
+jacorb.interop.lax_boolean_encoding=off
+
+# Control whether the method create_abstract_interface_tc performs
+# a validity check on the name parameter or not. Turning this check
+# off circumvents a bug in Sun's implementation of javax.rmi.CORBA.ValueHander,
+# which occasionally passes an invalid name (an empty string) to
+# ORBSingleton.create_abstract_interface_tc. If you are using RMI valuetypes,
+# you should turn this property off. JBoss uses RMI (and RMI valuetypes), so
+# you should NOT turned this property on!
+jacorb.interop.strict_check_on_tc_creation=off
+
+# Custom-marshalled RMI valuetypes should be encoded as chunks, but some
+# ORBs are not able to decode chunked values. Disable this property for
+# interoperability with the ORB in Sun's JDK 1.4.2.
+jacorb.interop.chunk_custom_rmi_valuetypes=on
+
+# RMI/IIOP data encoded as chunks should contain the length of the chunk. 
+# The ORB in Sun's JDK does not always send the length always. Enable this 
+# property for interoperability with the Sun ORB.
+jacorb.interop.sun=on
+
+###########################################
+#                                         #
+#         Socket Factories                #
+#                                         #
+###########################################
+
+# A factory design pattern is used for the creation of sockets and server
+# sockets.
+# The jacorb.net.socket_factory property can be used to configure
+# a socket factory that must implement the operations defined in the
+# interface org.jacorb.orb.factory.SocketFactory.
+# The jacorb.net.server_socket_factory property can be used to configure a
+# server socket factory that must implement the operations defined in the
+# interface org.jacorb.orb.factory.ServerSocketFactory.
+#
+#jacorb.net.socket_factory=org.jacorb.orb.factory.DefaultSocketFactory
+#jacorb.net.server_socket_factory=org.jacorb.orb.factory.DefaultServerSocketFactory
+#jacorb.net.socket_factory=org.jacorb.orb.factory.PortRangeSocketFactory
+#jacorb.net.server_socket_factory=org.jacorb.orb.factory.PortRangeServerSocketFactory
+#
+# Additional socket factores are supported that allow for the configuration
+# of maximum and minimum port numbers that can be used. This can be used to
+# enable firewall traversal via a fixed port range. To use these socket factories
+# configure one or both of the following property pairs. The first property pair
+# configures the client socket factory and the second pair the server socket
+# factory.
+#
+#jacorb.net.socket_factory.port.min
+#jacorb.net.socket_factory.port.max
+#jacorb.net.server_socket_factory.port.min
+#jacorb.net.server_socket_factory.port.max
+
+###########################################
+#                                         #
+#         BiDirectional GIOP              #
+#                                         #
+###########################################
+
+# uncomment this initializer if you want to use BiDirectional GIOP
+
+#org.omg.PortableInterceptor.ORBInitializerClass.bidir_init=org.jacorb.orb.connection.BiDirConnectionInitializer
+
+
+###########################################
+#                                         #
+#       Proxy address in IOR              #
+#                                         #
+###########################################
+
+#
+# with these two properties it is possible to
+# tell the ORB what IP/port IORs should contain,
+# if the ServerSockets IP/port can't be used
+# (e.g. for traffic through a firewall).
+#
+# WARNING: this is just "dumb" replacing, so you
+# have to take care of your configuration!
+#
+
+#jacorb.ior_proxy_host=1.2.3.4
+#jacorb.ior_proxy_port=4711
+
+
+###########################################
+#                                         #
+#   The Object Adapter Internet Address   #
+#                                         #
+###########################################
+
+# IP address on multi-homed host (this gets encoded in
+# object references). NOTE: Adresses like 127.0.0.X
+# will only be accessible from the same machine!
+#OAIAddr=127.0.0.1
+
+# This are the IIOP ports officially assigned to JBoss by IANA:
+OAPort=3528
+OASSLPort=3529
+
+############################
+#                          #
+#   Default Interceptors   #
+#   Please leave them in!  #
+#                          #
+############################
+org.omg.PortableInterceptor.ORBInitializerClass.standard_init=org.jacorb.orb.standardInterceptors.IORInterceptorInitializer
+
+###############################################
+#                                             #
+#   Implementation Repository Configuration   #
+#                                             #
+###############################################
+# Switch off to avoid contacting the ImR on every server start-up
+jacorb.use_imr=off
+
+# the implementation name, should be set to a different
+# name in the code of persistent servers
+jacorb.implname=JBoss
+
+#########################
+#                       #
+#   SSL Configuration   #
+#                       #
+#########################
+
+# This interceptor must be set if programs need access to
+# certificates using the CORBA Security API, SSL works also
+# without this interceptor
+
+#org.omg.PortableInterceptor.ORBInitializerClass.ForwardInit=org.jacorb.security.ssl.sun_jsse.SecurityServiceInitializer
+
+# qualified classname of access decision object
+#jacorb.security.access_decision=org.jacorb.security.level2.AccessDecisionImpl
+
+# list of qualified classnames of principal authenticator objects,
+# separated by commas (no whitespaces!). The first entry (that can
+# be successfully created) will be available through the
+# principal_authenticator property.
+# jacorb.security.principal_authenticator=org.jacorb.security.level2.PrincipalAuthenticatorImpl
+
+# the qualified classname of the ssl socket factory class
+jacorb.ssl.socket_factory=org.jboss.iiop.jacorb.SSLSocketFactory
+
+# the qualified classname of the ssl server socket factory class
+jacorb.ssl.server_socket_factory=org.jboss.iiop.jacorb.SSLServerSocketFactory
+
+# change to "on" to enable SSL
+jacorb.security.support_ssl=off
+
+# IIOP/SSL parameters (numbers are hex values, without the leading "0x"):
+# EstablishTrustInTarget = 20
+# EstablishTrustInClient = 40
+# mutual authentication = 60
+
+jacorb.security.ssl.client.supported_options=60
+jacorb.security.ssl.client.required_options=0
+
+jacorb.security.ssl.server.supported_options=60
+jacorb.security.ssl.server.required_options=0
+
+#org.omg.PortableInterceptor.ORBInitializerClass.ForwardInit=org.jacorb.security.ssl.sun_jsse.SecurityServiceInitializer
+
+# tell JacORB not to add SSL components to IORs (an IORinterceptor will do it)
+jacorb.security.ssl_components_added_by_ior_interceptor=on
+
+#########################
+#                       #
+#   POA Configuration   #
+#                       #
+#########################
+
+# displays a GUI monitoring tool for servers
+jacorb.poa.monitoring=off
+
+# thread pool configuration for request processing
+jacorb.poa.thread_pool_max=8
+jacorb.poa.thread_pool_min=2
+
+# if set, request processing threads in thePOA
+# will run at this priority. If not set or invalid,
+# MAX_PRIORITY will be used.
+#jacorb.poa.thread_priority=
+
+# Properties controlling the POA's request queue.  If queue_wait is off,
+# then if there are more than queue_max requests in the queue, the
+# client gets TRANSIENT exceptions for any requests.  If queue_wait is on,
+# then the call blocks at the server side until no more than queue_min
+# requests are left in the queue.  The new request is then delivered as usual.
+jacorb.poa.queue_wait=off
+jacorb.poa.queue_max=100
+jacorb.poa.queue_min=10
+
+##################################
+#                                #
+#   Logger Factory Configuration #
+#                                #
+##################################
+
+jacorb.log.loggerFactory=org.jboss.util.Log4jLoggerFactory

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-log4j.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-log4j.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-log4j.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,301 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Log4j Configuration                                                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: jboss-log4j.xml 65459 2007-09-19 00:25:51Z dimitris at jboss.org $ -->
+
+<!--
+   | For more configuration infromation and examples see the Jakarta Log4j
+   | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+   <!-- ================================= -->
+   <!-- Preserve messages in a local file -->
+   <!-- ================================= -->
+
+   <!-- A time/date based rolling appender -->
+   <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      <param name="File" value="${jboss.server.log.dir}/server.log"/>
+      <param name="Append" value="false"/>
+
+      <!-- Rollover at midnight each day -->
+      <param name="DatePattern" value="'.'yyyy-MM-dd"/>
+
+      <!-- Rollover at the top of each hour
+      <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+      -->
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+
+         <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+         <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+          -->
+      </layout>
+   </appender>
+
+   <!-- A size based file rolling appender
+   <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="File" value="${jboss.server.log.dir}/server.log"/>
+     <param name="Append" value="false"/>
+     <param name="MaxFileSize" value="500KB"/>
+     <param name="MaxBackupIndex" value="1"/>
+
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+     </layout>	    
+   </appender>
+   -->
+
+   <!-- ============================== -->
+   <!-- Append messages to the console -->
+   <!-- ============================== -->
+
+   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      <param name="Target" value="System.out"/>
+      <param name="Threshold" value="INFO"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+      </layout>
+   </appender>
+  
+   <!-- ====================== -->
+   <!-- More Appender examples -->
+   <!-- ====================== -->
+
+   <!-- Buffer events and log them asynchronously
+   <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <appender-ref ref="FILE"/>
+     <appender-ref ref="CONSOLE"/>
+     <appender-ref ref="SMTP"/>
+   </appender>
+   -->
+
+   <!-- EMail events to an administrator
+   <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="Threshold" value="ERROR"/>
+     <param name="To" value="admin at myhost.domain.com"/>
+     <param name="From" value="nobody at myhost.domain.com"/>
+     <param name="Subject" value="JBoss Sever Errors"/>
+     <param name="SMTPHost" value="localhost"/>
+     <param name="BufferSize" value="10"/>
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+     </layout>
+   </appender>
+   -->
+
+   <!-- Syslog events
+   <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="Facility" value="LOCAL7"/>
+     <param name="FacilityPrinting" value="true"/>
+     <param name="SyslogHost" value="localhost"/>
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+     </layout>
+   </appender>
+   -->
+
+   <!-- Log events to JMS (requires a topic to be created)
+   <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="Threshold" value="ERROR"/>
+     <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
+     <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
+   </appender>
+   -->
+
+   <!-- Log events through SNMP
+   <appender name="TRAP_LOG" class="org.apache.log4j.ext.SNMPTrapAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="ImplementationClassName" value="org.apache.log4j.ext.JoeSNMPTrapSender"/>
+     <param name="ManagementHost" value="127.0.0.1"/>
+     <param name="ManagementHostTrapListenPort" value="162"/>
+     <param name="EnterpriseOID" value="1.3.6.1.4.1.24.0"/>
+     <param name="LocalIPAddress" value="127.0.0.1"/>
+     <param name="LocalTrapSendPort" value="161"/>
+     <param name="GenericTrapType" value="6"/>
+     <param name="SpecificTrapType" value="12345678"/>
+     <param name="CommunityString" value="public"/>
+     <param name="ForwardStackTraceWithTrap" value="true"/>
+     <param name="Threshold" value="DEBUG"/>
+     <param name="ApplicationTrapOID" value="1.3.6.1.4.1.24.12.10.22.64"/>
+     <layout class="org.apache.log4j.PatternLayout">
+            <param name="ConversionPattern" value="%d,%p,[%t],[%c],%m%n"/>
+     </layout>
+   </appender>
+   -->
+
+   <!--  Emit events as JMX notifications
+   <appender name="JMX" class="org.jboss.monitor.services.JMXNotificationAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      
+      <param name="Threshold" value="WARN"/>
+      <param name="ObjectName" value="jboss.system:service=Logging,type=JMXNotificationAppender"/>
+      
+      <layout class="org.apache.log4j.PatternLayout">
+         <param name="ConversionPattern" value="%d %-5p [%c] %m"/>
+      </layout>
+   </appender>
+   -->
+   
+   <!-- ================ -->
+   <!-- Limit categories -->
+   <!-- ================ -->
+
+   <!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
+   <category name="org.apache">
+      <priority value="INFO"/>
+   </category>
+
+   <!-- Limit the jacorb category to WARN as its INFO is verbose -->
+   <category name="jacorb">
+      <priority value="WARN"/>
+   </category>
+   
+   <!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
+   <category name="org.jgroups">
+      <priority value="WARN"/>
+   </category>
+   
+   <!-- Limit the org.quartz category to INFO as its DEBUG is verbose -->
+   <category name="org.quartz">
+      <priority value="INFO"/>
+   </category>
+
+   <!-- Limit JBoss categories
+   <category name="org.jboss">
+      <priority value="INFO"/>
+   </category>
+   -->
+
+   <!-- Limit the JSR77 categories -->
+   <category name="org.jboss.management">
+      <priority value="INFO"/>
+   </category>
+
+   <!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
+   <category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
+     <priority value="TRACE"/>
+   </category>
+   -->
+   
+   <!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -->
+   <category name="org.jboss.serial">
+      <priority value="INFO"/>
+   </category>
+   
+   <!-- Decrease the priority threshold for the org.jboss.varia category
+   <category name="org.jboss.varia">
+     <priority value="DEBUG"/>
+   </category>
+   -->
+
+   <!-- Enable JBossWS message tracing
+   <category name="org.jboss.ws.core.MessageTrace">
+    <priority value="TRACE"/>
+   </category>
+   -->
+
+   <!--
+      | An example of enabling the custom TRACE level priority that is used
+      | by the JBoss internals to diagnose low level details. This example
+      | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
+      | subpackages. This will produce A LOT of logging output.
+      |
+      | Note: since jboss AS 4.2.x, the trace level is supported natively by
+      | log4j, so although the custom org.jboss.logging.XLevel priority will
+      | still work, there is no need to use it. The two examples that follow
+      | will both enable trace logging.
+   <category name="org.jboss.system">
+     <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+   </category>
+   <category name="org.jboss.ejb.plugins">
+     <priority value="TRACE"/>
+   </category>
+   -->
+  
+   <!--
+       | Logs these events to SNMP:
+           - server starts/stops
+           - cluster evolution (node death/startup)
+           - When an EJB archive is deployed (and associated verified messages)
+           - When an EAR archive is deployed
+      	 
+   <category name="org.jboss.system.server.Server">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+  
+   <category name="org.jboss.ha.framework.interfaces.HAPartition.lifecycle">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+
+   <category name="org.jboss.deployment.MainDeployer">
+     <priority value="ERROR" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+   
+   <category name="org.jboss.ejb.EJBDeployer">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+   
+   <category name="org.jboss.deployment.EARDeployer">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+   -->
+
+   <!-- Clustering logging -->
+   <!-- Uncomment the following to redirect the org.jgroups and
+      org.jboss.ha categories to a cluster.log file.
+
+   <appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="File" value="${jboss.server.log.dir}/cluster.log"/>
+     <param name="Append" value="false"/>
+     <param name="MaxFileSize" value="500KB"/>
+     <param name="MaxBackupIndex" value="1"/>
+
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+     </layout>
+   </appender>
+   <category name="org.jgroups">
+     <priority value="DEBUG" />
+     <appender-ref ref="CLUSTER"/>
+   </category>
+   <category name="org.jboss.ha">
+     <priority value="DEBUG" />
+     <appender-ref ref="CLUSTER"/>
+   </category>
+   -->
+   
+   <!-- ======================= -->
+   <!-- Setup the Root category -->
+   <!-- ======================= -->
+
+   <root>
+      <appender-ref ref="CONSOLE"/>
+      <appender-ref ref="FILE"/>
+   </root>
+
+</log4j:configuration>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-minimal.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-minimal.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-minimal.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-minimal.xml 60298 2007-02-05 16:01:55Z dimitris at jboss.org $ -->
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  A minimal JBoss Server Configuration                                 -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- Load all jars from the JBOSS_DIST/server/<config>/lib directory. This
+     can be restricted to specific jars by specifying them in the archives
+     attribute.
+    -->
+   <classpath codebase="${jboss.server.lib.url:lib}" archives="*"/>
+
+   <!-- ==================================================================== -->
+   <!-- Log4j Initialization                                                 -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.logging.Log4jService"
+      name="jboss.system:type=Log4jService,service=Logging">
+      <attribute name="ConfigurationURL">resource:jboss-log4j.xml</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Thread Pool                                                          -->
+   <!-- ==================================================================== -->
+   
+   <!-- A Thread pool service -->
+   <mbean code="org.jboss.util.threadpool.BasicThreadPool"
+      name="jboss.system:service=ThreadPool">
+      <attribute name="Name">JBoss System Threads</attribute>
+      <attribute name="ThreadGroupName">System Threads</attribute>
+      <!-- How long a thread will live without any tasks in MS -->
+      <attribute name="KeepAliveTime">60000</attribute>
+      <!-- The max number of threads in the pool -->
+      <attribute name="MaximumPoolSize">10</attribute>
+      <!-- The max number of tasks before the queue is full -->
+      <attribute name="MaximumQueueSize">1000</attribute>
+      <!-- The behavior of the pool when a task is added and the queue is full.
+      abort - a RuntimeException is thrown
+      run - the calling thread executes the task
+      wait - the calling thread blocks until the queue has room
+      discard - the task is silently discarded without being run
+      discardOldest - check to see if a task is about to complete and enque
+         the new task if possible, else run the task in the calling thread
+      -->
+      <attribute name="BlockingMode">run</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- JNDI                                                                 -->
+   <!-- ==================================================================== -->
+   
+   <!-- A simple mbean wrapper around the jndi Naming object. This
+   only handles an in memory instance. The NamingService uses this
+   as the JNDI store and exposes it remotely.
+   -->
+   <mbean code="org.jnp.server.NamingBeanImpl"
+      name="jboss:service=NamingBeanImpl"
+      xmbean-dd="resource:xmdesc/NamingBean-xmbean.xml">
+   </mbean>
+   
+   <mbean code="org.jboss.naming.NamingService"
+      name="jboss:service=Naming"
+      xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
+      <!-- The call by value mode. true if all lookups are unmarshalled using
+         the caller's TCL, false if in VM lookups return the value by reference.
+      -->
+      <attribute name="CallByValue">false</attribute>
+      <!-- The listening port for the bootstrap JNP service. Set this to -1
+         to run the NamingService without the JNP invoker listening port.
+      -->
+      <attribute name="Port">1099</attribute>
+      <!-- The bootstrap JNP server bind address. This also sets the default
+         RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>
+      <!-- The port of the RMI naming service, 0 == anonymous -->
+      <attribute name="RmiPort">1098</attribute>
+      <!-- The RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
+      <!-- The thread pool service used to control the bootstrap lookups -->
+      <depends optional-attribute-name="LookupPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+      <!-- An example of using the unifed invoker as the transport.
+         <depends optional-attribute-name="InvokerProxyFactory"
+         proxy-type="attribute">jboss:service=proxyFactory,type=unified,target=Naming</depends>
+      -->
+      <depends optional-attribute-name="Naming"
+         proxy-type="attribute">jboss:service=NamingBeanImpl</depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Deployment Scanning                                                  -->
+   <!-- ==================================================================== -->
+
+   <!-- An mbean for hot deployment/undeployment of archives.
+   -->
+   <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
+      name="jboss.deployment:type=DeploymentScanner,flavor=URL">
+
+      <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
+
+      <!-- The URLComparator can be used to specify a deployment ordering
+           for deployments found in a scanned directory.  The class specified
+           must be an implementation of java.util.Comparator, it must be able
+           to compare two URL objects, and it must have a no-arg constructor.
+           Two deployment comparators are shipped with JBoss:
+             - org.jboss.deployment.DeploymentSorter 
+               Sorts by file extension, as follows:
+                 "sar", "service.xml", "rar", "jar", "war", "wsr", "ear", "zip", 
+                 "*"
+             - org.jboss.deployment.scanner.PrefixDeploymentSorter
+               If the name portion of the url begins with 1 or more digits, those 
+               digits are converted to an int (ignoring leading zeroes), and 
+               files are deployed in that order.  Files that do not start with 
+               any digits will be deployed last, and they will be sorted by
+               extension as above with DeploymentSorter.
+      -->
+      <attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
+      
+      <!-- The Filter specifies a java.io.FileFilter for scanned
+           directories.  Any file not accepted by this filter will not be
+           deployed.  The org.jboss.deployment.scanner.DeploymentFilter 
+           rejects the following patterns:
+               "#*", "%*", ",*", ".*", "_$*", "*#", "*$", "*%", "*.BAK", 
+               "*.old", "*.orig", "*.rej", "*.bak", "*,v", "*~", ".make.state", 
+               ".nse_depinfo", "CVS", "CVS.admin", "RCS", "RCSLOG", "SCCS", 
+               "TAGS", "core", "tags"
+      -->
+      <attribute name="Filter">org.jboss.deployment.scanner.DeploymentFilter</attribute>
+
+      <attribute name="ScanPeriod">5000</attribute>
+
+      <!-- URLs are comma seperated and unprefixed arguments are considered
+         file URLs and resolve relative to server home(JBOSS_DIST/server/default)
+         unless the given path is absolute. Any referenced directories cannot
+         be unpackaged archives, use the parent directory of the unpacked
+         archive.
+       -->
+      <attribute name="URLs">
+       deploy/
+      </attribute>
+      
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,696 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-service.xml 62434 2007-04-19 21:22:50Z dimitris at jboss.org $ -->
+
+<!-- ===================================================================== -->
+<!--  JBoss Server Configuration                                           -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- Load all jars from the JBOSS_DIST/server/<config>/lib directory. This
+     can be restricted to specific jars by specifying them in the archives
+     attribute.
+    -->
+   <classpath codebase="${jboss.server.lib.url:lib}" archives="*"/>
+
+   <!-- ==================================================================== -->
+   <!-- JSR-77 Single JBoss Server Management Domain                         -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.management.j2ee.LocalJBossServerDomain"
+      name="jboss.management.local:j2eeType=J2EEDomain,name=Manager">
+      <attribute name="MainDeployer">jboss.system:service=MainDeployer</attribute>
+      <attribute name="SARDeployer">jboss.system:service=ServiceDeployer</attribute>
+      <attribute name="EARDeployer">jboss.j2ee:service=EARDeployer</attribute>
+      <attribute name="EJBDeployer">jboss.ejb:service=EJBDeployer</attribute>
+      <attribute name="RARDeployer">jboss.jca:service=RARDeployer</attribute>
+      <attribute name="CMDeployer">jboss.jca:service=ConnectionFactoryDeployer</attribute>
+      <attribute name="WARDeployer">jboss.web:service=WebServer</attribute>
+      <attribute name="CARDeployer">jboss.j2ee:service=ClientDeployer</attribute>
+      <attribute name="MailService">jboss:service=Mail</attribute>
+      <attribute name="JMSService">jboss.mq:service=DestinationManager</attribute>
+      <attribute name="JNDIService">jboss:service=Naming</attribute>
+      <attribute name="JTAService">jboss:service=TransactionManager</attribute>
+      <attribute name="UserTransactionService">jboss:service=ClientUserTransaction</attribute>
+      <attribute name="RMI_IIOPService">jboss:service=CorbaORB</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- XMBean Persistence                                                   -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.system.pm.AttributePersistenceService"
+      name="jboss:service=AttributePersistenceService"
+      xmbean-dd="resource:xmdesc/AttributePersistenceService-xmbean.xml">
+      <!-- the AttributePersistenceService is persistent, itself -->
+
+      <!--
+      <attribute name="AttributePersistenceManagerClass">org.jboss.system.pm.XMLAttributePersistenceManager</attribute>
+      <attribute name="AttributePersistenceManagerConfig">
+         <data-directory>data/xmbean-attrs</data-directory>
+      </attribute>
+      <attribute name="ApmDestroyOnServiceStop">false</attribute>
+      <attribute name="VersionTag"></attribute>
+      -->
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Thread Pool                                                          -->
+   <!-- ==================================================================== -->
+   
+   <!-- A Thread pool service -->
+   <mbean code="org.jboss.util.threadpool.BasicThreadPool"
+      name="jboss.system:service=ThreadPool">
+      <attribute name="Name">JBoss System Threads</attribute>
+      <attribute name="ThreadGroupName">System Threads</attribute>
+      <!-- How long a thread will live without any tasks in MS -->
+      <attribute name="KeepAliveTime">60000</attribute>
+      <!-- The max number of threads in the pool -->
+      <attribute name="MaximumPoolSize">10</attribute>
+      <!-- The max number of tasks before the queue is full -->
+      <attribute name="MaximumQueueSize">1000</attribute>
+      <!-- The behavior of the pool when a task is added and the queue is full.
+      abort - a RuntimeException is thrown
+      run - the calling thread executes the task
+      wait - the calling thread blocks until the queue has room
+      discard - the task is silently discarded without being run
+      discardOldest - check to see if a task is about to complete and enque
+         the new task if possible, else run the task in the calling thread
+      -->
+      <attribute name="BlockingMode">run</attribute>
+   </mbean>
+
+   <!-- Preload all custom editors for VMs that don't use the thread
+        context class loader when searching for PropertyEditors. Uncomment
+        if your JDK 1.3.0 VM fails to find JBoss PropertyEditors.
+   <mbean code="org.jboss.varia.property.PropertyEditorManagerService"
+     name="jboss:type=Service,name=BootstrapEditors">
+     <attribute name="BootstrapEditors">
+       java.math.BigDecimal=org.jboss.util.propertyeditor.BigDecimalEditor
+       java.lang.Boolean=org.jboss.util.propertyeditor.BooleanEditor
+       java.lang.Class=org.jboss.util.propertyeditor.ClassEditor
+       java.util.Date=org.jboss.util.propertyeditor.DateEditor
+       java.io.File=org.jboss.util.propertyeditor.FileEditor
+       java.net.InetAddress=org.jboss.util.propertyeditor.InetAddressEditor
+       java.lang.Integer=org.jboss.util.propertyeditor.IntegerEditor
+       javax.management.ObjectName=org.jboss.mx.util.propertyeditor.ObjectNameEditor
+       java.util.Properties=org.jboss.util.propertyeditor.PropertiesEditor
+       [Ljava.lang.String;=org.jboss.util.propertyeditor.StringArrayEditor
+       java.net.URL=org.jboss.util.propertyeditor.URLEditor
+     </attribute>
+   </mbean>
+   -->
+
+   <!-- ==================================================================== -->
+   <!-- Log4j Initialization                                                 -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.logging.Log4jService"
+      name="jboss.system:type=Log4jService,service=Logging"
+	  xmbean-dd="resource:xmdesc/Log4jService-xmbean.xml">
+      <attribute name="ConfigurationURL">resource:jboss-log4j.xml</attribute>
+      <!-- Set the org.apache.log4j.helpers.LogLog.setQuiteMode. As of log4j1.2.8
+      this needs to be set to avoid a possible deadlock on exception at the
+      appender level. See bug#696819.
+      -->
+      <attribute name="Log4jQuietMode">true</attribute>
+      <!-- How frequently in seconds the ConfigurationURL is checked for changes -->
+      <attribute name="RefreshPeriod">60</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Active Alarm Table                                                   -->
+   <!-- ==================================================================== -->
+
+   <!--
+      | The ActiveAlarmTable service is a simple JMX notification listener
+      | that maintains a table with the received notifications (alarms).
+      | The alarms can be acknowledged through the jmx or the web console.
+      | Modify the SubscriptionList below to subscribe for any notification
+      | in the system and treat it as an alarm.
+      | The JMXNotificationAppender is a log4j Appender that can be configured
+      | in log4j.xml, that trasforms logging events to JMX notification so they
+      | can be fed back into the table. By storing the WARN or higher level logging
+      | events you can have a quick view of important system faults.
+      |
+      | The following attributes may be set:
+      |
+      | MaxTableSize (default 1000)
+      |  - set an upper limit to the number of stored alarms
+      | LogLevel (default DEBUG)
+      |  - the log level to use for received notification, can be set to NONE
+      | ServerId (default jboss)
+      |  - used to construct unique alarm ids
+      | SubscriptionList
+      |  - subscribe for the notifications to be stored in the table
+
+   <mbean code="org.jboss.monitor.services.ActiveAlarmTable"
+          name="jboss.monitor:service=ActiveAlarmTable">
+      <attribute name="SubscriptionList">
+         <subscription-list>
+            <mbean name="jboss.monitor:*">
+               <notification type="jboss.alarm"/>
+               <notification type="JBOSS_MONITOR_NOTIFICATION"/>
+            </mbean>
+            <mbean name="jboss.system:service=Logging,type=JMXNotificationAppender"/>
+         </subscription-list>
+      </attribute>
+   </mbean>
+   -->
+
+   <!-- ==================================================================== -->
+   <!-- JBoss RMI Classloader - only install when available                  -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.util.property.jmx.SystemPropertyClassValue"
+      name="jboss.rmi:type=RMIClassLoader">
+      <attribute name="Property">java.rmi.server.RMIClassLoaderSpi</attribute>
+      <attribute name="ClassName">org.jboss.system.JBossRMIClassLoader</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Service Binding                                                      -->
+   <!-- ==================================================================== -->
+
+   <!-- Automatically activated when generatting the clustering environment -->
+   <!-- @TESTSUITE_CLUSTER_CONFIG@ -->
+
+   <!--
+      | Binding service manager for port/host mapping. This is a sample
+      | config that demonstrates a JBoss instances with a server name 'ports-01'
+      | loading its bindings from an XML file using the ServicesStoreFactory
+      | implementation returned by the XMLServicesStoreFactory.
+      |
+      | ServerName: The unique name assigned to a JBoss server instance for
+      | lookup purposes. This allows a single ServicesStore to handle mulitiple
+      | JBoss servers.
+      |
+      | StoreURL: The URL string passed to org.jboss.services.binding.ServicesStore
+      | during initialization that specifies how to connect to the bindings store.
+      | StoreFactory: The org.jboss.services.binding.ServicesStoreFactory interface
+      | implementation to create to obtain the ServicesStore instance.
+
+   <mbean code="org.jboss.services.binding.ServiceBindingManager"
+     name="jboss.system:service=ServiceBindingManager">
+     <attribute name="ServerName">ports-01</attribute>
+     <attribute name="StoreURL">${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml</attribute>
+     <attribute name="StoreFactoryClassName">
+       org.jboss.services.binding.XMLServicesStoreFactory
+     </attribute>
+   </mbean>
+   -->
+
+   <!-- ==================================================================== -->
+   <!-- Class Loading                                                        -->
+   <!-- ==================================================================== -->
+
+   <!-- A mini webserver used for dynamic and class and resource loading --> 
+   <mbean code="org.jboss.web.WebService"
+      name="jboss:service=WebService">
+      <!-- The Bind address and Port -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>      
+      <attribute name="Port">8083</attribute>
+      <!--  The address to use for the host portion of the RMI codebase URL -->
+      <attribute name="Host">${java.rmi.server.hostname}</attribute>
+      <!-- Should non-EJB .class files be downloadable -->
+      <attribute name="DownloadServerClasses">true</attribute>
+      <!-- Should resources other than .class files be downloadable. Both
+         DownloadServerClasses and DownloadResources must be true for resources
+         to be downloadable. This is false by default because its generally a
+         bad idea as server configuration files that container security
+         information can be accessed.
+       -->
+      <attribute name="DownloadResources">false</attribute>
+
+      <!-- Use the default thread pool for dynamic class loading -->
+      <depends optional-attribute-name="ThreadPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- JNDI                                                                 -->
+   <!-- ==================================================================== -->
+
+   <!-- A simple mbean wrapper around the jndi Naming object. This
+   only handles an in memory instance. The NamingService uses this
+   as the JNDI store and exposes it remotely.
+   -->
+   <mbean code="org.jnp.server.NamingBeanImpl"
+      name="jboss:service=NamingBeanImpl"
+      xmbean-dd="resource:xmdesc/NamingBean-xmbean.xml">
+   </mbean>
+   
+   <mbean code="org.jboss.naming.NamingService"
+      name="jboss:service=Naming"
+      xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
+      <!-- The call by value mode. true if all lookups are unmarshalled using
+         the caller's TCL, false if in VM lookups return the value by reference.
+      -->
+      <attribute name="CallByValue">false</attribute>
+      <!-- The listening port for the bootstrap JNP service. Set this to -1
+         to run the NamingService without the JNP invoker listening port.
+      -->
+      <attribute name="Port">1099</attribute>
+      <!-- The bootstrap JNP server bind address. This also sets the default
+         RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>
+      <!-- The port of the RMI naming service, 0 == anonymous -->
+      <attribute name="RmiPort">1098</attribute>
+      <!-- The RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
+      <!-- The thread pool service used to control the bootstrap lookups -->
+      <depends optional-attribute-name="LookupPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+      <!-- An example of using the unifed invoker as the transport.
+         <depends optional-attribute-name="InvokerProxyFactory"
+         proxy-type="attribute">jboss:service=proxyFactory,type=unified,target=Naming</depends>
+      -->
+      <depends optional-attribute-name="Naming"
+         proxy-type="attribute">jboss:service=NamingBeanImpl</depends>
+   </mbean>
+   
+   <mbean code="org.jboss.naming.JNDIView"
+   	name="jboss:service=JNDIView"
+   	xmbean-dd="resource:xmdesc/JNDIView-xmbean.xml">
+   	<!-- The HANamingService service name -->
+   	<attribute name="HANamingService">jboss:service=HAJNDI</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Security                                                             -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.security.plugins.SecurityConfig"
+      name="jboss.security:service=SecurityConfig">
+      <attribute name="LoginConfig">jboss.security:service=XMLLoginConfig</attribute>
+   </mbean>
+   <mbean code="org.jboss.security.auth.login.XMLLoginConfig"
+      name="jboss.security:service=XMLLoginConfig">
+      <attribute name="ConfigResource">login-config.xml</attribute>
+   </mbean>
+
+   <!-- JAAS security manager and realm mapping -->
+   <mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
+      name="jboss.security:service=JaasSecurityManager">
+      <!-- A flag which indicates whether the SecurityAssociation server mode
+      is set on service creation. This is true by default since the
+      SecurityAssociation should be thread local for multi-threaded server
+      operation.
+      -->
+      <attribute name="ServerMode">true</attribute>
+      <attribute name="SecurityManagerClassName">org.jboss.security.plugins.JaasSecurityManager</attribute>
+      <attribute name="DefaultUnauthenticatedPrincipal">anonymous</attribute>
+      <!-- DefaultCacheTimeout: Specifies the default timed cache policy timeout
+      in seconds.
+      If you want to disable caching of security credentials, set this to 0 to
+      force authentication to occur every time. This has no affect if the
+      AuthenticationCacheJndiName has been changed from the default value.
+      -->
+      <attribute name="DefaultCacheTimeout">1800</attribute>
+      <!-- DefaultCacheResolution: Specifies the default timed cache policy
+      resolution in seconds. This controls the interval at which the cache
+      current timestamp is updated and should be less than the DefaultCacheTimeout
+      in order for the timeout to be meaningful. This has no affect if the
+      AuthenticationCacheJndiName has been changed from the default value.
+      -->
+      <attribute name="DefaultCacheResolution">60</attribute>
+      <!-- DeepCopySubjectMode: This set the copy mode of subjects done by the
+      security managers to be deep copies that makes copies of the subject
+      principals and credentials if they are cloneable. It should be set to
+      true if subject include mutable content that can be corrupted when
+      multiple threads have the same identity and cache flushes/logout clearing
+      the subject in one thread results in subject references affecting other
+      threads.
+      -->
+      <attribute name="DeepCopySubjectMode">false</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Transactions                                                         -->
+   <!-- ==================================================================== -->
+
+   <!-- The configurable Xid factory.  For use with Oracle, set pad to true -->
+   <mbean code="org.jboss.tm.XidFactory"
+      name="jboss:service=XidFactory">
+      <!--attribute name="Pad">true</attribute-->
+   </mbean>
+
+   <!--
+      | The fast in-memory transaction manager.
+      | Deprecated in JBossAS v4.2. Use JBossTS JTA instead.
+    - ->
+   <mbean code="org.jboss.tm.TransactionManagerService"
+      name="jboss:service=TransactionManager"
+      xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml">
+      <attribute name="TransactionTimeout">300</attribute>
+      <!- - set to false to disable transaction demarcation over IIOP - ->
+      <attribute name="GlobalIdsEnabled">true</attribute>
+      <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
+
+      <!- - Transaction Integrity Checking - ->
+      <!- - Force a rollback if another thread is associated with the transaction at commit - ->
+      <!- - <depends optional-attribute-name="TransactionIntegrityFactory"
+               proxy-type="org.jboss.tm.integrity.TransactionIntegrityFactory">
+         <mbean code="org.jboss.tm.integrity.FailIncompleteTransaction"
+                name="jboss:service=TransactionManager,plugin=TransactionIntegrity"/>
+      </depends> - ->
+   </mbean>
+   -->
+
+   <!-- JBoss Transactions JTA -->
+   <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService"
+      name="jboss:service=TransactionManager">
+      <attribute name="TransactionTimeout">300</attribute>
+      <attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute> 
+   </mbean>
+
+   <!--
+      | UserTransaction support.
+    -->
+   <mbean code="org.jboss.tm.usertx.server.ClientUserTransactionService"
+      name="jboss:service=ClientUserTransaction"
+      xmbean-dd="resource:xmdesc/ClientUserTransaction-xmbean.xml">
+      <depends>
+         <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
+            name="jboss:service=proxyFactory,target=ClientUserTransactionFactory">
+            <attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
+            <attribute name="TargetName">jboss:service=ClientUserTransaction</attribute>
+            <attribute name="JndiName">UserTransactionSessionFactory</attribute>
+            <attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory</attribute>
+            <attribute name="ClientInterceptors">
+               <interceptors>
+                  <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+                  <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+               </interceptors>
+            </attribute>
+            <depends>jboss:service=invoker,type=jrmp</depends>
+         </mbean>
+      </depends>
+      <depends optional-attribute-name="TxProxyName">
+         <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
+            name="jboss:service=proxyFactory,target=ClientUserTransaction">
+            <attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
+            <attribute name="TargetName">jboss:service=ClientUserTransaction</attribute>
+            <attribute name="JndiName"></attribute>
+            <attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSession</attribute>
+            <attribute name="ClientInterceptors">
+               <interceptors>
+                  <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+                  <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+               </interceptors>
+            </attribute>
+            <depends>jboss:service=invoker,type=jrmp</depends>
+         </mbean>
+      </depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Invokers to the JMX node                                             -->
+   <!-- ==================================================================== -->
+
+   <!-- Unified invoker (based on remoting) -->
+   <mbean code="org.jboss.invocation.unified.server.UnifiedInvoker"
+      name="jboss:service=invoker,type=unified">
+      <!-- To turn on strict RMI exception propagation uncomment block below -->
+      <!-- This will cause the UnifiedInvokerProxy to wrap RemoteExceptions  -->
+      <!-- within a ServerException, otherwise will throw root exception     -->
+      <!-- (not RemoteException)                                             -->
+      <!-- <attribute name="StrictRMIException">true</attribute> -->
+      <depends>jboss:service=TransactionManager</depends>
+      <depends>jboss.remoting:service=Connector,transport=socket</depends>
+   </mbean>
+
+   <!-- RMI/JRMP invoker -->
+   <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
+      name="jboss:service=invoker,type=jrmp">
+      <attribute name="RMIObjectPort">4444</attribute>
+      <attribute name="ServerAddress">${jboss.bind.address}</attribute>
+      <!--
+      <attribute name="RMIClientSocketFactory">custom</attribute>
+      <attribute name="RMIServerSocketFactory">custom</attribute>
+      <attribute name="RMIServerSocketAddr">custom</attribute>
+      <attribute name="SecurityDomain">ssl-domain-name</attribute>
+      -->
+      <depends>jboss:service=TransactionManager</depends>
+   </mbean>
+
+   <mbean code="org.jboss.invocation.local.LocalInvoker"
+      name="jboss:service=invoker,type=local">
+
+      <depends>jboss:service=TransactionManager</depends>
+   </mbean>
+
+   <mbean code="org.jboss.invocation.pooled.server.PooledInvoker"
+      name="jboss:service=invoker,type=pooled">
+      <attribute name="NumAcceptThreads">1</attribute>
+      <attribute name="MaxPoolSize">300</attribute>
+      <attribute name="ClientMaxPoolSize">300</attribute>
+      <attribute name="SocketTimeout">60000</attribute>
+      <attribute name="ServerBindAddress">${jboss.bind.address}</attribute>
+      <attribute name="ServerBindPort">4445</attribute>
+      <attribute name="ClientConnectAddress">${jboss.bind.address}</attribute>
+      <attribute name="ClientConnectPort">0</attribute>
+      <attribute name="ClientRetryCount">1</attribute>
+      <attribute name="EnableTcpNoDelay">false</attribute>
+
+      <!-- Customized socket factory attributes
+      <attribute name="ClientSocketFactoryName">custom.client.factory</attribute>
+      <attribute name="ServerSocketFactoryName">custom.server.factory</attribute>
+      <attribute name="SslDomain">java:/jaas/pooledInvoker</attribute>
+      -->
+      <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Remoting services 						                                   -->
+   <!-- ==================================================================== -->
+
+   <!-- For detailed description of all these configuration attributes, please see the -->
+   <!-- JBoss Remoting User's Guide or wiki (http://labs.jboss.com/portal/jbossremoting/docs/guide/index.html) -->
+
+    <!-- The NetworkRegistry contains all the local and remote -->
+    <!-- servers that it recognizes.  The remote ones registered -->
+    <!-- are dependant on the detectors running and which domains -->
+    <!-- they are configured to identify.                         -->
+    <mbean code="org.jboss.remoting.network.NetworkRegistry"
+           name="jboss.remoting:service=NetworkRegistry"/>
+
+   <!-- The Connector is the core component of the remoting server service. -->
+   <!-- It binds the remoting invoker (transport protocol, callback configuration, -->
+   <!-- data marshalling, etc.) with the invocation handlers.  -->
+   <mbean code="org.jboss.remoting.transport.Connector"
+          name="jboss.remoting:service=Connector,transport=socket"
+          display-name="Socket transport Connector">
+
+       <!-- Can either just specify the InvokerLocator attribute and not the invoker element in the -->
+       <!-- Configuration attribute, or do the full invoker configuration in the in invoker element -->
+       <!-- of the Configuration attribute. -->
+
+       <!-- Remember that if you do use more than one param on the uri, will have to include as a CDATA, -->
+       <!-- otherwise, parser will complain. -->
+       <!-- <attribute name="InvokerLocator"><![CDATA[socket://${jboss.bind.address}:4446/?datatype=invocation]]></attribute> -->
+
+      <attribute name="Configuration">
+         <!-- Using the following <invoker> element instead of the InvokerLocator above because specific attributes needed. -->
+         <!-- If wanted to use any of the parameters below, can just add them as parameters to the url above if wanted use the InvokerLocator attribute. -->
+         <config>
+            <!-- Other than transport type and handler, none of these configurations are required (will just use defaults). -->
+            <invoker transport="socket">
+               <attribute name="dataType" isParam="true">invocation</attribute>
+               <attribute name="marshaller" isParam="true">org.jboss.invocation.unified.marshall.InvocationMarshaller</attribute>
+               <attribute name="unmarshaller" isParam="true">org.jboss.invocation.unified.marshall.InvocationUnMarshaller</attribute>
+               <!-- This will be port on which the marshall loader port runs on.  -->
+               <!-- <attribute name="loaderport" isParam="true">4447</attribute> -->
+               <!-- The following are specific to socket invoker -->
+               <!-- <attribute name="numAcceptThreads">1</attribute>-->
+               <!-- <attribute name="maxPoolSize">303</attribute>-->
+               <!-- <attribute name="clientMaxPoolSize" isParam="true">304</attribute>-->
+               <attribute name="socketTimeout" isParam="true">600000</attribute>
+               <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
+               <attribute name="serverBindPort">4446</attribute>
+               <!-- <attribute name="clientConnectAddress">216.23.33.2</attribute> -->
+               <!-- <attribute name="clientConnectPort">7777</attribute> -->
+               <attribute name="enableTcpNoDelay" isParam="true">true</attribute>
+               <!-- <attribute name="backlog">200</attribute>-->
+               <!-- The following is for callback configuration and is independant of invoker type -->
+               <!-- <attribute name="callbackMemCeiling">30</attribute>-->
+               <!-- indicates callback store by fully qualified class name -->
+               <!-- <attribute name="callbackStore">org.jboss.remoting.CallbackStore</attribute>-->
+               <!-- indicates callback store by object name -->
+               <!-- <attribute name="callbackStore">jboss.remoting:service=CallbackStore,type=Serializable</attribute> -->
+               <!-- config params for callback store.  if were declaring callback store via object name, -->
+               <!-- could have specified these config params there. -->
+               <!-- StoreFilePath indicates to which directory to write the callback objects. -->
+               <!-- The default value is the property value of 'jboss.server.data.dir' and if this is not set, -->
+               <!-- then will be 'data'. Will then append 'remoting' and the callback client's session id. -->
+               <!-- An example would be 'data\remoting\5c4o05l-9jijyx-e5b6xyph-1-e5b6xyph-2'. -->
+               <!-- <attribute name="StoreFilePath">callback</attribute>-->
+               <!-- StoreFileSuffix indicates the file suffix to use for the callback objects written to disk. -->
+               <!-- The default value for file suffix is 'ser'. -->
+               <!-- <attribute name="StoreFileSuffix">cst</attribute>-->
+            </invoker>
+
+            <!-- At least one handler is required by the connector.  If have more than one, must decalre -->
+            <!-- different subsystem values.  Otherwise, all invocations will be routed to the only one -->
+            <!-- that is declared. -->
+            <handlers>
+               <!-- can also specify handler by fully qualified classname -->
+               <handler subsystem="invoker">jboss:service=invoker,type=unified</handler>
+            </handlers>
+         </config>
+      </attribute>
+      <depends>jboss.remoting:service=NetworkRegistry</depends>
+   </mbean>
+
+
+   <!-- <mbean code="org.jboss.remoting.detection.jndi.JNDIDetector"-->
+   <!--      name="jboss.remoting:service=Detector,transport=jndi">-->
+   <!-- host to which the detector will connect to for the JNDI server. -->
+   <!-- <attribute name="Host">localhost</attribute>-->
+   <!-- port to which detector will connect to for the JNDI server. -->
+   <!-- <attribute name="Port">5555</attribute>-->
+   <!-- context factory string used when connecting to the JNDI server. -->
+   <!-- The default is org.jnp.interfaces.NamingContextFactory. -->
+   <!-- <attribute name="ContextFactory">org.acme.NamingContextFactory</attribute> -->
+   <!-- url package string to use when connecting to the JNDI server. -->
+   <!-- The default is org.jboss.naming:org.jnp.interfaces. -->
+   <!-- <attribute name="URLPackage">org.acme.naming</attribute> -->
+   <!-- Sets the number of detection iterations before manually pinging -->
+   <!-- remote server to make sure still alive. This is needed since remote server -->
+   <!-- could crash and yet still have an entry in the JNDI server, -->
+   <!-- thus making it appear that it is still there. The default value is 5. -->
+   <!-- <attribute name="CleanDetectionNumber">20</attribute>-->
+
+   <!-- Specifies the domains in which the detector will recognize -->
+   <!-- detections.  If servers are not configured to be in these -->
+   <!-- domains, they will not be added to NetworkRegistry. -->
+   <!--      <attribute name="Configuration">-->
+   <!--         <domains>-->
+   <!--            <domain>roxanne</domain>-->
+   <!--            <domain>sparky</domain>-->
+   <!--         </domains>-->
+   <!--      </attribute>-->
+   <!--   </mbean>-->
+
+
+   <!-- ==================================================================== -->
+   <!-- Monitoring and Management                                            -->
+   <!-- ==================================================================== -->
+
+   <!-- Uncomment to enable JMX monitoring of the bean cache
+   <mbean code="org.jboss.monitor.BeanCacheMonitor"
+          name="jboss.monitor:name=BeanCacheMonitor"/>
+   -->
+
+   <!-- Uncomment to enable JMX monitoring of the entity bean locking
+   <mbean code="org.jboss.monitor.EntityLockMonitor"
+          name="jboss.monitor:name=EntityLockMonitor"/>
+   -->
+
+   <!-- ==================================================================== -->
+   <!-- An MBean that is a registry for JDBC type-mapping metadata           -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary"
+      name="jboss.jdbc:service=metadata"/>
+
+   <!-- ==================================================================== -->
+   <!-- Deployment Scanning                                                  -->
+   <!-- ==================================================================== -->
+
+   <!-- An mbean for hot deployment/undeployment of archives.
+   -->
+   <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
+      name="jboss.deployment:type=DeploymentScanner,flavor=URL">
+
+      <!-- Uncomment (and comment/remove version below) to enable usage of the
+        DeploymentCache
+      <depends optional-attribute-name="Deployer">jboss.deployment:type=DeploymentCache</depends>
+      -->
+      <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
+
+      <!-- The URLComparator can be used to specify a deployment ordering
+           for deployments found in a scanned directory.  The class specified
+           must be an implementation of java.util.Comparator, it must be able
+           to compare two URL objects, and it must have a no-arg constructor.
+           Two deployment comparators are shipped with JBoss:
+             - org.jboss.deployment.DeploymentSorter
+               Sorts by file extension, as follows:
+                 "sar", "service.xml", "rar", "jar", "war", "wsr", "ear", "zip",
+                 "*"
+             - org.jboss.deployment.scanner.PrefixDeploymentSorter
+               If the name portion of the url begins with 1 or more digits, those
+               digits are converted to an int (ignoring leading zeroes), and
+               files are deployed in that order.  Files that do not start with
+               any digits will be deployed first, and they will be sorted by
+               extension as above with DeploymentSorter.
+      -->
+      <attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
+
+      <!--
+      <attribute name="URLComparator">org.jboss.deployment.scanner.PrefixDeploymentSorter</attribute>
+      -->
+
+      <!-- The FilterInstance specifies a URLLister.URLFilter for scanned
+           directories. This DeploymentFilter is initialized with the given
+           prefixes, suffixes and matches that define which URLs should be
+           ignored.
+      -->
+      <attribute name="FilterInstance"
+         attributeClass="org.jboss.deployment.scanner.DeploymentFilter"
+         serialDataType="javaBean">
+         <!-- Files starting with theses strings are ignored -->
+         <property name="prefixes">#,%,\,,.,_$</property>
+         <!-- Files ending with theses strings are ignored -->
+         <property name="suffixes">#,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh</property>
+         <!-- Files matching with theses strings are ignored -->
+         <property name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property>
+      </attribute>
+
+      <!-- Frequency in milliseconds to rescan the URLs for changes -->
+      <attribute name="ScanPeriod">5000</attribute>
+
+      <!-- A flag to disable the scans -->
+      <attribute name="ScanEnabled">true</attribute>
+
+      <!-- URLs are comma separated and resolve relative to the server home URL
+         unless the given path is absolute. If the URL ends in "/" it is
+         considered a collection and scanned, otherwise it is simply deployed;
+         this follows RFC2518 convention and allows discrimination between
+         collections and directories that are simply unpacked archives.
+
+         URLs may be local (file:) or remote (http:). Scanning is supported
+         for remote URLs but unpacked deployment units are not.
+
+         Example URLs:
+            deploy/
+                 scans ${jboss.server.url}/deploy/, which is local or remote
+                 depending on the URL used to boot the server
+            ${jboss.server.home}/deploy/
+                 scans ${jboss.server.home)/deploy, which is always local
+            file:/var/opt/myapp.ear
+                 deploy myapp.ear from a local location
+            file:/var/opt/apps/
+                 scans the specified directory
+            http://www.test.com/netboot/myapp.ear
+                 deploys myapp.ear from a remote location
+            http://www.test.com/netboot/apps/
+                 scans the specified WebDAV location
+       -->
+      <attribute name="URLs">
+         deploy/
+      </attribute>
+
+      <!-- Indicates if the scanner should recursively scan directories that
+      contain no "." in their names. This can be used to group applications
+      and services that must be deployed and that have the same
+      logical function in the same directory i.e.
+        deploy/JMX/
+        deploy/JMS/
+        ...
+      -->
+      <attribute name="RecursiveSearch">True</attribute>
+
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jbossjta-properties.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jbossjta-properties.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jbossjta-properties.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<transaction-service>
+    <properties depends="common" name="arjuna">
+        <!--
+        Transaction Reaper Timeout (default is 120000 ms).
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.coordinator.txReaperTimeout" value="120000"/>
+        <!--
+        Transaction Reaper Mode, can be: NORMAL or DYNAMIC (default is NORMAL).
+      -->
+        <property name="com.arjuna.ats.arjuna.coordinator.txReaperMode" value="DYNAMIC"/>
+        <!--
+        (default is NO)
+      -->
+        <property name="com.arjuna.ats.arjuna.coordinator.asyncCommit" value="NO"/>
+        <!--
+        (default is NO)
+      -->
+        <property name="com.arjuna.ats.arjuna.coordinator.asyncPrepare" value="NO"/>
+        <!--
+        (default is YES)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.coordinator.commitOnePhase" value="YES"/>
+        <!--
+        (default is defaultStore)
+      -->
+        <property name="com.arjuna.ats.arjuna.objectstore.localOSRoot" value="defaultStore"/>
+        <!--
+        default is under user.home - must be writeable!)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.objectstore.objectStoreDir" value="PutObjectStoreDirHere"/>
+        <!--
+        (default is ON)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.objectstore.objectStoreSync" value="ON"/>
+        <!--
+        (default is ShadowNoFileLockStore)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.objectstore.objectStoreType" value="ShadowNoFileLockStore"/>
+        <!--
+        (default is 255)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.objectstore.hashedDirectories" value="255"/>
+        <!--
+        (default is ON)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.objectstore.transactionSync" value="ON"/>
+        <!--
+        (Must be unique across all Arjuna instances.)
+      -->
+        <property name="com.arjuna.ats.arjuna.xa.nodeIdentifier" value="1"/>
+        <!-- property
+        name="com.arjuna.ats.arjuna.coordinator.actionStore"
+		value="HashedActionStore"
+		value="JDBCActionStore"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.jdbcTxDbAccess"
+		value="JDBCAccess"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.objectStoreType"
+		value="ShadowNoFileLockStore"
+		value="JDBCStore"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.jdbcUserDbAccess"
+		value="JDBCAccess"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.jdbcPoolSizeInitial"
+		value="1"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.jdbcPoolSizeMaximum"
+		value="1"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.jdbcPoolPutConnections"
+		value="false"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.internal.arjuna.objectstore.cacheStore.size"
+		value=""
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.internal.arjuna.objectstore.cacheStore.period"
+		value=""
+      -->
+        <!--
+        The location for creating temporary files, e.g., Uids.
+        Default is under user.home.
+        IMPORTANT: make sure the directory is lockable, e.g., /tmp on Unix
+        may not be!
+      -->
+        <!--
+        <property
+          name="com.arjuna.ats.arjuna.common.varDir"
+          value="var"/>
+      -->
+    </properties>
+    <properties name="common">
+        <!-- CLF 2.0 properties -->
+        <property name="com.arjuna.common.util.logging.DebugLevel"
+            type="System" value="0x00000000"/>
+        <property name="com.arjuna.common.util.logging.FacilityLevel"
+            type="System" value="0xffffffff"/>
+        <property name="com.arjuna.common.util.logging.VisibilityLevel"
+            type="System" value="0xffffffff"/>
+        <property name="com.arjuna.common.util.logger" type="System" value="log4j"/>
+    </properties>
+    <properties depends="arjuna" name="txoj">
+        <!--
+        (default is LockStore of installation - must be writeable!)
+      -->
+        <!--
+        <property
+          name="com.arjuna.ats.txoj.lockstore.lockStoreDir"
+          value="LockStore"/>
+      -->
+        <!--
+        (default is BasicLockStore)
+      -->
+        <property name="com.arjuna.ats.txoj.lockstore.lockStoreType" value="BasicLockStore"/>
+        <!--
+        (default is NO)
+      -->
+        <property name="com.arjuna.ats.txoj.lockstore.multipleLockStore" value="NO"/>
+        <!--
+        (default is YES)
+      -->
+        <property name="com.arjuna.ats.txoj.lockstore.singleLockStore" value="YES"/>
+        <!--
+        (default is YES)
+      -->
+        <property
+            name="com.arjuna.ats.txoj.lockstore.allowNestedLocking" value="YES"/>
+    </properties>
+    <properties depends="arjuna" name="jta">
+        <!--
+        Support subtransactions in the JTA layer?
+        Default is NO.
+      -->
+        <property name="com.arjuna.ats.jta.supportSubtransactions" value="NO"/>
+        <property name="com.arjuna.ats.jta.jtaTMImplementation" value="com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple"/>
+        <!--
+			com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple
+			-->
+        <property name="com.arjuna.ats.jta.jtaUTImplementation" value="com.arjuna.ats.internal.jta.transaction.arjunacore.UserTransactionImple"/>
+        <!--
+			com.arjuna.ats.internal.jta.transaction.jts.UserTransactionImple
+			-->
+    </properties>
+    <properties depends="arjuna,txoj,jta" name="recoverymanager">
+        <!--
+        Properties used only by the RecoveryManager.
+      -->
+        <!--
+        Periodic recovery settings.
+        Time values in this section are in seconds.
+      -->
+        <!--
+        Interval in seconds between initiating the periodic recovery modules.
+        Default is 120 seconds.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.periodicRecoveryPeriod" value="120"/>
+        <!--
+        Interval in seconds between first and second pass of periodic recovery.
+        Default is 10 seconds.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.recoveryBackoffPeriod" value="10"/>
+        <!--
+        Periodic recovery modules to use.  Invoked in sort-order of names.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.recoveryExtension1" value="com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule"/>
+        <property
+            name="com.arjuna.ats.arjuna.recovery.recoveryExtension2" value="com.arjuna.ats.internal.txoj.recovery.TORecoveryModule"/>
+        <property
+            name="com.arjuna.ats.arjuna.recovery.recoveryExtension3" value="com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule"/>
+        <!--
+        Expired entry removal
+      -->
+        <!--
+        Expiry scanners to use (order of invocation is random).
+        Names must begin with "com.arjuna.ats.arjuna.recovery.expiryScanner"
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.expiryScannerTransactionStatusManager" value="com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner"/>
+        <!--
+        Interval, in hours, between running the expiry scanners.
+        This can be quite long. The absolute value determines the interval -
+        if the value is negative, the scan will NOT be run until after one
+        interval has elapsed. If positive the first scan will be immediately
+        after startup. Zero will prevent any scanning.
+        Default  = 12 = run immediately, then every 12 hours.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.expiryScanInterval" value="12"/>
+        <!--
+        Age, in hours, for removal of transaction status manager item.
+        This should be longer than any ts-using process will remain running.
+        Zero = Never removed.  Default is 12.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerExpiryTime" value="12"/>
+        <!--
+        Use this to fix the port on which the TransactionStatusManager listens,
+        The default behaviour is to use any free port.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerPort" value="0"/>
+    </properties>
+    <properties depends="jta" name="jdbc">
+        <!--
+           property name="com.arjuna.ats.jdbc.isolationLevel" value="TRANSACTION_SERIALIZABLE"/>
+        -->
+    </properties>
+</transaction-service>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jndi.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jndi.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/jndi.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+# DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING
+#
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/login-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/login-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/login-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,159 @@
+<?xml version='1.0'?>
+<!DOCTYPE policy PUBLIC
+      "-//JBoss//DTD JBOSS Security Config 3.0//EN"
+      "http://www.jboss.org/j2ee/dtd/security_config.dtd">
+
+<!-- The XML based JAAS login configuration read by the
+org.jboss.security.auth.login.XMLLoginConfig mbean. Add
+an application-policy element for each security domain.
+
+The outline of the application-policy is:
+<application-policy name="security-domain-name">
+  <authentication>
+    <login-module code="login.module1.class.name" flag="control_flag">
+      <module-option name = "option1-name">option1-value</module-option>
+      <module-option name = "option2-name">option2-value</module-option>
+      ...
+    </login-module>
+
+    <login-module code="login.module2.class.name" flag="control_flag">
+      ...
+    </login-module>
+    ...
+  </authentication>
+</application-policy>
+
+$Revision: 64598 $
+-->
+
+<policy>
+    <!-- Used by clients within the application server VM such as
+    mbeans and servlets that access EJBs.
+    -->
+    <application-policy name = "client-login">
+       <authentication>
+          <login-module code = "org.jboss.security.ClientLoginModule"
+             flag = "required">
+             <!-- Any existing security context will be restored on logout -->
+             <module-option name="restore-login-identity">true</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- Security domain for JBossMQ -->
+    <application-policy name = "jbossmq">
+       <authentication>
+          <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
+             flag = "required">
+             <module-option name = "unauthenticatedIdentity">guest</module-option>
+             <module-option name = "dsJndiName">java:/DefaultDS</module-option>
+             <module-option name = "principalsQuery">SELECT PASSWD FROM JMS_USERS WHERE USERID=?</module-option>
+             <module-option name = "rolesQuery">SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=?</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- Security domain for JBossMQ when using file-state-service.xml
+    <application-policy name = "jbossmq">
+       <authentication>
+          <login-module code = "org.jboss.mq.sm.file.DynamicLoginModule"
+             flag = "required">
+             <module-option name = "unauthenticatedIdentity">guest</module-option>
+             <module-option name = "sm.objectname">jboss.mq:service=StateManager</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+    -->
+
+    <!-- Security domains for testing new jca framework -->
+    <application-policy name = "HsqlDbRealm">
+       <authentication>
+          <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
+             flag = "required">
+             <module-option name = "principal">sa</module-option>
+             <module-option name = "userName">sa</module-option>
+             <module-option name = "password"></module-option>
+             <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <application-policy name = "JmsXARealm">
+       <authentication>
+          <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
+             flag = "required">
+             <module-option name = "principal">guest</module-option>
+             <module-option name = "userName">guest</module-option>
+             <module-option name = "password">guest</module-option>
+             <module-option name = "managedConnectionFactoryName">jboss.jca:service=TxCM,name=JmsXA</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- A template configuration for the jmx-console web application. This
+      defaults to the UsersRolesLoginModule the same as other and should be
+      changed to a stronger authentication mechanism as required.
+    -->
+    <application-policy name = "jmx-console">
+       <authentication>
+          <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+             flag = "required">
+           <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
+           <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- A template configuration for the web-console web application. This
+      defaults to the UsersRolesLoginModule the same as other and should be
+      changed to a stronger authentication mechanism as required.
+    -->
+    <application-policy name = "web-console">
+       <authentication>
+          <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+             flag = "required">
+             <module-option name="usersProperties">web-console-users.properties</module-option>
+             <module-option name="rolesProperties">web-console-roles.properties</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!--
+      A template configuration for the JBossWS security domain.
+      This defaults to the UsersRolesLoginModule the same as other and should be
+      changed to a stronger authentication mechanism as required.
+    -->
+    <application-policy name="JBossWS">
+      <authentication>
+        <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+          flag="required">
+          <module-option name="usersProperties">props/jbossws-users.properties</module-option>
+          <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
+          <module-option name="unauthenticatedIdentity">anonymous</module-option>
+        </login-module>
+      </authentication>
+    </application-policy>
+
+    <!-- The default login configuration used by any security domain that
+    does not have a application-policy entry with a matching name
+    -->
+    <application-policy name = "other">
+       <!-- A simple server login module, which can be used when the number
+       of users is relatively small. It uses two properties files:
+       users.properties, which holds users (key) and their password (value).
+       roles.properties, which holds users (key) and a comma-separated list of
+       their roles (value).
+       The unauthenticatedIdentity property defines the name of the principal
+       that will be used when a null username and password are presented as is
+       the case for an unuathenticated web client or MDB. If you want to
+       allow such users to be authenticated add the property, e.g.,
+       unauthenticatedIdentity="nobody"
+       -->
+       <authentication>
+          <login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule"
+             flag = "required" />
+       </authentication>
+    </application-policy>
+
+</policy>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jbossws-roles.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jbossws-roles.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jbossws-roles.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample roles.properties file for use with the UsersRolesLoginModule
+kermit=friend
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jbossws-users.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jbossws-users.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jbossws-users.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample users.properties file for use with the UsersRolesLoginModule
+kermit=thefrog
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jmx-console-roles.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jmx-console-roles.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jmx-console-roles.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample roles.properties file for use with the UsersRolesLoginModule
+admin=JBossAdmin,HttpInvoker

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jmx-console-users.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jmx-console-users.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/props/jmx-console-users.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample users.properties file for use with the UsersRolesLoginModule
+admin=admin

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/standardjboss.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/standardjboss.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/standardjboss.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1216 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss PUBLIC
+   "-//JBoss//DTD JBOSS 4.0//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
+
+<!-- ===================================================================== -->
+<!--  Standard JBoss EJB Configurations                                    -->
+<!-- ===================================================================== -->
+<!-- $Id: standardjboss.xml 62053 2007-04-03 21:05:33Z alex.loubyansky at jboss.com $ -->
+
+<jboss>
+  <!--
+   The missing-method-permissions-excluded-mode is a boolean
+   that allows the deployer to globally indicate that all methods without a
+   method-permission element should be treated as excluded(= true and the default),
+   or that methods without a method-permission element should be treated as
+   unchecked(= false)
+  -->
+  <missing-method-permissions-excluded-mode>true</missing-method-permissions-excluded-mode>
+
+  <invoker-proxy-bindings>
+
+    <invoker-proxy-binding>
+      <name>entity-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unified</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+          <list-entity>
+            <interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </list-entity>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-entity-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unifiedha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+          <list-entity>
+            <interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </list-entity>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>stateless-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unified</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-stateless-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unifiedha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>stateful-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unified</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatefulSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-stateful-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unifiedha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatefulSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>entity-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+          <list-entity>
+            <interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </list-entity>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-entity-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+          <list-entity>
+            <interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </list-entity>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>stateless-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-stateless-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>stateful-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatefulSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-stateful-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatefulSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+    
+    <invoker-proxy-binding>
+      <name>message-driven-bean</name>
+      <invoker-mbean>default</invoker-mbean>
+      <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
+      <proxy-factory-config>
+        <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
+        <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
+        <CreateJBossMQDestination>true</CreateJBossMQDestination>
+        <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
+        <MinimumSize>1</MinimumSize>
+        <MaximumSize>15</MaximumSize>
+        <KeepAliveMillis>30000</KeepAliveMillis>
+        <MaxMessages>1</MaxMessages>
+        <MDBConfig>
+          <ReconnectIntervalSec>10</ReconnectIntervalSec>
+          <DLQConfig>
+            <DestinationQueue>queue/DLQ</DestinationQueue>
+            <MaxTimesRedelivered>10</MaxTimesRedelivered>
+            <TimeToLive>0</TimeToLive>
+          </DLQConfig>
+        </MDBConfig>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <!-- Uncomment to use JMS message inflow from jmsra.rar
+    <invoker-proxy-binding>
+      <name>message-driven-bean</name>
+      <invoker-mbean>default</invoker-mbean>
+      <proxy-factory>org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory</proxy-factory>
+      <proxy-factory-config>
+        <activation-config>
+           <activation-config-property>
+              <activation-config-property-name>providerAdapterJNDI</activation-config-property-name>
+              <activation-config-property-value>DefaultJMSProvider</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>minSession</activation-config-property-name>
+              <activation-config-property-value>1</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>maxSession</activation-config-property-name>
+              <activation-config-property-value>15</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>keepAlive</activation-config-property-name>
+              <activation-config-property-value>60000</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>maxMessages</activation-config-property-name>
+              <activation-config-property-value>1</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>reconnectInterval</activation-config-property-name>
+              <activation-config-property-value>10</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>useDLQ</activation-config-property-name>
+              <activation-config-property-value>true</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQHandler</activation-config-property-name>
+              <activation-config-property-value>org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQJNDIName</activation-config-property-name>
+              <activation-config-property-value>queue/DLQ</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQMaxResent</activation-config-property-name>
+              <activation-config-property-value>10</activation-config-property-value>
+           </activation-config-property>
+        </activation-config>
+        <endpoint-interceptors>
+          <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+          <interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor>
+          <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+          <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+        </endpoint-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+    -->
+
+    <invoker-proxy-binding>
+      <name>singleton-message-driven-bean</name>
+      <invoker-mbean>default</invoker-mbean>
+      <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
+      <proxy-factory-config>
+        <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
+        <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
+        <CreateJBossMQDestination>true</CreateJBossMQDestination>
+        <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
+        <MinimumSize>1</MinimumSize>
+        <MaximumSize>1</MaximumSize>
+        <KeepAliveMillis>30000</KeepAliveMillis>
+        <MaxMessages>1</MaxMessages>
+        <MDBConfig>
+          <ReconnectIntervalSec>10</ReconnectIntervalSec>
+          <DLQConfig>
+            <DestinationQueue>queue/DLQ</DestinationQueue>
+            <MaxTimesRedelivered>10</MaxTimesRedelivered>
+            <TimeToLive>0</TimeToLive>
+          </DLQConfig>
+        </MDBConfig>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>message-inflow-driven-bean</name>
+      <invoker-mbean>default</invoker-mbean>
+      <proxy-factory>org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory</proxy-factory>
+      <proxy-factory-config>
+        <endpoint-interceptors>
+          <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+          <interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor>
+          <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+          <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+        </endpoint-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>iiop</name>
+      <invoker-mbean>jboss:service=invoker,type=iiop</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.IORFactory</proxy-factory>
+      <proxy-factory-config>
+        <web-class-loader>org.jboss.iiop.WebCL</web-class-loader>
+        <poa>per-servant</poa>
+        <register-ejbs-in-jnp-context>true</register-ejbs-in-jnp-context>
+        <jnp-context>iiop</jnp-context>
+        <interface-repository-supported>false</interface-repository-supported>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>jms-message-inflow-driven-bean</name>
+      <invoker-mbean>default</invoker-mbean>
+      <proxy-factory>org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory</proxy-factory>
+      <proxy-factory-config>
+        <activation-config>
+           <activation-config-property>
+              <activation-config-property-name>providerAdapterJNDI</activation-config-property-name>
+              <activation-config-property-value>DefaultJMSProvider</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>minSession</activation-config-property-name>
+              <activation-config-property-value>1</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>maxSession</activation-config-property-name>
+              <activation-config-property-value>15</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>keepAlive</activation-config-property-name>
+              <activation-config-property-value>60000</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>maxMessages</activation-config-property-name>
+              <activation-config-property-value>1</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>reconnectInterval</activation-config-property-name>
+              <activation-config-property-value>10</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>useDLQ</activation-config-property-name>
+              <activation-config-property-value>true</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQHandler</activation-config-property-name>
+              <activation-config-property-value>org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQJNDIName</activation-config-property-name>
+              <activation-config-property-value>queue/DLQ</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQMaxResent</activation-config-property-name>
+              <activation-config-property-value>10</activation-config-property-value>
+           </activation-config-property>
+        </activation-config>
+        <endpoint-interceptors>
+          <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+          <interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor>
+          <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+          <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+        </endpoint-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+  </invoker-proxy-bindings>
+
+  <container-configurations>
+
+    <container-configuration>
+      <container-name>Standard CMP 2.x EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <call-ejb-store-on-clean>true</call-ejb-store-on-clean>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.InvalidableEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>B</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <!--
+         | This is like standard IPT but with global (cross-transactional) row cache behind,
+         | i.e. no locking in EJB layer + global persistence data cache
+      -->
+      <container-name>cmp2.x jdbc2 pm</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>true</insert-after-ejb-post-create>
+      <call-ejb-store-on-clean>true</call-ejb-store-on-clean>
+      <container-interceptors>
+         <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+         <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+         <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.cmp.jdbc2.RelationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
+      <container-cache-conf>
+         <cache-policy-conf>
+            <min-capacity>500</min-capacity>
+            <max-capacity>10000</max-capacity>
+            <!-- uncomment to enable time-based eviction
+            <overager-period>300</overager-period>
+            <max-bean-age>600</max-bean-age> -->
+         </cache-policy-conf>
+         <cache-policy-conf-other>
+            <partitions>10</partitions>
+            <!-- uncomment to use JDBC java.sql.Statement.executeBatch()
+            <batch-commit-strategy/> -->
+            <!-- uncomment to enable cache invalidation <invalidable/> -->
+         </cache-policy-conf-other>
+      </container-cache-conf>
+      <container-pool-conf>
+         <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>C</commit-option> <!-- don't change, irrelevant, use container-cache-conf -->
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Clustered CMP 2.x EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>clustered-entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>B</commit-option>
+      <cluster-config>
+         <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
+      </cluster-config>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard CMP 2.x EntityBean with cache invalidation</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+        <interceptor>org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.InvalidableEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>A</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Instance Per Transaction CMP 2.x EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
+      <container-cache-conf/>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>C</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard CMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>A</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Clustered CMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>clustered-entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>A</commit-option>
+      <cluster-config>
+         <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
+      </cluster-config>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Instance Per Transaction CMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
+      <container-cache-conf/>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>C</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard Stateless SessionBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>stateless-unified-invoker</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
+      <instance-cache></instance-cache>
+      <persistence-manager></persistence-manager>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Clustered Stateless SessionBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>clustered-stateless-unified-invoker</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
+      <instance-cache></instance-cache>
+      <persistence-manager></persistence-manager>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <cluster-config>
+         <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
+      </cluster-config>
+    </container-configuration>
+
+
+    <container-configuration>
+      <container-name>Standard Stateful SessionBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>stateful-unified-invoker</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+      </container-interceptors>
+      <instance-cache>org.jboss.ejb.plugins.StatefulSessionInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager</persistence-manager>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <remover-period>1800</remover-period>
+          <max-bean-life>1800</max-bean-life>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Clustered Stateful SessionBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>clustered-stateful-unified-invoker</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.StatefulHASessionSynchronisationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-cache>org.jboss.ejb.plugins.StatefulHASessionInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.StatefulHASessionPersistenceManager</persistence-manager>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <remover-period>1800</remover-period>
+          <max-bean-life>1800</max-bean-life>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <cluster-config>
+         <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
+      </cluster-config>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard BMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>A</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Clustered BMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>clustered-entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>A</commit-option>
+      <cluster-config>
+         <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
+      </cluster-config>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Instance Per Transaction BMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
+      <container-cache-conf/>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>C</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard Message Driven Bean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>message-driven-bean</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
+      <instance-cache></instance-cache>
+      <persistence-manager></persistence-manager>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Singleton Message Driven Bean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>singleton-message-driven-bean</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
+      <instance-cache></instance-cache>
+      <persistence-manager></persistence-manager>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard Message Inflow Driven Bean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>message-inflow-driven-bean</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
+      <instance-cache></instance-cache>
+      <persistence-manager></persistence-manager>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+    </container-configuration>
+
+  </container-configurations>
+
+</jboss>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/standardjbosscmp-jdbc.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/standardjbosscmp-jdbc.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/standardjbosscmp-jdbc.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jbosscmp-jdbc PUBLIC
+   "-//JBoss//DTD JBOSSCMP-JDBC 4.0//EN"
+   "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Standard JBossCMP-JDBC Configuration                                 -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: standardjbosscmp-jdbc.xml 63355 2007-06-05 17:25:20Z rrajesh $ -->
+
+<jbosscmp-jdbc>
+
+   <defaults>
+      <datasource>java:/DefaultDS</datasource>
+      <!-- optional since 4.0 <datasource-mapping>Hypersonic SQL</datasource-mapping> -->
+
+      <create-table>true</create-table>
+      <remove-table>false</remove-table>
+      <read-only>false</read-only>
+      <read-time-out>300000</read-time-out>
+      <row-locking>false</row-locking>
+      <pk-constraint>true</pk-constraint>
+      <fk-constraint>false</fk-constraint>
+      <preferred-relation-mapping>foreign-key</preferred-relation-mapping>
+      <read-ahead>
+         <strategy>on-load</strategy>
+         <page-size>1000</page-size>
+         <eager-load-group>*</eager-load-group>
+      </read-ahead>
+      <list-cache-max>1000</list-cache-max>
+      <clean-read-ahead-on-load>false</clean-read-ahead-on-load>
+
+      <unknown-pk>
+         <key-generator-factory>UUIDKeyGeneratorFactory</key-generator-factory>
+         <unknown-pk-class>java.lang.String</unknown-pk-class>
+         <jdbc-type>VARCHAR</jdbc-type>
+         <sql-type>VARCHAR(32)</sql-type>
+      </unknown-pk>
+
+      <entity-command name="default"/>
+      <ql-compiler>org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler</ql-compiler>
+      <throw-runtime-exceptions>false</throw-runtime-exceptions>
+   </defaults>
+
+   <type-mappings>
+      <type-mapping>
+         <name>FirstSQL/J</name>
+         <row-locking-template/>
+         <pk-constraint-template>PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1 FROM ?2 FOR ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>char_length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>position(?1 IN ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>math.abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>math.sqrt(CAST(?1 AS DOUBLE))</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <!-- or <sql-type>VARCHAR(2147483500)</sql-type> -->
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>DECIMAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <!-- FirstSQL/J only supports directly serializable objects for classes declared with CREATE CLASS -->
+            <jdbc-type>LONGVARBINARY</jdbc-type>
+            <sql-type>VARCHAR(2147483500)</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Ingres</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 PRIMARY KEY (?3)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>TRUE</true-mapping>
+         <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>concat(?1,?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>left(?1,?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>locate(?1,?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <!-- change from bit to integer , 10.12.2002 heb -->
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>INT1</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INTEGER4</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT4</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT8</sql-type>
+         </mapping>
+<!--
+Mapping proposed by Computer Associates, but does not work with JBoss properly
+28.03.2003 hou
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>DECIMAL(24,6)</sql-type>
+         </mapping>
+-->
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>LONG VARCHAR</sql-type>
+         </mapping>
+      </type-mapping>
+     <type-mapping>
+      <name>McKoi</name>
+      <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+      <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+      <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+      <alias-header-prefix>t</alias-header-prefix>
+      <alias-header-suffix>_</alias-header-suffix>
+      <alias-max-length>32</alias-max-length>
+      <subquery-supported>true</subquery-supported>
+      <true-mapping>TRUE</true-mapping>
+      <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+      <mapping>
+         <java-type>java.lang.Boolean</java-type>
+         <jdbc-type>BIT</jdbc-type>
+         <sql-type>BOOLEAN</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Byte</java-type>
+         <jdbc-type>TINYINT</jdbc-type>
+         <sql-type>SMALLINT</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Short</java-type>
+         <jdbc-type>SMALLINT</jdbc-type>
+         <sql-type>SMALLINT</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Integer</java-type>
+         <jdbc-type>INTEGER</jdbc-type>
+         <sql-type>INTEGER</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Long</java-type>
+         <jdbc-type>BIGINT</jdbc-type>
+         <sql-type>BIGINT</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Float</java-type>
+         <jdbc-type>REAL</jdbc-type>
+         <sql-type>FLOAT</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Double</java-type>
+         <jdbc-type>DOUBLE</jdbc-type>
+         <sql-type>DOUBLE</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Character</java-type>
+         <jdbc-type>CHAR</jdbc-type>
+         <sql-type>CHAR</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.String</java-type>
+         <jdbc-type>VARCHAR</jdbc-type>
+         <sql-type>VARCHAR(64)</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.sql.Date</java-type>
+         <jdbc-type>DATE</jdbc-type>
+         <sql-type>DATE</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.sql.Time</java-type>
+         <jdbc-type>TIME</jdbc-type>
+         <sql-type>TIME</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.sql.Timestamp</java-type>
+         <jdbc-type>TIMESTAMP</jdbc-type>
+         <sql-type>TIMESTAMP</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Object</java-type>
+         <jdbc-type>JAVA_OBJECT</jdbc-type>
+         <sql-type>JAVA_OBJECT</sql-type>
+      </mapping>
+     </type-mapping>
+
+      <type-mapping>
+         <name>Firebird</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>31</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMERIC(18,0) default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>FLOAT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <!-- The small default length is due to the 128 byte max index key size -->
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(64)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>BLOB</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>InterBase</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>31</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMERIC(18,0) default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>FLOAT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(64)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>VARCHAR(2000)</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>DB2</name>
+         <!--
+         | This type-mapping applies to DB2 V7.2 and V8.0
+         -->         
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>18</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+		 <function-mapping>
+			 <function-name>locate</function-name>
+			 <function-sql>locate(CAST(?1 as VARCHAR(254)),
+				 CAST(?2 as VaRCHAR(254)),?3)</function-sql>
+		 </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+    <!--  DB2 does not appear to support columns of type "byte"
+    Regrettably, this means they'll be serialized.
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1) FOR BIT DATA</sql-type>
+         </mapping>
+    -->
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(254)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <!-- this one gives errors with DB2 V8.1
+         		and at least the NET driver
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>BLOB(2000)</sql-type>
+         </mapping>
+         -->
+      	<mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>VARBINARY</jdbc-type>
+            <sql-type>BLOB(2000)</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Derby</name>
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>18</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substr</function-name>
+            <function-sql>substr(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>locate(?2, ?1, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>DECIMAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+<!-- if someone knows the mapping for byte, please, let us know!
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+-->
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Oracle9i</name>
+         <!--
+         | This type-mapping applies both to Oracle 9i and Oracle 10g
+         | Make sure that you have the latest Oracle 10g version of ojdbc14.jar
+         -->
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>30</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substr(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>instr(?2, ?1, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>NUMBER(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>NUMBER(3)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <!-- <jdbc-type>SMALLINT</jdbc-type> this resulted in a ClassCastException -->
+            <sql-type>NUMBER(5)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>NUMBER(10)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMBER(19)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>NUMBER(38,7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>NUMBER(38,15)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>NUMBER(38,15)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR2(255)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP(3)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP(9)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+            <!--
+            | Change this from BLOB to RAW(n) if you know your
+            | serialized object will be <= n bytes and n <= 2000
+            -->
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Oracle8</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>30</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substr(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>instr(?2, ?1, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>NUMBER(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMBER(3)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMBER(5)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>NUMBER(10)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMBER(19)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>NUMBER(38,7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>NUMBER(38,15)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>NUMBER(38,15)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR2(255)</sql-type>
+         </mapping>
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+            <!--
+            | Change this from BLOB to RAW(n) if you know your
+            | serialized object will be <= n bytes and n <= 2000
+            -->
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Oracle7</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>30</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substr(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>instr(?2, ?1, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>NUMBER(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMBER(3)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMBER(5)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>NUMBER(10)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMBER(19)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>NUMBER(38,7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>NUMBER(38,15)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR2(255)</sql-type>
+         </mapping>
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>LONGVARBINARY</jdbc-type>
+            <sql-type>LONG RAW</sql-type>
+            <!--
+            | Change this from LONG RAW to RAW(n) if you know your
+            | serialized object will be <= n bytes and n <= 2000
+            | Oracle only permits one LONG type per table
+            -->
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Sybase</name>
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>30</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+         	<function-name>length</function-name>
+         	<function-sql>char_length(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BIT</sql-type>
+         </mapping>
+    <!-- Current Sybase JDBC drivers (jConnect 5.2) don't support
+    byte or short.  Unfortunately they'll be serialized.
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+    -->
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMERIC(38,0)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(255)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>SMALLDATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>IMAGE</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>PostgreSQL</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1</auto-increment-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>TRUE</true-mapping>
+         <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1 FROM ?2 FOR ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>(CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(CAST(?1 AS double precision))</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INT4</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT(7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>TEXT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP with time zone</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP with time zone</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMERIC</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>VARBINARY</jdbc-type>
+            <sql-type>BYTEA</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>PostgreSQL 8.0</name>
+         <!--
+         | This type-mapping applies to PostgreSQL V8.0 and V8.1
+         -->           
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1</auto-increment-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>TRUE</true-mapping>
+         <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1 FROM ?2 FOR ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>(CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(CAST(?1 AS double precision))</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BOOLEAN</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INT4</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT(7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>TEXT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMERIC</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>VARBINARY</jdbc-type>
+            <sql-type>BYTEA</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>PostgreSQL 7.2</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1</auto-increment-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>TRUE</true-mapping>
+         <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1 FROM ?2 FOR ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>(CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(CAST(?1 AS double precision))</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INT4</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT(7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>TEXT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMERIC</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>VARBINARY</jdbc-type>
+            <sql-type>BYTEA</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Hypersonic SQL</name>
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1 IDENTITY</auto-increment-template>
+         <add-column-template>ALTER TABLE ?1 ADD COLUMN ?2 ?3</add-column-template>
+         <drop-column-template>ALTER TABLE ?1 DROP COLUMN ?2</drop-column-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>(1=1)</true-mapping>
+         <false-mapping>(1=0)</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>SUBSTRING(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lcase(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>LENGTH(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>LOCATE(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>ABS(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>SQRT(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>ucase(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BIT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <!-- hsqldb only supports directly serializable objects for sql type OBJECT -->
+            <jdbc-type>VARBINARY</jdbc-type>
+            <sql-type>VARBINARY</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>DECIMAL</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>PointBase</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>TRUE</true-mapping>
+         <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>position(?1 IN ?2)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>SOLID</name>
+         <row-locking-template/>
+         <pk-constraint-template>PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BIT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>mySQL</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <!-- does not work for compound keys <fk-constraint-template>ALTER TABLE ?1 ADD INDEX ind_?3 (?3), ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+              <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         -->
+         <fk-constraint-template>ALTER TABLE ?1 ADD INDEX (?3), ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1 auto_increment</auto-increment-template>
+         <alter-column-template>ALTER TABLE ?1 MODIFY ?2 ?3</alter-column-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>false</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>concat(?1, ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1 FROM ?2 FOR ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>locate(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>LONGBLOB</sql-type>
+            <!--
+            | Change this from LONGBLOB to BLOB if you know your
+            | serialized object will be <= 2^16 bytes
+            -->
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+            <!--
+            | This type is problematical because mysql does not have any
+            | date/time types that store milliseconds. You should avoid it.
+            -->
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(250) BINARY</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>MS SQLSERVER</name>
+         <row-locking-template>SELECT ?1 FROM ?2 with (updlock) WHERE ?3 ORDER BY ?4</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1 IDENTITY</auto-increment-template>
+         <alter-column-template>ALTER TABLE ?1 ALTER COLUMN ?2 ?3</alter-column-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 + ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>len(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>charindex(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>DECIMAL(20)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>IMAGE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BIT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>MS SQLSERVER2000</name>
+         <!--
+         | This type-mapping applies both to MS SQLSERVER 2000 and MS SQLSERVER 2005
+         -->         
+         <row-locking-template>SELECT ?1 FROM ?2 with (xlock) WHERE ?3 ORDER BY ?4</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1 IDENTITY</auto-increment-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 + ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>len(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>charindex(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>mod</function-name>
+            <function-sql>(?1 % ?2)</function-sql>
+         </function-mapping>
+         
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>LONGVARBINARY</jdbc-type>
+            <sql-type>IMAGE</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BIT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>DB2/400</name>
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>18</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+    <!-- Apparent DB2/400 doesn't handle Byte type either
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1) FOR BIT DATA</sql-type>
+         </mapping>
+    -->
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(5)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>VARCHAR(4096) FOR BIT DATA</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>SapDB</name>
+         <!-- SapDB 7.3 might require '... UPDATE OF ?1' in the row-locking-template -->
+         <!-- as is works with SapDB 7.4 -->
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD FOREIGN KEY ?2 (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>LONG BYTE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>CHAR BYTE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>DECIMAL(20)</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>MaxDB</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD FOREIGN KEY ?2 (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+              <auto-increment-template>?1</auto-increment-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>true</true-mapping>
+         <false-mapping>false</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>LONG BYTE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>CHAR BYTE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BOOLEAN</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>DECIMAL(20)</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Cloudscape</name>
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>LONGVARCHAR</jdbc-type>
+            <sql-type>LONG VARCHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>LONGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>LONGVARCHAR</jdbc-type>
+            <sql-type>LONG VARCHAR</sql-type>
+         </mapping>
+         <!-- NOTE: This alternative mapping has been suggested for cloudscape
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping> -->
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>LONG VARBINARY</sql-type>
+         </mapping>
+      </type-mapping>
+
+
+      <type-mapping>
+         <name>InformixDB</name>
+         <row-locking-template>select ?1 from ?2 where ?3 order by ?4 for update</row-locking-template>
+         <pk-constraint-template>PRIMARY KEY (?2) CONSTRAINT ?1</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT FOREIGN KEY (?3) REFERENCES ?4 (?5) CONSTRAINT ?2</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(255,0)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>DECIMAL</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMERIC(18,0)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME YEAR TO FRACTION(3)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME YEAR TO FRACTION(3)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+          <name>Mimer SQL</name>
+          <row-locking-template/>
+          <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+          <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+          <alias-header-prefix>t</alias-header-prefix>
+          <alias-header-suffix>_</alias-header-suffix>
+          <alias-max-length>32</alias-max-length>
+          <subquery-supported>true</subquery-supported>
+          <true-mapping>1</true-mapping>
+          <false-mapping>0</false-mapping>
+
+          <mapping>
+             <java-type>java.lang.Boolean</java-type>
+             <jdbc-type>BIT</jdbc-type>
+             <sql-type>SMALLINT</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Byte</java-type>
+             <jdbc-type>TINYINT</jdbc-type>
+             <sql-type>SMALLINT</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Short</java-type>
+             <jdbc-type>SMALLINT</jdbc-type>
+             <sql-type>SMALLINT</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Integer</java-type>
+             <jdbc-type>INTEGER</jdbc-type>
+             <sql-type>INTEGER</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Long</java-type>
+             <jdbc-type>BIGINT</jdbc-type>
+             <sql-type>BIGINT</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Float</java-type>
+             <jdbc-type>REAL</jdbc-type>
+             <sql-type>REAL</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Double</java-type>
+             <jdbc-type>DOUBLE</jdbc-type>
+             <sql-type>DOUBLE PRECISION</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Character</java-type>
+             <jdbc-type>CHAR</jdbc-type>
+             <sql-type>CHAR</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.String</java-type>
+             <jdbc-type>VARCHAR</jdbc-type>
+             <sql-type>VARCHAR(5000)</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.sql.Date</java-type>
+             <jdbc-type>DATE</jdbc-type>
+             <sql-type>DATE</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.sql.Time</java-type>
+             <jdbc-type>TIME</jdbc-type>
+             <sql-type>TIME</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.sql.Timestamp</java-type>
+             <jdbc-type>TIMESTAMP</jdbc-type>
+             <sql-type>TIMESTAMP</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Object</java-type>
+             <jdbc-type>JAVA_OBJECT</jdbc-type>
+             <sql-type>VARBINARY(5000)</sql-type>
+          </mapping>
+       </type-mapping>
+   </type-mappings>
+
+   <entity-commands>
+      <!-- default command; doesn't support unknown-pk -->
+      <entity-command name="default"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand"/>
+
+      <!-- variation on default that skips select before insert -->
+      <entity-command name="no-select-before-insert"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand">
+         <attribute name="SQLExceptionProcessor">jboss.jdbc:service=SQLExceptionProcessor</attribute>
+      </entity-command>
+
+      <!-- fetches next key value with the specified sql statement -->
+      <entity-command name="pk-sql"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCPkSqlCreateCommand">
+         <!-- change to define SQL used to obtain key prior to insert -->
+         <attribute name="pk-sql">SELECT CURRENT_TIMESTAMP</attribute>
+      </entity-command>
+
+      <!-- this command requires auto-increment element for unknown-pk -->
+      <entity-command name="mysql-get-generated-keys"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand"/>
+
+      <!-- this command requires the specified sequence to have been created -->
+      <entity-command name="oracle-sequence"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCOracleCreateCommand">
+         <attribute name="sequence">TEST_SEQUENCE</attribute>
+      </entity-command>
+
+      <!-- this command makes the use of a specific sequence for each table -->
+      <entity-command name="oracle-table-sequence"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCOracleSequenceCreateCommand">
+         <attribute name="sequence_name">%%t_seq</attribute>
+      </entity-command>
+
+      <!-- retrieves generated key of the record inserted into hsql db -->
+      <entity-command name="hsqldb-fetch-key"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCHsqldbCreateCommand">
+         <!-- uncomment to change SQL statement used to obtain identity
+         <attribute name="pk-sql">CALL IDENTITY()</attribute>
+         -->
+      </entity-command>
+
+      <!-- retrieves generated key of the record inserted into sybase db -->
+      <entity-command name="sybase-fetch-key"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSybaseCreateCommand"/>
+
+      <!-- retrieves generated key of the record inserted into SQLServer db -->
+      <entity-command name="mssql-fetch-key"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand">
+         <!-- uncomment for versions prior to SQL Server 2000
+         <attribute name="pk-sql">SELECT @@IDENTITY</attribute>
+         -->
+      </entity-command>
+
+      <!-- retrieves serial value of the record inserted into informix db -->
+      <entity-command name="informix-serial"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCInformixCreateCommand">
+         <!-- uncomment to use with SERIAL8 column
+         <attribute name="method">getSerial8</attribute>
+         -->
+      </entity-command>
+
+      <!-- retrieves the currval of the the sequence associated with a PostgreSQL SERIAL column -->
+      <entity-command name="postgresql-fetch-seq"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCPostgreSQLCreateCommand">
+         <!-- uncomment to change the name of the sequence; default is ${table}_${pkColumn}_seq
+         <attribute name="sequence"></attribute>
+         -->
+      </entity-command>
+
+      <!-- uses key generator to fetch the next key value -->
+      <entity-command name="key-generator"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCKeyGeneratorCreateCommand">
+         <attribute name="key-generator-factory">UUIDKeyGeneratorFactory</attribute>
+      </entity-command>
+
+      <!-- uses JDBC 3.0 getGeneratedKeys() method -->
+      <entity-command name="get-generated-keys"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBC30GeneratedKeysCreateCommand"/>
+
+      <!-- pk-sql for jdbc2 pm -->
+      <entity-command name="jdbc2pm-pk-sql"
+                      class="org.jboss.ejb.plugins.cmp.jdbc2.PkSqlCreateCommand">
+         <!-- change to define SQL used to obtain key prior to insert -->
+         <attribute name="pk-sql">SELECT CURRENT_TIMESTAMP</attribute>
+      </entity-command>
+
+      <!-- retrieves generated key of the record inserted into hsql db for jdbc2 pm -->
+      <entity-command name="jdbc2pm-hsqldb-fetch-key"
+                      class="org.jboss.ejb.plugins.cmp.jdbc2.keygen.HsqldbCreateCommand">
+         <!-- uncomment to change SQL statement used to obtain identity
+         <attribute name="pk-sql">CALL IDENTITY()</attribute>
+         -->
+      </entity-command>
+
+      <!-- retrieves the currval of the the sequence associated with a PostgreSQL SERIAL column for jdbc2 pm -->
+      <entity-command name="jdbc2pm-postgresql-fetch-seq"
+                      class="org.jboss.ejb.plugins.cmp.jdbc2.keygen.PostgreSQLCreateCommand">
+         <!-- uncomment to change the name of the sequence; default is ${table}_${pkColumn}_seq
+         <attribute name="sequence"></attribute>
+         -->
+      </entity-command>
+   </entity-commands>
+
+   <!-- reserved words that should not be used as table names -->
+   <!-- JBoss will escape them by prepending a 'X' -->
+   <reserved-words>
+      	<word>alias</word>   	
+      	<word>alter</word>
+      	<word>between</word>
+      	<word>char</word>      	
+      	<word>column</word>      	
+      	<word>commit</word>
+      	<word>create</word>
+      	<word>date</word>
+      	<word>default</word>
+      	<word>delete</word>
+      	<word>drop</word>
+      	<word>file</word>
+      	<word>from</word>
+      	<word>grant</word>
+      	<word>group</word>
+      	<word>index</word>
+      	<word>integer</word>
+      	<word>join</word>
+      	<word>number</word>
+      	<word>on</word>
+      	<word>order</word>
+      	<word>primary</word>
+      	<word>public</word>
+      	<word>revoke</word>
+      	<word>rollback</word>
+      	<word>row</word>
+      	<word>select</word>
+      	<word>set</word>
+      	<word>session</word>
+      	<word>size</word>      	
+      	<word>table</word>
+      	<word>trigger</word>
+      	<word>update</word>
+      	<word>unique</word>
+      	<word>user</word>
+      	<word>varchar</word>
+      	<word>view</word>
+    </reserved-words>
+</jbosscmp-jdbc>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/AttributePersistenceService-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/AttributePersistenceService-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/AttributePersistenceService-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+
+<!-- $Id: AttributePersistenceService-xmbean.xml 23167 2004-08-23 16:57:19Z andd $ -->
+
+<mbean>
+   <!-- MBean Info -->
+   <description>XMBean Attribute Persistence Service</description>
+   <descriptors>
+      <persistence persistPolicy="OnUpdate"
+                   persistLocation="${jboss.server.data.dir}/xmbean-attrs"
+                   persistName="AttributePersistenceService.ser"/>
+      <persistence-manager value="org.jboss.mx.persistence.ObjectStreamPersistenceManager"/>
+   </descriptors>
+   <class>org.jboss.system.pm.AttributePersistenceService</class>
+   
+   <!-- Attributes -->
+   <attribute access="read-write" getMethod="getApmDestroyOnServiceStop" setMethod="setApmDestroyOnServiceStop">
+      <description>Specifies whether to call destroy() on the AttributePersistenceManager implementation, upon service stop</description>
+      <name>ApmDestroyOnServiceStop</name>
+      <type>boolean</type>
+      <descriptors>
+        <descriptor name="persistPolicy" value="Never"/>
+      </descriptors>
+   </attribute>
+   
+   <attribute access="read-write" getMethod="getAttributePersistenceManagerClass" setMethod="setAttributePersistenceManagerClass">
+      <description>The actual AttributePersistenceManager implementation</description>
+      <name>AttributePersistenceManagerClass</name>
+      <type>java.lang.String</type>
+      <descriptors>
+        <descriptor name="persistPolicy" value="Never"/>
+      </descriptors>
+   </attribute>
+   
+   <attribute access="read-write" getMethod="getAttributePersistenceManagerConfig" setMethod="setAttributePersistenceManagerConfig">
+      <description>The XML configuration that is passed to the AttributePersistenceManager implementation</description>
+      <name>AttributePersistenceManagerConfig</name>
+      <type>org.w3c.dom.Element</type>
+      <descriptors>
+        <descriptor name="persistPolicy" value="Never"/>
+      </descriptors>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getVersionTag" setMethod="setVersionTag">
+      <description>The version tag to use for stored/loaded Attribute data</description>
+      <name>VersionTag</name>
+      <type>java.lang.String</type>
+      <descriptors>
+        <descriptor name="persistPolicy" value="OnUpdate"/>
+      </descriptors>
+   </attribute>
+   
+   &defaultAttributes;
+   
+   <!-- Operations -->       
+   <operation>
+      <description>Factory method returning the active AttributePersistenceManager implementation, for internal usage</description>
+      <name>apmCreate</name>
+      <return-type>org.jboss.mx.persistence.AttributePersistenceManager</return-type>
+   </operation>
+   
+   <operation>
+      <description>Delegated to the active APM returns true when a persisted image with this id exists</description>
+      <name>apmExists</name>
+      <parameter>
+         <description>The id of the persisted attribute image</description>
+         <name>id</name>
+         <type>java.lang.String</type>
+      </parameter>           
+      <return-type>boolean</return-type>
+   </operation>
+   
+   <operation>
+      <description>Delegated to the active APM removes the specified persisted attribute image</description>
+      <name>apmRemove</name>
+      <parameter>
+         <description>The id of the persisted attribute image</description>
+         <name>id</name>
+         <type>java.lang.String</type>
+      </parameter>             
+      <return-type>void</return-type>
+   </operation>
+   
+   <operation>
+      <description>Delegated to the active APM removes the persisted attribute images</description>
+      <name>apmRemoveAll</name>
+      <return-type>void</return-type>
+   </operation>
+   
+   <operation>
+      <description>Delegated to the active APM it returns a list with the ids of all persisted attribute images</description>
+      <name>apmListAll</name>
+      <return-type>[Ljava.lang.String;</return-type>
+   </operation>
+
+   <operation>
+      <description>Delegated to the active APM it returns a single string with the ids of all persisted attribute images</description>
+      <name>apmListAllAsString</name>
+      <return-type>java.lang.String</return-type>
+   </operation>
+   
+   &defaultOperations;
+   			
+</mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/ClientUserTransaction-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/ClientUserTransaction-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/ClientUserTransaction-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+<!-- $Id: ClientUserTransaction-xmbean.xml 18262 2003-12-20 21:12:07Z pilhuhn $ -->
+<mbean>
+	 <description>ClientUserTransaction Service.</description>
+	 <class>org.jboss.tm.usertx.server.ClientUserTransactionService</class>
+	 &defaultAttributes;
+	 <attribute access="write-only" setMethod="setTxProxyName">
+	 	<description>Set the name of the proxy factory service used for the UserTransactionSession</description>
+	 	<name>TxProxyName</name>
+	 	<type>javax.management.ObjectName</type>
+	 </attribute>
+	 	
+	 <operation>
+		 <description>Expose UserTransactionSession and UserTransactionSessionFactory interfaces via JMX to invokers.</description>
+		 <name>invoke</name>
+		 <parameter>
+			 <description>A pointer to the invocation object</description>
+			 <name>invocation</name>
+			 <type>org.jboss.invocation.Invocation</type>
+		 </parameter>
+		 <return-type>java.lang.Object</return-type>
+	 </operation>
+
+	 &defaultOperations;   			
+ </mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/JNDIView-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/JNDIView-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/JNDIView-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+<!-- The JNDIView service XMBean
+$Id: JNDIView-xmbean.xml 38992 2005-12-13 15:29:35Z jerrygauth $
+-->
+<mbean>
+	 <description>JNDIView Service. List deployed application java:comp namespaces, 
+		 the java: namespace as well as the global InitialContext JNDI namespace.
+	 </description>
+	 <class>org.jboss.naming.JNDIView</class>
+	 &defaultAttributes;
+	 <attribute access="read-write" getMethod="getHANamingService" setMethod="setHANamingService">
+          <description>The HANamingService service name</description>
+          <name>HANamingService</name>
+          <type>java.lang.String</type>
+       </attribute>
+	 <operation>
+		 <description>Output JNDI info as text</description>
+		 <name>list</name>
+		 <parameter>
+			 <description>If true, list the class of each object in addition to its name</description>
+			 <name>verbose</name>
+			 <type>boolean</type>
+		 </parameter>
+		 <return-type>java.lang.String</return-type>
+	 </operation>
+	 <operation>
+		 <description>Output JNDI info in XML format</description>
+		 <name>listXML</name>
+		 <return-type>java.lang.String</return-type>
+	 </operation>
+	 &defaultOperations;   			
+ </mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/Log4jService-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/Log4jService-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/Log4jService-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd" [
+	<!ATTLIST interceptor
+	proxyName CDATA #IMPLIED
+>
+]>
+<!-- The Log4JService service XMBean
+$Id: Log4jService-xmbean.xml 28573 2005-02-11 13:15:54Z pilhuhn $
+-->
+<mbean>
+	<description>
+	This MBean allows to get and set Log4j specific options.
+See also resource:log4j.xml
+   </description>
+	<class>org.jboss.logging.Log4jService</class>
+	<constructor>
+		<description>The default constructor</description>
+		<name>Log4jService</name>
+	</constructor>
+   
+   &defaultAttributes;
+
+   <attribute access="read-write" getMethod="getConfigurationURL" setMethod="setConfigurationURL">
+		<description>The URL of the log4j.xml config file.</description>
+		<name>ConfigurationURL</name>
+		<type>java.net.URL</type>
+	</attribute>
+	<attribute access="read-write" getMethod="getCatchSystemErr" setMethod="setCatchSystemErr">
+		<description>Should data writen to standard error be caught and integrated into the log output.</description>
+		<name>CatchSystemErr</name>
+		<type>boolean</type>
+	</attribute>
+	<attribute access="read-write" getMethod="getCatchSystemOut" setMethod="setCatchSystemOut">
+		<description>Should data writen to standard output be caught and integrated into the log output.</description>
+		<name>CatchSystemOut</name>
+		<type>boolean</type>
+	</attribute>
+	<attribute access="read-write" getMethod="getLog4jQuietMode" setMethod="setLog4jQuietMode">
+		<description>Sets the log4j quite mode. For log4j 1.2.8 this must stay on true.</description>
+		<name>Log4jQuietMode</name>
+		<type>boolean</type>
+	</attribute>
+	<attribute access="read-write" getMethod="getRefreshPeriod" setMethod="setRefreshPeriod">
+		<description>The time in seconds between checking for new config.</description>
+		<name>RefreshPeriod</name>
+		<type>int</type>
+	</attribute>
+	<!-- Operations -->
+	<operation>
+		<description>Displays the log level of a given logger.</description>
+		<name>getLoggerLevel</name>
+		<parameter>
+			<description>The name of the logger to display.</description>
+			<name>logger</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<return-type>java.lang.String</return-type>
+	</operation>
+	<operation>
+		<description>Sets the log level for a given logger.</description>
+		<name>setLoggerLevel</name>
+		<parameter>
+			<description>The name of the logger to set.</description>
+			<name>logger</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<parameter>
+			<description>The log level to set.</description>
+			<name>level</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<return-type>void</return-type>
+	</operation>
+	<operation>
+		<description>Sets the levels of each logger specified by the given comma
+    seperated list of logger names.</description>
+		<name>setLoggerLevels</name>
+		<parameter>
+			<description>The list of loggers</description>
+			<name>loggers</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<parameter>
+			<description>The log level to set</description>
+			<name>level</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<return-type>void</return-type>
+	</operation>
+	<operation>
+		<description>Force the logging system to reconfigure.</description>
+		<name>reconfigure</name>
+		<return-type>void</return-type>
+	</operation>
+	<operation>
+		<description>Force the logging system to reconfigure with the given URL.</description>
+		<name>reconfigure</name>
+		<parameter>
+			<description>The url for the new configuration.</description>
+			<name>url</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<return-type>void</return-type>
+	</operation>
+
+
+   &defaultOperations;   			
+
+</mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/NamingBean-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/NamingBean-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/NamingBean-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+
+<!-- The JNDI Naming XMBean
+   $Id: NamingBean-xmbean.xml 60240 2007-02-03 18:29:53Z scott.stark at jboss.org $
+-->
+<mbean>
+   <description>The JNDI pojo bean</description>
+
+   <class>org.jnp.server.NamingBeanImpl</class>
+   
+   <constructor>
+       <description>The default constructor</description>
+       <name>NamingBeanImpl</name>
+   </constructor>
+   
+   <attribute access="read-only" getMethod="getNamingInstance">
+       <description>The NamingInstance</description>
+       <name>NamingInstance</name>
+       <type>org.jnp.interfaces.Naming</type>
+   </attribute>
+   
+   <!-- Operations -->
+   <operation>
+       <description>The start lifecycle op</description>
+       <name>start</name>
+       <return-type>void</return-type>
+   </operation>
+   <operation>
+       <description>The stop lifecycle op</description>
+       <name>stop</name>
+       <return-type>void</return-type>
+   </operation>
+   
+</mbean>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/NamingService-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/NamingService-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/NamingService-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd"
+[
+   <!ATTLIST interceptor proxyName CDATA #IMPLIED>
+]>
+
+<!-- The JNDI Naming service XMBean
+$Id: NamingService-xmbean.xml 60231 2007-02-03 08:00:43Z scott.stark at jboss.org $
+-->
+<mbean>
+   <description>The standard JBoss JNDI naming server with a custom
+      ProxyFactoryInterceptor interceptor that does replacement of NamingContext
+      objects with the detached invoker proxy.
+   </description>
+
+   <descriptors>
+      <interceptors>
+         <!-- Uncomment to enable NamingContext replacement by the detached
+         invoker proxy. You need to set the proxyName attribute correctly.
+         <interceptor code="org.jboss.naming.interceptors.ProxyFactoryInterceptor"
+            proxyName="jboss:service=proxyFactory,type=pooled,target=Naming"/>
+         -->
+         <interceptor code="org.jboss.mx.interceptor.PersistenceInterceptor2" />
+         <interceptor code="org.jboss.mx.interceptor.ModelMBeanInterceptor" />
+         <interceptor code="org.jboss.mx.interceptor.ObjectReferenceInterceptor" />
+      </interceptors>
+   </descriptors>
+
+   <class>org.jboss.naming.NamingService</class>
+
+   <constructor>
+      <description>The default constructor</description>
+      <name>NamingService</name>
+   </constructor>
+   
+   &defaultAttributes;
+
+   <attribute access="read-only" getMethod="getMethodMap">
+      <name>MethodMap</name>
+      <type>java.util.Map</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getNaming" setMethod="setNaming">
+      <description>Underlying Naming bean instance</description>
+      <name>Naming</name>
+      <type>org.jnp.server.NamingBean</type>
+   </attribute>
+   <attribute access="read-only" getMethod="getNamingInstance">
+      <description>Underlying Naming bean instance</description>
+      <name>NamingInstance</name>
+      <type>org.jnp.interfaces.Naming</type>
+   </attribute>   
+   <attribute access="read-write" getMethod="getCallByValue" setMethod="setCallByValue">
+      <description>The call by value mode. true if all lookups are unmarshalled using
+      the caller's TCL, false if in VM lookups return the value by reference.</description>
+      <name>CallByValue</name>
+      <type>boolean</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getBindAddress" setMethod="setBindAddress">
+      <description>The bind address of the bootstrap lookup socket.</description>
+      <name>BindAddress</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getPort" setMethod="setPort">
+      <description>The listening port for the bootstrap JNP service. Set this to -1
+        to run the NamingService without the JNP invoker listening port.</description>
+      <name>Port</name>
+      <type>int</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getBacklog" setMethod="setBacklog">
+      <description>The bootstrap socket backlog count.</description>
+      <name>Backlog</name>
+      <type>int</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getJNPServerSocketFactory"
+      setMethod="setJNPServerSocketFactory">
+      <description>The bootstrap socket javax.net.ServerSocketFactory class name</description>
+      <name>JNPServerSocketFactory</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getJNPServerSocketFactoryBean"
+      setMethod="setJNPServerSocketFactoryBean">
+      <description>The bootstrap socket javax.net.ServerSocketFactory</description>
+      <name>JNPServerSocketFactoryBean</name>
+      <type>javax.net.ServerSocketFactory</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getRmiPort" setMethod="setRmiPort">
+      <description>The port of the RMI naming service, 0 == anonymous. This
+      is only used if an explicit InvokerProxyFactory has not been set.</description>
+      <name>RmiPort</name>
+      <type>int</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getRmiBindAddress" setMethod="setRmiBindAddress">
+      <description>The RMI service bind address. Empty == all addresses</description>
+      <name>RmiBindAddress</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getClientSocketFactory" setMethod="setClientSocketFactory">
+      <description>The RMI service java.rmi.server.RMIClientSocketFactory class name</description>
+      <name>ClientSocketFactory</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getClientSocketFactoryBean" setMethod="setClientSocketFactoryBean">
+      <description>The RMI service java.rmi.server.RMIServerSocketFactory instance</description>
+      <name>ClientSocketFactoryBean</name>
+      <type>java.rmi.server.RMIClientSocketFactory</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getServerSocketFactory" setMethod="setServerSocketFactory">
+      <description>The RMI service java.rmi.server.RMIServerSocketFactory class name</description>
+      <name>ServerSocketFactory</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getServerSocketFactoryBean" setMethod="setServerSocketFactoryBean">
+      <description>The RMI service java.rmi.server.RMIServerSocketFactory instance</description>
+      <name>ServerSocketFactory</name>
+      <type>java.rmi.server.RMIServerSocketFactory</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getInstallGlobalService"
+      setMethod="setInstallGlobalService">
+      <description>Ghe InstallGlobalService which defines whether the MainMBean's
+         Naming server will be installed as the NamingContext.setLocal global
+         value.</description>
+      <name>InstallGlobalService</name>
+      <type>boolean</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getUseGlobalService"
+      setMethod="setUseGlobalService">
+      <description>The UseGlobalService which defines whether the MainMBean's
+         Naming server will initialized from the existing NamingContext.setLocal global
+         value.</description>
+      <name>UseGlobalService</name>
+      <type>boolean</type>
+   </attribute>
+   <attribute access="write-only" setMethod="setLookupPool">
+      <description>The thread pool service used to control the bootstrap lookups</description>
+      <name>LookupPool</name>
+      <type>org.jboss.util.threadpool.BasicThreadPoolMBean</type>
+   </attribute>
+   <attribute access="write-only" setMethod="setInvokerProxyFactory">
+      <description>The detached invoker proxy factory to use for the naming
+      service transport.</description>
+      <name>InvokerProxyFactory</name>
+      <type>org.jboss.invocation.jrmp.server.JRMPProxyFactoryMBean</type>
+   </attribute>
+
+   <!-- Operations -->
+   <operation>
+      <description>The generic invocation operation used by detached invokers
+         to route requests to the service
+      </description>
+      <name>invoke</name>
+      <parameter>
+         <description>The Naming interface method invocation encapsulation
+         </description>
+         <name>invocation</name>
+         <type>org.jboss.invocation.Invocation</type>
+      </parameter>
+      <return-type>java.lang.Object</return-type>
+   </operation>
+   <operation>
+      <description>Create an alias in jndi
+      </description>
+      <name>createAlias</name>
+      <parameter>
+         <description>The from name
+         </description>
+         <name>fromName</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <parameter>
+         <description>The to name
+         </description>
+         <name>toName</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description>Remove an alias from jndi
+      </description>
+      <name>removeAlias</name>
+      <parameter>
+         <description>The name
+         </description>
+         <name>name</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+
+   &defaultOperations;   			
+
+</mbean>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/TransactionManagerService-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/TransactionManagerService-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/TransactionManagerService-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+
+<!-- $Id: TransactionManagerService-xmbean.xml 32334 2005-06-17 06:45:59Z adrian $ -->
+<mbean>
+	 <description>TransactionManager Service.</description>
+	 <class>org.jboss.tm.TransactionManagerService</class>
+	 &defaultAttributes;
+	 <attribute access="read-write" getMethod="getGlobalIdsEnabled" setMethod="setGlobalIdsEnabled">
+	 	<description>Should be set to true for transaction demarcation over IIOP</description>
+	 	<name>GlobalIdsEnabled</name>
+	 	<type>boolean</type>
+	 </attribute>
+	 <attribute access="read-write" getMethod="isInterruptThreads" setMethod="setInterruptThreads">
+	 	<description>Whether to interrupt threads at transaction timeout</description>
+	 	<name>InterruptThreads</name>
+	 	<type>boolean</type>
+	 </attribute>
+	 <attribute access="read-write" getMethod="getTransactionTimeout" setMethod="setTransactionTimeout">
+	 	<description>The transaction timeout in seconds</description>
+	 	<name>TransactionTimeout</name>
+	 	<type>int</type>
+	 </attribute>
+	 <attribute access="read-write" getMethod="getXidFactory" setMethod="setXidFactory">
+	 	<description>Name of the xidFactory</description>
+	 	<name>XidFactory</name>
+	 	<type>javax.management.ObjectName</type>
+	 </attribute>
+	 <attribute access="write-only" setMethod="setTransactionIntegrityFactory">
+	 	<description>Transaction Integrity Policy</description>
+	 	<name>TransactionIntegrityFactory</name>
+	 	<type>org.jboss.tm.integrity.TransactionIntegrityFactory</type>
+	 </attribute>
+	 <attribute access="read-only" getMethod="getTransactionManager">
+	 	<description>Returns the TransactionManager managed by this service</description>
+	 	<name>TransactionManager</name>
+	 	<type>javax.transaction.TransactionManager</type>
+	 </attribute>
+	 <attribute access="read-only" getMethod="getXATerminator">
+	 	<description>Returns the XATerminator managed by this service</description>
+	 	<name>XATerminator</name>
+	 	<type>org.jboss.tm.JBossXATerminator</type>
+	 </attribute>
+	 <attribute access="read-only" getMethod="getTransactionCount">
+	 	<description>Counts the number of active transactions</description>
+	 	<name>TransactionCount</name>
+	 	<type>long</type>
+	 </attribute>
+	 <attribute access="read-only" getMethod="getCommitCount">
+	 	<description>Counts the number of commited transactions</description>
+	 	<name>CommitCount</name>
+	 	<type>long</type>
+	 </attribute>
+	 <attribute access="read-only" getMethod="getRollbackCount">
+	 	<description>Counts the number of transactions that have been rolled back</description>
+	 	<name>RollbackCount</name>
+	 	<type>long</type>
+	 </attribute>
+	 	
+	 <operation>
+		 <description>Register a XAException Formatter</description>
+		 <name>registerXAExceptionFormatter</name>
+		 <parameter>
+			 <description>The class of the formatter</description>
+			 <name>clazz</name>
+			 <type>java.lang.Class</type>
+		 </parameter>
+		 <parameter>
+			 <description>A XAExceptionFromatter value</description>
+			 <name>formatter</name>
+			 <type>org.jboss.tm.XAExceptionFormatter</type>
+		 </parameter>		 
+		 <return-type>void</return-type>
+	 </operation>
+	 <operation>
+		 <description>Unregister a XAException Formatter</description>
+		 <name>unregisterXAExceptionFormatter</name>
+		 <parameter>
+			 <description>The class of the formatter</description>
+			 <name>clazz</name>
+			 <type>java.lang.Class</type>
+		 </parameter>
+		 <return-type>void</return-type>
+	 </operation>
+
+	 &defaultOperations;   			
+ </mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">
+<!-- $Id: org.jboss.deployment.JARDeployer-xmbean.xml 35861 2005-09-11 22:24:37Z dimitris $ -->
+<mbean>
+
+   <description>The JARDeployer adds archives that do not contain META-INF/*.xml
+       files. The pattern of xml files that correspond to deployment descriptors
+       can be specified using the DescriptorNames attribute.
+   </description>
+   <class>org.jboss.deployment.JARDeployer</class>
+   
+   <attribute access='read-write' getMethod='getDescriptorNames' setMethod='setDescriptorNames'>
+      <description>The list of suffixes that define deployment descriptors which
+         if found in an archive META-INF directory indicate non-jar deployments
+         which should be ignored by the JARDeployer
+      </description>
+      <name>DescriptorNames</name>
+      <type>[Ljava.lang.String;</type>
+      <!-- This suffix list represents the legacy behavior that ignored all
+         archives with META-INF/*.xml files
+      <descriptors>
+         <value value=".xml"/>
+      </descriptors>
+      -->
+      <!-- Ignore archives with the standard descriptors in META-INF -->
+      <descriptors>
+         <value value="ejb-jar.xml,jboss-service.xml,-ds.xml,ra.xml,application.xml,application-client.xml"/>
+      </descriptors>
+   </attribute>
+
+   <!-- SubDeployerExtMBean attribute -->
+   <attribute access="read-write" getMethod="getEnhancedSuffixes" setMethod="setEnhancedSuffixes">
+      <description>Allow the override of supported suffixes and relative order</description>
+      <name>EnhancedSuffixes</name>
+      <type>[Ljava.lang.String;</type>
+   </attribute>
+   
+   &deployerAttributes;
+   &defaultAttributes;
+
+   &deployerOperations;
+   &defaultOperations;
+   
+</mbean>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+
+<!-- $Id: org.jboss.deployment.MainDeployer-xmbean.xml 46368 2006-07-18 15:59:06Z dimitris $ -->
+
+<!-- The MainDeployer XMBean descriptor -->
+<mbean>
+   <description>The Main deployer is the service which acts as the entry
+       point for the deployment/undeployment requests.
+   </description>
+   <class>org.jboss.deployment.MainDeployer</class>
+
+   <attribute access='read-write' setMethod='setCopyFiles' getMethod='getCopyFiles'>
+      <description></description>
+      <name>CopyFiles</name>
+      <type>boolean</type>
+      <descriptors>
+         <value value="true"/>
+      </descriptors>
+   </attribute>
+   <attribute access='write-only' setMethod='setServiceController'>
+      <description></description>
+      <name>ServiceController</name>
+      <type>javax.management.ObjectName</type>
+   </attribute>
+   <attribute access='read-only' getMethod='getServiceName'>
+      <description></description>
+      <name>ServiceName</name>
+      <type>javax.management.ObjectName</type>
+   </attribute>
+   <attribute access='read-only' getMethod='getSuffixOrder'>
+      <description>The suffix order used when sorting deployments, constructed dynamically by registering deployers</description>
+      <name>SuffixOrder</name>
+      <type>[Ljava.lang.String;</type>
+   </attribute>
+   <attribute access='read-write' setMethod='setEnhancedSuffixOrder' getMethod='getEnhancedSuffixOrder'>
+      <description>Allows the override of the suffix order declared by subdeployers, using the syntax [order:]suffix
+      </description>
+      <name>EnhancedSuffixOrder</name>
+      <type>[Ljava.lang.String;</type>
+      <!--
+         Statically set one or more enhanced suffix orders, independent of the value proposed by subdeployers.
+         Some deployers may also allow the suffixes/orders to be set locally, so that's preferable too.
+         For reference, this is the list of enhanced suffixes likely to be set by deployers (it may not
+         be completely up-to-date, or there can be user-defined deployers).
+         
+         050:.deployer,050:-deployer.xml,100:.aop,100:-aop.xml,150:.sar,150:-service.xml,200:.beans,250:.rar,300:-ds.xml,350:.har,400:.jar,400:.ejb3,400:.par,500:.war,600:.wsr,650:.ear,700:.jar,750:.zip,800:.bsh,900:.last
+         
+         Until we resolve some startup issues, we'll setup some static enhanced suffix orders bellow
+         and leave the rest of the suffixes contributed dynamically by registering deployers.
+      -->
+      <descriptors>
+         <value value="250:.rar,300:-ds.xml,400:.jar,500:.war,550:.jse,650:.ear,800:.bsh"/>
+      </descriptors>
+   </attribute>
+   <attribute access='read-write' setMethod='setTempDir' getMethod='getTempDir'>
+      <description></description>
+      <name>TempDir</name>
+      <type>java.io.File</type>
+   </attribute>
+   <attribute access='read-only' getMethod='getTempDirString'>
+      <description></description>
+      <name>TempDirString</name>
+      <type>java.lang.String</type>
+   </attribute>
+   
+   &defaultAttributes;
+
+   <operation>
+      <description></description>
+      <name>addDeployer</name>
+      <parameter>
+         <name>deployer</name>
+         <type>org.jboss.deployment.SubDeployer</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>removeDeployer</name>
+      <parameter>
+         <name>deployer</name>
+         <type>org.jboss.deployment.SubDeployer</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>deploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>   
+      <name>deploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>deploy</name>
+      <parameter>
+         <name>sdi</name>
+         <type>org.jboss.deployment.DeploymentInfo</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description>starts a package identified by a URL</description>
+      <name>start</name>
+      <parameter>
+         <name>urlspec</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description>stops a package identified by a URL</description>
+      <name>stop</name>
+      <parameter>
+         <name>urlspec</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>getDeployment</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>org.jboss.deployment.DeploymentInfo</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>getWatchUrl</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>java.net.URL</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>isDeployed</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>boolean</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>isDeployed</name>
+      <parameter>
+         <name>url</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>boolean</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listDeployed</name>
+      <return-type>java.util.Collection</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listDeployedAsString</name>
+      <return-type>java.lang.String</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listDeployedModules</name>
+      <return-type>java.util.Collection</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listDeployers</name>
+      <return-type>java.util.Collection</return-type>
+   </operation>
+   <operation>
+      <description>Check the current deployment states and generate a
+      IncompleteDeploymentException if there are mbeans waiting for depedencies.
+      </description>
+      <name>checkIncompleteDeployments</name>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listIncompletelyDeployed</name>
+      <return-type>java.util.Collection</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listWaitingForDeployer</name>
+      <return-type>java.util.Collection</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>redeploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>redeploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>redeploy</name>
+      <parameter>
+         <name>sdi</name>
+         <type>org.jboss.deployment.DeploymentInfo</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>shutdown</name>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>undeploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>undeploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>undeploy</name>
+      <parameter>
+         <name>sdi</name>
+         <type>org.jboss.deployment.DeploymentInfo</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+
+   &defaultOperations;
+   
+</mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">
+<!--
+   SARDeployer XMBean descriptor
+   
+   $Id: org.jboss.deployment.SARDeployer-xmbean.xml 35861 2005-09-11 22:24:37Z dimitris $
+ -->
+<mbean>
+   <description>The SAR deployer handles the JBoss service archive deployments.</description>
+   <class>org.jboss.deployment.SARDeployer</class>
+   
+   <attribute access="read-write" getMethod="getUseNamespaceAwareParser" setMethod="setUseNamespaceAwareParser">
+      <description>A flag passed to the JAXP DocumentBuilderFactory setNamespaceAware method</description>
+      <name>UseNamespaceAwareParser</name>
+      <type>boolean</type>
+      <descriptors>
+         <value value="true"/>
+      </descriptors>
+   </attribute>
+   
+   <!-- SubDeployerExtMBean attribute -->
+   <attribute access="read-write" getMethod="getEnhancedSuffixes" setMethod="setEnhancedSuffixes">
+      <description>Allow the override of supported suffixes and relative order</description>
+      <name>EnhancedSuffixes</name>
+      <type>[Ljava.lang.String;</type>
+      <descriptors>
+         <!-- Add "350:har" to the suffixes supported normally by the SARDeployer -->
+         <value value="050:.deployer,050:-deployer.xml,150:.sar,150:-service.xml,350:.har"/>
+      </descriptors>
+   </attribute>
+
+   &deployerAttributes;
+   &defaultAttributes;
+
+   <operation>
+      <description>Get the associated service DeploymentInfo if found, null otherwise</description>
+      <name>getService</name>
+      <parameter>
+         <name>serviceName</name>
+         <type>javax.management.ObjectName</type>
+      </parameter>
+      <return-type>org.jboss.deployment.DeploymentInfo</return-type>
+   </operation>
+
+   &deployerOperations;   
+   &defaultOperations;
+   
+</mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/bsh-deployer.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/bsh-deployer.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/bsh-deployer.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- The JBoss service configuration file for the BSH deployer service.
+$Id: bsh-deployer.xml 23463 2004-09-05 15:50:37Z starksm $
+-->
+<server>
+   <!-- BSH deployer, remove to disable deployment of bsh scripts as services
+   -->
+   <mbean code="org.jboss.varia.deployment.BeanShellSubDeployer"
+      name="jboss.deployer:service=BSHDeployer">
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/cache-invalidation-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/cache-invalidation-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/cache-invalidation-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server>
+<!-- $Id: cache-invalidation-service.xml 16662 2003-08-27 04:38:22Z patriot1burke $ -->
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Cache Invalidation Service                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+  <mbean code="org.jboss.cache.invalidation.InvalidationManager" 
+         name="jboss.cache:service=InvalidationManager">
+  </mbean>
+
+
+<!--
+	Uncomment if you want to activate the cache invalidation mechanism accross
+	nodes using the JMS bridge 
+
+	PropagationMode can be : IN_OUT = 1, IN_ONLY = 2, OUT_ONLY = 3
+
+   You can also set the ProviderUrl attribute to another IP:port setting if you
+   must lookup your JMS information in other JMS trees i.e.
+
+      <attribute name="ProviderUrl">MyOtherNode:1099</attribute>
+
+-->
+<!--
+  <mbean code="org.jboss.mq.server.jmx.Topic"
+	 name="jboss.mq.destination:service=Topic,name=JMSCacheInvalidationBridge">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.cache.invalidation.bridges.JMSCacheInvalidationBridge" 
+         name="jboss.cache:service=InvalidationBridge,type=JavaGroups">
+     <depends>jboss.cache:service=InvalidationManager</depends>
+     <depends>jboss.mq.destination:service=Topic,name=JMSCacheInvalidationBridge</depends>
+     <attribute name="InvalidationManager">jboss.cache:service=InvalidationManager</attribute>
+     <attribute name="ConnectionFactoryName">java:/ConnectionFactory</attribute>
+     <attribute name="TopicName">topic/JMSCacheInvalidationBridge</attribute>
+     <attribute name="PropagationMode">1</attribute> 
+  </mbean>
+-->
+     
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/client-deployer-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/client-deployer-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/client-deployer-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- The J2EE application client deployer service
+$Id: client-deployer-service.xml 36323 2005-09-24 21:49:13Z starksm $
+-->
+<server>
+   <!-- A ClientDeployer configuration with an minimal ebmedded xmbean descriptor
+   -->
+   <mbean code="org.jboss.deployment.ClientDeployer"
+      name="jboss.j2ee:service=ClientDeployer"
+      xmbean-dd="">
+      <xmbean>
+         <description>The J2EE Application Client Deployer</description>
+         <class>org.jboss.deployment.ClientDeployer</class>
+
+         <!--  Attributes -->
+         <attribute access="read-only" getMethod="getStateString">
+            <description>The service state name</description>
+            <name>StateString</name>
+            <type>java.lang.String</type>
+         </attribute>
+         <attribute access="read-only" getMethod="getState">
+            <description>The service state value</description>
+            <name>State</name>
+            <type>int</type>
+         </attribute>
+
+         <!-- Operations -->
+         <operation>
+            <description>The create lifecycle operation</description>
+            <name>create</name>
+         </operation>
+         <operation>
+            <description>The start lifecycle operation</description>
+            <name>start</name>
+         </operation>
+         <operation>
+            <description>The stop lifecycle operation</description>
+            <name>stop</name>
+         </operation>
+         <operation>
+            <description>The destroy lifecycle operation</description>
+            <name>destroy</name>
+         </operation>
+      </xmbean>
+   </mbean>
+
+   <!-- An alternate externalized xmbean configuration that includes more of the
+   standard attributes and operations.
+   <mbean code="org.jboss.deployment.ClientDeployer"
+      name="jboss.j2ee:service=ClientDeployer"
+      xmbean-dd="client-deployer-xmbean.xml" />
+   -->
+</server>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/cluster-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/cluster-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/cluster-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,246 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample Clustering Service Configuration                              -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Cluster Partition: defines cluster                                   -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.ha.framework.server.ClusterPartition"
+      name="jboss:service=${jboss.partition.name:DefaultPartition}">
+
+      <!-- Name of the partition being built -->
+      <attribute name="PartitionName">${jboss.partition.name:DefaultPartition}</attribute>
+
+      <!-- The address used to determine the node name -->
+      <attribute name="NodeAddress">${jboss.bind.address}</attribute>
+
+      <!-- Determine if deadlock detection is enabled -->
+      <attribute name="DeadlockDetection">False</attribute>
+
+      <!-- Max time (in ms) to wait for state transfer to complete. Increase for large states -->
+      <attribute name="StateTransferTimeout">30000</attribute>
+
+      <!-- The JGroups protocol configuration -->
+      <attribute name="PartitionConfig">
+         <!--
+         The default UDP stack:
+         - If you have a multihomed machine, set the UDP protocol's bind_addr attribute to the
+         appropriate NIC IP address, e.g bind_addr="192.168.0.2".
+         - On Windows machines, because of the media sense feature being broken with multicast
+         (even after disabling media sense) set the UDP protocol's loopback attribute to true
+         -->
+         <Config>
+            <UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.3}" 
+                 mcast_port="${jboss.hapartition.mcast_port:45566}"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 enable_bundling="false"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 use_outgoing_packet_handler="false"
+                 ip_ttl="${jgroups.udp.ip_ttl:2}"
+                 down_thread="false" up_thread="false"/>
+            <PING timeout="2000"
+                  down_thread="false" up_thread="false" num_initial_members="3"/>
+            <MERGE2 max_interval="100000"
+                    down_thread="false" up_thread="false" min_interval="20000"/>
+            <FD_SOCK down_thread="false" up_thread="false"/>
+            <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                    use_mcast_xmit="false" gc_lag="0"
+                    retransmit_timeout="300,600,1200,2400,4800"
+                    down_thread="false" up_thread="false"
+                    discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,1200,2400,3600"
+                    down_thread="false" up_thread="false"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                    down_thread="false" up_thread="false"
+                    max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="3000"
+                    down_thread="false" up_thread="false"
+                    join_retry_timeout="2000" shun="true"
+                    view_bundling="true"/>
+            <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
+            <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
+         </Config>
+
+         <!-- Alternate TCP stack: customize it for your environment, change bind_addr and initial_hosts -->
+         <!--
+         <Config>
+            <TCP bind_addr="thishost" start_port="7800" loopback="true"
+                 tcp_nodelay="true"
+                 recv_buf_size="20000000"
+                 send_buf_size="640000"
+                 discard_incompatible_packets="true"
+                 enable_bundling="false"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 use_outgoing_packet_handler="false"
+                 down_thread="false" up_thread="false"
+                 use_send_queues="false"
+                 sock_conn_timeout="300"
+                 skip_suspected_members="true"/>
+            <TCPPING initial_hosts="thishost[7800],otherhost[7800]" port_range="3"
+                     timeout="3000"
+                     down_thread="false" up_thread="false"
+                     num_initial_members="3"/>
+            <MERGE2 max_interval="100000"
+                    down_thread="false" up_thread="false" min_interval="20000"/>
+            <FD_SOCK down_thread="false" up_thread="false"/>
+            <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,1200,2400,4800"
+                           down_thread="false" up_thread="false"
+                           discard_delivered_msgs="true"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           down_thread="false" up_thread="false"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="3000"
+                        down_thread="false" up_thread="false"
+                        join_retry_timeout="2000" shun="true"
+                        view_bundling="true"/>
+            <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
+         </Config>
+         -->
+      </attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- HA Session State Service for SFSB                                    -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.ha.hasessionstate.server.HASessionStateService"
+      name="jboss:service=HASessionState">
+      <depends>jboss:service=Naming</depends>
+      <!-- We now inject the partition into the HAJNDI service instead
+           of requiring that the partition name be passed -->
+      <depends optional-attribute-name="ClusterPartition"
+         proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+      <!-- JNDI name under which the service is bound -->
+      <attribute name="JndiName">/HASessionState/Default</attribute>
+      <!-- Max delay before cleaning unreclaimed state.
+           Defaults to 30*60*1000 => 30 minutes -->
+      <attribute name="BeanCleaningDelay">0</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- HA JNDI                                                              -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.ha.jndi.HANamingService"
+      name="jboss:service=HAJNDI">
+      <!-- We now inject the partition into the HAJNDI service instead
+           of requiring that the partition name be passed -->
+      <depends optional-attribute-name="ClusterPartition"
+         proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+      <!-- Bind address of bootstrap and HA-JNDI RMI endpoints -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>
+      <!-- Port on which the HA-JNDI stub is made available -->
+      <attribute name="Port">1100</attribute>
+      <!-- RmiPort to be used by the HA-JNDI service once bound. 0 => auto. -->
+      <attribute name="RmiPort">1101</attribute>
+      <!-- Accept backlog of the bootstrap socket -->
+      <attribute name="Backlog">50</attribute>
+      <!-- The thread pool service used to control the bootstrap and
+      auto discovery lookups -->
+      <depends optional-attribute-name="LookupPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+
+      <!-- A flag to disable the auto discovery via multicast -->
+      <attribute name="DiscoveryDisabled">false</attribute>
+      <!-- Set the auto-discovery bootstrap multicast bind address. If not
+      specified and a BindAddress is specified, the BindAddress will be used. -->
+      <attribute name="AutoDiscoveryBindAddress">${jboss.bind.address}</attribute>
+      <!-- Multicast Address and group port used for auto-discovery -->
+      <attribute name="AutoDiscoveryAddress">${jboss.partition.udpGroup:230.0.0.4}</attribute>
+      <attribute name="AutoDiscoveryGroup">1102</attribute>
+      <!-- The TTL (time-to-live) for autodiscovery IP multicast packets -->
+      <attribute name="AutoDiscoveryTTL">16</attribute>
+      <!-- The load balancing policy for HA-JNDI -->
+      <attribute name="LoadBalancePolicy">org.jboss.ha.framework.interfaces.RoundRobin</attribute>
+
+      <!-- Client socket factory to be used for client-server
+           RMI invocations during JNDI queries
+      <attribute name="ClientSocketFactory">custom</attribute>
+      -->
+      <!-- Server socket factory to be used for client-server
+           RMI invocations during JNDI queries
+      <attribute name="ServerSocketFactory">custom</attribute>
+      -->
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- HA Invokers                                                          -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.invocation.unified.server.UnifiedInvokerHA"
+      name="jboss:service=invoker,type=unifiedha">
+      <depends>jboss:service=TransactionManager</depends>
+      <depends optional-attribute-name="Connector"
+       proxy-type="attribute">jboss.remoting:service=Connector,transport=socket</depends>
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+   </mbean>
+
+   <mbean code="org.jboss.invocation.jrmp.server.JRMPInvokerHA"
+      name="jboss:service=invoker,type=jrmpha">
+      <attribute name="ServerAddress">${jboss.bind.address}</attribute>
+      <attribute name="RMIObjectPort">4447</attribute>
+      <!--
+      <attribute name="RMIClientSocketFactory">custom</attribute>
+      <attribute name="RMIServerSocketFactory">custom</attribute>
+      -->
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+
+   <!-- the JRMPInvokerHA creates a thread per request.  This implementation uses a pool of threads -->
+   <mbean code="org.jboss.invocation.pooled.server.PooledInvokerHA"
+      name="jboss:service=invoker,type=pooledha">
+      <attribute name="NumAcceptThreads">1</attribute>
+      <attribute name="MaxPoolSize">300</attribute>
+      <attribute name="ClientMaxPoolSize">300</attribute>
+      <attribute name="SocketTimeout">60000</attribute>
+      <attribute name="ServerBindAddress">${jboss.bind.address}</attribute>
+      <attribute name="ServerBindPort">4448</attribute>
+      <attribute name="ClientConnectAddress">${jboss.bind.address}</attribute>
+      <attribute name="ClientConnectPort">0</attribute>
+      <attribute name="EnableTcpNoDelay">false</attribute>
+      <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+
+   <!-- ==================================================================== -->
+   <!-- Distributed cache invalidation                                       -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge"
+      name="jboss.cache:service=InvalidationBridge,type=JavaGroups">
+      <!-- We now inject the partition into the HAJNDI service instead
+           of requiring that the partition name be passed -->
+      <depends optional-attribute-name="ClusterPartition"
+         proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+      <depends>jboss.cache:service=InvalidationManager</depends>
+      <attribute name="InvalidationManager">jboss.cache:service=InvalidationManager</attribute>
+      <attribute name="BridgeName">DefaultJGBridge</attribute>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/deploy-hasingleton-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/deploy-hasingleton-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/deploy-hasingleton-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: deploy-hasingleton-service.xml 61770 2007-03-28 02:42:24Z bstansberry at jboss.com $ -->
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  This service ensures that exactly one node in the cluster            -->
+<!--  deploys the services under "deploy-hasingleton" 			   -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+  
+   <!--
+    |
+    | Use the deployer service on the singleton node. 
+    |
+   -->
+   <mbean code="org.jboss.ha.singleton.HASingletonController" 
+          name="jboss.ha:service=HASingletonDeployer">
+      <!-- We now inject the partition into the HAJNDI service instead
+           of requiring that the partition name be passed -->
+      <depends optional-attribute-name="ClusterPartition"
+         proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition}</depends>  
+      <depends optional-attribute-name="TargetName">jboss.system:service=MainDeployer</depends>
+      <attribute name="TargetStartMethod">deploy</attribute>
+      <attribute name="TargetStartMethodArgument">${jboss.server.home.url}/deploy-hasingleton</attribute>
+      <attribute name="TargetStopMethod">undeploy</attribute>
+      <attribute name="TargetStopMethodArgument">${jboss.server.home.url}/deploy-hasingleton</attribute>
+      
+      <!-- Whether the singleton should be restarted (i.e. invoke the TargetStopMethod and then the
+           TargetStartMethod) if a cluster merge occurs while this node is the singleton master.
+           A cluster merge means there may have been more than one singleton masters during the period
+           when communication between some or all of the nodes in the cluster was disrupted; hence the  
+           surviving master may not be aware of state changes made by another master. Restarting the 
+           singleton gives it a signal that it should refresh its internal state from any external 
+           store.  
+           
+           By default this is set to true, as HA-JMS should re-establish state from its persistent
+           store if a cluster merge occurs.
+      -->
+      <attribute name="RestartOnMerge">true</attribute>
+   </mbean>
+
+   <!--
+    | A BarrierController that controls the lifecycle of a Barrier mbean
+    | based on notifications received by the HASingletonController above.
+    |
+    | Services deployed normally inside ./deploy or ./farm that want to be
+    | started/stopped whenever the content of ./deploy-hasingleton/ gets
+    | deployed/undeployed, or else, whenever the current node becomes the
+    | master, need only specify a dependency on the Barrier:
+    |
+    |    <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>
+    |
+    | With this setup the Barrier and all services that depend on it
+    | will be started *after* the content of deploy-hasingleton is deployed.
+    | To change this, just use the following enabled notification types:
+    |
+    |    <enable type="org.jboss.ha.singleton.starting"/>
+    |    <enable type="org.jboss.ha.singleton.stopped"/>
+   -->
+   <mbean code="org.jboss.system.BarrierController"
+          name="jboss.ha:service=HASingletonDeployer,type=BarrierController">
+    
+      <!-- Dependent services will depend on this mbean -->
+      <attribute name="BarrierObjectName">jboss.ha:service=HASingletonDeployer,type=Barrier</attribute>
+    
+      <!-- Whether to subscribe for notifications after startup -->
+      <attribute name="DynamicSubscriptions">false</attribute>    
+      <!-- The notification subscription handback that starts the barrier -->
+      <attribute name="StartBarrierHandback">start</attribute>
+      <!-- The notification subscription handback that stops the barrier -->
+      <attribute name="StopBarrierHandback">stop</attribute>
+    
+      <!-- The notifications to subscribe for, along with their handbacks -->
+      <attribute name="SubscriptionList">
+         <subscription-list>
+            <mbean name="jboss.ha:service=HASingletonDeployer" handback="start">
+               <filter factory="NotificationFilterSupportFactory">
+                  <enable type="org.jboss.ha.singleton.started"/>
+               </filter>
+            </mbean>
+            <mbean name="jboss.ha:service=HASingletonDeployer" handback="stop">
+               <filter factory="NotificationFilterSupportFactory">
+                  <enable type="org.jboss.ha.singleton.stopping"/>
+               </filter>
+            </mbean>        
+         </subscription-list>
+      </attribute>
+   </mbean>
+   
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/deploy.last/farm-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/deploy.last/farm-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/deploy.last/farm-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Sample Farming Service Configuration                                   -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+   
+   <mbean code="org.jboss.ha.framework.server.FarmMemberService"
+      name="jboss:service=FarmMember,partition=${jboss.partition.name:DefaultPartition}" >   
+      
+      <!-- We now inject the partition into the HAJNDI service instead
+           of requiring that the partition name be passed -->
+      <depends optional-attribute-name="ClusterPartition"
+         proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition}</depends>    
+   	
+      <depends>jboss.web:service=WebServer</depends>           
+
+    <!-- Uncomment (and comment/remove version below) to enable usage of the
+      DeploymentCache
+    <depends optional-attribute-name="Deployer">jboss.deployment:type=DeploymentCache</depends>
+    -->
+    <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
+
+    <!-- The URLComparator can be used to specify a deployment ordering
+         for deployments found in a scanned directory.  The class specified
+         must be an implementation of java.util.Comparator, it must be able
+         to compare two URL objects, and it must have a no-arg constructor.
+         Two deployment comparators are shipped with JBoss:
+           - org.jboss.deployment.DeploymentSorter 
+             Sorts by file extension, as follows:
+               "sar", "service.xml", "rar", "jar", "war", "wsr", "ear", "zip", 
+               "*"
+           - org.jboss.deployment.scanner.PrefixDeploymentSorter
+             If the name portion of the url begins with 1 or more digits, those 
+             digits are converted to an int (ignoring leading zeroes), and 
+             files are deployed in that order.  Files that do not start with 
+             any digits will be deployed last, and they will be sorted by
+             extension as above with DeploymentSorter.
+    -->
+    <attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
+    
+    <!--
+    <attribute name="URLComparator">org.jboss.deployment.scanner.PrefixDeploymentSorter</attribute>
+    -->
+
+    <!-- The Filter specifies a java.io.FileFilter for scanned
+         directories.  Any file not accepted by this filter will not be
+         deployed.  The org.jboss.deployment.scanner.DeploymentFilter 
+         rejects the following patterns:
+             "#*", "%*", ",*", ".*", "_$*", "*#", "*$", "*%", "*.BAK", 
+             "*.old", "*.orig", "*.rej", "*.bak", "*,v", "*~", ".make.state", 
+             ".nse_depinfo", "CVS", "CVS.admin", "RCS", "RCSLOG", "SCCS", 
+             "TAGS", "core", "tags"
+    -->
+    <attribute name="Filter">org.jboss.deployment.scanner.DeploymentFilter</attribute>
+
+    <attribute name="ScanPeriod">5000</attribute>
+
+    <!-- URLs are comma seperated and unprefixed arguments are considered
+       file URLs and resolve relative to server home(JBOSS_DIST/server/default)
+       unless the given path is absolute. Any referenced directories cannot
+       be unpackaged archives, use the parent directory of the unpacked
+       archive.
+     -->
+    <attribute name="URLs">
+       farm/
+    </attribute>
+    
+   </mbean>
+   
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ear-deployer.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ear-deployer.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ear-deployer.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- The JBoss service configuration file for the EAR deployer service.
+$Id: ear-deployer.xml 60679 2007-02-19 21:35:39Z scott.stark at jboss.org $
+-->
+<server>
+   <!-- EAR deployer, remove if you are not using ear deployments -->
+   <mbean code="org.jboss.deployment.EARDeployer"
+      name="jboss.j2ee:service=EARDeployer">
+      <!-- A flag indicating if ear deployments should have their own scoped
+      class loader to isolate their classes from other deployments.
+      -->
+      <attribute name="Isolated">false</attribute>
+      <!-- A flag indicating if the ear components should have in VM call
+      optimization disabled.
+      -->
+      <attribute name="CallByValue">false</attribute>
+      <!-- A flag the enables the default behavior of the ee5 library-directory. If true,
+      the lib contents of an ear are assumed to be the default value for library-directory
+      in the absence of an explicit library-directory. If false, there must be an
+      explicit library-directory.
+      -->
+      <attribute name="EnablelibDirectoryByDefault">true</attribute>
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb-deployer.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb-deployer.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb-deployer.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,311 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  The JBoss service configuration file for the EJB deployer service.
+  
+  $Id: ejb-deployer.xml 62317 2007-04-13 10:39:22Z dimitris at jboss.org $
+-->
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- J2EE Timer Service                                                   -->
+  <!-- ==================================================================== -->
+
+  <!-- An EJB Timer Service that is Tx aware -->
+  <mbean code="org.jboss.ejb.txtimer.EJBTimerServiceImpl"
+    name="jboss.ejb:service=EJBTimerService">
+    <attribute name="RetryPolicy">jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay</attribute>
+    <attribute name="PersistencePolicy">jboss.ejb:service=EJBTimerService,persistencePolicy=database</attribute>
+    <attribute name="TimerIdGeneratorClassName">org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator</attribute>
+    <attribute name="TimedObjectInvokerClassName">org.jboss.ejb.txtimer.TimedObjectInvokerImpl</attribute>
+    <depends optional-attribute-name="TransactionManagerFactory" proxy-type="org.jboss.tm.TransactionManagerFactory">
+      jboss:service=TransactionManager
+    </depends>
+  </mbean>
+
+  <!-- A retry policy that uses a fixed interval in milli seconds -->
+  <mbean code="org.jboss.ejb.txtimer.FixedDelayRetryPolicy" name="jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay">
+    <attribute name="Delay">100</attribute>
+  </mbean>
+
+  <!-- A persistence policy that does not persist the timers
+  <mbean code="org.jboss.ejb.txtimer.NoopPersistencePolicy" name="jboss.ejb:service=EJBTimerService,persistencePolicy=noop"/>
+  -->
+
+  <!--
+    A persistence policy that persists timers to a database.
+    
+    The 2 supported db persistence plugins are:
+      org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin
+      org.jboss.ejb.txtimer.OracleDatabasePersistencePlugin
+      
+    The table name defaults to "TIMERS". It can be overriden using the
+    'TimersTable' attribute if the persistence plugin supports it.
+    When overriding the timers table, an optional schema can be specified
+    using the syntax [schema.]table
+  -->
+  <mbean code="org.jboss.ejb.txtimer.DatabasePersistencePolicy" name="jboss.ejb:service=EJBTimerService,persistencePolicy=database">
+    <!-- DataSourceBinding ObjectName -->
+    <depends optional-attribute-name="DataSource">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
+    <!-- The plugin that handles database persistence -->
+    <attribute name="DatabasePersistencePlugin">org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin</attribute>
+    <!-- The timers table name -->
+    <attribute name="TimersTable">TIMERS</attribute>
+  </mbean>
+
+  <!-- ==================================================================== -->
+  <!-- EJB Deployer                                                         -->
+  <!-- ==================================================================== -->
+
+  <!-- EJB deployer, remove to disable EJB behavior-->
+  <mbean code="org.jboss.ejb.EJBDeployer" name="jboss.ejb:service=EJBDeployer" xmbean-dd="">
+  
+    <!-- Inline XMBean Descriptor BEGIN -->
+    <xmbean>
+      <description>The EJBDeployer responsible for ejb jar deployment</description>
+      <descriptors>
+        <interceptors>
+          <!-- comment out DynamicInterceptor to disable dynamic addition of interceptors -->
+          <interceptor code="org.jboss.mx.interceptor.DynamicInterceptor"/>
+        </interceptors>
+      </descriptors>
+      <class>org.jboss.ejb.EJBDeployer</class>
+
+      <!-- ServiceMBean attributes -->
+      <attribute access="read-only" getMethod="getName">
+        <description>The class name of the MBean</description>
+        <name>Name</name>
+        <type>java.lang.String</type>
+      </attribute>
+
+      <attribute access="read-only" getMethod="getState">
+        <description>The status of the MBean</description>
+        <name>State</name>
+        <type>int</type>
+      </attribute>
+
+      <attribute access="read-only" getMethod="getStateString">
+        <description>The status of the MBean in text form</description>
+        <name>StateString</name>
+        <type>java.lang.String</type>
+      </attribute>
+
+      <!-- SubDeployerMBean attributes -->
+      <attribute access="read-only" getMethod="getServiceName">
+         <description>The JMX ObjectName of the service that provides the SubDeployer</description>
+         <name>ServiceName</name>
+         <type>javax.management.ObjectName</type>
+      </attribute>
+      
+      <attribute access="read-only" getMethod="getSuffixes">
+         <description>An array of suffixes of interest to this subdeployer</description>
+         <name>Suffixes</name>
+         <type>[Ljava.lang.String;</type>
+      </attribute>
+      
+      <attribute access="read-only" getMethod="getRelativeOrder">
+         <description>The relative order of the specified suffixes</description>
+         <name>RelativeOrder</name>
+         <type>int</type>
+      </attribute>
+
+      <!-- SubDeployerExtMBean attribute -->
+      <attribute access="read-write" getMethod="getEnhancedSuffixes" setMethod="setEnhancedSuffixes">
+         <description>Allow the override of supported suffixes and relative order</description>
+         <name>EnhancedSuffixes</name>
+         <type>[Ljava.lang.String;</type>
+      </attribute>
+      
+      <!-- EJBDeployerMBean attributes -->
+      <attribute access="read-write" getMethod="getWebServiceName" setMethod="setWebServiceName">
+        <description>The dynamic class loading simple web server</description>
+        <name>WebServiceName</name>
+        <type>javax.management.ObjectName</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="getVerifyDeployments" setMethod="setVerifyDeployments">
+        <description>Control the bean verifier (on/off)</description>
+        <name>VerifyDeployments</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="getVerifierVerbose" setMethod="setVerifierVerbose">
+        <description>Control the verbose mode of the bean verifier</description>
+        <name>VerifierVerbose</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="getStrictVerifier" setMethod="setStrictVerifier">
+        <description>Control the strictness of the bean verifier</description>
+        <name>StrictVerifier</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="isCallByValue" setMethod="setCallByValue">
+        <description>Enable/disable call-by-value semantics</description>
+        <name>CallByValue</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="getValidateDTDs" setMethod="setValidateDTDs">
+        <description>Enable/disable the validation of deployment descriptors</description>
+        <name>ValidateDTDs</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="isMetricsEnabled" setMethod="setMetricsEnabled">
+        <description>Enable/disable the metrics interceptor for containers</description>
+        <name>MetricsEnabled</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="getTransactionManagerServiceName" setMethod="setTransactionManagerServiceName">
+        <description>The transaction manager service to use</description>
+        <name>TransactionManagerServiceName</name>
+        <type>javax.management.ObjectName</type>
+      </attribute>
+
+      <!-- EJBDeployerMBean operations -->
+      <operation>
+        <description>List the deployed applications</description>
+        <name>listDeployedApplications</name>
+        <return-type>java.util.Iterator</return-type>
+      </operation>
+
+      <!-- ServiceMBean operations -->
+      <operation>
+        <description>Standard MBean lifecycle method</description>
+        <name>create</name>
+      </operation>
+
+      <operation>
+        <description>The start lifecycle operation</description>
+        <name>start</name>
+      </operation>
+
+      <operation>
+        <description>The stop lifecycle operation</description>
+        <name>stop</name>
+      </operation>
+
+      <operation>
+        <description>The destroy lifecycle operation</description>
+        <name>destroy</name>
+      </operation>
+
+      <operation>
+        <description>The detyped lifecycle operation (for internal use only)</description>
+        <name>jbossInternalLifecycle</name>
+        <parameter>
+          <description>The lifecycle operation</description>
+          <name>method</name>
+          <type>java.lang.String</type>
+        </parameter>
+        <return-type>void</return-type>
+      </operation>
+
+      <!-- SubDeployerMBean operations -->
+      <operation>
+        <description>Accept a module for deployment</description>
+        <name>accepts</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+        <return-type>boolean</return-type>
+      </operation>
+
+      <operation>
+        <description>Initialize deployment step</description>
+        <name>init</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+      </operation>
+
+      <operation>
+        <description>Create deployment step</description>
+        <name>create</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+      </operation>
+
+      <operation>
+        <description>Start deployment step</description>
+        <name>start</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+      </operation>
+
+      <operation>
+        <description>Stop deployment step</description>
+        <name>stop</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+      </operation>
+
+      <operation>
+        <description>Destroy deployment step</description>
+        <name>destroy</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+      </operation>
+
+      <!-- Interceptable operations -->
+      <operation>
+        <description>Add dynamically an operation interceptor</description>
+        <name>addOperationInterceptor</name>
+        <parameter>
+          <description>The Interceptor</description>
+          <name>interceptor</name>
+          <type>org.jboss.mx.interceptor.Interceptor</type>
+        </parameter>
+      </operation>
+
+      <operation>
+        <description>Remove dynamically an operation interceptor</description>
+        <name>removeOperationInterceptor</name>
+        <parameter>
+          <description>The Interceptor</description>
+          <name>interceptor</name>
+          <type>org.jboss.mx.interceptor.Interceptor</type>
+        </parameter>
+      </operation>      
+    </xmbean>
+    <!-- Inline XMBean Descriptor END -->
+      
+    <!-- A flag indicating if the deployer should validate the
+    ejb-jar.xml/jboss.xml descriptors and components
+    -->
+    <attribute name="VerifyDeployments">true</attribute>
+    <!-- A flag indicating if the xml parser should validate the descriptor
+    DTDs
+    -->
+    <attribute name="ValidateDTDs">false</attribute>
+    <!-- A flag indicating if the verifier should be verbose about its
+    operation
+    -->
+    <attribute name="VerifierVerbose">true</attribute>
+    <!-- Setting this to 'true' will cause all deployments
+     to fail when the Verifier detected a problem with the contained
+     Beans. If false, warnings/errors will be logged but the deployment
+     will not fail.
+    -->
+    <attribute name="StrictVerifier">true</attribute>
+
+    <!-- The EJBDeployer needs the JTA transaction manager service -->
+    <depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
+    <!-- The dynamic class loading simple web server -->
+    <depends optional-attribute-name="WebServiceName">jboss:service=WebService</depends>
+    
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-clustered-sfsbcache-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-clustered-sfsbcache-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-clustered-sfsbcache-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+
+   <!-- ========================================================== -->
+   <!-- Clustered SFSB cache config for use with JBoss Cache 1.4.x --> 
+   <!-- ========================================================== -->
+   <mbean code="org.jboss.cache.TreeCache" 
+          name="jboss.cache:service=EJB3SFSBClusteredCache">
+        
+      <attribute name="ClusterName">${jboss.partition.name:DefaultPartition}-SFSBCache</attribute>
+      
+      <!--
+              Node locking level : SERIALIZABLE
+                                   REPEATABLE_READ (default)
+                                   READ_COMMITTED
+                                   READ_UNCOMMITTED
+                                   NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+      <!--     Valid modes are LOCAL
+                               REPL_ASYNC
+                               REPL_SYNC
+      -->
+      <attribute name="CacheMode">REPL_ASYNC</attribute>
+
+	  <!-- We want to activate/inactivate regions as beans are deployed -->
+      <attribute name="UseRegionBasedMarshalling">true</attribute>
+      <!-- Must match the value of "useRegionBasedMarshalling" -->
+      <attribute name="InactiveOnStartup">true</attribute>
+
+	  <!-- 
+	       JGroups protocol stack config in XML format.
+		   If your CacheMode is set to REPL_SYNC we recommend you comment
+           out the FC (flow control) protocol
+			 
+           On Windows machines, because of the media sense feature
+           being broken with multicast (even after disabling media sense)
+           set the UDP.loopback attribute to true
+	  -->     
+      <attribute name="ClusterConfig">
+         <config>
+            <UDP mcast_addr="${jboss.partition.udpGroup:229.1.2.3}" 
+             mcast_port="${jboss.ejb3sfsbpartition.mcast_port:45551}"
+             tos="8"
+             ucast_recv_buf_size="20000000"
+             ucast_send_buf_size="640000"
+             mcast_recv_buf_size="25000000"
+             mcast_send_buf_size="640000"
+             loopback="false"
+             discard_incompatible_packets="true"
+             enable_bundling="false"
+             max_bundle_size="64000"
+             max_bundle_timeout="30"
+             use_incoming_packet_handler="true"
+             use_outgoing_packet_handler="false"
+             ip_ttl="${jgroups.udp.ip_ttl:2}"
+             down_thread="false" up_thread="false"/>
+          <PING timeout="2000"
+             down_thread="false" up_thread="false" num_initial_members="3"/>
+          <MERGE2 max_interval="100000"
+             down_thread="false" up_thread="false" min_interval="20000"/>
+          <FD_SOCK down_thread="false" up_thread="false"/>
+          <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+          <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+          <pbcast.NAKACK max_xmit_size="60000"
+                   use_mcast_xmit="false" gc_lag="0"
+                   retransmit_timeout="300,600,1200,2400,4800"
+                   down_thread="false" up_thread="false"
+                   discard_delivered_msgs="true"/>
+          <UNICAST timeout="300,600,1200,2400,3600"
+             down_thread="false" up_thread="false"/>
+          <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                   down_thread="false" up_thread="false"
+                   max_bytes="400000"/>
+          <pbcast.GMS print_local_addr="true" join_timeout="3000"
+                   down_thread="false" up_thread="false"
+                   join_retry_timeout="2000" shun="true"
+                   view_bundling="true"
+                   view_ack_collection_timeout="5000"/>
+          <FC max_credits="2000000" down_thread="false" up_thread="false"
+              min_threshold="0.10"/>
+          <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
+          <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
+        </config>
+      </attribute>
+
+      <!--    The max amount of time (in milliseconds) we wait until the
+            initial state (ie. the contents of the cache) are retrieved from
+            existing members.
+      -->
+      <attribute name="InitialStateRetrievalTimeout">17500</attribute>
+
+      <!--    Number of milliseconds to wait until all responses for a
+              synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">17500</attribute>
+
+      <!--  Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+      <!--  Name of the eviction policy class. -->
+      <attribute name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+      <!--  Specific eviction policy configurations. -->
+      <attribute name="EvictionPolicyConfig">
+         <config>
+            <attribute name="wakeUpIntervalSeconds">5</attribute>
+            <name>statefulClustered</name>
+            <!-- So default region would never timeout -->
+            <region name="/_default_">
+               <attribute name="maxNodes">0</attribute>
+               <attribute name="timeToIdleSeconds">0</attribute>
+            </region>
+
+         </config>
+      </attribute>
+
+      <!-- Store passivated sessions to the file system -->
+      <attribute name="CacheLoaderConfiguration">
+          <config>
+              
+              <passivation>true</passivation>
+              <shared>false</shared>
+
+              <cacheloader>
+                  <class>org.jboss.cache.loader.FileCacheLoader</class>
+                  <!-- Passivate to the server data dir -->
+                  <properties>
+                       location=${jboss.server.data.dir}${/}sfsb 
+                  </properties>
+                  <async>false</async>
+                  <fetchPersistentState>true</fetchPersistentState>
+                  <ignoreModifications>false</ignoreModifications>
+              </cacheloader>
+
+          </config>
+      </attribute>
+   </mbean>
+
+</server>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-entity-cache-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-entity-cache-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-entity-cache-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+
+   <!-- ============================================================ -->
+   <!-- Clustered entity cache config for use with JBoss Cache 1.4.x --> 
+   <!-- ============================================================ -->
+   <mbean code="org.jboss.cache.TreeCache" 
+         name="jboss.cache:service=EJB3EntityTreeCache">
+         
+    <depends>jboss:service=Naming</depends>
+    <depends>jboss:service=TransactionManager</depends>
+    
+    <!-- Name of cluster. Needs to be the same on all nodes in the clusters, 
+         in order to find each other -->
+    <attribute name="ClusterName">${jboss.partition.name:DefaultPartition}-EntityCache</attribute>
+        
+    <!-- Configure the TransactionManager -->
+    <attribute name="TransactionManagerLookupClass">org.jboss.cache.JBossTransactionManagerLookup</attribute>
+
+    <!--
+            Node locking level : SERIALIZABLE
+                                 REPEATABLE_READ (default)
+                                 READ_COMMITTED
+                                 READ_UNCOMMITTED
+                                 NONE
+    -->
+    <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+    <!--     Valid modes are LOCAL
+                             REPL_ASYNC
+                             REPL_SYNC
+    -->
+    <attribute name="CacheMode">REPL_SYNC</attribute>
+      
+      <!-- Must be true if any entity deployment uses a scoped classloader -->
+      <attribute name="UseRegionBasedMarshalling">true</attribute>
+      <!-- Must match the value of "useRegionBasedMarshalling" -->
+      <attribute name="InactiveOnStartup">true</attribute>
+
+	  <!-- 
+	        JGroups protocol stack config in XML format.
+		    
+		    On Windows machines, because of the media sense feature
+            being broken with multicast (even after disabling media sense)
+            set the UDP.loopback attribute to true
+      -->     
+      <attribute name="ClusterConfig">
+         <config>
+            <UDP mcast_addr="${jboss.partition.udpGroup:230.1.2.3}" 
+                 mcast_port="${jboss.ejb3entitypartition.mcast_port:43333}"
+                 tos="8"
+                 ucast_recv_buf_size="20000000"
+                 ucast_send_buf_size="640000"
+                 mcast_recv_buf_size="25000000"
+                 mcast_send_buf_size="640000"
+                 loopback="false"
+                 discard_incompatible_packets="true"
+                 enable_bundling="false"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 use_outgoing_packet_handler="false"
+                 ip_ttl="${jgroups.udp.ip_ttl:2}"
+                 down_thread="false" up_thread="false"/>
+            <PING timeout="2000"
+                  down_thread="false" up_thread="false" num_initial_members="3"/>
+            <MERGE2 max_interval="100000"
+                    down_thread="false" up_thread="false" min_interval="20000"/>
+            <FD_SOCK down_thread="false" up_thread="false"/>
+            <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                    use_mcast_xmit="false" gc_lag="0"
+                    retransmit_timeout="300,600,1200,2400,4800"
+                    down_thread="false" up_thread="false"
+                    discard_delivered_msgs="true"/>
+            <UNICAST timeout="300,600,1200,2400,3600"
+                    down_thread="false" up_thread="false"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                    down_thread="false" up_thread="false"
+                    max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="3000"
+                    down_thread="false" up_thread="false"
+                    join_retry_timeout="2000" shun="true"
+                    view_bundling="true"/>
+            <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
+            <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
+        </config>
+      </attribute>
+
+    <!--    The max amount of time (in milliseconds) we wait until the
+            initial state (ie. the contents of the cache) are retrieved from
+            existing members.
+    -->
+    <attribute name="InitialStateRetrievalTimeout">17500</attribute>
+
+    <!--    Number of milliseconds to wait until all responses for a
+            synchronous call have been received.
+    -->
+    <attribute name="SyncReplTimeout">17500</attribute>
+
+    <!--  Max number of milliseconds to wait for a lock acquisition -->
+    <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+    <!--  Name of the eviction policy class. -->
+    <attribute name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+    <!--  Specific eviction policy configurations. This is LRU -->
+    <attribute name="EvictionPolicyConfig">
+      <config>
+        <attribute name="wakeUpIntervalSeconds">5</attribute>
+        <!--  Cache wide default -->
+        <region name="/_default_">
+         <attribute name="maxNodes">5000</attribute>
+         <attribute name="timeToLiveSeconds">1000</attribute>
+       </region>
+      </config>
+    </attribute>
+
+  </mbean>
+
+</server>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-interceptors-aop.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-interceptors-aop.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3-interceptors-aop.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,365 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE aop PUBLIC
+   "-//JBoss//DTD JBOSS AOP 1.0//EN"
+   "http://labs.jboss.com/portal/jbossaop/dtd/jboss-aop_1_0.dtd">
+
+<aop>
+   <interceptor class="org.jboss.aspects.remoting.InvokeRemoteInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.aspects.security.SecurityClientInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.aspects.tx.ClientTxPropagationInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.remoting.IsLocalInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.aspects.remoting.ClusterChooserInterceptor" scope="PER_VM"/>
+
+   <interceptor class="org.jboss.aspects.tx.TxPropagationInterceptor" scope="PER_VM"/>
+
+   <stack name="ServiceClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="AsynchronousStatelessSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="AsynchronousStatefulSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="StatelessSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="StatefulSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="ClusteredStatelessSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="ClusteredStatefulSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <interceptor class="org.jboss.ejb3.asynchronous.AsynchronousInterceptor" scope="PER_CLASS"/>
+   <interceptor class="org.jboss.ejb3.ENCPropagationInterceptor" scope="PER_VM"/>
+   <interceptor name="Basic Authorization" factory="org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor name="JACC Authorization" factory="org.jboss.ejb3.security.JaccAuthorizationInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor factory="org.jboss.ejb3.security.AuthenticationInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor factory="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor class="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.stateless.StatelessInstanceInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.stateful.StatefulInstanceInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.service.ServiceSingletonInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.cache.StatefulReplicationInterceptor" scope="PER_VM"/>
+   <interceptor factory="org.jboss.ejb3.stateful.StatefulRemoveFactory" scope="PER_CLASS_JOINPOINT"/>
+   <interceptor factory="org.jboss.ejb3.tx.TxInterceptorFactory" scope="PER_CLASS_JOINPOINT"/>
+   <interceptor factory="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory" scope="PER_CLASS_JOINPOINT"/>
+   <interceptor factory="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor class="org.jboss.ejb3.AllowedOperationsInterceptor" scope="PER_VM"/>
+   <interceptor factory="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor class="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor" scope="PER_VM"/>
+
+   <domain name="Stateless Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="Basic Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+      </annotation>
+   </domain>
+
+   <domain name="JACC Stateless Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="JACC Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+      </annotation>
+   </domain>
+
+   <domain name="Base Stateful Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="Basic Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
+      </bind>
+
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))">
+         <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
+      </bind>
+
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+      </annotation>
+   </domain>
+
+   <domain name="Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
+      <!-- NON Clustered cache configuration -->
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.simple.SimpleStatefulCache.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.PersistenceManager) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.simple.PersistenceManager (org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.CacheConfig) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
+      </annotation>
+
+      <!-- Clustered cache configuration -->
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.tree.StatefulTreeCache.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.tree.CacheConfig) AND class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.tree.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
+      </annotation>
+   </domain>
+
+   <domain name="JACC Stateful Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="JACC Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))">
+         <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
+      </bind>
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+      </annotation>
+
+      <!-- NON Clustered cache configuration -->
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.simple.SimpleStatefulCache.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.PersistenceManager) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.simple.PersistenceManager (org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.CacheConfig) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
+      </annotation>
+
+      <!-- Clustered cache configuration -->
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.tree.StatefulTreeCache.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.tree.CacheConfig) AND class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.tree.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
+      </annotation>
+   </domain>
+
+   <domain name="Embedded Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
+      <!-- NON Clustered cache configuration -->
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache)">
+         @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.NoPassivationCache.class)
+      </annotation>
+
+   </domain>
+
+   <domain name="Message Driven Bean">
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=15, timeout=10000)
+      </annotation>
+   </domain>
+
+   <domain name="Consumer Bean">
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..)) AND (has(* *->@org.jboss.annotation.ejb.CurrentMessage(..)) OR hasfield(* *->@org.jboss.annotation.ejb.CurrentMessage))">
+         <interceptor-ref name="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=15, timeout=10000)
+      </annotation>
+   </domain>
+
+   <domain name="Service Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+      </bind>
+      <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="Basic Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())">
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+   </domain>
+
+   <domain name="JACC Service Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+      </bind>
+      <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="Basic Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())">
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+   </domain>
+
+
+</aop>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,312 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   JBoss EJB3Deployer
+   
+   $Id: jboss-service.xml 63100 2007-05-16 18:02:32Z bdecoste $
+-->
+<server>
+
+   <mbean code="org.jboss.remoting.transport.Connector"
+          name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>
+      <attribute name="Configuration">
+         <handlers>
+            <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
+         </handlers>
+      </attribute>
+   </mbean>
+   
+   <!-- The following is sample configuration for modifying the Connector 
+   <mbean code="org.jboss.remoting.transport.Connector"
+          name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <attribute name="Configuration">
+         <config>
+            <invoker transport="socket">
+               <attribute name="numAcceptThreads">1</attribute>
+               <attribute name="maxPoolSize">300</attribute>
+               <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
+               <attribute name="timeout" isParam="true">60000</attribute>
+               <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
+               <attribute name="serverBindPort">3873</attribute>
+               <attribute name="backlog">200</attribute>
+            </invoker>
+            <handlers>
+               <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
+            </handlers>
+         </config>
+      </attribute>
+   </mbean-->
+
+   <mbean code="org.jboss.ejb3.JarsIgnoredForScanning" name="jboss.ejb3:service=JarsIgnoredForScanning">
+      <attribute name="IgnoredJars">
+         snmp-adaptor.jar,
+         otherimages.jar,
+         applet.jar,
+         jcommon.jar,
+         console-mgr-classes.jar,
+         jfreechart.jar,
+         juddi-service.jar,
+         wsdl4j.jar,
+         commons-collections.jar,
+         commons-pool.jar,
+         juddi.jar,
+         commons-discovery.jar,
+         uddi4j.jar,
+         axis.jar,
+         commons-dbcp.jar,
+         jboss-juddiaxis.jar,
+         trove.jar,
+         javassist.jar,
+         jboss-aop-jdk50.jar,
+         jboss-aspect-library-jdk50.jar,
+         ejb3-persistence.jar,
+         commons-validator-1.1.3.jar,
+         commons-collections.jar,
+         commons-fileupload.jar,
+         commons-pool.jar,
+         hibernate-entitymanager.jar,
+         jboss-ejb3x.jar,
+         commons-digester-1.6.jar,
+         cglib-2.1.1.jar,
+         commons-discovery.jar,
+         jboss-annotations-ejb3.jar,
+         jaxen-1.1-beta-4.jar,
+         hibernate-annotations.jar,
+         commons-httpclient.jar,
+         commons-logging.jar,
+         commons-vfs.jar,
+         hibernate3.jar,
+         commons-logging-api.jar,
+         asm.jar,
+         asm-attrs.jar,
+         commons-lang-2.0.jar,
+         commons-beanutils.jar,
+         jboss-ejb3.jar,
+         dom4j.jar,
+         commons-codec-1.2.jar,
+         wsdl4j.jar,
+         xmlsec.jar,
+         jbossws.jar,
+         jboss-bean-deployer.jar,
+         jboss-microcontainer.jar,
+         jboss-dependency.jar,
+         jboss-container.jar,
+         tomcat-coyote.jar,
+         commons-collections.jar,
+         myfaces.jar,
+         jstl.jar,
+         commons-digester-1.6.jar,
+         myfaces-impl.jar,
+         commons-beanutils.jar,
+         myfaces-jsf-api.jar,
+         commons-codec-1.2.jar,
+         catalina-optional.jar,
+         tomcat-util.jar,
+         jasper-compiler.jar,
+         commons-el.jar,
+         jasper-compiler-jdt.jar,
+         tomcat-http.jar,
+         catalina-manager.jar,
+         jasper-runtime.jar,
+         tomcat55-service.jar,
+         servlets-invoker.jar,
+         catalina.jar,
+         naming-resources.jar,
+         servlets-default.jar,
+         tomcat-ajp.jar,
+         commons-modeler.jar,
+         tomcat-apr.jar,
+         servlets-webdav.jar
+      </attribute>
+   </mbean>
+
+   <mbean code="org.jboss.ejb3.EJB3Deployer" name="jboss.ejb3:service=EJB3Deployer" xmbean-dd="">
+
+      <attribute name="DeployEjb3ExtensionOnly">false</attribute>
+
+      <!-- Inline XMBean Descriptor BEGIN -->
+      <xmbean>
+         <description>The EJB3Deployer responsible for ejb3 deployment</description>
+         <descriptors>
+            <interceptors>
+               <!-- comment out DynamicInterceptor to disable dynamic addition of interceptors -->
+               <interceptor code="org.jboss.mx.interceptor.DynamicInterceptor"/>
+            </interceptors>
+         </descriptors>
+         <class>org.jboss.ejb3.EJB3Deployer</class>
+
+         <!-- ServiceMBean attributes -->
+         <attribute access="read-only" getMethod="getName">
+            <description>The class name of the MBean</description>
+            <name>Name</name>
+            <type>java.lang.String</type>
+         </attribute>
+
+         <attribute access="read-only" getMethod="getState">
+            <description>The status of the MBean</description>
+            <name>State</name>
+            <type>int</type>
+         </attribute>
+
+         <attribute access="read-only" getMethod="getStateString">
+            <description>The status of the MBean in text form</description>
+            <name>StateString</name>
+            <type>java.lang.String</type>
+         </attribute>
+
+         <!-- SubDeployerMBean attributes -->
+         <attribute access="read-only" getMethod="getServiceName">
+            <description>The ObjectName of the Subdeployer</description>
+            <name>ServiceName</name>
+            <type>javax.management.ObjectName</type>
+         </attribute>
+
+         <attribute access="read-write" getMethod="getSuffixes" setMethod="setSuffixes">
+            <description>The suffixes of interest to this deployer</description>
+            <name>Suffixes</name>
+            <type>[Ljava.lang.String;</type>
+         </attribute>
+
+         <attribute access="read-write" getMethod="getRelativeOrder" setMethod="setRelativeOrder">
+            <description>The relative order of the suffixes in the global suffixes list</description>
+            <name>RelativeOrder</name>
+            <type>int</type>
+         </attribute>
+
+         <!-- EJB3DeployerMBean attributes -->
+         <attribute access="read-only" getMethod="getDefaultProperties">
+            <name>DefaultProperties</name>
+            <type>java.util.Properties</type>
+         </attribute>
+
+         <attribute access="read-write" getMethod="getDeployEjb3ExtensionOnly" setMethod="setDeployEjb3ExtensionOnly">
+            <description>If true, .jars will not be examined for annotations, 3.0 descriptors</description>
+            <name>DeployEjb3ExtensionOnly</name>
+            <type>boolean</type>
+         </attribute>
+
+         <attribute access="write-only" setMethod="setJarsIgnoredForScanning">
+            <description>mbean that has list of jars to ignore</description>
+            <name>JarsIgnoredForScanning</name>
+            <type>org.jboss.ejb3.JarsIgnoredForScanningMBean</type>
+         </attribute>
+
+         <!-- ServiceMBean operations -->
+         <operation>
+            <description>Standard MBean lifecycle method</description>
+            <name>create</name>
+         </operation>
+
+         <operation>
+            <description>The start lifecycle operation</description>
+            <name>start</name>
+         </operation>
+
+         <operation>
+            <description>The stop lifecycle operation</description>
+            <name>stop</name>
+         </operation>
+
+         <operation>
+            <description>The destroy lifecycle operation</description>
+            <name>destroy</name>
+         </operation>
+
+         <operation>
+            <description>The detyped lifecycle operation (for internal use only)</description>
+            <name>jbossInternalLifecycle</name>
+            <parameter>
+               <description>The lifecycle operation</description>
+               <name>method</name>
+               <type>java.lang.String</type>
+            </parameter>
+            <return-type>void</return-type>
+         </operation>
+
+         <!-- SubDeployerMBean operations -->
+         <operation>
+            <description>Accept a module for deployment</description>
+            <name>accepts</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+            <return-type>boolean</return-type>
+         </operation>
+
+         <operation>
+            <description>Initialize deployment step</description>
+            <name>init</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Create deployment step</description>
+            <name>create</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Start deployment step</description>
+            <name>start</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Stop deployment step</description>
+            <name>stop</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Destroy deployment step</description>
+            <name>destroy</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <!-- Interceptable operations -->
+         <operation>
+            <description>Add dynamically an operation interceptor</description>
+            <name>addOperationInterceptor</name>
+            <parameter>
+               <description>The Interceptor</description>
+               <name>interceptor</name>
+               <type>org.jboss.mx.interceptor.Interceptor</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Remove dynamically an operation interceptor</description>
+            <name>removeOperationInterceptor</name>
+            <parameter>
+               <description>The Interceptor</description>
+               <name>interceptor</name>
+               <type>org.jboss.mx.interceptor.Interceptor</type>
+            </parameter>
+         </operation>
+      </xmbean>
+      <!-- Inline XMBean Descriptor END -->
+
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <depends>jboss.ejb:service=EJBDeployer</depends>
+      <depends optional-attribute-name="JarsIgnoredForScanning" proxy-type="org.jboss.ejb3.JarsIgnoredForScanningMBean">jboss.ejb3:service=JarsIgnoredForScanning</depends>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/META-INF/persistence.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/META-INF/persistence.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/META-INF/persistence.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
+#hibernate.connection.release_mode=after_statement
+#hibernate.transaction.flush_before_completion=false
+#hibernate.transaction.auto_close_session=false
+#hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory
+#hibernate.hbm2ddl.auto=create-drop
+#hibernate.hbm2ddl.auto=create
+hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
+# Clustered cache with TreeCache
+#hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook
+#hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache
+#hibernate.dialect=org.hibernate.dialect.HSQLDialect
+hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+hibernate.bytecode.use_reflection_optimizer=false
+# I don't think this is honored, but EJB3Deployer uses it
+hibernate.bytecode.provider=javassist
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/jboss-annotations-ejb3.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/jboss-annotations-ejb3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/jboss-ejb3.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/ejb3.deployer/jboss-ejb3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/hsqldb-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/hsqldb-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/hsqldb-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- The Hypersonic embedded database JCA connection factory config -->
+
+<!-- $Id: hsqldb-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+<datasources>
+   <local-tx-datasource>
+
+      <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
+      <!-- Datasources are not available outside the virtual machine -->
+      <jndi-name>DefaultDS</jndi-name>
+
+      <!-- For server mode db, allowing other processes to use hsqldb over tcp.
+      This requires the org.jboss.jdbc.HypersonicDatabase mbean.
+      <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
+      -->
+      <!-- For totally in-memory db, not saved when jboss stops. 
+      The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
+      <connection-url>jdbc:hsqldb:.</connection-url>
+      -->
+      <!-- For in-process persistent db, saved when jboss stops.
+      The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
+      -->
+      <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url>
+
+      <!-- The driver class -->
+      <driver-class>org.hsqldb.jdbcDriver</driver-class>
+
+      <!-- The login and password -->
+      <user-name>sa</user-name>
+      <password></password>
+
+      <!--example of how to specify class that determines if exception means connection should be destroyed-->
+      <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
+
+      <!-- this will be run before a managed connection is removed from the pool for use by a client-->
+      <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
+
+      <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
+      <min-pool-size>5</min-pool-size>
+
+      <!-- The maximum connections in a pool/sub-pool -->
+      <max-pool-size>20</max-pool-size>
+
+      <!-- The time before an unused connection is destroyed -->
+      <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
+      <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
+      <idle-timeout-minutes>0</idle-timeout-minutes>
+
+      <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+      -->
+
+      <!-- sql to call on an existing pooled connection when it is obtained from pool 
+         <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+      -->
+
+      <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
+         <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
+      -->
+
+      <!-- Whether to check all statements are closed when the connection is returned to the pool,
+           this is a debugging feature that should be turned off in production -->
+      <track-statements/>
+
+      <!-- Use the getConnection(user, pw) for logins
+        <application-managed-security/>
+      -->
+
+      <!-- Use the security domain defined in conf/login-config.xml -->
+      <security-domain>HsqlDbRealm</security-domain>
+
+      <!-- Use the security domain defined in conf/login-config.xml or the
+           getConnection(user, pw) for logins. The security domain takes precedence.
+        <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
+      -->
+
+      <!-- HSQL DB benefits from prepared statement caching -->
+      <prepared-statement-cache-size>32</prepared-statement-cache-size>
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>Hypersonic SQL</type-mapping>
+      </metadata>
+
+      <!-- When using in-process (standalone) mode -->
+      <depends>jboss:service=Hypersonic,database=localDB</depends>
+      <!-- Uncomment when using hsqldb in server mode
+      <depends>jboss:service=Hypersonic</depends>
+      -->
+   </local-tx-datasource>
+
+   <!-- Uncomment if you want hsqldb accessed over tcp (server mode)
+   <mbean code="org.jboss.jdbc.HypersonicDatabase" 
+     name="jboss:service=Hypersonic">
+     <attribute name="Port">1701</attribute>
+     <attribute name="BindAddress">${jboss.bind.address}</attribute>     
+     <attribute name="Silent">true</attribute>
+     <attribute name="Database">default</attribute>
+     <attribute name="Trace">false</attribute>
+     <attribute name="No_system_exit">true</attribute>
+   </mbean>
+   -->
+
+   <!-- For hsqldb accessed from jboss only, in-process (standalone) mode --> 
+   <mbean code="org.jboss.jdbc.HypersonicDatabase" 
+     name="jboss:service=Hypersonic,database=localDB">
+     <attribute name="Database">localDB</attribute>
+     <attribute name="InProcessMode">true</attribute>
+   </mbean>
+   
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server>
+<!-- $Id: jboss-service.xml 35473 2005-08-30 17:38:39Z jmoran $ -->
+
+<server>
+
+  <!-- The HTTP invoker service configration
+  -->
+  <mbean code="org.jboss.invocation.http.server.HttpInvoker"
+    name="jboss:service=invoker,type=http">
+     <!-- Use a URL of the form http://<hostname>:8080/invoker/EJBInvokerServlet
+      where <hostname> is InetAddress.getHostname value on which the server
+      is running.
+      -->
+     <attribute name="InvokerURLPrefix">http://</attribute>
+     <attribute name="InvokerURLSuffix">:8080/invoker/EJBInvokerServlet</attribute>
+     <attribute name="UseHostName">true</attribute>
+  </mbean>
+
+  <mbean code="org.jboss.invocation.http.server.HttpInvokerHA"
+    name="jboss:service=invoker,type=httpHA">
+     <!-- Use a URL of the form http://<hostname>:8080/invoker/EJBInvokerHAServlet
+      where <hostname> is InetAddress.getHostname value on which the server
+      is running.
+      -->
+     <attribute name="InvokerURLPrefix">http://</attribute>
+     <attribute name="InvokerURLSuffix">:8080/invoker/EJBInvokerHAServlet</attribute>
+     <attribute name="UseHostName">true</attribute>
+  </mbean>
+
+   <!-- Expose the Naming service interface via HTTP -->
+   <mbean code="org.jboss.invocation.http.server.HttpProxyFactory"
+      name="jboss:service=invoker,type=http,target=Naming">
+      <!-- The Naming service we are proxying -->
+      <attribute name="InvokerName">jboss:service=Naming</attribute>
+      <!-- Compose the invoker URL from the cluster node address -->
+      <attribute name="InvokerURLPrefix">http://</attribute>
+      <attribute name="InvokerURLSuffix">:8080/invoker/JMXInvokerServlet</attribute>
+      <attribute name="UseHostName">true</attribute>
+      <attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
+      <attribute name="JndiName"></attribute>
+      <attribute name="ClientInterceptors">
+          <interceptors>
+             <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+             <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+             <interceptor>org.jboss.naming.interceptors.ExceptionInterceptor</interceptor>
+             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+          </interceptors>
+      </attribute>
+   </mbean>
+
+   <!-- Expose the Naming service interface via clustered HTTP. This maps
+   to the ReadOnlyJNDIFactory servlet URL
+   -->
+   <mbean code="org.jboss.invocation.http.server.HttpProxyFactory"
+      name="jboss:service=invoker,type=http,target=Naming,readonly=true">
+      <attribute name="InvokerName">jboss:service=Naming</attribute>
+      <attribute name="InvokerURLPrefix">http://</attribute>
+      <attribute name="InvokerURLSuffix">:8080/invoker/readonly/JMXInvokerServlet</attribute>
+      <attribute name="UseHostName">true</attribute>
+      <attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
+      <attribute name="JndiName"></attribute>
+      <attribute name="ClientInterceptors">
+          <interceptors>
+             <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+             <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+             <interceptor>org.jboss.naming.interceptors.ExceptionInterceptor</interceptor>
+             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+          </interceptors>
+      </attribute>
+   </mbean>
+
+   <!-- Expose the HA Naming service interface via HTTP -->
+   <mbean code="org.jboss.invocation.http.server.HttpProxyFactory"
+      name="jboss:service=invoker,type=http,target=HAJNDI">
+      <!-- The Naming service we are proxying -->
+      <attribute name="InvokerName">jboss:service=HAJNDI</attribute>
+      <!-- Compose the invoker URL from the cluster node address -->
+      <attribute name="InvokerURLPrefix">http://</attribute>
+      <attribute name="InvokerURLSuffix">:8080/invoker/JMXInvokerHAServlet</attribute>
+      <attribute name="UseHostName">true</attribute>
+      <attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
+      <attribute name="JndiName"></attribute>
+      <attribute name="ClientInterceptors">
+          <interceptors>
+             <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+             <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+             <interceptor>org.jboss.naming.interceptors.ExceptionInterceptor</interceptor>
+             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+          </interceptors>
+      </attribute>
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetCredentialAction.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetCredentialAction.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetPrincipalAction.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetPrincipalAction.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/NamingFactoryServlet.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/NamingFactoryServlet.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+<jboss-web>
+   <security-domain>java:/jaas/jmx-console</security-domain>
+</jboss-web>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/httpha-invoker.sar/invoker.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,221 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE web-app PUBLIC
+   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+   "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<!-- The http-invoker.sar/invoker.war web.xml descriptor
+$Id: web.xml 26201 2004-11-29 16:50:29Z starksm $
+-->
+<web-app>
+    <filter>
+      <filter-name>ReadOnlyAccessFilter</filter-name>
+      <filter-class>org.jboss.invocation.http.servlet.ReadOnlyAccessFilter</filter-class>
+      <init-param>
+         <param-name>readOnlyContext</param-name>
+         <param-value>readonly</param-value>
+         <description>The top level JNDI context the filter will enforce
+         read-only access on. If specified only Context.lookup operations
+         will be allowed on this context. Another other operations or lookups
+         on any other context will fail. Do not associate this filter with the
+         JMXInvokerServlets if you want unrestricted access.
+         </description>
+      </init-param>
+      <init-param>
+         <param-name>invokerName</param-name>
+         <param-value>jboss:service=Naming</param-value>
+         <description>The JMX ObjectName of the naming service mbean
+         </description>
+      </init-param>
+    </filter>
+
+    <filter-mapping>
+      <filter-name>ReadOnlyAccessFilter</filter-name>
+      <url-pattern>/readonly/*</url-pattern>
+    </filter-mapping>
+
+<!-- ### Servlets -->
+    <servlet>
+        <servlet-name>EJBInvokerServlet</servlet-name>
+        <description>The EJBInvokerServlet receives posts containing serlized
+        MarshalledInvocation objects that are routed to the EJB invoker given by
+        the invokerName init-param. The return content is a serialized
+        MarshalledValue containg the return value of the inovocation, or any
+        exception that may have been thrown.
+        </description>
+        <servlet-class>org.jboss.invocation.http.servlet.InvokerServlet</servlet-class>
+        <init-param>
+            <param-name>invokerName</param-name>
+            <param-value>jboss:service=invoker,type=http</param-value>
+            <description>The RMI/HTTP EJB compatible invoker</description>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+    <servlet>
+        <servlet-name>EJBInvokerHAServlet</servlet-name>
+        <description>The EJBInvokerHAServlet receives posts containing serlized
+        MarshalledInvocation objects that are routed to the EJB invoker given by
+        the invokerName init-param. The return content is a serialized
+        MarshalledValue containg the return value of the inovocation, or any
+        exception that may have been thrown.
+        </description>
+        <servlet-class>org.jboss.invocation.http.servlet.InvokerServlet</servlet-class>
+        <init-param>
+            <param-name>invokerName</param-name>
+            <param-value>jboss:service=invoker,type=httpHA</param-value>
+           <description>The HA-RMI/HTTP EJB compatible invoker</description>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+   <servlet>
+       <servlet-name>JMXInvokerServlet</servlet-name>
+       <description>The JMXInvokerServlet receives posts containing serlized
+       MarshalledInvocation objects that are routed to the invoker given by
+       the the MBean whose object name hash is specified by the
+       invocation.getObjectName() value. The return content is a serialized
+       MarshalledValue containg the return value of the inovocation, or any
+       exception that may have been thrown.
+       </description>
+       <servlet-class>org.jboss.invocation.http.servlet.InvokerServlet</servlet-class>
+       <load-on-startup>1</load-on-startup>
+   </servlet>
+
+    <servlet>
+        <servlet-name>JNDIFactory</servlet-name>
+        <description>A servlet that exposes the JBoss JNDI Naming service stub
+        through http. The return content is a serialized
+        MarshalledValue containg the org.jnp.interfaces.Naming stub. This
+        configuration handles requests for the standard JNDI naming service.
+        </description>
+        <servlet-class>org.jboss.invocation.http.servlet.NamingFactoryServlet</servlet-class>
+        <init-param>
+            <param-name>namingProxyMBean</param-name>
+            <param-value>jboss:service=invoker,type=http,target=Naming</param-value>
+        </init-param>
+      <init-param>
+         <param-name>proxyAttribute</param-name>
+         <param-value>Proxy</param-value>
+      </init-param>
+      <load-on-startup>2</load-on-startup>
+    </servlet>
+
+   <servlet>
+       <servlet-name>HAJNDIFactory</servlet-name>
+       <description>A servlet that exposes the JBoss JNDI Naming service stub
+       through http, but only for a single read-only context. The return content
+       is a serialized MarshalledValue containg the org.jnp.interfaces.Naming
+       stub.
+       </description>
+       <servlet-class>org.jboss.invocation.http.servlet.NamingFactoryServlet</servlet-class>
+      <init-param>
+          <param-name>namingProxyMBean</param-name>
+          <param-value>jboss:service=invoker,type=http,target=HAJNDI</param-value>
+      </init-param>
+      <init-param>
+         <param-name>proxyAttribute</param-name>
+         <param-value>Proxy</param-value>
+      </init-param>
+       <load-on-startup>2</load-on-startup>
+   </servlet>
+
+   <servlet>
+       <servlet-name>ReadOnlyJNDIFactory</servlet-name>
+       <description>A servlet that exposes the JBoss JNDI Naming service stub
+       through http, but only for a single read-only context. The return content
+       is a serialized MarshalledValue containg the org.jnp.interfaces.Naming
+       stub.
+       </description>
+       <servlet-class>org.jboss.invocation.http.servlet.NamingFactoryServlet</servlet-class>
+      <init-param>
+          <param-name>namingProxyMBean</param-name>
+          <param-value>jboss:service=invoker,type=http,target=Naming,readonly=true</param-value>
+      </init-param>
+      <init-param>
+         <param-name>proxyAttribute</param-name>
+         <param-value>Proxy</param-value>
+      </init-param>
+       <load-on-startup>2</load-on-startup>
+   </servlet>
+
+<!-- ### Servlet Mappings -->
+    <servlet-mapping>
+        <servlet-name>JNDIFactory</servlet-name>
+        <url-pattern>/JNDIFactory/*</url-pattern>
+    </servlet-mapping>
+   <servlet-mapping>
+       <servlet-name>HAJNDIFactory</servlet-name>
+       <url-pattern>/HAJNDIFactory/*</url-pattern>
+   </servlet-mapping>
+    <!-- A mapping for the NamingFactoryServlet that only allows invocations
+    of lookups under a read-only context. This is enforced by the
+    ReadOnlyAccessFilter
+    -->
+    <servlet-mapping>
+        <servlet-name>ReadOnlyJNDIFactory</servlet-name>
+        <url-pattern>/ReadOnlyJNDIFactory/*</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>EJBInvokerServlet</servlet-name>
+        <url-pattern>/EJBInvokerServlet/*</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+       <servlet-name>EJBInvokerHAServlet</servlet-name>
+       <url-pattern>/EJBInvokerHAServlet/*</url-pattern>
+    </servlet-mapping>
+   <servlet-mapping>
+       <servlet-name>JMXInvokerServlet</servlet-name>
+       <url-pattern>/JMXInvokerServlet/*</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+       <servlet-name>JMXInvokerServlet</servlet-name>
+       <url-pattern>/JMXInvokerHAServlet/*</url-pattern>
+   </servlet-mapping>
+    <!-- A mapping for the JMXInvokerServlet that only allows invocations
+    of lookups under a read-only context. This is enforced by the
+    ReadOnlyAccessFilter
+    -->
+    <servlet-mapping>
+        <servlet-name>JMXInvokerServlet</servlet-name>
+        <url-pattern>/readonly/JMXInvokerServlet/*</url-pattern>
+    </servlet-mapping>
+
+    <!-- Alternate mappings that place the servlets under the restricted
+    path to required authentication for access. Remove the unsecure mappings
+    if only authenticated users should be allowed.
+    -->
+    <servlet-mapping>
+        <servlet-name>JNDIFactory</servlet-name>
+        <url-pattern>/restricted/JNDIFactory/*</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>JMXInvokerServlet</servlet-name>
+        <url-pattern>/restricted/JMXInvokerServlet/*</url-pattern>
+    </servlet-mapping>
+
+   <!-- An example security constraint that restricts access to the HTTP invoker
+   to users with the role HttpInvoker Edit the roles to what you want and
+   configure the WEB-INF/jboss-web.xml/security-domain element to reference
+   the security domain you want.
+   -->
+   <security-constraint>
+      <web-resource-collection>
+         <web-resource-name>HttpInvokers</web-resource-name>
+         <description>An example security config that only allows users with the
+            role HttpInvoker to access the HTTP invoker servlets
+         </description>
+         <url-pattern>/restricted/*</url-pattern>
+         <http-method>GET</http-method>
+         <http-method>POST</http-method>
+      </web-resource-collection>
+      <auth-constraint>
+         <role-name>HttpInvoker</role-name>
+      </auth-constraint>
+   </security-constraint>
+   <login-config>
+      <auth-method>BASIC</auth-method>
+      <realm-name>JBoss HTTP Invoker</realm-name>
+   </login-config>
+
+   <security-role>
+      <role-name>HttpInvoker</role-name>
+   </security-role>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/iiop-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/iiop-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/iiop-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: iiop-service.xml 44802 2006-05-11 06:26:47Z starksm $ -->
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss RMI/IIOP Configuration                                         -->
+<!--                                                                       -->
+<!--  IIOP over SSL is disabled by default. To enable it, uncomment        -->
+<!--  the JaasSecurityDomain MBean, as well as the SecurityDomain          -->
+<!--  attribute and the depends element of the CorbaORBService MBean.      -->
+<!--  You will also need to edit the jacorb.properties file in the conf    -->
+<!--  dir and set to "on" the property jacorb.security.support_ssl.        -->
+<!--                                                                       -->
+<!--  Transaction demarcation over IIOP is enabled by defaut. To disable   -->
+<!--  it, comment out the TxServerInterceptorInitializer in the            -->
+<!--  CorbaORBService MBean, as well as the CorbaTransactionService        -->
+<!--  MBean. You will also need to comment out (or set to false) the       -->
+<!--  attibute GlobalIdsEnabled of the TransactionManagerService MBean     -->
+<!--  (in file conf/jboss-service.xml).                                    --> 
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- IIOP+SSL domain setup                                                -->
+  <!-- ==================================================================== -->
+
+  <!-- uncomment to use IIOP over SSL
+  <mbean code="org.jboss.security.plugins.JaasSecurityDomain"
+         name="jboss.security:service=JaasSecurityDomain,domain=IIOP+SSL">
+    <constructor>
+      <arg type="java.lang.String" value="IIOP+SSL"/>
+    </constructor> 
+    <attribute name="KeyStoreURL">iiop-over-ssl.keystore</attribute>
+    <attribute name="KeyStorePass">iiop-over-ssl</attribute>
+  </mbean>
+  -->
+
+  <!-- ==================================================================== -->
+  <!-- CORBA ORB service                                                    -->
+  <!-- The ORB is pluggable. This configuration uses JacORB.                -->
+  <!-- ==================================================================== -->
+
+  <mbean code="org.jboss.iiop.CorbaORBService"
+         name="jboss:service=CorbaORB">
+    <attribute name="ORBClass">org.jacorb.orb.ORB</attribute>
+    <attribute name="ORBSingletonClass">org.jboss.system.ORBSingleton</attribute>
+    <attribute name="ORBSingletonDelegate">org.jacorb.orb.ORBSingleton</attribute>
+    <attribute name="ORBPropertiesFileName">jacorb.properties</attribute>
+    <!-- uncomment the attribute below to interoperate with IONA's ASP 6.0
+    <attribute name="SendSASAcceptWithExceptionEnabled">false</attribute>
+    -->
+    <attribute name="PortableInterceptorInitializers">
+      <interceptor-initializers>
+        <!-- the two initializers below are required - do not remove them -->
+        <initializer>org.jboss.iiop.codebase.CodebaseInterceptorInitializer</initializer>
+        <initializer>org.jboss.iiop.csiv2.CSIv2Initializer</initializer>
+        <!-- comment out to generate IORs with no transaction policy info -->
+        <initializer>org.jboss.tm.iiop.TxIORInterceptorInitializer</initializer>
+        <!-- comment out to disable null transaction propagation over IIOP -->
+        <initializer>org.jboss.tm.iiop.TxServerClientInterceptorInitializer</initializer>
+        <!-- comment out to disable transaction demarcation over IIOP -->
+        <initializer>org.jboss.tm.iiop.TxServerInterceptorInitializer</initializer>
+        <!-- comment out to disable the Security Attribute Service -->
+        <initializer>org.jboss.iiop.csiv2.SASInitializer</initializer>
+      </interceptor-initializers>
+    </attribute>
+    <!-- uncomment to use IIOP over SSL
+    <attribute name="SecurityDomain">java:/jaas/IIOP+SSL</attribute>
+    <depends>jboss.security:service=JaasSecurityDomain,domain=IIOP+SSL</depends>
+    -->
+    <depends>jboss:service=Naming</depends>
+  </mbean>
+
+  <!-- ==================================================================== -->
+  <!-- IIOP invoker                                                         -->
+  <!-- ==================================================================== -->
+
+  <mbean code="org.jboss.invocation.iiop.IIOPInvoker" 
+         name="jboss:service=invoker,type=iiop">
+    <depends>jboss:service=CorbaORB</depends>
+    <depends>jboss:service=Naming</depends>
+  </mbean>
+  
+  <!-- ==================================================================== -->
+  <!-- CORBA naming service                                                 -->
+  <!-- ==================================================================== -->
+
+  <mbean code="org.jboss.iiop.CorbaNamingService" 
+         name="jboss:service=CorbaNaming">
+    <depends>jboss:service=CorbaORB</depends>
+    <depends>jboss:service=Naming</depends>
+  </mbean>
+
+  <!-- ==================================================================== -->
+  <!-- CORBA transaction service                                            -->
+  <!-- ==================================================================== -->
+
+  <!-- comment out to disable transaction demarcation over IIOP -->
+  <mbean code="org.jboss.tm.iiop.CorbaTransactionService" 
+         name="jboss:service=CorbaTransaction">
+    <depends>jboss:service=TransactionManager</depends>
+    <depends>jboss:service=CorbaORB</depends>
+    <depends>jboss:service=CorbaNaming</depends>
+  </mbean>
+
+</server>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: jboss-service.xml 44143 2006-04-24 18:19:21Z kkhan $ -->
+
+<!-- ===================================================================== -->
+<!--  JBoss Server Configuration                                           -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- The code for the service is different for the different run scenarios
+      *** JBoss 4.0
+          * JDK 1.4 - org.jboss.aop.deployment.AspectManagerService
+          * JDK 5 (not using -javaagent switch) - org.jboss.aop.deployment.AspectManagerService
+          * JDK 5 (using -javaagent switch) - org.jboss.aop.deployment.AspectManagerServiceJDK5
+          * BEA JRockit 1.4.2 - org.jboss.aop.deployment.AspectManagerService
+      *** JBoss 3.2
+          * JDK 1.4 - org.jboss.aop.deployment.AspectManagerService32
+          * JDK 5 (not using -javaagent switch) - org.jboss.aop.deployment.AspectManagerService32
+          * JDK 5 (using -javaagent switch) - org.jboss.aop.deployment.AspectManagerService32JDK5
+          * BEA JRockit 1.4.2 - org.jboss.aop.deployment.AspectManagerService32
+   -->
+   <mbean code="org.jboss.aop.deployment.AspectManagerServiceJDK5"
+      name="jboss.aop:service=AspectManager">
+      <attribute name="EnableLoadtimeWeaving">false</attribute>
+      <!-- only relevant when EnableLoadtimeWeaving is true.
+           When transformer is on, every loaded class gets
+           transformed.  If AOP can't find the class, then it
+           throws an exception.  Sometimes, classes may not have
+           all the classes they reference.  So, the Suppressing
+           is needed.  (i.e. Jboss cache in the default configuration -->
+      <attribute name="SuppressTransformationErrors">true</attribute>
+      <attribute name="Prune">true</attribute>
+      <attribute name="Include">org.jboss.test, org.jboss.injbossaop</attribute>
+      <attribute name="Exclude">org.jboss.</attribute>
+      <!-- This avoids instrumentation of hibernate cglib enhanced proxies
+      <attribute name="Ignore">*$$EnhancerByCGLIB$$*</attribute> -->
+      <attribute name="Optimized">true</attribute>
+      <attribute name="Verbose">false</attribute>
+   </mbean>
+
+   <mbean code="org.jboss.aop.deployment.AspectDeployer"
+      name="jboss.aop:service=AspectDeployer">
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/base-aop.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/base-aop.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/base-aop.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE aop PUBLIC
+   "-//JBoss//DTD JBOSS AOP 1.0//EN"
+   "http://labs.jboss.com/portal/jbossaop/dtd/jboss-aop_1_0.dtd">
+
+<aop>
+   <!-- custom configuration for AOP Security -->
+   <metadata-loader tag="security" class="org.jboss.aspects.security.SecurityClassMetaDataLoader"/>
+
+   <stack name="J2EESecurityStack">
+      <interceptor factory="org.jboss.aspects.security.AuthenticationInterceptorFactory" scope="PER_CLASS"/>
+      <interceptor factory="org.jboss.aspects.security.RoleBasedAuthorizationInterceptorFactory" scope="PER_CLASS"/>
+      <interceptor factory="org.jboss.aspects.security.RunAsSecurityInterceptorFactory" scope="PER_CLASS"/>
+   </stack>
+
+   <bind pointcut="all(@security)">
+      <stack-ref name="J2EESecurityStack"/>
+   </bind>
+
+   <bind pointcut="all(@org.jboss.aspects.security.Permissions)">
+      <stack-ref name="J2EESecurityStack"/>
+   </bind>
+
+   <bind pointcut="all(@org.jboss.aspects.security.Unchecked)">
+      <stack-ref name="J2EESecurityStack"/>
+   </bind>
+
+   <bind pointcut="all(@org.jboss.aspects.security.Exclude)">
+      <stack-ref name="J2EESecurityStack"/>
+   </bind>
+
+   <introduction expr="class(@org.jboss.aspects.jmx.MBean)">
+      <mixin>
+         <interfaces>javax.management.DynamicMBean</interfaces>
+         <class>org.jboss.aspects.jmx.JmxIntrospectingMixin</class>
+         <construction>new org.jboss.aspects.jmx.JmxIntrospectingMixin(this)</construction>
+      </mixin>
+   </introduction>
+
+   <!-- asynchronous aspect -->
+   <aspect class="org.jboss.aspects.asynch.AsynchAspect" scope="PER_INSTANCE">
+      <advisor-attribute name="Advisor"/>
+   </aspect>
+
+   <bind pointcut="execution(!static * *->@org.jboss.aspects.asynch.Asynchronous(..))">
+      <advice name="execute" aspect="org.jboss.aspects.asynch.AsynchAspect"/>
+   </bind>
+
+   <introduction expr="has(!static * *->@org.jboss.aspects.asynch.Asynchronous(..))">
+      <mixin>
+         <interfaces>org.jboss.aspects.asynch.AsynchProvider,org.jboss.aspects.asynch.FutureHolder</interfaces>
+         <class>org.jboss.aspects.asynch.AsynchMixin</class>
+      </mixin>
+   </introduction>
+
+   <!-- old asynch aspect from Claude -->
+
+   <aspect class="org.jboss.aspects.asynchronous.aspects.jboss.AsynchronousAspect" scope="PER_VM"/>
+
+   <bind pointcut="execution(* *->@org.jboss.aspects.asynchronous.aspects.jboss.Asynchronous(..))">
+      <advice name="execute" aspect="org.jboss.aspects.asynchronous.aspects.jboss.AsynchronousAspect"/>
+   </bind>
+
+   <introduction expr="has(* *->@org.jboss.aspects.asynchronous.aspects.jboss.Asynchronous(..)) OR class(@org.jboss.aspects.asynchronous.aspects.jboss.Asynchronous)">
+
+      <mixin>
+         <interfaces>
+            org.jboss.aspects.asynchronous.aspects.AsynchronousFacade
+         </interfaces>
+         <class>org.jboss.aspects.asynchronous.aspects.AsynchronousFacadeImpl</class>
+         <construction>new org.jboss.aspects.asynchronous.aspects.AsynchronousFacadeImpl()</construction>
+      </mixin>
+   </introduction>
+
+   <!-- TRANSACTIONS -->
+   <interceptor class="org.jboss.aspects.tx.TxPropagationInterceptor" scope="PER_VM"/>
+   <interceptor factory="org.jboss.aspects.tx.TxInterceptorFactory" scope="PER_CLASS_JOINPOINT"/>
+
+   <bind pointcut="all(@transaction)">
+      <interceptor-ref name="org.jboss.aspects.tx.TxInterceptorFactory"/>
+   </bind>
+
+   <interceptor name="class-txsynchronized" factory="org.jboss.aspects.txlock.TxLockInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor name="instance-txsynchronized" factory="org.jboss.aspects.txlock.TxLockInterceptorFactory" scope="PER_INSTANCE"/>
+
+   <bind pointcut="execution(static * *->@TxSynchronized(..)) OR execution(*->@TxSynchronized(..))">
+      <interceptor-ref name="class-txsynchronized"/>
+   </bind>
+
+   <bind pointcut="execution(!static * *->@TxSynchronized(..))">
+      <interceptor-ref name="instance-txsynchronized"/>
+   </bind>
+
+   <bind pointcut="all(@org.jboss.aspects.tx.Tx)">
+      <interceptor-ref name="org.jboss.aspects.tx.TxInterceptorFactory"/>
+   </bind>
+
+   <bind pointcut="execution(static * *->@org.jboss.aspects.txlock.TxSynchronized(..)) OR execution(*->@org.jboss.aspects.txlock.TxSynchronized(..))">
+      <interceptor-ref name="class-txsynchronized"/>
+   </bind>
+
+   <bind pointcut="execution(!static * *->@org.jboss.aspects.txlock.TxSynchronized(..))">
+      <interceptor-ref name="instance-txsynchronized"/>
+   </bind>
+
+   <!-- injection -->
+   <aspect class="org.jboss.aspects.tx.TransactionInjector"/>
+   <aspect class="org.jboss.aspects.tx.TransactionManagerInjector"/>
+
+   <bind pointcut="field(javax.transaction.Transaction *->@org.jboss.aspects.Current)">
+      <advice name="access" aspect="org.jboss.aspects.tx.TransactionInjector"/>
+   </bind>
+
+   <bind pointcut="field(javax.transaction.TransactionManager *->@org.jboss.aspects.Injected)">
+      <advice name="access" aspect="org.jboss.aspects.tx.TransactionManagerInjector"/>
+   </bind>
+
+   <bind pointcut="execution(*->new(..)) AND hasfield(javax.transaction.TransactionManager *->@org.jboss.aspects.Injected)">
+      <advice name="allocation" aspect="org.jboss.aspects.tx.TransactionManagerInjector"/>
+   </bind>
+
+   <!-- special types -->
+   <aspect class="org.jboss.aspects.ThreadbasedAspect" scope="PER_JOINPOINT"/>
+   <bind pointcut="field(* *->@org.jboss.aspects.Threadbased)">
+      <advice name="access" aspect="org.jboss.aspects.ThreadbasedAspect"/>
+   </bind>
+
+   <aspect class="org.jboss.aspects.tx.TransactionLocalAspect" scope="PER_JOINPOINT"/>
+   <bind pointcut="field(* *->@org.jboss.aspects.tx.TxLocal)">
+      <advice name="access" aspect="org.jboss.aspects.tx.TransactionLocalAspect"/>
+   </bind>
+
+</aop>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/trove.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-aop-jdk50.deployer/trove.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+   <!--
+      The JBoss Bean Deployer
+   -->
+   <mbean code="org.jboss.kernel.deployment.jboss.JBossBeanDeployer"
+          name="jboss.bean:service=JBossBeanDeployer">
+          
+      <attribute name="Extension">.beans</attribute>
+      <attribute name="MetaDataURL">META-INF/jboss-beans.xml</attribute>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-bean-deployer.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-bean-deployer.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-container.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-container.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-dependency.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-dependency.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-microcontainer.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-bean.deployer/jboss-microcontainer.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-ha-local-jdbc.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-ha-local-jdbc.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-ha-xa-jdbc.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-ha-xa-jdbc.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-local-jdbc.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-local-jdbc.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web-cluster.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web-cluster.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web-cluster.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,252 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Customized TreeCache Service Configuration for Tomcat 5 Clustering   -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+    <!-- ==================================================================== -->
+    <!-- Defines TreeCache configuration                                      -->
+    <!-- ==================================================================== -->
+
+	 <!-- Note we are using TreeCacheAop -->
+    <mbean code="org.jboss.cache.aop.TreeCacheAop"
+        name="jboss.cache:service=TomcatClusteringCache">
+
+        <depends>jboss:service=Naming</depends>
+        <depends>jboss:service=TransactionManager</depends>
+        <!-- We need the AspectDeployer to deploy our FIELD granularity aspects -->
+        <depends>jboss.aop:service=AspectDeployer</depends>
+
+        <!-- Name of cluster. Needs to be the same for all nodes in the 
+             cluster, in order to find each other
+        -->
+        <attribute name="ClusterName">Tomcat-${jboss.partition.name:Cluster}</attribute>
+        
+        <!--
+            Isolation level : SERIALIZABLE
+                              REPEATABLE_READ (default)
+                              READ_COMMITTED
+                              READ_UNCOMMITTED
+                              NONE
+        -->
+        <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+        <!-- Valid modes are LOCAL, REPL_ASYNC and REPL_SYNC
+             
+             If you use REPL_SYNC and a UDP-based ClusterConfig
+             we recommend you comment out the FC (flow control)
+             protocol in the ClusterConfig section below.
+        -->
+        <attribute name="CacheMode">REPL_ASYNC</attribute>
+
+        <!-- 
+          Indicates whether to the cache should unmarshall objects replicated
+          from other cluster nodes, or store them internally as a byte[]
+          until a web app requests them.  Must be "true" if session replication 
+          granularity "FIELD" is used in any webapp, otherwise "false" is
+          recommended.
+        -->
+		<attribute name="UseRegionBasedMarshalling">false</attribute>
+        
+        <!--  Whether or not the entire tree is inactive upon startup, only 
+          responding to replication messages after activateRegion() is 
+          called to activate one or more parts of the tree when a webapp is
+          deployed.  Must have the same value as "UseRegionBasedMarshalling".
+        -->
+		<attribute name="InactiveOnStartup">false</attribute>
+          
+        <!--  Make sure to specify BatchModeTransactionManager only! -->
+        <attribute name="TransactionManagerLookupClass">org.jboss.cache.BatchModeTransactionManagerLookup</attribute>
+
+        <!-- Configures binary format of messages sent between cluster nodes.
+             Changing this allows a later version of JBoss Cache to interoperate
+             with an earlier version. You might, for example, change this
+             if you are integrating a 4.0.4 server into a cluster with
+             servers running an earlier AS version.
+             
+             Possible values:
+             
+             1.2.3     JBC 1.2.3 or earlier; bundled with AS 4.0.3.SP1 and earlier
+             1.2.4     JBC 1.2.4
+             1.2.4.SP1 JBC 1.2.4.SP1
+             1.2.4.SP2 JBC 1.2.4.SP2; bundled with AS 4.0.4
+             
+             For version 1.3.0.GA and later, use the version name.
+        
+        	 If left blank or commented out, JBoss Cache will use the default
+        	 for that release (e.g. 1.4.0 for releases in the 1.4.0 series.
+        	 
+        	 The binary format of replication version 1.4.0 is much more efficient
+        	 than earlier releases, so there is a significant performance penalty
+        	 to trying to interoperate 1.4.0 with earlier releases vs. a pure
+        	 1.4.0 cluster.
+        
+        <attribute name="ReplicationVersion">1.4.0.GA</attribute>
+        -->
+        
+		<!-- JGroups protocol stack properties. Can also be a URL,
+             e.g. file:/home/bela/default.xml
+        <attribute name="ClusterProperties"></attribute>
+        -->
+
+        <attribute name="ClusterConfig">
+            <!--
+            The default UDP stack:
+            - If you have a multihomed machine, set the UDP protocol's bind_addr attribute to the
+            appropriate NIC IP address, e.g bind_addr="192.168.0.2".
+            - On Windows machines, because of the media sense feature being broken with multicast
+            (even after disabling media sense) set the UDP protocol's loopback attribute to true
+            
+            - If your CacheMode is set to REPL_SYNC we recommend you comment 
+            out the FC (flow control) protocol 
+            -->
+            <config>
+                <UDP mcast_addr="${jboss.partition.udpGroup:230.1.2.7}" 
+                     mcast_port="${jboss.webpartition.mcast_port:45577}"
+		             tos="8"
+		             ucast_recv_buf_size="20000000"
+		             ucast_send_buf_size="640000"
+		             mcast_recv_buf_size="25000000"
+		             mcast_send_buf_size="640000"
+		             loopback="false"
+		             discard_incompatible_packets="true"
+		             enable_bundling="false"
+		             max_bundle_size="64000"
+		             max_bundle_timeout="30"
+		             use_incoming_packet_handler="true"
+		             use_outgoing_packet_handler="false"
+		             ip_ttl="${jgroups.udp.ip_ttl:2}"
+		             down_thread="false" up_thread="false"/>
+		          <PING timeout="2000"
+		             down_thread="false" up_thread="false" num_initial_members="3"/>
+		          <MERGE2 max_interval="100000"
+		             down_thread="false" up_thread="false" min_interval="20000"/>
+		          <FD_SOCK down_thread="false" up_thread="false"/>
+		          <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+		          <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+		          <pbcast.NAKACK max_xmit_size="60000"
+		                   use_mcast_xmit="false" gc_lag="0"
+		                   retransmit_timeout="300,600,1200,2400,4800"
+		                   down_thread="false" up_thread="false"
+		                   discard_delivered_msgs="true"/>
+		          <UNICAST timeout="300,600,1200,2400,3600"
+		             down_thread="false" up_thread="false"/>
+		          <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+		                   down_thread="false" up_thread="false"
+		                   max_bytes="400000"/>
+		          <pbcast.GMS print_local_addr="true" join_timeout="3000"
+		                   down_thread="false" up_thread="false"
+		                   join_retry_timeout="2000" shun="true"
+		                   view_bundling="true"
+		                   view_ack_collection_timeout="5000"/>
+		          <FC max_credits="2000000" down_thread="false" up_thread="false"
+		              min_threshold="0.10"/>
+		          <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
+		          <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
+           </config>
+
+           <!-- 
+               Alternate TCP stack: customize it for your environment, 
+               change bind_addr and initial_hosts -->
+           <!--
+           <config>
+                <TCP bind_addr="thishost" start_port="7810" loopback="true"
+                     tcp_nodelay="true"
+	                 recv_buf_size="20000000"
+	                 send_buf_size="640000"
+	                 discard_incompatible_packets="true"
+	                 enable_bundling="false"
+	                 max_bundle_size="64000"
+	                 max_bundle_timeout="30"
+	                 use_incoming_packet_handler="true"
+	                 use_outgoing_packet_handler="false"
+	                 down_thread="false" up_thread="false"
+	                 use_send_queues="false"
+	                 sock_conn_timeout="300"
+	                 skip_suspected_members="true"/>
+	            <TCPPING initial_hosts="thishost[7810],otherhost[7810]" port_range="3"
+	                     timeout="3000"
+	                     down_thread="false" up_thread="false"
+	                     num_initial_members="3"/>
+	            <MERGE2 max_interval="100000"
+	                    down_thread="false" up_thread="false" min_interval="20000"/>
+	            <FD_SOCK down_thread="false" up_thread="false"/>
+	            <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+	            <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+	            <pbcast.NAKACK max_xmit_size="60000"
+	                           use_mcast_xmit="false" gc_lag="0"
+	                           retransmit_timeout="300,600,1200,2400,4800"
+	                           down_thread="false" up_thread="false"
+	                           discard_delivered_msgs="true"/>
+	            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+	                           down_thread="false" up_thread="false"
+	                           max_bytes="400000"/>
+	            <pbcast.GMS print_local_addr="true" join_timeout="3000"
+	                        down_thread="false" up_thread="false"
+	                        join_retry_timeout="2000" shun="true"
+	                        view_bundling="true"/>
+	            <FC max_credits="2000000" down_thread="false" up_thread="false"
+	                min_threshold="0.10"/>
+	            <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
+	            <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
+           </config>
+           -->
+
+        </attribute>
+
+        <!--
+            Number of milliseconds to wait until all responses for a
+            synchronous call have been received.
+        -->
+        <attribute name="SyncReplTimeout">20000</attribute>
+
+        <!-- Max number of milliseconds to wait for a lock acquisition -->
+        <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+        <!-- Buddy Replication config.
+        
+             See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheBuddyReplicationDesign
+             and the JBoss Cache docs for more on buddy replication.
+             
+             By default, buddy replication is disabled.
+             
+             Following are the configuration elements likely to be changed:
+             
+             buddyReplicationEnabled  true if you want buddy replication; false if data
+                                      should be replicated to all nodes in the cluster
+                                      
+             numBuddies               to how many backup nodes should each node replicate
+                                      its state
+                                      
+             buddyPoolName            allows logical subgrouping of nodes within the cluster;
+                                      if possible, buddies will be chosen from nodes in the 
+                                      same buddy pool
+                                      
+             Do not change the data gravitation related options.             
+        -->
+        <attribute name="BuddyReplicationConfig">
+            <config>
+                <buddyReplicationEnabled>false</buddyReplicationEnabled>
+                <buddyLocatorClass>org.jboss.cache.buddyreplication.NextMemberBuddyLocator</buddyLocatorClass>
+                <buddyLocatorProperties>
+                    numBuddies = 1
+                    ignoreColocatedBuddies = true
+                </buddyLocatorProperties>
+
+                <buddyPoolName>default</buddyPoolName>
+                <buddyCommunicationTimeout>2000</buddyCommunicationTimeout>
+
+                <autoDataGravitation>false</autoDataGravitation>
+                <dataGravitationRemoveOnFind>true</dataGravitationRemoveOnFind>
+                <dataGravitationSearchBackupTrees>true</dataGravitationSearchBackupTrees>
+
+            </config>
+        </attribute>
+		   
+    </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web-cluster.sar/jboss-web-cluster.aop
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web-cluster.sar/jboss-web-cluster.aop
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,171 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: jboss-service-all.xml 60489 2007-02-12 08:22:28Z scott.stark at jboss.org $ -->
+
+<server> 
+   <!-- JBoss Web Service-->   
+   <mbean code="org.jboss.web.tomcat.service.JBossWeb"
+      name="jboss.web:service=WebServer" xmbean-dd="META-INF/webserver-xmbean.xml">
+
+      <!-- You can configure a set of authenticators keyed by http-auth method used. This
+      will apply the same set of authenticators across all web applications. You can
+      override the set of authenticators at the web application level by adding
+      <authenticators> element to the respective jboss-web.xml --> 
+      <!--
+      -->
+      <attribute name="Authenticators" serialDataType="jbxb">
+         <java:properties xmlns:java="urn:jboss:java-properties"
+            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+            xs:schemaLocation="urn:jboss:java-properties resource:java-properties_1_0.xsd">
+            <java:property>
+               <java:key>BASIC</java:key>
+               <java:value>org.apache.catalina.authenticator.BasicAuthenticator</java:value>
+            </java:property>
+            <java:property>
+               <java:key>CLIENT-CERT</java:key>
+               <java:value>org.apache.catalina.authenticator.SSLAuthenticator</java:value>
+            </java:property>
+            <java:property>
+               <java:key>DIGEST</java:key>
+               <java:value>org.apache.catalina.authenticator.DigestAuthenticator</java:value>
+            </java:property>
+            <java:property>
+               <java:key>FORM</java:key>
+               <java:value>org.apache.catalina.authenticator.FormAuthenticator</java:value>
+            </java:property> 
+            <java:property>
+               <java:key>NONE</java:key>
+               <java:value>org.apache.catalina.authenticator.NonLoginAuthenticator</java:value>
+            </java:property> 
+         </java:properties>
+      </attribute> 
+
+      <!-- The JAAS security domain to use in the absense of an explicit
+      security-domain specification in the war WEB-INF/jboss-web.xml
+      -->
+      <attribute name="DefaultSecurityDomain">java:/jaas/other</attribute>
+
+      <!-- Get the flag indicating if the normal Java2 parent first class
+           loading model should be used over the servlet 2.3 web container first
+           model.
+      -->
+      <attribute name="Java2ClassLoadingCompliance">false</attribute>
+      <!-- A flag indicating if the JBoss Loader should be used. This loader
+           uses a unified class loader as the class loader rather than the tomcat
+           specific class loader.
+           The default is false to ensure that wars have isolated class loading
+           for duplicate jars and jsp files.
+      -->
+      <attribute name="UseJBossWebLoader">false</attribute>
+      <!-- The list of package names that should not be loaded without
+         delegating to the parent class loader before trying the web app
+         class loader. The packages listed here are those tha are used by
+         the web container implementation and cannot be overriden.
+         This only applies when UseJBossWebLoader=false.
+      -->
+      <attribute name="FilteredPackages">javax.servlet</attribute>
+
+      <attribute name="LenientEjbLink">true</attribute>
+
+      <!--Flag to delete the Work Dir on Context Destroy -->
+      <attribute name="DeleteWorkDirOnContextDestroy">false</attribute>
+
+      <!--
+          Class of the session manager (used if context is marked as 'distributable'. Currently allowed values:
+          - org.jboss.web.tomcat.service.session.JBossCacheManager
+      -->
+      <attribute name="ManagerClass">org.jboss.web.tomcat.service.session.JBossCacheManager</attribute>
+
+      <!-- The name of the request attribute under with the authenticated JAAS
+      Subject is stored on successful authentication. If null or empty then
+      the Subject will not be stored.
+      -->
+      <!--
+      <attribute name="SubjectAttributeName">j_subject</attribute>
+      -->
+
+      <!-- The SessionIdAlphabet is the set of characters used to create a session Id
+           It must be made up of exactly 65 unique characters
+      <attribute name="SessionIdAlphabet">ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-*</attribute>
+      -->
+
+      <!--
+      *******************************************************
+      ****************** CLUSTERING *************************
+      *******************************************************
+      In order to activate HTTP Session clustering for Tomcat
+      make sure you run JBoss's "all" configuration i.e.
+      "run -c all"
+      (the default configuration doesn't contain clustering) 
+
+      Furthermore, you may change SnapshotMode and
+      SnapshotInterval attributes below to indicate when to
+      synchronize changes with the other node(s).
+
+      If you use Apache+mod_jk(2) you will most probably use
+      the AJP1.3 connector below. Thus, if you so wish,
+      you may comment (i.e. deactivate) the HTTP connector
+      as it won't be used anymore.
+
+      *******************************************************
+      *******************************************************
+      *******************************************************
+      --> 
+		
+      <!--
+      If you are using clustering, the following two attributes
+      define when the sessions are replicated to the other nodes.
+      The default value, "instant", synchronously replicates changes
+      to the other nodes at the end of requests. In this case, the 
+      "SnapshotInterval" attribute is not used.
+      The "interval" mode, in association with the "SnapshotInterval"
+      attribute, indicates that modified sessions will only be replicated
+      every "SnapshotInterval" milliseconds at most.	
+		
+      Note that this attribute is not in effect if the replication-granularity
+      is set to FIELD. If it is FIELD, it will be per http request (that is, 
+      "instant" mode.)
+      --> 
+      <attribute name="SnapshotMode">instant</attribute> <!-- you may switch to "interval" -->
+      <attribute name="SnapshotInterval">2000</attribute>
+
+      <!--
+      Whether to use MOD_JK(2) for load balancing with sticky session 
+      combined with JvmRoute. If set to true, it will insert a JvmRouteFilter 
+      to intercept every request and replace the JvmRoute if it detects a 
+      failover. In addition, you will need to set the JvmRoute inside
+      Tomcat, e.g.,
+        Engine name="jboss.web" jmvRoute="Node1" defaultHost="localhost" 
+      in server.xml.
+
+      For clustering purpose only.
+      -->
+      <attribute name="UseJK">false</attribute>
+
+      <attribute name="Domain">jboss.web</attribute>
+
+      <!-- A mapping to the server security manager service which must be
+      operation compatible with type
+      org.jboss.security.plugins.JaasSecurityManagerServiceMBean. This is only
+      needed if web applications are allowed to flush the security manager
+      authentication cache when the web sessions invalidate.
+      -->
+      <depends optional-attribute-name="SecurityManagerService"
+         proxy-type="attribute">jboss.security:service=JaasSecurityManager
+      </depends>
+
+      <!--
+         Needed if using HTTP Session Clustering or if the
+         ClusteredSingleSignOn valve is enabled in the tomcat server.xml file
+      -->
+      <depends>jboss.cache:service=TomcatClusteringCache</depends>
+      
+      <depends>jboss:service=TransactionManager</depends>
+      
+      <!-- Only needed if the org.jboss.web.tomcat.service.jca.CachedConnectionValve
+      is enabled in the tomcat server.xml file.
+      -->
+      <depends>jboss.jca:service=CachedConnectionManager</depends>
+   </mbean>
+
+</server>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/META-INF/webserver-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/META-INF/webserver-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/META-INF/webserver-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">
+<!--
+   JBoss Web XMBean descriptor
+   
+   $Id: webserver-xmbean.xml 59833 2007-01-19 15:45:42Z dimitris at jboss.org $
+-->
+<mbean>
+   <description>The JBoss Web Deployer responsible for war deployment</description>
+   <descriptors>
+     <interceptors>
+       <!-- comment out DynamicInterceptor to disable dynamic addition of interceptors -->
+       <interceptor code="org.jboss.mx.interceptor.DynamicInterceptor"/>
+     </interceptors>
+   </descriptors>
+   <class>org.jboss.web.tomcat.service.JBossWeb</class>
+   
+  <!-- JBossWebMBean attributes -->
+  
+   <attribute access="read-write" getMethod="getAuthenticators" setMethod="setAuthenticators">
+     <name>Authenticators</name>
+     <type>java.util.Properties</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getUseJBossWebLoader" setMethod="setUseJBossWebLoader">
+     <name>UseJBossWebLoader</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getAllowSelfPrivilegedWebApps" setMethod="setAllowSelfPrivilegedWebApps">
+     <name>AllowSelfPrivilegedWebApps</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getDeleteWorkDirOnContextDestroy" 
+    setMethod="setDeleteWorkDirOnContextDestroy">
+     <name>DeleteWorkDirOnContextDestroy</name>
+     <type>boolean</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getHttpHeaderForSSOAuth" 
+    setMethod="setHttpHeaderForSSOAuth">
+     <name>HttpHeaderForSSOAuth</name>
+     <type>java.lang.String</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getSessionCookieForSSOAuth" 
+    setMethod="setSessionCookieForSSOAuth">
+     <name>SessionCookieForSSOAuth</name>
+     <type>java.lang.String</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getSubjectAttributeName" setMethod="setSubjectAttributeName">
+     <name>SubjectAttributeName</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getCacheName" setMethod="setCacheName">
+     <name>CacheName</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getUnpackWars" setMethod="setUnpackWars">
+     <name>UnpackWars</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getAcceptNonWarDirs" setMethod="setAcceptNonWarDirs">
+     <name>AcceptNonWarDirs</name>
+     <type>boolean</type>
+   </attribute>
+   
+   <attribute access="read-write" getMethod="getConfig" setMethod="setConfig">
+     <name>Config</name>
+     <type>org.w3c.dom.Element</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getLenientEjbLink" setMethod="setLenientEjbLink">
+     <name>LenientEjbLink</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="isUseJK" setMethod="setUseJK">
+     <name>UseJK</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getDomain" setMethod="setDomain">
+     <name>Domain</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getFilteredPackages" setMethod="setFilteredPackages">
+     <name>FilteredPackages</name>
+     <type>[Ljava.lang.String;</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getJava2ClassLoadingCompliance" setMethod="setJava2ClassLoadingCompliance">
+     <name>Java2ClassLoadingCompliance</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getDefaultSecurityDomain" setMethod="setDefaultSecurityDomain">
+     <name>DefaultSecurityDomain</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getSnapshotMode" setMethod="setSnapshotMode">
+     <name>SnapshotMode</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getSnapshotInterval" setMethod="setSnapshotInterval">
+     <name>SnapshotInterval</name>
+     <type>int</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getConfigFile" setMethod="setConfigFile">
+     <name>ConfigFile</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getUseLocalCache" setMethod="setUseLocalCache">
+     <name>UseLocalCache</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getSessionIdAlphabet" setMethod="setSessionIdAlphabet">
+     <name>SessionIdAlphabet</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getContextMBeanCode" setMethod="setContextMBeanCode">
+     <name>ContextMBeanCode</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getManagerClass" setMethod="setManagerClass">
+     <name>ManagerClass</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-only" getMethod="getDeployedApplications">
+     <name>DeployedApplications</name>
+     <type>java.util.Iterator</type>
+   </attribute>
+
+   <attribute access="write-only" setMethod="setSecurityManagerService">
+     <name>SecurityManagerService</name>
+     <type>org.jboss.security.plugins.JaasSecurityManagerServiceMBean</type>
+   </attribute>
+   
+   <!-- SubDeployerExt attribute -->
+   <attribute access="read-write" getMethod="getEnhancedSuffixes" setMethod="setEnhancedSuffixes">
+      <description>Allow the override of supported suffixes and relative order</description>
+      <name>EnhancedSuffixes</name>
+      <type>[Ljava.lang.String;</type>
+   </attribute>
+         
+   &deployerAttributes;
+   &defaultAttributes;
+
+  <!-- JBossWebMBean operations -->
+   <operation>
+     <description>See if a war is deployed</description>
+     <name>isDeployed</name>
+     <parameter>
+       <name>warUrl</name>
+       <type>java.lang.String</type>
+     </parameter>
+     <return-type>boolean</return-type>
+   </operation>
+
+   <operation>
+     <description>Start all connectors of the Domain</description>
+     <name>startConnectors</name>
+   </operation>
+
+   <operation>
+     <description>Stop all connectors of the Domain</description>
+     <name>stopConnectors</name>
+   </operation>
+      
+   &deployerOperations;   
+   &defaultOperations;
+   &interceptable;    
+   
+</mbean>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app
+    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+    "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+  <display-name>Welcome to JBoss</display-name>
+  <description>
+     Welcome to JBoss
+  </description>
+  <servlet>
+    <servlet-name>Status Servlet</servlet-name>
+    <servlet-class>org.jboss.web.tomcat.service.StatusServlet</servlet-class>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>Status Servlet</servlet-name>
+    <url-pattern>/status</url-pattern>
+  </servlet-mapping>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/favicon.ico
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/favicon.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/index.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/index.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/index.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+   <title>Welcome to JBoss&trade;</title>
+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+   <link rel="StyleSheet" href="jboss.css" type="text/css"/>
+</head>
+
+<body>
+<!-- header begin -->
+   <a href="http://www.jboss.org">
+      <img src="logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+   </a>
+   <div id="header">&nbsp;</div>
+   <div id="navigation_bar"></div>
+<!-- header end -->
+
+   <h3>JBoss Online Resources</h3>
+   <ul>
+      <li><a href="http://www.jboss.org/products/jbossas/docs">JBoss Documentation</a></li>
+      <li><a href="http://wiki.jboss.org/">JBoss Wiki</a></li>
+      <li><a href="http://jira.jboss.org/">JBoss JIRA</a></li>      
+      <li><a href="http://www.jboss.org/index.html?module=bb">JBoss Forums</a></li>
+   </ul>
+
+   <h3>JBoss Management</h3>
+   <ul>
+      <li><a href="/status">Tomcat status</a>
+          <a href="/status?full=true">(full)</a>
+          <a href="/status?XML=true">(XML)</a></li>
+      <li><a href="/jmx-console/">JMX Console</a></li>
+      <li><a href="/web-console/">JBoss Web Console</a></li>
+   </ul>
+
+<!-- footer begin -->
+   <div id="footer">
+      <div id="credits">JBoss&trade; Application Server</div>
+      <div id="footer_bar">&nbsp;</div>
+   </div>
+<!-- footer end -->
+</body>
+
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/jboss.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/jboss.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/jboss.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,143 @@
+body {
+	margin: 13px 0px 10px 0px;
+	background-color: #ffffff;
+	font-size: 10px;
+	font-family: verdana, arial, "sans-serif";
+	color: #606060;
+	}
+img {
+	border: 0px;
+	}
+#header {
+	background-color: #003D6E;
+	background-repeat: no-repeat;
+	width: 100%;
+	height: 80px;
+	}
+#header #banner {
+	float: right;
+	margin: 8px 5px 0px 0px;
+	}
+#logo {
+	position: absolute;
+	top: 2px;
+	left: 4px;
+	z-index: 200;
+}
+#navigation_bar {
+	background-color: #f0f0f0;
+	border-bottom: 1px dotted #999999;
+	height: 20px;
+	}
+#items {
+	font-size: 12px;
+	width: 600px;
+	margin: 5px 5px 5px 170px;
+	position: relative;
+	z-index: 300;
+	}
+#items .item {
+	margin-right: 10px;
+	}
+.side_block {
+	margin: 15px 5px 10px 5px;
+	background-color: #fbfbfb;
+	border: 1px solid #f0f0f0;
+	}
+.side_block h3 {
+	font-size: 11px;
+	font-weight: 100;
+	width: 100%;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 10x;
+	background-color: #f0f0f0;
+	}
+.side_block h4 {
+	font-size: 11px;
+	color: #003D6E;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+	}
+.side_block p {
+	margin: 5px 5px 3px 5px;
+	}
+.side_block form {
+	margin: 0px 0px 0px 5px;
+	}
+.side_block #login {
+	font-size: 9px;
+	}
+.side_block p img {
+	text-align: center;
+	}
+#content {
+	width: 90%; 
+	margin: 10px auto;
+	}
+#left {
+	float: left;
+	width: 14%;
+	}
+#right {
+	float: right;
+	width: 14%;
+	}
+.content_block {
+	text-align: justify;
+	border: 1px solid #999999;
+	margin: 5px;
+	width: 31%;
+	float: left;
+	}
+.content_block p {
+	margin: 0px 5px 3px 5px;
+	}
+.content_block h3 {
+	font-size: 11px;
+	font-weight: bold;
+	color: #000000;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 4x;
+	text-align: center;
+	background-color: #f0f0f0;
+	border-bottom: 1px solid #999999
+	}
+.content_block h4 {
+	font-size: 11px;
+	color: #003D6E;
+	text-align: left;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+	}
+#footer {
+	clear: both;
+	border-top: 1px dotted #999999;
+	}
+#credits {
+	background-color: #f0f0f0;
+	padding: 5px;
+	text-align: center;
+	}
+#footer_bar {
+	height: 20px;
+	width: 100%;
+	background-color: #003D6E;
+	}
+.hide {
+	display: none;
+	}
+.spacer {
+	clear: both;
+	}
+.spacer hr {
+	display: none;
+	}
+.center {
+	text-align: center;
+	}
+#youcandoit {
+	background-image: url("youcandoit.jpg");
+	background-repeat: repeat-x;
+	height: 165px;
+	margin: 0px 30px 0px 30px;
+	}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/manager/xform.xsl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/manager/xform.xsl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/ROOT.war/manager/xform.xsl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  version="1.0">
+
+  <!-- Output method -->
+  <xsl:output encoding="iso-8859-1"
+              indent="no"/>
+
+  <xsl:template match="status">
+    <html>
+    <head>
+    	<TITLE>Tomcat Status</TITLE>
+		<STYLE type="text/css">
+			body, table, tr, td, a, div, span {
+				vertical-align : top;
+			}
+		</STYLE>
+    </head>
+    <body>
+      <div style='font-size:20px;'>Tomcat Status</div>
+
+      <xsl:apply-templates select="jvm"/>
+      <xsl:apply-templates select="connector"/>
+     </body>
+    </html>
+  </xsl:template>
+
+  <xsl:template match="jvm">
+   <xsl:apply-templates select="memory"/>
+  </xsl:template>
+
+  <xsl:template match="memory">
+    <table><tr>
+    		 <td><b>JVM:</b></td>
+    		 <td><b>free:</b> <xsl:value-of select="@free"/></td>
+    		 <td><b>total:</b> <xsl:value-of select="@total"/></td>
+    		 <td><b>max:</b> <xsl:value-of select="@max"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="connector">
+	 <b>Connector -- </b> <xsl:value-of select="@name"/><br />
+
+  	<xsl:apply-templates select="threadInfo"/>
+  	<xsl:apply-templates select="requestInfo"/>
+  	<xsl:apply-templates select="workers"/>
+  </xsl:template>
+
+  <xsl:template match="threadInfo">
+    <table><tr>
+    		 <td><b>threadInfo </b></td>
+    		 <td><b>maxThreads:</b> <xsl:value-of select="@maxThreads"/></td>
+    		 <td><b>minSpareThreads:</b> <xsl:value-of select="@minSpareThreads"/></td>
+    		 <td><b>maxSpareThreads:</b> <xsl:value-of select="@maxSpareThreads"/></td>
+    		 <td><b>currentThreadCount:</b> <xsl:value-of select="@currentThreadCount"/></td>
+    		 <td><b>currentThreadsBusy:</b> <xsl:value-of select="@currentThreadsBusy"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="requestInfo">
+    <table><tr>
+    		 <td><b>requestInfo </b></td>
+    		 <td><b>maxTime:</b> <xsl:value-of select="@maxTime"/></td>
+    		 <td><b>processingTime:</b> <xsl:value-of select="@processingTime"/></td>
+    		 <td><b>requestCount:</b> <xsl:value-of select="@requestCount"/></td>
+    		 <td><b>errorCount:</b> <xsl:value-of select="@errorCount"/></td>
+    		 <td><b>bytesReceived:</b> <xsl:value-of select="@bytesReceived"/></td>
+    		 <td><b>bytesSent:</b> <xsl:value-of select="@bytesSent"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="workers">
+   <table>
+    <tr><th>Stage</th><th>Time</th><th>B Sent</th><th>B Recv</th><th>Client</th><th>VHost</th><th>Request</th></tr>
+  	<xsl:apply-templates select="worker"/>
+
+   </table><hr />
+  </xsl:template>
+
+  <xsl:template match="worker">
+   <tr>
+    <td><xsl:value-of select="@stage"/></td>
+    <td><xsl:value-of select="@requestProcessingTime"/></td>
+    <td><xsl:value-of select="@requestBytesSent"/></td>
+    <td><xsl:value-of select="@requestBytesReceived"/></td>
+    <td><xsl:value-of select="@remoteAddr"/></td>
+    <td><xsl:value-of select="@virtualHost"/></td>
+    <td><xsl:value-of select="@method"/> <xsl:value-of select="@currentUri"/>?<xsl:value-of select="@currentQueryString"/> <xsl:value-of select="@protocol"/></td>
+   </tr>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/conf/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/conf/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/conf/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1248 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+    version="2.4">
+
+  <!-- ======================== Introduction ============================== -->
+  <!-- This document defines default values for *all* web applications      -->
+  <!-- loaded into this instance of Tomcat.  As each application is         -->
+  <!-- deployed, this file is processed, followed by the                    -->
+  <!-- "/WEB-INF/web.xml" deployment descriptor from your own               -->
+  <!-- applications.                                                        -->
+  <!--                                                                      -->
+  <!-- WARNING:  Do not configure application-specific resources here!      -->
+  <!-- They should go in the "/WEB-INF/web.xml" file in your application.   -->
+
+  <!-- =========== Common Context Params ================================== -->
+  <!-- JBossInjectionProvider provides resource injection for managed beans. -->
+  <!-- See JSF 1.2 spec section 5.4 for details.                             -->
+  <context-param>
+    <param-name>com.sun.faces.injectionProvider</param-name>
+    <param-value>org.jboss.web.jsf.integration.injection.JBossInjectionProvider</param-value>
+  </context-param>
+
+   <!-- ================== Common filter Configuration ==================== -->
+   <filter>
+      <filter-name>CommonHeadersFilter</filter-name>
+      <filter-class>org.jboss.web.tomcat.filters.ReplyHeaderFilter</filter-class>
+      <init-param>
+         <param-name>X-Powered-By</param-name>
+         <param-value>Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5</param-value>
+      </init-param>
+   </filter>
+
+   <filter-mapping>
+      <filter-name>CommonHeadersFilter</filter-name>
+      <url-pattern>/*</url-pattern>
+   </filter-mapping>
+   
+   <!-- JBAS-4752: This filter should be enabled when authentication cache   -->
+   <!-- must be flushed as soon as the http sessions expire.                 -->
+   
+   <!--
+   <filter>
+      <filter-name>PrincipalSessionAttributeFilter</filter-name>
+      <filter-class>org.jboss.web.tomcat.security.PrincipalSessionAttributeFilter</filter-class>
+   </filter>
+
+   <filter-mapping>
+      <filter-name>PrincipalSessionAttributeFilter</filter-name>
+      <url-pattern>/*</url-pattern>
+   </filter-mapping>
+   -->
+
+   <!-- ================== Common Listener Configuration ==================== -->
+   <listener>
+      <listener-class>org.jboss.web.tomcat.security.SecurityFlushSessionListener</listener-class>
+   </listener>
+
+   <!-- Configures JSF for a web application if the javax.faces.webapp.FacesServlet is declared -->
+   <!-- in web.xml.                                                                             -->
+   <listener>
+     <listener-class>org.jboss.web.jsf.integration.config.JBossJSFConfigureListener</listener-class>
+   </listener>
+
+   <!-- Listens to all web app lifecycle events so that @PreDestroy can be called on -->
+   <!-- JSF managed beans that go out of scope.  You can comment this out if you     -->
+   <!-- don't use JSF or you don't use annotations on your managed beans.            -->
+   <listener>
+     <listener-class>com.sun.faces.application.WebappLifecycleListener</listener-class>
+   </listener>
+
+
+  <!-- ================== Built In Servlet Definitions ==================== -->
+
+
+  <!-- The default servlet for all web applications, that serves static     -->
+  <!-- resources.  It processes all requests that are not mapped to other   -->
+  <!-- servlets with servlet mappings (defined either here or in your own   -->
+  <!-- web.xml file.  This servlet supports the following initialization    -->
+  <!-- parameters (default values are in square brackets):                  -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   fileEncoding        Encoding to be used to read static resources   -->
+  <!--                       [platform default]                             -->
+  <!--                                                                      -->
+  <!--   input               Input buffer size (in bytes) when reading      -->
+  <!--                       resources to be served.  [2048]                -->
+  <!--                                                                      -->
+  <!--   listings            Should directory listings be produced if there -->
+  <!--                       is no welcome file in this directory?  [false] -->
+  <!--                       WARNING: Listings for directories with many    -->
+  <!--                       entries can be slow and may consume            -->
+  <!--                       significant proportions of server resources.   -->
+  <!--                                                                      -->
+  <!--   output              Output buffer size (in bytes) when writing     -->
+  <!--                       resources to be served.  [2048]                -->
+  <!--                                                                      -->
+  <!--   readonly            Is this context "read only", so HTTP           -->
+  <!--                       commands like PUT and DELETE are               -->
+  <!--                       rejected?  [true]                              -->
+  <!--                                                                      -->
+  <!--   readmeFile          File name to display with the directory        -->
+  <!--                       contents. [null]                               -->
+  <!--                                                                      -->
+  <!--   sendfileSize        If the connector used supports sendfile, this  -->
+  <!--                       represents the minimal file size in KB for     -->
+  <!--                       which sendfile will be used. Use a negative    -->
+  <!--                       value to always disable sendfile.  [48]        -->
+  <!--                                                                      -->
+  <!--  For directory listing customization. Checks localXsltFile, then     -->
+  <!--  globalXsltFile, then defaults to original behavior.                 -->
+  <!--                                                                      -->
+  <!--   localXsltFile       Make directory listings an XML doc and         -->
+  <!--                       pass the result to this style sheet residing   -->
+  <!--                       in that directory. This overrides              -->
+  <!--                        globalXsltFile[null]                          -->
+  <!--                                                                      -->
+  <!--   globalXsltFile      Site wide configuration version of             -->
+  <!--                       localXsltFile This argument is expected        -->
+  <!--                       to be a physical file. [null]                  -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+
+    <servlet>
+        <servlet-name>default</servlet-name>
+        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <init-param>
+            <param-name>listings</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+
+  <!-- The "invoker" servlet, which executes anonymous servlet classes      -->
+  <!-- that have not been defined in a web.xml file.  Traditionally, this   -->
+  <!-- servlet is mapped to the URL pattern "/servlet/*", but you can map   -->
+  <!-- it to other patterns as well.  The extra path info portion of such a -->
+  <!-- request must be the fully qualified class name of a Java class that  -->
+  <!-- implements Servlet (or extends HttpServlet), or the servlet name     -->
+  <!-- of an existing servlet definition.     This servlet supports the     -->
+  <!-- following initialization parameters (default values are in square    -->
+  <!-- brackets):                                                           -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+
+<!--
+    <servlet>
+        <servlet-name>invoker</servlet-name>
+        <servlet-class>
+          org.apache.catalina.servlets.InvokerServlet
+        </servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <load-on-startup>2</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- The JSP page compiler and execution servlet, which is the mechanism  -->
+  <!-- used by Tomcat to support JSP pages.  Traditionally, this servlet    -->
+  <!-- is mapped to the URL pattern "*.jsp".  This servlet supports the     -->
+  <!-- following initialization parameters (default values are in square    -->
+  <!-- brackets):                                                           -->
+  <!--                                                                      -->
+  <!--   checkInterval       If development is false and checkInterval is   -->
+  <!--                       greater than zero, background compilations are -->
+  <!--                       enabled. checkInterval is the time in seconds  -->
+  <!--                       between checks to see if a JSP page needs to   -->
+  <!--                       be recompiled. [0]                             -->
+  <!--                                                                      -->
+  <!--   modificationTestInterval                                           -->
+  <!--                       Causes a JSP (and its dependent files) to not  -->
+  <!--                       be checked for modification during the         -->
+  <!--                       specified time interval (in seconds) from the  -->
+  <!--                       last time the JSP was checked for              -->
+  <!--                       modification. A value of 0 will cause the JSP  -->
+  <!--                       to be checked on every access.                 -->
+  <!--                       Used in development mode only. [4]             -->
+  <!--                                                                      -->
+  <!--   compiler            Which compiler Ant should use to compile JSP   -->
+  <!--                       pages.  See the Ant documentation for more     -->
+  <!--                       information.                                   -->
+  <!--                                                                      -->
+  <!--   classdebuginfo      Should the class file be compiled with         -->
+  <!--                       debugging information?  [true]                 -->
+  <!--                                                                      -->
+  <!--   classpath           What class path should I use while compiling   -->
+  <!--                       generated servlets?  [Created dynamically      -->
+  <!--                       based on the current web application]          -->
+  <!--                                                                      -->
+  <!--   development         Is Jasper used in development mode? If true,   -->
+  <!--                       the frequency at which JSPs are checked for    -->
+  <!--                       modification may be specified via the          -->
+  <!--                       modificationTestInterval parameter. [true]     -->
+  <!--                                                                      -->
+  <!--   enablePooling       Determines whether tag handler pooling is      -->
+  <!--                       enabled  [true]                                -->
+  <!--                                                                      -->
+  <!--   fork                Tell Ant to fork compiles of JSP pages so that -->
+  <!--                       a separate JVM is used for JSP page compiles   -->
+  <!--                       from the one Tomcat is running in. [true]      -->
+  <!--                                                                      -->
+  <!--   ieClassId           The class-id value to be sent to Internet      -->
+  <!--                       Explorer when using <jsp:plugin> tags.         -->
+  <!--                       [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93]   -->
+  <!--                                                                      -->
+  <!--   javaEncoding        Java file encoding to use for generating java  -->
+  <!--                       source files. [UTF8]                           -->
+  <!--                                                                      -->
+  <!--   keepgenerated       Should we keep the generated Java source code  -->
+  <!--                       for each page instead of deleting it? [true]   -->
+  <!--                                                                      -->
+  <!--   mappedfile          Should we generate static content with one     -->
+  <!--                       print statement per input line, to ease        -->
+  <!--                       debugging?  [true]                             -->
+  <!--                                                                      -->
+  <!--   trimSpaces          Should white spaces in template text between   -->
+  <!--                       actions or directives be trimmed?  [false]     -->
+  <!--                                                                      -->
+  <!--   suppressSmap        Should the generation of SMAP info for JSR45   -->
+  <!--                       debugging be suppressed?  [false]              -->
+  <!--                                                                      -->
+  <!--   dumpSmap            Should the SMAP info for JSR45 debugging be    -->
+  <!--                       dumped to a file? [false]                      -->
+  <!--                       False if suppressSmap is true                  -->
+  <!--                                                                      -->
+  <!--   genStrAsCharArray   Should text strings be generated as char       -->
+  <!--                       arrays, to improve performance in some cases?  -->
+  <!--                       [false]                                        -->
+  <!--                                                                      -->
+  <!--   errorOnUseBeanInvalidClassAttribute                                -->
+  <!--                       Should Jasper issue an error when the value of -->
+  <!--                       the class attribute in an useBean action is    -->
+  <!--                       not a valid bean class?  [true]                -->
+  <!--                                                                      -->
+  <!--   scratchdir          What scratch directory should we use when      -->
+  <!--                       compiling JSP pages?  [default work directory  -->
+  <!--                       for the current web application]               -->
+  <!--                                                                      -->
+  <!--   xpoweredBy          Determines whether X-Powered-By response       -->
+  <!--                       header is added by generated servlet  [false]  -->
+  <!--                                                                      -->
+  <!--   compilerTargetVM    Compiler target VM                             -->  
+  <!--                       default is System.properties                   -->
+  <!--                        java.specification.version > 1.4              -->
+  <!--                        [1.5] else [1.4]                              -->
+  <!--                                                                      -->
+  <!--   compilerSourceVM    Compiler source VM                             -->
+  <!--                       default is System.properties                   -->
+  <!--                        java.specification.version > 1.4              -->
+  <!--                        [1.5] else [1.4]                              -->
+  <!--                                                                      -->
+  <!-- If you wish to use Jikes to compile JSP pages:                       -->
+  <!--   Please see the "Using Jikes" section of the Jasper-HowTo           -->
+  <!--   page in the Tomcat documentation.                                  -->
+
+    <servlet>
+        <servlet-name>jsp</servlet-name>
+        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
+        <init-param>
+            <param-name>fork</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <init-param>
+            <param-name>xpoweredBy</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <init-param>
+         <param-name>compilerSourceVM</param-name>
+         <param-value>1.5</param-value>
+        </init-param>
+        <!-- Use a custom options class to allow the shared tag lib descriptors
+         to be loaded from jars in the tomcat sar conf/tlds directory. The
+         standard options implementation can only find taglibs based on the
+         class loader classpath.
+        -->
+        <init-param>
+           <param-name>engineOptionsClass</param-name>
+           <param-value>org.jboss.web.tomcat.service.jasper.JspServletOptions</param-value>
+        </init-param>
+        <!-- Specify the jars relative to the jbossweb-tomcat6.sar that should
+          be scanned for common tag lib descriptors to include in every war
+          deployment.
+        -->
+        <init-param>
+           <description>JSF standard tlds</description>
+           <param-name>tagLibJar0</param-name>
+           <param-value>jsf-libs/jsf-impl.jar</param-value>
+        </init-param>
+        <init-param>
+           <description>JSTL standard tlds</description>
+           <param-name>tagLibJar1</param-name>
+           <param-value>jstl.jar</param-value>
+        </init-param>
+
+        <load-on-startup>3</load-on-startup>
+    </servlet>
+
+
+  <!-- NOTE: An SSI Filter is also available as an alternative SSI          -->
+  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
+  <!--                                                                      -->
+  <!-- Server Side Includes processing servlet, which processes SSI         -->
+  <!-- directives in HTML pages consistent with similar support in web      -->
+  <!-- servers like Apache.  Traditionally, this servlet is mapped to the   -->
+  <!-- URL pattern "*.shtml".  This servlet supports the following          -->
+  <!-- initialization parameters (default values are in square brackets):   -->
+  <!--                                                                      -->
+  <!--   buffered            Should output from this servlet be buffered?   -->
+  <!--                       (0=false, 1=true)  [0]                         -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   expires             The number of seconds before a page with SSI   -->
+  <!--                       directives will expire.  [No default]          -->
+  <!--                                                                      -->
+  <!--   isVirtualWebappRelative                                            -->
+  <!--                       Should "virtual" paths be interpreted as       -->
+  <!--                       relative to the context root, instead of       -->
+  <!--                       the server root?  (0=false, 1=true) [0]        -->
+  <!--                                                                      -->
+  <!--   inputEncoding       The encoding to assume for SSI resources if    -->
+  <!--                       one is not available from the resource.        -->
+  <!--                       [Platform default]                             -->
+  <!--                                                                      -->
+  <!--   outputEncoding      The encoding to use for the page that results  -->
+  <!--                       from the SSI processing. [UTF-8]               -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the SSI servlet, you also need to rename the       -->
+  <!--            $CATALINA_HOME/server/lib/servlets-ssi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-ssi.jar             -->
+
+<!--
+    <servlet>
+        <servlet-name>ssi</servlet-name>
+        <servlet-class>
+          org.apache.catalina.ssi.SSIServlet
+        </servlet-class>
+        <init-param>
+          <param-name>buffered</param-name>
+          <param-value>1</param-value>
+        </init-param>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>expires</param-name>
+          <param-value>666</param-value>
+        </init-param>
+        <init-param>
+          <param-name>isVirtualWebappRelative</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <load-on-startup>4</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- Common Gateway Includes (CGI) processing servlet, which supports     -->
+  <!-- execution of external applications that conform to the CGI spec      -->
+  <!-- requirements.  Typically, this servlet is mapped to the URL pattern  -->
+  <!-- "/cgi-bin/*", which means that any CGI applications that are         -->
+  <!-- executed must be present within the web application.  This servlet   -->
+  <!-- supports the following initialization parameters (default values     -->
+  <!-- are in square brackets):                                             -->
+  <!--                                                                      -->
+  <!--   cgiPathPrefix        The CGI search path will start at             -->
+  <!--                        webAppRootDir + File.separator + this prefix. -->
+  <!--                        [WEB-INF/cgi]                                 -->
+  <!--                                                                      -->
+  <!--   debug                Debugging detail level for messages logged    -->
+  <!--                        by this servlet.  [0]                         -->
+  <!--                                                                      -->
+  <!--   executable           Name of the exectuable used to run the        -->
+  <!--                        script. [perl]                                -->
+  <!--                                                                      -->
+  <!--   parameterEncoding    Name of parameter encoding to be used with    -->
+  <!--                        CGI servlet.                                  -->
+  <!--                        [System.getProperty("file.encoding","UTF-8")] -->
+  <!--                                                                      -->
+  <!--   passShellEnvironment Should the shell environment variables (if    -->
+  <!--                        any) be passed to the CGI script? [false]     -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the CGI servlet, you also need to rename the       -->
+  <!--            $CATALINA_HOME/server/lib/servlets-cgi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-cgi.jar             -->
+
+<!--
+    <servlet>
+        <servlet-name>cgi</servlet-name>
+        <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>cgiPathPrefix</param-name>
+          <param-value>WEB-INF/cgi</param-value>
+        </init-param>
+         <load-on-startup>5</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- ================ Built In Servlet Mappings ========================= -->
+
+
+  <!-- The servlet mappings for the built in servlets defined above.  Note  -->
+  <!-- that, by default, the CGI and SSI servlets are *not* mapped.  You    -->
+  <!-- must uncomment these mappings (or add them to your application's own -->
+  <!-- web.xml deployment descriptor) to enable these services              -->
+
+    <!-- The mapping for the default servlet -->
+    <servlet-mapping>
+        <servlet-name>default</servlet-name>
+        <url-pattern>/</url-pattern>
+    </servlet-mapping>
+
+    <!-- The mapping for the invoker servlet -->
+<!--
+    <servlet-mapping>
+        <servlet-name>invoker</servlet-name>
+        <url-pattern>/servlet/*</url-pattern>
+    </servlet-mapping>
+-->
+
+    <!-- The mapping for the JSP servlet -->
+    <servlet-mapping>
+        <servlet-name>jsp</servlet-name>
+        <url-pattern>*.jsp</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>jsp</servlet-name>
+        <url-pattern>*.jspx</url-pattern>
+    </servlet-mapping>
+
+    <!-- The mapping for the SSI servlet -->
+<!--
+    <servlet-mapping>
+        <servlet-name>ssi</servlet-name>
+        <url-pattern>*.shtml</url-pattern>
+    </servlet-mapping>
+-->
+
+    <!-- The mapping for the CGI Gateway servlet -->
+
+<!--
+    <servlet-mapping>
+        <servlet-name>cgi</servlet-name>
+        <url-pattern>/cgi-bin/*</url-pattern>
+    </servlet-mapping>
+-->
+
+
+  <!-- ================== Built In Filter Definitions ===================== -->
+
+  <!-- NOTE: An SSI Servlet is also available as an alternative SSI         -->
+  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
+  <!--                                                                      -->
+  <!-- Server Side Includes processing filter, which processes SSI          -->
+  <!-- directives in HTML pages consistent with similar support in web      -->
+  <!-- servers like Apache.  Traditionally, this filter is mapped to the    -->
+  <!-- URL pattern "*.shtml", though it can be mapped to "*" as it will     -->
+  <!-- selectively enable/disable SSI processing based on mime types. For   -->
+  <!-- this to work you will need to uncomment the .shtml mime type         -->
+  <!-- definition towards the bottom of this file.                          -->
+  <!-- The contentType init param allows you to apply SSI processing to JSP -->
+  <!-- pages, javascript, or any other content you wish.  This filter       -->
+  <!-- supports the following initialization parameters (default values are -->
+  <!-- in square brackets):                                                 -->
+  <!--                                                                      -->
+  <!--   contentType         A regex pattern that must be matched before    -->
+  <!--                       SSI processing is applied.                     -->
+  <!--                       [text/x-server-parsed-html(;.*)?]              -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   expires             The number of seconds before a page with SSI   -->
+  <!--                       directives will expire.  [No default]          -->
+  <!--                                                                      -->
+  <!--   isVirtualWebappRelative                                            -->
+  <!--                       Should "virtual" paths be interpreted as       -->
+  <!--                       relative to the context root, instead of       -->
+  <!--                       the server root?  (0=false, 1=true) [0]        -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the SSI filter, you also need to rename the        -->
+  <!--            $CATALINA_HOME/server/lib/servlets-ssi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-ssi.jar             -->
+
+<!--
+    <filter>
+        <filter-name>ssi</filter-name>
+        <filter-class>
+          org.apache.catalina.ssi.SSIFilter
+        </filter-class>
+        <init-param>
+          <param-name>contentType</param-name>
+          <param-value>text/x-server-parsed-html(;.*)?</param-value>
+        </init-param>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>expires</param-name>
+          <param-value>666</param-value>
+        </init-param>
+        <init-param>
+          <param-name>isVirtualWebappRelative</param-name>
+          <param-value>0</param-value>
+        </init-param>
+    </filter>
+-->
+
+
+  <!-- ==================== Built In Filter Mappings ====================== -->
+
+  <!-- The mapping for the SSI Filter -->
+<!--
+    <filter-mapping>
+        <filter-name>ssi</filter-name>
+        <url-pattern>*.shtml</url-pattern>
+    </filter-mapping>
+-->
+
+
+  <!-- ==================== Default Session Configuration ================= -->
+  <!-- You can set the default session timeout (in minutes) for all newly   -->
+  <!-- created sessions by modifying the value below.                       -->
+
+    <session-config>
+        <session-timeout>30</session-timeout>
+    </session-config>
+
+
+  <!-- ===================== Default MIME Type Mappings =================== -->
+  <!-- When serving static resources, Tomcat will automatically generate    -->
+  <!-- a "Content-Type" header based on the resource's filename extension,  -->
+  <!-- based on these mappings.  Additional mappings can be added here (to  -->
+  <!-- apply to all web applications), or in your own application's web.xml -->
+  <!-- deployment descriptor.                                               -->
+
+    <mime-mapping>
+        <extension>abs</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ai</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aif</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aifc</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aiff</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aim</extension>
+        <mime-type>application/x-aim</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>art</extension>
+        <mime-type>image/x-jg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>asf</extension>
+        <mime-type>video/x-ms-asf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>asx</extension>
+        <mime-type>video/x-ms-asf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>au</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>avi</extension>
+        <mime-type>video/x-msvideo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>avx</extension>
+        <mime-type>video/x-rad-screenplay</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bcpio</extension>
+        <mime-type>application/x-bcpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bin</extension>
+        <mime-type>application/octet-stream</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bmp</extension>
+        <mime-type>image/bmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>body</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cdf</extension>
+        <mime-type>application/x-cdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cer</extension>
+        <mime-type>application/x-x509-ca-cert</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>class</extension>
+        <mime-type>application/java</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cpio</extension>
+        <mime-type>application/x-cpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>csh</extension>
+        <mime-type>application/x-csh</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>css</extension>
+        <mime-type>text/css</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dib</extension>
+        <mime-type>image/bmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>doc</extension>
+        <mime-type>application/msword</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dtd</extension>
+        <mime-type>application/xml-dtd</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dv</extension>
+        <mime-type>video/x-dv</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dvi</extension>
+        <mime-type>application/x-dvi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>eps</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>etx</extension>
+        <mime-type>text/x-setext</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>exe</extension>
+        <mime-type>application/octet-stream</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gif</extension>
+        <mime-type>image/gif</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gtar</extension>
+        <mime-type>application/x-gtar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gz</extension>
+        <mime-type>application/x-gzip</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hdf</extension>
+        <mime-type>application/x-hdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hqx</extension>
+        <mime-type>application/mac-binhex40</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>htc</extension>
+        <mime-type>text/x-component</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>htm</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>html</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hqx</extension>
+        <mime-type>application/mac-binhex40</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ief</extension>
+        <mime-type>image/ief</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jad</extension>
+        <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jar</extension>
+        <mime-type>application/java-archive</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>java</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jnlp</extension>
+        <mime-type>application/x-java-jnlp-file</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpe</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpeg</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpg</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>js</extension>
+        <mime-type>text/javascript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jsf</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jspf</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>kar</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>latex</extension>
+        <mime-type>application/x-latex</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>m3u</extension>
+        <mime-type>audio/x-mpegurl</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mac</extension>
+        <mime-type>image/x-macpaint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>man</extension>
+        <mime-type>application/x-troff-man</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mathml</extension>
+        <mime-type>application/mathml+xml</mime-type> 
+    </mime-mapping>
+    <mime-mapping>
+        <extension>me</extension>
+        <mime-type>application/x-troff-me</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mid</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>midi</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mif</extension>
+        <mime-type>application/x-mif</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mov</extension>
+        <mime-type>video/quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>movie</extension>
+        <mime-type>video/x-sgi-movie</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp1</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp2</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp3</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpa</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpe</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpeg</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpega</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpg</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpv2</extension>
+        <mime-type>video/mpeg2</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ms</extension>
+        <mime-type>application/x-wais-source</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>nc</extension>
+        <mime-type>application/x-netcdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>oda</extension>
+        <mime-type>application/oda</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Database -->
+        <extension>odb</extension>
+        <mime-type>application/vnd.oasis.opendocument.database</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Chart -->
+        <extension>odc</extension>
+        <mime-type>application/vnd.oasis.opendocument.chart</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Formula -->
+        <extension>odf</extension>
+        <mime-type>application/vnd.oasis.opendocument.formula</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Drawing -->
+        <extension>odg</extension>
+        <mime-type>application/vnd.oasis.opendocument.graphics</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Image -->
+        <extension>odi</extension>
+        <mime-type>application/vnd.oasis.opendocument.image</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Master Document -->
+        <extension>odm</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-master</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Presentation -->
+        <extension>odp</extension>
+        <mime-type>application/vnd.oasis.opendocument.presentation</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Spreadsheet -->
+        <extension>ods</extension>
+        <mime-type>application/vnd.oasis.opendocument.spreadsheet</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Text -->
+        <extension>odt</extension>
+        <mime-type>application/vnd.oasis.opendocument.text</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ogg</extension>
+        <mime-type>application/ogg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Drawing Template -->
+        <extension>otg </extension>
+        <mime-type>application/vnd.oasis.opendocument.graphics-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- HTML Document Template -->
+        <extension>oth</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-web</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Presentation Template -->
+        <extension>otp</extension>
+        <mime-type>application/vnd.oasis.opendocument.presentation-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Spreadsheet Template -->
+        <extension>ots</extension>
+        <mime-type>application/vnd.oasis.opendocument.spreadsheet-template </mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Text Template -->
+        <extension>ott</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pbm</extension>
+        <mime-type>image/x-portable-bitmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pct</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pdf</extension>
+        <mime-type>application/pdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pgm</extension>
+        <mime-type>image/x-portable-graymap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pic</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pict</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pls</extension>
+        <mime-type>audio/x-scpls</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>png</extension>
+        <mime-type>image/png</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pnm</extension>
+        <mime-type>image/x-portable-anymap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pnt</extension>
+        <mime-type>image/x-macpaint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppm</extension>
+        <mime-type>image/x-portable-pixmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppt</extension>
+        <mime-type>application/powerpoint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ps</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>psd</extension>
+        <mime-type>image/x-photoshop</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qt</extension>
+        <mime-type>video/quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qti</extension>
+        <mime-type>image/x-quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qtif</extension>
+        <mime-type>image/x-quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ras</extension>
+        <mime-type>image/x-cmu-raster</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rdf</extension>
+        <mime-type>application/rdf+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rgb</extension>
+        <mime-type>image/x-rgb</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rm</extension>
+        <mime-type>application/vnd.rn-realmedia</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>roff</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rtf</extension>
+        <mime-type>application/rtf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rtx</extension>
+        <mime-type>text/richtext</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sh</extension>
+        <mime-type>application/x-sh</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>shar</extension>
+        <mime-type>application/x-shar</mime-type>
+    </mime-mapping>
+<!--
+    <mime-mapping>
+        <extension>shtml</extension>
+        <mime-type>text/x-server-parsed-html</mime-type>
+    </mime-mapping>
+-->
+    <mime-mapping>
+        <extension>smf</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sit</extension>
+        <mime-type>application/x-stuffit</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>snd</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>src</extension>
+        <mime-type>application/x-wais-source</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sv4cpio</extension>
+        <mime-type>application/x-sv4cpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sv4crc</extension>
+        <mime-type>application/x-sv4crc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>swf</extension>
+        <mime-type>application/x-shockwave-flash</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>t</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tar</extension>
+        <mime-type>application/x-tar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tcl</extension>
+        <mime-type>application/x-tcl</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tex</extension>
+        <mime-type>application/x-tex</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>texi</extension>
+        <mime-type>application/x-texinfo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>texinfo</extension>
+        <mime-type>application/x-texinfo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tif</extension>
+        <mime-type>image/tiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tiff</extension>
+        <mime-type>image/tiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tr</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tsv</extension>
+        <mime-type>text/tab-separated-values</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>txt</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ulw</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ustar</extension>
+        <mime-type>application/x-ustar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>vxml</extension>
+        <mime-type>application/voicexml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xbm</extension>
+        <mime-type>image/x-xbitmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xht</extension>
+        <mime-type>application/xhtml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xhtml</extension>
+        <mime-type>application/xhtml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xml</extension>
+        <mime-type>application/xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xpm</extension>
+        <mime-type>image/x-xpixmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xsl</extension>
+        <mime-type>application/xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xslt</extension>
+        <mime-type>application/xslt+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xul</extension>
+        <mime-type>application/vnd.mozilla.xul+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xwd</extension>
+        <mime-type>image/x-xwindowdump</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>wav</extension>
+        <mime-type>audio/x-wav</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>svg</extension>
+        <mime-type>image/svg+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>svgz</extension>
+        <mime-type>image/svg+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>vsd</extension>
+        <mime-type>application/x-visio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Wireless Bitmap -->
+        <extension>wbmp</extension>
+        <mime-type>image/vnd.wap.wbmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- WML Source -->
+        <extension>wml</extension>
+        <mime-type>text/vnd.wap.wml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Compiled WML -->
+        <extension>wmlc</extension>
+        <mime-type>application/vnd.wap.wmlc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- WML Script Source -->
+        <extension>wmls</extension>
+        <mime-type>text/vnd.wap.wmlscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Compiled WML Script -->
+        <extension>wmlscriptc</extension>
+        <mime-type>application/vnd.wap.wmlscriptc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>wrl</extension>
+        <mime-type>x-world/x-vrml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>Z</extension>
+        <mime-type>application/x-compress</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>z</extension>
+        <mime-type>application/x-compress</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>zip</extension>
+        <mime-type>application/zip</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xls</extension>
+        <mime-type>application/vnd.ms-excel</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>doc</extension>
+        <mime-type>application/vnd.ms-word</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppt</extension>
+        <mime-type>application/vnd.ms-powerpoint</mime-type>
+    </mime-mapping>
+
+  <!-- ==================== Default Welcome File List ===================== -->
+  <!-- When a request URI refers to a directory, the default servlet looks  -->
+  <!-- for a "welcome file" within that directory and, if present,          -->
+  <!-- to the corresponding resource URI for display.  If no welcome file   -->
+  <!-- is present, the default servlet either serves a directory listing,   -->
+  <!-- or returns a 404 status, depending on how it is configured.          -->
+  <!--                                                                      -->
+  <!-- If you define welcome files in your own application's web.xml        -->
+  <!-- deployment descriptor, that list *replaces* the list configured      -->
+  <!-- here, so be sure that you include any of the default values that     -->
+  <!-- you wish to include.                                                 -->
+
+    <welcome-file-list>
+        <welcome-file>index.html</welcome-file>
+        <welcome-file>index.htm</welcome-file>
+        <welcome-file>index.jsp</welcome-file>
+    </welcome-file-list>
+
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/context.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/context.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/context.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+<!-- The contents of this file will be loaded for each web application -->
+<Context cookies="true" crossContext="true">
+   <!-- Session persistence is disable by default. To enable for all web
+   apps set the pathname to a non-empty value:
+   <Manager pathname="SESSIONS.ser" />
+
+   To enable session persistence for a single web app, add a
+   WEB-INF/context.xml 
+   -->
+   <Manager pathname="" />
+
+   <!-- Install an InstanceListener to handle the establishment of the run-as
+   role for servlet init/destroy events.
+   -->
+   <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
+   
+</Context>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jasper-jdt.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jasper-jdt.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jbossweb-extras.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jbossweb-extras.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jbossweb-service.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jbossweb-service.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jbossweb.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jbossweb.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jsf-libs/jboss-faces.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jsf-libs/jboss-faces.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jsf-libs/jsf-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jsf-libs/jsf-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jsf-libs/jsf-impl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jsf-libs/jsf-impl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jstl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/jstl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/server.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/server.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-web.deployer/server.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,167 @@
+<Server>
+
+  <!--APR library loader. Documentation at /docs/apr.html -->
+  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
+  <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
+  <Listener className="org.apache.catalina.core.JasperListener" />
+
+   <!-- Use a custom version of StandardService that allows the
+   connectors to be started independent of the normal lifecycle
+   start to allow web apps to be deployed before starting the
+   connectors.
+   -->
+   <Service name="jboss.web">
+
+    <!-- A "Connector" represents an endpoint by which requests are received
+         and responses are returned. Documentation at :
+         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
+         Java AJP  Connector: /docs/config/ajp.html
+         APR (HTTP/AJP) Connector: /docs/apr.html
+         Define a non-SSL HTTP/1.1 Connector on port 8080
+    -->
+    <Connector port="8080" address="${jboss.bind.address}"    
+         maxThreads="250" maxHttpHeaderSize="8192"
+         emptySessionPath="true" protocol="HTTP/1.1"
+         enableLookups="false" redirectPort="8443" acceptCount="100"
+         connectionTimeout="20000" disableUploadTimeout="true" />
+
+    <!-- Define a SSL HTTP/1.1 Connector on port 8443
+         This connector uses the JSSE configuration, when using APR, the 
+         connector should be using the OpenSSL style configuration
+         described in the APR documentation -->
+    <!--
+    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
+               maxThreads="150" scheme="https" secure="true"
+               clientAuth="false" sslProtocol="TLS" />
+    -->
+
+    <!-- Define an AJP 1.3 Connector on port 8009 -->
+    <Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"
+         emptySessionPath="true" enableLookups="false" redirectPort="8443" />
+
+      <Engine name="jboss.web" defaultHost="localhost">
+
+         <!-- The JAAS based authentication and authorization realm implementation
+         that is compatible with the jboss 3.2.x realm implementation.
+         - certificatePrincipal : the class name of the
+         org.jboss.security.auth.certs.CertificatePrincipal impl
+         used for mapping X509[] cert chains to a Princpal.
+         - allRolesMode : how to handle an auth-constraint with a role-name=*,
+         one of strict, authOnly, strictAuthOnly
+           + strict = Use the strict servlet spec interpretation which requires
+           that the user have one of the web-app/security-role/role-name
+           + authOnly = Allow any authenticated user
+           + strictAuthOnly = Allow any authenticated user only if there are no
+           web-app/security-roles
+         -->
+         <Realm className="org.jboss.web.tomcat.security.JBossSecurityMgrRealm"
+            certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
+            allRolesMode="authOnly"
+            />
+         <!-- A subclass of JBossSecurityMgrRealm that uses the authentication
+         behavior of JBossSecurityMgrRealm, but overrides the authorization
+         checks to use JACC permissions with the current java.security.Policy
+         to determine authorized access.
+         - allRolesMode : how to handle an auth-constraint with a role-name=*,
+         one of strict, authOnly, strictAuthOnly
+           + strict = Use the strict servlet spec interpretation which requires
+           that the user have one of the web-app/security-role/role-name
+           + authOnly = Allow any authenticated user
+           + strictAuthOnly = Allow any authenticated user only if there are no
+           web-app/security-roles
+         <Realm className="org.jboss.web.tomcat.security.JaccAuthorizationRealm"
+            certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
+            allRolesMode="authOnly"
+            />
+         -->
+
+        <Host name="localhost"
+           autoDeploy="false" deployOnStartup="false" deployXML="false"
+           configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
+           >
+
+            <!-- Uncomment to enable request dumper. This Valve "logs interesting 
+                 contents from the specified Request (before processing) and the 
+                 corresponding Response (after processing). It is especially useful 
+                 in debugging problems related to headers and cookies."
+            -->
+            <!--
+            <Valve className="org.apache.catalina.valves.RequestDumperValve" />
+            -->
+ 
+            <!-- Access logger -->
+            <!--
+            <Valve className="org.apache.catalina.valves.AccessLogValve"
+                prefix="localhost_access_log." suffix=".log"
+                pattern="common" directory="${jboss.server.home.dir}/log" 
+                resolveHosts="false" />
+            -->
+
+            <!-- Uncomment to enable single sign-on across web apps
+                deployed to this host. Does not provide SSO across a cluster.     
+            
+                If this valve is used, do not use the JBoss ClusteredSingleSignOn 
+                valve shown below. 
+                
+                A new configuration attribute is available beginning with
+                release 4.0.4:
+                
+                cookieDomain  configures the domain to which the SSO cookie
+                              will be scoped (i.e. the set of hosts to
+                              which the cookie will be presented).  By default
+                              the cookie is scoped to "/", meaning the host
+                              that presented it.  Set cookieDomain to a
+                              wider domain (e.g. "xyz.com") to allow an SSO
+                              to span more than one hostname.
+             -->
+            <!--
+            <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
+            -->
+
+            <!-- Uncomment to enable single sign-on across web apps
+               deployed to this host AND to all other hosts in the cluster.
+            
+               If this valve is used, do not use the standard Tomcat SingleSignOn
+               valve shown above.
+            
+               Valve uses a JBossCache instance to support SSO credential 
+               caching and replication across the cluster.  The JBossCache 
+               instance must be configured separately.  By default, the valve 
+               shares a JBossCache with the service that supports HttpSession 
+               replication.  See the "jboss-web-cluster-service.xml" file in the 
+               server/all/deploy directory for cache configuration details.
+            
+               Besides the attributes supported by the standard Tomcat
+               SingleSignOn valve (see the Tomcat docs), this version also 
+               supports the following attributes:
+            
+               cookieDomain   see above
+            
+               treeCacheName  JMX ObjectName of the JBossCache MBean used to 
+                              support credential caching and replication across
+                              the cluster. If not set, the default value is 
+                              "jboss.cache:service=TomcatClusteringCache", the 
+                              standard ObjectName of the JBossCache MBean used 
+                              to support session replication.
+            -->
+            <!--
+            <Valve className="org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn" />
+            -->
+         
+            <!-- Check for unclosed connections and transaction terminated checks
+                 in servlets/jsps.
+                 
+                 Important: The dependency on the CachedConnectionManager
+                 in META-INF/jboss-service.xml must be uncommented, too
+            -->
+            <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"
+                cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"
+                transactionManagerObjectName="jboss:service=TransactionManager" />
+
+         </Host>
+
+      </Engine>
+
+   </Service>
+
+</Server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-xa-jdbc.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jboss-xa-jdbc.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossjca-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossjca-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossjca-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss JCA Configuration                                              -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: jbossjca-service.xml 37786 2005-11-02 20:35:46Z adrian $ -->
+
+<!-- 
+   |  This contains configuration for the RARDeployer 
+      and some xsl based deployers.
+ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- JBossCX setup, for J2EE connector architecture support               -->
+  <!-- The RARDeployer is needed only until xslt based deployment is written.-->
+  <!-- ==================================================================== -->
+
+  <mbean code="org.jboss.util.threadpool.BasicThreadPool"
+         name="jboss.jca:service=WorkManagerThreadPool">
+     <!-- The name that appears in thread names -->
+     <attribute name="Name">WorkManager</attribute>
+     <!-- The maximum amount of work in the queue -->
+     <attribute name="MaximumQueueSize">1024</attribute>
+     <!-- The maximum number of active threads -->
+     <attribute name="MaximumPoolSize">100</attribute>
+     <!-- How long to keep threads alive after their last work (default one minute) -->
+     <attribute name="KeepAliveTime">60000</attribute>
+  </mbean>
+
+  <mbean code="org.jboss.resource.work.JBossWorkManager"
+         name="jboss.jca:service=WorkManager">
+     <depends optional-attribute-name="ThreadPoolName">jboss.jca:service=WorkManagerThreadPool</depends>
+     <depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.resource.deployment.RARDeployer" 
+	      name="jboss.jca:service=RARDeployer">
+	  <depends optional-attribute-name="WorkManagerName">jboss.jca:service=WorkManager</depends>
+     <depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.deployment.XSLSubDeployer" name="jboss.jca:service=ConnectionFactoryDeployer">
+    <attribute name="DdSuffix">-ds.xml</attribute>
+    <attribute name="EnhancedSuffixes">300:-ds.xml</attribute>
+    <attribute name="XslUrl">stylesheets/ConnectionFactoryTemplate.xsl</attribute>
+    <attribute name="ValidateDTDs">false</attribute>
+  </mbean>
+
+  <!-- 
+     | The CachedConnectionManager is used partly to relay started UserTransactions to 
+     | open connections so they may be enrolled in the new tx.
+   -->
+  <mbean code="org.jboss.resource.connectionmanager.CachedConnectionManager" 
+         name="jboss.jca:service=CachedConnectionManager">
+    <depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
+
+    <!-- Enable connection close debug monitoring -->
+    <attribute name="Debug">true</attribute>
+
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+Manifest-Version: 1.2
+Ant-Version: Apache Ant 1.6.5
+Created-By: 1.5.0_12-b04 (Sun Microsystems Inc.)
+Specification-Title: JBossWS
+Specification-Version: jbossws-2.0
+Specification-Vendor: JBoss (http://www.jboss.org)
+Implementation-Title: JBoss Web Services - Native
+Implementation-URL: http://www.jboss.org/products/jbossws
+Implementation-Version: jbossws-native-2.0.1.SP2 (build=200710210837)
+Implementation-Vendor: JBoss Inc.
+Implementation-Vendor-Id: http://www.jboss.org
+Class-Path: jbossws-spi.jar jbossws-common.jar jbossws-framework.jar j
+ boss-jaxrpc.jar jboss-jaxws.jar jboss-saaj.jar  activation.jar common
+ s-logging.jar concurrent.jar javassist.jar jaxb-api.jar jaxb-impl.jar
+   mail.jar jboss-remoting.jar jboss-xml-binding.jar policy.jar stax-a
+ pi.jar wsdl4j.jar
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-service.xml 3884 2007-07-13 15:42:07Z thomas.diesler at jboss.com $ -->
+
+<server>
+
+   <!--
+     A deployer service for JSE endpoints.
+   -->
+   <mbean name="jboss.ws:service=DeployerInterceptorJSE" code="org.jboss.wsf.container.jboss42.DeployerInterceptorJSE">
+      <depends-list optional-attribute-name="Interceptables">
+         <depends-list-element>jboss.web:service=WebServer</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!--
+     A deployer service for EJB2.1 endpoints.
+   -->
+   <mbean name="jboss.ws:service=DeployerInterceptorEJB21" code="org.jboss.wsf.container.jboss42.DeployerInterceptorEJB21">
+      <depends-list optional-attribute-name="Interceptables">
+         <depends-list-element>jboss.ejb:service=EJBDeployer</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!--
+     A deployer service for EJB3 endpoints.
+   -->
+   <mbean name="jboss.ws:service=DeployerInterceptorEJB3" code="org.jboss.wsf.container.jboss42.DeployerInterceptorEJB3">
+      <depends-list optional-attribute-name="Interceptables">
+         <depends-list-element>jboss.ejb3:service=EJB3Deployer</depends-list-element>
+      </depends-list>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxrpc-client-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxrpc-client-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxrpc-client-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: standard-jaxrpc-client-config.xml 3803 2007-07-05 17:20:58Z thomas.diesler at jboss.com $ -->
+
+<jaxrpc-config xmlns="urn:jboss:jaxrpc-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+  xsi:schemaLocation="urn:jboss:jaxrpc-config:2.0 jaxrpc-config_2_0.xsd">
+  
+  <client-config>
+    <config-name>Standard Client</config-name>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard MTOM client</config-name>
+    <feature>http://org.jboss.ws/mtom</feature>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard WSAddressing Client</config-name>
+    <post-handler-chain>
+      <handler-chain-name>WSAddressing Handlers</handler-chain-name>
+      <handler>
+        <j2ee:handler-name>WSAddressingClientHandler</j2ee:handler-name>
+        <j2ee:handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingClientHandler</j2ee:handler-class>
+      </handler>
+    </post-handler-chain>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard WSSecurity Client</config-name>
+    <post-handler-chain>
+      <handler-chain-name>WSSecurity Handlers</handler-chain-name>
+      <handler>
+        <j2ee:handler-name>WSSecurityHandlerOutbound</j2ee:handler-name>
+        <j2ee:handler-class>org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerOutbound</j2ee:handler-class>
+      </handler>
+    </post-handler-chain>
+  </client-config>
+  
+</jaxrpc-config>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxrpc-endpoint-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxrpc-endpoint-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxrpc-endpoint-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: standard-jaxrpc-endpoint-config.xml 3803 2007-07-05 17:20:58Z thomas.diesler at jboss.com $ -->
+
+<jaxrpc-config xmlns="urn:jboss:jaxrpc-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+  xsi:schemaLocation="urn:jboss:jaxrpc-config:2.0 jaxrpc-config_2_0.xsd">
+  
+  <endpoint-config>
+    <config-name>Standard Endpoint</config-name>
+  </endpoint-config>
+  
+  <endpoint-config>
+    <config-name>Standard MTOM Endpoint</config-name>
+    <feature>http://org.jboss.ws/mtom</feature>
+  </endpoint-config>
+  
+  <endpoint-config>
+    <config-name>Standard WSAddressing Endpoint</config-name>
+    <pre-handler-chain>
+      <handler-chain-name>WSAddressing Handlers</handler-chain-name>
+      <handler>
+        <j2ee:handler-name>WSAddressing Handler</j2ee:handler-name>
+        <j2ee:handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingServerHandler</j2ee:handler-class>
+      </handler>
+    </pre-handler-chain>
+  </endpoint-config>
+  
+  <endpoint-config>
+    <config-name>Standard WSSecurity Endpoint</config-name>
+    <pre-handler-chain>
+      <handler-chain-name>WSSecurity Handlers</handler-chain-name>
+      <handler>
+        <j2ee:handler-name>WSSecurityHandlerInbound</j2ee:handler-name>
+        <j2ee:handler-class>org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerInbound</j2ee:handler-class>
+      </handler>
+    </pre-handler-chain>
+  </endpoint-config>
+  
+</jaxrpc-config>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: standard-jaxws-client-config.xml 3803 2007-07-05 17:20:58Z thomas.diesler at jboss.com $ -->
+
+<jaxws-config xmlns="urn:jboss:jaxws-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+  xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
+  
+  <client-config>
+    <config-name>Standard Client</config-name>
+    <feature>http://org.jboss.ws/dispatch/validate</feature>
+    <property>
+      <property-name>http://org.jboss.ws/http#chunksize</property-name>
+      <property-value>2048</property-value>
+    </property>
+  </client-config>
+  
+  <client-config>
+    <config-name>HTTP 1.0 Client</config-name>
+    <feature>http://org.jboss.ws/dispatch/validate</feature>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard WSAddressing Client</config-name>
+    <post-handler-chains>
+      <javaee:handler-chain>
+        <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+        <javaee:handler>
+          <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+          <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
+        </javaee:handler>
+      </javaee:handler-chain>
+    </post-handler-chains>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard WSSecurity Client</config-name>
+    <post-handler-chains>
+      <javaee:handler-chain>
+        <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+        <javaee:handler>
+          <javaee:handler-name>WSSecurityHandlerOutbound</javaee:handler-name>
+          <javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient</javaee:handler-class>
+        </javaee:handler>
+      </javaee:handler-chain>
+    </post-handler-chains>
+  </client-config>
+  
+</jaxws-config>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: standard-jaxws-endpoint-config.xml 3803 2007-07-05 17:20:58Z thomas.diesler at jboss.com $ -->
+
+<jaxws-config xmlns="urn:jboss:jaxws-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+  xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
+  
+  <endpoint-config>
+    <config-name>Standard Endpoint</config-name>
+  </endpoint-config>
+  
+  <!--
+    Generates message part names 'parameters' in WSDL for document/literal/wapped.
+    See: [JBWS-771] Use part names that are friendly to .NET
+  -->
+  <endpoint-config>
+    <config-name>.NET friendly Endpoint</config-name>
+    <feature>http://org.jboss.ws/binding/wsdl/dotnet</feature>
+  </endpoint-config>
+  
+  <endpoint-config>
+    <config-name>Standard WSAddressing Endpoint</config-name>
+    <post-handler-chains>
+      <javaee:handler-chain>
+        <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+        <javaee:handler>
+          <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+          <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler</javaee:handler-class>
+        </javaee:handler>
+      </javaee:handler-chain>
+    </post-handler-chains>
+  </endpoint-config>
+  
+  <endpoint-config>
+    <config-name>Standard WSSecurity Endpoint</config-name>
+    <post-handler-chains>
+      <javaee:handler-chain>
+        <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+        <javaee:handler>
+          <javaee:handler-name>WSSecurity Handler</javaee:handler-name>
+          <javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer</javaee:handler-class>
+        </javaee:handler>
+      </javaee:handler-chain>
+    </post-handler-chains>
+  </endpoint-config>
+  
+</jaxws-config>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jaxb-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jaxb-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jaxb-impl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jaxb-impl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-jaxb-intros.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-jaxb-intros.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-jaxrpc.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-jaxrpc.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-jaxws.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-jaxws.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-saaj.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jboss-saaj.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE jboss-web
+    PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">
+
+<jboss-web>
+
+  <!-- A security domain that restricts access
+  <security-domain>java:/jaas/JBossWS</security-domain>
+  -->
+  
+  <context-root>jbossws</context-root>
+
+</jboss-web>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+  A web application that installs the JBossWS servlets
+
+  $Id: web.xml 4016 2007-07-27 06:00:11Z thomas.diesler at jboss.com $
+-->
+
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+  <display-name>JBossWS</display-name>
+
+  <servlet>
+    <servlet-name>ContextServlet</servlet-name>
+    <servlet-class>org.jboss.wsf.framework.management.ContextServlet</servlet-class>
+  </servlet>
+
+  <servlet>
+    <servlet-name>PortComponentLinkServlet</servlet-name>
+    <servlet-class>org.jboss.ws.core.server.PortComponentLinkServlet</servlet-class>
+  </servlet>
+  
+  <!-- now the mappings -->
+  
+  <servlet-mapping>
+    <servlet-name>ContextServlet</servlet-name>
+    <url-pattern>/services/*</url-pattern>
+  </servlet-mapping>
+
+  <servlet-mapping>
+    <servlet-name>PortComponentLinkServlet</servlet-name>
+    <url-pattern>/pclink</url-pattern>
+  </servlet-mapping>
+
+   <!-- A security constraint that restricts access
+   <security-constraint>
+     <web-resource-collection>
+       <web-resource-name>ContextServlet</web-resource-name>
+       <description>An example security config that only allows users with the
+         role 'friend' to access the JBossWS console web application
+       </description>
+       <url-pattern>/*</url-pattern>
+       <http-method>GET</http-method>
+       <http-method>POST</http-method>
+     </web-resource-collection>
+     <auth-constraint>
+       <role-name>friend</role-name>
+     </auth-constraint>
+   </security-constraint>
+   -->
+
+   <login-config>
+      <auth-method>BASIC</auth-method>
+      <realm-name>JBossWS Management Console</realm-name>
+   </login-config>
+
+   <security-role>
+      <role-name>friend</role-name>
+   </security-role>
+  
+  <!-- 
+  currently the W3C haven't settled on a media type for WSDL;
+  http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
+  for now we go with the basic 'it's XML' response 
+  -->
+  <mime-mapping>
+    <extension>wsdl</extension>
+    <mime-type>text/xml</mime-type>
+  </mime-mapping>
+
+  <mime-mapping>
+    <extension>xsd</extension>
+    <mime-type>text/xml</mime-type>
+  </mime-mapping>
+
+  <welcome-file-list id="WelcomeFileList">
+    <welcome-file>index.html</welcome-file>
+  </welcome-file-list>
+
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/index.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/index.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/index.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,63 @@
+<html><head>
+<meta http-equiv='Content-Type content='text/html; charset=iso-8859-1'>
+<title>JBossWS</title>
+<link rel='stylesheet' href='./styles.css'>
+</head>
+<body>
+
+<div class='pageHeader'>Welcome to JBoss Web Services</div>
+
+<div class="pageSection">
+<h2>J2EE compatible web services</h2>
+JBossWS is a JAX-WS compliant web service stack developed to be part of JBoss' JavaEE5 offering.
+</div>
+
+<div class="pageSection">
+<h3>Administration</h3>
+
+<fieldset>
+    <legend><b>Runtime information</b></legend>
+<ul>
+	<li><a href="services">View a list of deployed services</a></li>
+	<!--li><a href="depends">View installed dependencies</a></li-->
+	<li><a href="/jmx-console/">Access JMX console</a></li>
+</ul>
+</fieldset>
+</div>
+
+<div class="pageSection">
+<h3>Project information</h3>
+
+<fieldset>
+    <legend><b>Documentation</b></legend>
+
+<ul>
+	<li><a href="http://labs.jboss.com/portal/jbossws/downloads">Latest download and samples</a></li>
+	<li><a href="http://jbws.dyndns.org/mediawiki/index.php/JBossWS_FAQs">FAQ</a></li>
+	<li><a href="http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide">User guide</a></li>
+	<li><a href="http://jbws.dyndns.org/mediawiki/index.php/Main_Page">JBossWS WIKI</a></li>
+</ul>
+</fieldset>
+
+</br>
+<fieldset>
+    <legend><b>Community</b></legend>
+<ul>
+	<li><a href="http://www.jboss.org/index.html?module=bb&op=viewforum&f=200">User forum</a></li>
+	<li><a href="http://www.jboss.org/index.html?module=bb&op=viewforum&f=174">Design forum</a></li>
+	<li><a href="https://lists.jboss.org/mailman/listinfo/jbossws-users">Mailing list</a></li>
+</ul>
+</fieldset>
+
+</br>
+<fieldset>
+    <legend><b>Source repository</b></legend>
+<ul>
+	<li><a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSourceRepository">Subversion repository</a></li>
+	<li><a href="http://fisheye.jboss.com/viewrep/JBossWS">Browse sources online</a></li>
+</ul>
+</fieldset>
+</div>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/styles.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/styles.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-context.war/styles.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,186 @@
+
+/* table for list views */
+.table_list {
+}
+
+/* table for detail views */
+.table_form {
+}
+
+.pageHeader {
+   font-size: 14pt;
+   font-weight: BOLD;
+   color: #ffffff;
+   border-bottom-width:1px;
+   border-bottom-style:solid;
+   border-color:#000066;
+   margin-bottom:15px;
+   padding-left:15px;
+   padding-top:5px;
+   padding-bottom:5px;
+   background-color: #aaaadd;
+   max-width: 900px;
+}
+
+.pageSection {
+ padding-left:15px;
+ margin-bottom: 5px;
+ max-width: 900px;
+}
+
+.metrics
+{	 
+   font-size: 6pt;
+   background-color: #dddddd;
+   width: 100%;
+}
+
+/* table row header */
+.list_tr_head {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   font-weight: 600;
+   text-align: center;
+   background-color: #aaaadd;
+}
+
+/* table row list view */
+.list_tr {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #ffffff;
+}
+
+/* table row list view odd lines */
+.list_tr_even {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #ffffff;
+}
+
+/* table row list view even lines */
+.list_tr_odd {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #dddddd;
+}
+
+/* form label */
+.form_label {
+   font-family: Verdana, sans-serif;
+   font-weight: 500;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #dddddd;
+   padding-top: 2px;
+   padding-bottom: 2px;
+}
+
+/* form value */
+.form_value {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: baseline;
+}
+
+/* tiny writing */
+.tiny {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #666666;
+}
+
+/* required input fields */
+.inputmust {
+   background-color: #dddddd;
+}
+
+/* error message */
+.error {
+   font-family: Courier New;
+   color: #990000;
+}
+
+/* error message */
+.error_trace {
+   font-family: Courier New;
+}
+
+/* active tree node */
+.tree_active_label {
+   font-weight: bold;
+}
+
+body {
+   font-family: Verdana,, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   background-color: #ffffff;
+}
+
+/* title style */
+h1 {
+   font-family: Verdana, sans-serif;
+   font-size: 14pt;
+   font-weight: 600;
+   color: #000066;
+}
+
+h2 {
+   font-family: Verdana, sans-serif;
+   font-size: 12pt;
+   font-weight: 600;
+   color: #000066;
+}
+
+h3 {
+   font-family: Verdana, sans-serif;
+   font-size: 10pt;
+   font-weight: 600;
+   color: #000066;
+}
+
+h4 {
+   font-family: Verdana, sans-serif;
+   font-size: 10pt;
+   font-weight: 500;
+   color: #000066;
+}
+
+/* table desk */
+td {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   padding-left: 5px;
+   padding-right: 5px;
+}
+
+input, textarea, select, option {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+}
+
+a {
+   font-family: Verdana, sans-serif;
+   color: #0000dd;
+   text-decoration: none;
+}
+
+a:hover{
+   font-family: Verdana, sans-serif;
+   color: #cc0000;
+   text-decoration: none;
+}
+
+pre {
+    background:#dddddd
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-core.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-core.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-native.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws-native.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,437 @@
+
+<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd" xmlns="urn:jboss:bean-deployer">
+
+  <!-- An abstraction of server configuration aspects. -->  
+  <bean name="WSServerConfig" class="org.jboss.wsf.stack.jbws.NativeServerConfig">
+    <property name="mbeanServer"><inject bean="WSMBeanServerLocator" property="mbeanServer"/></property>
+    
+    <!--
+        The WSDL, that is a required deployment artifact for an endpoint, has a <soap:address>
+        element which points to the location of the endpoint. JBoss supports rewriting of that SOAP address.
+      
+        If the content of <soap:address> is a valid URL, JBossWS will not rewrite it unless 'modifySOAPAddress' is true.
+        If the content of <soap:address> is not a valid URL, JBossWS will rewrite it using the attribute values given below.
+        
+        If 'webServiceHost' is not set, JBossWS uses requesters protocol host when rewriting the <soap:address>.
+    -->
+    <property name="webServiceHost">${jboss.bind.address}</property>
+    <property name="modifySOAPAddress">true</property>
+    
+    <!-- 
+      Set these properties to explicitly define the ports that will be used for rewriting the SOAP address.
+      Otherwise the ports will be identified by querying the list of installed connectors. 
+      If multiple connectors are found the port of the first connector is used.
+      <property name="webServiceSecurePort">8443</property>
+      <property name="webServicePort">8080</property>
+    -->
+  </bean>
+
+  <!-- The registry for web service endpoints -->
+  <bean name="WSEndpointRegistry" class="org.jboss.wsf.framework.management.ManagedEndpointRegistry">
+    <property name="mbeanServer"><inject bean="WSMBeanServerLocator" property="mbeanServer"/></property>
+  </bean>
+  
+  <!-- A subscription manager for WS-Eventing -->
+  <bean name="WSSubscriptionManager" class="org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager">
+    <property name="bindAddress">${jboss.bind.address}</property>
+  </bean>
+  
+  <!-- 
+    The stack specific deployment aspects
+  --> 
+  <bean name="WSNativeContextPropertiesDeploymentAspect" class="org.jboss.wsf.framework.deployment.ContextPropertiesDeploymentAspect">
+    <property name="provides">ContextProperties, StackDescriptor</property>
+    <property name="contextProperties">
+      <map keyClass="java.lang.String" valueClass="java.lang.String">
+        <entry><key>org.jboss.ws.webapp.ServletClass</key><value>org.jboss.wsf.stack.jbws.EndpointServlet</value></entry>
+      </map>
+    </property>
+  </bean>
+  
+  <bean name="WSNativeEagerInitializeDeploymentAspect" class="org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect">
+    <property name="requires">UnifiedMetaDataModel</property>
+    <property name="provides">InitializedMetaDataModel</property>
+  </bean>
+  
+  <bean name="WSNativeEndpointHandlerDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
+    <property name="requires">ContainerEndpointHandler, ContainerMetaData</property>
+    <property name="provides">StackEndpointHandler</property>             
+  </bean>
+  
+  <bean name="WSNativeEventingDeploymentAspect" class="org.jboss.wsf.stack.jbws.EventingDeploymentAspect">
+    <property name="requires">UnifiedMetaDataModel</property>
+  </bean>
+  
+  <bean name="WSNativePublishContractDeploymentAspect" class="org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect">
+    <property name="requires">UnifiedMetaDataModel</property>
+    <property name="provides">PublishedContract</property>
+  </bean>
+  
+  <bean name="WSNativeServiceEndpointInvokerDeploymentAspect" class="org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect">
+    <property name="requires">UnifiedMetaDataModel</property>
+  </bean>
+  
+  <bean name="WSNativeUnifiedMetaDataDeploymentAspect" class="org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect">
+    <property name="requires">RuntimeLoader, ContainerMetaData, URLPattern, VFSRoot</property>
+    <property name="provides">UnifiedMetaDataModel</property>
+  </bean>
+
+  <bean name="WSJAXBIntroDeploymentAspect" class="org.jboss.wsf.stack.jbws.JAXBIntroDeploymentAspect">
+    <property name="requires">UnifiedMetaDataModel, RuntimeLoader</property>
+  </bean>
+
+      <!-- Deployment aspect installers -->
+  <!-- Phase 1 -->
+  <bean name="WSNativeDeploymentAspectInstallerPreJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerPreJSE"/></property>
+    <property name="sortAspectsOnCreate">true</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSNativeContextPropertiesDeploymentAspect"/>
+      </set>
+    </property>
+    <depends>WSDeploymentAspectInstallerPreJSE</depends>
+  </bean>
+  <!-- Phase 2 -->
+  <bean name="WSNativeDeploymentAspectInstallerPostJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerPostJSE"/></property>
+    <property name="sortAspectsOnCreate">true</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">        
+        <inject bean="WSNativeEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSNativeEventingDeploymentAspect"/>
+        <inject bean="WSNativePublishContractDeploymentAspect"/>
+        <inject bean="WSNativeServiceEndpointInvokerDeploymentAspect"/>
+        <inject bean="WSNativeUnifiedMetaDataDeploymentAspect"/>
+        <inject bean="WSNativeEagerInitializeDeploymentAspect"/>
+        <inject bean="WSJAXBIntroDeploymentAspect"/>
+      </set>
+    </property>
+    <depends>WSDeploymentAspectInstallerPostJSE</depends>
+  </bean>
+
+  <bean name="WSNativeDeploymentAspectInstallerEJB" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerEJB"/></property>
+    <property name="sortAspectsOnCreate">true</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSNativeContextPropertiesDeploymentAspect"/>
+        <inject bean="WSNativeEagerInitializeDeploymentAspect"/>
+        <inject bean="WSNativeEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSNativeEventingDeploymentAspect"/>
+        <inject bean="WSNativePublishContractDeploymentAspect"/>
+        <inject bean="WSNativeServiceEndpointInvokerDeploymentAspect"/>
+        <inject bean="WSNativeUnifiedMetaDataDeploymentAspect"/>
+        <inject bean="WSJAXBIntroDeploymentAspect"/>
+      </set>
+    </property>
+    <depends>WSDeploymentAspectInstallerEJB</depends>
+  </bean>
+      
+  <bean name="WSNativeDeploymentAspectInstallerEndpointAPI" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerEndpointAPI"/></property>
+    <property name="sortAspectsOnCreate">true</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSNativeContextPropertiesDeploymentAspect"/>
+        <inject bean="WSNativeEagerInitializeDeploymentAspect"/>
+        <inject bean="WSNativeEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSNativeEventingDeploymentAspect"/>
+        <inject bean="WSNativePublishContractDeploymentAspect"/>
+        <inject bean="WSNativeServiceEndpointInvokerDeploymentAspect"/>
+        <inject bean="WSNativeUnifiedMetaDataDeploymentAspect"/>
+        <inject bean="WSJAXBIntroDeploymentAspect"/>
+      </set>
+    </property>
+    <depends>WSDeploymentAspectInstallerEndpointAPI</depends>
+  </bean>
+  
+  <!-- Locate the single instance of the kernel -->  
+  <bean name="WSKernelLocator" class="org.jboss.wsf.spi.util.KernelLocator">
+    <property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property>
+  </bean>
+  
+  <!-- Locate the single instance of the MBeanServer -->  
+  <bean name="WSMBeanServerLocator" class="org.jboss.wsf.framework.management.MBeanServerLocator"/>
+  
+  <!-- The HTTPServer used by the JAXWS Endpoint API -->  
+  <bean name="WSHTTPServer" class="org.jboss.wsf.container.jboss42.DeploymentAspectHttpServer"/>
+
+  <!-- Bind Service objects in client environment context  -->
+  <bean name="WSServiceRefHandler" class="org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl"/>
+
+  <!-- JBoss_4_2_0_GA uses this hardcoded bean name -->
+  <bean name="ServiceRefHandler" class="org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl"/>
+
+  <!-- 
+    ********************************************************************************************************************* 
+    Web Service deployment                                                                                                
+    
+    There are three deployer interceptors registered with the JBoss Deployers. 
+    
+    1) DeployerInterceptorJSE
+    2) DeployerInterceptorEJB21
+    3) DeployerInterceptorEJB3
+    
+    Each interceptor has a number of DeployerHooks registerd with it 
+    
+    Conceptually, each of these hooks implements the following pattern:
+    
+    DployerHook.deploy(unit) 
+      if(isWebServiceDeployment)
+        Deployment dep = createDeployment(unit)
+        DeploymentAspectManager.deploy(dep)
+ 
+    DeployerHook.undeploy(unit)
+      Deployment dep = getDeployment(unit) 
+      DeploymentAspectManager.undeploy(dep)
+    
+    Each deployer hook has a web service DeployerManager injected into it. 
+    A web service DeployerManager maintains a list of Deployers, each of which 
+    handles a single aspect of web service deployment.
+    
+    Finally, each Endpoint is registered with the EndpointRegistry.
+    
+    ********************************************************************************************************************* 
+  -->
+  
+  <!-- 
+    Register DeployerHooks with JBoss deployers 
+  -->
+
+  <!-- Phase 1 -->
+  <bean name="WSDeployerHook_JAXRPC_PRE_JSE" class="org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPreJSE">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerPreJSE</property>
+    <property name="phaseOneInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorJSE</value>
+      </list>
+    </property>
+  </bean>
+
+  <!-- Phase 2 -->
+  <bean name="WSDeployerHook_JAXRPC_POST_JSE" class="org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPostJSE">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerPostJSE</property>
+    <property name="phaseTwoInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorJSE</value>
+      </list>
+    </property>
+  </bean>
+
+  <bean name="WSDeployerHook_JAXRPC_EJB21" class="org.jboss.wsf.container.jboss42.JAXRPCDeployerHookEJB21">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerEJB</property>
+    <property name="phaseTwoInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorEJB21</value>
+      </list>
+    </property>
+  </bean>
+
+  <!-- Phase 1 -->
+  <bean name="WSDeployerHook_JAXWS_PRE_JSE" class="org.jboss.wsf.container.jboss42.JAXWSDeployerHookPreJSE">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerPreJSE</property>
+    <property name="phaseOneInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorJSE</value>
+      </list>
+    </property>
+  </bean>
+
+  <!-- Phase 2 -->
+  <bean name="WSDeployerHook_JAXWS_POST_JSE" class="org.jboss.wsf.container.jboss42.JAXWSDeployerHookPostJSE">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerPostJSE</property>
+    <property name="phaseTwoInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorJSE</value>
+      </list>
+    </property>
+  </bean>
+
+  <bean name="WSDeployerHook_JAXWS_EJB3" class="org.jboss.wsf.container.jboss42.JAXWSDeployerHookEJB3">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerEJB</property>
+    <property name="phaseTwoInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorEJB3</value>
+      </list>
+    </property>
+  </bean>
+  
+  <!-- 
+    Each DeploymentAspectManger maintains a list of DeploymentAspects
+  -->
+  <bean name="WSDeploymentAspectManagerPreJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
+    <property name="name">WSDeploymentAspectManagerPreJSE</property>
+  </bean>
+  <bean name="WSDeploymentAspectManagerPostJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
+    <property name="parent"><inject bean="WSDeploymentAspectManagerPreJSE"/></property>
+    <property name="name">WSDeploymentAspectManagerPostJSE</property>
+  </bean>
+  <bean name="WSDeploymentAspectManagerEJB" class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
+    <property name="name">WSDeploymentAspectManagerEJB</property>
+  </bean>
+  <bean name="WSDeploymentAspectManagerEndpointAPI" class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
+    <property name="name">WSDeploymentAspectManagerEndpointAPI</property>
+  </bean>
+  
+  <!-- 
+    The container deployment aspects
+  --> 
+  <bean name="WSContainerMetaDataDeploymentAspect" class="org.jboss.wsf.container.jboss42.ContainerMetaDataDeploymentAspect">
+    <property name="provides">ContainerMetaData, VFSRoot</property>
+    <property name="metaDataAdapter"><inject bean="WSContainerMetaDataAdapter"/></property>
+  </bean>
+  
+  <bean name="WSContextRootDeploymentAspect" class="org.jboss.wsf.framework.deployment.BackwardCompatibleContextRootDeploymentAspect">
+    <property name="requires">ContainerMetaData</property>
+    <property name="provides">ContextRoot</property>
+  </bean>
+  
+  <bean name="WSEndpointAPIDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointAPIDeploymentAspect">
+    <property name="provides">ContainerMetaData, RuntimeLoader, URLPattern, VFSRoot</property>
+  </bean>
+
+  <bean name="WSEndpointAddressDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointAddressDeploymentAspect">
+    <property name="requires">URLPattern</property>
+    <property name="provides">EndpointAddress</property>
+  </bean>
+  
+  <bean name="WSEndpointHandlerDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
+    <property name="requires">ContainerMetaData</property>
+    <property name="provides">ContainerEndpointHandler</property>   
+  </bean>
+  
+  <bean name="WSEndpointLifecycleDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect">
+    <property name="requires">LAST_DEPLOYMENT_ASPECT</property>
+  </bean>
+
+  <bean name="WSEndpointMetricsDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointMetricsDeploymentAspect">
+    <property name="provides">EndpointMetrics</property>    
+  </bean>
+  
+  <bean name="WSEndpointNameDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointNameDeploymentAspect">
+    <property name="requires">URLPattern</property>
+    <property name="provides">EndpointName</property>
+  </bean>
+  
+  <bean name="WSEndpointRegistryDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect">
+    <property name="requires">EndpointName</property>
+    <property name="provides">RegisteredEndpoint</property>
+  </bean>
+  
+  <bean name="WSModifyWebMetaDataDeploymentAspect" class="org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect">
+    <property name="requires">ContextProperties, ContainerMetaData, StackDescriptor</property>
+    <property name="webXMLRewriter"><inject bean="WSWebXMLRewriter"/></property>
+  </bean>
+  
+  <bean name="WSRuntimeLoaderDeploymentAspect" class="org.jboss.wsf.container.jboss42.RuntimeLoaderDeploymentAspect">
+    <property name="requires">ContainerMetaData</property>
+    <property name="provides">RuntimeLoader</property>
+  </bean>
+  
+  <bean name="WSURLPatternDeploymentAspect" class="org.jboss.wsf.framework.deployment.BackwardCompatibleURLPatternDeploymentAspect">
+    <property name="requires">ContextRoot, ContainerMetaData</property>
+    <property name="provides">URLPattern</property>
+  </bean>
+  
+  <bean name="WSWebAppDeploymentAspect" class="org.jboss.wsf.container.jboss42.WebAppDeploymentAspect">
+    <property name="requires">WebMetaData, ContextProperties</property>
+    <property name="webXMLRewriter"><inject bean="WSWebXMLRewriter"/></property>
+  </bean>
+  
+  <bean name="WSWebAppGeneratorDeploymentAspect" class="org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect">
+    <property name="requires">URLPattern</property>
+    <property name="provides">WebMetaData</property>
+    <property name="securityHandlerEJB21"><inject bean="WSSecurityHandlerEJB21"/></property>
+    <property name="securityHandlerEJB3"><inject bean="WSSecurityHandlerEJB3"/></property>
+  </bean>
+
+  <!-- Deployment aspect helper beans -->
+  <bean name="WSApplicationMetaDataAdapterEJB21" class="org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB21"/>
+  <bean name="WSApplicationMetaDataAdapterEJB3" class="org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB3"/>
+  <bean name="WSContainerMetaDataAdapter" class="org.jboss.wsf.container.jboss42.ContainerMetaDataAdapter">
+    <property name="applicationMetaDataAdapterEJB21"><inject bean="WSApplicationMetaDataAdapterEJB21"/></property>
+    <property name="applicationMetaDataAdapterEJB3"><inject bean="WSApplicationMetaDataAdapterEJB3"/></property>
+    <property name="webMetaDataAdapter"><inject bean="WSWebMetaDataAdapter"/></property>
+  </bean>
+  <bean name="WSSecurityHandlerEJB21" class="org.jboss.wsf.container.jboss42.SecurityHandlerEJB21"/>
+  <bean name="WSSecurityHandlerEJB3" class="org.jboss.wsf.container.jboss42.SecurityHandlerEJB3"/>
+  <bean name="WSWebAppDesciptorModifier" class="org.jboss.wsf.container.jboss42.DefaultWebAppDesciptorModifierImpl"/>
+  <bean name="WSWebMetaDataAdapter" class="org.jboss.wsf.container.jboss42.JSEArchiveMetaDataAdapter"/>
+  <bean name="WSWebXMLRewriter" class="org.jboss.wsf.container.jboss42.WebXMLRewriterImpl">
+    <property name="desciptorModifier"><inject bean="WSWebAppDesciptorModifier"/></property>
+  </bean>
+  
+  <!-- Deployment aspect installers -->
+  <!-- Phase 1 -->
+  <bean name="WSDeploymentAspectInstallerPreJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerPreJSE"/></property>
+    <property name="sortAspectsOnCreate">false</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSContainerMetaDataDeploymentAspect"/>
+        <inject bean="WSContextRootDeploymentAspect"/>
+        <inject bean="WSEndpointAddressDeploymentAspect"/>
+        <inject bean="WSEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSEndpointMetricsDeploymentAspect"/>
+        <inject bean="WSEndpointNameDeploymentAspect"/>
+        <inject bean="WSEndpointRegistryDeploymentAspect"/>
+        <inject bean="WSModifyWebMetaDataDeploymentAspect"/>
+        <inject bean="WSURLPatternDeploymentAspect"/>
+      </set>
+    </property>
+  </bean>
+
+  <!-- Phase 2 -->
+  <bean name="WSDeploymentAspectInstallerPostJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerPostJSE"/></property>
+    <property name="sortAspectsOnCreate">false</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSEndpointLifecycleDeploymentAspect"/>
+        <inject bean="WSRuntimeLoaderDeploymentAspect"/>
+      </set>
+    </property>
+    <depends>WSDeploymentAspectInstallerPreJSE</depends>
+  </bean>
+
+  <bean name="WSDeploymentAspectInstallerEJB" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerEJB"/></property>
+    <property name="sortAspectsOnCreate">false</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSContainerMetaDataDeploymentAspect"/>
+        <inject bean="WSContextRootDeploymentAspect"/>
+        <inject bean="WSEndpointAddressDeploymentAspect"/>
+        <inject bean="WSEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSEndpointLifecycleDeploymentAspect"/>
+        <inject bean="WSEndpointMetricsDeploymentAspect"/>
+        <inject bean="WSEndpointNameDeploymentAspect"/>
+        <inject bean="WSEndpointRegistryDeploymentAspect"/>
+        <inject bean="WSRuntimeLoaderDeploymentAspect"/>
+        <inject bean="WSURLPatternDeploymentAspect"/>
+        <inject bean="WSWebAppDeploymentAspect"/>
+        <inject bean="WSWebAppGeneratorDeploymentAspect"/>
+      </set>
+    </property>
+  </bean>
+
+  <bean name="WSDeploymentAspectInstallerEndpointAPI" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerEndpointAPI"/></property>
+    <property name="sortAspectsOnCreate">false</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSEndpointAPIDeploymentAspect"/>
+        <inject bean="WSEndpointAddressDeploymentAspect"/>
+        <inject bean="WSEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSEndpointLifecycleDeploymentAspect"/>
+        <inject bean="WSEndpointMetricsDeploymentAspect"/>
+        <inject bean="WSEndpointNameDeploymentAspect"/>
+        <inject bean="WSEndpointRegistryDeploymentAspect"/>
+        <inject bean="WSWebAppDeploymentAspect"/>
+        <inject bean="WSWebAppGeneratorDeploymentAspect"/>
+      </set>
+    </property>
+  </bean>
+
+</deployment>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/policy.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/policy.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/stax-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/stax-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/wsdl4j.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/wsdl4j.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/wstx.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/wstx.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/xmlsec.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jbossws.sar/xmlsec.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jms/hajndi-jms-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jms/hajndi-jms-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jms/hajndi-jms-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<connection-factories>
+ 
+  <!-- ==================================================================== -->
+  <!-- JMS Stuff                                                            -->
+  <!-- ==================================================================== -->
+
+  <!-- The JMS provider loader -->
+  <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
+	 name="jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider">
+    <attribute name="ProviderName">DefaultJMSProvider</attribute>
+    <attribute name="ProviderAdapterClass">
+      org.jboss.jms.jndi.JNDIProviderAdapter
+    </attribute>
+    <!-- The combined connection factory -->
+    <attribute name="FactoryRef">XAConnectionFactory</attribute>
+    <!-- The queue connection factory -->
+    <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
+    <!-- The topic factory -->
+    <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
+    <!-- Access JMS via HAJNDI -->
+    <attribute name="Properties">
+       java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+       java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+       java.naming.provider.url=${jboss.bind.address:localhost}:1100
+       jnp.disableDiscovery=false
+       jnp.partitionName=${jboss.partition.name:DefaultPartition}
+       jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+       jnp.discoveryPort=1102
+       jnp.discoveryTTL=16
+       jnp.discoveryTimeout=5000
+       jnp.maxRetries=1
+    </attribute>
+  </mbean>
+
+  <!-- The server session pool for Message Driven Beans -->
+  <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader"
+	 name="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool">
+    <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
+    <attribute name="PoolName">StdJMSPool</attribute>
+    <attribute name="PoolFactoryClass">
+      org.jboss.jms.asf.StdServerSessionPoolFactory
+    </attribute>
+  </mbean>
+
+  <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
+  <tx-connection-factory>
+    <jndi-name>JmsXA</jndi-name>
+    <xa-transaction/>
+    <rar-name>jms-ra.rar</rar-name>
+    <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
+    <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
+    <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
+    <max-pool-size>20</max-pool-size>
+    <security-domain-and-application>JmsXARealm</security-domain-and-application>
+  </tx-connection-factory>
+
+</connection-factories>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jms/jms-ra.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jms/jms-ra.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AddressPort.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AddressPort.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AttrResultInfo.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AttrResultInfo.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/OpResultInfo.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/OpResultInfo.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/Server.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/Server.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/JMXOpsAccessControlFilter.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/JMXOpsAccessControlFilter.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/DomainData.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/DomainData.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/MBeanData.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/MBeanData.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,7 @@
+<jboss-web>
+   <!-- Uncomment the security-domain to enable security. You will
+      need to edit the htmladaptor login configuration to setup the
+      login modules used to authentication users.
+      <security-domain>java:/jaas/jmx-console</security-domain>
+   -->
+</jboss-web>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,109 @@
+<?xml version="1.0"?>
+<!DOCTYPE web-app PUBLIC
+   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+   "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+   <description>The standard web descriptor for the html adaptor</description>
+   <!--
+    <filter>
+      <filter-name>JmxOpsAccessControlFilter</filter-name>
+      <filter-class>org.jboss.jmx.adaptor.html.JMXOpsAccessControlFilter</filter-class>
+      <init-param>
+        <param-name>updateAttributes</param-name>
+        <param-value>UpdateAttributeRole</param-value>
+        <description>Comma-delimited Roles that define the JMX Operation denoting updation of Attributes</description>
+      </init-param>
+      <init-param>
+        <param-name>invokeOp</param-name>
+        <param-value>InvokeOpRole</param-value>
+        <description>Comma-delimited Roles that define the JMX Operation denoting Invocation of Operations</description>
+      </init-param>
+   </filter>
+   <filter-mapping>
+      <filter-name>JmxOpsAccessControlFilter</filter-name>
+      <servlet-name>HtmlAdaptor</servlet-name>
+   </filter-mapping>
+   -->
+   <servlet>
+      <servlet-name>HtmlAdaptor</servlet-name>
+      <servlet-class>org.jboss.jmx.adaptor.html.HtmlAdaptorServlet</servlet-class>
+   </servlet>
+   <servlet>
+      <servlet-name>ClusteredConsoleServlet</servlet-name>
+      <servlet-class>org.jboss.jmx.adaptor.html.ClusteredConsoleServlet</servlet-class>
+      <init-param>
+         <param-name>jgProps</param-name>
+         <param-value>UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=${jboss.partition.udpGroup:228.1.2.3};mcast_port=${jboss.partition.udpPort:45566}):
+org.jboss.jmx.adaptor.control.FindView
+         </param-value>
+         <description>The JGroups protocol stack config</description>
+      </init-param>
+   </servlet>
+   <servlet>
+      <servlet-name>DisplayMBeans</servlet-name>
+      <jsp-file>/displayMBeans.jsp</jsp-file>
+   </servlet>
+   <servlet>
+      <servlet-name>InspectMBean</servlet-name>
+      <jsp-file>/inspectMBean.jsp</jsp-file>
+   </servlet>
+   <servlet>
+      <servlet-name>DisplayOpResult</servlet-name>
+      <jsp-file>/displayOpResult.jsp</jsp-file>
+   </servlet>
+   <servlet>
+      <servlet-name>ClusterView</servlet-name>
+      <jsp-file>/cluster/clusterView.jsp</jsp-file>
+   </servlet>
+
+   <servlet-mapping>
+      <servlet-name>HtmlAdaptor</servlet-name>
+      <url-pattern>/HtmlAdaptor</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>ClusteredConsoleServlet</servlet-name>
+      <url-pattern>/cluster/ClusteredConsole</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>DisplayMBeans</servlet-name>
+      <url-pattern>/DisplayMBeans</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>InspectMBean</servlet-name>
+      <url-pattern>/InspectMBean</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>DisplayOpResult</servlet-name>
+      <url-pattern>/DisplayOpResult</url-pattern>
+   </servlet-mapping>
+
+   <!-- A security constraint that restricts access to the HTML JMX console
+   to users with the role JBossAdmin. Edit the roles to what you want and
+   uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
+   secured access to the HTML JMX console.
+   <security-constraint>
+     <web-resource-collection>
+       <web-resource-name>HtmlAdaptor</web-resource-name>
+       <description>An example security config that only allows users with the
+         role JBossAdmin to access the HTML JMX console web application
+       </description>
+       <url-pattern>/*</url-pattern>
+       <http-method>GET</http-method>
+       <http-method>POST</http-method>
+     </web-resource-collection>
+     <auth-constraint>
+       <role-name>JBossAdmin</role-name>
+     </auth-constraint>
+   </security-constraint>
+   -->
+
+   <login-config>
+      <auth-method>BASIC</auth-method>
+      <realm-name>JBoss JMX Console</realm-name>
+   </login-config>
+
+   <security-role>
+      <role-name>JBossAdmin</role-name>
+   </security-role>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/checkJNDI.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/checkJNDI.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/checkJNDI.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,112 @@
+<%@page contentType="text/html"
+   import="java.net.*,java.util.*,javax.naming.*,java.io.*"
+%>
+<html>
+<head>
+   <title>JBoss JNDI Check</title>
+   <link rel="stylesheet" href="style_master.css" type="text/css">
+   <meta http-equiv="cache-control" content="no-cache">
+</head>
+<body>
+<table width="100%">
+   <table>
+      <tr>
+         <td><img src="images/logo.gif" align="left" border="0" alt="JBoss"></td>
+         <td valign="middle">
+         <%
+         String hostname = "<<Unknown - see log/server.log>>";
+         try
+         {
+            hostname = InetAddress.getLocalHost().getHostName();
+         }
+         catch(IOException e)
+         {
+            e.printStackTrace();
+         }
+         %>
+         <h1>JNDI Checking for host <code><%= hostname %></code></h1>
+         </td>
+      </tr>
+   </table>
+<hr>
+<table border='1'>
+   <tr>
+      <td><h2>Test</h2></td>
+      <td><h2>Result</h2></td>
+   </tr>
+   <tr>
+      <td>InitialContext properites</td>
+      <td><table border='1'>
+         <%
+            try
+            {
+               InitialContext ctx = new InitialContext();
+               Hashtable props = ctx.getEnvironment();
+               for (Iterator i = props.keySet().iterator(); i.hasNext();)
+               {
+                  Object key = i.next();
+                  out.print("<tr><td>");
+                  out.print(key);
+                  out.print('=');
+                  out.print(props.get(key));
+                  out.print("</td></tr>");
+               }
+            }
+            catch (NamingException e)
+            {
+               out.print(e.toString());
+            }
+         %>
+      </table></td>
+   </tr>
+   <tr>
+      <td>jndi.properties locations</td>
+      <td><table border='1'>
+         <%
+            ClassLoader loader = Thread.currentThread().getContextClassLoader();
+            for (Enumeration e = loader.getResources("jndi.properties"); e.hasMoreElements();)
+            {
+               out.print("<tr><td>");
+               out.print(e.nextElement());
+               out.print("</td></tr>");
+            }
+         %>
+      </table></td>
+   </tr>
+   <tr>
+      <td>Global bindings</td>
+      <td><table border='1'>
+         <%
+            try
+            {
+               for (Enumeration e = new InitialContext().listBindings(""); e.hasMoreElements();)
+               {
+                  out.print("<tr><td>");
+                  out.print(e.nextElement());
+                  out.print("</td></tr>");
+               }
+            }
+            catch (NamingException ignored) {}
+         %>
+      </table></td>
+   </tr>
+   <tr>
+      <td>JVM local bindings</td>
+      <td><table border='1'>
+         <%
+            try
+            {
+               for (Enumeration e = new InitialContext().listBindings("java:"); e.hasMoreElements();)
+               {
+                  out.print("<tr><td>");
+                  out.print(e.nextElement());
+                  out.print("</td></tr>");
+               }
+            }
+            catch (NamingException ignored) {}
+         %>
+      </table></td>
+   </tr>
+</table>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/bootstrap.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/bootstrap.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/bootstrap.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,69 @@
+<html>
+<head>
+   <title>Cluster View Bootstrap</title>
+   <link rel="stylesheet" href="../style_master.css" type="text/css">
+</head>
+
+<table>
+   <tr>
+      <td width="250" ><img src="../images/logo.gif" align="left" border="0" alt=""></td>
+      <td><h1>JBoss Cluster Bootstrap</h1></td>
+   </tr>
+</table>
+<hr>
+<body>
+The cluster nodes to view need to be specified via some bootstrap mechanism.
+This can be done using any of the following methods.
+
+<h1>Bootstrap Using Naming Discovery</h1>
+This determines the cluster entry point by doing an HAJNDI naming service
+discovery query. The query may be restricted to a given partition name by
+specifying the name in the PartitionName field.
+If not specified than the first partition to respond will be choosen.
+<form action="ClusteredConsole?action=bootstrap" method="post" target="ClusterIndex">
+	<input type="hidden" name="bootstrap" value="discovery">
+	<table cellspacing="2" cellpadding="2" border="0">
+	<tr>
+		<td>PartitionName:</td><td><input type="text" name="partition" size="40"></td>
+	</tr>
+	<tr>
+		<td>DiscoveryName:</td><td><input type="text" name="discoveryGroup" size="40" value="230.0.0.4"></td>
+	</tr>
+	<tr>
+		<td>DiscoveryPort:</td><td><input type="text" name="discoveryPort" size="40" value="1102"></td>
+	</tr>
+	<tr>
+		<td>DiscoveryTimeout:</td><td><input type="text" name="discoveryTimeout" size="40" value="5000"></td>
+	</tr>
+	<tr>
+		<td><input type="reset" name="reset" value="Clear"></td>
+		<td><input type="submit" name="submit" value="Bootstrap"></td>
+	</tr>
+	</table>
+</form>
+
+<h1>Bootstrap Using a Hostname</h1>
+This determines the cluster entry point(s) by querying the JNDI service
+on the indicated server for the available cluster paritition services.
+Any cluster to which the server belongs will serve as an entry point for
+determining the members of the cluster. To query the server hosting the
+jmx-console application use "locahost" for the hostname.
+<form action="ClusteredConsole" method="post" target="ClusterIndex">
+	<input type="hidden" name="bootstrap" value="byhost">
+	<table cellspacing="2" cellpadding="2" border="0">
+	<tr>
+		<td>Hostname:</td><td><input type="text" name="hostname" value="localhost" size="40"></td>
+	</tr>
+	<tr>
+		<td>Port:</td><td><input type="text" name="port" value="1099" size="40"></td>
+	</tr>
+	<tr>
+		<td><input type="reset" name="reset" value="Clear"></td>
+		<td><input type="submit" name="submit" value="Bootstrap"></td>
+	</tr>
+	</table>
+</form>
+
+</body>
+</html>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/clusterView.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/clusterView.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/clusterView.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,44 @@
+<%@page contentType="text/html"
+   import="java.net.*,java.io.*"
+%>
+<html>
+<head><title>Clustered JBoss Management Console</title>
+<link rel="stylesheet" href="../style_master.css" type="text/css">
+</head>
+<body>
+<table>
+<tr><td>
+<h2>Cluster View Bootstrap</h2>
+<a href="bootstrap.html" target="ClusterNodeView">Reinvoke Bootstrap</a>
+
+<h2>Loaded Clusters</h2>
+<%
+   String partition = (String) request.getAttribute("partition");
+%>
+   <h3 class='DomainName'><%= partition %></h2>
+   <ul class='MBeanList'>
+<%
+   String[] partitionHosts = (String[]) request.getAttribute("partitionHosts");
+   for(int h = 0; h < partitionHosts.length; h ++)
+   {
+      String host = partitionHosts[h];
+      String hostname = "";
+
+      try
+      {
+         hostname = InetAddress.getByName(host).getHostName();
+      }
+      catch(IOException e)  {}
+
+      String hostURL = "http://"+host+":8080/jmx-console//HtmlAdaptor?action=displayMBeans";
+%>
+      <li><a href="<%= hostURL%>" target="ClusterNodeView"><%= hostname %></a></li>
+<%
+   }
+%>
+   </ul>
+</td></tr>
+</table>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/index.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/index.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/cluster/index.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+<!-- frames -->
+<frameset  cols="20%, *">
+    <frame name="ClusterIndex" src="ClusteredConsole?action=index" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
+    <frame name="ClusterNodeView" src="bootstrap.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
+	<noframes>A frames enabled browser is required for the cluster view</noframes>
+</frameset>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/displayMBeans.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/displayMBeans.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/displayMBeans.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+<%@page contentType="text/html"
+   import="java.net.*,java.util.*,org.jboss.jmx.adaptor.model.*,java.io.*"
+%>
+<html>
+<head>
+   <title>JBoss JMX Management Console</title>
+   <link rel="stylesheet" href="style_master.css" type="text/css">
+   <meta http-equiv="cache-control" content="no-cache">
+</head>
+<body>
+<table width="100%">
+   <table>
+      <tr>
+         <td><img src="images/logo.gif" align="left" border="0" alt="JBoss"></td>
+         <td valign="middle">
+         <%
+         String hostname = "";
+         try
+         {
+            hostname = InetAddress.getLocalHost().getHostName();
+         }
+         catch(IOException e)  {}
+         %>
+         <h1>JMX Agent View <code><%= hostname %></code></h1>
+         </td>
+      </tr>
+   </table>
+<hr>
+<form action="HtmlAdaptor?action=displayMBeans" method="post" name="applyFilter" id="applyFilter">
+ObjectName Filter (e.g. "jboss:*", "*:service=invoker,*")  :<input type="text" name="filter" size="40" value="<%= request.getAttribute("filter")%>"> <input type="submit" name="apply" value="ApplyFilter">
+</form>
+<hr>
+<%
+   Iterator mbeans = (Iterator) request.getAttribute("mbeans");
+   while( mbeans.hasNext() )
+   {
+      DomainData domainData = (DomainData) mbeans.next();
+%>
+   <h2 class='DomainName'><%= domainData.getDomainName() %></h2>
+   <ul class='MBeanList'>
+<%
+      MBeanData[] data = domainData.getData();
+      for(int d = 0; d < data.length; d ++)
+      {
+         String name = data[d].getObjectName().toString();
+         String properties = data[d].getNameProperties();
+%>
+      <li><a href="HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(name) %>"><%= URLDecoder.decode(properties) %></a></li>
+<%
+      }
+%>
+   </ul>
+<%
+   }
+%>
+</td></tr>
+</table>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/displayOpResult.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/displayOpResult.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/displayOpResult.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,74 @@
+<%@page contentType="text/html"
+   import="java.net.*"
+%>
+<html>
+<head>
+   <title>Operation Results</title>
+   <link rel="stylesheet" href="style_master.css" type="text/css">
+   <meta http-equiv="cache-control" content="no-cache">
+</head>
+<body>
+
+<jsp:useBean id='opResultInfo' type='org.jboss.jmx.adaptor.control.OpResultInfo' scope='request'/>
+
+<table width="100%">
+   <table>
+      <tr>
+         <td><img src="images/logo.gif" align="left" border="0" alt="JBoss"></td>
+         <td valign="middle"><h1>JMX MBean Operation Result <code><%= opResultInfo.name%>()</code></h1></td>
+	  <tr/>
+   </table>
+
+<tr><td>
+
+
+<table cellpadding="5">
+   <tr>
+      <td><a href='HtmlAdaptor?action=displayMBeans'>Back to Agent View</a></td>
+      <td>
+      <td><a href='HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(request.getParameter("name")) %>'>Back to MBean View</a></td>
+      <td>
+      <td><a href=
+<%
+	out.print("'HtmlAdaptor?action=invokeOpByName");
+	out.print("&name=" + URLEncoder.encode(request.getParameter("name")));
+	out.print("&methodName=" + opResultInfo.name );
+
+	for (int i=0; i<opResultInfo.args.length; i++)
+    {
+		out.print("&argType=" + opResultInfo.signature[i]);
+		out.print("&arg" + i + "=" + opResultInfo.args[i]);
+	}
+
+	out.println("'>Reinvoke MBean Operation");
+%>
+	  </a></td>
+   </tr>
+</table>
+
+
+<hr>
+   <span class='OpResult'>
+<%
+   if( opResultInfo.result == null )
+   {
+%>
+   Operation completed successfully without a return value.
+<%
+   }
+   else
+   {
+      String opResultString = opResultInfo.result.toString();
+      boolean hasPreTag = opResultString.startsWith("<pre>");
+      if( hasPreTag == false )
+         out.println("<pre>");
+      out.println(opResultString);
+      if( hasPreTag == false )
+         out.println("</pre>");
+   }
+%>
+   </span>
+</td></tr>
+</table>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/images/logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/images/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/index.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/index.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/index.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+<%@page contentType="text/html"%>
+<jsp:forward page="/HtmlAdaptor?action=displayMBeans" />

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/inspectMBean.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/inspectMBean.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/inspectMBean.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,331 @@
+<%@page contentType="text/html"
+   import="java.net.*,java.util.*,
+   javax.management.*,javax.management.modelmbean.*,
+   org.jboss.jmx.adaptor.control.Server,
+   org.jboss.jmx.adaptor.control.AttrResultInfo,
+   org.jboss.jmx.adaptor.model.*,
+   java.lang.reflect.Array,
+   org.jboss.util.propertyeditor.PropertyEditors"
+%>
+<%!
+   public String fixDescription(String desc)
+   {
+      if (desc == null || desc.equals(""))
+      {
+        return "(no description)";
+      }
+      return desc;
+   }
+   public String quoteName(String name)
+   {
+      String sname = name.replace("\"", "&quot;");
+      sname = name.replace("\'", "&apos;");
+      return sname;
+   }
+%>
+<html>
+<head>
+   <title>MBean Inspector</title>
+   <link rel="stylesheet" href="style_master.css" type="text/css">
+   <meta http-equiv="cache-control" content="no-cache">
+</head>
+<body>
+
+<jsp:useBean id='mbeanData' class='org.jboss.jmx.adaptor.model.MBeanData' scope='request'/>
+
+<%
+   ObjectName objectName = mbeanData.getObjectName();
+   String objectNameString = mbeanData.getName();
+   String quotedObjectNameString = quoteName(mbeanData.getName());
+   MBeanInfo mbeanInfo = mbeanData.getMetaData();
+   MBeanAttributeInfo[] attributeInfo = mbeanInfo.getAttributes();
+   MBeanOperationInfo[] operationInfo = mbeanInfo.getOperations();
+%>
+
+<table width="100%">
+   <table>
+      <tr>
+         <td><img src="images/logo.gif" align="left" border="0" alt="JBoss"></td>
+         <td valign="middle"><h1>JMX MBean View</h1></td>
+      <tr/>
+   </table>
+   <ul>
+   <table>
+      <tr>
+         <td>MBean Name:</td>
+         <td><b>Domain Name:</b></td>
+         <td><%= objectName.getDomain() %></td>
+      </tr>
+<%
+   Hashtable properties = objectName.getKeyPropertyList();
+   Iterator it = properties.keySet().iterator();
+   while( it.hasNext() )
+   {
+      String key = (String) it.next();
+      String value = (String) properties.get( key );
+%>
+      <tr><td></td><td><b><%= key %>: </b></td><td><%= value %></td></tr>
+<%
+   }
+%>
+      <tr><td>MBean Java Class:</td><td colspan="3"><jsp:getProperty name='mbeanData' property='className'/></td></tr>
+   </table>
+</ul>
+<table cellpadding="5">
+   <tr>
+      <td><a href='HtmlAdaptor?action=displayMBeans'>Back to Agent View</a></td>
+	  <td>
+      <td><a href='HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(request.getParameter("name")) %>'>Refresh MBean View</a></td>
+   </tr>
+</table>
+
+<hr>
+<h3>MBean description:</h3>
+<%= fixDescription(mbeanInfo.getDescription())%>
+
+<hr>
+<h3>List of MBean attributes:</h3>
+
+<form method="post" action="HtmlAdaptor">
+   <input type="hidden" name="action" value="updateAttributes">
+   <input type="hidden" name="name" value='<%= quotedObjectNameString %>'>
+	<table cellspacing="1" cellpadding="1" border="1">
+		<tr class="AttributesHeader">
+		    <th>Name</th>
+		    <th>Type</th>
+		    <th>Access</th>
+		    <th>Value</th>
+		    <th>Description</th>
+		</tr>
+<%
+   boolean hasWriteable = false;
+   for(int a = 0; a < attributeInfo.length; a ++)
+   {
+      MBeanAttributeInfo attrInfo = attributeInfo[a];
+      String attrName = attrInfo.getName();
+      String attrType = attrInfo.getType();
+      AttrResultInfo attrResult = Server.getMBeanAttributeResultInfo(objectNameString, attrInfo);
+      String attrValue = attrResult.getAsText();
+      String access = "";
+      if( attrInfo.isReadable() )
+         access += "R";
+      if( attrInfo.isWritable() )
+      {
+         access += "W";
+         hasWriteable = true;
+      }
+      String attrDescription = fixDescription(attrInfo.getDescription());
+%>
+		<tr>
+		    <td><%= attrName %></td>
+		    <td><%= attrType %></td>
+		    <td><%= access %></td>
+          <td>
+<%
+      if( attrInfo.isWritable() )
+      {
+         String readonly = attrResult.editor == null ? "readonly" : "";
+         if( attrType.equals("boolean") || attrType.equals("java.lang.Boolean") )
+         {
+            // Boolean true/false radio boxes
+            Boolean value = attrValue == null || "".equals( attrValue ) ? null : Boolean.valueOf(attrValue);
+            String trueChecked = (value == Boolean.TRUE ? "checked" : "");
+            String falseChecked = (value == Boolean.FALSE ? "checked" : "");
+            String naChecked = value == null ? "checked" : "";
+%>
+            <input type="radio" name="<%= attrName %>" value="True" <%=trueChecked%>>True
+            <input type="radio" name="<%= attrName %>" value="False" <%=falseChecked%>>False
+<%
+            // For wrappers, enable a 'null' selection
+            if ( attrType.equals( "java.lang.Boolean" ) && PropertyEditors.isNullHandlingEnabled() )
+            {
+%>
+            <input type="radio" name="<%= attrName %>" value="" <%=naChecked%>>Null
+<%
+            }
+         }
+         else if( attrInfo.isReadable() )
+         {  // Text fields for read-write string values
+            String avalue = (attrValue != null ? attrValue : "");
+            if( attrType.equals("javax.management.ObjectName") )
+               avalue = quoteName(avalue);
+%>
+          <input type="text" name="<%= attrName %>" value='<%= avalue %>' <%= readonly %>>
+
+<%
+         }
+         else
+         {  // Empty text fields for write-only
+%>
+		    <input type="text" name="<%= attrName %>" <%= readonly %>>
+<%
+         }
+      }
+      else
+      {
+         if( attrType.equals("[Ljavax.management.ObjectName;") )
+         {
+            // Array of Object Names
+            ObjectName[] names = (ObjectName[]) Server.getMBeanAttributeObject(objectNameString, attrName);
+            if( names != null )
+            {
+%>
+                  <table>
+<%
+               for( int i = 0; i < names.length; i++ )
+               {
+%>
+                  <tr><td>
+                  <a href="HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(( names[ i ] + "" )) %>"><%= ( names[ i ] + "" ) %></a>
+                  </td></tr>
+<%
+               }
+%>
+                  </table>
+<%
+            }
+         }
+         // Array of some objects
+         else if( attrType.endsWith("[]") || attrType.startsWith("[L") )
+         {
+            Object arrayObject = Server.getMBeanAttributeObject(objectNameString, attrName);
+            if (arrayObject != null)
+            {
+%>
+                  <table>
+<%
+               for (int i = 0; i < Array.getLength(arrayObject); ++i)
+               {
+%>
+                  <tr><td><%=Array.get(arrayObject,i)%></td></tr>
+<%
+               }
+%>
+                  </table>
+<%
+            }
+         }
+         else
+         {
+            // Just the value string
+%>
+		    <%= attrValue %>
+<%
+         }
+      }
+      if( attrType.equals("javax.management.ObjectName") )
+      {
+         // Add a link to the mbean
+         if( attrValue != null )
+         {
+%>
+         <a href="HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(attrValue) %>">View MBean</a>
+<%
+         }
+      }
+%>
+         </td>
+         <td><%= attrDescription%></td>
+		</tr>
+<%
+   }
+%>
+	</table>
+<% if( hasWriteable )
+   {
+%>
+	<input type="submit" value="Apply Changes">
+<%
+   }
+%>
+</form>
+
+<hr>
+<h3>List of MBean operations:</h3>
+<%
+   for(int a = 0; a < operationInfo.length; a ++)
+   {
+      MBeanOperationInfo opInfo = operationInfo[a];
+      boolean accept = true;
+      if (opInfo instanceof ModelMBeanOperationInfo)
+      {
+         Descriptor desc = ((ModelMBeanOperationInfo)opInfo).getDescriptor();
+         String role = (String)desc.getFieldValue("role");
+         if ("getter".equals(role) || "setter".equals(role))
+         {
+            accept = false;
+         }
+      }
+      if (accept)
+      {
+         MBeanParameterInfo[] sig = opInfo.getSignature();
+%>
+<form method="post" action="HtmlAdaptor">
+   <input type="hidden" name="action" value="invokeOp">
+   <input type="hidden" name="name" value='<%= quotedObjectNameString %>'>
+   <input type="hidden" name="methodIndex" value="<%= a %>">
+   <hr align='left' width='80'>
+   <h4><%= opInfo.getReturnType() + " " + opInfo.getName() + "()" %></h4>
+   <p><%= fixDescription(opInfo.getDescription())%></p>
+<%
+         if( sig.length > 0 )
+         {
+%>
+	<table cellspacing="2" cellpadding="2" border="1">
+		<tr class="OperationHeader">
+			<th>Param</th>
+			<th>ParamType</th>
+			<th>ParamValue</th>
+			<th>ParamDescription</th>
+		</tr>
+<%
+            for(int p = 0; p < sig.length; p ++)
+            {
+               MBeanParameterInfo paramInfo = sig[p];
+               String pname = paramInfo.getName();
+               String ptype = paramInfo.getType();
+               if( pname == null || pname.length() == 0 || pname.equals(ptype) )
+               {
+                  pname = "arg"+p;
+               }
+%>
+		<tr>
+			<td><%= pname %></td>
+		   <td><%= ptype %></td>
+         <td> 
+<%
+                if( ptype.equals("boolean") || ptype.equals("java.lang.Boolean") )
+                {
+                   // Boolean true/false radio boxes
+%>
+            <input type="radio" name="arg<%= p%>" value="True"checked>True
+            <input type="radio" name="arg<%= p%>" value="False">False
+<%
+                 }
+                 else
+                 {
+%>
+            <input type="text" name="arg<%= p%>">
+<%
+                  }
+%>
+         </td>
+         <td><%= fixDescription(paramInfo.getDescription())%></td>
+		</tr>
+<%
+               }
+%>
+	</table>
+<%
+         }
+%>
+	<input type="submit" value="Invoke">
+</form>
+<%
+      }
+   }
+%>
+</td></tr>
+</table>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/jboss.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/jboss.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/jboss.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,146 @@
+body {
+	margin: 13px 0px 10px 0px;
+	background-color: #ffffff;
+	font-size: 12px;
+	font-family: verdana, arial, "sans-serif";
+	color: #606060;
+	}
+td {
+	font-size: 12px;
+	font-family: verdana, arial, "sans-serif";
+	color: #606060;
+    }
+input {
+    font-size: 13px;
+    font-family: verdana, arial, "sans-serif";
+    color: #FF5906;
+    background-color: #f0f0f0;
+    border: 1px solid #cccccc;
+    }
+img {
+	border: 0px;
+	}
+p {
+    margin: 10px 30px 10px 20px
+    }
+h3 {
+   color: #FF5906;
+	font-size: 13px;
+	font-family: verdana, arial, "sans-serif";
+	margin: 10px 30px 10px 20px;
+	}
+h4 {
+   color: #999999;
+	font-size: 13px;
+	font-family: verdana, arial, "sans-serif";
+	margin: 10px 30px 10px 20px;
+	}
+table {
+	border: 0px #999999;
+    }
+a {
+    text-decoration : none;
+    }
+a:link {
+    color: #FF5906;
+    }
+a:visited {
+    color: #FF5906;
+    }
+a:active {
+    background-color:transparent;
+    }
+a:hover {
+    text-decoration : underline;
+    }
+a.soft, a.soft:visited, a.soft:link {
+    TEXT-DECORATION: none;
+    COLOR: #000000;
+    }
+a.soft:hover {
+    TEXT-DECORATION: underline;
+    BACKGROUND-COLOR: transparent;
+    COLOR: #000000
+    }
+#header {
+	background-color: #FF7A22;
+	background-image: url("header_bg.jpg");
+	background-repeat: no-repeat;
+	background-position: 226px 0px;
+	width: 100%;
+	height: 80px;
+	}
+#header #banner {
+	float: right;
+	margin: 8px 5px 0px 0px;
+	}
+#logo {
+	position: absolute;
+	top: 4px;
+	left: 4px;
+	z-index: 200;
+}
+#services {
+	position: absolute;
+	top: 16px;
+	right: 10px;
+	z-index: 200;
+}
+#filter {
+   position: absolute;
+   top: 65px;
+   right: 30px;
+   z-index: 220;
+}
+#filter_label {
+   position: absolute;
+   top: 61px;
+   right: 215px;
+   z-index: 220;
+}
+#apply {
+   position: absolute;
+   top: -5px;
+   right: -30px;
+   z-index: 220;
+   border: none;
+}
+#navigation_bar {
+	background-color: #f0f0f0;
+	border-bottom: 1px dotted #999999;
+	height: 20px;
+	}
+#separator_bar {
+	background-color: #ffffff;
+	border-bottom: 1px dotted #999999;
+	height: 20px;
+	}
+#footer {
+	clear: both;
+	border-top: 1px dotted #999999;
+	}
+#footer_bar {
+	height: 20px;
+	width: 100%;
+	background-color: #FF7A22;
+	}
+.attribute_link a {
+   color: #606060;
+   text-decoration: none;
+   }
+.attribute_link a:hover {
+   color: #606060;
+   border-bottom: 1px dotted #999999;
+   }
+.hide {
+	display: none;
+	}
+.spacer {
+	clear: both;
+	}
+.spacer hr {
+	display: none;
+	}
+.center {
+	text-align: center;
+	}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/style_master.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/style_master.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-console.war/style_master.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,64 @@
+BODY {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	background-color : White;
+}
+
+H1{  
+	font-family: Verdana, Arial, Helvetica, sans-serif; 
+	font-size: 25px; 
+	font-weight: bold; 
+	color: #000099}
+H2 {
+	 font-family: Verdana, Arial, Helvetica, sans-serif; 
+	 font-size: 20px; 
+	 font-weight: bold; 
+	 color: #000000
+}
+H3 {
+	 font-family: Verdana, Arial, Helvetica, sans-serif; 
+	 font-size: 17px; 
+	 font-weight: bold; 
+	 color: #000000
+}
+TH {
+	background-color : #000099;
+	color: #DEB887;
+	 font-weight: bold; 
+}.bg_table {
+	background-color : #DEB887;
+}
+}.bg_cell{
+	background-color : #ffffff;
+}
+A:ACTIVE {
+	font-family: Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	color:Red;
+	background-color: #DEB887;
+	text-decoration : underline;
+	font-weight:bold;
+}
+ A:HOVER {
+	font-family:Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	color:Red;
+	text-decoration : underline;
+	font-weight:bold;
+}
+  A:LINK {
+	font-family:  Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	color:#000099;
+	text-decoration : underline;
+	font-weight:bold;
+}
+   A:VISITED {
+	font-family: Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	color:Purple;
+	text-decoration : underline;
+	font-weight:bold;
+}
+
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-invoker-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-invoker-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jmx-invoker-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-service.xml 59448 2007-01-09 19:05:54Z dimitris at jboss.org $ -->
+<server>
+
+   <!-- The JRMP invoker proxy configuration for the InvokerAdaptorService -->
+   <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
+      name="jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory">
+      <!-- Use the standard JRMPInvoker from conf/jboss-service.xxml -->
+      <depends optional-attribute-name="InvokerName">jboss:service=invoker,type=jrmp</depends>
+      <!-- The target MBean is the InvokerAdaptorService configured below -->
+      <depends optional-attribute-name="TargetName">jboss.jmx:type=adaptor,name=Invoker</depends>
+      <!-- Where to bind the RMIAdaptor proxy -->
+      <attribute name="JndiName">jmx/invoker/RMIAdaptor</attribute>
+      <!-- The RMI compabitle MBeanServer interface -->
+      <attribute name="ExportedInterfaces">org.jboss.jmx.adaptor.rmi.RMIAdaptor,
+         org.jboss.jmx.adaptor.rmi.RMIAdaptorExt
+      </attribute>
+      <attribute name="ClientInterceptors">
+          <interceptors>
+             <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+             <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+             <interceptor>org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor</interceptor>
+             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+          </interceptors>
+      </attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+
+   <!--
+      Choose the remote proxy to expose mbean proxies over
+   -->
+   <mbean code="org.jboss.jmx.connector.invoker.MBeanProxyRemote"
+          name="jboss.jmx:type=adaptor,name=MBeanProxyRemote,protocol=jrmp">
+      <depends optional-attribute-name="MBeanServerConnection">jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory</depends>
+   </mbean>
+
+   <!-- Create a mapping from the legacy jmx-rmi-adaptor.sar binding to the
+   jmx-invoker-adaptor-server.sar JndiName specified above for backwards
+   portability.
+   -->
+   <mbean code="org.jboss.naming.NamingAlias" name="jboss.jmx:alias=jmx/rmi/RMIAdaptor">
+      <attribute name="FromName">jmx/rmi/RMIAdaptor</attribute>
+      <attribute name="ToName">jmx/invoker/RMIAdaptor</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+
+   <!-- This is the service that handles the RMIAdaptor invocations by routing
+   them to the MBeanServer the service is deployed under.  -->
+   <mbean code="org.jboss.jmx.connector.invoker.InvokerAdaptorService"
+          name="jboss.jmx:type=adaptor,name=Invoker"
+      xmbean-dd="">
+      <xmbean>
+         <description>The JMX Detached Invoker Service</description>
+         <class>org.jboss.jmx.connector.invoker.InvokerAdaptorService</class>
+
+         <!-- Attributes -->
+         <attribute access="read-only" getMethod="getName">
+            <description>The class name of the MBean</description>
+            <name>Name</name>
+            <type>java.lang.String</type>
+         </attribute>
+         <attribute access="read-only" getMethod="getState">
+            <description>The status of the MBean</description>
+            <name>State</name>
+            <type>int</type>
+         </attribute>
+         <attribute access="read-only" getMethod="getStateString">
+         <description>The status of the MBean in text form</description>
+            <name>StateString</name>
+            <type>java.lang.String</type>
+         </attribute>
+         <attribute access="read-write" getMethod="getExportedInterfaces" setMethod="setExportedInterfaces">
+            <description>The interfaces the invoker proxy supports</description>
+            <name>ExportedInterfaces</name>
+            <type>[Ljava.lang.Class;</type>
+         </attribute>
+         <attribute access="read-only" getMethod="getMethodMap">
+            <description>Map(Long hash, Method) of the proxy interface methods</description>
+            <name>MethodMap</name>
+            <type>java.util.Map</type>
+         </attribute>
+         <!-- Operations -->
+         <operation>
+            <description>The start lifecycle operation</description>
+            <name>start</name>
+         </operation>
+         <operation>
+            <description>The stop lifecycle operation</description>
+            <name>stop</name>
+         </operation>
+         <operation>
+            <description>The detyped lifecycle operation (for internal use only)</description>
+            <name>jbossInternalLifecycle</name>
+            <parameter>
+               <description>The lifecycle operation</description>
+               <name>method</name>
+               <type>java.lang.String</type>
+            </parameter>
+            <return-type>void</return-type>
+         </operation>
+
+         <operation>
+            <description>The detached invoker entry point</description>
+            <name>invoke</name>
+            <parameter>
+               <description>The method invocation context</description>
+               <name>invocation</name>
+               <type>org.jboss.invocation.Invocation</type>
+            </parameter>
+            <return-type>java.lang.Object</return-type>
+            <descriptors>
+               <interceptors>
+                  <!-- Uncomment to require authenticated users
+                  <interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
+                     securityDomain="java:/jaas/jmx-console"/>
+                  -->               
+                  <!-- Interceptor that deals with non-serializable results -->
+                  <interceptor code="org.jboss.jmx.connector.invoker.SerializableInterceptor"
+                     policyClass="StripModelMBeanInfoPolicy"/>
+               </interceptors>
+            </descriptors>            
+         </operation>
+      </xmbean>
+      
+      <attribute name="ExportedInterfaces">org.jboss.jmx.adaptor.rmi.RMIAdaptor,
+         org.jboss.jmx.adaptor.rmi.RMIAdaptorExt
+      </attribute>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jsr88-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jsr88-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/jsr88-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,19 @@
+<!-- $Id: jsr88-service.xml 60132 2007-01-31 12:43:12Z thomas.diesler at jboss.com $
+The JSR-88 DeploymentManager support services
+-->
+<server>
+   <mbean code="org.jboss.deployment.services.DeploymentManagerService"
+      name="jboss.management.local:type=JSR88DeploymentManager,name=DefaultManager">
+      <attribute name="EARDeployer">jboss.j2ee:service=EARDeployer</attribute>
+      <attribute name="EJBDeployer">jboss.ejb:service=EJBDeployer</attribute>
+      <attribute name="RARDeployer">jboss.jca:service=RARDeployer</attribute>
+      <attribute name="WARDeployer">jboss.web:service=WebServer</attribute>
+      <attribute name="CARDeployer">jboss.j2ee:service=ClientDeployer</attribute>
+      <attribute name="UploadDir">${jboss.server.temp.dir}/jsr88</attribute>
+      <depends optional-attribute-name="MainDeployer">jboss.system:service=MainDeployer</depends>
+      <!-- If false, the an existing deployment may exist in the upload dir  -->
+      <attribute name="FailOnCollision">false</attribute>
+      <!-- If false, the deployment is retained in the upload dir -->
+      <attribute name="DeleteOnUndeploy">false</attribute>
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.5
+Created-By: 1.5.0_10-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_create_db.ddl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_create_db.ddl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_create_db.ddl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+CREATE TABLE BUSINESS_ENTITY ( BUSINESS_KEY VARCHAR(41) NOT NULL, AUTHORIZED_NAME VARCHAR(255) NOT NULL, PUBLISHER_ID VARCHAR(20) NULL, OPERATOR VARCHAR(255) NOT NULL, LAST_UPDATE TIMESTAMP NOT NULL, PRIMARY KEY (BUSINESS_KEY));
+CREATE TABLE BUSINESS_DESCR ( BUSINESS_KEY VARCHAR(41) NOT NULL, BUSINESS_DESCR_ID INT NOT NULL, LANG_CODE VARCHAR(2) NULL, DESCR VARCHAR(255) NOT NULL, PRIMARY KEY (BUSINESS_KEY,BUSINESS_DESCR_ID), FOREIGN KEY (BUSINESS_KEY) REFERENCES BUSINESS_ENTITY (BUSINESS_KEY));
+CREATE TABLE BUSINESS_CATEGORY ( BUSINESS_KEY VARCHAR(41) NOT NULL, CATEGORY_ID INT NOT NULL, TMODEL_KEY_REF VARCHAR(41) NULL, KEY_NAME VARCHAR(255) NULL, KEY_VALUE VARCHAR(255) NOT NULL, PRIMARY KEY (BUSINESS_KEY,CATEGORY_ID), FOREIGN KEY (BUSINESS_KEY) REFERENCES BUSINESS_ENTITY (BUSINESS_KEY));
+CREATE TABLE BUSINESS_IDENTIFIER ( BUSINESS_KEY VARCHAR(41) NOT NULL, IDENTIFIER_ID INT NOT NULL, TMODEL_KEY_REF VARCHAR(41) NULL, KEY_NAME VARCHAR(255) NULL, KEY_VALUE VARCHAR(255) NOT NULL, PRIMARY KEY (BUSINESS_KEY,IDENTIFIER_ID), FOREIGN KEY (BUSINESS_KEY) REFERENCES BUSINESS_ENTITY (BUSINESS_KEY));
+CREATE TABLE BUSINESS_NAME ( BUSINESS_KEY VARCHAR(41) NOT NULL, BUSINESS_NAME_ID INT NOT NULL, LANG_CODE VARCHAR(2) NULL, NAME VARCHAR(255) NOT NULL, PRIMARY KEY (BUSINESS_KEY,BUSINESS_NAME_ID), FOREIGN KEY (BUSINESS_KEY) REFERENCES BUSINESS_ENTITY (BUSINESS_KEY));
+CREATE TABLE CONTACT ( BUSINESS_KEY VARCHAR(41) NOT NULL, CONTACT_ID INT NOT NULL, USE_TYPE VARCHAR(255) NULL, PERSON_NAME VARCHAR(255) NOT NULL, PRIMARY KEY (BUSINESS_KEY,CONTACT_ID), FOREIGN KEY (BUSINESS_KEY) REFERENCES BUSINESS_ENTITY (BUSINESS_KEY));
+CREATE TABLE CONTACT_DESCR ( BUSINESS_KEY VARCHAR(41) NOT NULL, CONTACT_ID INT NOT NULL, CONTACT_DESCR_ID INT NOT NULL, LANG_CODE VARCHAR(2) NULL, DESCR VARCHAR(255) NOT NULL, PRIMARY KEY (BUSINESS_KEY,CONTACT_ID,CONTACT_DESCR_ID), FOREIGN KEY (BUSINESS_KEY,CONTACT_ID) REFERENCES CONTACT (BUSINESS_KEY,CONTACT_ID));
+CREATE TABLE ADDRESS ( BUSINESS_KEY VARCHAR(41) NOT NULL, CONTACT_ID INT NOT NULL, ADDRESS_ID INT NOT NULL, USE_TYPE VARCHAR(255) NULL, SORT_CODE VARCHAR(10) NULL, TMODEL_KEY VARCHAR(41) NULL, PRIMARY KEY (BUSINESS_KEY,CONTACT_ID,ADDRESS_ID), FOREIGN KEY (BUSINESS_KEY,CONTACT_ID) REFERENCES CONTACT (BUSINESS_KEY,CONTACT_ID));
+CREATE TABLE ADDRESS_LINE ( BUSINESS_KEY VARCHAR(41) NOT NULL, CONTACT_ID INT NOT NULL, ADDRESS_ID INT NOT NULL, ADDRESS_LINE_ID INT NOT NULL, LINE VARCHAR(80) NOT NULL, KEY_NAME VARCHAR(255) NULL, KEY_VALUE VARCHAR(255) NULL, PRIMARY KEY (BUSINESS_KEY,CONTACT_ID,ADDRESS_ID,ADDRESS_LINE_ID), FOREIGN KEY (BUSINESS_KEY,CONTACT_ID,ADDRESS_ID) REFERENCES ADDRESS (BUSINESS_KEY,CONTACT_ID,ADDRESS_ID));
+CREATE TABLE EMAIL ( BUSINESS_KEY VARCHAR(41) NOT NULL, CONTACT_ID INT NOT NULL, EMAIL_ID INT NOT NULL, USE_TYPE VARCHAR(255) NULL, EMAIL_ADDRESS VARCHAR(255) NOT NULL, PRIMARY KEY (BUSINESS_KEY,CONTACT_ID,EMAIL_ID), FOREIGN KEY (BUSINESS_KEY,CONTACT_ID) REFERENCES CONTACT (BUSINESS_KEY,CONTACT_ID));
+CREATE TABLE PHONE ( BUSINESS_KEY VARCHAR(41) NOT NULL, CONTACT_ID INT NOT NULL, PHONE_ID INT NOT NULL, USE_TYPE VARCHAR(255) NULL, PHONE_NUMBER VARCHAR(50) NOT NULL, PRIMARY KEY (BUSINESS_KEY,CONTACT_ID,PHONE_ID), FOREIGN KEY (BUSINESS_KEY,CONTACT_ID) REFERENCES CONTACT (BUSINESS_KEY,CONTACT_ID));
+CREATE TABLE DISCOVERY_URL ( BUSINESS_KEY VARCHAR(41) NOT NULL, DISCOVERY_URL_ID INT NOT NULL, USE_TYPE VARCHAR(255) NOT NULL, URL VARCHAR(255) NOT NULL, PRIMARY KEY (BUSINESS_KEY,DISCOVERY_URL_ID), FOREIGN KEY (BUSINESS_KEY) REFERENCES BUSINESS_ENTITY (BUSINESS_KEY));
+CREATE TABLE BUSINESS_SERVICE ( BUSINESS_KEY VARCHAR(41) NOT NULL, SERVICE_KEY VARCHAR(41) NOT NULL, LAST_UPDATE TIMESTAMP NOT NULL, PRIMARY KEY (SERVICE_KEY), FOREIGN KEY (BUSINESS_KEY) REFERENCES BUSINESS_ENTITY (BUSINESS_KEY));
+CREATE TABLE SERVICE_DESCR ( SERVICE_KEY VARCHAR(41) NOT NULL, SERVICE_DESCR_ID INT NOT NULL, LANG_CODE VARCHAR(2) NULL, DESCR VARCHAR(255) NOT NULL, PRIMARY KEY (SERVICE_KEY,SERVICE_DESCR_ID), FOREIGN KEY (SERVICE_KEY) REFERENCES BUSINESS_SERVICE (SERVICE_KEY));
+CREATE TABLE SERVICE_CATEGORY ( SERVICE_KEY VARCHAR(41) NOT NULL, CATEGORY_ID INT NOT NULL, TMODEL_KEY_REF VARCHAR(41) NULL, KEY_NAME VARCHAR(255) NULL, KEY_VALUE VARCHAR(255) NOT NULL, PRIMARY KEY (SERVICE_KEY,CATEGORY_ID), FOREIGN KEY (SERVICE_KEY) REFERENCES BUSINESS_SERVICE (SERVICE_KEY));
+CREATE TABLE SERVICE_NAME ( SERVICE_KEY VARCHAR(41) NOT NULL, SERVICE_NAME_ID INT NOT NULL, LANG_CODE VARCHAR(2) NULL, NAME VARCHAR(255) NOT NULL, PRIMARY KEY (SERVICE_KEY,SERVICE_NAME_ID), FOREIGN KEY (SERVICE_KEY) REFERENCES BUSINESS_SERVICE (SERVICE_KEY));
+CREATE TABLE BINDING_TEMPLATE ( SERVICE_KEY VARCHAR(41) NOT NULL, BINDING_KEY VARCHAR(41) NOT NULL, ACCESS_POINT_TYPE VARCHAR(20) NULL, ACCESS_POINT_URL VARCHAR(255) NULL, HOSTING_REDIRECTOR VARCHAR(255) NULL, LAST_UPDATE TIMESTAMP NOT NULL, PRIMARY KEY (BINDING_KEY), FOREIGN KEY (SERVICE_KEY) REFERENCES BUSINESS_SERVICE (SERVICE_KEY));
+CREATE TABLE BINDING_CATEGORY ( BINDING_KEY VARCHAR(41) NOT NULL, CATEGORY_ID INT NOT NULL, TMODEL_KEY_REF VARCHAR(41) NULL, KEY_NAME VARCHAR(255) NULL, KEY_VALUE VARCHAR(255) NOT NULL, PRIMARY KEY (BINDING_KEY,CATEGORY_ID), FOREIGN KEY (BINDING_KEY) REFERENCES BINDING_TEMPLATE (BINDING_KEY));
+CREATE TABLE BINDING_DESCR ( BINDING_KEY VARCHAR(41) NOT NULL, BINDING_DESCR_ID INT NOT NULL, LANG_CODE VARCHAR(2) NULL, DESCR VARCHAR(255) NOT NULL, PRIMARY KEY (BINDING_KEY,BINDING_DESCR_ID), FOREIGN KEY (BINDING_KEY) REFERENCES BINDING_TEMPLATE (BINDING_KEY));
+CREATE TABLE TMODEL_INSTANCE_INFO ( BINDING_KEY VARCHAR(41) NOT NULL, TMODEL_INSTANCE_INFO_ID INT NOT NULL, TMODEL_KEY VARCHAR(41) NOT NULL, OVERVIEW_URL VARCHAR(255) NULL, INSTANCE_PARMS VARCHAR(255) NULL, PRIMARY KEY (BINDING_KEY,TMODEL_INSTANCE_INFO_ID), FOREIGN KEY (BINDING_KEY) REFERENCES BINDING_TEMPLATE (BINDING_KEY)); 
+CREATE TABLE TMODEL_INSTANCE_INFO_DESCR ( BINDING_KEY VARCHAR(41) NOT NULL, TMODEL_INSTANCE_INFO_ID INT NOT NULL, TMODEL_INSTANCE_INFO_DESCR_ID INT NOT NULL, LANG_CODE VARCHAR(2) NULL, DESCR VARCHAR(255) NOT NULL, PRIMARY KEY (BINDING_KEY,TMODEL_INSTANCE_INFO_ID,TMODEL_INSTANCE_INFO_DESCR_ID), FOREIGN KEY (BINDING_KEY,TMODEL_INSTANCE_INFO_ID) REFERENCES TMODEL_INSTANCE_INFO (BINDING_KEY,TMODEL_INSTANCE_INFO_ID));
+CREATE TABLE INSTANCE_DETAILS_DESCR ( BINDING_KEY VARCHAR(41) NOT NULL, TMODEL_INSTANCE_INFO_ID INT NOT NULL, INSTANCE_DETAILS_DESCR_ID INT NOT NULL, LANG_CODE VARCHAR(2) NULL, DESCR VARCHAR(255) NOT NULL, PRIMARY KEY (BINDING_KEY,TMODEL_INSTANCE_INFO_ID,INSTANCE_DETAILS_DESCR_ID), FOREIGN KEY (BINDING_KEY,TMODEL_INSTANCE_INFO_ID) REFERENCES TMODEL_INSTANCE_INFO (BINDING_KEY,TMODEL_INSTANCE_INFO_ID));
+CREATE TABLE INSTANCE_DETAILS_DOC_DESCR ( BINDING_KEY VARCHAR(41) NOT NULL, TMODEL_INSTANCE_INFO_ID INT NOT NULL, INSTANCE_DETAILS_DOC_DESCR_ID INT NOT NULL, LANG_CODE VARCHAR(2) NULL, DESCR VARCHAR(255) NOT NULL, PRIMARY KEY (BINDING_KEY,TMODEL_INSTANCE_INFO_ID,INSTANCE_DETAILS_DOC_DESCR_ID), FOREIGN KEY (BINDING_KEY,TMODEL_INSTANCE_INFO_ID) REFERENCES TMODEL_INSTANCE_INFO (BINDING_KEY,TMODEL_INSTANCE_INFO_ID));
+CREATE TABLE TMODEL ( TMODEL_KEY VARCHAR(41) NOT NULL, AUTHORIZED_NAME VARCHAR(255) NOT NULL, PUBLISHER_ID VARCHAR(20) NULL, OPERATOR VARCHAR(255) NOT NULL, NAME VARCHAR(255) NOT NULL, OVERVIEW_URL VARCHAR(255) NULL, DELETED VARCHAR(5) NULL, LAST_UPDATE TIMESTAMP NOT NULL, PRIMARY KEY (TMODEL_KEY));
+CREATE TABLE TMODEL_DESCR ( TMODEL_KEY VARCHAR(41) NOT NULL, TMODEL_DESCR_ID INT NOT NULL, LANG_CODE VARCHAR(2) NULL, DESCR VARCHAR(255) NOT NULL, PRIMARY KEY (TMODEL_KEY,TMODEL_DESCR_ID), FOREIGN KEY (TMODEL_KEY) REFERENCES TMODEL (TMODEL_KEY));
+CREATE TABLE TMODEL_CATEGORY ( TMODEL_KEY VARCHAR(41) NOT NULL, CATEGORY_ID INT NOT NULL, TMODEL_KEY_REF VARCHAR(255) NULL, KEY_NAME VARCHAR(255) NULL, KEY_VALUE VARCHAR(255) NOT NULL, PRIMARY KEY (TMODEL_KEY,CATEGORY_ID), FOREIGN KEY (TMODEL_KEY) REFERENCES TMODEL (TMODEL_KEY));
+CREATE TABLE TMODEL_IDENTIFIER ( TMODEL_KEY VARCHAR(41) NOT NULL, IDENTIFIER_ID INT NOT NULL, TMODEL_KEY_REF VARCHAR(255) NULL, KEY_NAME VARCHAR(255) NULL, KEY_VALUE VARCHAR(255) NOT NULL, PRIMARY KEY (TMODEL_KEY,IDENTIFIER_ID), FOREIGN KEY (TMODEL_KEY) REFERENCES TMODEL (TMODEL_KEY));
+CREATE TABLE TMODEL_DOC_DESCR ( TMODEL_KEY VARCHAR(41) NOT NULL, TMODEL_DOC_DESCR_ID INT NOT NULL, LANG_CODE VARCHAR(2) NULL, DESCR VARCHAR(255) NOT NULL, PRIMARY KEY (TMODEL_KEY,TMODEL_DOC_DESCR_ID), FOREIGN KEY (TMODEL_KEY) REFERENCES TMODEL (TMODEL_KEY));
+CREATE TABLE PUBLISHER_ASSERTION ( FROM_KEY VARCHAR(41) NOT NULL, TO_KEY VARCHAR(41) NOT NULL, TMODEL_KEY VARCHAR(41) NOT NULL, KEY_NAME VARCHAR(255) NOT NULL, KEY_VALUE VARCHAR(255) NOT NULL, FROM_CHECK VARCHAR(5) NOT NULL, TO_CHECK VARCHAR(5) NOT NULL, FOREIGN KEY (FROM_KEY) REFERENCES BUSINESS_ENTITY (BUSINESS_KEY), FOREIGN KEY (TO_KEY) REFERENCES BUSINESS_ENTITY (BUSINESS_KEY) );
+CREATE TABLE PUBLISHER ( PUBLISHER_ID VARCHAR(20) NOT NULL, PUBLISHER_NAME VARCHAR(255) NOT NULL, LAST_NAME VARCHAR(150) NULL, FIRST_NAME VARCHAR(100) NULL, MIDDLE_INIT VARCHAR(5) NULL, WORK_PHONE VARCHAR(50) NULL, MOBILE_PHONE VARCHAR(50) NULL, PAGER VARCHAR(50) NULL, EMAIL_ADDRESS VARCHAR(255) NULL, IS_ADMIN VARCHAR(5) NULL, IS_ENABLED VARCHAR(5) NULL, PRIMARY KEY (PUBLISHER_ID));
+CREATE TABLE AUTH_TOKEN ( AUTH_TOKEN VARCHAR(51) NOT NULL, PUBLISHER_ID VARCHAR(20) NOT NULL, PUBLISHER_NAME VARCHAR(255) NOT NULL, CREATED TIMESTAMP NOT NULL, LAST_USED TIMESTAMP NOT NULL, NUMBER_OF_USES INT NOT NULL, TOKEN_STATE INT NOT NULL, PRIMARY KEY (AUTH_TOKEN));
+CREATE TABLE MONITOR ( REMOTE_HOST VARCHAR(51) NOT NULL, REQUEST_URI VARCHAR(255) NOT NULL, CALLED_FUNCTION VARCHAR(51) NOT NULL, UDDI_VERSION VARCHAR(51) NOT NULL, LOG_TIME DATETIME NOT NULL, AUTH_TOKEN VARCHAR(51) NULL, FAULT VARCHAR(255) NULL); 
+ 

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_data.ddl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_data.ddl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_data.ddl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','Administrator','admin','jUDDI.org','uddi-org:types','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#UDDItypes',CURDATE()); 
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4',0,'en','UDDI Type Taxonomy');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4',0,'en','Taxonomy used to categorize Service Descriptions.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','categorization');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4',1,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','checked');
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:DB77450D-9FA8-45D4-A7BC-04411D14E384','Administrator','admin','jUDDI.org','unspsc-org:unspsc:3-1','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#UNSPSC31',CURDATE());
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:DB77450D-9FA8-45D4-A7BC-04411D14E384',0,'en','Product Taxonomy: UNSPSC (Version 3.1)');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:DB77450D-9FA8-45D4-A7BC-04411D14E384',0,'en','This tModel defines the UNSPSC product taxonomy.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:DB77450D-9FA8-45D4-A7BC-04411D14E384',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','categorization');
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:CD153257-086A-4237-B336-6BDCBDCC6634','Administrator','admin','jUDDI.org','unspsc-org:unspsc','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#UNSPSC',CURDATE());
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:CD153257-086A-4237-B336-6BDCBDCC6634',0,'en','Product Taxonomy: UNSPSC (Version 7.3)');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:CD153257-086A-4237-B336-6BDCBDCC6634',0,'en','This tModel defines Version 7.3 of the UNSPSC product taxonomy.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:CD153257-086A-4237-B336-6BDCBDCC6634',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','categorization');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:CD153257-086A-4237-B336-6BDCBDCC6634',1,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','Checked');
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2','Administrator','admin','jUDDI.org','ntis-gov:naics:1997','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#NAICS',CURDATE());
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2',0,'en','Business Taxonomy: NAICS(1997 Release)');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2',0,'en','This tModel defines the NAICS industry taxonomy.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','categorization');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2',1,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','checked');
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:4E49A8D6-D5A2-4FC2-93A0-0411D8D19E88','Administrator','admin','jUDDI.org','uddi-org:iso-ch:3166-1999','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#ISO3166',CURDATE());
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:4E49A8D6-D5A2-4FC2-93A0-0411D8D19E88',0,'en','ISO 3166-1:1997 and 3166-2:1998. Codes for names of countries and their subdivisions. Part 1: Country codes. Part 2:Country subdivision codes. Update newsletters include ISO 3166-1 V-1 (1998-02-05), V-2 (1999-10-01), ISO 3166-2 I-1 (1998)');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:4E49A8D6-D5A2-4FC2-93A0-0411D8D19E88',0,'en','Taxonomy used to categorize entries by geographic location.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:4E49A8D6-D5A2-4FC2-93A0-0411D8D19E88',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','categorization');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:4E49A8D6-D5A2-4FC2-93A0-0411D8D19E88',1,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','checked');
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:A035A07C-F362-44DD-8F95-E2B134BF43B4','Administrator','admin','jUDDI.org','uddi-org:general_keywords','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#GenKW',CURDATE());
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:A035A07C-F362-44DD-8F95-E2B134BF43B4',0,'en','Special taxonomy consisting of namespace identifiers and the keywords associated with the namespaces');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:A035A07C-F362-44DD-8F95-E2B134BF43B4',0,'en','This tModel defines an unidentified taxonomy.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:A035A07C-F362-44DD-8F95-E2B134BF43B4',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','categorization');
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:4064C064-6D14-4F35-8953-9652106476A9','Administrator','admin','jUDDI.org','uddi-org:owningBusiness','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#owningBusiness',CURDATE());
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:4064C064-6D14-4F35-8953-9652106476A9',0,'en','A pointer to a businessEntity that owns the tagged data.');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:4064C064-6D14-4F35-8953-9652106476A9',0,'en','This tModel indicates the businessEntity that published or owns the tagged tModel. Used with tModels to establish an "owned" relationship with a registered businessEntity.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:4064C064-6D14-4F35-8953-9652106476A9',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','categorization');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:4064C064-6D14-4F35-8953-9652106476A9',1,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','checked');
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:807A2C6A-EE22-470D-ADC7-E0424A337C03','Administrator','admin','jUDDI.org','uddi-org:relationships','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#Relationships',CURDATE());
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:807A2C6A-EE22-470D-ADC7-E0424A337C03',0,'en','Starter set classifications of businessEntity relationships');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:807A2C6A-EE22-470D-ADC7-E0424A337C03',0,'en','This tModel is used to describe business relationships. Used in the publisher assertion messages.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:807A2C6A-EE22-470D-ADC7-E0424A337C03',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','relationship');
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:327A56F0-3299-4461-BC23-5CD513E95C55','Administrator','admin','jUDDI.org','uddi-org:operators','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#Operators',CURDATE());
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:327A56F0-3299-4461-BC23-5CD513E95C55',0,'en','Taxonomy for categorizing the businessEntity of an operator of a registry.');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:327A56F0-3299-4461-BC23-5CD513E95C55',0,'en','This checked value set is used to identify UDDI operators.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:327A56F0-3299-4461-BC23-5CD513E95C55',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','categorization');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:327A56F0-3299-4461-BC23-5CD513E95C55',1,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','checked');
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:E59AE320-77A5-11D5-B898-0004AC49CC1E','Administrator','admin','jUDDI.org','uddi-org:isReplacedBy','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#IsReplacedBy',CURDATE());
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:E59AE320-77A5-11D5-B898-0004AC49CC1E',0,'en','An identifier system used to point (using UDDI keys) to the tModel (or businessEntity) that is the logical replacement for the one in which isReplacedBy is used');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:E59AE320-77A5-11D5-B898-0004AC49CC1E',0,'en','This is a checked value set.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:E59AE320-77A5-11D5-B898-0004AC49CC1E',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','identifier');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:E59AE320-77A5-11D5-B898-0004AC49CC1E',1,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','checked');
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:8609C81E-EE1F-4D5A-B202-3EB13AD01823','Administrator','admin','jUDDI.org','dnb-com:D-U-N-S','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#D-U-N-S',CURDATE());
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:8609C81E-EE1F-4D5A-B202-3EB13AD01823',0,'en','Dun&Bradstreet D-U-N-S® Number');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR) VALUES ('uuid:8609C81E-EE1F-4D5A-B202-3EB13AD01823',0,'en','This tModel is used for the Dun&Bradstreet D-U-N-S® Number identifier.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:8609C81E-EE1F-4D5A-B202-3EB13AD01823',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','identifier');
+INSERT INTO TMODEL (TMODEL_KEY,AUTHORIZED_NAME,PUBLISHER_ID,OPERATOR,NAME,OVERVIEW_URL,LAST_UPDATE) VALUES ('uuid:B1B1BAF5-2329-43E6-AE13-BA8E97195039','Administrator','admin','jUDDI.org','thomasregister-com:supplierID','http://www.uddi.org/taxonomies/UDDI_Taxonomy_tModels.htm#Thomas',CURDATE());
+INSERT INTO TMODEL_DESCR (TMODEL_KEY,TMODEL_DESCR_ID,LANG_CODE,DESCR)
+VALUES ('uuid:B1B1BAF5-2329-43E6-AE13-BA8E97195039',0,'en','Thomas Registry Suppliers');
+INSERT INTO TMODEL_DOC_DESCR (TMODEL_KEY,TMODEL_DOC_DESCR_ID,LANG_CODE,DESCR)
+VALUES ('uuid:B1B1BAF5-2329-43E6-AE13-BA8E97195039',0,'en','This tModel is used for the Thomas Register supplier identifier codes.');
+INSERT INTO TMODEL_CATEGORY (TMODEL_KEY,CATEGORY_ID,TMODEL_KEY_REF,KEY_NAME,KEY_VALUE) VALUES ('uuid:B1B1BAF5-2329-43E6-AE13-BA8E97195039',0,'uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4','types','identifier');
+INSERT INTO PUBLISHER (PUBLISHER_ID,PUBLISHER_NAME,EMAIL_ADDRESS,IS_ENABLED,IS_ADMIN) VALUES ('jboss','JBoss User','jboss at xxx','true','true');
+INSERT INTO PUBLISHER (PUBLISHER_ID,PUBLISHER_NAME,EMAIL_ADDRESS,IS_ENABLED,IS_ADMIN) VALUES ('jbosscts','JBoss User','jboss at xxx','true','true');

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_drop_db.ddl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_drop_db.ddl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/ddl/juddi_drop_db.ddl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+DROP TABLE BUSINESS_DESCR;
+DROP TABLE BUSINESS_CATEGORY;
+DROP TABLE BUSINESS_IDENTIFIER;
+DROP TABLE BUSINESS_NAME;
+DROP TABLE DISCOVERY_URL;
+DROP TABLE ADDRESS_LINE;
+DROP TABLE ADDRESS;
+DROP TABLE PHONE;
+DROP TABLE EMAIL;
+DROP TABLE CONTACT_DESCR;
+DROP TABLE CONTACT;
+DROP TABLE SERVICE_DESCR;
+DROP TABLE SERVICE_CATEGORY;
+DROP TABLE SERVICE_NAME;
+DROP TABLE BINDING_DESCR;
+DROP TABLE BINDING_CATEGORY;
+DROP TABLE INSTANCE_DETAILS_DESCR;
+DROP TABLE INSTANCE_DETAILS_DOC_DESCR;
+DROP TABLE TMODEL_CATEGORY;
+DROP TABLE TMODEL_DESCR;
+DROP TABLE TMODEL_DOC_DESCR;
+DROP TABLE TMODEL_IDENTIFIER;
+DROP TABLE TMODEL_INSTANCE_INFO_DESCR;
+DROP TABLE TMODEL_INSTANCE_INFO;
+DROP TABLE PUBLISHER_ASSERTION;
+DROP TABLE TMODEL;
+DROP TABLE BINDING_TEMPLATE;
+DROP TABLE BUSINESS_SERVICE;
+DROP TABLE BUSINESS_ENTITY;
+DROP TABLE PUBLISHER;
+DROP TABLE AUTH_TOKEN;
+DROP TABLE MONITOR;

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server>
+<server>
+
+  <!-- The juddi service configration -->
+  <mbean code="org.jboss.jaxr.juddi.JUDDIService"
+    name="jboss:service=juddi">
+     <!-- Whether we want to run the db initialization scripts -->
+     <!-- Should all tables be created on Start-->
+     <attribute name="CreateOnStart">false</attribute>
+      <!-- Should all tables be dropped on Stop-->
+     <attribute name="DropOnStop">true</attribute>
+      <!-- Should all tables be dropped on Start-->
+     <attribute name="DropOnStart">false</attribute>
+      <!-- Datasource to Database-->
+     <attribute name="DataSourceUrl">java:/DefaultDS</attribute>
+      <!-- Alias to the registry-->
+     <attribute name="RegistryOperator">RegistryOperator</attribute>
+      <!-- Should I bind a Context to which JaxrConnectionFactory bound-->
+     <attribute name="ShouldBindJaxr">true</attribute>
+       <!-- Context to which JaxrConnectionFactory to bind to.
+       If you have remote clients, please bind it to the global
+      namespace(default behavior). To just cater to clients running
+      on the same VM as JBoss, change to java:/JAXR -->
+     <attribute name="BindJaxr">JAXR</attribute>
+     <attribute name="DropDB">false</attribute> 
+     <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
+  </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi-saaj.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi-saaj.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi-service.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi-service.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/classes/org/jboss/jaxr/juddi/JUDDIServlet.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/classes/org/jboss/jaxr/juddi/JUDDIServlet.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE jboss-web PUBLIC
+        "-//JBoss//DTD Web Application 2.3V2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+    <context-root>juddi</context-root>
+    <resource-ref>
+        <res-ref-name>jdbc/juddiDB</res-ref-name>
+        <jndi-name>java:/DefaultDS</jndi-name>
+    </resource-ref> 
+</jboss-web>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/juddi.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/juddi.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/juddi.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,54 @@
+# jUDDI Registry Properties (used by RegistryServer)
+# see http://www.juddi.org for more information
+
+# The UDDI Operator Name
+juddi.operatorName = jUDDI.org
+
+# The maximum name size and maximum number
+# of name elements allows in several of the
+# FindXxxx and SaveXxxx UDDI functions.
+juddi.maxNameLength=255
+juddi.maxNameElementsAllowed=5
+juddi.maxBusinessEntitiesPerUser=25
+juddi.maxBusinessServicesPerBusiness=20
+juddi.maxBindingTemplatesPerService=10
+juddi.maxTModelsPerUser=100
+juddi.maxRowsLimit=10
+
+# jUDDI Authentication module to use
+juddi.auth = org.apache.juddi.auth.DefaultAuthenticator
+
+# jUDDI DataStore module currently to use
+juddi.dataStore = org.apache.juddi.datastore.jdbc.JDBCDataStore
+
+
+# jUDDI UUIDGen implementation to use
+juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen
+
+# jUDDI Monitor implementation to use
+#juddi.monitor = org.apache.juddi.monitor.jdbc.JDBCMonitor
+
+# jUDDI Cryptor implementation to use
+juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor
+
+# jUDDI Validator to use
+juddi.validator=org.apache.juddi.validator.DefaultValidator
+
+# jUDDI DataSource to use
+juddi.dataSource=java:/DefaultDS
+
+
+# jUDDI Proxy Properties (used by RegistryProxy)
+juddi.proxy.adminURL = http://localhost:8080/juddi/admin
+juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
+juddi.proxy.publishURL = http://localhost:8080/juddi/publish
+juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
+juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
+juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol
+
+# jUDDI HTTP Proxy Properties
+juddi.httpProxySet = true
+juddi.httpProxyHost = proxy.viens.net
+juddi.httpProxyPort = 8000
+juddi.httpProxyUserName = sviens
+juddi.httpProxyPassword = password
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+    version="2.4">
+
+    <servlet>
+        <servlet-name>JUDDIServlet</servlet-name>
+        <servlet-class>org.jboss.jaxr.juddi.JUDDIServlet</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>jUDDIRegistryServlet</servlet-name>
+        <servlet-class>org.apache.juddi.registry.RegistryServlet</servlet-class>
+        <init-param>
+            <param-name>juddi.propertiesFile</param-name>
+            <param-value>/WEB-INF/juddi.properties</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+     <servlet-mapping>
+     <servlet-name>JUDDIServlet</servlet-name>
+     <url-pattern>/inquiry</url-pattern>
+     </servlet-mapping>
+
+      <servlet-mapping>
+        <servlet-name>JUDDIServlet</servlet-name>
+       <url-pattern>/publish</url-pattern>
+      </servlet-mapping> 
+
+   <!-- ENABLE When Jboss Saaj implementation is not based on axis
+    <servlet>
+        <servlet-name>jUDDIAdminService</servlet-name>
+        <display-name>jUDDI Admin Service</display-name>
+        <servlet-class>org.apache.juddi.registry.AdminService</servlet-class>
+    </servlet>
+    <servlet>
+        <servlet-name>UDDIV2InquiryService</servlet-name>
+        <display-name>UDDI Version 2.0 Inquiry Service</display-name>
+        <servlet-class>org.apache.juddi.registry.InquiryService</servlet-class>
+    </servlet>
+    <servlet>
+        <servlet-name>UDDIV2PublishService</servlet-name>
+        <display-name>UDDI Version 2.0 Publish Service</display-name>
+        <servlet-class>org.apache.juddi.registry.PublishService</servlet-class>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>jUDDIAdminService</servlet-name>
+        <url-pattern>/admin</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>UDDIV2InquiryService</servlet-name>
+        <url-pattern>/inquiry</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>UDDIV2PublishService</servlet-name>
+        <url-pattern>/publish</url-pattern>
+    </servlet-mapping>  -->
+
+    <resource-ref>
+        <description>jUDDI DataSource</description>
+        <res-ref-name>jdbc/juddiDB</res-ref-name>
+        <res-type>javax.sql.DataSource</res-type>
+        <res-auth>Container</res-auth>
+    </resource-ref>
+
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/index.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/index.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/index.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,16 @@
+<html><head>
+<meta http-equiv='Content-Type content='text/html; charset=iso-8859-1'>
+<title>JBoss JUDDI</title>
+<link rel='stylesheet' href='./styles.css'>
+</head>
+<body>
+
+<div class='pageHeader'>Welcome to JBoss JUDDI</div>
+
+This webapp accepts POST requests to: 
+<p/>  
+    <a href="./inquiry">/inquiry</a><br/>
+    <a href="./publish">/publish</a><br/>
+  
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/styles.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/styles.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/juddi.war/styles.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,186 @@
+
+/* table for list views */
+.table_list {
+}
+
+/* table for detail views */
+.table_form {
+}
+
+.pageHeader {
+   font-size: 14pt;
+   font-weight: BOLD;
+   color: #ffffff;
+   border-bottom-width:1px;
+   border-bottom-style:solid;
+   border-color:#000066;
+   margin-bottom:15px;
+   padding-left:15px;
+   padding-top:5px;
+   padding-bottom:5px;
+   background-color: #aaaadd;
+   max-width: 900px;
+}
+
+.pageSection {
+ padding-left:15px;
+ margin-bottom: 5px;
+ max-width: 900px;
+}
+
+.metrics
+{	 
+   font-size: 6pt;
+   background-color: #dddddd;
+   width: 100%;
+}
+
+/* table row header */
+.list_tr_head {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   font-weight: 600;
+   text-align: center;
+   background-color: #aaaadd;
+}
+
+/* table row list view */
+.list_tr {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #ffffff;
+}
+
+/* table row list view odd lines */
+.list_tr_even {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #ffffff;
+}
+
+/* table row list view even lines */
+.list_tr_odd {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #dddddd;
+}
+
+/* form label */
+.form_label {
+   font-family: Verdana, sans-serif;
+   font-weight: 500;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #dddddd;
+   padding-top: 2px;
+   padding-bottom: 2px;
+}
+
+/* form value */
+.form_value {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: baseline;
+}
+
+/* tiny writing */
+.tiny {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #666666;
+}
+
+/* required input fields */
+.inputmust {
+   background-color: #dddddd;
+}
+
+/* error message */
+.error {
+   font-family: Courier New;
+   color: #990000;
+}
+
+/* error message */
+.error_trace {
+   font-family: Courier New;
+}
+
+/* active tree node */
+.tree_active_label {
+   font-weight: bold;
+}
+
+body {
+   font-family: Verdana,, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   background-color: #ffffff;
+}
+
+/* title style */
+h1 {
+   font-family: Verdana, sans-serif;
+   font-size: 14pt;
+   font-weight: 600;
+   color: #000066;
+}
+
+h2 {
+   font-family: Verdana, sans-serif;
+   font-size: 12pt;
+   font-weight: 600;
+   color: #000066;
+}
+
+h3 {
+   font-family: Verdana, sans-serif;
+   font-size: 10pt;
+   font-weight: 600;
+   color: #000066;
+}
+
+h4 {
+   font-family: Verdana, sans-serif;
+   font-size: 10pt;
+   font-weight: 500;
+   color: #000066;
+}
+
+/* table desk */
+td {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   padding-left: 5px;
+   padding-right: 5px;
+}
+
+input, textarea, select, option {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+}
+
+a {
+   font-family: Verdana, sans-serif;
+   color: #0000dd;
+   text-decoration: none;
+}
+
+a:hover{
+   font-family: Verdana, sans-serif;
+   color: #cc0000;
+   text-decoration: none;
+}
+
+pre {
+    background:#dddddd
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/scout.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/juddi-service.sar/scout.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/mail-ra.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/mail-ra.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/mail-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/mail-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/mail-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z dimitris at jboss.org $ -->
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Mail Connection Factory                                              -->
+  <!-- ==================================================================== -->
+
+  <mbean code="org.jboss.mail.MailService"
+         name="jboss:service=Mail">
+    <attribute name="JNDIName">java:/Mail</attribute>
+    <attribute name="User">nobody</attribute>
+    <attribute name="Password">password</attribute>
+    <attribute name="Configuration">
+      <!-- A test configuration -->
+      <configuration>
+        <!-- Change to your mail server prototocol -->
+        <property name="mail.store.protocol" value="pop3"/>
+        <property name="mail.transport.protocol" value="smtp"/>
+
+        <!-- Change to the user who will receive mail  -->
+        <property name="mail.user" value="nobody"/>
+
+        <!-- Change to the mail server  -->
+        <property name="mail.pop3.host" value="pop3.nosuchhost.nosuchdomain.com"/>
+
+        <!-- Change to the SMTP gateway server -->
+        <property name="mail.smtp.host" value="smtp.nosuchhost.nosuchdomain.com"/>
+        
+        <!-- The mail server port -->
+        <property name="mail.smtp.port" value="25"/>
+        
+        <!-- Change to the address mail will be from  -->
+        <property name="mail.from" value="nobody at nosuchhost.nosuchdomain.com"/>
+
+        <!-- Enable debugging output from the javamail classes -->
+        <property name="mail.debug" value="false"/>
+      </configuration>
+    </attribute>
+    <depends>jboss:service=Naming</depends>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--   Console Service Configuration                                       -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+   <!-- Isolate the console mgr classes from other deployments -->
+   <loader-repository>
+      jboss.console:sar=console-mgr.sar
+      <loader-repository-config>
+         java2ParentDelegation=true
+      </loader-repository-config>
+   </loader-repository>
+
+   <mbean code="org.jboss.console.manager.PluginManager"
+      name="jboss.admin:service=PluginManager">
+      <!-- The RMIAdaptor provider service -->
+      <depends>jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory</depends>
+      <attribute name="MainLogoUrl">/web-console/images/jboss.gif</attribute>
+      <attribute name="MainLinkUrl">/web-console/ServerInfo.jsp</attribute>
+      <attribute name="EnableShutdown">true</attribute>
+      <attribute name="JndiName">console/PluginManager</attribute>
+   </mbean>
+
+   <mbean code="org.jboss.console.manager.DeploymentFileRepository"
+      name="jboss.admin:service=DeploymentFileRepository">
+      <attribute name="BaseDir">./deploy/management</attribute>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/console-mgr-classes.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/console-mgr-classes.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/jcommon.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/jcommon.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/jfreechart.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/jfreechart.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPBinding.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPBinding.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPBinding.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,71 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*,
+                 org.jboss.aop.advice.AdviceBinding" %>                 
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+   String name = request.getParameter("binding");
+   AdviceBinding binding = (AdviceBinding)AspectManager.instance().getBindings().get(name);
+%>
+<hr class="hide"/>
+	<center>
+   <h4 style="text-align: center"><%=name%></h4>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Advice Binding</h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <p align="left"><font size="1"><b>Pointcut Expression: </b><%=binding.getPointcut().getExpr()%></font></p>
+                    <% if (binding.getCFlowString() != null) {
+                    %>
+                    <p align="left"><font size="1"><b>CFlow Expression: </b><%=binding.getCFlowString()%></font></p>
+                    <% } %>
+                    </td>
+                  </tr>
+
+            </table>
+					<p>&nbsp;</p>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss™ Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPClassMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPClassMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPClassMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar"> 
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String group = request.getParameter("group");
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    HashMap groupAttrs = advisor.getClassMetaData().tag(group);
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Metadata for class <%= classname %></h3>
+	    <p>&nbsp;</p>
+<%@ include file="AOPMetaData.jsp" %>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,84 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 java.lang.reflect.Constructor,
+                 org.jboss.console.plugins.AOPLister"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    int idx  = Integer.parseInt(request.getParameter("constructor"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Constructor constructor = advisor.getConstructors()[idx];
+    Interceptor[] interceptors = advisor.getConstructorInterceptors()[idx];
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Constructor Chain for <%=AOPLister.shortenConstructor(classname, constructor)%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorConstructorCallerChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorConstructorCallerChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorConstructorCallerChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,91 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 java.lang.reflect.Constructor,
+                 org.jboss.console.plugins.AOPLister,
+                 gnu.trove.TLongObjectHashMap"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    int idx  = Integer.parseInt(request.getParameter("index"));
+    String calledClassname = request.getParameter("calledclassname");
+    long hash  = Long.parseLong(request.getParameter("hash"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Constructor constructor = advisor.getConstructors()[idx];
+    HashMap called = advisor.getConCalledByConInterceptors()[idx];
+    TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
+    CallerConstructorInfo info = (CallerConstructorInfo)map.get(hash);
+    Interceptor[] interceptors = info.interceptors;
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Constructor Caller: <%=AOPLister.shortenConstructor(classname, constructor)%></font></h4>
+                    <h4 style="text-align: center"><font size="3">Called Constructor: <%=info.constructor.toString()%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,53 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*,java.lang.reflect.*,
+                 org.jboss.aop.metadata.ConstructorMetaData"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar"> 
+	</div>
+<!-- header end -->
+<%
+
+    String classname = request.getParameter("classname");
+    String group = request.getParameter("group");
+    String con = request.getParameter("constructor");
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    HashMap groupAttrs = new HashMap();
+    ConstructorMetaData metaData = advisor.getConstructorMetaData();
+    Iterator conit = metaData.getConstructors();
+    while (conit.hasNext())
+    {
+       String constructor = (String)conit.next();
+       if (constructor.equals(con))
+       {
+           groupAttrs = metaData.getConstructorMetaData(constructor).tag(group);
+           break;
+       }
+    }
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Metadata for constructor <%=con%></h3>
+	    <p>&nbsp;</p>
+<%@ include file="AOPMetaData.jsp" %>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMethodCallerChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMethodCallerChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMethodCallerChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,91 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 java.lang.reflect.Constructor,
+                 org.jboss.console.plugins.AOPLister,
+                 gnu.trove.TLongObjectHashMap"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    int idx  = Integer.parseInt(request.getParameter("index"));
+    String calledClassname = request.getParameter("calledclassname");
+    long hash  = Long.parseLong(request.getParameter("hash"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Constructor constructor = advisor.getConstructors()[idx];
+    HashMap called = advisor.getMethodCalledByConInterceptors()[idx];
+    TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
+    CallerMethodInfo info = (CallerMethodInfo)map.get(hash);
+    Interceptor[] interceptors = info.interceptors;
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Constructor Caller: <%=AOPLister.shortenConstructor(classname, constructor)%></font></h4>
+                    <h4 style="text-align: center"><font size="3">Called Method: <%=info.method.toString()%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPDefaultMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPDefaultMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPDefaultMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar"> 
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String group = request.getParameter("group");
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    HashMap groupAttrs = advisor.getDefaultMetaData().tag(group);
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%> Default MetaData </h3>
+	    <p>&nbsp;</p>
+<%@ include file="AOPMetaData.jsp" %>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPFieldChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPFieldChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPFieldChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,84 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 org.jboss.console.plugins.AOPLister"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    int idx  = Integer.parseInt(request.getParameter("field"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Field field = advisor.getAdvisedFields()[idx];
+    boolean read = request.getParameter("mode").equals("read");
+    Interceptor[] interceptors = read ? advisor.getFieldReadInterceptors()[idx] : advisor.getFieldWriteInterceptors()[idx];
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Field <%= (read) ? "Read" : "Write" %> Chain for <%=AOPLister.shortenField(classname, field)%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPFieldMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPFieldMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPFieldMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar"> 
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String group = request.getParameter("group");
+    String field = request.getParameter("field");	
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    HashMap groupAttrs = advisor.getFieldMetaData().getFieldMetaData(field).tag(group);
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Metadata for field <%=field%></h3>
+	    <p>&nbsp;</p>
+<%@ include file="AOPMetaData.jsp" %>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPIntroductionPointcut.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPIntroductionPointcut.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPIntroductionPointcut.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,105 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*,
+                 org.jboss.aop.introduction.InterfaceIntroduction"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String name = request.getParameter("pointcut");
+    InterfaceIntroduction introduction = AspectManager.instance().getInterfaceIntroduction(name);
+%>
+<hr class="hide"/>
+	<center> <h4 style="text-align: center"><%=name%></h4>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Introduction Pointcut</h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <p align="left"><font size="1"><b>Class Expression: </b><%=introduction.getClassExpr()%></font></p>
+                    </td>
+                  </tr>
+<%
+       Iterator mixins = introduction.getMixins().iterator();
+       while (mixins.hasNext()) {
+          InterfaceIntroduction.Mixin mixin = (InterfaceIntroduction.Mixin)mixins.next();
+          String[] interfaces = mixin.getInterfaces();
+          String initializer = (mixin.getConstruction() == null) ? ("new " + mixin.getClassName() + "()") : mixin.getConstruction();
+%>
+                  <tr>
+                    <td>
+                    <p align="left"><h4>Mixin Class</h4></p>
+                    <p align="left"><font size="1"><%=mixin.getClassName()%></font></p>
+                    <p align="left"><h4>Mixin Initializer</h4></p>
+                    <p align="left"><font size="1"><%=initializer%></font></p>
+                    </td>
+                    <td>
+                    <p align="left"><h4>Interfaces</h4></p>
+<%           
+	  for (int j = 0; j < interfaces.length; j++) {
+%>
+                    <p align="left"><font size="1"><%=interfaces[j]%></font></p>
+<%        }  %>
+                    </td>
+                  </tr>
+<%     }  %>
+<%           
+       String[] interfaces = introduction.getInterfaces();
+       if (interfaces != null && interfaces.length > 0) {
+%>
+                  <tr>
+                    <td colspan="2">
+                    <p align="left"><h4>Other Interfaces</h4></p>
+<%           
+	  for (int j = 0; j < interfaces.length; j++) {
+%>
+                    <p align="left"><font size="1"><%=interfaces[j]%></font></p>
+<%        }  %>
+                    </td>
+                  </tr>
+<%  }%>
+	
+            </table>
+					<p>&nbsp;</p>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss™ Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,79 @@
+<%@ page import="java.util.Iterator,
+                 java.util.Map,
+                 org.jboss.aop.metadata.SimpleMetaData,
+                 org.jboss.aop.metadata.MetaDataResolver" %>
+                 <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="4">
+                    <h4 style="text-align: center"><font size="3"><%=group%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Attribute Name</h4>
+                    </td>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Value (as String)</h4>
+                    </td>
+                    <td>
+                    <h4>Serialization</h4>
+                    </td>
+                  </tr>
+<%
+    boolean hasValues = false;
+         
+    Iterator it = groupAttrs.entrySet().iterator();
+    while (it.hasNext()) 
+    {
+       Map.Entry entry = (Map.Entry)it.next();
+       String attr = (String)entry.getKey();
+       if (!attr.equals(MetaDataResolver.EMPTY_TAG))
+       {
+          hasValues = true;
+          SimpleMetaData.MetaDataValue value = (SimpleMetaData.MetaDataValue)entry.getValue();
+%>
+                  <tr>
+                    <td><font size="1"><%=attr%></font>
+                    <td><font size="1"><%=value.value.getClass().getName()%></font>
+                    <td><font size="1"><%=value.value.toString()%></font>
+                    <td><font size="1"><%=value.type%></font>
+                    </td>
+                  </tr>
+<%     }
+    } 
+    
+    if (!hasValues)
+    {
+%>    
+                  <tr>
+                     <td colspan="4">empty</td>
+                  </tr>
+<%  }
+    
+%>
+	
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss™ Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,86 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,gnu.trove.TLongObjectHashMap,
+                 java.lang.reflect.Method,
+                 org.jboss.console.plugins.AOPLister"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    long hash = Long.parseLong(request.getParameter("method"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    TLongObjectHashMap methodChains = advisor.getMethodInterceptors();
+	 MethodInfo info = (MethodInfo)methodChains.get(hash);
+    Interceptor[] interceptors = info.interceptors;
+    Method method = (Method)advisor.getAdvisedMethods().get(hash);
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Method Chain for <%=AOPLister.shortenMethod(classname, method)%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodConstructorCallerChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodConstructorCallerChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodConstructorCallerChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,92 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 java.lang.reflect.Constructor,
+                 org.jboss.console.plugins.AOPLister,
+                 gnu.trove.TLongObjectHashMap,
+                 java.lang.reflect.Method"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String calledClassname = request.getParameter("calledclassname");
+    long hash  = Long.parseLong(request.getParameter("hash"));
+    long callingHash  = Long.parseLong(request.getParameter("callinghash"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Method method = (Method)advisor.getAdvisedMethods().get(callingHash);
+    HashMap called = (HashMap)advisor.getConCalledByMethodInterceptors().get(callingHash);
+    TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
+    CallerConstructorInfo info = (CallerConstructorInfo)map.get(hash);
+    Interceptor[] interceptors = info.interceptors;
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Method Caller: <%=AOPLister.shortenMethod(classname, method)%></font></h4>
+                    <h4 style="text-align: center"><font size="3">Called Constructor: <%=info.constructor.toString()%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar"> 
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String group = request.getParameter("group");
+    String method = request.getParameter("method");	
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    HashMap groupAttrs = advisor.getMethodMetaData().getMethodMetaData(method).tag(group);
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Metadata for method <%=method%></h3>
+	    <p>&nbsp;</p>
+<%@ include file="AOPMetaData.jsp" %>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodMethodCallerChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodMethodCallerChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/AOPMethodMethodCallerChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,92 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 java.lang.reflect.Constructor,
+                 org.jboss.console.plugins.AOPLister,
+                 gnu.trove.TLongObjectHashMap,
+                 java.lang.reflect.Method"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String calledClassname = request.getParameter("calledclassname");
+    long hash  = Long.parseLong(request.getParameter("hash"));
+    long callingHash  = Long.parseLong(request.getParameter("callinghash"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Method method = (Method)advisor.getAdvisedMethods().get(callingHash);
+    HashMap called = (HashMap)advisor.getMethodCalledByMethodInterceptors().get(callingHash);
+    TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
+    CallerMethodInfo info = (CallerMethodInfo)map.get(hash);
+    Interceptor[] interceptors = info.interceptors;
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Method Caller: <%=AOPLister.shortenMethod(classname, method)%></font></h4>
+                    <h4 style="text-align: center"><font size="3">Called Method: <%=info.method.toString()%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EJB.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EJB.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EJB.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,42 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="ejb" intf="org.jboss.management.j2ee.StatelessSessionBeanMBean" />
+
+<%
+   String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
+   String containerUrl = "jboss.j2ee:service=EJB,jndiName=" + ejbName;
+   containerUrl = java.net.URLEncoder.encode(containerUrl);
+   containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
+%>
+<html>
+<META HTTP-EQUIV="expires" CONTENT="0"/>
+<head>
+<title>EJB: <%=ejbName%></title>
+</head>
+
+  <body>
+  
+  <h1><center>EJB '<%=ejbName%>'</center></h1>
+  
+  <p/>
+  <p/>
+  
+  <table border="1">
+   <tr>
+      <td><b>Management Object Name:</b></td>
+   </tr>
+   <tr>
+      <td><%=ejb.getobjectName()%>&nbsp;</td>
+   </tr>
+   <tr>
+      <td><b>Provides Statistics:</b></td>
+   </tr>
+   <tr>
+      <td><%=ejb.isstatisticsProvider()%>&nbsp;</td>
+   </tr>
+  </table>
+
+   <a href="<%=containerUrl%>">Visit associated container MBean...</a>
+
+  </body>
+
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EJBModule.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EJBModule.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EJBModule.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,44 @@
+<%@ page import="javax.management.ObjectName"%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="module" intf="org.jboss.management.j2ee.J2EEModuleMBean" />
+
+<%
+   String moduleName = new ObjectName(module.getobjectName()).getKeyProperty ("name");
+%>
+<html>
+<META HTTP-EQUIV="expires" CONTENT="0"/>
+<head>
+<title>EJB-Module: <%=moduleName%></title>
+</head>
+
+  <body>
+  
+  <h1><center>EJB-Module '<%=moduleName%>'</center></h1>
+  
+  <p/>
+  <p/>
+  
+  <table border="1">
+   <tr>
+      <td><b>Management Object Name:</b></td>
+   </tr>
+   <tr>
+      <td><%=module.getobjectName()%></td>
+   </tr>
+   <tr>
+      <td><b>Provides Statistics:</b></td>
+   </tr>
+   <tr>
+      <td><%=module.isstatisticsProvider()%></td>
+   </tr>
+   <tr>
+      <td><b>Deployment Descriptor:</b></td>
+   </tr>
+   <tr>
+      <td><pre><%=org.jboss.console.plugins.helpers.servlet.ServletHelper.filter(module.getdeploymentDescriptor())%></pre></td>
+   </tr>
+  </table>
+
+  </body>
+
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EntityEjb.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EntityEjb.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/EntityEjb.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,231 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="ejb" intf="org.jboss.management.j2ee.EntityBeanMBean" />
+<jb:mbean id="container" mbean='<%=request.getParameter("ContainerObjectName")%>' intf="org.jboss.ejb.ContainerMBean" />
+<%
+   String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
+   String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule");
+   String containerUrl = java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
+
+   org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats ();
+
+   String doReset = request.getParameter("doReset");
+   if (doReset != null && doReset.equals("true"))
+   {
+   	 ejb.resetStats ();
+   }
+   String doResetInvoc= request.getParameter("doResetInvoc");
+   if (doResetInvoc!= null && doResetInvoc.equals("true"))
+   {
+   	 invokeStats.resetStats ();
+   }
+
+   String parameters = "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+   parameters = parameters + "&ContainerObjectName=" + java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   
+   String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true" + parameters;
+   String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true" + parameters;
+   String myUrl = response.encodeURL(request.getRequestURI()) + "?" + parameters;
+   org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData();
+
+%>
+<%!
+public String addStatRow (javax.management.j2ee.statistics.Statistic stat)
+{
+	String start = new java.util.Date(stat.getStartTime ()).toString ();
+	String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString ();
+	
+	String result = "<tr><td width=\"25%\"><font size=\"1\">" + stat.getName() + " (unit: " + stat.getUnit () + ")</font></td>" +
+	                "<td width=\"25%\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\"><tr>";
+	                
+	if (stat instanceof javax.management.j2ee.statistics.CountStatistic)
+	{
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "</font></td><td width=\"33%\"></td><td width=\"34%\"></td>";
+    }
+	else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic)
+	{
+		javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat;
+		
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getCurrent ()  + "</font></td><td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getLowWaterMark () + "</font></td>" +
+				 "<td width=\"34%\" align=\"center\"><font size=\"1\">" + rStat.getHighWaterMark() + "</font></td>";
+	}
+	
+	result+= "</tr></table></td><td width=\"25%\"><font size=\"1\">" + start + "</font></td><td width=\"25%\"><font size=\"1\">" + lastSample + "</font>&nbsp;</td></tr>";
+	
+	return result;
+
+}
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Entity Bean</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 831; height: 247">
+			<h3>Entity Bean</h3>
+				<h4>Name</h4>
+					<p><%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)</p>
+				<h4>EJB Module</h4>
+					<p><%=ejbModule %></p>
+				<h4>Bean Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+if (ejb.isstatisticsProvider())
+{
+%>				
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Name</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Value</h4>
+                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
+                      <tr>
+                        <td width="33%">
+                        <h4 style="text-align: center">Current</h4>
+                        </td>
+                        <td width="33%">
+                        <h4 style="text-align: center">Low</h4>
+                        </td>
+                        <td width="34%">
+                        <h4 style="text-align: center">High</h4>
+                        </td>
+                      </tr>
+                    </table>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Start Time</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Last Sample Time</h4>
+                    </td>
+                  </tr>
+	<%
+	javax.management.j2ee.statistics.EntityBeanStats stats = (javax.management.j2ee.statistics.EntityBeanStats)ejb.getstats ();
+%>	
+	<%=addStatRow (stats.getCreateCount ()) %>
+	<%=addStatRow (stats.getRemoveCount ()) %>
+	<%=addStatRow (stats.getReadyCount ()) %>
+	<%=addStatRow (stats.getPooledCount ()) %>
+
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+}
+else
+{
+%>				
+					<p>none.</p>
+<%
+}
+%>				
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+				<h4>Invocation Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+	java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator();
+	if (iterInvoc.hasNext())
+	{	
+	
+%>
+
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td  align="center">
+                    <h4 style="text-align: center">Method name</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Min (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Max (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Average (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Total (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center"># Invocations</h4>
+                    </td>
+                  </tr>
+				<%
+				while (iterInvoc.hasNext())
+				{
+               java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next();
+               org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue();
+				%>
+				
+                  <tr>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=((java.lang.reflect.Method)entry.getKey()).getName()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.minTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.maxTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=(float)stat.totalTime/(float)stat.count%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.totalTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.count%></h4></font>
+                    </td>
+                  </tr>
+                  <%
+                  }
+                  %>
+            </table>
+            <p align="center"><a href="<%=resetInvocUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+	}
+	else
+	{
+%>	 
+					<p>none.</p>
+<%
+	}
+%>
+
+					<p>&nbsp;</p>
+               <p>Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p><a href="<%=containerUrl%>">View associated container MBean</a></p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/J2EEApp.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/J2EEApp.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/J2EEApp.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,44 @@
+<%@ page import="javax.management.ObjectName"%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="app" intf="org.jboss.management.j2ee.J2EEApplicationMBean" />
+
+<%
+   String appName = new ObjectName(app.getobjectName()).getKeyProperty ("name");
+%>
+<html>
+<META HTTP-EQUIV="expires" CONTENT="0"/>
+<head>
+<title>J2EE Application: <%=appName%></title>
+</head>
+
+  <body>
+  
+  <h1><center>J2EE Application '<%=appName%>'</center></h1>
+  
+  <p/>
+  <p/>
+  
+  <table border="1">
+   <tr>
+      <td><b>Management Object Name:</b></td>
+   </tr>
+   <tr>
+      <td><%=app.getobjectName()%></td>
+   </tr>
+   <tr>
+      <td><b>Provides Statistics:</b></td>
+   </tr>
+   <tr>
+      <td><%=app.isstatisticsProvider()%></td>
+   </tr>
+   <tr>
+      <td><b>Deployment Descriptor:</b></td>
+   </tr>
+   <tr>
+      <td><pre><%=org.jboss.console.plugins.helpers.servlet.ServletHelper.filter(app.getdeploymentDescriptor())%></pre></td>
+   </tr>
+  </table>
+
+  </body>
+
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/JNDIView.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/JNDIView.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/JNDIView.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="jndiview" intf="org.jboss.naming.JNDIViewMBean" mbean="jboss:service=JNDIView" />
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - JNDI View</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<link rel="StyleSheet" href="css/dtree.css" type="text/css" />
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+			<h3>JNDI View</h3>
+			<p>&nbsp;</p>
+
+         <%=org.jboss.console.util.XMLToHTMLTreeBuilder.convertJNDIXML(jndiview.listXML())%>
+
+         <p>&nbsp;</p>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/MdbEjb.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/MdbEjb.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/MdbEjb.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,238 @@
+<%@ page language="java" 
+         import="java.util.Map"
+         import="java.util.HashMap"
+	 import="java.util.Iterator"
+	 import="org.jboss.invocation.InvocationStatistics"
+	 import="org.jboss.invocation.InvocationStatistics.*" %>
+
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="ejb" intf="org.jboss.management.j2ee.MessageDrivenBeanMBean" />
+<jb:mbean id="container" mbean='<%=request.getParameter("ContainerObjectName")%>' intf="org.jboss.ejb.ContainerMBean" />
+<%
+   String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
+   String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule");
+   String containerUrl = java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
+
+   org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats ();
+
+   String doReset = request.getParameter("doReset");
+   if (doReset != null && doReset.equals("true"))
+   {
+   	 ejb.resetStats ();
+   }
+   String doResetInvoc= request.getParameter("doResetInvoc");
+   if (doResetInvoc!= null && doResetInvoc.equals("true"))
+   {
+   	 invokeStats.resetStats ();
+   }
+
+   String parameters = "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+   parameters = parameters + "&ContainerObjectName=" + java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   
+   String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true" + parameters;
+   String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true" + parameters;
+   String myUrl = response.encodeURL(request.getRequestURI()) + "?" + parameters;
+   org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData();
+
+%>
+
+   <%!
+public String addStatRow (javax.management.j2ee.statistics.Statistic stat)
+{
+   String start = new java.util.Date(stat.getStartTime ()).toString ();
+   String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString ();
+	
+   String result = "<tr><td width=\"25%\"><font size=\"1\">" + stat.getName() + " (unit: " + stat.getUnit () + ")</font></td>" +
+                   "<td width=\"25%\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\"><tr>";
+	                
+   if (stat instanceof javax.management.j2ee.statistics.CountStatistic)
+   {
+      result += "<td width=\"33%\" align=\"center\"><font size=\"1\">" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "</font></td><td width=\"33%\"></td><td width=\"34%\"></td>";
+   }
+   else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic)
+   {
+      javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat;
+		
+      result += "<td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getCurrent ()  + "</font></td><td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getLowWaterMark () + "</font></td>" +
+                "<td width=\"34%\" align=\"center\"><font size=\"1\">" + rStat.getHighWaterMark() + "</font></td>";
+   }
+	
+   result += "</tr></table></td><td width=\"25%\"><font size=\"1\">" + start + "</font></td><td width=\"25%\"><font size=\"1\">" + lastSample + "</font>&nbsp;</td></tr>";
+	
+   return result;
+}
+%>
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Message Driven Bean</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+<div id="header">
+	&nbsp;</div>
+<div id="navigation_bar">
+</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 831; height: 247">
+			<h3>Message Driven Bean</h3>
+				<h4>Name</h4>
+					<p><%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)</p>
+				<h4>EJB Module</h4>
+					<p><%=ejbModule %></p>
+				<h4>Bean Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+if (ejb.isstatisticsProvider())
+{
+%>				
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Name</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Value</h4>
+                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
+                      <tr>
+                        <td width="33%">
+                        <h4 style="text-align: center">Current</h4>
+                        </td>
+                        <td width="33%">
+                        <h4 style="text-align: center">Low</h4>
+                        </td>
+                        <td width="34%">
+                        <h4 style="text-align: center">High</h4>
+                        </td>
+                      </tr>
+                    </table>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Start Time</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Last Sample Time</h4>
+                    </td>
+                  </tr>
+	<%
+	javax.management.j2ee.statistics.MessageDrivenBeanStats stats = (javax.management.j2ee.statistics.MessageDrivenBeanStats)ejb.getstats ();
+%>	
+	<%=addStatRow (stats.getCreateCount ()) %>
+	<%=addStatRow (stats.getRemoveCount ()) %>
+	<%=addStatRow (stats.getMessageCount ()) %>
+
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+}
+else
+{
+%>				
+					<p>none.</p>
+<%
+}
+%>				
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+				<h4>Invocation Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+	java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator();
+	if (iterInvoc.hasNext())
+	{	
+	
+%>
+
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td  align="center">
+                    <h4 style="text-align: center">Method name</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Min (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Max (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Average (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Total (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center"># Invocations</h4>
+                    </td>
+                  </tr>
+				<%
+				while (iterInvoc.hasNext())
+				{
+               java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next();
+               org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue();
+				%>
+				
+                  <tr>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=((java.lang.reflect.Method)entry.getKey()).getName()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.minTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.maxTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=(float)stat.totalTime/(float)stat.count%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.totalTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.count%></h4></font>
+                    </td>
+                  </tr>
+                  <%
+                  }
+                  %>
+            </table>
+            <p align="center"><a href="<%=resetInvocUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+	}
+	else
+	{
+%>	 
+					<p>none.</p>
+<%
+	}
+%>
+
+					<p>&nbsp;</p>
+               <p>Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p><a href="<%=containerUrl%>">View associated container MBean</a></p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Queue.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Queue.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Queue.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,119 @@
+<%@ page import="org.jboss.mq.*"%>
+<%@ page import="org.jboss.mq.server.*"%>
+<%@ page import="java.text.DateFormat"%>
+<%@ page import="java.util.Date"%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="queue" intf="org.jboss.mq.server.jmx.QueueMBean"/>
+<% 	
+	String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+	String myUrl = response.encodeURL(request.getRequestURI()) + "?" + "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));	
+	MessageCounter counter = queue.getMessageCounter()[0];
+	
+	//check reset first
+	String doReset = request.getParameter("doReset");
+	if (doReset != null && doReset.equals("true"))
+    {
+   	 	counter.resetCounter();
+    }
+    
+	String lastModified = "N/A";
+	DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);
+	if (counter.getLastUpdate() > 0)
+	{		
+		lastModified = dateFormat.format(new Date(counter.getLastUpdate()));
+	}
+	 
+    
+%>
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - JMS Queue</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+
+<!-- content begin -->
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 95%; height: 95%">
+			<h3>JMS Queue</h3>
+			<h4>Name</h4>
+				<p><%=queue.getQueueName()%></p>
+			<h4>JNDI Name</h4>
+				<p><%=queue.getJNDIName()%></p>		
+			<h4>Receiver Count</h4>
+				<p><%=queue.getReceiversCount()%></p>													
+			<h4>Message statistics:</h4>
+			<table border="1" cellpadding="0" cellspacing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="33%" >
+                    <h4>Queue Depth:</h4>
+                    </td>      
+                    <td width="33%" >
+                    <h4>Queue Depth Delta:</h4>
+                    </td>                                     
+                    <td width="33%">
+                    <h4>Maximum Depth:</h4>
+                    </td>                    
+                  </tr>	
+                  <tr align="center">
+                  	<td><%=queue.getQueueDepth()%></td>  
+                  	<td><%=counter.getDepthDelta()%></td>               	
+                  	<td><%=queue.getMaxDepth()%></td>                  	
+                  </tr>
+            </table>
+            <p>&nbsp;</p>
+			<p>&nbsp;</p>
+            <h4>Message statistics since startup or reset:</h4>
+			<table border="1" cellpadding="0" cellspacing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="33%" >
+                    <h4>Message Count:</h4>
+                    </td>                    
+                    <td width="33%">
+                    <h4>Message Count Delta:</h4>                    
+                    </td>                    
+                    <td width="33%">
+                    <h4>Last Message Add Date:</h4>
+                    </td>
+                  </tr>	
+                  <tr align="center">                  	
+                  	<td><%=counter.getCount()%></td>
+                  	<td><%=counter.getCountDelta()%></td>
+                  	<td><%=lastModified%></td>
+                  </tr>
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>            					
+            <p>&nbsp;</p>
+			<p>&nbsp;</p>						
+			              
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<!-- header end -->
+<hr class="hide"/>
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/ServerInfo.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/ServerInfo.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/ServerInfo.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,136 @@
+<%--
+ |
+ |  Author: Sacha Labourey    (sacha at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI());
+%>
+<%!
+public String memSize (java.lang.Long lOctets)
+{
+	long octets = lOctets.longValue();
+	int ratio = 3*1024;
+	String unit = "";
+	if (octets > ratio)
+	{
+	   unit = "KB";
+	   octets/=1024;	
+	   
+		if (octets > ratio)
+		{
+		   unit = "MB";
+		   octets/=1024;	
+		   
+			if (octets > ratio)
+			{
+			   unit = "GB";
+			   octets/=1024;	
+			   
+				if (octets > ratio)
+				{
+				   unit = "TB";
+				   octets/=1024;	
+				}
+			}
+		}
+	}
+	
+	return octets + " " + unit;
+}
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Server Information</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>JBoss&trade; Application Server</h3>
+					<p>&nbsp;</p>
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">JBoss</font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td width="25%" align="center" valign="top">
+                    <h4>Version</h4>
+                    <p align="left"><font size="1"><b>Version: </b><%=server.getVersion()%></font></p>
+                    <p align="left"><font size="1"><b>Version Name: </b><%=server.getVersionName()%></font></p>
+                    <p align="left"><font size="1"><b>Built on: </b><%=server.getBuildDate()%></font>
+                    </td>
+                    <td width="25%" align="center" valign="top">
+                    <h4>Environment</h4>
+                    <p align="left"><font size="1"><b>Start date: </b><%=server.getStartDate()%></font></p>
+                    <p align="left"><font size="1"><b>Host: </b><%=serverInfo.getHostName()%> (<%=serverInfo.getHostAddress ()%>)</font></p>
+                    <p align="left"><font size="1"><b>Base Location: </b><%=serverConfig.getServerBaseURL()%></font></p>
+                    <p align="left"><font size="1"><b>Base Location (local): </b><%=serverConfig.getServerBaseDir()%></font></p>
+                    <p align="left"><font size="1"><b>Running config: </b>'<%= serverConfig.getServerHomeDir().getName()%>'</font></td>
+                  </tr>
+	
+            </table>
+            <p>&nbsp;</p>
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">JVM - Hardware</font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td width="25%" align="center" valign="top">
+                    <h4>Hardware</h4>
+                    <p align="left"><font size="1"><b>#CPU: </b><%=serverInfo.getAvailableProcessors()%></font></p>
+                    <p align="left"><font size="1"><b>OS: </b><%=serverInfo.getOSName()%> <%=serverInfo.getOSVersion()%> (<%=serverInfo.getOSArch()%>)</font></td>
+                    <td width="25%" align="center" valign="top">
+                    <h4>JVM Environment</h4>
+                    <p align="left"><font size="1"><b>Free Memory: </b><%=memSize(serverInfo.getFreeMemory())%></font></p>
+                    <p align="left"><font size="1"><b>Max Memory: </b><%=memSize(serverInfo.getMaxMemory())%></font></p>
+                    <p align="left"><font size="1"><b>Total Memory: </b><%=memSize(serverInfo.getTotalMemory())%></font></p>
+                    <p align="left"><font size="1"><b>#Threads: </b><%=serverInfo.getActiveThreadCount()%></font></p>
+                    <p align="left"><font size="1"><b>JVM Version: </b><%=serverInfo.getJavaVMVersion()%> (<%=serverInfo.getJavaVMVendor()%>)</font></p>
+                    <p align="left"><font size="1"><b>JVM Name: </b><%=serverInfo.getJavaVMName()%></font></td>
+                  </tr>
+
+            </table>
+					<p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Servlet.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Servlet.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Servlet.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,102 @@
+<%@ page import="javax.management.ObjectName,
+                 javax.management.j2ee.statistics.ServletStats,
+                 javax.management.j2ee.statistics.TimeStatistic"%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="servlet" intf="org.jboss.management.j2ee.ServletMBean" />
+<%
+   String doReset = request.getParameter("doReset");
+   if (doReset != null && doReset.equals("true"))
+   {
+       servlet.resetStats();
+   }
+
+   String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+   String myUrl = response.encodeURL(request.getRequestURI()) + "?" + "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+%>
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Servlet</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 831; height: 247">
+			<h3>Servlet</h3>
+				<h4>Name</h4>
+					<p><%=new ObjectName(servlet.getobjectName()).getKeyProperty("name")%> </p>
+				<h4>Servlet Statistics:</h4>
+					<p>&nbsp;</p>
+
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td align="center">
+                    <h4 style="text-align: center">Min (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Max (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Average (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Total (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center"># Invocations</h4>
+                    </td>
+                  </tr>
+				<%
+                    ServletStats stats = (ServletStats)servlet.getstats();
+                    TimeStatistic stat = stats.getServiceTime();
+				%>
+
+                  <tr>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.getMinTime()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.getMaxTime()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=(float)stat.getTotalTime()/(float)stat.getCount()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.getTotalTime()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.getCount()%></h4></font>
+                    </td>
+                  </tr>
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+					<p>&nbsp;</p>
+			<p>&nbsp;</p>
+
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/StatefulEjb.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/StatefulEjb.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/StatefulEjb.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,231 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="ejb" intf="org.jboss.management.j2ee.StatefulSessionBeanMBean" />
+<jb:mbean id="container" mbean='<%=request.getParameter("ContainerObjectName")%>' intf="org.jboss.ejb.ContainerMBean" />
+<%
+   String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
+   String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule");
+   String containerUrl = java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
+
+   org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats ();
+
+   String doReset = request.getParameter("doReset");
+   if (doReset != null && doReset.equals("true"))
+   {
+   	 ejb.resetStats ();
+   }
+   String doResetInvoc= request.getParameter("doResetInvoc");
+   if (doResetInvoc!= null && doResetInvoc.equals("true"))
+   {
+   	 invokeStats.resetStats ();
+   }
+
+   String parameters = "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+   parameters = parameters + "&ContainerObjectName=" + java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   
+   String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true" + parameters;
+   String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true" + parameters;
+   String myUrl = response.encodeURL(request.getRequestURI()) + "?" + parameters;
+   org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData();
+
+%>
+<%!
+public String addStatRow (javax.management.j2ee.statistics.Statistic stat)
+{
+	String start = new java.util.Date(stat.getStartTime ()).toString ();
+	String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString ();
+	
+	String result = "<tr><td width=\"25%\"><font size=\"1\">" + stat.getName() + " (unit: " + stat.getUnit () + ")</font></td>" +
+	                "<td width=\"25%\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\"><tr>";
+	                
+	if (stat instanceof javax.management.j2ee.statistics.CountStatistic)
+	{
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "</font></td><td width=\"33%\"></td><td width=\"34%\"></td>";
+    }
+	else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic)
+	{
+		javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat;
+		
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getCurrent ()  + "</font></td><td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getLowWaterMark () + "</font></td>" +
+				 "<td width=\"34%\" align=\"center\"><font size=\"1\">" + rStat.getHighWaterMark() + "</font></td>";
+	}
+	
+	result+= "</tr></table></td><td width=\"25%\"><font size=\"1\">" + start + "</font></td><td width=\"25%\"><font size=\"1\">" + lastSample + "</font>&nbsp;</td></tr>";
+	
+	return result;
+
+}
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Stateful Session Bean</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 831; height: 247">
+			<h3>Stateful Session Bean</h3>
+				<h4>Name</h4>
+					<p><%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)</p>
+				<h4>EJB Module</h4>
+					<p><%=ejbModule %></p>
+				<h4>Bean Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+if (ejb.isstatisticsProvider())
+{
+%>				
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Name</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Value</h4>
+                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
+                      <tr>
+                        <td width="33%">
+                        <h4 style="text-align: center">Current</h4>
+                        </td>
+                        <td width="33%">
+                        <h4 style="text-align: center">Low</h4>
+                        </td>
+                        <td width="34%">
+                        <h4 style="text-align: center">High</h4>
+                        </td>
+                      </tr>
+                    </table>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Start Time</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Last Sample Time</h4>
+                    </td>
+                  </tr>
+	<%
+	javax.management.j2ee.statistics.StatefulSessionBeanStats stats = (javax.management.j2ee.statistics.StatefulSessionBeanStats)ejb.getstats ();
+%>	
+	<%=addStatRow (stats.getMethodReadyCount ()) %>
+	<%=addStatRow (stats.getCreateCount ()) %>
+	<%=addStatRow (stats.getRemoveCount ()) %>
+	<%=addStatRow (stats.getPassiveCount ()) %>
+
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+}
+else
+{
+%>				
+					<p>none.</p>
+<%
+}
+%>				
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+				<h4>Invocation Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+	java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator();
+	if (iterInvoc.hasNext())
+	{	
+	
+%>
+
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td  align="center">
+                    <h4 style="text-align: center">Method name</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Min (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Max (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Average (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Total (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center"># Invocations</h4>
+                    </td>
+                  </tr>
+				<%
+				while (iterInvoc.hasNext())
+				{
+               java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next();
+               org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue();
+				%>
+				
+                  <tr>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=((java.lang.reflect.Method)entry.getKey()).getName()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.minTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.maxTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=(float)stat.totalTime/(float)stat.count%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.totalTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.count%></h4></font>
+                    </td>
+                  </tr>
+                  <%
+                  }
+                  %>
+            </table>
+            <p align="center"><a href="<%=resetInvocUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+	}
+	else
+	{
+%>	 
+					<p>none.</p>
+<%
+	}
+%>
+
+					<p>&nbsp;</p>
+               <p>Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p><a href="<%=containerUrl%>">View associated container MBean</a></p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/StatelessEjb.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/StatelessEjb.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/StatelessEjb.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,230 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="ejb" intf="org.jboss.management.j2ee.StatelessSessionBeanMBean" />
+<jb:mbean id="container" mbean='<%=request.getParameter("ContainerObjectName")%>' intf="org.jboss.ejb.ContainerMBean" />
+<%
+   String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
+   String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule");
+   String containerUrl = java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
+
+   org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats ();
+
+   String doReset = request.getParameter("doReset");
+   if (doReset != null && doReset.equals("true"))
+   {
+   	 ejb.resetStats ();
+   }
+   String doResetInvoc= request.getParameter("doResetInvoc");
+   if (doResetInvoc!= null && doResetInvoc.equals("true"))
+   {
+   	 invokeStats.resetStats ();
+   }
+
+   String parameters = "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+   parameters = parameters + "&ContainerObjectName=" + java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   
+   String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true" + parameters;
+   String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true" + parameters;
+   String myUrl = response.encodeURL(request.getRequestURI()) + "?" + parameters;
+   org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData();
+
+%>
+<%!
+public String addStatRow (javax.management.j2ee.statistics.Statistic stat)
+{
+	String start = new java.util.Date(stat.getStartTime ()).toString ();
+	String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString ();
+	
+	String result = "<tr><td width=\"25%\"><font size=\"1\">" + stat.getName() + " (unit: " + stat.getUnit () + ")</font></td>" +
+	                "<td width=\"25%\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\"><tr>";
+	                
+	if (stat instanceof javax.management.j2ee.statistics.CountStatistic)
+	{
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "</font></td><td width=\"33%\"></td><td width=\"34%\"></td>";
+    }
+	else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic)
+	{
+		javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat;
+		
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getCurrent ()  + "</font></td><td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getLowWaterMark () + "</font></td>" +
+				 "<td width=\"34%\" align=\"center\"><font size=\"1\">" + rStat.getHighWaterMark() + "</font></td>";
+	}
+	
+	result+= "</tr></table></td><td width=\"25%\"><font size=\"1\">" + start + "</font></td><td width=\"25%\"><font size=\"1\">" + lastSample + "</font>&nbsp;</td></tr>";
+	
+	return result;
+
+}
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Stateless Session Bean</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 831; height: 247">
+			<h3>Stateless Session Bean</h3>
+				<h4>Name</h4>
+					<p><%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)</p>
+				<h4>EJB Module</h4>
+					<p><%=ejbModule %></p>
+				<h4>Bean Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+if (ejb.isstatisticsProvider())
+{
+%>				
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Name</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Value</h4>
+                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
+                      <tr>
+                        <td width="33%">
+                        <h4 style="text-align: center">Current</h4>
+                        </td>
+                        <td width="33%">
+                        <h4 style="text-align: center">Low</h4>
+                        </td>
+                        <td width="34%">
+                        <h4 style="text-align: center">High</h4>
+                        </td>
+                      </tr>
+                    </table>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Start Time</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Last Sample Time</h4>
+                    </td>
+                  </tr>
+	<%
+	javax.management.j2ee.statistics.StatelessSessionBeanStats stats = (javax.management.j2ee.statistics.StatelessSessionBeanStats)ejb.getstats ();
+%>	
+	<%=addStatRow (stats.getMethodReadyCount ()) %>
+	<%=addStatRow (stats.getCreateCount ()) %>
+	<%=addStatRow (stats.getRemoveCount ()) %>
+
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+}
+else
+{
+%>				
+					<p>none.</p>
+<%
+}
+%>				
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+				<h4>Invocation Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+	java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator();
+	if (iterInvoc.hasNext())
+	{	
+	
+%>
+
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td  align="center">
+                    <h4 style="text-align: center">Method name</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Min (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Max (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Average (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Total (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center"># Invocations</h4>
+                    </td>
+                  </tr>
+				<%
+				while (iterInvoc.hasNext())
+				{
+               java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next();
+               org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue();
+				%>
+				
+                  <tr>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=((java.lang.reflect.Method)entry.getKey()).getName()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.minTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.maxTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=(float)stat.totalTime/(float)stat.count%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.totalTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.count%></h4></font>
+                    </td>
+                  </tr>
+                  <%
+                  }
+                  %>
+            </table>
+            <p align="center"><a href="<%=resetInvocUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+	}
+	else
+	{
+%>	 
+					<p>none.</p>
+<%
+	}
+%>
+
+					<p>&nbsp;</p>
+               <p>Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p><a href="<%=containerUrl%>">View associated container MBean</a></p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/SysProperties.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/SysProperties.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/SysProperties.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - System Properties</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<div id="footer">
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%;">
+			<h3>JBoss&trade; System Properties</h3>
+					<p>&nbsp;</p>
+					
+				<table border="1" cellpadding="1" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="85%" align="center" id="AutoNumber1">
+<%
+	java.util.Properties props = System.getProperties ();
+	java.util.Iterator iter = props.keySet().iterator();
+	
+	while (iter.hasNext())
+	{
+		String key = (String)iter.next();	
+		String value = props.getProperty (key);
+%>
+                  <tr>
+                    <td align="left" valign="top"><font size="1"><%=key%></font>&nbsp;</td>
+                    <td align="left" valign="top"><font size="1"><%=value%></font>&nbsp;</td>
+                  </tr>
+<%
+	}
+%>
+
+            </table>
+            <br/>    <br/>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Topic.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Topic.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/Topic.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,114 @@
+<%@ page import="java.net.URLEncoder,
+				org.jboss.mq.*,
+				org.jboss.mq.server.*"
+%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="topic" intf="org.jboss.mq.server.jmx.TopicMBean"/>
+<% 	
+	String objParameter = "&ObjectName=" + URLEncoder.encode(request.getParameter("ObjectName"));
+	String myUrl = response.encodeURL(request.getRequestURI()) + "?" + objParameter;			
+%>
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - JMS Topic</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+
+<!-- content begin -->
+	<center>
+	<div id="content">		
+	<table width="95%" height="95%" border="0" cellspacing="0" cellpadding="0">
+		<tr align="center" valign="bottom">
+			<td height="24">
+				<jsp:include page="TopicNavigation.jsp" >
+					<jsp:param name="selectedTabName" value="JMS Topic"/>
+				</jsp:include>
+			</td>
+		</tr>
+		<tr>
+		  <td colspan="5" valign="top" class="container">			
+			<h4>Name</h4>
+				<p><%=topic.getTopicName()%></p>
+			<h4>JNDI Name</h4>
+				<p><%=topic.getJNDIName()%></p>																	
+			<h4>Message statistics:</h4>
+			<table border="1" cellpadding="0" cellspacing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td>
+                    <h4>All Message Count:</h4>
+                    </td>      
+                    <td>
+                    <h4>Durable Message Count:</h4>
+                    </td>                                     
+                    <td>
+                    <h4>Non Durable Message Count:</h4>
+                    </td>                    
+                    <td>
+                    <h4>Maximum Depth:</h4>
+                    </td>                    
+                  </tr>	
+                  <tr align="center">
+                  	<td><%=topic.getAllMessageCount()%></td>  
+                  	<td><%=topic.getDurableMessageCount()%></td>               	
+                  	<td><%=topic.getNonDurableMessageCount()%></td>    
+                  	<td><%=topic.getMaxDepth()%></td>	
+                  </tr>
+            </table>
+            <p>&nbsp;</p>
+			<p>&nbsp;</p>
+            <h4>Subscription statistics:</h4>
+			<table border="1" cellpadding="0" cellspacing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="33%" >
+                    <h4>All Subscriptions Count:</h4>
+                    </td>                    
+                    <td width="33%">
+                    <h4>Durable Subcriptions Count</h4>                    
+                    </td>                    
+                    <td width="33%">
+                    <h4>Non Durable Subscriptions Count:</h4>
+                    </td>
+                  </tr>	
+                  <tr align="center">                  	
+                  	<td><%=topic.getAllSubscriptionsCount()%></td>
+                  	<td><%=topic.getDurableSubscriptionsCount()%></td>
+                  	<td><%=topic.getNonDurableSubscriptionsCount()%></td>
+                  </tr>
+            </table>
+            <p align="center"><a href="<%=myUrl%>">Refresh</a></p>            					
+            <p>&nbsp;</p>
+			<p>&nbsp;</p>						
+			              		
+		  </td>
+	    </tr>		
+	</table>  
+	<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<!-- header end -->
+<hr class="hide"/>
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/TopicNavigation.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/TopicNavigation.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/TopicNavigation.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,9 @@
+<%@ page import="java.net.URLEncoder" %>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<% 
+	String objParameter = "ObjectName=" + URLEncoder.encode(request.getParameter("ObjectName")); 
+%>
+<jb:navigation selectedTabName="<%=request.getParameter("selectedTabName")%>">
+		<jb:tab name="JMS Topic" href="<%="Topic.jsp?" + objParameter%>" />
+		<jb:tab name="Subscriptions" href="<%="TopicSubscriptions.jsp?" + objParameter%>" />	
+</jb:navigation>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/TopicSubscriptions.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/TopicSubscriptions.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/TopicSubscriptions.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,108 @@
+<%@ page import="java.net.URLEncoder,
+				org.jboss.mq.*,
+				org.jboss.mq.server.*,
+				java.util.*,
+				java.text.DateFormat"
+%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="topic" intf="org.jboss.mq.server.jmx.TopicMBean"/>
+<% 	
+	String objParameter = "&ObjectName=" + URLEncoder.encode(request.getParameter("ObjectName"));
+	String myUrl = response.encodeURL(request.getRequestURI()) + "?" + objParameter;		
+	
+	MessageCounter[] counter = topic.getMessageCounter();
+	DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);
+%>
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - JMS Topic</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+
+<!-- content begin -->
+	<center>
+	<div id="content">		
+	<table width="95%" height="95%" border="0" cellspacing="0" cellpadding="0">
+		<tr align="center" valign="bottom">
+			<td height="24">	
+				<jsp:include page="TopicNavigation.jsp" >
+					<jsp:param name="selectedTabName" value="Subscriptions"/>
+				</jsp:include>
+			</td>
+		</tr>
+		<tr>
+		  <td colspan="5" valign="top" class="container">			
+			<h4>Name</h4>
+				<p><%=topic.getTopicName()%></p>																			
+			<h4>Subscriptions:</h4>
+			<table border="1" cellpadding="0" cellspacing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td>
+                    <h4>Subscription Name:</h4>
+                    </td>      
+                    <td>
+                    <h4>Durable:</h4>
+                    </td>                                     
+                    <td>
+                    <h4>Message Count:</h4>
+                    </td>                    
+                    <td>
+                    <h4>Message Count Delta:</h4>
+                    </td>         
+                    <td>
+                    <h4>Last Message Add Date:</h4>
+                    </td>           
+                  </tr>	
+<% for(int i = 0; i < counter.length; i++)
+{    
+	String lastModified = "N/A";
+	if (counter[i].getLastUpdate() > 0)
+	{		
+		lastModified = dateFormat.format(new Date(counter[i].getLastUpdate()));
+	}
+%>              
+                  <tr align="center">
+                  	<td align="left">&nbsp<%=counter[i].getDestinationSubscription()%>&nbsp</td>  
+                  	<td><%=counter[i].getDestinationDurable()%></td>               	
+                  	<td><%=counter[i].getDepth()%></td>    
+                  	<td><%=counter[i].getDepthDelta()%></td>	
+                  	<td><%=lastModified%></td>	
+                  </tr>
+<%}%>
+            </table>                    
+            <p align="center"><a href="<%=myUrl%>">Refresh</a></p>            					
+            <p>&nbsp;</p>
+			<p>&nbsp;</p>									              		
+		  </td>
+	    </tr>		
+	</table>  
+	<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<!-- header end -->
+<hr class="hide"/>
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/Classloaders.bsh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/Classloaders.bsh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/Classloaders.bsh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,83 @@
+import org.jboss.console.manager.interfaces.*;
+import org.jboss.console.manager.interfaces.impl.*;
+import org.jboss.console.plugins.*;
+import org.jboss.console.plugins.helpers.*;
+
+import javax.management.*;
+
+   String getVersion (PluginContext ctx)
+   {
+      return "0.0a";
+   }
+   
+   String getName (PluginContext ctx)
+   {
+      return "UCL lister";
+   }
+
+   ResourceTreeNode createUCLSubResource (PluginContext ctx, ObjectInstance instance)
+   {
+      String uclName = instance.getObjectName().getKeyProperty ("UCL");
+      TreeNodeMenuEntry[] menus = ctx.createMenus (new String[] 
+            {
+               "Before for UCL="+uclName, "before.html&ucl="+uclName,
+               null,
+               "After", "test.html"
+            });
+            
+      return ctx.createResourceNode ( 
+            "UCL " + uclName, // name
+            "UCL with id " + uclName, // description
+            "arrow.gif", // Icon URL
+            "mapage&ucl=" + uclName, // Default URL
+            menus,
+            null,
+            null,
+            instance.getObjectName().toString(),
+            instance.getClassName () );
+   }
+   
+   ResourceTreeNode[] createUCLSubResources (PluginContext ctx) 
+   {
+      ObjectInstance[] insts = 
+         ctx.getMBeansForClass("jmx.loading:*", 
+            "org.jboss.mx.loading.UnifiedClassLoader2");
+      ctx.getLogger().info("TAILLE: " + insts.length);
+      ResourceTreeNode[] result = new ResourceTreeNode[10];//[insts.length];
+      for (int i=0; i<result.length && i<10; i++)
+      {
+         ctx.getLogger().info("ELT: " + insts[i]);
+         result[i] = createUCLSubResource (ctx, insts[i]);
+      }
+      
+      return result;                  
+   }
+   
+   TreeNode getTreeForResource(ManageableResource resource,
+   PluginContext ctx)
+   {
+      try
+      {
+         TreeNodeMenuEntry[] menus = ctx.createMenus (new String[] 
+               {
+                  "Before", "before.html",
+                  null,
+                  "After", "after.html"
+               });
+
+         return ctx.createTreeNode (
+               "Unified ClassLoaders", // name
+               "Display all JBoss UCLs", // description
+               "http://localhost:8080/web-console/arrow.gif", // Icon URL
+               "http://www.jboss.org/", // Default URL
+               menus,
+               null, // sub nodes
+               createUCLSubResources (ctx)   // Sub-Resources                  
+            );            
+      }
+      catch (Exception e)
+      {
+         e.printStackTrace ();
+         return null;
+      }
+   }

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/J2EEFolder.bsh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/J2EEFolder.bsh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/J2EEFolder.bsh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+import org.jboss.console.manager.interfaces.*;
+import org.jboss.console.manager.interfaces.impl.*;
+import org.jboss.console.plugins.*;
+import org.jboss.console.plugins.helpers.*;
+
+
+   TreeNode getTreeForResource(ManageableResource resource,
+   PluginContext ctx)
+   {
+      try
+      {
+         return ctx.createResourceNode ( 
+               "J2EE", // name
+               "J2EE Management", // description
+               "images/elements32.gif", // Icon URL
+               null, // Default URL
+               null,
+               null,
+               null,
+               new SimpleFolderResource ("ROOT/J2EE")).setVisibility(ResourceTreeNode.INVISIBLE_IF_SUBNODE_EXISTS);
+      }
+      catch (Exception e)
+      {
+         e.printStackTrace ();
+         return null;
+      }
+   }

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/JNDIView.bsh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/JNDIView.bsh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/JNDIView.bsh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+import org.jboss.console.manager.interfaces.*;
+import org.jboss.console.manager.interfaces.impl.*;
+import org.jboss.console.plugins.*;
+import org.jboss.console.plugins.helpers.*;
+
+
+   TreeNode getTreeForResource(ManageableResource resource,
+   PluginContext ctx)
+   {
+      try
+      {
+         return ctx.createResourceNode (
+               "JNDIView", // name
+               "Viewer for JNDI Tree", // description
+               "images/jndiview.gif", // Icon URL
+               "JNDIView.jsp", // Default URL
+               null,
+               null,
+               null,
+               new SimpleFolderResource ("ROOT/JNDIView"));
+      }
+      catch (Exception e)
+      {
+         e.printStackTrace ();
+         return null;
+      }
+   }

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/SystemFolder.bsh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/SystemFolder.bsh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/SystemFolder.bsh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+import org.jboss.console.manager.interfaces.*;
+import org.jboss.console.manager.interfaces.impl.*;
+import org.jboss.console.plugins.*;
+import org.jboss.console.plugins.helpers.*;
+
+
+   TreeNode getTreeForResource(ManageableResource resource,
+   PluginContext ctx)
+   {
+      try
+      {
+         return ctx.createResourceNode ( 
+               "System", // name
+               "JBoss Kernel Management", // description
+               "images/settings32.gif", // Icon URL
+               "SysProperties.jsp", // Default URL
+               null,
+               null,
+               null,
+               new SimpleFolderResource ("ROOT/System"));
+      }
+      catch (Exception e)
+      {
+         e.printStackTrace ();
+         return null;
+      }
+   }

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-roles.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-roles.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-roles.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample roles.properties file for use with the UsersRolesLoginModule
+admin=JBossAdmin

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample users.properties file for use with the UsersRolesLoginModule
+admin=admin

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+ 
+<!DOCTYPE jboss-web
+    PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">
+
+<jboss-web>
+
+   <!-- Uncomment the security-domain to enable security. You will
+   need to edit the htmladaptor login configuration to setup the
+   login modules used to authentication users.
+   <security-domain>java:/jaas/web-console</security-domain>
+   -->
+
+   <!-- The war depends on the -->
+   <depends>jboss.admin:service=PluginManager</depends>
+</jboss-web>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/webconsole.tld
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/webconsole.tld	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/webconsole.tld	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE taglib
+   PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
+   "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
+   
+<taglib>
+   <tlibversion>1.0</tlibversion>
+   <jspversion>1.1</jspversion>
+   <shortname>webconsole</shortname>
+   
+   <tag>
+      <name>mbean</name>
+      <tagclass>org.jboss.console.plugins.helpers.servlet.MBeanTag</tagclass>
+      <teiclass>org.jboss.console.plugins.helpers.servlet.MBeanTagExtraInfo</teiclass>
+      <bodycontent>JSP</bodycontent>
+      <info>Returns a proxy to an MBean reading the "ObjectName" query parameter</info>
+      <attribute>
+         <name>mbean</name>
+         <required>false</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+      <attribute>
+         <name>intf</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+      <attribute>
+         <name>id</name>
+         <required>true</required>
+         <rtexprvalue>false</rtexprvalue>
+      </attribute>
+   </tag>
+   
+   <tag>
+      <name>navigation</name>
+      <tagclass>org.jboss.console.plugins.helpers.servlet.NavigationTag</tagclass>      
+      <bodycontent>JSP</bodycontent>    
+      <attribute>
+      	<name>selectedTabName</name>
+      	<required>false</required>
+      	<rtexprvalue>true</rtexprvalue>
+      </attribute>           
+   </tag>
+   
+   <tag>
+      <name>tab</name>
+      <tagclass>org.jboss.console.plugins.helpers.servlet.TabTag</tagclass>      
+      <bodycontent>JSP</bodycontent>     
+      <attribute>
+      	<name>name</name>
+      	<required>true</required>
+      	<rtexprvalue>true</rtexprvalue>
+      </attribute>       
+      <attribute>
+      	<name>href</name>      	
+      	<rtexprvalue>true</rtexprvalue>
+      </attribute>       
+      <attribute>
+      	<name>selected</name>      	
+      	<rtexprvalue>true</rtexprvalue>
+      </attribute>       
+   </tag>
+
+</taglib>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,367 @@
+<?xml version="1.0"?>
+<!DOCTYPE web-app PUBLIC
+   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+   "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+   <description>Web Admin Console</description>
+   <servlet>
+      <servlet-name>J2EEFolder</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>ScriptName</param-name>
+         <param-value>J2EEFolder.bsh</param-value>
+      </init-param>
+      <init-param>
+         <param-name>IsRootNode</param-name>
+         <param-value>true</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>SystemFolder</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>ScriptName</param-name>
+         <param-value>SystemFolder.bsh</param-value>
+      </init-param>
+      <init-param>
+         <param-name>IsRootNode</param-name>
+         <param-value>true</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>MonitorsFolder</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.MonitorLister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>IsRootNode</param-name>
+         <param-value>true</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>AOPFolder</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.AOPLister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>IsRootNode</param-name>
+         <param-value>true</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+    <servlet>
+        <servlet-name>JMS Message</servlet-name>
+        <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+        <init-param>
+            <param-name>WrapperClass</param-name>
+            <param-value>org.jboss.console.plugins.JMSLister</param-value>
+        </init-param>
+        <init-param>
+            <param-name>MBeanClass</param-name>
+            <param-value>org.jboss.management.j2ee.JMSResource</param-value>
+        </init-param>
+        <init-param>
+            <param-name>ContextName</param-name>
+            <param-value>/web-console</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+   <!--servlet>
+   <servlet-name>UCLs</servlet-name>
+   <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+   <init-param>
+   <param-name>ScriptName</param-name>
+   <param-value>Classloaders.bsh</param-value>
+   </init-param>
+   <init-param>
+   <param-name>FolderName</param-name>
+   <param-value>ROOT/System</param-value>
+   </init-param>
+   <init-param>
+   <param-name>ContextName</param-name>
+   <param-value>/web-console</param-value>
+   </init-param>
+   <load-on-startup>1</load-on-startup>
+   </servlet-->
+
+   <servlet>
+      <servlet-name>UCLs</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.UCLLister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>FolderName</param-name>
+         <param-value>ROOT/System</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>MBeans</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.MBeansLister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>FolderName</param-name>
+         <param-value>ROOT/System</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>JSR77 Domains and Servers</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.JSR77Lister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>FolderName</param-name>
+         <param-value>ROOT/J2EE</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>JSR77 EJBModules and EJBs</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.EJBModuleLister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>MBeanClass</param-name>
+         <param-value>org.jboss.management.j2ee.EJBModule</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+    <servlet>
+        <servlet-name>JSR77 J2EE Apps</servlet-name>
+        <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+        <init-param>
+            <param-name>WrapperClass</param-name>
+            <param-value>org.jboss.console.plugins.J2EEAppLister</param-value>
+        </init-param>
+        <init-param>
+            <param-name>MBeanClass</param-name>
+            <param-value>org.jboss.management.j2ee.J2EEApplication</param-value>
+        </init-param>
+        <init-param>
+            <param-name>ContextName</param-name>
+            <param-value>/web-console</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet>
+        <servlet-name>JSR77 WebModule</servlet-name>
+        <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+        <init-param>
+            <param-name>WrapperClass</param-name>
+            <param-value>org.jboss.console.plugins.WebModuleLister</param-value>
+        </init-param>
+        <init-param>
+            <param-name>MBeanClass</param-name>
+            <param-value>org.jboss.management.j2ee.WebModule</param-value>
+        </init-param>
+        <init-param>
+            <param-name>ContextName</param-name>
+            <param-value>/web-console</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+   <servlet>
+      <servlet-name>HTTP Invocation</servlet-name>
+      <servlet-class>org.jboss.console.remote.InvokerServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Create Snapshot</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.CreateSnapshotServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Manage Snapshot</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.ManageSnapshotServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Create Threshold Monitor</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.CreateThresholdMonitorServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Manage Threshold Monitor</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.ManageThresholdMonitorServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Create String Threshold Monitor</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.CreateStringThresholdMonitorServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Manage String Threshold Monitor</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.ManageStringThresholdMonitorServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Clear Monitor Alerts</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.ClearMonitorAlertsServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Acknowledge Active Alarms</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.AcknowledgeActiveAlarmsServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+   
+  <servlet>
+    <servlet-name>Status Servlet</servlet-name>
+    <servlet-class>org.jboss.web.tomcat.service.StatusServlet</servlet-class>
+  </servlet>
+    
+  <servlet-mapping>
+    <servlet-name>Status Servlet</servlet-name>
+    <url-pattern>/status</url-pattern>
+  </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>HTTP Invocation</servlet-name>
+      <url-pattern>/Invoker/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Create Snapshot</servlet-name>
+      <url-pattern>/CreateSnapshot</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Manage Snapshot</servlet-name>
+      <url-pattern>/ManageSnapshot</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Create Threshold Monitor</servlet-name>
+      <url-pattern>/CreateThresholdMonitor</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Manage Threshold Monitor</servlet-name>
+      <url-pattern>/ManageThresholdMonitor</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Create String Threshold Monitor</servlet-name>
+      <url-pattern>/CreateStringThresholdMonitor</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Manage String Threshold Monitor</servlet-name>
+      <url-pattern>/ManageStringThresholdMonitor</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Clear Monitor Alerts</servlet-name>
+      <url-pattern>/ClearMonitorAlerts</url-pattern>
+   </servlet-mapping>
+
+  <servlet-mapping>
+      <servlet-name>Acknowledge Active Alarms</servlet-name>
+      <url-pattern>/AcknowledgeActiveAlarms</url-pattern>
+   </servlet-mapping>
+   
+   <taglib>
+      <taglib-uri>/webconsole</taglib-uri>
+      <taglib-location>/WEB-INF/tlds/webconsole.tld</taglib-location>
+   </taglib>
+
+   <!-- A security constraint that restricts access to the HTML JMX console
+   to users with the role JBossAdmin. Edit the roles to what you want and
+   uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
+   secured access to the HTML JMX console.
+
+   <security-constraint>
+   <web-resource-collection>
+   <web-resource-name>HtmlAdaptor</web-resource-name>
+   <description>An example security config that only allows users with the
+   role JBossAdmin to access the HTML JMX console web application
+   </description>
+   <url-pattern>/*</url-pattern>
+   <http-method>GET</http-method>
+   <http-method>POST</http-method>
+   </web-resource-collection>
+   <auth-constraint>
+   <role-name>JBossAdmin</role-name>
+   </auth-constraint>
+   </security-constraint>
+   -->
+
+   <login-config>
+      <auth-method>BASIC</auth-method>
+      <realm-name>JBoss WEB Console</realm-name>
+   </login-config>
+
+   <security-role>
+      <role-name>JBossAdmin</role-name>
+   </security-role>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WebModule.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WebModule.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/WebModule.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,102 @@
+<%@ page import="javax.management.ObjectName"%>
+ <%--
+ |
+ |  Author: Sacha Labourey    (sacha at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="webModule" intf="org.jboss.management.j2ee.WebModuleMBean" />
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Web Module</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Web Module: '<%=new ObjectName(webModule.getobjectName()).getKeyProperty("name")%>'</h3>
+					<p>&nbsp;</p>
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center">
+                    <h4 style="text-align: center"><font size="3">Servlets</font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td width="50%" align="center" valign="top">
+                    <h4>This Web Module is composed of the following Servlets:</h4>
+                    <%
+                        String[] namesStr = webModule.getservlets();
+                        ObjectName[] names = null;
+                        if (namesStr != null) {
+                            names = new ObjectName[namesStr.length];
+                            for (int i = 0; i < namesStr.length; i++) {
+                                names[i] = new ObjectName(namesStr[i]);
+                            }
+                        }
+                        if (names != null)
+                    %>
+					<ul>
+                    <%
+                            for (int i = 0; i < names.length; i++)
+                            {
+                    %>
+						<li>
+						<p align="left"><font size="1"><b><%=names[i].getKeyProperty("name")%></b></font></p>
+						</li>
+                        <%
+                            }
+                        %>
+					</ul>
+                    <p align="left"><font size="1"><b>Number of Servlets: </b><%=(names!=null?names.length:0)%></font></p>
+                    </td>
+                  </tr>
+
+            </table>
+            <p>&nbsp;</p>
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center">
+                    <h4 style="text-align: center"><font size="3">Deployment
+					Descriptor</font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td width="50%" align="left" valign="top"><pre>
+                    <%=org.jboss.console.plugins.helpers.servlet.ServletHelper.filter(webModule.getdeploymentDescriptor())%>
+                    </pre>
+                    </td>
+                  </tr>
+
+            </table>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/applet.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/applet.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/applet.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/applet.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/applet.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+<html>
+
+<head>
+</head>
+
+<body>
+
+<p>
+<applet 
+   width="100%" 
+   height="100%" 
+   code="org.jboss.console.navtree.AppletBrowser"
+   archive="applet.jar"
+   >
+   <!-- An empty refresh value disables the background refresh thread -->
+   <param name="RefreshTime" value="">
+   <param name="SessionId" value="<%=request.getSession().getId()%>">
+   <param name="PMJMXName" value="jboss.admin:service=PluginManager">
+</applet>
+</p>
+
+</body>
+
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createSnapshot.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createSnapshot.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createSnapshot.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,98 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+   String error = (String)request.getAttribute("error");
+   String attribute = request.getParameter("attribute");
+   if (attribute == null) attribute = "";
+   String monitorName = request.getParameter("monitorName");
+   if (monitorName == null) monitorName = attribute + " Snapshot";
+   String objectName = request.getParameter("objectName");
+   if (objectName == null) objectName = "";
+   String period = request.getParameter("period");
+   if (period == null) period = "";
+   String maxSize = request.getParameter("maxSize");
+   if (maxSize == null) maxSize = "";
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Create Snapshot</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Create Snapshot MBean Monitor</h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="CreateSnapshot" method="post">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>"></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=objectName%>" size="35"></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35"></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>"></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+</table>
+<input type="submit" value="Create">
+</form>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitor.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitor.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitor.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,173 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   String error = (String)request.getAttribute("error");
+   String monitorName = request.getParameter("monitorName");
+   if (monitorName == null) monitorName = "";
+   String objectName = request.getParameter("objectName");
+   if (objectName == null) objectName = "";
+   String attribute = request.getParameter("attribute");
+   if (attribute == null) attribute = "";
+   String threshold = request.getParameter("threshold");
+   if (threshold == null && objectName != null && attribute != null)
+   {
+      threshold = (String)mbeanServer.getAttribute(new ObjectName(objectName), attribute);
+   }
+   else if (threshold == null) threshold = "";
+
+   String period = request.getParameter("period");
+   if (period == null) period = "";
+   String equality = request.getParameter("equality");
+   if (equality == null) equality = "";
+   else equality = "checked";
+   String enabled = request.getParameter("enabled");
+   if (enabled == null) enabled = "";
+   else enabled = "checked";
+   String[] alertStrings = request.getParameterValues("alerts");
+   HashSet alertSet = null;
+   if (alertStrings != null)
+   {
+      alertSet = new HashSet();
+      for (int i = 0; i < alertStrings.length; i++)
+      {
+         alertSet.add(alertStrings[i]);
+      }
+   }
+
+
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Create String Threshold Monitor</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Create String Threshold MBean Monitor</h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="CreateStringThresholdMonitor" method="post">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>"></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=objectName%>" size="35"></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35"></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>"></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>"></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Equality Trigger</b></td>
+    <td><input type="checkbox" name="equality" value="" <%=equality%>></td>
+    <td><i>Uncheck this box if you want an alert to trigger when attribute changes from threshold value</i></td>
+</tr>
+<tr>
+    <td><b>Persisted</b></td>
+    <td><input type="checkbox" name="persisted" value="" checked></td>
+    <td><i>Should this monitor be created for next JBoss reboot?</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set alerts = mbeanServer.queryNames(null, queryExp);
+   if (alerts.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(alerts.size())%>" multiple>
+<%
+      Iterator it = alerts.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+         String selected = "";
+         if (alertSet != null && alertSet.contains(alert.toString())) selected = "SELECTED";
+%>
+   <option value="<%=alert.toString()%>" <%=selected%>><%=alertName%></option>
+<%
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+<input type="submit" value="Create">
+</form>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitorSummary.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitorSummary.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitorSummary.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,154 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+   String monitorName = request.getParameter("monitorName");
+   if (monitorName == null) monitorName = "";
+   String objectName = request.getParameter("objectName");
+   if (objectName == null) objectName = "";
+   String attribute = request.getParameter("attribute");
+   if (attribute == null) attribute = "";
+   String threshold = request.getParameter("threshold");
+   if (threshold == null) threshold = "";
+   String period = request.getParameter("period");
+   if (period == null) period = "";
+   String equality = request.getParameter("equality");
+   if (equality == null) equality = "";
+   else equality = "checked";
+   String enabled = request.getParameter("enabled");
+   if (enabled == null) enabled = "";
+   else enabled = "checked";
+   String[] alertStrings = request.getParameterValues("alerts");
+   HashSet alertSet = null;
+   if (alertStrings != null)
+   {
+      alertSet = new HashSet();
+      for (int i = 0; i < alertStrings.length; i++)
+      {
+         alertSet.add(alertStrings[i]);
+      }
+   }
+
+
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Create String Monitor Summary</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>String MBean Monitor Created</h3>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>" readonly></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=objectName%>" size="35" readonly></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35" readonly></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>" readonly></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>" readonly></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Equality Trigger</b></td>
+    <td><input type="checkbox" name="equality" value="" <%=equality%>></td>
+    <td><i>Uncheck this box if you want an alert to trigger when attribute changes from threshold value</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set alerts = mbeanServer.queryNames(null, queryExp);
+   if (alerts.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(alerts.size())%>" multiple readonly>
+<%
+      Iterator it = alerts.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         if (alertSet.contains(alert.toString()))
+         {
+            String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+%>
+   <option value="<%=alert.toString()%>" ><%=alertName%></option>
+<%
+         }
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+</form>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitor.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitor.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitor.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,171 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+   String error = (String)request.getAttribute("error");
+   String monitorName = request.getParameter("monitorName");
+   if (monitorName == null) monitorName = "";
+   String objectName = request.getParameter("objectName");
+   if (objectName == null) objectName = "";
+   String attribute = request.getParameter("attribute");
+   if (attribute == null) attribute = "";
+   String threshold = request.getParameter("threshold");
+   if (threshold == null) threshold = "";
+   String period = request.getParameter("period");
+   if (period == null) period = "";
+   String compare = request.getParameter("compare");
+   if (compare == null) compare = "gt";
+   String enabled = request.getParameter("enabled");
+   if (enabled == null) enabled = "";
+   String[] alertStrings = request.getParameterValues("alerts");
+   HashSet alertSet = null;
+   if (alertStrings != null)
+   {
+      alertSet = new HashSet();
+      for (int i = 0; i < alertStrings.length; i++)
+      {
+         alertSet.add(alertStrings[i]);
+      }
+   }
+
+
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Server Information</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Create Threshold MBean Monitor</h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="CreateThresholdMonitor" method="post">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>"></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=objectName%>" size="35"></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35"></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>"></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>"></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Comparison Equation</b></td>
+    <td><select name="compare" id="compare" size="1">
+        <option value="gt" <%=compare.equals("gt") ? "SELECTED" : ""%>>&gt;</option>
+        <option value="lt" <%=compare.equals("lt") ? "SELECTED" : ""%>>&lt;</option>
+        <option value="eq" <%=compare.equals("eq") ? "SELECTED" : ""%>>=</option>
+        </select>
+    </td>
+    <td><i>Boolean expression to use when testing threshold hit.</i></td>
+</tr>
+<tr>
+    <td><b>Persisted</b></td>
+    <td><input type="checkbox" name="persisted" value="" checked></td>
+    <td><i>Should this monitor be created for next JBoss reboot?</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set alerts = mbeanServer.queryNames(null, queryExp);
+   if (alerts.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(alerts.size())%>" multiple>
+<%
+      Iterator it = alerts.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+         String selected = "";
+         if (alertSet != null && alertSet.contains(alert.toString())) selected = "SELECTED";
+%>
+   <option value="<%=alert.toString()%>" <%=selected%>><%=alertName%></option>
+<%
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+<input type="submit" value="Create">
+</form>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitorSummary.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitorSummary.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitorSummary.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,157 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+   String monitorName = request.getParameter("monitorName");
+   if (monitorName == null) monitorName = "";
+   String objectName = request.getParameter("objectName");
+   if (objectName == null) objectName = "";
+   String attribute = request.getParameter("attribute");
+   if (attribute == null) attribute = "";
+   String threshold = request.getParameter("threshold");
+   if (threshold == null) threshold = "";
+   String period = request.getParameter("period");
+   if (period == null) period = "";
+   String compare = request.getParameter("compare");
+   if (compare == null) compare = "gt";
+   String enabled = request.getParameter("enabled");
+   if (enabled == null) enabled = "";
+   String[] alertStrings = request.getParameterValues("alerts");
+   HashSet alertSet = null;
+   if (alertStrings != null)
+   {
+      alertSet = new HashSet();
+      for (int i = 0; i < alertStrings.length; i++)
+      {
+         alertSet.add(alertStrings[i]);
+      }
+   }
+
+
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Server Information</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Threshold MBean Monitor Created</h3>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>" readonly></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=objectName%>" size="35" readonly></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35" readonly></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>" readonly></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>" readonly></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Comparison Equation</b></td>
+    <td><select name="compare" id="compare" size="1">
+        <option value="gt" <%=compare.equals("gt") ? "SELECTED" : ""%>>&gt;</option>
+        <option value="lt" <%=compare.equals("lt") ? "SELECTED" : ""%>>&lt;</option>
+        <option value="eq" <%=compare.equals("eq") ? "SELECTED" : ""%>>=</option>
+        </select>
+    </td>
+    <td><i>Boolean expression to use when testing threshold hit.</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set alerts = mbeanServer.queryNames(null, queryExp);
+   if (alerts.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(alerts.size())%>" multiple readonly>
+<%
+      Iterator it = alerts.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         if (alertSet.contains(alert.toString()))
+         {
+            String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+%>
+   <option value="<%=alert.toString()%>" ><%=alertName%></option>
+<%
+         }
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+</form>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/css/dtree.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/css/dtree.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/css/dtree.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+/*--------------------------------------------------|
+| dTree 2.05 | www.destroydrop.com/javascript/tree/ |
+|---------------------------------------------------|
+| Copyright (c) 2002-2003 Geir Landrö               |
+|--------------------------------------------------*/
+
+.dtree {
+	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+	color: #666;
+	white-space: nowrap;
+}
+.dtree img {
+	border: 0px;
+	vertical-align: middle;
+}
+.dtree a {
+	color: #333;
+	text-decoration: none;
+}
+.dtree a.node, .dtree a.nodeSel {
+	white-space: nowrap;
+	padding: 1px 2px 1px 2px;
+}
+.dtree a.node:hover, .dtree a.nodeSel:hover {
+	color: #333;
+	text-decoration: underline;
+}
+.dtree a.nodeSel {
+	background-color: #c0d2ec;
+}
+.dtree .clip {
+	overflow: hidden;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/css/jboss.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/css/jboss.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/css/jboss.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,229 @@
+body {
+	margin: 13px 0px 10px 0px;
+	background-color: #ffffff;
+	font-size: 10px;
+	font-family: verdana, arial, "sans-serif";
+	color: #606060;
+	}
+img {
+	border: 0px;
+	}
+#header {
+	background-color: #003D6E;
+	width: 100%;
+	height: 80px
+	}
+#header #banner {
+	float: right;
+	margin: 8px 5px 0px 0px;
+	}
+#logo {
+	position: absolute;
+	top: 2px;
+	left: 4px;
+	z-index: 200;
+}
+#navigation_bar {
+	background-color: #f0f0f0;
+	border-bottom: 1px dotted #999999;
+	height: 20px;
+	}
+#items {
+	font-size: 12px;
+	width: 600px;
+	margin: 5px 5px 5px 170px;
+	position: relative;
+	z-index: 300;
+	}
+#items .item {
+	margin-right: 10px;
+	}
+.side_block {
+	margin: 15px 5px 10px 5px;
+	background-color: #fbfbfb;
+	border: 1px solid #f0f0f0;
+	}
+.side_block h3 {
+	font-size: 11px;
+	font-weight: 100;
+	width: 100%;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 10x;
+	background-color: #f0f0f0;
+	}
+.side_block h4 {
+	font-size: 11px;
+	color: #003D6E;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+	}
+.side_block p {
+	margin: 5px 5px 3px 5px;
+	}
+.side_block form {
+	margin: 0px 0px 0px 5px;
+	}
+.side_block #login {
+	font-size: 9px;
+	}
+.side_block p img {
+	text-align: center;
+	}
+#content {
+	width: 90%; 
+	margin: 10px auto;
+	}
+#left {
+	float: left;
+	width: 14%;
+	}
+#right {
+	float: right;
+	width: 14%;
+	}
+.content_block {
+	text-align: justify;
+	border: 1px solid #999999;
+	margin: 5px;
+	width: 31%;
+	float: left;
+	}
+.content_block p {
+	margin: 0px 5px 3px 5px;
+	}
+.content_block h3 {
+	font-size: 11px;
+	font-weight: bold;
+	color: #000000;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 4x;
+	text-align: center;
+	background-color: #f0f0f0;
+	border-bottom: 1px solid #999999
+	}
+.content_block h4 {
+	font-size: 11px;
+	color: #003D6E;
+	text-align: left;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+	}
+#footer {
+	clear: both;
+	border-top: 1px dotted #999999;
+	}
+#credits {
+	background-color: #f0f0f0;
+	padding: 5px;
+	text-align: center;
+	}
+#footer_bar {
+	height: 20px;
+	width: 100%;
+	background-color: #003D6E;
+	}
+.hide {
+	display: none;
+	}
+.spacer {
+	clear: both;
+	}
+.spacer hr {
+	display: none;
+	}
+.center {
+	text-align: center;
+	}
+#youcandoit {
+	background-image: url('youcandoit.jpg');
+	background-repeat: repeat-x;
+	height: 165px;
+	margin: 0px 30px;
+	}
+.data_table {
+	font-size: 10px;
+	font-family: verdana, arial, "sans-serif";
+	margin: 5px;
+	border-collapse: collapse;	
+}
+.data_table h2 {
+	font-size: 11px;	
+	margin: 5px 5px 5px 5px;
+	text-align: center
+}
+.data_table h4 {
+	font-size: 11px;
+	color: #003D6E;
+	margin: 5px 5px 5px 5px;
+	text-align: center
+}
+
+.container {
+	border-top-width: 0px;
+	border-right: 1px solid #CCCCCC;
+	border-left: 1px solid #CCCCCC;
+	border-bottom: 1px solid #CCCCCC;
+	text-align: justify;	
+	margin: 5px;
+	float: left;
+}
+
+.container p {
+	font-size: 10px;
+	font-family: verdana, arial, "sans-serif";
+	margin: 0px 5px 3px 5px;	
+}
+	
+.container h3 {
+	font-size: 11px;
+	font-weight: bold;
+	color: #000000;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 4x;
+	text-align: center;
+	background-color: #f0f0f0;
+	border-bottom: 1px solid #999999
+}
+
+.container h4 {
+	font-size: 11px;
+	color: #003D6E;
+	text-align: left;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+}
+	
+.tabSpacer {
+	border-bottom: 1px solid #CCCCCC;
+}
+.tabSpacer p {
+	margin: 0px;
+}
+.tab {
+	border-top: 1px solid #CCCCCC;
+	border-right: 1px solid #CCCCCC;
+	border-left: 1px solid #CCCCCC;
+}
+.tabOff {
+	border-top: 1px solid #CCCCCC;
+	border-right: 1px solid #CCCCCC;
+	border-left: 1px solid #CCCCCC;
+	border-bottom: 1px solid #CCCCCC;
+	background-color: #F0F0F0;	
+}
+
+.tab p, .tabOff p {
+	padding: 6px 8px;
+	margin: 0px;
+	font-size: 11px;
+	font-weight: bold;
+
+}
+
+.tab p a, .tabOff p a {
+	text-decoration: none;
+	color: #000000;
+}
+.tab p a:hover, .tabOff p a:hover {
+	color: #666666;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/dtree.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/dtree.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/dtree.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,347 @@
+/*--------------------------------------------------|
+| dTree 2.05 | www.destroydrop.com/javascript/tree/ |
+|---------------------------------------------------|
+| Copyright (c) 2002-2003 Geir Landrö               |
+|                                                   |
+| This script can be used freely as long as all     |
+| copyright messages are intact.                    |
+|                                                   |
+| Updated: 17.04.2003                               |
+|--------------------------------------------------*/
+
+// Node object
+function Node(id, pid, name, url, title, target, icon, iconOpen, open) {
+	this.id = id;
+	this.pid = pid;
+	this.name = name;
+	this.url = url;
+	this.title = title;
+	this.target = target;
+	this.icon = icon;
+	this.iconOpen = iconOpen;
+	this._io = open || false;
+	this._is = false;
+	this._ls = false;
+	this._hc = false;
+	this._ai = 0;
+	this._p;
+};
+
+// Tree object
+function dTree(objName) {
+	this.config = {
+		target					: null,
+		folderLinks			: true,
+		useSelection		: true,
+		useCookies			: true,
+		useLines				: true,
+		useIcons				: true,
+		useStatusText		: false,
+		closeSameLevel	: false,
+		inOrder					: false
+	}
+	this.icon = {
+		root				: 'img/base.gif',
+		folder			: 'img/folder.gif',
+		folderOpen	: 'img/folderopen.gif',
+		node				: 'img/page.gif',
+		empty				: 'img/empty.gif',
+		line				: 'img/line.gif',
+		join				: 'img/join.gif',
+		joinBottom	: 'img/joinbottom.gif',
+		plus				: 'img/plus.gif',
+		plusBottom	: 'img/plusbottom.gif',
+		minus				: 'img/minus.gif',
+		minusBottom	: 'img/minusbottom.gif',
+		nlPlus			: 'img/nolines_plus.gif',
+		nlMinus			: 'img/nolines_minus.gif'
+	};
+	this.obj = objName;
+	this.aNodes = [];
+	this.aIndent = [];
+	this.root = new Node(-1);
+	this.selectedNode = null;
+	this.selectedFound = false;
+	this.completed = false;
+};
+
+// Adds a new node to the node array
+dTree.prototype.add = function(id, pid, name, url, title, target, icon, iconOpen, open) {
+	this.aNodes[this.aNodes.length] = new Node(id, pid, name, url, title, target, icon, iconOpen, open);
+};
+
+// Open/close all nodes
+dTree.prototype.openAll = function() {
+	this.oAll(true);
+};
+dTree.prototype.closeAll = function() {
+	this.oAll(false);
+};
+
+// Outputs the tree to the page
+dTree.prototype.toString = function() {
+	var str = '<div class="dtree">\n';
+	if (document.getElementById) {
+		if (this.config.useCookies) this.selectedNode = this.getSelected();
+		str += this.addNode(this.root);
+	} else str += 'Browser not supported.';
+	str += '</div>';
+	if (!this.selectedFound) this.selectedNode = null;
+	this.completed = true;
+	return str;
+};
+
+// Creates the tree structure
+dTree.prototype.addNode = function(pNode) {
+	var str = '';
+	var n=0;
+	if (this.config.inOrder) n = pNode._ai;
+	for (n; n<this.aNodes.length; n++) {
+		if (this.aNodes[n].pid == pNode.id) {
+			var cn = this.aNodes[n];
+			cn._p = pNode;
+			cn._ai = n;
+			this.setCS(cn);
+			if (!cn.target && this.config.target) cn.target = this.config.target;
+			if (cn._hc && !cn._io && this.config.useCookies) cn._io = this.isOpen(cn.id);
+			if (!this.config.folderLinks && cn._hc) cn.url = null;
+			if (this.config.useSelection && cn.id == this.selectedNode && !this.selectedFound) {
+					cn._is = true;
+					this.selectedNode = n;
+					this.selectedFound = true;
+			}
+			str += this.node(cn, n);
+			if (cn._ls) break;
+		}
+	}
+	return str;
+};
+
+// Creates the node icon, url and text
+dTree.prototype.node = function(node, nodeId) {
+	var str = '<div class="dTreeNode">' + this.indent(node, nodeId);
+	if (this.config.useIcons) {
+		if (!node.icon) node.icon = (this.root.id == node.pid) ? this.icon.root : ((node._hc) ? this.icon.folder : this.icon.node);
+		if (!node.iconOpen) node.iconOpen = (node._hc) ? this.icon.folderOpen : this.icon.node;
+		if (this.root.id == node.pid) {
+			node.icon = this.icon.root;
+			node.iconOpen = this.icon.root;
+		}
+		str += '<img id="i' + this.obj + nodeId + '" src="' + ((node._io) ? node.iconOpen : node.icon) + '" alt="" />';
+	}
+	if (node.url) {
+		str += '<a id="s' + this.obj + nodeId + '" class="' + ((this.config.useSelection) ? ((node._is ? 'nodeSel' : 'node')) : 'node') + '" href="' + node.url + '"';
+		if (node.title) str += ' title="' + node.title + '"';
+		if (node.target) str += ' target="' + node.target + '"';
+		if (this.config.useStatusText) str += ' onmouseover="window.status=\'' + node.name + '\';return true;" onmouseout="window.status=\'\';return true;" ';
+		if (this.config.useSelection && ((node._hc && this.config.folderLinks) || !node._hc))
+			str += ' onclick="javascript: ' + this.obj + '.s(' + nodeId + ');"';
+		str += '>';
+	}
+	else if ((!this.config.folderLinks || !node.url) && node._hc && node.pid != this.root.id)
+		str += '<a href="javascript: ' + this.obj + '.o(' + nodeId + ');" class="node">';
+	str += node.name;
+	if (node.url || ((!this.config.folderLinks || !node.url) && node._hc)) str += '</a>';
+	str += '</div>';
+	if (node._hc) {
+		str += '<div id="d' + this.obj + nodeId + '" class="clip" style="display:' + ((this.root.id == node.pid || node._io) ? 'block' : 'none') + ';">';
+		str += this.addNode(node);
+		str += '</div>';
+	}
+	this.aIndent.pop();
+	return str;
+};
+
+// Adds the empty and line icons
+dTree.prototype.indent = function(node, nodeId) {
+	var str = '';
+	if (this.root.id != node.pid) {
+		for (var n=0; n<this.aIndent.length; n++)
+			str += '<img src="' + ( (this.aIndent[n] == 1 && this.config.useLines) ? this.icon.line : this.icon.empty ) + '" alt="" />';
+		(node._ls) ? this.aIndent.push(0) : this.aIndent.push(1);
+		if (node._hc) {
+			str += '<a href="javascript: ' + this.obj + '.o(' + nodeId + ');"><img id="j' + this.obj + nodeId + '" src="';
+			if (!this.config.useLines) str += (node._io) ? this.icon.nlMinus : this.icon.nlPlus;
+			else str += ( (node._io) ? ((node._ls && this.config.useLines) ? this.icon.minusBottom : this.icon.minus) : ((node._ls && this.config.useLines) ? this.icon.plusBottom : this.icon.plus ) );
+			str += '" alt="" /></a>';
+		} else str += '<img src="' + ( (this.config.useLines) ? ((node._ls) ? this.icon.joinBottom : this.icon.join ) : this.icon.empty) + '" alt="" />';
+	}
+	return str;
+};
+
+// Checks if a node has any children and if it is the last sibling
+dTree.prototype.setCS = function(node) {
+	var lastId;
+	for (var n=0; n<this.aNodes.length; n++) {
+		if (this.aNodes[n].pid == node.id) node._hc = true;
+		if (this.aNodes[n].pid == node.pid) lastId = this.aNodes[n].id;
+	}
+	if (lastId==node.id) node._ls = true;
+};
+
+// Returns the selected node
+dTree.prototype.getSelected = function() {
+	var sn = this.getCookie('cs' + this.obj);
+	return (sn) ? sn : null;
+};
+
+// Highlights the selected node
+dTree.prototype.s = function(id) {
+	if (!this.config.useSelection) return;
+	var cn = this.aNodes[id];
+	if (cn._hc && !this.config.folderLinks) return;
+	if (this.selectedNode != id) {
+		if (this.selectedNode || this.selectedNode==0) {
+			eOld = document.getElementById("s" + this.obj + this.selectedNode);
+			eOld.className = "node";
+		}
+		eNew = document.getElementById("s" + this.obj + id);
+		eNew.className = "nodeSel";
+		this.selectedNode = id;
+		if (this.config.useCookies) this.setCookie('cs' + this.obj, cn.id);
+	}
+};
+
+// Toggle Open or close
+dTree.prototype.o = function(id) {
+	var cn = this.aNodes[id];
+	this.nodeStatus(!cn._io, id, cn._ls);
+	cn._io = !cn._io;
+	if (this.config.closeSameLevel) this.closeLevel(cn);
+	if (this.config.useCookies) this.updateCookie();
+};
+
+// Open or close all nodes
+dTree.prototype.oAll = function(status) {
+	for (var n=0; n<this.aNodes.length; n++) {
+		if (this.aNodes[n]._hc && this.aNodes[n].pid != this.root.id) {
+			this.nodeStatus(status, n, this.aNodes[n]._ls)
+			this.aNodes[n]._io = status;
+		}
+	}
+	if (this.config.useCookies) this.updateCookie();
+};
+
+// Opens the tree to a specific node
+dTree.prototype.openTo = function(nId, bSelect, bFirst) {
+	if (!bFirst) {
+		for (var n=0; n<this.aNodes.length; n++) {
+			if (this.aNodes[n].id == nId) {
+				nId=n;
+				break;
+			}
+		}
+	}
+	var cn=this.aNodes[nId];
+	if (cn.pid==this.root.id || !cn._p) return;
+	cn._io = true;
+	cn._is = bSelect;
+	if (this.completed && cn._hc) this.nodeStatus(true, cn._ai, cn._ls);
+	if (this.completed && bSelect) this.s(cn._ai);
+	else if (bSelect) this._sn=cn._ai;
+	this.openTo(cn._p._ai, false, true);
+};
+
+// Closes all nodes on the same level as certain node
+dTree.prototype.closeLevel = function(node) {
+	for (var n=0; n<this.aNodes.length; n++) {
+		if (this.aNodes[n].pid == node.pid && this.aNodes[n].id != node.id && this.aNodes[n]._hc) {
+			this.nodeStatus(false, n, this.aNodes[n]._ls);
+			this.aNodes[n]._io = false;
+			this.closeAllChildren(this.aNodes[n]);
+		}
+	}
+}
+
+// Closes all children of a node
+dTree.prototype.closeAllChildren = function(node) {
+	for (var n=0; n<this.aNodes.length; n++) {
+		if (this.aNodes[n].pid == node.id && this.aNodes[n]._hc) {
+			if (this.aNodes[n]._io) this.nodeStatus(false, n, this.aNodes[n]._ls);
+			this.aNodes[n]._io = false;
+			this.closeAllChildren(this.aNodes[n]);		
+		}
+	}
+}
+
+// Change the status of a node(open or closed)
+dTree.prototype.nodeStatus = function(status, id, bottom) {
+	eDiv	= document.getElementById('d' + this.obj + id);
+	eJoin	= document.getElementById('j' + this.obj + id);
+	if (this.config.useIcons) {
+		eIcon	= document.getElementById('i' + this.obj + id);
+		eIcon.src = (status) ? this.aNodes[id].iconOpen : this.aNodes[id].icon;
+	}
+	eJoin.src = (this.config.useLines)?
+	((status)?((bottom)?this.icon.minusBottom:this.icon.minus):((bottom)?this.icon.plusBottom:this.icon.plus)):
+	((status)?this.icon.nlMinus:this.icon.nlPlus);
+	eDiv.style.display = (status) ? 'block': 'none';
+};
+
+
+// [Cookie] Clears a cookie
+dTree.prototype.clearCookie = function() {
+	var now = new Date();
+	var yesterday = new Date(now.getTime() - 1000 * 60 * 60 * 24);
+	this.setCookie('co'+this.obj, 'cookieValue', yesterday);
+	this.setCookie('cs'+this.obj, 'cookieValue', yesterday);
+};
+
+// [Cookie] Sets value in a cookie
+dTree.prototype.setCookie = function(cookieName, cookieValue, expires, path, domain, secure) {
+	document.cookie =
+		escape(cookieName) + '=' + escape(cookieValue)
+		+ (expires ? '; expires=' + expires.toGMTString() : '')
+		+ (path ? '; path=' + path : '')
+		+ (domain ? '; domain=' + domain : '')
+		+ (secure ? '; secure' : '');
+};
+
+// [Cookie] Gets a value from a cookie
+dTree.prototype.getCookie = function(cookieName) {
+	var cookieValue = '';
+	var posName = document.cookie.indexOf(escape(cookieName) + '=');
+	if (posName != -1) {
+		var posValue = posName + (escape(cookieName) + '=').length;
+		var endPos = document.cookie.indexOf(';', posValue);
+		if (endPos != -1) cookieValue = unescape(document.cookie.substring(posValue, endPos));
+		else cookieValue = unescape(document.cookie.substring(posValue));
+	}
+	return (cookieValue);
+};
+
+// [Cookie] Returns ids of open nodes as a string
+dTree.prototype.updateCookie = function() {
+	var str = '';
+	for (var n=0; n<this.aNodes.length; n++) {
+		if (this.aNodes[n]._io && this.aNodes[n].pid != this.root.id) {
+			if (str) str += '.';
+			str += this.aNodes[n].id;
+		}
+	}
+	this.setCookie('co' + this.obj, str);
+};
+
+// [Cookie] Checks if a node id is in a cookie
+dTree.prototype.isOpen = function(id) {
+	var aOpen = this.getCookie('co' + this.obj).split('.');
+	for (var n=0; n<aOpen.length; n++)
+		if (aOpen[n] == id) return true;
+	return false;
+};
+
+// If Push and pop is not implemented by the browser
+if (!Array.prototype.push) {
+	Array.prototype.push = function array_push() {
+		for(var i=0;i<arguments.length;i++)
+			this[this.length]=arguments[i];
+		return this.length;
+	}
+};
+if (!Array.prototype.pop) {
+	Array.prototype.pop = function array_pop() {
+		lastElement = this[this.length-1];
+		this.length = Math.max(this.length-1,0);
+		return lastElement;
+	}
+};
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/EspressoMaker.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/EspressoMaker.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/bean.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/bean.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/beans.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/beans.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/card.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/card.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/container.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/container.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/database.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/database.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/elements32.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/elements32.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/flash.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/flash.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/jboss.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/jboss.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/jndiview.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/jndiview.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/otherimages.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/otherimages.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/recycle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/recycle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/rubiks.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/rubiks.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/server.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/server.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/service.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/service.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/serviceset.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/serviceset.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/servinghand.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/servinghand.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/settings32.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/settings32.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/smallnet.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/smallnet.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/spirale.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/spirale.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/spirale32.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/spirale32.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/starfolder.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/images/starfolder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/base.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/base.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/cd.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/cd.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/empty.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/empty.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/folder.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/folder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/folderopen.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/folderopen.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/globe.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/globe.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/imgfolder.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/imgfolder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/join.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/join.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/joinbottom.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/joinbottom.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/line.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/line.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/minus.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/minus.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/minusbottom.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/minusbottom.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/musicfolder.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/musicfolder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/nolines_minus.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/nolines_minus.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/nolines_plus.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/nolines_plus.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/page.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/page.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/plus.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/plus.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/plusbottom.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/plusbottom.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/question.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/question.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/trash.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/img/trash.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/index.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/index.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/index.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,19 @@
+<html>
+
+<head>
+<title>Administration Console</title>
+</head>
+
+<frameset cols="30%,*">
+  <frame id="left" name="left" src="applet.jsp" scrolling="no" marginwidth="0" marginheight="0" style="padding-left: 8; padding-right: 0; padding-top: 8; padding-bottom: 0">
+  <frame id="right" name="right" src="ServerInfo.jsp" >
+  <noframes>
+  <body>
+
+  <p>Please use a frame-capable browser.</p>
+
+  </body>
+  </noframes>
+</frameset>
+
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/listActiveAlarmTable.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/listActiveAlarmTable.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/listActiveAlarmTable.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,175 @@
+<%@ page import="
+java.net.URLEncoder,
+java.util.Map,
+javax.management.MBeanServer,
+javax.management.ObjectName,
+javax.management.Notification,
+org.jboss.util.Strings,
+org.jboss.mx.util.MBeanServerLocator,
+org.jboss.monitor.alarm.Alarm,
+org.jboss.monitor.alarm.AlarmHelper,
+org.jboss.monitor.alarm.AlarmNotification,
+org.jboss.monitor.alarm.AlarmTableNotification,
+org.jboss.monitor.services.ActiveAlarmTableMBean
+"%>
+ <%--
+ | Show the ActiveAlarmTable
+ |
+ | Author: Dimitris Andreadis (dimitris at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+try
+{
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+   <title>JBoss Management Console - Active Alarm Table</title>
+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+   <link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+
+<body>
+<!-- header begin -->
+   <img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+   <div id="header">&nbsp;</div>
+   <div id="navigation_bar"/>
+<!-- header end -->
+<hr class="hide"/>
+   <center>
+   <div id="content">
+      <div class="content_block" style="width: 100%; height: 247">
+         <h3>Active Alarm Table</h3>
+<%
+   MBeanServer server = MBeanServerLocator.locateJBoss();
+   ObjectName target = ActiveAlarmTableMBean.OBJECT_NAME;
+   AlarmTableNotification[] altab = (AlarmTableNotification[])server.invoke(target, "fetchAlarmTable", new Object[] {}, new String[] {});
+
+   // get some statistics from the table
+   Map stats = AlarmHelper.getAlarmTableNotificationStats(altab);
+   Integer stateCleared = (Integer)stats.get(AlarmHelper.getStateAsString(Alarm.STATE_CLEARED));
+   Integer stateChanged = (Integer)stats.get(AlarmHelper.getStateAsString(Alarm.STATE_CHANGED));
+   Integer stateCreated = (Integer)stats.get(AlarmHelper.getStateAsString(Alarm.STATE_CREATED));
+   Integer stateNone    = (Integer)stats.get(AlarmHelper.getStateAsString(Alarm.STATE_NONE));
+   Integer severityNormal   = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_NORMAL));
+   Integer severityWarning  = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_WARNING));
+   Integer severityMinor    = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_MINOR));
+   Integer severityMajor    = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_MAJOR));
+   Integer severityCritical = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_CRITICAL));
+   Integer severityUnknown  = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_UNKNOWN));
+   int statefullCount = altab.length - stateNone.intValue();
+%>
+<p>&nbsp;</p>
+<center>
+   Alarm Count: <%=altab.length%><br>
+   (Stateless: <%=stateNone%>, Statefull: <%=statefullCount%>)<br><br>
+   <table class="data_table">
+   <tr>
+      <th width="50%" align="left">Alarm State</th>
+      <th width="50%" align="left">Alarm Severity</th>
+   </tr>
+   <tr>
+      <td>
+      NONE: <%=stateNone%><br>
+      CREATED: <%=stateCreated%><br>
+      CHANGED: <%=stateChanged%><br>
+      CLEARED: <%=stateCleared%>
+      </td>
+      <td>
+      UNKNOWN: <%=severityUnknown%><br>
+      CRITICAL: <%=severityCritical%><br>
+      MAJOR: <%=severityMajor%><br>
+      MINOR: <%=severityMinor%><br>
+      WARNING: <%=severityWarning%><br>
+      NORMAL: <%=severityNormal%>
+      </td>
+   </tr>
+   </table>
+ <form action="listActiveAlarmTable.jsp" method="post" align="middle">
+   <input type="submit" name="action" value="Refresh Table">
+</form>
+</center>
+<table class="data_table" cellspacing="2" cellpadding="2" border="1" >
+<tr>
+   <th width="150">AlarmInfo</th>
+   <th>NotificationInfo</th>
+</tr>
+<%
+   for (int i = 0; i < altab.length; i++)
+   {
+      AlarmTableNotification atn = altab[i];
+
+      String alarmId = atn.getAlarmId();
+      String severity = AlarmHelper.getSeverityAsString(atn.getSeverity());
+      String alarmState = AlarmHelper.getStateAsString(atn.getAlarmState());
+      boolean ackState = atn.getAckState();
+      long ackTime = atn.getAckTime();
+      String ackUser = atn.getAckUser();
+      String ackSystem = atn.getAckSystem();
+
+      Notification n = (Notification)atn.getUserData();
+      Object source = AlarmNotification.getEffectiveSource(n);
+      String sourceLink = "/jmx-console/HtmlAdaptor?action=inspectMBean&name=" + URLEncoder.encode(source.toString());
+      String type = n.getType();
+      long timeStamp = n.getTimeStamp();
+      long sequenceNumber = n.getSequenceNumber();
+      String message = (n.getMessage() != null) ? Strings.subst("\n", "<br>", n.getMessage()) : "null";
+      String userData = (n.getUserData() != null) ? Strings.subst("\n", "<br>", n.getUserData().toString()) : "null";
+%>
+<tr>
+   <td>
+      alarmId: <font color="navy"><%=alarmId%></font><br><br>
+      severity: <font color="fuchsia"><%=severity%></font><br>
+      alarmState: <font color="fuchsia"><%=alarmState%></font><br><br>
+      ackState: <font color="navy"><%=ackState%></font><br><br>
+      actTime: <font color="navy"><%=ackTime%></font><br>
+      ackUser: <font color="navy"><%=ackUser%></font><br>
+      ackSystem: <font color="navy"><%=ackSystem%></font>
+      <form action="AcknowledgeActiveAlarms" method="post">
+         <input type="hidden" name="alarmId" value="<%=alarmId%>">
+         <input type="submit" name="action" value="Ack">
+      </form>
+   </td>
+   <td>
+      source: <a href="<%=sourceLink%>"><%=source%></a><br>
+      type: <font color="navy"><%=type%></font><br>
+      timeStamp: <font color="navy"><%=timeStamp%></font><br>
+      sequenceNumber: <font color="navy"><%=sequenceNumber%></font><br><br>
+      message: <font color="navy"><%=message%></font><br><br>
+      userData: <font color="navy"><%=userData%></font>
+   </td>
+</tr>
+<% 
+   }
+%>
+</table>
+<form action="AcknowledgeActiveAlarms" method="post">
+   <input type="hidden" name="alarmId" value="*">
+   <input type="submit" name="action" value="Acknowledge All Alarms">
+</form>
+<%
+}
+catch (Exception ex)
+{
+   %> ERROR in parsing <%
+   ex.printStackTrace();
+}
+%>
+      </div>
+   <div class="spacer"><hr/></div>
+   </div>
+</center>
+<!-- content end -->
+<hr class="hide"/>
+<!-- footer begin -->
+<div id="footer">
+   <div id="credits">JBoss&trade; Management Console</div>
+   <div id="footer_bar">&nbsp;</div>
+</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/listMonitors.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/listMonitors.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/listMonitors.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,142 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet,
+                 java.util.ArrayList"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+try
+{
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Manage Monitor</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Monitors and Monitor Status</h3>
+					<p>&nbsp;</p>
+<table cellspacing="2" cellpadding="2" border="1">
+<tr>
+    <td><b>Status</b></td>
+    <td><b>Monitor Name</b></td>
+    <td><b>Observed MBean</b></td>
+    <td><b>Observed Attribute</b></td>
+    <td>&nbsp;</td>
+</tr>
+<%
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.JBossMonitorMBean");
+   Set monitors = mbeanServer.queryNames(null, queryExp);
+   Iterator mbeans = monitors.iterator();
+   boolean someAlertSet = false;
+   while (mbeans.hasNext())
+   {
+      ObjectName moname = (ObjectName)mbeans.next();
+      String monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName");
+      ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject");
+      String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute");
+      boolean enabled = ((Boolean)mbeanServer.getAttribute(moname, "Enabled")).booleanValue();
+
+      Object[] args = {"monitors", monitorName, "-service.xml"};
+      String[] signature = {"java.lang.String", "java.lang.String", "java.lang.String"};
+      Object rtn = mbeanServer.invoke(new ObjectName("jboss.admin:service=DeploymentFileRepository"), "isStored", args, signature);
+      boolean persisted = ((Boolean)rtn).booleanValue();
+
+      Object[] nullArgs = {};
+      String[] nullSig = {};
+      boolean alerted = ((Boolean)mbeanServer.invoke(moname, "alerted", nullArgs, nullSig)).booleanValue();
+      if (alerted) someAlertSet = true;
+      String color = "black";
+      if (!enabled) color = "grey";
+      String status = "";
+      if (alerted)
+      {
+         status = "<font color=\"red\">ALERT</font>";
+      }
+      else if (!enabled)
+      {
+         status = "<font color=\"grey\"><i>disabled</i></font>";
+      }
+      else
+      {
+         status = "<font color=\"green\">OK</font>";
+      }
+      String link = null;
+      if (persisted)
+      {
+         link = "manageThresholdMonitor.jsp?monitorObjectName=" + java.net.URLEncoder.encode(moname.toString());
+      }
+      else
+      {
+         link = "/jmx-console/HtmlAdaptor?action=inspectMBean&name=" + java.net.URLEncoder.encode(moname.toString());
+      }
+      String observedMbeanLink = "/jmx-console/HtmlAdaptor?action=inspectMBean&name=" + java.net.URLEncoder.encode(observedObject.toString());
+%>
+<tr>
+    <td><%=status%></td>
+    <td><font color="<%=color%>"><%=monitorName%></font></td>
+    <td><font color="<%=color%>"><a href="<%=observedMbeanLink%>"><%=observedObject.toString()%></a></font></td>
+    <td><font color="<%=color%>"><%=attribute%></font></td>
+    <td><a href="<%=link%>">manage</a></td>
+</tr>
+<%
+   }
+   %>
+</table>
+<%
+   if (someAlertSet)
+   {
+%>
+<form action="ClearMonitorAlerts" method="post">
+<input type="submit" name="action" value="Clear All Alerts">
+</form>
+<%
+   }
+}
+catch (Exception ex)
+{
+   %> ERROR in parsing <%
+   ex.printStackTrace();
+}
+%>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageSnapshot.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageSnapshot.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageSnapshot.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,132 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet,
+                 java.util.ArrayList"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+try
+{
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   String error = (String)request.getAttribute("error");
+   ObjectName moname = null;
+   String monitorName = null;
+   String monitorObjectName = request.getParameter("monitorObjectName");
+   /*
+   if (monitorObjectName == null) // if we're being routed via
+   {
+      monitorName = (String)request.getAttribute("monitorName");
+      moname = new ObjectName("jboss.snapshot:name=" + monitorName);
+   }
+   */
+   moname = new ObjectName(monitorObjectName);
+   monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName");
+   ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject");
+   String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute");
+   Long period = (Long)mbeanServer.getAttribute(moname, "Period");
+   boolean recording = ((Boolean)mbeanServer.getAttribute(moname, "Recording")).booleanValue();
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Manage Snapshot</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Manage Snapshot</h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="ManageSnapshot" method="post">
+<input type="hidden" name="monitorObjectName" value="<%=moname.toString()%>">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>" readonly></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Monitor's Object Name</b></td>
+    <td><input type="text" name="monitorObjectName" size="35" value="<%=monitorObjectName%>" readonly></td>
+    <td><i>The MBean javax.management.ObjectName</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=observedObject.toString()%>" size="35" readonly></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35" readonly></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>" readonly></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+</table>
+<% if (recording)
+   {
+%>
+<input type="submit" name="action" value="Stop Snapshot">
+<% }  else {%>
+<input type="submit" name="action" value="Start Snapshot">
+<% } %>
+<input type="submit" name="action" value="Graph Dataset">
+<input type="submit" name="action" value="Clear Dataset">
+<input type="submit" name="action" value="Show Dataset">
+<input type="submit" name="action" value="Remove Snapshot">
+</form>
+<%
+}
+catch (Exception ex)
+{
+   %> ERROR  <%
+   ex.printStackTrace();
+}
+%>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageStringThresholdMonitor.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageStringThresholdMonitor.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageStringThresholdMonitor.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,199 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet,
+                 java.util.ArrayList"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+try
+{
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   String error = (String)request.getAttribute("error");
+   String monitorObjectName = request.getParameter("monitorObjectName");
+   ObjectName moname = new ObjectName(monitorObjectName);
+   String monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName");
+   ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject");
+   String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute");
+   String threshold = (String)mbeanServer.getAttribute(moname, "Threshold");
+   Long period = (Long)mbeanServer.getAttribute(moname, "Period");
+   boolean equality = ((Boolean)mbeanServer.getAttribute(moname, "EqualityTriggersAlert")).booleanValue();
+   boolean enabled = ((Boolean)mbeanServer.getAttribute(moname, "Enabled")).booleanValue();
+   ArrayList alerts = (ArrayList)mbeanServer.getAttribute(moname, "AlertListeners");
+
+   Object[] args = {"monitors", monitorName, "-service.xml"};
+   String[] signature = {"java.lang.String", "java.lang.String", "java.lang.String"};
+   Object rtn = mbeanServer.invoke(new ObjectName("jboss.admin:service=DeploymentFileRepository"), "isStored", args, signature);
+   boolean persisted = ((Boolean)rtn).booleanValue();
+
+   Object[] nullArgs = {};
+   String[] nullSig = {};
+   boolean alerted = ((Boolean)mbeanServer.invoke(moname, "alerted", nullArgs, nullSig)).booleanValue();
+   Object triggeredValue = null;
+   if (alerted) triggeredValue = mbeanServer.getAttribute(moname, "TriggeredAttributeValue");
+   String color = alerted ? "red" : "green";
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Manage Monitor</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3><font color="<%=color%>">Manage String MBean Monitor</font></h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="ManageStringThresholdMonitor" method="post">
+<input type="hidden" name="monitorObjectName" value="<%=moname.toString()%>">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>" readonly></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Monitor's Object Name</b></td>
+    <td><input type="text" name="monitorObjectName" size="35" value="<%=monitorObjectName%>" readonly></td>
+    <td><i>The MBean javax.management.ObjectName</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=observedObject.toString()%>" size="35" readonly></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35" readonly></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<%
+   if (alerted)
+   {
+%>
+<tr>
+    <td><font color="red"><b>Triggered Value</b></font></td>
+    <td><input type="text" name="trigger" value="<%=triggeredValue.toString()%>" size="35" readonly></td>
+    <td><i>The attribute value the triggered the threshold.</i></td>
+</tr>
+<% } %>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>"></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>"></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Persist Changes</b></td>
+    <td><input type="checkbox" name="persisted" value="" checked></td>
+    <td><i>Should changes be reflected in deployment file.</i></td>
+</tr>
+<tr>
+    <td><b>Equality Trigger</b></td>
+    <td><input type="checkbox" name="equality" value="" <%=equality ? "checked" : ""%>></td>
+    <td><i>Uncheck this box if you want an alert to trigger when attribute changes from threshold value</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled ? "checked" : ""%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set allAlertTypes = mbeanServer.queryNames(null, queryExp);
+
+   if (allAlertTypes.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(allAlertTypes.size())%>" multiple>
+<%
+      Iterator it = allAlertTypes.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+         String selected = "";
+         if (alerts != null && alerts.contains(alert)) selected = "SELECTED";
+%>
+   <option value="<%=alert.toString()%>" <%=selected%>><%=alertName%></option>
+<%
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+<input type="submit" name="action" value="Update Monitor">
+<input type="submit" name="action" value="Remove Monitor">
+<%
+   if (alerted)
+   {
+%>
+<input type="submit" name="action" value="Clear Alert">
+<%
+   }
+%>
+</form>
+<%
+}
+catch (Exception ex)
+{
+   %> ERROR in parsing <%
+   ex.printStackTrace();
+}
+%>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageThresholdMonitor.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageThresholdMonitor.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/manageThresholdMonitor.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,204 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet,
+                 java.util.ArrayList"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+try
+{
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   String error = (String)request.getAttribute("error");
+   String monitorObjectName = request.getParameter("monitorObjectName");
+   ObjectName moname = new ObjectName(monitorObjectName);
+   String monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName");
+   ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject");
+   String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute");
+   String threshold = (String)mbeanServer.getAttribute(moname, "Threshold");
+   Long period = (Long)mbeanServer.getAttribute(moname, "Period");
+   int compare = ((Integer)mbeanServer.getAttribute(moname, "CompareTo")).intValue();
+   boolean enabled = ((Boolean)mbeanServer.getAttribute(moname, "Enabled")).booleanValue();
+   ArrayList alerts = (ArrayList)mbeanServer.getAttribute(moname, "AlertListeners");
+
+   Object[] args = {"monitors", monitorName, "-service.xml"};
+   String[] signature = {"java.lang.String", "java.lang.String", "java.lang.String"};
+   Object rtn = mbeanServer.invoke(new ObjectName("jboss.admin:service=DeploymentFileRepository"), "isStored", args, signature);
+   boolean persisted = ((Boolean)rtn).booleanValue();
+
+   Object[] nullArgs = {};
+   String[] nullSig = {};
+   boolean alerted = ((Boolean)mbeanServer.invoke(moname, "alerted", nullArgs, nullSig)).booleanValue();
+   Object triggeredValue = null;
+   if (alerted) triggeredValue = mbeanServer.getAttribute(moname, "TriggeredAttributeValue");
+   String color = alerted ? "red" : "green";
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Manage Monitor</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3><font color="<%=color%>">Manage Threshold MBean Monitor</font></h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="ManageThresholdMonitor" method="post">
+<input type="hidden" name="monitorObjectName" value="<%=moname.toString()%>">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>" readonly></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Monitor's Object Name</b></td>
+    <td><input type="text" name="monitorObjectName" size="35" value="<%=monitorObjectName%>" readonly></td>
+    <td><i>The MBean javax.management.ObjectName</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=observedObject.toString()%>" size="35" readonly></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35" readonly></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<%
+   if (alerted)
+   {
+%>
+<tr>
+    <td><font color="red"><b>Triggered Value</b></font></td>
+    <td><input type="text" name="trigger" value="<%=triggeredValue.toString()%>" size="35" readonly></td>
+    <td><i>The attribute value the triggered the threshold.</i></td>
+</tr>
+<% } %>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>"></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>"></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Comparison Equation</b></td>
+    <td><select name="compare" id="compare" size="1">
+        <option value="gt" <%=compare == -1  ? "SELECTED" : ""%>>&gt;</option>
+        <option value="lt" <%=compare == 1 ? "SELECTED" : ""%>>&lt;</option>
+        <option value="eq" <%=compare == 0 ? "SELECTED" : ""%>>=</option>
+        </select>
+    </td>
+    <td><i>Boolean expression to use when testing threshold hit.</i></td>
+</tr>
+<tr>
+    <td><b>Persist Changes</b></td>
+    <td><input type="checkbox" name="persisted" value="" checked></td>
+    <td><i>Should changes be reflected in deployment file.</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled ? "checked" : ""%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set allAlertTypes = mbeanServer.queryNames(null, queryExp);
+
+   if (allAlertTypes.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(allAlertTypes.size())%>" multiple>
+<%
+      Iterator it = allAlertTypes.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+         String selected = "";
+         if (alerts != null && alerts.contains(alert)) selected = "SELECTED";
+%>
+   <option value="<%=alert.toString()%>" <%=selected%>><%=alertName%></option>
+<%
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+<input type="submit" name="action" value="Update Monitor">
+<input type="submit" name="action" value="Remove Monitor">
+<%
+   if (alerted)
+   {
+%>
+<input type="submit" name="action" value="Clear Alert">
+<%
+   }
+%>
+</form>
+<%
+}
+catch (Exception ex)
+{
+   %> ERROR in parsing <%
+   ex.printStackTrace();
+}
+%>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/xform.xsl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/xform.xsl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/management/console-mgr.sar/web-console.war/xform.xsl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  version="1.0">
+
+  <!-- Output method -->
+  <xsl:output encoding="iso-8859-1"
+              indent="no"/>
+
+  <xsl:template match="status">
+    <html>
+    <head>
+    	<TITLE>Tomcat Status</TITLE>
+		<STYLE type="text/css">
+			body, table, tr, td, a, div, span {
+				vertical-align : top;
+			}
+		</STYLE>
+    </head>
+    <body>
+      <div style='font-size:20px;'>Tomcat Status</div>
+
+      <xsl:apply-templates select="jvm"/>
+      <xsl:apply-templates select="connector"/>
+     </body>
+    </html>
+  </xsl:template>
+
+  <xsl:template match="jvm">
+   <xsl:apply-templates select="memory"/>
+  </xsl:template>
+
+  <xsl:template match="memory">
+    <table><tr>
+    		 <td><b>JVM:</b></td>
+    		 <td><b>free:</b> <xsl:value-of select="@free"/></td>
+    		 <td><b>total:</b> <xsl:value-of select="@total"/></td>
+    		 <td><b>max:</b> <xsl:value-of select="@max"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="connector">
+	 <b>Connector -- </b> <xsl:value-of select="@name"/><br />
+
+  	<xsl:apply-templates select="threadInfo"/>
+  	<xsl:apply-templates select="requestInfo"/>
+  	<xsl:apply-templates select="workers"/>
+  </xsl:template>
+
+  <xsl:template match="threadInfo">
+    <table><tr>
+    		 <td><b>threadInfo </b></td>
+    		 <td><b>maxThreads:</b> <xsl:value-of select="@maxThreads"/></td>
+    		 <td><b>minSpareThreads:</b> <xsl:value-of select="@minSpareThreads"/></td>
+    		 <td><b>maxSpareThreads:</b> <xsl:value-of select="@maxSpareThreads"/></td>
+    		 <td><b>currentThreadCount:</b> <xsl:value-of select="@currentThreadCount"/></td>
+    		 <td><b>currentThreadsBusy:</b> <xsl:value-of select="@currentThreadsBusy"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="requestInfo">
+    <table><tr>
+    		 <td><b>requestInfo </b></td>
+    		 <td><b>maxTime:</b> <xsl:value-of select="@maxTime"/></td>
+    		 <td><b>processingTime:</b> <xsl:value-of select="@processingTime"/></td>
+    		 <td><b>requestCount:</b> <xsl:value-of select="@requestCount"/></td>
+    		 <td><b>errorCount:</b> <xsl:value-of select="@errorCount"/></td>
+    		 <td><b>bytesReceived:</b> <xsl:value-of select="@bytesReceived"/></td>
+    		 <td><b>bytesSent:</b> <xsl:value-of select="@bytesSent"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="workers">
+   <table>
+    <tr><th>Stage</th><th>Time</th><th>B Sent</th><th>B Recv</th><th>Client</th><th>VHost</th><th>Request</th></tr>
+  	<xsl:apply-templates select="worker"/>
+
+   </table><hr />
+  </xsl:template>
+
+  <xsl:template match="worker">
+   <tr>
+    <td><xsl:value-of select="@stage"/></td>
+    <td><xsl:value-of select="@requestProcessingTime"/></td>
+    <td><xsl:value-of select="@requestBytesSent"/></td>
+    <td><xsl:value-of select="@requestBytesReceived"/></td>
+    <td><xsl:value-of select="@remoteAddr"/></td>
+    <td><xsl:value-of select="@virtualHost"/></td>
+    <td><xsl:value-of select="@method"/> <xsl:value-of select="@currentUri"/>?<xsl:value-of select="@currentQueryString"/> <xsl:value-of select="@protocol"/></td>
+   </tr>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/monitoring-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/monitoring-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/monitoring-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: monitoring-service.xml 46248 2006-07-13 15:03:17Z dimitris $ -->
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  User Service Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+  <mbean code="org.jboss.monitor.alerts.ConsoleAlertListener" 
+         name="jboss.alerts:service=ConsoleAlertListener">
+    <attribute name="MessageTemplate"><![CDATA[%(MONITOR_NAME) was triggered for attribute %(ATTRIBUTE).]]></attribute>
+    <attribute name="AlertName">Console Alert</attribute>
+  </mbean>
+  
+<!-- Enable after filling in correct to, from, and reply to
+  
+  <mbean code="org.jboss.monitor.alerts.EmailAlertListener" 
+         name="jboss.alerts:service=EmailAlertListener">
+    <depends>jboss:service=Mail</depends>
+    <attribute name="MessageTemplate"><![CDATA[%(MONITOR_NAME) was triggered for attribute %(ATTRIBUTE).]]></attribute>
+    <attribute name="AlertName">Email Alert</attribute>
+    <attribute name="To">somebody at somewhere.org</attribute>
+    <attribute name="From">noreply at nowhere.org</attribute>
+    <attribute name="ReplyTo">noreply at nowhere.org</attribute>
+    <attribute name="SubjectTemplate"><![CDATA[[jboss-alert] %(MONITOR_NAME)]]></attribute>
+  </mbean>
+-->
+
+<!--
+  Example of listening for notifications from JBoss monitors.
+  
+  The SubscriptionList attribute provides the specification to which
+  MBeans to subscribe for notifications and for what notification types.
+  
+  The DynamicSubscriptions attribute is used to indicate whether to monitor
+  the MBeanServer for new MBeans and subscribe to them if the subscription
+  specification matches.
+  
+  The NotificationListener attribute can be set to indicate an external
+  MBean as the receiver of the Notifications.
+  
+  The LogLevel attribute can be set to indicate the level to use for
+  logging the received notification, e.g. "WARN", "INFO", "DEBUG", etc.
+-->
+<!--
+  <mbean code="org.jboss.monitor.services.NotificationListener"
+         name="jboss.jmx:service=NotificationListener">
+    
+    <attribute name="DynamicSubscriptions">true</attribute>
+    <attribute name="NotificationListener"></attribute>
+    <attribute name="SubscriptionList">
+      <subscription-list>
+        <mbean name="jboss.monitor:*">
+          <notification type="JBOSS_MONITOR_NOTIFICATION"/>
+        </mbean>
+      </subscription-list>
+    </attribute>
+    
+  </mbean>
+-->
+
+<!--
+  MemoryMonitor monitors the free JVM memory and emits JMX Notifications
+  (org.jboss.monitor.alarm.AlarmNotification) when certain thresholds
+  are crossed. 
+  
+  The following attributes may be set:
+  
+  FreeMemoryWarningThreshold
+    - e.g. 1048576, or 1000K, or 1M
+  FreeMemoryCriticalThreshold 
+    - like above, must be lower
+  SamplingPeriod 
+    - e.g. 5000, or 5sec. 
+  TriggeringWarningMeasurements 
+    - number of measurements in the warning area to trigger a notification
+  
+  AlarmNotification carries alarmState and alarmSeverity.
+  alarmSeverity takes the values NORMAL, WARNING, CRITICAL for this monitor.
+  See org.jboss.monitor.alarm.Alarm
+-->
+<!--
+  <mbean code="org.jboss.monitor.services.MemoryMonitor"
+         name="jboss.monitor:service=MemoryMonitor">
+         
+    <attribute name="FreeMemoryWarningThreshold">95M</attribute>
+    <attribute name="FreeMemoryCriticalThreshold">80M</attribute>    
+  </mbean>
+-->
+
+<!--
+  Example of using the TimerService wrapper to configure a
+  javax.management.timer.Timer mbean, to produce heartbeat
+  notifications.
+  
+  Attributes to configure:
+  
+  NotificationType
+    - The type of the produced javax.management.timer.TimerNotification
+  Notification Message
+    - The string message to carry in the produced notification
+  Timer Period
+    - Every how often to emit notifications, e.g. 500msec, 10sec, 5min, 1h;
+    - a zero value will produce just one notification
+  Repeatitions
+    - How many timer notifications to emit when the period is not zero;
+    - a zero value produces infinite notifications
+  FixedRate
+    - Whether the periodic notification should be produced at
+    - FixedRate (true) or FixedDelay (false, default)
+  TimerMBean
+    - The ObjectName of the JMX Timer to configure, combined with a dependency
+    
+  If you want to see/log the emitted notifications, you can configure
+  a NotificationListener as follows:
+  
+  <mbean code="org.jboss.monitor.services.NotificationListener"
+         name="jboss.monitor:service=NotificationListener">
+    <attribute name="SubscriptionList">
+      <subscription-list>
+        <mbean name="jboss.monitor:name=Heartbeat,type=Timer"/>
+      </subscription-list>
+    </attribute>
+  </mbean>
+-->
+<!--
+  <mbean code="org.jboss.monitor.services.TimerService"
+         name="jboss.monitor:name=Heartbeat,type=TimerService">
+    <attribute name="NotificationType">jboss.monitor.heartbeat</attribute>
+    <attribute name="NotificationMessage">JBoss is alive!</attribute>
+    <attribute name="TimerPeriod">5sec</attribute>
+    <depends optional-attribute-name="TimerMBean">
+      <mbean code="javax.management.timer.Timer"
+             name="jboss.monitor:name=Heartbeat,type=Timer"/>
+    </depends>
+  </mbean>
+-->
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/properties-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/properties-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/properties-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server>
+<!-- $Id: properties-service.xml 16662 2003-08-27 04:38:22Z patriot1burke $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- PropertyEditorManager Service                                        -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | Allows access to the PropertyEditorManager, which is used when setting
+     | MBean attribute values from configuration.
+   -->
+
+  <mbean code="org.jboss.varia.property.PropertyEditorManagerService" 
+	 name="jboss:type=Service,name=PropertyEditorManager">
+
+    <!-- 
+       | Register and editor for each of the type_name=editor_type_name listed
+       | in properties file style convetion.
+
+    <attribute name="Editors">
+      java.net.URL=my.project.editors.URLPropertyEditor
+    </attribute>
+
+    -->
+
+  </mbean>
+
+
+  <!-- ==================================================================== -->
+  <!-- System Properties Service                                            -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | Allows rich access to system properties.
+   -->
+
+  <mbean code="org.jboss.varia.property.SystemPropertiesService" 
+	 name="jboss:type=Service,name=SystemProperties">
+
+    <!-- 
+       | Load properties from each of the given comma seperated URLs
+
+    <attribute name="URLList">
+      http://somehost/some-location.properties,
+      ./conf/somelocal.properties
+    </attribute>
+
+    -->
+
+    <!-- 
+       | Set raw properties file style properties.
+
+    <attribute name="Properties">
+
+      my.project.property=This is the value of my property
+      my.project.anotherProperty=This is the value of my other property
+
+    </attribute>
+     
+    -->
+
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/quartz-ra.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/quartz-ra.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/schedule-manager-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/schedule-manager-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/schedule-manager-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: schedule-manager-service.xml 59789 2007-01-18 17:30:15Z dimitris at jboss.org $ -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Scheduler Service                                                    -->
+   <!-- ==================================================================== -->
+   
+   <!--
+    | JDK5 javax.management.timer.Timer appears to be using a single
+    | threaded implementation for executing scheduled tasks.
+    | If you want to revert to the JBossMX timer implementation that
+    | uses a dynamically extensible thread pool to execute scheduled
+    | tasks, uncomment the JBossTimer service below. The Scheduler
+    | service will use this, instead of creating a new Timer.
+    - -> 
+   <mbean code="org.jboss.mx.timer.JBossTimer"
+          name="jboss:service=Timer">
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | This MBean is an example of a Schedule Target
+    - ->
+   <mbean code="org.jboss.varia.scheduler.example.SchedulableMBeanExample" 
+          name="jboss:service=SchedulableMBeanExample">
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | The Schedule Manager has to be started whenever
+    | schedules are needed.
+    |
+    | The default JMX Timer scheduling behaviour of FixedDelay execution
+    | (as of JDK5 or JBoss v4.0.5) is overriden below using FixedRate true
+    - ->
+   <mbean code="org.jboss.varia.scheduler.ScheduleManager"
+          name="jboss:service=ScheduleManager">
+      <attribute name="StartAtStartup">true</attribute>
+      <attribute name="FixedRate">true</attribute>
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | This is a single schedule Provider which works like the
+    | old Scheduler (when a MBean target is used)
+    |
+    | For clustered singleton schedules add the following dependency:
+    | <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>
+    - ->
+   <mbean code="org.jboss.varia.scheduler.SingleScheduleProvider" 
+          name="jboss:service=SingleScheduleProvider">
+      <depends optional-attribute-name="ScheduleManagerName">jboss:service=ScheduleManager</depends>
+      <depends optional-attribute-name="TargetName">jboss:service=SchedulableMBeanExample</depends>
+      <attribute name="TargetMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
+      <attribute name="DateFormat"></attribute>
+      <attribute name="StartDate">NOW</attribute>
+      <attribute name="Period">10000</attribute>
+      <attribute name="Repetitions">10</attribute>
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | This is a Database based schedule Provider. For more
+    | information have a look at the class JavaDoc
+    | For hypersonic
+    | CREATE TABLE Schedule
+    | (
+    |    target VARCHAR(100),
+    |    method_name VARCHAR(100),
+    |    method_signature VARCHAR(100),
+    |    start_date VARCHAR(20),
+    |    period BIGINT,
+    |    repetitions INTEGER,
+    |    date_format VARCHAR(20)
+    | )
+    |
+    | For clustered singleton schedules add the following dependency:
+    | <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>    
+    - ->
+   <mbean code="org.jboss.varia.scheduler.DBScheduleProvider" 
+          name="jboss:service=DBScheduleProvider">
+      <depends optional-attribute-name="ScheduleManagerName">jboss:service=ScheduleManager</depends>
+      <depends>jboss:service=SchedulableMBeanExample</depends>
+      <depends>jboss:service=Hypersonic</depends>
+      <attribute name="DataSourceName">java:DefaultDS</attribute>
+      <attribute name="SQLStatement">SELECT target, method_name, method_signature, start_date, period, repetitions, date_format FROM Schedule</attribute>
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | This is a XML based schedule Provider. For more
+    | information have a look at the class JavaDoc
+    |
+    | For clustered singleton schedules add the following dependency:
+    | <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>       
+    - ->
+   <mbean code="org.jboss.varia.scheduler.XMLScheduleProvider" 
+          name="jboss:service=XMLScheduleProvider">
+      <depends optional-attribute-name="ScheduleManagerName">jboss:service=ScheduleManager</depends>
+      <depends>jboss:service=SchedulableMBeanExample</depends>
+      <attribute name="Schedules">
+         <schedules>
+            <schedule>
+               <target-mbean-name>jboss:service=SchedulableMBeanExample</target-mbean-name>
+               <target-method-name>hit</target-method-name>
+               <target-method-signature>NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String</target-method-signature>
+               <date-format></date-format>
+               <start-date>NOW</start-date>
+               <period>15555</period>
+               <repetitions>55</repetitions>
+            </schedule>
+         </schedules>
+      </attribute>
+   </mbean>
+   <!- - -->
+   
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/scheduler-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/scheduler-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/scheduler-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: scheduler-service.xml 59789 2007-01-18 17:30:15Z dimitris at jboss.org $ -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Scheduler Service                                                    -->
+   <!-- ==================================================================== -->
+
+   <!--
+    | JDK5 javax.management.timer.Timer appears to be using a single
+    | threaded implementation for executing scheduled tasks.
+    | If you want to revert to the JBossMX timer implementation that
+    | uses a dynamically extensible thread pool to execute scheduled
+    | tasks, uncomment the JBossTimer service below. The Scheduler
+    | service will use this, instead of creating a new Timer.
+     
+   <mbean code="org.jboss.mx.timer.JBossTimer"
+          name="jboss:service=Timer">
+   </mbean>
+   -->
+  
+   <!--
+    | This example shows how to use a pluggable Schedulable impl
+
+   <mbean code="org.jboss.varia.scheduler.Scheduler"
+          name=":service=Scheduler">
+      <attribute name="StartAtStartup">true</attribute>
+      <attribute name="SchedulableClass">org.jboss.varia.scheduler.example.SchedulableExample</attribute>
+      <attribute name="SchedulableArguments">Schedulabe Test,12345</attribute>
+      <attribute name="SchedulableArgumentTypes">java.lang.String,int</attribute>
+      <attribute name="InitialStartDate">0</attribute>
+      <attribute name="SchedulePeriod">10000</attribute>
+      <attribute name="InitialRepetitions">-1</attribute>
+      <attribute name="FixedRate">true</attribute>    
+   </mbean>
+   -->
+
+   <!--
+    | NOTE: If a Timer service is not already running, the scheduler will create
+    | one with a default object name of jboss:service=Timer.  This will not be
+    | redeployed upon redeploying your scheduler.  To change the object name
+    | for the Timer service to be created, declare an attribute named TimerName.
+    | For more info on scheduler, see http://www.jboss.org/wiki/Wiki.jsp?page=Scheduler.
+   -->
+
+   <!--
+    | This example shows how to use a target MBean
+
+   <mbean code="org.jboss.varia.scheduler.example.SchedulableMBeanExample"
+          name=":name=SchedulableMBeanExample">
+   </mbean>
+   <mbean code="org.jboss.varia.scheduler.Scheduler"
+          name=":service=Scheduler,name=SchedulableMBeanExample">
+      <attribute name="StartAtStartup">true</attribute>
+      <attribute name="SchedulableMBean">:name=SchedulableMBeanExample</attribute>
+      <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
+      <attribute name="InitialStartDate">NOW</attribute>
+      <attribute name="SchedulePeriod">10000</attribute>
+      <attribute name="InitialRepetitions">10</attribute>
+      <attribute name="FixedRate">true</attribute>
+   </mbean>
+   -->
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+Specification-Title: JBoss
+Specification-Version: 4.2.2.GA
+Specification-Vendor: JBoss (http://www.jboss.org/)
+Implementation-Title: JBoss [Trinity]
+Implementation-URL: http://www.jboss.org/
+Implementation-Version: 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=20
+ 0710221139)
+Implementation-Vendor: JBoss Inc.
+Implementation-Vendor-Id: http://www.jboss.org/
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  $Id: jboss-service.xml 44599 2006-05-06 22:48:01Z dimitris $
+  
+  The snmp-adaptor is a module used to intercept JMX notifications emitted
+  by MBeans, convert them to traps and send them to SNMP managers. It can also
+  accept get/set request and map those to MBean attribute get/sets. In this
+  respect the snmp-adaptor acts as a SNMP agent.
+  
+  It can be used to integrate JBoss with higher order system/network
+  management platforms (e.g. HP OpenView), thus making the MBeans visible
+  to those systems. The MBean developer can instrument the MBeans by
+  producing notifications for any significant event (e.g. server coldstart).
+  The adaptor can then be configured to intercept and map those notifications
+  to SNMP traps.
+  
+  SnmpAgentService is the main MBean that implements the SNMP agent.
+  It is configured by means of 3 different configuration files, plus
+  an inline notification subscription specification:
+  
+  - attributes.xml, maps SNMP oids to MBean attribute get/set
+  - managers.xml, configures where to send traps
+  - notifications.xml, specifies the exact mapping of each notification type
+    to a corresponding SNMP trap
+    
+  For more information, see
+  http://www.jboss.org/wiki/Wiki.jsp?page=JBossSNMPAdapter
+  
+  ********
+  * NOTE *
+  ********
+  The MonitoredObjectsResName attribute that referred to an external
+  mbeans.xml file has been removed! This is done now through the
+  inline SubscriptionList attribute, provided by the ListenerServiceMBean
+  interface. The snmp adaptor will not only subscribe for notifications
+  upon starting, by will also monitor for new MBeans created within the
+  JMX agent and subscribe to them dynamically as they come and go,
+  as long as the the mbean subscription information matches their names.
+  
+  Have a look at the provided example configuration files for more info.
+  
+  SnmpAgentService produces by default a "coldstart" notification when started.
+  
+  In addition, by setting the HeartBeatPeriod attribute to a value greater
+  than zero, the adaptor configures a Timer MBean to produce heartbeat
+  notifications at regular intervals (measured in seconds).
+  
+  The adaptor itself uses JoeSNMP by OpenNMS for its SNMP engine. The
+  trap generation mechanism can be changed or extended with custom classes
+  able to extract information from notifications subsclasses unknown
+  to the NotificationWrapperSupport class provided with the adaptor.
+  
+  For more information on using or extending this mechanism, please
+  consult the jboss documentation or the source code.
+  
+  MIB2SystemGroupService is simple MBean that defines the MIB-2 system
+  group an agent is supposed to implement under the oid
+  iso.org.dod.internet.mgmt.mib-2.system (.1.3.6.1.2.1.1)
+  See rfc-1213.
+  
+  TrapdService is a simple MBean that acts as an SNMP Manager. It
+  listens to a configurable port for incoming traps and logs them
+  as DEBUG messages using the system logger. You can modify the log4j
+  configuration to redirect the log output to a file. SnmpAgentService
+  and TrapdService and not dependent from each other.
+
+  Enjoy!
+-->
+<service>
+
+  <!-- A simple trap receiver that acts as an SNMP Manager -->
+  <mbean code="org.jboss.jmx.adaptor.snmp.trapd.TrapdService"
+         name="jboss.jmx:name=SnmpAgent,service=trapd,type=logger">
+           
+    <attribute name="Port">1162</attribute>
+  </mbean>
+  
+  <!-- The SNMP adaptor MBean -->
+  <mbean code="org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService"
+         name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor">
+    
+    <attribute name="RequestHandlerClassName">org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl</attribute>       
+    <attribute name="RequestHandlerResName">/attributes.xml</attribute>
+    <attribute name="TrapFactoryClassName">org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport</attribute>
+    <attribute name="NotificationMapResName">/notifications.xml</attribute>
+    <attribute name="ManagersResName">/managers.xml</attribute>
+    <attribute name="HeartBeatPeriod">0</attribute>
+    <attribute name="Port">1161</attribute>
+    <attribute name="DynamicSubscriptions">false</attribute>
+    <attribute name="WriteCommunity">private</attribute>
+    
+    <attribute name="SubscriptionList">
+      <subscription-list>
+        <!-- Monitor events from SNMP adaptor itself -->
+        <mbean name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor">
+          <notification type="jboss.snmp.agent.coldstart"/>
+        </mbean>
+        <!-- Monitor timer for heartbeat events -->
+        <mbean name="jboss.jmx:name=SnmpAgent,service=timer,type=heartbeat">
+          <notification type="jboss.snmp.agent.heartbeat"/>
+        </mbean>
+        
+        <!-- Valid JMX ObjectName patterns may be used as well, for example
+        <mbean name="*:service=invoker,*"/>
+        will subscribe to all matching mbeans for all notification types -->
+        
+        <!-- notification types can be used for simple prefix matching, e.g.
+        <notification type="JMX.mbean"/>
+        matches both JMX.mbean.registered and JMX.mbean.unregistered -->  
+        
+      </subscription-list>
+    </attribute>
+        
+    <depends optional-attribute-name="TimerName">
+      <mbean code="javax.management.timer.Timer"
+             name="jboss.jmx:name=SnmpAgent,service=timer,type=heartbeat"/>    
+    </depends>
+  </mbean>
+  
+  <!-- Defines the system information as specified in rfc-1213 
+       iso.org.dod.internet.mgmt.mib-2.system.* -->
+  <mbean code="org.jboss.jmx.adaptor.snmp.system.MIB2SystemGroupService"
+  	     name="jboss.jmx:name=SnmpAgent,service=MIB2SystemGroup">
+    
+    <attribute name="SysLocation">In The Matrix</attribute>
+    <attribute name="SysDescr">Central Computer</attribute>
+    <attribute name="SysContact">Agent Smith</attribute>
+    <!-- attribute name="SysName"></attribute> set internally to serverConfig at hostAddress-->
+    <depends optional-attribute-name="SnmpAgent">
+  	   jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor
+    </depends>
+  </mbean>
+    
+  <!-- Used for internal testing - ignore
+  <mbean code="org.jboss.jmx.adaptor.snmp.test.NotificationProducerService"
+         name="jboss.jmx:name=SnmpAgent,service=notification,type=producer"/>
+  -->
+</service>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/attributes.mib
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/attributes.mib	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/attributes.mib	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,98 @@
+--
+-- Example MIB for the delivered attributes.xml
+-- This file is only an example. The provided values will change in the future.
+-- See also <a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossOIDs">The Wiki</a>
+-- $Id: attributes.mib 63932 2007-07-10 10:45:49Z dimitris at jboss.org $
+-- <a href="mailto:hwr at pilhuhn.de>Heiko W. Rupp</a>
+
+JBOSS-AS-MIB DEFINITIONS ::=BEGIN
+
+IMPORTS
+   enterprises
+      FROM RFC1213-MIB
+      FROM SNMPv2-SMI
+   OBJECT-TYPE
+      FROM RFC-1212;
+		
+-- JBoss space within MIB-2
+
+jboss         OBJECT IDENTIFIER ::= { enterprises 18016 } -- 1.3.4.6.1.4.1.18016
+jbossProducts OBJECT IDENTIFIER ::= {jboss 1 }
+jbossAS       OBJECT IDENTIFIER ::= { jbossProducts 1 }
+jbossAS500    OBJECT IDENTIFIER ::= { jbossAS 1 }
+jbossAS404    OBJECT IDENTIFIER ::= { jbossAS 2 }
+
+-- Tree roots - experimental will change in the future!
+org       OBJECT IDENTIFIER ::= { iso 2 } -- "iso" = 1
+jboss-exp OBJECT IDENTIFIER ::= { org 3 }
+as        OBJECT IDENTIFIER ::= { jboss-exp 4 }
+system    OBJECT IDENTIFIER ::= { as 1 }  -- .1.2.3.4.1
+mgmt      OBJECT IDENTIFIER ::= { as 5 }
+snmp      OBJECT IDENTIFIER ::= { mgmt 6 }
+agent     OBJECT IDENTIFIER ::= { snmp 7 }
+
+-- system parameters
+activeThreadCount OBJECT-TYPE
+   SYNTAX INTEGER
+   ACCESS read-only 
+   STATUS mandatory
+   DESCRIPTION
+      "The number of active Threads in the system"
+   ::= { system 1 } -- .1.2.3.4.1.1
+freeMemory OBJECT-TYPE
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "The free memory of the VM"
+   ::= {system 2} -- .1.2.3.4.1.2
+maxMemory OBJECT-TYPE
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "The max memory of the VM"
+   ::= {system 3} -- .1.2.3.4.1.3
+threadPoolQueueSize OBJECT-TYPE
+   SYNTAX INTEGER
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "The size of the thread pool queue"
+   ::= {system 4 }
+requestCount8080 OBJECT-TYPE
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "Number of requests served on port 8080"
+   ::= {system 5}
+txCommitCount OBJECT-TYPE
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "Number of commited transactions"
+   ::= {system 6 }
+txRollbackCount OBJECT-TYPE
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "Number of transactions rolled back"
+   ::= {system 7 }
+txActiveCount OBJECT-TYPE
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "The number of currently active transactions"
+   ::= {system 8 }
+dbInUseCount OBJECT-TYPE
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "The number of db connections currently in use"
+   ::= { system 9 }
+END

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/attributes.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/attributes.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/attributes.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+<!--
+  $Id: attributes.xml 46160 2006-07-10 14:41:46Z pilhuhn $
+  
+  This configuration file controls the mapping of JMX mbean attributes
+  to SNMP OIDs accessible through the snmp-adapter.
+  
+  For each MBean listed, you can add an oid-prefix, that will be
+  prepended to the attribute oid. If no oid-prefix is defined,
+  the attribute oid is used literally.
+-->  
+<attribute-mappings>
+   
+   <!-- basic system information -->
+   <mbean name="jboss.system:type=ServerInfo" oid-prefix=".1.2.3.4.1">
+      <attribute name="ActiveThreadCount" oid=".1"/>
+      <attribute name="FreeMemory" oid=".2"/>
+      <attribute name="MaxMemory" oid=".3"/>
+   </mbean>
+
+   <mbean name="jboss.system:service=ThreadPool">
+      <attribute name="QueueSize" oid=".1.2.3.4.1.4"/>
+   </mbean>
+   
+   <!-- tomcat global http request processing -->
+   <mbean name="jboss.web:name=http-0.0.0.0-8080,type=GlobalRequestProcessor">
+      <attribute name="requestCount" oid=".1.2.3.4.1.5"/>
+   </mbean>
+   
+   <!-- Tx Manager statistics -->
+   <mbean name="jboss:service=TransactionManager">
+      <attribute name="CommitCount" oid=".1.2.3.4.1.6"/>
+      <attribute name="RollbackCount" oid=".1.2.3.4.1.7"/>
+      <attribute name="TransactionCount" oid=".1.2.3.4.1.8"/>
+   </mbean>
+   
+   <!-- DefaultDS statistics -->
+   <mbean name="jboss.jca:name=DefaultDS,service=ManagedConnectionPool" oid-prefix=".1.2.3.4.1">
+      <attribute name="InUseConnectionCount" oid=".9"/>
+	  <attribute name="MaxConnectionsInUseCount" oid=".10"/>
+   </mbean>
+
+   <!-- system information group see RFC-1213 -->
+   <mbean name="jboss.jmx:name=SnmpAgent,service=MIB2SystemGroup" oid-prefix=".1.3.6.1.2.1.1">
+      <attribute name="SysDescr" oid=".1" mode="rw"/> <!-- can be modified over snmp -->
+      <attribute name="SysObjectId" oid=".2"/>
+      <attribute name="SysUpTime" oid=".3"/>
+	  <attribute name="SysContact" oid=".4"/>
+	  <attribute name="SysName" oid=".5"/>
+	  <attribute name="SysLocation" oid=".6"/>
+	  <attribute name="SysServices" oid=".7"/>
+   </mbean>
+   
+</attribute-mappings>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/managers.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/managers.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/managers.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!--
+  $Id: managers.xml 23955 2004-09-21 20:30:47Z andd $
+  
+  This file is used to configure the SNMP managers to which the generated
+  SNMP traps should be forwarded.
+  
+  Each entry must specify:
+    - the manager's address (IP address or host name)
+    - the listening port
+    - the local binding address (optional)
+    - the local binding port (optional)
+    - the SNMP version to use (1 or 2)
+    
+  More than one managers may be specified.
+  
+  Note that traps are sent inside independent UDP packets so there is a
+  possibility to be re-ordered or completely lost. Also, even if the 
+  forwarding IP address does not exist or nobody is listening on that
+  particular port, the trap will still be sent (however, nobody will
+  receive it); this is normal behaviour.
+-->
+<manager-list>
+  <!--
+    A default test manager to forward traps. It is controlled by the
+    "jboss.jmx:name=SnmpAgent,service=trapd,type=logger" MBean that
+    simply outputs received traps as log4j DEBUG messages
+  -->
+  <manager>
+    <address>localhost</address>
+    <port>1162</port>
+    <local-address></local-address>
+    <local-port></local-port>
+    <version>1</version>
+  </manager>
+</manager-list>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/notifications.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/notifications.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/notifications.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!--
+  $Id: notifications.xml 25805 2004-11-11 18:57:01Z andd $
+  
+  This configuration file controls the mapping of JMX notification
+  onto SNMP traps. The key for the mapping is considered to be the
+  notification type. The mapping concerns:
+  
+  1. Generic trap id
+  2. Specific trap id
+  3. Enterprise OID
+  4. The trap payload comprised of notification variables
+     mapped to specific OIDs.
+     
+  Notification extractor classes may be used to extract info from
+  arbitrary notification subclasses.
+  
+  This is the most complex part of the SNMP adaptor configuration.
+  
+  For more information on using or extending this mechanism, 
+  please consult the jboss documentation or the source code.
+-->
+<notification-map-list>
+   
+  <mapping>
+    <notification-type>jboss.snmp.agent.heartbeat</notification-type>
+    <generic>3</generic>
+    <specific>0</specific>
+    <enterprise>1.2.3.4.5.6.7</enterprise>
+    <var-bind-list wrapper-class="org.jboss.jmx.adaptor.snmp.agent.NotificationWrapperSupport">
+      <var-bind>
+        <tag>a:uptime</tag>
+        <oid>1.2.3.4.5.6.7.5</oid>
+      </var-bind>
+      <var-bind>
+        <tag>a:trapCount</tag>
+        <oid>1.2.3.4.5.6.7.6</oid>
+      </var-bind>
+      <var-bind>
+        <tag>n:message</tag>
+        <oid>1.2.3.4.5.6.7.7</oid>
+      </var-bind>
+      <var-bind>
+        <tag>n:sequenceNumber</tag>
+        <oid>1.2.3.4.5.6.7.8</oid>
+      </var-bind>
+    </var-bind-list>               
+  </mapping>        
+        
+  <mapping>
+    <notification-type>jboss.snmp.agent.coldstart</notification-type>
+    <generic>0</generic>
+    <specific>0</specific>
+    <enterprise>1.2.3.4.5.6.7</enterprise>
+    <var-bind-list wrapper-class="org.jboss.jmx.adaptor.snmp.agent.NotificationWrapperSupport">
+      <var-bind>
+        <tag>a:startTime</tag>
+        <oid>1.2.3.4.5.6.7.9</oid>
+      </var-bind>
+      <var-bind>
+        <tag>a:trapCount</tag>
+        <oid>1.2.3.4.5.6.7.6</oid>
+      </var-bind>
+    </var-bind-list>               
+  </mapping>
+
+</notification-map-list>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/snmp-adaptor.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/snmp-adaptor.sar/snmp-adaptor.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/sqlexception-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/sqlexception-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/sqlexception-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+   <mbean code="org.jboss.ejb.plugins.cmp.jdbc.SQLExceptionProcessor"
+          name="jboss.jdbc:service=SQLExceptionProcessor">
+   </mbean>
+</server>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  UUID Key Generator Factory Service Configuration                     -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+  <!-- UUIDKeyGeneratorFactoryService -->
+  <mbean code="org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactoryService"
+         name="jboss:service=KeyGeneratorFactory,type=UUID">
+  </mbean>
+
+  <!-- HiLoKeyGeneratorFactory -->
+  <mbean code="org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory"
+         name="jboss:service=KeyGeneratorFactory,type=HiLo">
+
+     <depends>jboss:service=TransactionManager</depends>
+
+     <!-- Attributes common to HiLo factory instances -->
+
+     <!-- DataSource JNDI name -->
+     <depends optional-attribute-name="DataSource">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
+
+     <!-- table name -->
+     <attribute name="TableName">HILOSEQUENCES</attribute>
+
+     <!-- Column that contains sequence name -->
+     <attribute name="SequenceColumn">SEQUENCENAME</attribute>
+
+     <!-- Column that contains hi values -->
+     <attribute name="IdColumnName">HIGHVALUES</attribute>
+
+     <!-- Create table DDL - DDL should be in a single line without line breaks to work with DB2 7.2 -->
+     <attribute name="CreateTableDdl">
+        create table HILOSEQUENCES (SEQUENCENAME varchar(50) not null, HIGHVALUES integer not null, constraint hilo_pk primary key (SEQUENCENAME))
+     </attribute>
+
+     <!-- Uncomment to make it cluster-safe: Select current Hi value query (FOR UPDATE is recommended)
+     <attribute name="SelectHiSql">
+        select HIGHVALUES from HILOSEQUENCES where SEQUENCENAME='general' FOR UPDATE
+     </attribute>                                                  
+     -->
+
+     <!-- whether the table should be created (if doesn't exist yet) at the start phase -->
+     <attribute name="CreateTable">true</attribute>
+
+     <!-- whether the table should be dropped (if exists) at the stop phase -->
+     <attribute name="DropTable">false</attribute>
+
+     <!-- Instance-specific attributes -->
+
+     <!-- JNDI name -->
+     <attribute name="FactoryName">HiLoKeyGeneratorFactory</attribute>
+
+     <!-- Sequence name which this factory will use -->
+     <attribute name="SequenceName">general</attribute>
+
+     <!-- Block size -->
+     <attribute name="BlockSize">10</attribute>
+  </mbean>
+
+</server>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGenerator.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGenerator.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactory.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactory.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactoryMBean.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactoryMBean.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGenerator.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGenerator.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactory.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactory.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryService.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryService.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryServiceMBean.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryServiceMBean.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/hsqldb-jdbc-state-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/hsqldb-jdbc-state-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/hsqldb-jdbc-state-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: hsqldb-jdbc-state-service.xml 63362 2007-06-05 19:19:17Z adrian at jboss.org $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- JBossMQ State Management                                             -->
+  <!--                                                                      -->
+  <!-- This configuration uses DefaultDS which by default is HSQLDB         -->
+  <!--                                                                      -->
+  <!-- If you want to use a different database/jndi name then either change -->
+  <!-- the ConnectionManager property, e.g.                                 -->
+  <!-- Oracle: jboss.jca:service=DataSourceBinding,name=OracleDS            -->
+  <!-- or                                                                   -->
+  <!-- change the jndi binding DefaultDS to be the database you want to use.-->
+  <!-- ==================================================================== -->
+   
+  <!-- A Statemanager that stores state in the database -->
+  <mbean code="org.jboss.mq.sm.jdbc.JDBCStateManager"
+	      name="jboss.mq:service=StateManager">
+    <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
+    <attribute name="SqlProperties">
+      CREATE_TABLES_ON_STARTUP = TRUE
+      CREATE_USER_TABLE = CREATE TABLE JMS_USERS (USERID VARCHAR(32) NOT NULL, PASSWD VARCHAR(32) NOT NULL, \
+                                                 CLIENTID VARCHAR(128) NULL, PRIMARY KEY(USERID))
+      CREATE_ROLE_TABLE = CREATE TABLE JMS_ROLES (ROLEID VARCHAR(32) NOT NULL, USERID VARCHAR(32) NOT NULL, \
+                                                 PRIMARY KEY(USERID, ROLEID))
+      CREATE_SUBSCRIPTION_TABLE = CREATE TABLE JMS_SUBSCRIPTIONS (CLIENTID VARCHAR(128) NOT NULL, \
+                                                 SUBNAME VARCHAR(128) NOT NULL, TOPIC VARCHAR(255) NOT NULL, \
+                                                 SELECTOR VARCHAR(255) NULL, PRIMARY KEY(CLIENTID, SUBNAME))
+      GET_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=?
+      LOCK_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=?
+      GET_SUBSCRIPTIONS_FOR_TOPIC = SELECT CLIENTID, SUBNAME, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE TOPIC=?
+      INSERT_SUBSCRIPTION = INSERT INTO JMS_SUBSCRIPTIONS (CLIENTID, SUBNAME, TOPIC, SELECTOR) VALUES(?,?,?,?)
+      UPDATE_SUBSCRIPTION = UPDATE JMS_SUBSCRIPTIONS SET TOPIC=?, SELECTOR=? WHERE CLIENTID=? AND SUBNAME=?
+      REMOVE_SUBSCRIPTION = DELETE FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=?
+      GET_USER_BY_CLIENTID = SELECT USERID, PASSWD, CLIENTID FROM JMS_USERS WHERE CLIENTID=?
+      GET_USER = SELECT PASSWD, CLIENTID FROM JMS_USERS WHERE USERID=?
+      POPULATE.TABLES.01 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('guest', 'guest')
+      POPULATE.TABLES.02 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('j2ee', 'j2ee')
+      POPULATE.TABLES.03 = INSERT INTO JMS_USERS (USERID, PASSWD, CLIENTID) VALUES ('john', 'needle', 'DurableSubscriberExample')
+      POPULATE.TABLES.04 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('nobody', 'nobody')
+      POPULATE.TABLES.05 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('dynsub', 'dynsub')
+      POPULATE.TABLES.06 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('guest','guest')
+      POPULATE.TABLES.07 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('j2ee','guest')
+      POPULATE.TABLES.08 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('john','guest')
+      POPULATE.TABLES.09 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('subscriber','john')
+      POPULATE.TABLES.10 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('publisher','john')
+      POPULATE.TABLES.11 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('publisher','dynsub')
+      POPULATE.TABLES.12 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('durpublisher','john')
+      POPULATE.TABLES.13 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('durpublisher','dynsub')
+      POPULATE.TABLES.14 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('noacc','nobody')
+    </attribute>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/hsqldb-jdbc2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/hsqldb-jdbc2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/hsqldb-jdbc2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: hsqldb-jdbc2-service.xml 38669 2005-12-02 02:51:48Z adrian $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Persistence and caching using HSQLDB                                 -->
+  <!-- See docs/examples/jms for other configurations                       -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | The destination manager is the core service within JBossMQ
+  -->
+  <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
+    <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
+    <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
+    <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
+    <depends optional-attribute-name="ThreadPool">jboss.mq:service=ThreadPool</depends>
+    <depends>jboss:service=Naming</depends>
+  </mbean>
+
+  <!--
+     | The MessageCache decides where to put JBossMQ message that
+     | are sitting around waiting to be consumed by a client.
+     |
+     | The memory marks are in Megabytes.  Once the JVM memory usage hits
+     | the high memory mark, the old messages in the cache will start getting
+     | stored in the DataDirectory.  As memory usage gets closer to the
+     | Max memory mark, the amount of message kept in the memory cache aproaches 0.
+   -->
+  <mbean code="org.jboss.mq.server.MessageCache"
+	 name="jboss.mq:service=MessageCache">
+    <attribute name="HighMemoryMark">50</attribute>
+    <attribute name="MaxMemoryMark">60</attribute>
+    <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
+  </mbean>
+
+  <!-- 
+     | The jdbc2 PersistenceManager is the new improved JDBC implementation.
+     | This implementation allows you to control how messages are stored in 
+     | the database.
+     |
+     | Use this PM if you want the reliablity a relational database can offer
+     | you.  The default configuration is known to work with hsqldb, other
+     | databases will requrie teaking of the SqlProperties e.g. changing table
+     | colum definitions to database supported types.
+     |
+     | Take care that the selected blob column type in jms_messages can store
+     | all message data. Some databases (e.g. mySQL) offer blob types with
+     | different maximum capacity (e.g. mySQL-type BLOB=64K, LONGBLOB=2G).
+     |
+     | If you encouter problems with the configured BLOB_TYPE try a different
+     | setting. Valid settings are OBJECT_BLOB, BINARYSTREAM_BLOB and BYTES_BLOB.
+   -->
+  <mbean code="org.jboss.mq.pm.jdbc2.PersistenceManager"
+	 name="jboss.mq:service=PersistenceManager">
+    <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
+    <attribute name="SqlProperties">
+      BLOB_TYPE=OBJECT_BLOB
+      INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
+      INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+      SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
+      SELECT_MAX_TX = SELECT MAX(TXID) TXID FROM (SELECT MAX(TXID) AS TXID FROM JMS_TRANSACTIONS UNION SELECT MAX(TXID) AS TXID FROM JMS_MESSAGES)
+      DELETE_ALL_TX = DELETE FROM JMS_TRANSACTIONS
+      SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE_KEYS_IN_DEST = SELECT MESSAGEID FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXOP=? AND JMS_MESSAGES.TXID IN (SELECT TXID FROM JMS_TRANSACTIONS)
+      DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
+      DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
+      DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
+      DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      CREATE_MESSAGE_TABLE = CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \
+         DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \
+         MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )
+      CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID)
+      CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON JMS_MESSAGES (DESTINATION)
+      CREATE_TX_TABLE = CREATE CACHED TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) )
+      CREATE_TABLES_ON_STARTUP = TRUE
+    </attribute>
+    <!-- Uncomment to override the transaction timeout for recovery per queue/subscription, in seconds -->
+    <!--attribute name="RecoveryTimeout">0</attribute-->
+    <!-- The number of blobs to load at once during message recovery -->
+    <attribute name="RecoverMessagesChunk">0</attribute>
+  </mbean>
+ 
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-destinations-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-destinations-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-destinations-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jbossmq-destinations-service.xml 25907 2004-11-16 04:32:39Z ejort $ -->
+
+<!-- 
+   | This file defines the default Queues and Topics that JBossMQ
+   | ships with.  The default Queues and Topics are used by the 
+   | JBoss test suite and by the sample jms programs.
+   |
+   | You can add other destinations to this file, or you can create other
+   | *-service.xml files to contain your application's destinations.
+ -->
+
+<server>
+  <!-- Destination without a configured SecurityManager or without a 
+       a SecurityConf will default to role guest with read=true, write=true,
+       create=false.
+  -->
+  <mbean code="org.jboss.mq.server.jmx.Topic"
+	 name="jboss.mq.destination:service=Topic,name=testTopic">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="SecurityConf">
+      <security>
+        <role name="guest" read="true" write="true"/>
+        <role name="publisher" read="true" write="true" create="false"/>
+        <role name="durpublisher" read="true" write="true" create="true"/>
+      </security>
+    </attribute>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Topic"
+	 name="jboss.mq.destination:service=Topic,name=securedTopic">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="SecurityConf">
+      <security>
+        <role name="publisher" read="true" write="true" create="false"/>
+      </security>
+    </attribute>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Topic"
+	 name="jboss.mq.destination:service=Topic,name=testDurableTopic">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="SecurityConf">
+       <security>
+         <role name="guest" read="true" write="true"/>
+         <role name="publisher" read="true" write="true" create="false"/>
+         <role name="durpublisher" read="true" write="true" create="true"/>
+      </security>
+    </attribute>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=testQueue">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="MessageCounterHistoryDayLimit">-1</attribute>
+    <attribute name="SecurityConf">
+      <security>
+        <role name="guest" read="true" write="true"/>
+        <role name="publisher" read="true" write="true" create="false"/>
+        <role name="noacc" read="false" write="false" create="false"/>
+      </security>
+    </attribute>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=A">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=B">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=C">
+	 <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=D">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=ex">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server>
+<server>
+    <mbean code="org.jboss.mq.il.http.HTTPServerILService"
+	 name="jboss.mq:service=InvocationLayer,type=HTTP">
+    <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
+    <depends>jboss.web:service=WebServer</depends>
+    <attribute name="ConnectionFactoryJNDIRef">HTTPConnectionFactory</attribute>
+    <attribute name="XAConnectionFactoryJNDIRef">HTTPXAConnectionFactory</attribute>
+    <attribute name="PingPeriod">0</attribute>
+    <attribute name="TimeOut">60</attribute>
+    <attribute name="RestInterval">0</attribute>
+  </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/http/servlet/HTTPServerILServlet.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/http/servlet/HTTPServerILServlet.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+<jboss-web>
+   <security-domain>java:/jaas/jbossmq</security-domain>
+</jboss-web>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app
+    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+    "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+  <servlet>
+    <servlet-name>HTTPServerILServlet</servlet-name>
+    <display-name>JBossMQ HTTP-IL Servlet</display-name>
+    <description>Provides and HTTP invocation layer for JBossMQ</description>
+    <servlet-class>org.jboss.mq.il.http.servlet.HTTPServerILServlet</servlet-class>
+    <init-param>
+        <param-name>Invoker</param-name> 
+        <param-value>jboss.mq:service=Invoker</param-value> 
+     </init-param>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>HTTPServerILServlet</servlet-name>
+    <url-pattern>/HTTPServerILServlet/*</url-pattern>
+  </servlet-mapping>
+
+  <!-- Alternate mappings that place the servlets under the restricted
+    path to required authentication for access. Remove the unsecure mappings
+    if only authenticated users should be allowed.
+    -->
+  <servlet-mapping>
+    <servlet-name>HTTPServerILServlet</servlet-name>
+    <url-pattern>/restricted/HTTPServerILServlet/*</url-pattern>
+  </servlet-mapping>
+
+   <!-- An example security constraint that restricts access to the HTTP invoker
+   to users with the role HttpInvoker Edit the roles to what you want and
+   configure the WEB-INF/jboss-web.xml/security-domain element to reference
+   the security domain you want.
+   -->
+   <security-constraint>
+      <web-resource-collection>
+         <web-resource-name>HTTPServerILServlet</web-resource-name>
+         <description>An example security config that only allows users with the
+            role JBossMqHttpIl to access the HTTP-IL servlet
+         </description>
+         <url-pattern>/restricted/*</url-pattern>
+         <http-method>GET</http-method>
+         <http-method>POST</http-method>
+      </web-resource-collection>
+      <auth-constraint>
+         <role-name>durpublisher</role-name>
+         <role-name>publisher</role-name>
+         <role-name>guest</role-name>
+         <role-name>j2ee</role-name>
+         <role-name>subscriber</role-name>
+      </auth-constraint>
+   </security-constraint>
+   <login-config>
+      <auth-method>BASIC</auth-method>
+      <realm-name>JBossMQ</realm-name>
+   </login-config>
+
+   <security-role>
+      <role-name>durpublisher</role-name>
+   </security-role>
+   <security-role>
+      <role-name>publisher</role-name>
+   </security-role>
+   <security-role>
+      <role-name>guest</role-name>
+   </security-role>
+   <security-role>
+      <role-name>j2ee</role-name>
+   </security-role>
+   <security-role>
+      <role-name>subscriber</role-name>
+   </security-role>
+  
+
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jbossmq-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jbossmq-service.xml 65363 2007-09-13 15:05:39Z adrian at jboss.org $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- JBossMQ                                                              -->
+  <!-- ==================================================================== -->
+
+
+  <!-- ==================================================================== -->
+  <!-- JBossMQ Interceptor chain configuration                              -->
+  <!-- ==================================================================== -->
+  <!-- To tune performance, you can have the Invoker skip over the TracingInterceptor -->
+  <!-- and/or the SecurityManager, but then you loose the ability to trace and/or enforce security. -->
+  <mbean code="org.jboss.mq.server.jmx.Invoker" name="jboss.mq:service=Invoker">
+    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=TracingInterceptor</depends>
+    <depends>jboss:service=Naming</depends>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.InterceptorLoader" name="jboss.mq:service=TracingInterceptor">
+    <attribute name="InterceptorClass">org.jboss.mq.server.TracingInterceptor</attribute>
+    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=SecurityManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.mq.security.SecurityManager" name="jboss.mq:service=SecurityManager">
+    <attribute name="DefaultSecurityConfig">
+      <security>
+        <role name="guest" read="true" write="true" create="true"/>
+      </security>
+    </attribute>
+    <attribute name="SecurityDomain">java:/jaas/jbossmq</attribute>
+    <depends>jboss.security:service=JaasSecurityManager</depends> 
+    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+  <!--
+     | The ClientMonitorInterceptor disconnects clients that have been idle for to long.
+     | This interceptor is not enabled by default since the server might disconnect clients
+     | when the it is under high load.
+   -->
+  <!--
+  <mbean code="org.jboss.mq.server.jmx.ClientMonitorInterceptor" name="jboss.mq:service=ClientMonitorInterceptor">
+    <attribute name="ClientTimeout">80000</attribute>
+    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  -->
+
+  <!-- A Thread pool service -->
+  <mbean code="org.jboss.util.threadpool.BasicThreadPool"
+     name="jboss.mq:service=ThreadPool">
+     <attribute name="Name">JMSThread</attribute>
+     <attribute name="ThreadGroupName">JBossMQ Server Threads</attribute>
+     <!-- The max number of threads in the pool -->
+     <attribute name="MaximumPoolSize">10</attribute>
+     <!-- The max number of tasks before the queue is full -->
+     <attribute name="MaximumQueueSize">1000</attribute>
+     <!-- The behavior of the pool when a task is added and the queue is full.
+     abort - a RuntimeException is thrown
+     run - the calling thread executes the task
+     wait - the calling thread blocks until the queue has room
+     discard - the task is silently discarded without being run
+     discardOldest - check to see if a task is about to complete and enque
+        the new task if possible, else run the task in the calling thread
+     -->
+     <attribute name="BlockingMode">run</attribute>
+  </mbean>
+
+  <!-- ==================================================================== -->
+  <!-- System Destinations                                                  -->
+  <!-- ==================================================================== -->
+
+  <!-- Dead Letter Queue -->
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=DLQ">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jvm-il-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jvm-il-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/jvm-il-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jvm-il-service.xml 16662 2003-08-27 04:38:22Z patriot1burke $ -->
+
+<server>
+
+  <!-- JBossMQ in memory "communication -->
+
+  <mbean code="org.jboss.mq.il.jvm.JVMServerILService"
+	 name="jboss.mq:service=InvocationLayer,type=JVM">
+    <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
+    <attribute name="ConnectionFactoryJNDIRef">java:/ConnectionFactory</attribute>
+    <attribute name="XAConnectionFactoryJNDIRef">java:/XAConnectionFactory</attribute>
+    <attribute name="PingPeriod">0</attribute>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/uil2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/uil2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/deploy-hasingleton/jms/uil2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: uil2-service.xml 35297 2005-08-25 15:03:20Z starksm $ -->
+
+<server>
+
+  <!-- JBossMQ using the Unified Invocation Layer
+       All communication uses one socket connection -->
+
+  <mbean code="org.jboss.mq.il.uil2.UILServerILService"
+	 name="jboss.mq:service=InvocationLayer,type=UIL2">
+
+    <!-- The server chain -->
+    <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
+    <!-- JNDI binding -->
+    <attribute name="ConnectionFactoryJNDIRef">ConnectionFactory</attribute>
+    <!-- JNDI binding for XA -->
+    <attribute name="XAConnectionFactoryJNDIRef">XAConnectionFactory</attribute>
+    <!-- The bind address -->
+    <attribute name="BindAddress">${jboss.bind.address}</attribute>
+    <!-- The bind port -->
+    <attribute name="ServerBindPort">8093</attribute>
+    <!-- The ping period in millis -->
+    <attribute name="PingPeriod">60000</attribute>
+    <!-- Whether tcp/ip does not wait for buffer fills -->
+    <attribute name="EnableTcpNoDelay">true</attribute>
+    <!-- Used to disconnect the client on the serverside if there is no activity -->
+    <!-- Ensure this is greater than the ping period -->
+    <attribute name="ReadTimeout">120000</attribute>
+    <!-- Used to disconnect the client on the clientside if there is no activity -->
+    <!-- Ensure this is greater than the ping period -->
+    <attribute name="ClientReadTimeout">120000</attribute>
+    <!-- The size of the buffer (in bytes) wrapping the socket -->
+    <!-- The buffer is flushed after each request -->
+    <attribute name="BufferSize">2048</attribute>
+    <!-- Large messages may block the ping/pong -->
+    <!-- A pong is simulated after each chunk (in bytes) for both reading and writing -->
+    <!-- It must be larger than the buffer size -->
+    <attribute name="ChunkSize">1000000</attribute>
+  </mbean>
+
+  <!-- Aliases UIL -> UIL2 for backwards compatibility 
+       the deprecated UIL deployment can be found in docs/examples/jca -->
+   <mbean code="org.jboss.naming.NamingAlias" name="jboss.mq:service=InvocationLayer,type=UIL">
+      <attribute name="FromName">UILConnectionFactory</attribute>
+      <attribute name="ToName">ConnectionFactory</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+   <mbean code="org.jboss.naming.NamingAlias" name="jboss.mq:service=InvocationLayer,type=UILXA">
+      <attribute name="FromName">UILXAConnectionFactory</attribute>
+      <attribute name="ToName">XAConnectionFactory</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+   <mbean code="org.jboss.naming.NamingAlias"
+      name="jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory">
+      <attribute name="FromName">UIL2ConnectionFactory</attribute>
+      <attribute name="ToName">ConnectionFactory</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+   <mbean code="org.jboss.naming.NamingAlias"
+      name="jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory">
+      <attribute name="FromName">UIL2XAConnectionFactory</attribute>
+      <attribute name="ToName">XAConnectionFactory</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+
+   <!--
+      Two JNDI bindings that act like jms client connections remotely
+      but have j2ee defined semantics inside JBoss
+   -->
+   <mbean code="org.jboss.naming.LinkRefPairService"
+          name="jboss.jms:alias=QueueConnectionFactory">
+      <attribute name="JndiName">QueueConnectionFactory</attribute>
+      <attribute name="RemoteJndiName">ConnectionFactory</attribute>
+      <attribute name="LocalJndiName">java:/JmsXA</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+   <mbean code="org.jboss.naming.LinkRefPairService"
+          name="jboss.jms:alias=TopicConnectionFactory">
+      <attribute name="JndiName">TopicConnectionFactory</attribute>
+      <attribute name="RemoteJndiName">ConnectionFactory</attribute>
+      <attribute name="LocalJndiName">java:/JmsXA</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/farm/cluster-examples-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/farm/cluster-examples-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/farm/cluster-examples-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server>
+<!-- $Id: cluster-examples-service.xml 43871 2006-04-17 20:15:11Z bstansberry $ -->
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Clustering Example Services Configuration                            -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!--    Singleton clustering service                                      -->
+  <!-- ==================================================================== -->
+
+
+   <!--
+    | This MBean is an example of a cluster Singleton. Note that the
+      class referenced in the code attribute is on the classpath as part
+      of the jbossha.jar in server/.../lib.  If you don't want to place
+      your class(es) in server/.../lib, you should package them in a .sar
+      along with your version of this deployment descriptor renamed to
+      META-INF/jboss-service.xml.
+    - ->
+   <mbean code="org.jboss.ha.singleton.examples.HASingletonMBeanExample" 
+          name="jboss.examples:service=HASingletonMBeanExample">
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | This is a singleton controller which works similarly to the 
+    | SchedulerProvider (when a MBean target is used)
+    |
+    | There are several optional attributes: 
+    |   TargetStartMethodArgument, which sets a string argument 
+    |     to be passed to TargetStartMethod. If not set, the start method should not take any arguments.
+    |   TargetStopMethodArgument, which sets a string argument 
+    |     to be passed to TargetStopMethod. If not set, the stop method should not take any arguments.
+    |
+    - ->
+   <mbean code="org.jboss.ha.singleton.HASingletonController" 
+          name="jboss.examples:service=HASingletonMBeanExample-HASingletonController">
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>   
+      <depends>jboss.examples:service=HASingletonMBeanExample</depends>
+      <attribute name="PartitionName">${jboss.partition.name:DefaultPartition}</attribute>
+      <attribute name="TargetName">jboss.examples:service=HASingletonMBeanExample</attribute>
+      <attribute name="TargetStartMethod">startSingleton</attribute>
+      <attribute name="TargetStopMethod">stopSingleton</attribute>
+      <attribute name="TargetStopMethodArgument">true</attribute>
+   </mbean>
+   <!- - -->
+      
+      
+
+      
+   <!-- ==================================================================== -->
+   <!-- Scheduler Service with HASingleton enabled ScheduleProviders         -->
+   <!-- ==================================================================== -->
+         
+   <!--
+    | This MBean is an example of an HA Schedule Target
+    | which is identical to a regular Schedule Target
+    | (the example class is the same, just the MBean has different names)
+    - ->
+   <mbean code="org.jboss.varia.scheduler.example.SchedulableMBeanExample" 
+          name="jboss.examples:service=HASchedulableMBeanExample">
+   </mbean>
+   <!- - -->
+   
+         
+   <!--
+    | The Schedule Manager has to be started whenever
+    | schedules are needed.
+    |
+    | Uncomment only if not started by 
+    | another service (e.g. schedule-manager-service.xml)
+    - ->
+   <mbean code="org.jboss.varia.scheduler.ScheduleManager"
+          name="jboss:service=ScheduleManager">
+      <attribute name="StartAtStartup">true</attribute>
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | This is a single schedule Provider which works like the
+    | one in schedule-manager-service.xml
+    |
+    | The key difference is the explicit use of the HASingleton MBean attribute
+    | to make the provider a clustered singleton.
+    | When HASingleton is set to true the MBean will usually declare dependency 
+    | on a cluster partition. In this case it is the DefaultPartition.
+    | When not explicitly set the attribute defaults to true. 
+    |
+    | The same attribute can also be used for the other schedule providers as well:
+    | DBScheduleProvider and XMLScheduleProvider
+    | 
+    |
+    - ->
+   <mbean code="org.jboss.varia.scheduler.SingleScheduleProvider"
+          name="jboss:service=HASingleScheduleProvider">
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>   
+      <depends>jboss:service=ScheduleManager</depends>
+      <depends>jboss.examples:service=HASchedulableMBeanExample</depends>
+      <attribute name="HASingleton">true</attribute>
+      <attribute name="PartitionName">${jboss.partition.name:DefaultPartition}</attribute>
+      <attribute name="ScheduleManagerName">jboss:service=ScheduleManager</attribute>
+      <attribute name="TargetName">jboss.examples:service=HASingletonMBeanExample</attribute>
+      <attribute name="TargetMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
+      <attribute name="DateFormat"></attribute>
+      <attribute name="StartDate">NOW</attribute>
+      <attribute name="Period">10000</attribute>
+      <attribute name="Repetitions">10</attribute>
+   </mbean>
+   <!- - -->
+
+
+   <!-- ==================================================================== -->
+   <!-- Clustered Notification Broadcaster                                   -->
+   <!-- ==================================================================== -->
+         
+   <!--
+    | This MBean is an example showing how to extend a cluster notification broadcaster 
+    | Use the sendNotiication() operation to trigger new clustered notifications.
+    | Observe the status of each instance of this mbean in the participating cluster partition nodes.
+    - ->
+   <mbean code="org.jboss.ha.jmx.examples.HANotificationBroadcasterExample" 
+          name="jboss.examples:service=HANotificationBroadcasterExample">
+      <depends>jboss:service=DefaultPartition</depends>            
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | This MBean is an example that shows how to delegate notification services to a HANotificationBroadcaster.
+    | Use the sendNotiication() operation to trigger new clustered notifications.
+    | Observe the status of each instance of this mbean in the participating cluster partition nodes.
+    |
+    - ->
+   <mbean code="org.jboss.ha.jmx.examples.HANotificationBroadcasterClientExample" 
+          name="jboss.examples:service=HANotificationBroadcasterClientExample">
+      <depends>jboss.examples:service=HANotificationBroadcasterExample</depends>
+      <attribute name="HANotificationBroadcasterName">jboss.examples:service=HANotificationBroadcasterExample</attribute>
+   </mbean>
+   <!- - -->
+      
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/activation.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/activation.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/antlr.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/antlr.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/autonumber-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/autonumber-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/avalon-framework.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/avalon-framework.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bcel.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bcel.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bindingservice-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bindingservice-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bsf.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bsf.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bsh-deployer.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bsh-deployer.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bsh.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/bsh.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/cglib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/cglib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-codec.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-codec.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-collections.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-collections.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-httpclient.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-httpclient.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-logging.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/commons-logging.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/dom4j.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/dom4j.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/ejb3-persistence.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/ejb3-persistence.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/el-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/el-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hibernate-annotations.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hibernate-annotations.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hibernate-entitymanager.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hibernate-entitymanager.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hibernate3.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hibernate3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hsqldb-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hsqldb-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hsqldb.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/hsqldb.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jacorb.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jacorb.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/javassist.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/javassist.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jaxen.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jaxen.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-cache-jdk50.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-cache-jdk50.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-common-jdbc-wrapper.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-common-jdbc-wrapper.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-ejb3x.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-ejb3x.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-hibernate.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-hibernate.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-iiop.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-iiop.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-j2ee.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-j2ee.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jaxrpc.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jaxrpc.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jaxws.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jaxws.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jca.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jca.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jsr77.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jsr77.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jsr88.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-jsr88.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-management.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-management.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-monitoring.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-monitoring.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-remoting-int.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-remoting-int.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-remoting.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-remoting.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-saaj.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-saaj.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-serialization.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-serialization.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-srp.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-srp.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-transaction.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-transaction.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-vfs.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss-vfs.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jboss.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossha.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossha.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossjta-integration.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossjta-integration.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossjta.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossjta.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossmq.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossmq.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbosssx.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbosssx.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossts-common.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossts-common.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-common.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-common.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-framework.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-framework.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-jboss42.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-jboss42.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-spi.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jbossws-spi.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jgroups.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jgroups.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jmx-adaptor-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jmx-adaptor-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jnpserver.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jnpserver.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/joesnmp.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/joesnmp.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jpl-pattern.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jpl-pattern.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jpl-util.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jpl-util.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jsp-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/jsp-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/log4j-snmp-appender.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/log4j-snmp-appender.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/log4j.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/log4j.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/mail-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/mail-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/mail.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/mail.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/properties-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/properties-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/quartz.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/quartz.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/scheduler-plugin-example.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/scheduler-plugin-example.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/scheduler-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/scheduler-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/servlet-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/servlet-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/xmlentitymgr.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/all/lib/xmlentitymgr.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-log4j.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-log4j.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-log4j.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,301 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Log4j Configuration                                                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: jboss-log4j.xml 65459 2007-09-19 00:25:51Z dimitris at jboss.org $ -->
+
+<!--
+   | For more configuration infromation and examples see the Jakarta Log4j
+   | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+   <!-- ================================= -->
+   <!-- Preserve messages in a local file -->
+   <!-- ================================= -->
+
+   <!-- A time/date based rolling appender -->
+   <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      <param name="File" value="${jboss.server.log.dir}/server.log"/>
+      <param name="Append" value="false"/>
+
+      <!-- Rollover at midnight each day -->
+      <param name="DatePattern" value="'.'yyyy-MM-dd"/>
+
+      <!-- Rollover at the top of each hour
+      <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+      -->
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+
+         <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+         <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+          -->
+      </layout>
+   </appender>
+
+   <!-- A size based file rolling appender
+   <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="File" value="${jboss.server.log.dir}/server.log"/>
+     <param name="Append" value="false"/>
+     <param name="MaxFileSize" value="500KB"/>
+     <param name="MaxBackupIndex" value="1"/>
+
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+     </layout>	    
+   </appender>
+   -->
+
+   <!-- ============================== -->
+   <!-- Append messages to the console -->
+   <!-- ============================== -->
+
+   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      <param name="Target" value="System.out"/>
+      <param name="Threshold" value="INFO"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+      </layout>
+   </appender>
+  
+   <!-- ====================== -->
+   <!-- More Appender examples -->
+   <!-- ====================== -->
+
+   <!-- Buffer events and log them asynchronously
+   <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <appender-ref ref="FILE"/>
+     <appender-ref ref="CONSOLE"/>
+     <appender-ref ref="SMTP"/>
+   </appender>
+   -->
+
+   <!-- EMail events to an administrator
+   <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="Threshold" value="ERROR"/>
+     <param name="To" value="admin at myhost.domain.com"/>
+     <param name="From" value="nobody at myhost.domain.com"/>
+     <param name="Subject" value="JBoss Sever Errors"/>
+     <param name="SMTPHost" value="localhost"/>
+     <param name="BufferSize" value="10"/>
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+     </layout>
+   </appender>
+   -->
+
+   <!-- Syslog events
+   <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="Facility" value="LOCAL7"/>
+     <param name="FacilityPrinting" value="true"/>
+     <param name="SyslogHost" value="localhost"/>
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+     </layout>
+   </appender>
+   -->
+
+   <!-- Log events to JMS (requires a topic to be created)
+   <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="Threshold" value="ERROR"/>
+     <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
+     <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
+   </appender>
+   -->
+
+   <!-- Log events through SNMP
+   <appender name="TRAP_LOG" class="org.apache.log4j.ext.SNMPTrapAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="ImplementationClassName" value="org.apache.log4j.ext.JoeSNMPTrapSender"/>
+     <param name="ManagementHost" value="127.0.0.1"/>
+     <param name="ManagementHostTrapListenPort" value="162"/>
+     <param name="EnterpriseOID" value="1.3.6.1.4.1.24.0"/>
+     <param name="LocalIPAddress" value="127.0.0.1"/>
+     <param name="LocalTrapSendPort" value="161"/>
+     <param name="GenericTrapType" value="6"/>
+     <param name="SpecificTrapType" value="12345678"/>
+     <param name="CommunityString" value="public"/>
+     <param name="ForwardStackTraceWithTrap" value="true"/>
+     <param name="Threshold" value="DEBUG"/>
+     <param name="ApplicationTrapOID" value="1.3.6.1.4.1.24.12.10.22.64"/>
+     <layout class="org.apache.log4j.PatternLayout">
+            <param name="ConversionPattern" value="%d,%p,[%t],[%c],%m%n"/>
+     </layout>
+   </appender>
+   -->
+
+   <!--  Emit events as JMX notifications
+   <appender name="JMX" class="org.jboss.monitor.services.JMXNotificationAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      
+      <param name="Threshold" value="WARN"/>
+      <param name="ObjectName" value="jboss.system:service=Logging,type=JMXNotificationAppender"/>
+      
+      <layout class="org.apache.log4j.PatternLayout">
+         <param name="ConversionPattern" value="%d %-5p [%c] %m"/>
+      </layout>
+   </appender>
+   -->
+   
+   <!-- ================ -->
+   <!-- Limit categories -->
+   <!-- ================ -->
+
+   <!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
+   <category name="org.apache">
+      <priority value="INFO"/>
+   </category>
+
+   <!-- Limit the jacorb category to WARN as its INFO is verbose -->
+   <category name="jacorb">
+      <priority value="WARN"/>
+   </category>
+   
+   <!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
+   <category name="org.jgroups">
+      <priority value="WARN"/>
+   </category>
+   
+   <!-- Limit the org.quartz category to INFO as its DEBUG is verbose -->
+   <category name="org.quartz">
+      <priority value="INFO"/>
+   </category>
+
+   <!-- Limit JBoss categories
+   <category name="org.jboss">
+      <priority value="INFO"/>
+   </category>
+   -->
+
+   <!-- Limit the JSR77 categories -->
+   <category name="org.jboss.management">
+      <priority value="INFO"/>
+   </category>
+
+   <!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
+   <category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
+     <priority value="TRACE"/>
+   </category>
+   -->
+   
+   <!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -->
+   <category name="org.jboss.serial">
+      <priority value="INFO"/>
+   </category>
+   
+   <!-- Decrease the priority threshold for the org.jboss.varia category
+   <category name="org.jboss.varia">
+     <priority value="DEBUG"/>
+   </category>
+   -->
+
+   <!-- Enable JBossWS message tracing
+   <category name="org.jboss.ws.core.MessageTrace">
+    <priority value="TRACE"/>
+   </category>
+   -->
+
+   <!--
+      | An example of enabling the custom TRACE level priority that is used
+      | by the JBoss internals to diagnose low level details. This example
+      | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
+      | subpackages. This will produce A LOT of logging output.
+      |
+      | Note: since jboss AS 4.2.x, the trace level is supported natively by
+      | log4j, so although the custom org.jboss.logging.XLevel priority will
+      | still work, there is no need to use it. The two examples that follow
+      | will both enable trace logging.
+   <category name="org.jboss.system">
+     <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+   </category>
+   <category name="org.jboss.ejb.plugins">
+     <priority value="TRACE"/>
+   </category>
+   -->
+  
+   <!--
+       | Logs these events to SNMP:
+           - server starts/stops
+           - cluster evolution (node death/startup)
+           - When an EJB archive is deployed (and associated verified messages)
+           - When an EAR archive is deployed
+      	 
+   <category name="org.jboss.system.server.Server">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+  
+   <category name="org.jboss.ha.framework.interfaces.HAPartition.lifecycle">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+
+   <category name="org.jboss.deployment.MainDeployer">
+     <priority value="ERROR" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+   
+   <category name="org.jboss.ejb.EJBDeployer">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+   
+   <category name="org.jboss.deployment.EARDeployer">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+   -->
+
+   <!-- Clustering logging -->
+   <!-- Uncomment the following to redirect the org.jgroups and
+      org.jboss.ha categories to a cluster.log file.
+
+   <appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="File" value="${jboss.server.log.dir}/cluster.log"/>
+     <param name="Append" value="false"/>
+     <param name="MaxFileSize" value="500KB"/>
+     <param name="MaxBackupIndex" value="1"/>
+
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+     </layout>
+   </appender>
+   <category name="org.jgroups">
+     <priority value="DEBUG" />
+     <appender-ref ref="CLUSTER"/>
+   </category>
+   <category name="org.jboss.ha">
+     <priority value="DEBUG" />
+     <appender-ref ref="CLUSTER"/>
+   </category>
+   -->
+   
+   <!-- ======================= -->
+   <!-- Setup the Root category -->
+   <!-- ======================= -->
+
+   <root>
+      <appender-ref ref="CONSOLE"/>
+      <appender-ref ref="FILE"/>
+   </root>
+
+</log4j:configuration>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-minimal.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-minimal.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-minimal.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-minimal.xml 60298 2007-02-05 16:01:55Z dimitris at jboss.org $ -->
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  A minimal JBoss Server Configuration                                 -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- Load all jars from the JBOSS_DIST/server/<config>/lib directory. This
+     can be restricted to specific jars by specifying them in the archives
+     attribute.
+    -->
+   <classpath codebase="${jboss.server.lib.url:lib}" archives="*"/>
+
+   <!-- ==================================================================== -->
+   <!-- Log4j Initialization                                                 -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.logging.Log4jService"
+      name="jboss.system:type=Log4jService,service=Logging">
+      <attribute name="ConfigurationURL">resource:jboss-log4j.xml</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Thread Pool                                                          -->
+   <!-- ==================================================================== -->
+   
+   <!-- A Thread pool service -->
+   <mbean code="org.jboss.util.threadpool.BasicThreadPool"
+      name="jboss.system:service=ThreadPool">
+      <attribute name="Name">JBoss System Threads</attribute>
+      <attribute name="ThreadGroupName">System Threads</attribute>
+      <!-- How long a thread will live without any tasks in MS -->
+      <attribute name="KeepAliveTime">60000</attribute>
+      <!-- The max number of threads in the pool -->
+      <attribute name="MaximumPoolSize">10</attribute>
+      <!-- The max number of tasks before the queue is full -->
+      <attribute name="MaximumQueueSize">1000</attribute>
+      <!-- The behavior of the pool when a task is added and the queue is full.
+      abort - a RuntimeException is thrown
+      run - the calling thread executes the task
+      wait - the calling thread blocks until the queue has room
+      discard - the task is silently discarded without being run
+      discardOldest - check to see if a task is about to complete and enque
+         the new task if possible, else run the task in the calling thread
+      -->
+      <attribute name="BlockingMode">run</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- JNDI                                                                 -->
+   <!-- ==================================================================== -->
+   
+   <!-- A simple mbean wrapper around the jndi Naming object. This
+   only handles an in memory instance. The NamingService uses this
+   as the JNDI store and exposes it remotely.
+   -->
+   <mbean code="org.jnp.server.NamingBeanImpl"
+      name="jboss:service=NamingBeanImpl"
+      xmbean-dd="resource:xmdesc/NamingBean-xmbean.xml">
+   </mbean>
+   
+   <mbean code="org.jboss.naming.NamingService"
+      name="jboss:service=Naming"
+      xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
+      <!-- The call by value mode. true if all lookups are unmarshalled using
+         the caller's TCL, false if in VM lookups return the value by reference.
+      -->
+      <attribute name="CallByValue">false</attribute>
+      <!-- The listening port for the bootstrap JNP service. Set this to -1
+         to run the NamingService without the JNP invoker listening port.
+      -->
+      <attribute name="Port">1099</attribute>
+      <!-- The bootstrap JNP server bind address. This also sets the default
+         RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>
+      <!-- The port of the RMI naming service, 0 == anonymous -->
+      <attribute name="RmiPort">1098</attribute>
+      <!-- The RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
+      <!-- The thread pool service used to control the bootstrap lookups -->
+      <depends optional-attribute-name="LookupPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+      <!-- An example of using the unifed invoker as the transport.
+         <depends optional-attribute-name="InvokerProxyFactory"
+         proxy-type="attribute">jboss:service=proxyFactory,type=unified,target=Naming</depends>
+      -->
+      <depends optional-attribute-name="Naming"
+         proxy-type="attribute">jboss:service=NamingBeanImpl</depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Deployment Scanning                                                  -->
+   <!-- ==================================================================== -->
+
+   <!-- An mbean for hot deployment/undeployment of archives.
+   -->
+   <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
+      name="jboss.deployment:type=DeploymentScanner,flavor=URL">
+
+      <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
+
+      <!-- The URLComparator can be used to specify a deployment ordering
+           for deployments found in a scanned directory.  The class specified
+           must be an implementation of java.util.Comparator, it must be able
+           to compare two URL objects, and it must have a no-arg constructor.
+           Two deployment comparators are shipped with JBoss:
+             - org.jboss.deployment.DeploymentSorter 
+               Sorts by file extension, as follows:
+                 "sar", "service.xml", "rar", "jar", "war", "wsr", "ear", "zip", 
+                 "*"
+             - org.jboss.deployment.scanner.PrefixDeploymentSorter
+               If the name portion of the url begins with 1 or more digits, those 
+               digits are converted to an int (ignoring leading zeroes), and 
+               files are deployed in that order.  Files that do not start with 
+               any digits will be deployed last, and they will be sorted by
+               extension as above with DeploymentSorter.
+      -->
+      <attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
+      
+      <!-- The Filter specifies a java.io.FileFilter for scanned
+           directories.  Any file not accepted by this filter will not be
+           deployed.  The org.jboss.deployment.scanner.DeploymentFilter 
+           rejects the following patterns:
+               "#*", "%*", ",*", ".*", "_$*", "*#", "*$", "*%", "*.BAK", 
+               "*.old", "*.orig", "*.rej", "*.bak", "*,v", "*~", ".make.state", 
+               ".nse_depinfo", "CVS", "CVS.admin", "RCS", "RCSLOG", "SCCS", 
+               "TAGS", "core", "tags"
+      -->
+      <attribute name="Filter">org.jboss.deployment.scanner.DeploymentFilter</attribute>
+
+      <attribute name="ScanPeriod">5000</attribute>
+
+      <!-- URLs are comma seperated and unprefixed arguments are considered
+         file URLs and resolve relative to server home(JBOSS_DIST/server/default)
+         unless the given path is absolute. Any referenced directories cannot
+         be unpackaged archives, use the parent directory of the unpacked
+         archive.
+       -->
+      <attribute name="URLs">
+       deploy/
+      </attribute>
+      
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,696 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-service.xml 62434 2007-04-19 21:22:50Z dimitris at jboss.org $ -->
+
+<!-- ===================================================================== -->
+<!--  JBoss Server Configuration                                           -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- Load all jars from the JBOSS_DIST/server/<config>/lib directory. This
+     can be restricted to specific jars by specifying them in the archives
+     attribute.
+    -->
+   <classpath codebase="${jboss.server.lib.url:lib}" archives="*"/>
+
+   <!-- ==================================================================== -->
+   <!-- JSR-77 Single JBoss Server Management Domain                         -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.management.j2ee.LocalJBossServerDomain"
+      name="jboss.management.local:j2eeType=J2EEDomain,name=Manager">
+      <attribute name="MainDeployer">jboss.system:service=MainDeployer</attribute>
+      <attribute name="SARDeployer">jboss.system:service=ServiceDeployer</attribute>
+      <attribute name="EARDeployer">jboss.j2ee:service=EARDeployer</attribute>
+      <attribute name="EJBDeployer">jboss.ejb:service=EJBDeployer</attribute>
+      <attribute name="RARDeployer">jboss.jca:service=RARDeployer</attribute>
+      <attribute name="CMDeployer">jboss.jca:service=ConnectionFactoryDeployer</attribute>
+      <attribute name="WARDeployer">jboss.web:service=WebServer</attribute>
+      <attribute name="CARDeployer">jboss.j2ee:service=ClientDeployer</attribute>
+      <attribute name="MailService">jboss:service=Mail</attribute>
+      <attribute name="JMSService">jboss.mq:service=DestinationManager</attribute>
+      <attribute name="JNDIService">jboss:service=Naming</attribute>
+      <attribute name="JTAService">jboss:service=TransactionManager</attribute>
+      <attribute name="UserTransactionService">jboss:service=ClientUserTransaction</attribute>
+      <attribute name="RMI_IIOPService">jboss:service=CorbaORB</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- XMBean Persistence                                                   -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.system.pm.AttributePersistenceService"
+      name="jboss:service=AttributePersistenceService"
+      xmbean-dd="resource:xmdesc/AttributePersistenceService-xmbean.xml">
+      <!-- the AttributePersistenceService is persistent, itself -->
+
+      <!--
+      <attribute name="AttributePersistenceManagerClass">org.jboss.system.pm.XMLAttributePersistenceManager</attribute>
+      <attribute name="AttributePersistenceManagerConfig">
+         <data-directory>data/xmbean-attrs</data-directory>
+      </attribute>
+      <attribute name="ApmDestroyOnServiceStop">false</attribute>
+      <attribute name="VersionTag"></attribute>
+      -->
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Thread Pool                                                          -->
+   <!-- ==================================================================== -->
+   
+   <!-- A Thread pool service -->
+   <mbean code="org.jboss.util.threadpool.BasicThreadPool"
+      name="jboss.system:service=ThreadPool">
+      <attribute name="Name">JBoss System Threads</attribute>
+      <attribute name="ThreadGroupName">System Threads</attribute>
+      <!-- How long a thread will live without any tasks in MS -->
+      <attribute name="KeepAliveTime">60000</attribute>
+      <!-- The max number of threads in the pool -->
+      <attribute name="MaximumPoolSize">10</attribute>
+      <!-- The max number of tasks before the queue is full -->
+      <attribute name="MaximumQueueSize">1000</attribute>
+      <!-- The behavior of the pool when a task is added and the queue is full.
+      abort - a RuntimeException is thrown
+      run - the calling thread executes the task
+      wait - the calling thread blocks until the queue has room
+      discard - the task is silently discarded without being run
+      discardOldest - check to see if a task is about to complete and enque
+         the new task if possible, else run the task in the calling thread
+      -->
+      <attribute name="BlockingMode">run</attribute>
+   </mbean>
+
+   <!-- Preload all custom editors for VMs that don't use the thread
+        context class loader when searching for PropertyEditors. Uncomment
+        if your JDK 1.3.0 VM fails to find JBoss PropertyEditors.
+   <mbean code="org.jboss.varia.property.PropertyEditorManagerService"
+     name="jboss:type=Service,name=BootstrapEditors">
+     <attribute name="BootstrapEditors">
+       java.math.BigDecimal=org.jboss.util.propertyeditor.BigDecimalEditor
+       java.lang.Boolean=org.jboss.util.propertyeditor.BooleanEditor
+       java.lang.Class=org.jboss.util.propertyeditor.ClassEditor
+       java.util.Date=org.jboss.util.propertyeditor.DateEditor
+       java.io.File=org.jboss.util.propertyeditor.FileEditor
+       java.net.InetAddress=org.jboss.util.propertyeditor.InetAddressEditor
+       java.lang.Integer=org.jboss.util.propertyeditor.IntegerEditor
+       javax.management.ObjectName=org.jboss.mx.util.propertyeditor.ObjectNameEditor
+       java.util.Properties=org.jboss.util.propertyeditor.PropertiesEditor
+       [Ljava.lang.String;=org.jboss.util.propertyeditor.StringArrayEditor
+       java.net.URL=org.jboss.util.propertyeditor.URLEditor
+     </attribute>
+   </mbean>
+   -->
+
+   <!-- ==================================================================== -->
+   <!-- Log4j Initialization                                                 -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.logging.Log4jService"
+      name="jboss.system:type=Log4jService,service=Logging"
+	  xmbean-dd="resource:xmdesc/Log4jService-xmbean.xml">
+      <attribute name="ConfigurationURL">resource:jboss-log4j.xml</attribute>
+      <!-- Set the org.apache.log4j.helpers.LogLog.setQuiteMode. As of log4j1.2.8
+      this needs to be set to avoid a possible deadlock on exception at the
+      appender level. See bug#696819.
+      -->
+      <attribute name="Log4jQuietMode">true</attribute>
+      <!-- How frequently in seconds the ConfigurationURL is checked for changes -->
+      <attribute name="RefreshPeriod">60</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Active Alarm Table                                                   -->
+   <!-- ==================================================================== -->
+
+   <!--
+      | The ActiveAlarmTable service is a simple JMX notification listener
+      | that maintains a table with the received notifications (alarms).
+      | The alarms can be acknowledged through the jmx or the web console.
+      | Modify the SubscriptionList below to subscribe for any notification
+      | in the system and treat it as an alarm.
+      | The JMXNotificationAppender is a log4j Appender that can be configured
+      | in log4j.xml, that trasforms logging events to JMX notification so they
+      | can be fed back into the table. By storing the WARN or higher level logging
+      | events you can have a quick view of important system faults.
+      |
+      | The following attributes may be set:
+      |
+      | MaxTableSize (default 1000)
+      |  - set an upper limit to the number of stored alarms
+      | LogLevel (default DEBUG)
+      |  - the log level to use for received notification, can be set to NONE
+      | ServerId (default jboss)
+      |  - used to construct unique alarm ids
+      | SubscriptionList
+      |  - subscribe for the notifications to be stored in the table
+
+   <mbean code="org.jboss.monitor.services.ActiveAlarmTable"
+          name="jboss.monitor:service=ActiveAlarmTable">
+      <attribute name="SubscriptionList">
+         <subscription-list>
+            <mbean name="jboss.monitor:*">
+               <notification type="jboss.alarm"/>
+               <notification type="JBOSS_MONITOR_NOTIFICATION"/>
+            </mbean>
+            <mbean name="jboss.system:service=Logging,type=JMXNotificationAppender"/>
+         </subscription-list>
+      </attribute>
+   </mbean>
+   -->
+
+   <!-- ==================================================================== -->
+   <!-- JBoss RMI Classloader - only install when available                  -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.util.property.jmx.SystemPropertyClassValue"
+      name="jboss.rmi:type=RMIClassLoader">
+      <attribute name="Property">java.rmi.server.RMIClassLoaderSpi</attribute>
+      <attribute name="ClassName">org.jboss.system.JBossRMIClassLoader</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Service Binding                                                      -->
+   <!-- ==================================================================== -->
+
+   <!-- Automatically activated when generatting the clustering environment -->
+   <!-- @TESTSUITE_CLUSTER_CONFIG@ -->
+
+   <!--
+      | Binding service manager for port/host mapping. This is a sample
+      | config that demonstrates a JBoss instances with a server name 'ports-01'
+      | loading its bindings from an XML file using the ServicesStoreFactory
+      | implementation returned by the XMLServicesStoreFactory.
+      |
+      | ServerName: The unique name assigned to a JBoss server instance for
+      | lookup purposes. This allows a single ServicesStore to handle mulitiple
+      | JBoss servers.
+      |
+      | StoreURL: The URL string passed to org.jboss.services.binding.ServicesStore
+      | during initialization that specifies how to connect to the bindings store.
+      | StoreFactory: The org.jboss.services.binding.ServicesStoreFactory interface
+      | implementation to create to obtain the ServicesStore instance.
+
+   <mbean code="org.jboss.services.binding.ServiceBindingManager"
+     name="jboss.system:service=ServiceBindingManager">
+     <attribute name="ServerName">ports-01</attribute>
+     <attribute name="StoreURL">${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml</attribute>
+     <attribute name="StoreFactoryClassName">
+       org.jboss.services.binding.XMLServicesStoreFactory
+     </attribute>
+   </mbean>
+   -->
+
+   <!-- ==================================================================== -->
+   <!-- Class Loading                                                        -->
+   <!-- ==================================================================== -->
+
+   <!-- A mini webserver used for dynamic and class and resource loading --> 
+   <mbean code="org.jboss.web.WebService"
+      name="jboss:service=WebService">
+      <!-- The Bind address and Port -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>      
+      <attribute name="Port">8083</attribute>
+      <!--  The address to use for the host portion of the RMI codebase URL -->
+      <attribute name="Host">${java.rmi.server.hostname}</attribute>
+      <!-- Should non-EJB .class files be downloadable -->
+      <attribute name="DownloadServerClasses">true</attribute>
+      <!-- Should resources other than .class files be downloadable. Both
+         DownloadServerClasses and DownloadResources must be true for resources
+         to be downloadable. This is false by default because its generally a
+         bad idea as server configuration files that container security
+         information can be accessed.
+       -->
+      <attribute name="DownloadResources">false</attribute>
+
+      <!-- Use the default thread pool for dynamic class loading -->
+      <depends optional-attribute-name="ThreadPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- JNDI                                                                 -->
+   <!-- ==================================================================== -->
+
+   <!-- A simple mbean wrapper around the jndi Naming object. This
+   only handles an in memory instance. The NamingService uses this
+   as the JNDI store and exposes it remotely.
+   -->
+   <mbean code="org.jnp.server.NamingBeanImpl"
+      name="jboss:service=NamingBeanImpl"
+      xmbean-dd="resource:xmdesc/NamingBean-xmbean.xml">
+   </mbean>
+   
+   <mbean code="org.jboss.naming.NamingService"
+      name="jboss:service=Naming"
+      xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
+      <!-- The call by value mode. true if all lookups are unmarshalled using
+         the caller's TCL, false if in VM lookups return the value by reference.
+      -->
+      <attribute name="CallByValue">false</attribute>
+      <!-- The listening port for the bootstrap JNP service. Set this to -1
+         to run the NamingService without the JNP invoker listening port.
+      -->
+      <attribute name="Port">1099</attribute>
+      <!-- The bootstrap JNP server bind address. This also sets the default
+         RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>
+      <!-- The port of the RMI naming service, 0 == anonymous -->
+      <attribute name="RmiPort">1098</attribute>
+      <!-- The RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
+      <!-- The thread pool service used to control the bootstrap lookups -->
+      <depends optional-attribute-name="LookupPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+      <!-- An example of using the unifed invoker as the transport.
+         <depends optional-attribute-name="InvokerProxyFactory"
+         proxy-type="attribute">jboss:service=proxyFactory,type=unified,target=Naming</depends>
+      -->
+      <depends optional-attribute-name="Naming"
+         proxy-type="attribute">jboss:service=NamingBeanImpl</depends>
+   </mbean>
+   
+   <mbean code="org.jboss.naming.JNDIView"
+   	name="jboss:service=JNDIView"
+   	xmbean-dd="resource:xmdesc/JNDIView-xmbean.xml">
+   	<!-- The HANamingService service name -->
+   	<attribute name="HANamingService">jboss:service=HAJNDI</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Security                                                             -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.security.plugins.SecurityConfig"
+      name="jboss.security:service=SecurityConfig">
+      <attribute name="LoginConfig">jboss.security:service=XMLLoginConfig</attribute>
+   </mbean>
+   <mbean code="org.jboss.security.auth.login.XMLLoginConfig"
+      name="jboss.security:service=XMLLoginConfig">
+      <attribute name="ConfigResource">login-config.xml</attribute>
+   </mbean>
+
+   <!-- JAAS security manager and realm mapping -->
+   <mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
+      name="jboss.security:service=JaasSecurityManager">
+      <!-- A flag which indicates whether the SecurityAssociation server mode
+      is set on service creation. This is true by default since the
+      SecurityAssociation should be thread local for multi-threaded server
+      operation.
+      -->
+      <attribute name="ServerMode">true</attribute>
+      <attribute name="SecurityManagerClassName">org.jboss.security.plugins.JaasSecurityManager</attribute>
+      <attribute name="DefaultUnauthenticatedPrincipal">anonymous</attribute>
+      <!-- DefaultCacheTimeout: Specifies the default timed cache policy timeout
+      in seconds.
+      If you want to disable caching of security credentials, set this to 0 to
+      force authentication to occur every time. This has no affect if the
+      AuthenticationCacheJndiName has been changed from the default value.
+      -->
+      <attribute name="DefaultCacheTimeout">1800</attribute>
+      <!-- DefaultCacheResolution: Specifies the default timed cache policy
+      resolution in seconds. This controls the interval at which the cache
+      current timestamp is updated and should be less than the DefaultCacheTimeout
+      in order for the timeout to be meaningful. This has no affect if the
+      AuthenticationCacheJndiName has been changed from the default value.
+      -->
+      <attribute name="DefaultCacheResolution">60</attribute>
+      <!-- DeepCopySubjectMode: This set the copy mode of subjects done by the
+      security managers to be deep copies that makes copies of the subject
+      principals and credentials if they are cloneable. It should be set to
+      true if subject include mutable content that can be corrupted when
+      multiple threads have the same identity and cache flushes/logout clearing
+      the subject in one thread results in subject references affecting other
+      threads.
+      -->
+      <attribute name="DeepCopySubjectMode">false</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Transactions                                                         -->
+   <!-- ==================================================================== -->
+
+   <!-- The configurable Xid factory.  For use with Oracle, set pad to true -->
+   <mbean code="org.jboss.tm.XidFactory"
+      name="jboss:service=XidFactory">
+      <!--attribute name="Pad">true</attribute-->
+   </mbean>
+
+   <!--
+      | The fast in-memory transaction manager.
+      | Deprecated in JBossAS v4.2. Use JBossTS JTA instead.
+    - ->
+   <mbean code="org.jboss.tm.TransactionManagerService"
+      name="jboss:service=TransactionManager"
+      xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml">
+      <attribute name="TransactionTimeout">300</attribute>
+      <!- - set to false to disable transaction demarcation over IIOP - ->
+      <attribute name="GlobalIdsEnabled">true</attribute>
+      <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
+
+      <!- - Transaction Integrity Checking - ->
+      <!- - Force a rollback if another thread is associated with the transaction at commit - ->
+      <!- - <depends optional-attribute-name="TransactionIntegrityFactory"
+               proxy-type="org.jboss.tm.integrity.TransactionIntegrityFactory">
+         <mbean code="org.jboss.tm.integrity.FailIncompleteTransaction"
+                name="jboss:service=TransactionManager,plugin=TransactionIntegrity"/>
+      </depends> - ->
+   </mbean>
+   -->
+
+   <!-- JBoss Transactions JTA -->
+   <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService"
+      name="jboss:service=TransactionManager">
+      <attribute name="TransactionTimeout">300</attribute>
+      <attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute> 
+   </mbean>
+
+   <!--
+      | UserTransaction support.
+    -->
+   <mbean code="org.jboss.tm.usertx.server.ClientUserTransactionService"
+      name="jboss:service=ClientUserTransaction"
+      xmbean-dd="resource:xmdesc/ClientUserTransaction-xmbean.xml">
+      <depends>
+         <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
+            name="jboss:service=proxyFactory,target=ClientUserTransactionFactory">
+            <attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
+            <attribute name="TargetName">jboss:service=ClientUserTransaction</attribute>
+            <attribute name="JndiName">UserTransactionSessionFactory</attribute>
+            <attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory</attribute>
+            <attribute name="ClientInterceptors">
+               <interceptors>
+                  <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+                  <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+               </interceptors>
+            </attribute>
+            <depends>jboss:service=invoker,type=jrmp</depends>
+         </mbean>
+      </depends>
+      <depends optional-attribute-name="TxProxyName">
+         <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
+            name="jboss:service=proxyFactory,target=ClientUserTransaction">
+            <attribute name="InvokerName">jboss:service=invoker,type=jrmp</attribute>
+            <attribute name="TargetName">jboss:service=ClientUserTransaction</attribute>
+            <attribute name="JndiName"></attribute>
+            <attribute name="ExportedInterface">org.jboss.tm.usertx.interfaces.UserTransactionSession</attribute>
+            <attribute name="ClientInterceptors">
+               <interceptors>
+                  <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+                  <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+               </interceptors>
+            </attribute>
+            <depends>jboss:service=invoker,type=jrmp</depends>
+         </mbean>
+      </depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Invokers to the JMX node                                             -->
+   <!-- ==================================================================== -->
+
+   <!-- Unified invoker (based on remoting) -->
+   <mbean code="org.jboss.invocation.unified.server.UnifiedInvoker"
+      name="jboss:service=invoker,type=unified">
+      <!-- To turn on strict RMI exception propagation uncomment block below -->
+      <!-- This will cause the UnifiedInvokerProxy to wrap RemoteExceptions  -->
+      <!-- within a ServerException, otherwise will throw root exception     -->
+      <!-- (not RemoteException)                                             -->
+      <!-- <attribute name="StrictRMIException">true</attribute> -->
+      <depends>jboss:service=TransactionManager</depends>
+      <depends>jboss.remoting:service=Connector,transport=socket</depends>
+   </mbean>
+
+   <!-- RMI/JRMP invoker -->
+   <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
+      name="jboss:service=invoker,type=jrmp">
+      <attribute name="RMIObjectPort">4444</attribute>
+      <attribute name="ServerAddress">${jboss.bind.address}</attribute>
+      <!--
+      <attribute name="RMIClientSocketFactory">custom</attribute>
+      <attribute name="RMIServerSocketFactory">custom</attribute>
+      <attribute name="RMIServerSocketAddr">custom</attribute>
+      <attribute name="SecurityDomain">ssl-domain-name</attribute>
+      -->
+      <depends>jboss:service=TransactionManager</depends>
+   </mbean>
+
+   <mbean code="org.jboss.invocation.local.LocalInvoker"
+      name="jboss:service=invoker,type=local">
+
+      <depends>jboss:service=TransactionManager</depends>
+   </mbean>
+
+   <mbean code="org.jboss.invocation.pooled.server.PooledInvoker"
+      name="jboss:service=invoker,type=pooled">
+      <attribute name="NumAcceptThreads">1</attribute>
+      <attribute name="MaxPoolSize">300</attribute>
+      <attribute name="ClientMaxPoolSize">300</attribute>
+      <attribute name="SocketTimeout">60000</attribute>
+      <attribute name="ServerBindAddress">${jboss.bind.address}</attribute>
+      <attribute name="ServerBindPort">4445</attribute>
+      <attribute name="ClientConnectAddress">${jboss.bind.address}</attribute>
+      <attribute name="ClientConnectPort">0</attribute>
+      <attribute name="ClientRetryCount">1</attribute>
+      <attribute name="EnableTcpNoDelay">false</attribute>
+
+      <!-- Customized socket factory attributes
+      <attribute name="ClientSocketFactoryName">custom.client.factory</attribute>
+      <attribute name="ServerSocketFactoryName">custom.server.factory</attribute>
+      <attribute name="SslDomain">java:/jaas/pooledInvoker</attribute>
+      -->
+      <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Remoting services 						                                   -->
+   <!-- ==================================================================== -->
+
+   <!-- For detailed description of all these configuration attributes, please see the -->
+   <!-- JBoss Remoting User's Guide or wiki (http://labs.jboss.com/portal/jbossremoting/docs/guide/index.html) -->
+
+    <!-- The NetworkRegistry contains all the local and remote -->
+    <!-- servers that it recognizes.  The remote ones registered -->
+    <!-- are dependant on the detectors running and which domains -->
+    <!-- they are configured to identify.                         -->
+    <mbean code="org.jboss.remoting.network.NetworkRegistry"
+           name="jboss.remoting:service=NetworkRegistry"/>
+
+   <!-- The Connector is the core component of the remoting server service. -->
+   <!-- It binds the remoting invoker (transport protocol, callback configuration, -->
+   <!-- data marshalling, etc.) with the invocation handlers.  -->
+   <mbean code="org.jboss.remoting.transport.Connector"
+          name="jboss.remoting:service=Connector,transport=socket"
+          display-name="Socket transport Connector">
+
+       <!-- Can either just specify the InvokerLocator attribute and not the invoker element in the -->
+       <!-- Configuration attribute, or do the full invoker configuration in the in invoker element -->
+       <!-- of the Configuration attribute. -->
+
+       <!-- Remember that if you do use more than one param on the uri, will have to include as a CDATA, -->
+       <!-- otherwise, parser will complain. -->
+       <!-- <attribute name="InvokerLocator"><![CDATA[socket://${jboss.bind.address}:4446/?datatype=invocation]]></attribute> -->
+
+      <attribute name="Configuration">
+         <!-- Using the following <invoker> element instead of the InvokerLocator above because specific attributes needed. -->
+         <!-- If wanted to use any of the parameters below, can just add them as parameters to the url above if wanted use the InvokerLocator attribute. -->
+         <config>
+            <!-- Other than transport type and handler, none of these configurations are required (will just use defaults). -->
+            <invoker transport="socket">
+               <attribute name="dataType" isParam="true">invocation</attribute>
+               <attribute name="marshaller" isParam="true">org.jboss.invocation.unified.marshall.InvocationMarshaller</attribute>
+               <attribute name="unmarshaller" isParam="true">org.jboss.invocation.unified.marshall.InvocationUnMarshaller</attribute>
+               <!-- This will be port on which the marshall loader port runs on.  -->
+               <!-- <attribute name="loaderport" isParam="true">4447</attribute> -->
+               <!-- The following are specific to socket invoker -->
+               <!-- <attribute name="numAcceptThreads">1</attribute>-->
+               <!-- <attribute name="maxPoolSize">303</attribute>-->
+               <!-- <attribute name="clientMaxPoolSize" isParam="true">304</attribute>-->
+               <attribute name="socketTimeout" isParam="true">600000</attribute>
+               <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
+               <attribute name="serverBindPort">4446</attribute>
+               <!-- <attribute name="clientConnectAddress">216.23.33.2</attribute> -->
+               <!-- <attribute name="clientConnectPort">7777</attribute> -->
+               <attribute name="enableTcpNoDelay" isParam="true">true</attribute>
+               <!-- <attribute name="backlog">200</attribute>-->
+               <!-- The following is for callback configuration and is independant of invoker type -->
+               <!-- <attribute name="callbackMemCeiling">30</attribute>-->
+               <!-- indicates callback store by fully qualified class name -->
+               <!-- <attribute name="callbackStore">org.jboss.remoting.CallbackStore</attribute>-->
+               <!-- indicates callback store by object name -->
+               <!-- <attribute name="callbackStore">jboss.remoting:service=CallbackStore,type=Serializable</attribute> -->
+               <!-- config params for callback store.  if were declaring callback store via object name, -->
+               <!-- could have specified these config params there. -->
+               <!-- StoreFilePath indicates to which directory to write the callback objects. -->
+               <!-- The default value is the property value of 'jboss.server.data.dir' and if this is not set, -->
+               <!-- then will be 'data'. Will then append 'remoting' and the callback client's session id. -->
+               <!-- An example would be 'data\remoting\5c4o05l-9jijyx-e5b6xyph-1-e5b6xyph-2'. -->
+               <!-- <attribute name="StoreFilePath">callback</attribute>-->
+               <!-- StoreFileSuffix indicates the file suffix to use for the callback objects written to disk. -->
+               <!-- The default value for file suffix is 'ser'. -->
+               <!-- <attribute name="StoreFileSuffix">cst</attribute>-->
+            </invoker>
+
+            <!-- At least one handler is required by the connector.  If have more than one, must decalre -->
+            <!-- different subsystem values.  Otherwise, all invocations will be routed to the only one -->
+            <!-- that is declared. -->
+            <handlers>
+               <!-- can also specify handler by fully qualified classname -->
+               <handler subsystem="invoker">jboss:service=invoker,type=unified</handler>
+            </handlers>
+         </config>
+      </attribute>
+      <depends>jboss.remoting:service=NetworkRegistry</depends>
+   </mbean>
+
+
+   <!-- <mbean code="org.jboss.remoting.detection.jndi.JNDIDetector"-->
+   <!--      name="jboss.remoting:service=Detector,transport=jndi">-->
+   <!-- host to which the detector will connect to for the JNDI server. -->
+   <!-- <attribute name="Host">localhost</attribute>-->
+   <!-- port to which detector will connect to for the JNDI server. -->
+   <!-- <attribute name="Port">5555</attribute>-->
+   <!-- context factory string used when connecting to the JNDI server. -->
+   <!-- The default is org.jnp.interfaces.NamingContextFactory. -->
+   <!-- <attribute name="ContextFactory">org.acme.NamingContextFactory</attribute> -->
+   <!-- url package string to use when connecting to the JNDI server. -->
+   <!-- The default is org.jboss.naming:org.jnp.interfaces. -->
+   <!-- <attribute name="URLPackage">org.acme.naming</attribute> -->
+   <!-- Sets the number of detection iterations before manually pinging -->
+   <!-- remote server to make sure still alive. This is needed since remote server -->
+   <!-- could crash and yet still have an entry in the JNDI server, -->
+   <!-- thus making it appear that it is still there. The default value is 5. -->
+   <!-- <attribute name="CleanDetectionNumber">20</attribute>-->
+
+   <!-- Specifies the domains in which the detector will recognize -->
+   <!-- detections.  If servers are not configured to be in these -->
+   <!-- domains, they will not be added to NetworkRegistry. -->
+   <!--      <attribute name="Configuration">-->
+   <!--         <domains>-->
+   <!--            <domain>roxanne</domain>-->
+   <!--            <domain>sparky</domain>-->
+   <!--         </domains>-->
+   <!--      </attribute>-->
+   <!--   </mbean>-->
+
+
+   <!-- ==================================================================== -->
+   <!-- Monitoring and Management                                            -->
+   <!-- ==================================================================== -->
+
+   <!-- Uncomment to enable JMX monitoring of the bean cache
+   <mbean code="org.jboss.monitor.BeanCacheMonitor"
+          name="jboss.monitor:name=BeanCacheMonitor"/>
+   -->
+
+   <!-- Uncomment to enable JMX monitoring of the entity bean locking
+   <mbean code="org.jboss.monitor.EntityLockMonitor"
+          name="jboss.monitor:name=EntityLockMonitor"/>
+   -->
+
+   <!-- ==================================================================== -->
+   <!-- An MBean that is a registry for JDBC type-mapping metadata           -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary"
+      name="jboss.jdbc:service=metadata"/>
+
+   <!-- ==================================================================== -->
+   <!-- Deployment Scanning                                                  -->
+   <!-- ==================================================================== -->
+
+   <!-- An mbean for hot deployment/undeployment of archives.
+   -->
+   <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
+      name="jboss.deployment:type=DeploymentScanner,flavor=URL">
+
+      <!-- Uncomment (and comment/remove version below) to enable usage of the
+        DeploymentCache
+      <depends optional-attribute-name="Deployer">jboss.deployment:type=DeploymentCache</depends>
+      -->
+      <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
+
+      <!-- The URLComparator can be used to specify a deployment ordering
+           for deployments found in a scanned directory.  The class specified
+           must be an implementation of java.util.Comparator, it must be able
+           to compare two URL objects, and it must have a no-arg constructor.
+           Two deployment comparators are shipped with JBoss:
+             - org.jboss.deployment.DeploymentSorter
+               Sorts by file extension, as follows:
+                 "sar", "service.xml", "rar", "jar", "war", "wsr", "ear", "zip",
+                 "*"
+             - org.jboss.deployment.scanner.PrefixDeploymentSorter
+               If the name portion of the url begins with 1 or more digits, those
+               digits are converted to an int (ignoring leading zeroes), and
+               files are deployed in that order.  Files that do not start with
+               any digits will be deployed first, and they will be sorted by
+               extension as above with DeploymentSorter.
+      -->
+      <attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
+
+      <!--
+      <attribute name="URLComparator">org.jboss.deployment.scanner.PrefixDeploymentSorter</attribute>
+      -->
+
+      <!-- The FilterInstance specifies a URLLister.URLFilter for scanned
+           directories. This DeploymentFilter is initialized with the given
+           prefixes, suffixes and matches that define which URLs should be
+           ignored.
+      -->
+      <attribute name="FilterInstance"
+         attributeClass="org.jboss.deployment.scanner.DeploymentFilter"
+         serialDataType="javaBean">
+         <!-- Files starting with theses strings are ignored -->
+         <property name="prefixes">#,%,\,,.,_$</property>
+         <!-- Files ending with theses strings are ignored -->
+         <property name="suffixes">#,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh</property>
+         <!-- Files matching with theses strings are ignored -->
+         <property name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property>
+      </attribute>
+
+      <!-- Frequency in milliseconds to rescan the URLs for changes -->
+      <attribute name="ScanPeriod">5000</attribute>
+
+      <!-- A flag to disable the scans -->
+      <attribute name="ScanEnabled">true</attribute>
+
+      <!-- URLs are comma separated and resolve relative to the server home URL
+         unless the given path is absolute. If the URL ends in "/" it is
+         considered a collection and scanned, otherwise it is simply deployed;
+         this follows RFC2518 convention and allows discrimination between
+         collections and directories that are simply unpacked archives.
+
+         URLs may be local (file:) or remote (http:). Scanning is supported
+         for remote URLs but unpacked deployment units are not.
+
+         Example URLs:
+            deploy/
+                 scans ${jboss.server.url}/deploy/, which is local or remote
+                 depending on the URL used to boot the server
+            ${jboss.server.home}/deploy/
+                 scans ${jboss.server.home)/deploy, which is always local
+            file:/var/opt/myapp.ear
+                 deploy myapp.ear from a local location
+            file:/var/opt/apps/
+                 scans the specified directory
+            http://www.test.com/netboot/myapp.ear
+                 deploys myapp.ear from a remote location
+            http://www.test.com/netboot/apps/
+                 scans the specified WebDAV location
+       -->
+      <attribute name="URLs">
+         deploy/
+      </attribute>
+
+      <!-- Indicates if the scanner should recursively scan directories that
+      contain no "." in their names. This can be used to group applications
+      and services that must be deployed and that have the same
+      logical function in the same directory i.e.
+        deploy/JMX/
+        deploy/JMS/
+        ...
+      -->
+      <attribute name="RecursiveSearch">True</attribute>
+
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jbossjta-properties.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jbossjta-properties.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jbossjta-properties.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<transaction-service>
+    <properties depends="common" name="arjuna">
+        <!--
+        Transaction Reaper Timeout (default is 120000 ms).
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.coordinator.txReaperTimeout" value="120000"/>
+        <!--
+        Transaction Reaper Mode, can be: NORMAL or DYNAMIC (default is NORMAL).
+      -->
+        <property name="com.arjuna.ats.arjuna.coordinator.txReaperMode" value="DYNAMIC"/>
+        <!--
+        (default is NO)
+      -->
+        <property name="com.arjuna.ats.arjuna.coordinator.asyncCommit" value="NO"/>
+        <!--
+        (default is NO)
+      -->
+        <property name="com.arjuna.ats.arjuna.coordinator.asyncPrepare" value="NO"/>
+        <!--
+        (default is YES)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.coordinator.commitOnePhase" value="YES"/>
+        <!--
+        (default is defaultStore)
+      -->
+        <property name="com.arjuna.ats.arjuna.objectstore.localOSRoot" value="defaultStore"/>
+        <!--
+        default is under user.home - must be writeable!)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.objectstore.objectStoreDir" value="PutObjectStoreDirHere"/>
+        <!--
+        (default is ON)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.objectstore.objectStoreSync" value="ON"/>
+        <!--
+        (default is ShadowNoFileLockStore)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.objectstore.objectStoreType" value="ShadowNoFileLockStore"/>
+        <!--
+        (default is 255)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.objectstore.hashedDirectories" value="255"/>
+        <!--
+        (default is ON)
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.objectstore.transactionSync" value="ON"/>
+        <!--
+        (Must be unique across all Arjuna instances.)
+      -->
+        <property name="com.arjuna.ats.arjuna.xa.nodeIdentifier" value="1"/>
+        <!-- property
+        name="com.arjuna.ats.arjuna.coordinator.actionStore"
+		value="HashedActionStore"
+		value="JDBCActionStore"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.jdbcTxDbAccess"
+		value="JDBCAccess"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.objectStoreType"
+		value="ShadowNoFileLockStore"
+		value="JDBCStore"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.jdbcUserDbAccess"
+		value="JDBCAccess"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.jdbcPoolSizeInitial"
+		value="1"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.jdbcPoolSizeMaximum"
+		value="1"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.objectstore.jdbcPoolPutConnections"
+		value="false"
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.internal.arjuna.objectstore.cacheStore.size"
+		value=""
+      -->
+        <!-- property
+        name="com.arjuna.ats.arjuna.internal.arjuna.objectstore.cacheStore.period"
+		value=""
+      -->
+        <!--
+        The location for creating temporary files, e.g., Uids.
+        Default is under user.home.
+        IMPORTANT: make sure the directory is lockable, e.g., /tmp on Unix
+        may not be!
+      -->
+        <!--
+        <property
+          name="com.arjuna.ats.arjuna.common.varDir"
+          value="var"/>
+      -->
+    </properties>
+    <properties name="common">
+        <!-- CLF 2.0 properties -->
+        <property name="com.arjuna.common.util.logging.DebugLevel"
+            type="System" value="0x00000000"/>
+        <property name="com.arjuna.common.util.logging.FacilityLevel"
+            type="System" value="0xffffffff"/>
+        <property name="com.arjuna.common.util.logging.VisibilityLevel"
+            type="System" value="0xffffffff"/>
+        <property name="com.arjuna.common.util.logger" type="System" value="log4j"/>
+    </properties>
+    <properties depends="arjuna" name="txoj">
+        <!--
+        (default is LockStore of installation - must be writeable!)
+      -->
+        <!--
+        <property
+          name="com.arjuna.ats.txoj.lockstore.lockStoreDir"
+          value="LockStore"/>
+      -->
+        <!--
+        (default is BasicLockStore)
+      -->
+        <property name="com.arjuna.ats.txoj.lockstore.lockStoreType" value="BasicLockStore"/>
+        <!--
+        (default is NO)
+      -->
+        <property name="com.arjuna.ats.txoj.lockstore.multipleLockStore" value="NO"/>
+        <!--
+        (default is YES)
+      -->
+        <property name="com.arjuna.ats.txoj.lockstore.singleLockStore" value="YES"/>
+        <!--
+        (default is YES)
+      -->
+        <property
+            name="com.arjuna.ats.txoj.lockstore.allowNestedLocking" value="YES"/>
+    </properties>
+    <properties depends="arjuna" name="jta">
+        <!--
+        Support subtransactions in the JTA layer?
+        Default is NO.
+      -->
+        <property name="com.arjuna.ats.jta.supportSubtransactions" value="NO"/>
+        <property name="com.arjuna.ats.jta.jtaTMImplementation" value="com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple"/>
+        <!--
+			com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple
+			-->
+        <property name="com.arjuna.ats.jta.jtaUTImplementation" value="com.arjuna.ats.internal.jta.transaction.arjunacore.UserTransactionImple"/>
+        <!--
+			com.arjuna.ats.internal.jta.transaction.jts.UserTransactionImple
+			-->
+    </properties>
+    <properties depends="arjuna,txoj,jta" name="recoverymanager">
+        <!--
+        Properties used only by the RecoveryManager.
+      -->
+        <!--
+        Periodic recovery settings.
+        Time values in this section are in seconds.
+      -->
+        <!--
+        Interval in seconds between initiating the periodic recovery modules.
+        Default is 120 seconds.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.periodicRecoveryPeriod" value="120"/>
+        <!--
+        Interval in seconds between first and second pass of periodic recovery.
+        Default is 10 seconds.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.recoveryBackoffPeriod" value="10"/>
+        <!--
+        Periodic recovery modules to use.  Invoked in sort-order of names.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.recoveryExtension1" value="com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule"/>
+        <property
+            name="com.arjuna.ats.arjuna.recovery.recoveryExtension2" value="com.arjuna.ats.internal.txoj.recovery.TORecoveryModule"/>
+        <property
+            name="com.arjuna.ats.arjuna.recovery.recoveryExtension3" value="com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule"/>
+        <!--
+        Expired entry removal
+      -->
+        <!--
+        Expiry scanners to use (order of invocation is random).
+        Names must begin with "com.arjuna.ats.arjuna.recovery.expiryScanner"
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.expiryScannerTransactionStatusManager" value="com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner"/>
+        <!--
+        Interval, in hours, between running the expiry scanners.
+        This can be quite long. The absolute value determines the interval -
+        if the value is negative, the scan will NOT be run until after one
+        interval has elapsed. If positive the first scan will be immediately
+        after startup. Zero will prevent any scanning.
+        Default  = 12 = run immediately, then every 12 hours.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.expiryScanInterval" value="12"/>
+        <!--
+        Age, in hours, for removal of transaction status manager item.
+        This should be longer than any ts-using process will remain running.
+        Zero = Never removed.  Default is 12.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerExpiryTime" value="12"/>
+        <!--
+        Use this to fix the port on which the TransactionStatusManager listens,
+        The default behaviour is to use any free port.
+      -->
+        <property
+            name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerPort" value="0"/>
+    </properties>
+    <properties depends="jta" name="jdbc">
+        <!--
+           property name="com.arjuna.ats.jdbc.isolationLevel" value="TRANSACTION_SERIALIZABLE"/>
+        -->
+    </properties>
+</transaction-service>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jndi.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jndi.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/jndi.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+# DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING
+#
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/login-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/login-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/login-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,159 @@
+<?xml version='1.0'?>
+<!DOCTYPE policy PUBLIC
+      "-//JBoss//DTD JBOSS Security Config 3.0//EN"
+      "http://www.jboss.org/j2ee/dtd/security_config.dtd">
+
+<!-- The XML based JAAS login configuration read by the
+org.jboss.security.auth.login.XMLLoginConfig mbean. Add
+an application-policy element for each security domain.
+
+The outline of the application-policy is:
+<application-policy name="security-domain-name">
+  <authentication>
+    <login-module code="login.module1.class.name" flag="control_flag">
+      <module-option name = "option1-name">option1-value</module-option>
+      <module-option name = "option2-name">option2-value</module-option>
+      ...
+    </login-module>
+
+    <login-module code="login.module2.class.name" flag="control_flag">
+      ...
+    </login-module>
+    ...
+  </authentication>
+</application-policy>
+
+$Revision: 64598 $
+-->
+
+<policy>
+    <!-- Used by clients within the application server VM such as
+    mbeans and servlets that access EJBs.
+    -->
+    <application-policy name = "client-login">
+       <authentication>
+          <login-module code = "org.jboss.security.ClientLoginModule"
+             flag = "required">
+             <!-- Any existing security context will be restored on logout -->
+             <module-option name="restore-login-identity">true</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- Security domain for JBossMQ -->
+    <application-policy name = "jbossmq">
+       <authentication>
+          <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
+             flag = "required">
+             <module-option name = "unauthenticatedIdentity">guest</module-option>
+             <module-option name = "dsJndiName">java:/DefaultDS</module-option>
+             <module-option name = "principalsQuery">SELECT PASSWD FROM JMS_USERS WHERE USERID=?</module-option>
+             <module-option name = "rolesQuery">SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=?</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- Security domain for JBossMQ when using file-state-service.xml
+    <application-policy name = "jbossmq">
+       <authentication>
+          <login-module code = "org.jboss.mq.sm.file.DynamicLoginModule"
+             flag = "required">
+             <module-option name = "unauthenticatedIdentity">guest</module-option>
+             <module-option name = "sm.objectname">jboss.mq:service=StateManager</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+    -->
+
+    <!-- Security domains for testing new jca framework -->
+    <application-policy name = "HsqlDbRealm">
+       <authentication>
+          <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
+             flag = "required">
+             <module-option name = "principal">sa</module-option>
+             <module-option name = "userName">sa</module-option>
+             <module-option name = "password"></module-option>
+             <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <application-policy name = "JmsXARealm">
+       <authentication>
+          <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
+             flag = "required">
+             <module-option name = "principal">guest</module-option>
+             <module-option name = "userName">guest</module-option>
+             <module-option name = "password">guest</module-option>
+             <module-option name = "managedConnectionFactoryName">jboss.jca:service=TxCM,name=JmsXA</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- A template configuration for the jmx-console web application. This
+      defaults to the UsersRolesLoginModule the same as other and should be
+      changed to a stronger authentication mechanism as required.
+    -->
+    <application-policy name = "jmx-console">
+       <authentication>
+          <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+             flag = "required">
+           <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
+           <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!-- A template configuration for the web-console web application. This
+      defaults to the UsersRolesLoginModule the same as other and should be
+      changed to a stronger authentication mechanism as required.
+    -->
+    <application-policy name = "web-console">
+       <authentication>
+          <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+             flag = "required">
+             <module-option name="usersProperties">web-console-users.properties</module-option>
+             <module-option name="rolesProperties">web-console-roles.properties</module-option>
+          </login-module>
+       </authentication>
+    </application-policy>
+
+    <!--
+      A template configuration for the JBossWS security domain.
+      This defaults to the UsersRolesLoginModule the same as other and should be
+      changed to a stronger authentication mechanism as required.
+    -->
+    <application-policy name="JBossWS">
+      <authentication>
+        <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+          flag="required">
+          <module-option name="usersProperties">props/jbossws-users.properties</module-option>
+          <module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
+          <module-option name="unauthenticatedIdentity">anonymous</module-option>
+        </login-module>
+      </authentication>
+    </application-policy>
+
+    <!-- The default login configuration used by any security domain that
+    does not have a application-policy entry with a matching name
+    -->
+    <application-policy name = "other">
+       <!-- A simple server login module, which can be used when the number
+       of users is relatively small. It uses two properties files:
+       users.properties, which holds users (key) and their password (value).
+       roles.properties, which holds users (key) and a comma-separated list of
+       their roles (value).
+       The unauthenticatedIdentity property defines the name of the principal
+       that will be used when a null username and password are presented as is
+       the case for an unuathenticated web client or MDB. If you want to
+       allow such users to be authenticated add the property, e.g.,
+       unauthenticatedIdentity="nobody"
+       -->
+       <authentication>
+          <login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule"
+             flag = "required" />
+       </authentication>
+    </application-policy>
+
+</policy>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jbossws-roles.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jbossws-roles.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jbossws-roles.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample roles.properties file for use with the UsersRolesLoginModule
+kermit=friend
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jbossws-users.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jbossws-users.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jbossws-users.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample users.properties file for use with the UsersRolesLoginModule
+kermit=thefrog
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jmx-console-roles.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jmx-console-roles.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jmx-console-roles.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample roles.properties file for use with the UsersRolesLoginModule
+admin=JBossAdmin,HttpInvoker

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jmx-console-users.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jmx-console-users.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/props/jmx-console-users.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample users.properties file for use with the UsersRolesLoginModule
+admin=admin

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/standardjboss.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/standardjboss.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/standardjboss.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1216 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss PUBLIC
+   "-//JBoss//DTD JBOSS 4.0//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
+
+<!-- ===================================================================== -->
+<!--  Standard JBoss EJB Configurations                                    -->
+<!-- ===================================================================== -->
+<!-- $Id: standardjboss.xml 62053 2007-04-03 21:05:33Z alex.loubyansky at jboss.com $ -->
+
+<jboss>
+  <!--
+   The missing-method-permissions-excluded-mode is a boolean
+   that allows the deployer to globally indicate that all methods without a
+   method-permission element should be treated as excluded(= true and the default),
+   or that methods without a method-permission element should be treated as
+   unchecked(= false)
+  -->
+  <missing-method-permissions-excluded-mode>true</missing-method-permissions-excluded-mode>
+
+  <invoker-proxy-bindings>
+
+    <invoker-proxy-binding>
+      <name>entity-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unified</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+          <list-entity>
+            <interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </list-entity>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-entity-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unifiedha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+          <list-entity>
+            <interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </list-entity>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>stateless-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unified</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-stateless-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unifiedha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>stateful-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unified</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatefulSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-stateful-unified-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=unifiedha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatefulSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>entity-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+          <list-entity>
+            <interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </list-entity>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-entity-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+          <list-entity>
+            <interceptor>org.jboss.proxy.ejb.ListEntityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </list-entity>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>stateless-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-stateless-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>stateful-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatefulSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>clustered-stateful-rmi-invoker</name>
+      <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>
+      <proxy-factory-config>
+        <client-interceptors>
+          <home>
+            <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </home>
+          <bean>
+            <interceptor>org.jboss.proxy.ejb.StatefulSessionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+            <interceptor>org.jboss.proxy.ejb.SingleRetryInterceptor</interceptor>
+            <interceptor call-by-value="false">org.jboss.invocation.InvokerInterceptor</interceptor>
+            <interceptor call-by-value="true">org.jboss.invocation.MarshallingInvokerInterceptor</interceptor>
+          </bean>
+        </client-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+    
+    <invoker-proxy-binding>
+      <name>message-driven-bean</name>
+      <invoker-mbean>default</invoker-mbean>
+      <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
+      <proxy-factory-config>
+        <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
+        <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
+        <CreateJBossMQDestination>true</CreateJBossMQDestination>
+        <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
+        <MinimumSize>1</MinimumSize>
+        <MaximumSize>15</MaximumSize>
+        <KeepAliveMillis>30000</KeepAliveMillis>
+        <MaxMessages>1</MaxMessages>
+        <MDBConfig>
+          <ReconnectIntervalSec>10</ReconnectIntervalSec>
+          <DLQConfig>
+            <DestinationQueue>queue/DLQ</DestinationQueue>
+            <MaxTimesRedelivered>10</MaxTimesRedelivered>
+            <TimeToLive>0</TimeToLive>
+          </DLQConfig>
+        </MDBConfig>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <!-- Uncomment to use JMS message inflow from jmsra.rar
+    <invoker-proxy-binding>
+      <name>message-driven-bean</name>
+      <invoker-mbean>default</invoker-mbean>
+      <proxy-factory>org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory</proxy-factory>
+      <proxy-factory-config>
+        <activation-config>
+           <activation-config-property>
+              <activation-config-property-name>providerAdapterJNDI</activation-config-property-name>
+              <activation-config-property-value>DefaultJMSProvider</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>minSession</activation-config-property-name>
+              <activation-config-property-value>1</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>maxSession</activation-config-property-name>
+              <activation-config-property-value>15</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>keepAlive</activation-config-property-name>
+              <activation-config-property-value>60000</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>maxMessages</activation-config-property-name>
+              <activation-config-property-value>1</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>reconnectInterval</activation-config-property-name>
+              <activation-config-property-value>10</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>useDLQ</activation-config-property-name>
+              <activation-config-property-value>true</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQHandler</activation-config-property-name>
+              <activation-config-property-value>org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQJNDIName</activation-config-property-name>
+              <activation-config-property-value>queue/DLQ</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQMaxResent</activation-config-property-name>
+              <activation-config-property-value>10</activation-config-property-value>
+           </activation-config-property>
+        </activation-config>
+        <endpoint-interceptors>
+          <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+          <interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor>
+          <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+          <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+        </endpoint-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+    -->
+
+    <invoker-proxy-binding>
+      <name>singleton-message-driven-bean</name>
+      <invoker-mbean>default</invoker-mbean>
+      <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
+      <proxy-factory-config>
+        <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI>
+        <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
+        <CreateJBossMQDestination>true</CreateJBossMQDestination>
+        <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
+        <MinimumSize>1</MinimumSize>
+        <MaximumSize>1</MaximumSize>
+        <KeepAliveMillis>30000</KeepAliveMillis>
+        <MaxMessages>1</MaxMessages>
+        <MDBConfig>
+          <ReconnectIntervalSec>10</ReconnectIntervalSec>
+          <DLQConfig>
+            <DestinationQueue>queue/DLQ</DestinationQueue>
+            <MaxTimesRedelivered>10</MaxTimesRedelivered>
+            <TimeToLive>0</TimeToLive>
+          </DLQConfig>
+        </MDBConfig>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>message-inflow-driven-bean</name>
+      <invoker-mbean>default</invoker-mbean>
+      <proxy-factory>org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory</proxy-factory>
+      <proxy-factory-config>
+        <endpoint-interceptors>
+          <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+          <interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor>
+          <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+          <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+        </endpoint-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>iiop</name>
+      <invoker-mbean>jboss:service=invoker,type=iiop</invoker-mbean>
+      <proxy-factory>org.jboss.proxy.ejb.IORFactory</proxy-factory>
+      <proxy-factory-config>
+        <web-class-loader>org.jboss.iiop.WebCL</web-class-loader>
+        <poa>per-servant</poa>
+        <register-ejbs-in-jnp-context>true</register-ejbs-in-jnp-context>
+        <jnp-context>iiop</jnp-context>
+        <interface-repository-supported>false</interface-repository-supported>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+
+    <invoker-proxy-binding>
+      <name>jms-message-inflow-driven-bean</name>
+      <invoker-mbean>default</invoker-mbean>
+      <proxy-factory>org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory</proxy-factory>
+      <proxy-factory-config>
+        <activation-config>
+           <activation-config-property>
+              <activation-config-property-name>providerAdapterJNDI</activation-config-property-name>
+              <activation-config-property-value>DefaultJMSProvider</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>minSession</activation-config-property-name>
+              <activation-config-property-value>1</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>maxSession</activation-config-property-name>
+              <activation-config-property-value>15</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>keepAlive</activation-config-property-name>
+              <activation-config-property-value>60000</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>maxMessages</activation-config-property-name>
+              <activation-config-property-value>1</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>reconnectInterval</activation-config-property-name>
+              <activation-config-property-value>10</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>useDLQ</activation-config-property-name>
+              <activation-config-property-value>true</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQHandler</activation-config-property-name>
+              <activation-config-property-value>org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQJNDIName</activation-config-property-name>
+              <activation-config-property-value>queue/DLQ</activation-config-property-value>
+           </activation-config-property>
+           <activation-config-property>
+              <activation-config-property-name>DLQMaxResent</activation-config-property-name>
+              <activation-config-property-value>10</activation-config-property-value>
+           </activation-config-property>
+        </activation-config>
+        <endpoint-interceptors>
+          <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+          <interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor>
+          <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
+          <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+        </endpoint-interceptors>
+      </proxy-factory-config>
+    </invoker-proxy-binding>
+  </invoker-proxy-bindings>
+
+  <container-configurations>
+
+    <container-configuration>
+      <container-name>Standard CMP 2.x EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <call-ejb-store-on-clean>true</call-ejb-store-on-clean>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.InvalidableEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>B</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <!--
+         | This is like standard IPT but with global (cross-transactional) row cache behind,
+         | i.e. no locking in EJB layer + global persistence data cache
+      -->
+      <container-name>cmp2.x jdbc2 pm</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>true</insert-after-ejb-post-create>
+      <call-ejb-store-on-clean>true</call-ejb-store-on-clean>
+      <container-interceptors>
+         <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+         <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+         <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+         <interceptor>org.jboss.ejb.plugins.cmp.jdbc2.RelationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
+      <container-cache-conf>
+         <cache-policy-conf>
+            <min-capacity>500</min-capacity>
+            <max-capacity>10000</max-capacity>
+            <!-- uncomment to enable time-based eviction
+            <overager-period>300</overager-period>
+            <max-bean-age>600</max-bean-age> -->
+         </cache-policy-conf>
+         <cache-policy-conf-other>
+            <partitions>10</partitions>
+            <!-- uncomment to use JDBC java.sql.Statement.executeBatch()
+            <batch-commit-strategy/> -->
+            <!-- uncomment to enable cache invalidation <invalidable/> -->
+         </cache-policy-conf-other>
+      </container-cache-conf>
+      <container-pool-conf>
+         <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>C</commit-option> <!-- don't change, irrelevant, use container-cache-conf -->
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Clustered CMP 2.x EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>clustered-entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>B</commit-option>
+      <cluster-config>
+         <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
+      </cluster-config>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard CMP 2.x EntityBean with cache invalidation</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+        <interceptor>org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.InvalidableEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>A</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Instance Per Transaction CMP 2.x EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
+      <container-cache-conf/>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>C</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard CMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>A</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Clustered CMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>clustered-entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>A</commit-option>
+      <cluster-config>
+         <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
+      </cluster-config>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Instance Per Transaction CMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
+      <container-cache-conf/>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>C</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard Stateless SessionBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>stateless-unified-invoker</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
+      <instance-cache></instance-cache>
+      <persistence-manager></persistence-manager>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Clustered Stateless SessionBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>clustered-stateless-unified-invoker</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
+      <instance-cache></instance-cache>
+      <persistence-manager></persistence-manager>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <cluster-config>
+         <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
+      </cluster-config>
+    </container-configuration>
+
+
+    <container-configuration>
+      <container-name>Standard Stateful SessionBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>stateful-unified-invoker</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+      </container-interceptors>
+      <instance-cache>org.jboss.ejb.plugins.StatefulSessionInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager</persistence-manager>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <remover-period>1800</remover-period>
+          <max-bean-life>1800</max-bean-life>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Clustered Stateful SessionBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>clustered-stateful-unified-invoker</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.StatefulHASessionSynchronisationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-cache>org.jboss.ejb.plugins.StatefulHASessionInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.StatefulHASessionPersistenceManager</persistence-manager>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <remover-period>1800</remover-period>
+          <max-bean-life>1800</max-bean-life>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <cluster-config>
+         <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
+      </cluster-config>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard BMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>A</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Clustered BMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>clustered-entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CleanShutdownInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
+      <container-cache-conf>
+        <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
+        <cache-policy-conf>
+          <min-capacity>50</min-capacity>
+          <max-capacity>1000000</max-capacity>
+          <overager-period>300</overager-period>
+          <max-bean-age>600</max-bean-age>
+          <resizer-period>400</resizer-period>
+          <max-cache-miss-period>60</max-cache-miss-period>
+          <min-cache-miss-period>1</min-cache-miss-period>
+          <cache-load-factor>0.75</cache-load-factor>
+        </cache-policy-conf>
+      </container-cache-conf>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>A</commit-option>
+      <cluster-config>
+         <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
+      </cluster-config>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Instance Per Transaction BMP EntityBean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>entity-unified-invoker</invoker-proxy-binding-name>
+      <sync-on-commit-only>false</sync-on-commit-only>
+      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
+      <instance-cache>org.jboss.ejb.plugins.PerTxEntityInstanceCache</instance-cache>
+      <persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager>
+      <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
+      <container-cache-conf/>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+      <commit-option>C</commit-option>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard Message Driven Bean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>message-driven-bean</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
+      <instance-cache></instance-cache>
+      <persistence-manager></persistence-manager>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Singleton Message Driven Bean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>singleton-message-driven-bean</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
+      <instance-cache></instance-cache>
+      <persistence-manager></persistence-manager>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+    </container-configuration>
+
+    <container-configuration>
+      <container-name>Standard Message Inflow Driven Bean</container-name>
+      <call-logging>false</call-logging>
+      <invoker-proxy-binding-name>message-inflow-driven-bean</invoker-proxy-binding-name>
+      <container-interceptors>
+        <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
+        <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
+        <!-- CMT -->
+        <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <!-- BMT -->
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
+        <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
+        <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
+      </container-interceptors>
+      <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
+      <instance-cache></instance-cache>
+      <persistence-manager></persistence-manager>
+      <container-pool-conf>
+        <MaximumSize>100</MaximumSize>
+      </container-pool-conf>
+    </container-configuration>
+
+  </container-configurations>
+
+</jboss>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/standardjbosscmp-jdbc.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/standardjbosscmp-jdbc.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/standardjbosscmp-jdbc.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jbosscmp-jdbc PUBLIC
+   "-//JBoss//DTD JBOSSCMP-JDBC 4.0//EN"
+   "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Standard JBossCMP-JDBC Configuration                                 -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: standardjbosscmp-jdbc.xml 63355 2007-06-05 17:25:20Z rrajesh $ -->
+
+<jbosscmp-jdbc>
+
+   <defaults>
+      <datasource>java:/DefaultDS</datasource>
+      <!-- optional since 4.0 <datasource-mapping>Hypersonic SQL</datasource-mapping> -->
+
+      <create-table>true</create-table>
+      <remove-table>false</remove-table>
+      <read-only>false</read-only>
+      <read-time-out>300000</read-time-out>
+      <row-locking>false</row-locking>
+      <pk-constraint>true</pk-constraint>
+      <fk-constraint>false</fk-constraint>
+      <preferred-relation-mapping>foreign-key</preferred-relation-mapping>
+      <read-ahead>
+         <strategy>on-load</strategy>
+         <page-size>1000</page-size>
+         <eager-load-group>*</eager-load-group>
+      </read-ahead>
+      <list-cache-max>1000</list-cache-max>
+      <clean-read-ahead-on-load>false</clean-read-ahead-on-load>
+
+      <unknown-pk>
+         <key-generator-factory>UUIDKeyGeneratorFactory</key-generator-factory>
+         <unknown-pk-class>java.lang.String</unknown-pk-class>
+         <jdbc-type>VARCHAR</jdbc-type>
+         <sql-type>VARCHAR(32)</sql-type>
+      </unknown-pk>
+
+      <entity-command name="default"/>
+      <ql-compiler>org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler</ql-compiler>
+      <throw-runtime-exceptions>false</throw-runtime-exceptions>
+   </defaults>
+
+   <type-mappings>
+      <type-mapping>
+         <name>FirstSQL/J</name>
+         <row-locking-template/>
+         <pk-constraint-template>PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1 FROM ?2 FOR ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>char_length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>position(?1 IN ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>math.abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>math.sqrt(CAST(?1 AS DOUBLE))</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <!-- or <sql-type>VARCHAR(2147483500)</sql-type> -->
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>DECIMAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <!-- FirstSQL/J only supports directly serializable objects for classes declared with CREATE CLASS -->
+            <jdbc-type>LONGVARBINARY</jdbc-type>
+            <sql-type>VARCHAR(2147483500)</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Ingres</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 PRIMARY KEY (?3)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>TRUE</true-mapping>
+         <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>concat(?1,?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>left(?1,?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>locate(?1,?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <!-- change from bit to integer , 10.12.2002 heb -->
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>INT1</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INTEGER4</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT4</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT8</sql-type>
+         </mapping>
+<!--
+Mapping proposed by Computer Associates, but does not work with JBoss properly
+28.03.2003 hou
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>DECIMAL(24,6)</sql-type>
+         </mapping>
+-->
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>LONG VARCHAR</sql-type>
+         </mapping>
+      </type-mapping>
+     <type-mapping>
+      <name>McKoi</name>
+      <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+      <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+      <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+      <alias-header-prefix>t</alias-header-prefix>
+      <alias-header-suffix>_</alias-header-suffix>
+      <alias-max-length>32</alias-max-length>
+      <subquery-supported>true</subquery-supported>
+      <true-mapping>TRUE</true-mapping>
+      <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+      <mapping>
+         <java-type>java.lang.Boolean</java-type>
+         <jdbc-type>BIT</jdbc-type>
+         <sql-type>BOOLEAN</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Byte</java-type>
+         <jdbc-type>TINYINT</jdbc-type>
+         <sql-type>SMALLINT</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Short</java-type>
+         <jdbc-type>SMALLINT</jdbc-type>
+         <sql-type>SMALLINT</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Integer</java-type>
+         <jdbc-type>INTEGER</jdbc-type>
+         <sql-type>INTEGER</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Long</java-type>
+         <jdbc-type>BIGINT</jdbc-type>
+         <sql-type>BIGINT</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Float</java-type>
+         <jdbc-type>REAL</jdbc-type>
+         <sql-type>FLOAT</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Double</java-type>
+         <jdbc-type>DOUBLE</jdbc-type>
+         <sql-type>DOUBLE</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Character</java-type>
+         <jdbc-type>CHAR</jdbc-type>
+         <sql-type>CHAR</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.String</java-type>
+         <jdbc-type>VARCHAR</jdbc-type>
+         <sql-type>VARCHAR(64)</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.sql.Date</java-type>
+         <jdbc-type>DATE</jdbc-type>
+         <sql-type>DATE</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.sql.Time</java-type>
+         <jdbc-type>TIME</jdbc-type>
+         <sql-type>TIME</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.sql.Timestamp</java-type>
+         <jdbc-type>TIMESTAMP</jdbc-type>
+         <sql-type>TIMESTAMP</sql-type>
+      </mapping>
+      <mapping>
+         <java-type>java.lang.Object</java-type>
+         <jdbc-type>JAVA_OBJECT</jdbc-type>
+         <sql-type>JAVA_OBJECT</sql-type>
+      </mapping>
+     </type-mapping>
+
+      <type-mapping>
+         <name>Firebird</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>31</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMERIC(18,0) default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>FLOAT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <!-- The small default length is due to the 128 byte max index key size -->
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(64)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>BLOB</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>InterBase</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>31</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMERIC(18,0) default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>FLOAT default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION default 0</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(64)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>VARCHAR(2000)</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>DB2</name>
+         <!--
+         | This type-mapping applies to DB2 V7.2 and V8.0
+         -->         
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>18</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+		 <function-mapping>
+			 <function-name>locate</function-name>
+			 <function-sql>locate(CAST(?1 as VARCHAR(254)),
+				 CAST(?2 as VaRCHAR(254)),?3)</function-sql>
+		 </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+    <!--  DB2 does not appear to support columns of type "byte"
+    Regrettably, this means they'll be serialized.
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1) FOR BIT DATA</sql-type>
+         </mapping>
+    -->
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(254)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <!-- this one gives errors with DB2 V8.1
+         		and at least the NET driver
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>BLOB(2000)</sql-type>
+         </mapping>
+         -->
+      	<mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>VARBINARY</jdbc-type>
+            <sql-type>BLOB(2000)</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Derby</name>
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>18</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substr</function-name>
+            <function-sql>substr(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>locate(?2, ?1, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>DECIMAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+<!-- if someone knows the mapping for byte, please, let us know!
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+-->
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Oracle9i</name>
+         <!--
+         | This type-mapping applies both to Oracle 9i and Oracle 10g
+         | Make sure that you have the latest Oracle 10g version of ojdbc14.jar
+         -->
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>30</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substr(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>instr(?2, ?1, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>NUMBER(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>NUMBER(3)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <!-- <jdbc-type>SMALLINT</jdbc-type> this resulted in a ClassCastException -->
+            <sql-type>NUMBER(5)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>NUMBER(10)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMBER(19)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>NUMBER(38,7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>NUMBER(38,15)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>NUMBER(38,15)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR2(255)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP(3)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP(9)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+            <!--
+            | Change this from BLOB to RAW(n) if you know your
+            | serialized object will be <= n bytes and n <= 2000
+            -->
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Oracle8</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>30</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substr(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>instr(?2, ?1, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>NUMBER(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMBER(3)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMBER(5)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>NUMBER(10)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMBER(19)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>NUMBER(38,7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>NUMBER(38,15)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>NUMBER(38,15)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR2(255)</sql-type>
+         </mapping>
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+            <!--
+            | Change this from BLOB to RAW(n) if you know your
+            | serialized object will be <= n bytes and n <= 2000
+            -->
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Oracle7</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>30</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substr(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>instr(?2, ?1, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>NUMBER(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMBER(3)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMBER(5)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>NUMBER(10)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMBER(19)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>NUMBER(38,7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>NUMBER(38,15)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR2(255)</sql-type>
+         </mapping>
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>LONGVARBINARY</jdbc-type>
+            <sql-type>LONG RAW</sql-type>
+            <!--
+            | Change this from LONG RAW to RAW(n) if you know your
+            | serialized object will be <= n bytes and n <= 2000
+            | Oracle only permits one LONG type per table
+            -->
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Sybase</name>
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>30</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+         	<function-name>length</function-name>
+         	<function-sql>char_length(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BIT</sql-type>
+         </mapping>
+    <!-- Current Sybase JDBC drivers (jConnect 5.2) don't support
+    byte or short.  Unfortunately they'll be serialized.
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+    -->
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMERIC(38,0)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(255)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>SMALLDATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>IMAGE</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>PostgreSQL</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1</auto-increment-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>TRUE</true-mapping>
+         <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1 FROM ?2 FOR ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>(CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(CAST(?1 AS double precision))</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INT4</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT(7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>TEXT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP with time zone</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP with time zone</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMERIC</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>VARBINARY</jdbc-type>
+            <sql-type>BYTEA</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>PostgreSQL 8.0</name>
+         <!--
+         | This type-mapping applies to PostgreSQL V8.0 and V8.1
+         -->           
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1</auto-increment-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>TRUE</true-mapping>
+         <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1 FROM ?2 FOR ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>(CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(CAST(?1 AS double precision))</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BOOLEAN</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INT4</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT(7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>TEXT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMERIC</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>VARBINARY</jdbc-type>
+            <sql-type>BYTEA</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>PostgreSQL 7.2</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1</auto-increment-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>TRUE</true-mapping>
+         <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1 FROM ?2 FOR ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>(CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(CAST(?1 AS double precision))</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>INT2</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INT4</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT(7)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT8</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>TEXT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>NUMERIC</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>VARBINARY</jdbc-type>
+            <sql-type>BYTEA</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Hypersonic SQL</name>
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1 IDENTITY</auto-increment-template>
+         <add-column-template>ALTER TABLE ?1 ADD COLUMN ?2 ?3</add-column-template>
+         <drop-column-template>ALTER TABLE ?1 DROP COLUMN ?2</drop-column-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>(1=1)</true-mapping>
+         <false-mapping>(1=0)</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 || ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>SUBSTRING(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lcase(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>LENGTH(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>LOCATE(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>ABS(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>SQRT(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>ucase(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BIT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <!-- hsqldb only supports directly serializable objects for sql type OBJECT -->
+            <jdbc-type>VARBINARY</jdbc-type>
+            <sql-type>VARBINARY</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>DECIMAL</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>PointBase</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>TRUE</true-mapping>
+         <false-mapping>FALSE</false-mapping>
+
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>position(?1 IN ?2)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>SOLID</name>
+         <row-locking-template/>
+         <pk-constraint-template>PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BIT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>mySQL</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <!-- does not work for compound keys <fk-constraint-template>ALTER TABLE ?1 ADD INDEX ind_?3 (?3), ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+              <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         -->
+         <fk-constraint-template>ALTER TABLE ?1 ADD INDEX (?3), ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1 auto_increment</auto-increment-template>
+         <alter-column-template>ALTER TABLE ?1 MODIFY ?2 ?3</alter-column-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>false</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>concat(?1, ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1 FROM ?2 FOR ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>length(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>locate(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>LONGBLOB</sql-type>
+            <!--
+            | Change this from LONGBLOB to BLOB if you know your
+            | serialized object will be <= 2^16 bytes
+            -->
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+            <!--
+            | This type is problematical because mysql does not have any
+            | date/time types that store milliseconds. You should avoid it.
+            -->
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(250) BINARY</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>MS SQLSERVER</name>
+         <row-locking-template>SELECT ?1 FROM ?2 with (updlock) WHERE ?3 ORDER BY ?4</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1 IDENTITY</auto-increment-template>
+         <alter-column-template>ALTER TABLE ?1 ALTER COLUMN ?2 ?3</alter-column-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 + ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>len(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>charindex(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>DECIMAL(20)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>IMAGE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BIT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>MS SQLSERVER2000</name>
+         <!--
+         | This type-mapping applies both to MS SQLSERVER 2000 and MS SQLSERVER 2005
+         -->         
+         <row-locking-template>SELECT ?1 FROM ?2 with (xlock) WHERE ?3 ORDER BY ?4</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <auto-increment-template>?1 IDENTITY</auto-increment-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>concat</function-name>
+            <function-sql>(?1 + ?2)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>substring</function-name>
+            <function-sql>substring(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>lcase</function-name>
+            <function-sql>lower(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>length</function-name>
+            <function-sql>len(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>locate</function-name>
+            <function-sql>charindex(?1, ?2, ?3)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>abs</function-name>
+            <function-sql>abs(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>sqrt</function-name>
+            <function-sql>sqrt(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>ucase</function-name>
+            <function-sql>upper(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+         <function-mapping>
+            <function-name>mod</function-name>
+            <function-sql>(?1 % ?2)</function-sql>
+         </function-mapping>
+         
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>BIGINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>LONGVARBINARY</jdbc-type>
+            <sql-type>IMAGE</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <!--
+            | Note that you lose granularity here
+            | Use a numeric type and store milliseconds if you really need it
+            -->
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BIT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>DB2/400</name>
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>18</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+    <!-- Apparent DB2/400 doesn't handle Byte type either
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1) FOR BIT DATA</sql-type>
+         </mapping>
+    -->
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(5)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>VARCHAR(4096) FOR BIT DATA</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>SapDB</name>
+         <!-- SapDB 7.3 might require '... UPDATE OF ?1' in the row-locking-template -->
+         <!-- as is works with SapDB 7.4 -->
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD FOREIGN KEY ?2 (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>LONG BYTE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>CHAR BYTE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>DECIMAL(20)</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>MaxDB</name>
+         <row-locking-template>SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE</row-locking-template>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD FOREIGN KEY ?2 (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+              <auto-increment-template>?1</auto-increment-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>true</true-mapping>
+         <false-mapping>false</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>LONG BYTE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>CHAR BYTE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BOOLEAN</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>FLOAT</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>DECIMAL</jdbc-type>
+            <sql-type>DECIMAL(20)</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+         <name>Cloudscape</name>
+         <row-locking-template/>
+         <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>LONGVARCHAR</jdbc-type>
+            <sql-type>LONG VARCHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>BOOLEAN</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>TINYINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>LONGINT</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>REAL</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>LONGVARCHAR</jdbc-type>
+            <sql-type>LONG VARCHAR</sql-type>
+         </mapping>
+         <!-- NOTE: This alternative mapping has been suggested for cloudscape
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(256)</sql-type>
+         </mapping> -->
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>TIMESTAMP</sql-type>
+         </mapping>
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>JAVA_OBJECT</jdbc-type>
+            <sql-type>LONG VARBINARY</sql-type>
+         </mapping>
+      </type-mapping>
+
+
+      <type-mapping>
+         <name>InformixDB</name>
+         <row-locking-template>select ?1 from ?2 where ?3 order by ?4 for update</row-locking-template>
+         <pk-constraint-template>PRIMARY KEY (?2) CONSTRAINT ?1</pk-constraint-template>
+         <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT FOREIGN KEY (?3) REFERENCES ?4 (?5) CONSTRAINT ?2</fk-constraint-template>
+         <alias-header-prefix>t</alias-header-prefix>
+         <alias-header-suffix>_</alias-header-suffix>
+         <alias-max-length>32</alias-max-length>
+         <subquery-supported>true</subquery-supported>
+         <true-mapping>1</true-mapping>
+         <false-mapping>0</false-mapping>
+
+         <function-mapping>
+            <function-name>count</function-name>
+            <function-sql>count(?1)</function-sql>
+         </function-mapping>
+
+         <mapping>
+            <java-type>java.lang.Character</java-type>
+            <jdbc-type>CHAR</jdbc-type>
+            <sql-type>CHAR(1)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.String</java-type>
+            <jdbc-type>VARCHAR</jdbc-type>
+            <sql-type>VARCHAR(255,0)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.math.BigDecimal</java-type>
+            <jdbc-type>NUMERIC</jdbc-type>
+            <sql-type>DECIMAL</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Boolean</java-type>
+            <jdbc-type>BIT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Integer</java-type>
+            <jdbc-type>INTEGER</jdbc-type>
+            <sql-type>INTEGER</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Long</java-type>
+            <jdbc-type>BIGINT</jdbc-type>
+            <sql-type>NUMERIC(18,0)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Float</java-type>
+            <jdbc-type>REAL</jdbc-type>
+            <sql-type>FLOAT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Double</java-type>
+            <jdbc-type>DOUBLE</jdbc-type>
+            <sql-type>DOUBLE PRECISION</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Byte</java-type>
+            <jdbc-type>TINYINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Short</java-type>
+            <jdbc-type>SMALLINT</jdbc-type>
+            <sql-type>SMALLINT</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.util.Date</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME YEAR TO FRACTION(3)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.sql.Date</java-type>
+            <jdbc-type>DATE</jdbc-type>
+            <sql-type>DATE</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.sql.Time</java-type>
+            <jdbc-type>TIME</jdbc-type>
+            <sql-type>TIME</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.sql.Timestamp</java-type>
+            <jdbc-type>TIMESTAMP</jdbc-type>
+            <sql-type>DATETIME YEAR TO FRACTION(3)</sql-type>
+         </mapping>
+
+         <mapping>
+            <java-type>java.lang.Object</java-type>
+            <jdbc-type>BLOB</jdbc-type>
+            <sql-type>BLOB</sql-type>
+         </mapping>
+      </type-mapping>
+
+      <type-mapping>
+          <name>Mimer SQL</name>
+          <row-locking-template/>
+          <pk-constraint-template>CONSTRAINT ?1 PRIMARY KEY (?2)</pk-constraint-template>
+          <fk-constraint-template>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)</fk-constraint-template>
+          <alias-header-prefix>t</alias-header-prefix>
+          <alias-header-suffix>_</alias-header-suffix>
+          <alias-max-length>32</alias-max-length>
+          <subquery-supported>true</subquery-supported>
+          <true-mapping>1</true-mapping>
+          <false-mapping>0</false-mapping>
+
+          <mapping>
+             <java-type>java.lang.Boolean</java-type>
+             <jdbc-type>BIT</jdbc-type>
+             <sql-type>SMALLINT</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Byte</java-type>
+             <jdbc-type>TINYINT</jdbc-type>
+             <sql-type>SMALLINT</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Short</java-type>
+             <jdbc-type>SMALLINT</jdbc-type>
+             <sql-type>SMALLINT</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Integer</java-type>
+             <jdbc-type>INTEGER</jdbc-type>
+             <sql-type>INTEGER</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Long</java-type>
+             <jdbc-type>BIGINT</jdbc-type>
+             <sql-type>BIGINT</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Float</java-type>
+             <jdbc-type>REAL</jdbc-type>
+             <sql-type>REAL</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Double</java-type>
+             <jdbc-type>DOUBLE</jdbc-type>
+             <sql-type>DOUBLE PRECISION</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Character</java-type>
+             <jdbc-type>CHAR</jdbc-type>
+             <sql-type>CHAR</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.String</java-type>
+             <jdbc-type>VARCHAR</jdbc-type>
+             <sql-type>VARCHAR(5000)</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.sql.Date</java-type>
+             <jdbc-type>DATE</jdbc-type>
+             <sql-type>DATE</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.sql.Time</java-type>
+             <jdbc-type>TIME</jdbc-type>
+             <sql-type>TIME</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.sql.Timestamp</java-type>
+             <jdbc-type>TIMESTAMP</jdbc-type>
+             <sql-type>TIMESTAMP</sql-type>
+          </mapping>
+
+          <mapping>
+             <java-type>java.lang.Object</java-type>
+             <jdbc-type>JAVA_OBJECT</jdbc-type>
+             <sql-type>VARBINARY(5000)</sql-type>
+          </mapping>
+       </type-mapping>
+   </type-mappings>
+
+   <entity-commands>
+      <!-- default command; doesn't support unknown-pk -->
+      <entity-command name="default"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand"/>
+
+      <!-- variation on default that skips select before insert -->
+      <entity-command name="no-select-before-insert"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand">
+         <attribute name="SQLExceptionProcessor">jboss.jdbc:service=SQLExceptionProcessor</attribute>
+      </entity-command>
+
+      <!-- fetches next key value with the specified sql statement -->
+      <entity-command name="pk-sql"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCPkSqlCreateCommand">
+         <!-- change to define SQL used to obtain key prior to insert -->
+         <attribute name="pk-sql">SELECT CURRENT_TIMESTAMP</attribute>
+      </entity-command>
+
+      <!-- this command requires auto-increment element for unknown-pk -->
+      <entity-command name="mysql-get-generated-keys"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand"/>
+
+      <!-- this command requires the specified sequence to have been created -->
+      <entity-command name="oracle-sequence"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCOracleCreateCommand">
+         <attribute name="sequence">TEST_SEQUENCE</attribute>
+      </entity-command>
+
+      <!-- this command makes the use of a specific sequence for each table -->
+      <entity-command name="oracle-table-sequence"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCOracleSequenceCreateCommand">
+         <attribute name="sequence_name">%%t_seq</attribute>
+      </entity-command>
+
+      <!-- retrieves generated key of the record inserted into hsql db -->
+      <entity-command name="hsqldb-fetch-key"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCHsqldbCreateCommand">
+         <!-- uncomment to change SQL statement used to obtain identity
+         <attribute name="pk-sql">CALL IDENTITY()</attribute>
+         -->
+      </entity-command>
+
+      <!-- retrieves generated key of the record inserted into sybase db -->
+      <entity-command name="sybase-fetch-key"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSybaseCreateCommand"/>
+
+      <!-- retrieves generated key of the record inserted into SQLServer db -->
+      <entity-command name="mssql-fetch-key"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand">
+         <!-- uncomment for versions prior to SQL Server 2000
+         <attribute name="pk-sql">SELECT @@IDENTITY</attribute>
+         -->
+      </entity-command>
+
+      <!-- retrieves serial value of the record inserted into informix db -->
+      <entity-command name="informix-serial"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCInformixCreateCommand">
+         <!-- uncomment to use with SERIAL8 column
+         <attribute name="method">getSerial8</attribute>
+         -->
+      </entity-command>
+
+      <!-- retrieves the currval of the the sequence associated with a PostgreSQL SERIAL column -->
+      <entity-command name="postgresql-fetch-seq"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCPostgreSQLCreateCommand">
+         <!-- uncomment to change the name of the sequence; default is ${table}_${pkColumn}_seq
+         <attribute name="sequence"></attribute>
+         -->
+      </entity-command>
+
+      <!-- uses key generator to fetch the next key value -->
+      <entity-command name="key-generator"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCKeyGeneratorCreateCommand">
+         <attribute name="key-generator-factory">UUIDKeyGeneratorFactory</attribute>
+      </entity-command>
+
+      <!-- uses JDBC 3.0 getGeneratedKeys() method -->
+      <entity-command name="get-generated-keys"
+                      class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBC30GeneratedKeysCreateCommand"/>
+
+      <!-- pk-sql for jdbc2 pm -->
+      <entity-command name="jdbc2pm-pk-sql"
+                      class="org.jboss.ejb.plugins.cmp.jdbc2.PkSqlCreateCommand">
+         <!-- change to define SQL used to obtain key prior to insert -->
+         <attribute name="pk-sql">SELECT CURRENT_TIMESTAMP</attribute>
+      </entity-command>
+
+      <!-- retrieves generated key of the record inserted into hsql db for jdbc2 pm -->
+      <entity-command name="jdbc2pm-hsqldb-fetch-key"
+                      class="org.jboss.ejb.plugins.cmp.jdbc2.keygen.HsqldbCreateCommand">
+         <!-- uncomment to change SQL statement used to obtain identity
+         <attribute name="pk-sql">CALL IDENTITY()</attribute>
+         -->
+      </entity-command>
+
+      <!-- retrieves the currval of the the sequence associated with a PostgreSQL SERIAL column for jdbc2 pm -->
+      <entity-command name="jdbc2pm-postgresql-fetch-seq"
+                      class="org.jboss.ejb.plugins.cmp.jdbc2.keygen.PostgreSQLCreateCommand">
+         <!-- uncomment to change the name of the sequence; default is ${table}_${pkColumn}_seq
+         <attribute name="sequence"></attribute>
+         -->
+      </entity-command>
+   </entity-commands>
+
+   <!-- reserved words that should not be used as table names -->
+   <!-- JBoss will escape them by prepending a 'X' -->
+   <reserved-words>
+      	<word>alias</word>   	
+      	<word>alter</word>
+      	<word>between</word>
+      	<word>char</word>      	
+      	<word>column</word>      	
+      	<word>commit</word>
+      	<word>create</word>
+      	<word>date</word>
+      	<word>default</word>
+      	<word>delete</word>
+      	<word>drop</word>
+      	<word>file</word>
+      	<word>from</word>
+      	<word>grant</word>
+      	<word>group</word>
+      	<word>index</word>
+      	<word>integer</word>
+      	<word>join</word>
+      	<word>number</word>
+      	<word>on</word>
+      	<word>order</word>
+      	<word>primary</word>
+      	<word>public</word>
+      	<word>revoke</word>
+      	<word>rollback</word>
+      	<word>row</word>
+      	<word>select</word>
+      	<word>set</word>
+      	<word>session</word>
+      	<word>size</word>      	
+      	<word>table</word>
+      	<word>trigger</word>
+      	<word>update</word>
+      	<word>unique</word>
+      	<word>user</word>
+      	<word>varchar</word>
+      	<word>view</word>
+    </reserved-words>
+</jbosscmp-jdbc>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/AttributePersistenceService-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/AttributePersistenceService-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/AttributePersistenceService-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+
+<!-- $Id: AttributePersistenceService-xmbean.xml 23167 2004-08-23 16:57:19Z andd $ -->
+
+<mbean>
+   <!-- MBean Info -->
+   <description>XMBean Attribute Persistence Service</description>
+   <descriptors>
+      <persistence persistPolicy="OnUpdate"
+                   persistLocation="${jboss.server.data.dir}/xmbean-attrs"
+                   persistName="AttributePersistenceService.ser"/>
+      <persistence-manager value="org.jboss.mx.persistence.ObjectStreamPersistenceManager"/>
+   </descriptors>
+   <class>org.jboss.system.pm.AttributePersistenceService</class>
+   
+   <!-- Attributes -->
+   <attribute access="read-write" getMethod="getApmDestroyOnServiceStop" setMethod="setApmDestroyOnServiceStop">
+      <description>Specifies whether to call destroy() on the AttributePersistenceManager implementation, upon service stop</description>
+      <name>ApmDestroyOnServiceStop</name>
+      <type>boolean</type>
+      <descriptors>
+        <descriptor name="persistPolicy" value="Never"/>
+      </descriptors>
+   </attribute>
+   
+   <attribute access="read-write" getMethod="getAttributePersistenceManagerClass" setMethod="setAttributePersistenceManagerClass">
+      <description>The actual AttributePersistenceManager implementation</description>
+      <name>AttributePersistenceManagerClass</name>
+      <type>java.lang.String</type>
+      <descriptors>
+        <descriptor name="persistPolicy" value="Never"/>
+      </descriptors>
+   </attribute>
+   
+   <attribute access="read-write" getMethod="getAttributePersistenceManagerConfig" setMethod="setAttributePersistenceManagerConfig">
+      <description>The XML configuration that is passed to the AttributePersistenceManager implementation</description>
+      <name>AttributePersistenceManagerConfig</name>
+      <type>org.w3c.dom.Element</type>
+      <descriptors>
+        <descriptor name="persistPolicy" value="Never"/>
+      </descriptors>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getVersionTag" setMethod="setVersionTag">
+      <description>The version tag to use for stored/loaded Attribute data</description>
+      <name>VersionTag</name>
+      <type>java.lang.String</type>
+      <descriptors>
+        <descriptor name="persistPolicy" value="OnUpdate"/>
+      </descriptors>
+   </attribute>
+   
+   &defaultAttributes;
+   
+   <!-- Operations -->       
+   <operation>
+      <description>Factory method returning the active AttributePersistenceManager implementation, for internal usage</description>
+      <name>apmCreate</name>
+      <return-type>org.jboss.mx.persistence.AttributePersistenceManager</return-type>
+   </operation>
+   
+   <operation>
+      <description>Delegated to the active APM returns true when a persisted image with this id exists</description>
+      <name>apmExists</name>
+      <parameter>
+         <description>The id of the persisted attribute image</description>
+         <name>id</name>
+         <type>java.lang.String</type>
+      </parameter>           
+      <return-type>boolean</return-type>
+   </operation>
+   
+   <operation>
+      <description>Delegated to the active APM removes the specified persisted attribute image</description>
+      <name>apmRemove</name>
+      <parameter>
+         <description>The id of the persisted attribute image</description>
+         <name>id</name>
+         <type>java.lang.String</type>
+      </parameter>             
+      <return-type>void</return-type>
+   </operation>
+   
+   <operation>
+      <description>Delegated to the active APM removes the persisted attribute images</description>
+      <name>apmRemoveAll</name>
+      <return-type>void</return-type>
+   </operation>
+   
+   <operation>
+      <description>Delegated to the active APM it returns a list with the ids of all persisted attribute images</description>
+      <name>apmListAll</name>
+      <return-type>[Ljava.lang.String;</return-type>
+   </operation>
+
+   <operation>
+      <description>Delegated to the active APM it returns a single string with the ids of all persisted attribute images</description>
+      <name>apmListAllAsString</name>
+      <return-type>java.lang.String</return-type>
+   </operation>
+   
+   &defaultOperations;
+   			
+</mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/ClientUserTransaction-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/ClientUserTransaction-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/ClientUserTransaction-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+<!-- $Id: ClientUserTransaction-xmbean.xml 18262 2003-12-20 21:12:07Z pilhuhn $ -->
+<mbean>
+	 <description>ClientUserTransaction Service.</description>
+	 <class>org.jboss.tm.usertx.server.ClientUserTransactionService</class>
+	 &defaultAttributes;
+	 <attribute access="write-only" setMethod="setTxProxyName">
+	 	<description>Set the name of the proxy factory service used for the UserTransactionSession</description>
+	 	<name>TxProxyName</name>
+	 	<type>javax.management.ObjectName</type>
+	 </attribute>
+	 	
+	 <operation>
+		 <description>Expose UserTransactionSession and UserTransactionSessionFactory interfaces via JMX to invokers.</description>
+		 <name>invoke</name>
+		 <parameter>
+			 <description>A pointer to the invocation object</description>
+			 <name>invocation</name>
+			 <type>org.jboss.invocation.Invocation</type>
+		 </parameter>
+		 <return-type>java.lang.Object</return-type>
+	 </operation>
+
+	 &defaultOperations;   			
+ </mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/JNDIView-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/JNDIView-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/JNDIView-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+<!-- The JNDIView service XMBean
+$Id: JNDIView-xmbean.xml 38992 2005-12-13 15:29:35Z jerrygauth $
+-->
+<mbean>
+	 <description>JNDIView Service. List deployed application java:comp namespaces, 
+		 the java: namespace as well as the global InitialContext JNDI namespace.
+	 </description>
+	 <class>org.jboss.naming.JNDIView</class>
+	 &defaultAttributes;
+	 <attribute access="read-write" getMethod="getHANamingService" setMethod="setHANamingService">
+          <description>The HANamingService service name</description>
+          <name>HANamingService</name>
+          <type>java.lang.String</type>
+       </attribute>
+	 <operation>
+		 <description>Output JNDI info as text</description>
+		 <name>list</name>
+		 <parameter>
+			 <description>If true, list the class of each object in addition to its name</description>
+			 <name>verbose</name>
+			 <type>boolean</type>
+		 </parameter>
+		 <return-type>java.lang.String</return-type>
+	 </operation>
+	 <operation>
+		 <description>Output JNDI info in XML format</description>
+		 <name>listXML</name>
+		 <return-type>java.lang.String</return-type>
+	 </operation>
+	 &defaultOperations;   			
+ </mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/Log4jService-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/Log4jService-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/Log4jService-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd" [
+	<!ATTLIST interceptor
+	proxyName CDATA #IMPLIED
+>
+]>
+<!-- The Log4JService service XMBean
+$Id: Log4jService-xmbean.xml 28573 2005-02-11 13:15:54Z pilhuhn $
+-->
+<mbean>
+	<description>
+	This MBean allows to get and set Log4j specific options.
+See also resource:log4j.xml
+   </description>
+	<class>org.jboss.logging.Log4jService</class>
+	<constructor>
+		<description>The default constructor</description>
+		<name>Log4jService</name>
+	</constructor>
+   
+   &defaultAttributes;
+
+   <attribute access="read-write" getMethod="getConfigurationURL" setMethod="setConfigurationURL">
+		<description>The URL of the log4j.xml config file.</description>
+		<name>ConfigurationURL</name>
+		<type>java.net.URL</type>
+	</attribute>
+	<attribute access="read-write" getMethod="getCatchSystemErr" setMethod="setCatchSystemErr">
+		<description>Should data writen to standard error be caught and integrated into the log output.</description>
+		<name>CatchSystemErr</name>
+		<type>boolean</type>
+	</attribute>
+	<attribute access="read-write" getMethod="getCatchSystemOut" setMethod="setCatchSystemOut">
+		<description>Should data writen to standard output be caught and integrated into the log output.</description>
+		<name>CatchSystemOut</name>
+		<type>boolean</type>
+	</attribute>
+	<attribute access="read-write" getMethod="getLog4jQuietMode" setMethod="setLog4jQuietMode">
+		<description>Sets the log4j quite mode. For log4j 1.2.8 this must stay on true.</description>
+		<name>Log4jQuietMode</name>
+		<type>boolean</type>
+	</attribute>
+	<attribute access="read-write" getMethod="getRefreshPeriod" setMethod="setRefreshPeriod">
+		<description>The time in seconds between checking for new config.</description>
+		<name>RefreshPeriod</name>
+		<type>int</type>
+	</attribute>
+	<!-- Operations -->
+	<operation>
+		<description>Displays the log level of a given logger.</description>
+		<name>getLoggerLevel</name>
+		<parameter>
+			<description>The name of the logger to display.</description>
+			<name>logger</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<return-type>java.lang.String</return-type>
+	</operation>
+	<operation>
+		<description>Sets the log level for a given logger.</description>
+		<name>setLoggerLevel</name>
+		<parameter>
+			<description>The name of the logger to set.</description>
+			<name>logger</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<parameter>
+			<description>The log level to set.</description>
+			<name>level</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<return-type>void</return-type>
+	</operation>
+	<operation>
+		<description>Sets the levels of each logger specified by the given comma
+    seperated list of logger names.</description>
+		<name>setLoggerLevels</name>
+		<parameter>
+			<description>The list of loggers</description>
+			<name>loggers</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<parameter>
+			<description>The log level to set</description>
+			<name>level</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<return-type>void</return-type>
+	</operation>
+	<operation>
+		<description>Force the logging system to reconfigure.</description>
+		<name>reconfigure</name>
+		<return-type>void</return-type>
+	</operation>
+	<operation>
+		<description>Force the logging system to reconfigure with the given URL.</description>
+		<name>reconfigure</name>
+		<parameter>
+			<description>The url for the new configuration.</description>
+			<name>url</name>
+			<type>java.lang.String</type>
+		</parameter>
+		<return-type>void</return-type>
+	</operation>
+
+
+   &defaultOperations;   			
+
+</mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/NamingBean-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/NamingBean-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/NamingBean-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+
+<!-- The JNDI Naming XMBean
+   $Id: NamingBean-xmbean.xml 60240 2007-02-03 18:29:53Z scott.stark at jboss.org $
+-->
+<mbean>
+   <description>The JNDI pojo bean</description>
+
+   <class>org.jnp.server.NamingBeanImpl</class>
+   
+   <constructor>
+       <description>The default constructor</description>
+       <name>NamingBeanImpl</name>
+   </constructor>
+   
+   <attribute access="read-only" getMethod="getNamingInstance">
+       <description>The NamingInstance</description>
+       <name>NamingInstance</name>
+       <type>org.jnp.interfaces.Naming</type>
+   </attribute>
+   
+   <!-- Operations -->
+   <operation>
+       <description>The start lifecycle op</description>
+       <name>start</name>
+       <return-type>void</return-type>
+   </operation>
+   <operation>
+       <description>The stop lifecycle op</description>
+       <name>stop</name>
+       <return-type>void</return-type>
+   </operation>
+   
+</mbean>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/NamingService-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/NamingService-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/NamingService-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd"
+[
+   <!ATTLIST interceptor proxyName CDATA #IMPLIED>
+]>
+
+<!-- The JNDI Naming service XMBean
+$Id: NamingService-xmbean.xml 60231 2007-02-03 08:00:43Z scott.stark at jboss.org $
+-->
+<mbean>
+   <description>The standard JBoss JNDI naming server with a custom
+      ProxyFactoryInterceptor interceptor that does replacement of NamingContext
+      objects with the detached invoker proxy.
+   </description>
+
+   <descriptors>
+      <interceptors>
+         <!-- Uncomment to enable NamingContext replacement by the detached
+         invoker proxy. You need to set the proxyName attribute correctly.
+         <interceptor code="org.jboss.naming.interceptors.ProxyFactoryInterceptor"
+            proxyName="jboss:service=proxyFactory,type=pooled,target=Naming"/>
+         -->
+         <interceptor code="org.jboss.mx.interceptor.PersistenceInterceptor2" />
+         <interceptor code="org.jboss.mx.interceptor.ModelMBeanInterceptor" />
+         <interceptor code="org.jboss.mx.interceptor.ObjectReferenceInterceptor" />
+      </interceptors>
+   </descriptors>
+
+   <class>org.jboss.naming.NamingService</class>
+
+   <constructor>
+      <description>The default constructor</description>
+      <name>NamingService</name>
+   </constructor>
+   
+   &defaultAttributes;
+
+   <attribute access="read-only" getMethod="getMethodMap">
+      <name>MethodMap</name>
+      <type>java.util.Map</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getNaming" setMethod="setNaming">
+      <description>Underlying Naming bean instance</description>
+      <name>Naming</name>
+      <type>org.jnp.server.NamingBean</type>
+   </attribute>
+   <attribute access="read-only" getMethod="getNamingInstance">
+      <description>Underlying Naming bean instance</description>
+      <name>NamingInstance</name>
+      <type>org.jnp.interfaces.Naming</type>
+   </attribute>   
+   <attribute access="read-write" getMethod="getCallByValue" setMethod="setCallByValue">
+      <description>The call by value mode. true if all lookups are unmarshalled using
+      the caller's TCL, false if in VM lookups return the value by reference.</description>
+      <name>CallByValue</name>
+      <type>boolean</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getBindAddress" setMethod="setBindAddress">
+      <description>The bind address of the bootstrap lookup socket.</description>
+      <name>BindAddress</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getPort" setMethod="setPort">
+      <description>The listening port for the bootstrap JNP service. Set this to -1
+        to run the NamingService without the JNP invoker listening port.</description>
+      <name>Port</name>
+      <type>int</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getBacklog" setMethod="setBacklog">
+      <description>The bootstrap socket backlog count.</description>
+      <name>Backlog</name>
+      <type>int</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getJNPServerSocketFactory"
+      setMethod="setJNPServerSocketFactory">
+      <description>The bootstrap socket javax.net.ServerSocketFactory class name</description>
+      <name>JNPServerSocketFactory</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getJNPServerSocketFactoryBean"
+      setMethod="setJNPServerSocketFactoryBean">
+      <description>The bootstrap socket javax.net.ServerSocketFactory</description>
+      <name>JNPServerSocketFactoryBean</name>
+      <type>javax.net.ServerSocketFactory</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getRmiPort" setMethod="setRmiPort">
+      <description>The port of the RMI naming service, 0 == anonymous. This
+      is only used if an explicit InvokerProxyFactory has not been set.</description>
+      <name>RmiPort</name>
+      <type>int</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getRmiBindAddress" setMethod="setRmiBindAddress">
+      <description>The RMI service bind address. Empty == all addresses</description>
+      <name>RmiBindAddress</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getClientSocketFactory" setMethod="setClientSocketFactory">
+      <description>The RMI service java.rmi.server.RMIClientSocketFactory class name</description>
+      <name>ClientSocketFactory</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getClientSocketFactoryBean" setMethod="setClientSocketFactoryBean">
+      <description>The RMI service java.rmi.server.RMIServerSocketFactory instance</description>
+      <name>ClientSocketFactoryBean</name>
+      <type>java.rmi.server.RMIClientSocketFactory</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getServerSocketFactory" setMethod="setServerSocketFactory">
+      <description>The RMI service java.rmi.server.RMIServerSocketFactory class name</description>
+      <name>ServerSocketFactory</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getServerSocketFactoryBean" setMethod="setServerSocketFactoryBean">
+      <description>The RMI service java.rmi.server.RMIServerSocketFactory instance</description>
+      <name>ServerSocketFactory</name>
+      <type>java.rmi.server.RMIServerSocketFactory</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getInstallGlobalService"
+      setMethod="setInstallGlobalService">
+      <description>Ghe InstallGlobalService which defines whether the MainMBean's
+         Naming server will be installed as the NamingContext.setLocal global
+         value.</description>
+      <name>InstallGlobalService</name>
+      <type>boolean</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getUseGlobalService"
+      setMethod="setUseGlobalService">
+      <description>The UseGlobalService which defines whether the MainMBean's
+         Naming server will initialized from the existing NamingContext.setLocal global
+         value.</description>
+      <name>UseGlobalService</name>
+      <type>boolean</type>
+   </attribute>
+   <attribute access="write-only" setMethod="setLookupPool">
+      <description>The thread pool service used to control the bootstrap lookups</description>
+      <name>LookupPool</name>
+      <type>org.jboss.util.threadpool.BasicThreadPoolMBean</type>
+   </attribute>
+   <attribute access="write-only" setMethod="setInvokerProxyFactory">
+      <description>The detached invoker proxy factory to use for the naming
+      service transport.</description>
+      <name>InvokerProxyFactory</name>
+      <type>org.jboss.invocation.jrmp.server.JRMPProxyFactoryMBean</type>
+   </attribute>
+
+   <!-- Operations -->
+   <operation>
+      <description>The generic invocation operation used by detached invokers
+         to route requests to the service
+      </description>
+      <name>invoke</name>
+      <parameter>
+         <description>The Naming interface method invocation encapsulation
+         </description>
+         <name>invocation</name>
+         <type>org.jboss.invocation.Invocation</type>
+      </parameter>
+      <return-type>java.lang.Object</return-type>
+   </operation>
+   <operation>
+      <description>Create an alias in jndi
+      </description>
+      <name>createAlias</name>
+      <parameter>
+         <description>The from name
+         </description>
+         <name>fromName</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <parameter>
+         <description>The to name
+         </description>
+         <name>toName</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description>Remove an alias from jndi
+      </description>
+      <name>removeAlias</name>
+      <parameter>
+         <description>The name
+         </description>
+         <name>name</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+
+   &defaultOperations;   			
+
+</mbean>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/TransactionManagerService-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/TransactionManagerService-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/TransactionManagerService-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+
+<!-- $Id: TransactionManagerService-xmbean.xml 32334 2005-06-17 06:45:59Z adrian $ -->
+<mbean>
+	 <description>TransactionManager Service.</description>
+	 <class>org.jboss.tm.TransactionManagerService</class>
+	 &defaultAttributes;
+	 <attribute access="read-write" getMethod="getGlobalIdsEnabled" setMethod="setGlobalIdsEnabled">
+	 	<description>Should be set to true for transaction demarcation over IIOP</description>
+	 	<name>GlobalIdsEnabled</name>
+	 	<type>boolean</type>
+	 </attribute>
+	 <attribute access="read-write" getMethod="isInterruptThreads" setMethod="setInterruptThreads">
+	 	<description>Whether to interrupt threads at transaction timeout</description>
+	 	<name>InterruptThreads</name>
+	 	<type>boolean</type>
+	 </attribute>
+	 <attribute access="read-write" getMethod="getTransactionTimeout" setMethod="setTransactionTimeout">
+	 	<description>The transaction timeout in seconds</description>
+	 	<name>TransactionTimeout</name>
+	 	<type>int</type>
+	 </attribute>
+	 <attribute access="read-write" getMethod="getXidFactory" setMethod="setXidFactory">
+	 	<description>Name of the xidFactory</description>
+	 	<name>XidFactory</name>
+	 	<type>javax.management.ObjectName</type>
+	 </attribute>
+	 <attribute access="write-only" setMethod="setTransactionIntegrityFactory">
+	 	<description>Transaction Integrity Policy</description>
+	 	<name>TransactionIntegrityFactory</name>
+	 	<type>org.jboss.tm.integrity.TransactionIntegrityFactory</type>
+	 </attribute>
+	 <attribute access="read-only" getMethod="getTransactionManager">
+	 	<description>Returns the TransactionManager managed by this service</description>
+	 	<name>TransactionManager</name>
+	 	<type>javax.transaction.TransactionManager</type>
+	 </attribute>
+	 <attribute access="read-only" getMethod="getXATerminator">
+	 	<description>Returns the XATerminator managed by this service</description>
+	 	<name>XATerminator</name>
+	 	<type>org.jboss.tm.JBossXATerminator</type>
+	 </attribute>
+	 <attribute access="read-only" getMethod="getTransactionCount">
+	 	<description>Counts the number of active transactions</description>
+	 	<name>TransactionCount</name>
+	 	<type>long</type>
+	 </attribute>
+	 <attribute access="read-only" getMethod="getCommitCount">
+	 	<description>Counts the number of commited transactions</description>
+	 	<name>CommitCount</name>
+	 	<type>long</type>
+	 </attribute>
+	 <attribute access="read-only" getMethod="getRollbackCount">
+	 	<description>Counts the number of transactions that have been rolled back</description>
+	 	<name>RollbackCount</name>
+	 	<type>long</type>
+	 </attribute>
+	 	
+	 <operation>
+		 <description>Register a XAException Formatter</description>
+		 <name>registerXAExceptionFormatter</name>
+		 <parameter>
+			 <description>The class of the formatter</description>
+			 <name>clazz</name>
+			 <type>java.lang.Class</type>
+		 </parameter>
+		 <parameter>
+			 <description>A XAExceptionFromatter value</description>
+			 <name>formatter</name>
+			 <type>org.jboss.tm.XAExceptionFormatter</type>
+		 </parameter>		 
+		 <return-type>void</return-type>
+	 </operation>
+	 <operation>
+		 <description>Unregister a XAException Formatter</description>
+		 <name>unregisterXAExceptionFormatter</name>
+		 <parameter>
+			 <description>The class of the formatter</description>
+			 <name>clazz</name>
+			 <type>java.lang.Class</type>
+		 </parameter>
+		 <return-type>void</return-type>
+	 </operation>
+
+	 &defaultOperations;   			
+ </mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">
+<!-- $Id: org.jboss.deployment.JARDeployer-xmbean.xml 35861 2005-09-11 22:24:37Z dimitris $ -->
+<mbean>
+
+   <description>The JARDeployer adds archives that do not contain META-INF/*.xml
+       files. The pattern of xml files that correspond to deployment descriptors
+       can be specified using the DescriptorNames attribute.
+   </description>
+   <class>org.jboss.deployment.JARDeployer</class>
+   
+   <attribute access='read-write' getMethod='getDescriptorNames' setMethod='setDescriptorNames'>
+      <description>The list of suffixes that define deployment descriptors which
+         if found in an archive META-INF directory indicate non-jar deployments
+         which should be ignored by the JARDeployer
+      </description>
+      <name>DescriptorNames</name>
+      <type>[Ljava.lang.String;</type>
+      <!-- This suffix list represents the legacy behavior that ignored all
+         archives with META-INF/*.xml files
+      <descriptors>
+         <value value=".xml"/>
+      </descriptors>
+      -->
+      <!-- Ignore archives with the standard descriptors in META-INF -->
+      <descriptors>
+         <value value="ejb-jar.xml,jboss-service.xml,-ds.xml,ra.xml,application.xml,application-client.xml"/>
+      </descriptors>
+   </attribute>
+
+   <!-- SubDeployerExtMBean attribute -->
+   <attribute access="read-write" getMethod="getEnhancedSuffixes" setMethod="setEnhancedSuffixes">
+      <description>Allow the override of supported suffixes and relative order</description>
+      <name>EnhancedSuffixes</name>
+      <type>[Ljava.lang.String;</type>
+   </attribute>
+   
+   &deployerAttributes;
+   &defaultAttributes;
+
+   &deployerOperations;
+   &defaultOperations;
+   
+</mbean>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+
+<!-- $Id: org.jboss.deployment.MainDeployer-xmbean.xml 46368 2006-07-18 15:59:06Z dimitris $ -->
+
+<!-- The MainDeployer XMBean descriptor -->
+<mbean>
+   <description>The Main deployer is the service which acts as the entry
+       point for the deployment/undeployment requests.
+   </description>
+   <class>org.jboss.deployment.MainDeployer</class>
+
+   <attribute access='read-write' setMethod='setCopyFiles' getMethod='getCopyFiles'>
+      <description></description>
+      <name>CopyFiles</name>
+      <type>boolean</type>
+      <descriptors>
+         <value value="true"/>
+      </descriptors>
+   </attribute>
+   <attribute access='write-only' setMethod='setServiceController'>
+      <description></description>
+      <name>ServiceController</name>
+      <type>javax.management.ObjectName</type>
+   </attribute>
+   <attribute access='read-only' getMethod='getServiceName'>
+      <description></description>
+      <name>ServiceName</name>
+      <type>javax.management.ObjectName</type>
+   </attribute>
+   <attribute access='read-only' getMethod='getSuffixOrder'>
+      <description>The suffix order used when sorting deployments, constructed dynamically by registering deployers</description>
+      <name>SuffixOrder</name>
+      <type>[Ljava.lang.String;</type>
+   </attribute>
+   <attribute access='read-write' setMethod='setEnhancedSuffixOrder' getMethod='getEnhancedSuffixOrder'>
+      <description>Allows the override of the suffix order declared by subdeployers, using the syntax [order:]suffix
+      </description>
+      <name>EnhancedSuffixOrder</name>
+      <type>[Ljava.lang.String;</type>
+      <!--
+         Statically set one or more enhanced suffix orders, independent of the value proposed by subdeployers.
+         Some deployers may also allow the suffixes/orders to be set locally, so that's preferable too.
+         For reference, this is the list of enhanced suffixes likely to be set by deployers (it may not
+         be completely up-to-date, or there can be user-defined deployers).
+         
+         050:.deployer,050:-deployer.xml,100:.aop,100:-aop.xml,150:.sar,150:-service.xml,200:.beans,250:.rar,300:-ds.xml,350:.har,400:.jar,400:.ejb3,400:.par,500:.war,600:.wsr,650:.ear,700:.jar,750:.zip,800:.bsh,900:.last
+         
+         Until we resolve some startup issues, we'll setup some static enhanced suffix orders bellow
+         and leave the rest of the suffixes contributed dynamically by registering deployers.
+      -->
+      <descriptors>
+         <value value="250:.rar,300:-ds.xml,400:.jar,500:.war,550:.jse,650:.ear,800:.bsh"/>
+      </descriptors>
+   </attribute>
+   <attribute access='read-write' setMethod='setTempDir' getMethod='getTempDir'>
+      <description></description>
+      <name>TempDir</name>
+      <type>java.io.File</type>
+   </attribute>
+   <attribute access='read-only' getMethod='getTempDirString'>
+      <description></description>
+      <name>TempDirString</name>
+      <type>java.lang.String</type>
+   </attribute>
+   
+   &defaultAttributes;
+
+   <operation>
+      <description></description>
+      <name>addDeployer</name>
+      <parameter>
+         <name>deployer</name>
+         <type>org.jboss.deployment.SubDeployer</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>removeDeployer</name>
+      <parameter>
+         <name>deployer</name>
+         <type>org.jboss.deployment.SubDeployer</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>deploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>   
+      <name>deploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>deploy</name>
+      <parameter>
+         <name>sdi</name>
+         <type>org.jboss.deployment.DeploymentInfo</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description>starts a package identified by a URL</description>
+      <name>start</name>
+      <parameter>
+         <name>urlspec</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description>stops a package identified by a URL</description>
+      <name>stop</name>
+      <parameter>
+         <name>urlspec</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>getDeployment</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>org.jboss.deployment.DeploymentInfo</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>getWatchUrl</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>java.net.URL</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>isDeployed</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>boolean</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>isDeployed</name>
+      <parameter>
+         <name>url</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>boolean</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listDeployed</name>
+      <return-type>java.util.Collection</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listDeployedAsString</name>
+      <return-type>java.lang.String</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listDeployedModules</name>
+      <return-type>java.util.Collection</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listDeployers</name>
+      <return-type>java.util.Collection</return-type>
+   </operation>
+   <operation>
+      <description>Check the current deployment states and generate a
+      IncompleteDeploymentException if there are mbeans waiting for depedencies.
+      </description>
+      <name>checkIncompleteDeployments</name>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listIncompletelyDeployed</name>
+      <return-type>java.util.Collection</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>listWaitingForDeployer</name>
+      <return-type>java.util.Collection</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>redeploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>redeploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>redeploy</name>
+      <parameter>
+         <name>sdi</name>
+         <type>org.jboss.deployment.DeploymentInfo</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>shutdown</name>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>undeploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>undeploy</name>
+      <parameter>
+         <name>url</name>
+         <type>java.net.URL</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description></description>
+      <name>undeploy</name>
+      <parameter>
+         <name>sdi</name>
+         <type>org.jboss.deployment.DeploymentInfo</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+
+   &defaultOperations;
+   
+</mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">
+<!--
+   SARDeployer XMBean descriptor
+   
+   $Id: org.jboss.deployment.SARDeployer-xmbean.xml 35861 2005-09-11 22:24:37Z dimitris $
+ -->
+<mbean>
+   <description>The SAR deployer handles the JBoss service archive deployments.</description>
+   <class>org.jboss.deployment.SARDeployer</class>
+   
+   <attribute access="read-write" getMethod="getUseNamespaceAwareParser" setMethod="setUseNamespaceAwareParser">
+      <description>A flag passed to the JAXP DocumentBuilderFactory setNamespaceAware method</description>
+      <name>UseNamespaceAwareParser</name>
+      <type>boolean</type>
+      <descriptors>
+         <value value="true"/>
+      </descriptors>
+   </attribute>
+   
+   <!-- SubDeployerExtMBean attribute -->
+   <attribute access="read-write" getMethod="getEnhancedSuffixes" setMethod="setEnhancedSuffixes">
+      <description>Allow the override of supported suffixes and relative order</description>
+      <name>EnhancedSuffixes</name>
+      <type>[Ljava.lang.String;</type>
+      <descriptors>
+         <!-- Add "350:har" to the suffixes supported normally by the SARDeployer -->
+         <value value="050:.deployer,050:-deployer.xml,150:.sar,150:-service.xml,350:.har"/>
+      </descriptors>
+   </attribute>
+
+   &deployerAttributes;
+   &defaultAttributes;
+
+   <operation>
+      <description>Get the associated service DeploymentInfo if found, null otherwise</description>
+      <name>getService</name>
+      <parameter>
+         <name>serviceName</name>
+         <type>javax.management.ObjectName</type>
+      </parameter>
+      <return-type>org.jboss.deployment.DeploymentInfo</return-type>
+   </operation>
+
+   &deployerOperations;   
+   &defaultOperations;
+   
+</mbean>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/bsh-deployer.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/bsh-deployer.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/bsh-deployer.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- The JBoss service configuration file for the BSH deployer service.
+$Id: bsh-deployer.xml 23463 2004-09-05 15:50:37Z starksm $
+-->
+<server>
+   <!-- BSH deployer, remove to disable deployment of bsh scripts as services
+   -->
+   <mbean code="org.jboss.varia.deployment.BeanShellSubDeployer"
+      name="jboss.deployer:service=BSHDeployer">
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/cache-invalidation-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/cache-invalidation-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/cache-invalidation-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server>
+<!-- $Id: cache-invalidation-service.xml 16662 2003-08-27 04:38:22Z patriot1burke $ -->
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Cache Invalidation Service                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+  <mbean code="org.jboss.cache.invalidation.InvalidationManager" 
+         name="jboss.cache:service=InvalidationManager">
+  </mbean>
+
+
+<!--
+	Uncomment if you want to activate the cache invalidation mechanism accross
+	nodes using the JMS bridge 
+
+	PropagationMode can be : IN_OUT = 1, IN_ONLY = 2, OUT_ONLY = 3
+
+   You can also set the ProviderUrl attribute to another IP:port setting if you
+   must lookup your JMS information in other JMS trees i.e.
+
+      <attribute name="ProviderUrl">MyOtherNode:1099</attribute>
+
+-->
+<!--
+  <mbean code="org.jboss.mq.server.jmx.Topic"
+	 name="jboss.mq.destination:service=Topic,name=JMSCacheInvalidationBridge">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.cache.invalidation.bridges.JMSCacheInvalidationBridge" 
+         name="jboss.cache:service=InvalidationBridge,type=JavaGroups">
+     <depends>jboss.cache:service=InvalidationManager</depends>
+     <depends>jboss.mq.destination:service=Topic,name=JMSCacheInvalidationBridge</depends>
+     <attribute name="InvalidationManager">jboss.cache:service=InvalidationManager</attribute>
+     <attribute name="ConnectionFactoryName">java:/ConnectionFactory</attribute>
+     <attribute name="TopicName">topic/JMSCacheInvalidationBridge</attribute>
+     <attribute name="PropagationMode">1</attribute> 
+  </mbean>
+-->
+     
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/client-deployer-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/client-deployer-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/client-deployer-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- The J2EE application client deployer service
+$Id: client-deployer-service.xml 36323 2005-09-24 21:49:13Z starksm $
+-->
+<server>
+   <!-- A ClientDeployer configuration with an minimal ebmedded xmbean descriptor
+   -->
+   <mbean code="org.jboss.deployment.ClientDeployer"
+      name="jboss.j2ee:service=ClientDeployer"
+      xmbean-dd="">
+      <xmbean>
+         <description>The J2EE Application Client Deployer</description>
+         <class>org.jboss.deployment.ClientDeployer</class>
+
+         <!--  Attributes -->
+         <attribute access="read-only" getMethod="getStateString">
+            <description>The service state name</description>
+            <name>StateString</name>
+            <type>java.lang.String</type>
+         </attribute>
+         <attribute access="read-only" getMethod="getState">
+            <description>The service state value</description>
+            <name>State</name>
+            <type>int</type>
+         </attribute>
+
+         <!-- Operations -->
+         <operation>
+            <description>The create lifecycle operation</description>
+            <name>create</name>
+         </operation>
+         <operation>
+            <description>The start lifecycle operation</description>
+            <name>start</name>
+         </operation>
+         <operation>
+            <description>The stop lifecycle operation</description>
+            <name>stop</name>
+         </operation>
+         <operation>
+            <description>The destroy lifecycle operation</description>
+            <name>destroy</name>
+         </operation>
+      </xmbean>
+   </mbean>
+
+   <!-- An alternate externalized xmbean configuration that includes more of the
+   standard attributes and operations.
+   <mbean code="org.jboss.deployment.ClientDeployer"
+      name="jboss.j2ee:service=ClientDeployer"
+      xmbean-dd="client-deployer-xmbean.xml" />
+   -->
+</server>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ear-deployer.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ear-deployer.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ear-deployer.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- The JBoss service configuration file for the EAR deployer service.
+$Id: ear-deployer.xml 60679 2007-02-19 21:35:39Z scott.stark at jboss.org $
+-->
+<server>
+   <!-- EAR deployer, remove if you are not using ear deployments -->
+   <mbean code="org.jboss.deployment.EARDeployer"
+      name="jboss.j2ee:service=EARDeployer">
+      <!-- A flag indicating if ear deployments should have their own scoped
+      class loader to isolate their classes from other deployments.
+      -->
+      <attribute name="Isolated">false</attribute>
+      <!-- A flag indicating if the ear components should have in VM call
+      optimization disabled.
+      -->
+      <attribute name="CallByValue">false</attribute>
+      <!-- A flag the enables the default behavior of the ee5 library-directory. If true,
+      the lib contents of an ear are assumed to be the default value for library-directory
+      in the absence of an explicit library-directory. If false, there must be an
+      explicit library-directory.
+      -->
+      <attribute name="EnablelibDirectoryByDefault">true</attribute>
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb-deployer.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb-deployer.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb-deployer.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,311 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  The JBoss service configuration file for the EJB deployer service.
+  
+  $Id: ejb-deployer.xml 62317 2007-04-13 10:39:22Z dimitris at jboss.org $
+-->
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- J2EE Timer Service                                                   -->
+  <!-- ==================================================================== -->
+
+  <!-- An EJB Timer Service that is Tx aware -->
+  <mbean code="org.jboss.ejb.txtimer.EJBTimerServiceImpl"
+    name="jboss.ejb:service=EJBTimerService">
+    <attribute name="RetryPolicy">jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay</attribute>
+    <attribute name="PersistencePolicy">jboss.ejb:service=EJBTimerService,persistencePolicy=database</attribute>
+    <attribute name="TimerIdGeneratorClassName">org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator</attribute>
+    <attribute name="TimedObjectInvokerClassName">org.jboss.ejb.txtimer.TimedObjectInvokerImpl</attribute>
+    <depends optional-attribute-name="TransactionManagerFactory" proxy-type="org.jboss.tm.TransactionManagerFactory">
+      jboss:service=TransactionManager
+    </depends>
+  </mbean>
+
+  <!-- A retry policy that uses a fixed interval in milli seconds -->
+  <mbean code="org.jboss.ejb.txtimer.FixedDelayRetryPolicy" name="jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay">
+    <attribute name="Delay">100</attribute>
+  </mbean>
+
+  <!-- A persistence policy that does not persist the timers
+  <mbean code="org.jboss.ejb.txtimer.NoopPersistencePolicy" name="jboss.ejb:service=EJBTimerService,persistencePolicy=noop"/>
+  -->
+
+  <!--
+    A persistence policy that persists timers to a database.
+    
+    The 2 supported db persistence plugins are:
+      org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin
+      org.jboss.ejb.txtimer.OracleDatabasePersistencePlugin
+      
+    The table name defaults to "TIMERS". It can be overriden using the
+    'TimersTable' attribute if the persistence plugin supports it.
+    When overriding the timers table, an optional schema can be specified
+    using the syntax [schema.]table
+  -->
+  <mbean code="org.jboss.ejb.txtimer.DatabasePersistencePolicy" name="jboss.ejb:service=EJBTimerService,persistencePolicy=database">
+    <!-- DataSourceBinding ObjectName -->
+    <depends optional-attribute-name="DataSource">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
+    <!-- The plugin that handles database persistence -->
+    <attribute name="DatabasePersistencePlugin">org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin</attribute>
+    <!-- The timers table name -->
+    <attribute name="TimersTable">TIMERS</attribute>
+  </mbean>
+
+  <!-- ==================================================================== -->
+  <!-- EJB Deployer                                                         -->
+  <!-- ==================================================================== -->
+
+  <!-- EJB deployer, remove to disable EJB behavior-->
+  <mbean code="org.jboss.ejb.EJBDeployer" name="jboss.ejb:service=EJBDeployer" xmbean-dd="">
+  
+    <!-- Inline XMBean Descriptor BEGIN -->
+    <xmbean>
+      <description>The EJBDeployer responsible for ejb jar deployment</description>
+      <descriptors>
+        <interceptors>
+          <!-- comment out DynamicInterceptor to disable dynamic addition of interceptors -->
+          <interceptor code="org.jboss.mx.interceptor.DynamicInterceptor"/>
+        </interceptors>
+      </descriptors>
+      <class>org.jboss.ejb.EJBDeployer</class>
+
+      <!-- ServiceMBean attributes -->
+      <attribute access="read-only" getMethod="getName">
+        <description>The class name of the MBean</description>
+        <name>Name</name>
+        <type>java.lang.String</type>
+      </attribute>
+
+      <attribute access="read-only" getMethod="getState">
+        <description>The status of the MBean</description>
+        <name>State</name>
+        <type>int</type>
+      </attribute>
+
+      <attribute access="read-only" getMethod="getStateString">
+        <description>The status of the MBean in text form</description>
+        <name>StateString</name>
+        <type>java.lang.String</type>
+      </attribute>
+
+      <!-- SubDeployerMBean attributes -->
+      <attribute access="read-only" getMethod="getServiceName">
+         <description>The JMX ObjectName of the service that provides the SubDeployer</description>
+         <name>ServiceName</name>
+         <type>javax.management.ObjectName</type>
+      </attribute>
+      
+      <attribute access="read-only" getMethod="getSuffixes">
+         <description>An array of suffixes of interest to this subdeployer</description>
+         <name>Suffixes</name>
+         <type>[Ljava.lang.String;</type>
+      </attribute>
+      
+      <attribute access="read-only" getMethod="getRelativeOrder">
+         <description>The relative order of the specified suffixes</description>
+         <name>RelativeOrder</name>
+         <type>int</type>
+      </attribute>
+
+      <!-- SubDeployerExtMBean attribute -->
+      <attribute access="read-write" getMethod="getEnhancedSuffixes" setMethod="setEnhancedSuffixes">
+         <description>Allow the override of supported suffixes and relative order</description>
+         <name>EnhancedSuffixes</name>
+         <type>[Ljava.lang.String;</type>
+      </attribute>
+      
+      <!-- EJBDeployerMBean attributes -->
+      <attribute access="read-write" getMethod="getWebServiceName" setMethod="setWebServiceName">
+        <description>The dynamic class loading simple web server</description>
+        <name>WebServiceName</name>
+        <type>javax.management.ObjectName</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="getVerifyDeployments" setMethod="setVerifyDeployments">
+        <description>Control the bean verifier (on/off)</description>
+        <name>VerifyDeployments</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="getVerifierVerbose" setMethod="setVerifierVerbose">
+        <description>Control the verbose mode of the bean verifier</description>
+        <name>VerifierVerbose</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="getStrictVerifier" setMethod="setStrictVerifier">
+        <description>Control the strictness of the bean verifier</description>
+        <name>StrictVerifier</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="isCallByValue" setMethod="setCallByValue">
+        <description>Enable/disable call-by-value semantics</description>
+        <name>CallByValue</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="getValidateDTDs" setMethod="setValidateDTDs">
+        <description>Enable/disable the validation of deployment descriptors</description>
+        <name>ValidateDTDs</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="isMetricsEnabled" setMethod="setMetricsEnabled">
+        <description>Enable/disable the metrics interceptor for containers</description>
+        <name>MetricsEnabled</name>
+        <type>boolean</type>
+      </attribute>
+
+      <attribute access="read-write" getMethod="getTransactionManagerServiceName" setMethod="setTransactionManagerServiceName">
+        <description>The transaction manager service to use</description>
+        <name>TransactionManagerServiceName</name>
+        <type>javax.management.ObjectName</type>
+      </attribute>
+
+      <!-- EJBDeployerMBean operations -->
+      <operation>
+        <description>List the deployed applications</description>
+        <name>listDeployedApplications</name>
+        <return-type>java.util.Iterator</return-type>
+      </operation>
+
+      <!-- ServiceMBean operations -->
+      <operation>
+        <description>Standard MBean lifecycle method</description>
+        <name>create</name>
+      </operation>
+
+      <operation>
+        <description>The start lifecycle operation</description>
+        <name>start</name>
+      </operation>
+
+      <operation>
+        <description>The stop lifecycle operation</description>
+        <name>stop</name>
+      </operation>
+
+      <operation>
+        <description>The destroy lifecycle operation</description>
+        <name>destroy</name>
+      </operation>
+
+      <operation>
+        <description>The detyped lifecycle operation (for internal use only)</description>
+        <name>jbossInternalLifecycle</name>
+        <parameter>
+          <description>The lifecycle operation</description>
+          <name>method</name>
+          <type>java.lang.String</type>
+        </parameter>
+        <return-type>void</return-type>
+      </operation>
+
+      <!-- SubDeployerMBean operations -->
+      <operation>
+        <description>Accept a module for deployment</description>
+        <name>accepts</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+        <return-type>boolean</return-type>
+      </operation>
+
+      <operation>
+        <description>Initialize deployment step</description>
+        <name>init</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+      </operation>
+
+      <operation>
+        <description>Create deployment step</description>
+        <name>create</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+      </operation>
+
+      <operation>
+        <description>Start deployment step</description>
+        <name>start</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+      </operation>
+
+      <operation>
+        <description>Stop deployment step</description>
+        <name>stop</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+      </operation>
+
+      <operation>
+        <description>Destroy deployment step</description>
+        <name>destroy</name>
+        <parameter>
+          <name>info</name>
+          <type>org.jboss.deployment.DeploymentInfo</type>
+        </parameter>
+      </operation>
+
+      <!-- Interceptable operations -->
+      <operation>
+        <description>Add dynamically an operation interceptor</description>
+        <name>addOperationInterceptor</name>
+        <parameter>
+          <description>The Interceptor</description>
+          <name>interceptor</name>
+          <type>org.jboss.mx.interceptor.Interceptor</type>
+        </parameter>
+      </operation>
+
+      <operation>
+        <description>Remove dynamically an operation interceptor</description>
+        <name>removeOperationInterceptor</name>
+        <parameter>
+          <description>The Interceptor</description>
+          <name>interceptor</name>
+          <type>org.jboss.mx.interceptor.Interceptor</type>
+        </parameter>
+      </operation>      
+    </xmbean>
+    <!-- Inline XMBean Descriptor END -->
+      
+    <!-- A flag indicating if the deployer should validate the
+    ejb-jar.xml/jboss.xml descriptors and components
+    -->
+    <attribute name="VerifyDeployments">true</attribute>
+    <!-- A flag indicating if the xml parser should validate the descriptor
+    DTDs
+    -->
+    <attribute name="ValidateDTDs">false</attribute>
+    <!-- A flag indicating if the verifier should be verbose about its
+    operation
+    -->
+    <attribute name="VerifierVerbose">true</attribute>
+    <!-- Setting this to 'true' will cause all deployments
+     to fail when the Verifier detected a problem with the contained
+     Beans. If false, warnings/errors will be logged but the deployment
+     will not fail.
+    -->
+    <attribute name="StrictVerifier">true</attribute>
+
+    <!-- The EJBDeployer needs the JTA transaction manager service -->
+    <depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
+    <!-- The dynamic class loading simple web server -->
+    <depends optional-attribute-name="WebServiceName">jboss:service=WebService</depends>
+    
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3-interceptors-aop.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3-interceptors-aop.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3-interceptors-aop.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,365 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE aop PUBLIC
+   "-//JBoss//DTD JBOSS AOP 1.0//EN"
+   "http://labs.jboss.com/portal/jbossaop/dtd/jboss-aop_1_0.dtd">
+
+<aop>
+   <interceptor class="org.jboss.aspects.remoting.InvokeRemoteInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.aspects.security.SecurityClientInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.aspects.tx.ClientTxPropagationInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.remoting.IsLocalInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.aspects.remoting.ClusterChooserInterceptor" scope="PER_VM"/>
+
+   <interceptor class="org.jboss.aspects.tx.TxPropagationInterceptor" scope="PER_VM"/>
+
+   <stack name="ServiceClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="AsynchronousStatelessSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="AsynchronousStatefulSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="StatelessSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="StatefulSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="ClusteredStatelessSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <stack name="ClusteredStatefulSessionClientInterceptors">
+      <interceptor-ref name="org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
+      <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+   </stack>
+
+   <interceptor class="org.jboss.ejb3.asynchronous.AsynchronousInterceptor" scope="PER_CLASS"/>
+   <interceptor class="org.jboss.ejb3.ENCPropagationInterceptor" scope="PER_VM"/>
+   <interceptor name="Basic Authorization" factory="org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor name="JACC Authorization" factory="org.jboss.ejb3.security.JaccAuthorizationInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor factory="org.jboss.ejb3.security.AuthenticationInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor factory="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor class="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.stateless.StatelessInstanceInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.stateful.StatefulInstanceInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.service.ServiceSingletonInterceptor" scope="PER_VM"/>
+   <interceptor class="org.jboss.ejb3.cache.StatefulReplicationInterceptor" scope="PER_VM"/>
+   <interceptor factory="org.jboss.ejb3.stateful.StatefulRemoveFactory" scope="PER_CLASS_JOINPOINT"/>
+   <interceptor factory="org.jboss.ejb3.tx.TxInterceptorFactory" scope="PER_CLASS_JOINPOINT"/>
+   <interceptor factory="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory" scope="PER_CLASS_JOINPOINT"/>
+   <interceptor factory="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor class="org.jboss.ejb3.AllowedOperationsInterceptor" scope="PER_VM"/>
+   <interceptor factory="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor class="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor" scope="PER_VM"/>
+
+   <domain name="Stateless Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="Basic Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+      </annotation>
+   </domain>
+
+   <domain name="JACC Stateless Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="JACC Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+      </annotation>
+   </domain>
+
+   <domain name="Base Stateful Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="Basic Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
+      </bind>
+
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))">
+         <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
+      </bind>
+
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+      </annotation>
+   </domain>
+
+   <domain name="Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
+      <!-- NON Clustered cache configuration -->
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.simple.SimpleStatefulCache.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.PersistenceManager) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.simple.PersistenceManager (org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.CacheConfig) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
+      </annotation>
+
+      <!-- Clustered cache configuration -->
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.tree.StatefulTreeCache.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.tree.CacheConfig) AND class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.tree.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
+      </annotation>
+   </domain>
+
+   <domain name="JACC Stateful Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="JACC Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+
+      <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))">
+         <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
+      </bind>
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+      </annotation>
+
+      <!-- NON Clustered cache configuration -->
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.simple.SimpleStatefulCache.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.PersistenceManager) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.simple.PersistenceManager (org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.simple.CacheConfig) AND !class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
+      </annotation>
+
+      <!-- Clustered cache configuration -->
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache) AND class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.tree.StatefulTreeCache.class)
+      </annotation>
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.tree.CacheConfig) AND class(@org.jboss.annotation.ejb.Clustered)">
+         @org.jboss.annotation.ejb.cache.tree.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)
+      </annotation>
+   </domain>
+
+   <domain name="Embedded Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
+      <!-- NON Clustered cache configuration -->
+      <annotation expr="!class(@org.jboss.annotation.ejb.cache.Cache)">
+         @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.NoPassivationCache.class)
+      </annotation>
+
+   </domain>
+
+   <domain name="Message Driven Bean">
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=15, timeout=10000)
+      </annotation>
+   </domain>
+
+   <domain name="Consumer Bean">
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..)) AND (has(* *->@org.jboss.annotation.ejb.CurrentMessage(..)) OR hasfield(* *->@org.jboss.annotation.ejb.CurrentMessage))">
+         <interceptor-ref name="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=15, timeout=10000)
+      </annotation>
+   </domain>
+
+   <domain name="Service Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+      </bind>
+      <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="Basic Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())">
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+   </domain>
+
+   <domain name="JACC Service Bean">
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+      </bind>
+      <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+         <interceptor-ref name="Basic Authorization"/>
+      </bind>
+      <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+         <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..))">
+         <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+         <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+         <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+      </bind>
+      <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())">
+         <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+      </bind>
+   </domain>
+
+
+</aop>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,312 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   JBoss EJB3Deployer
+   
+   $Id: jboss-service.xml 63100 2007-05-16 18:02:32Z bdecoste $
+-->
+<server>
+
+   <mbean code="org.jboss.remoting.transport.Connector"
+          name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>
+      <attribute name="Configuration">
+         <handlers>
+            <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
+         </handlers>
+      </attribute>
+   </mbean>
+   
+   <!-- The following is sample configuration for modifying the Connector 
+   <mbean code="org.jboss.remoting.transport.Connector"
+          name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <attribute name="Configuration">
+         <config>
+            <invoker transport="socket">
+               <attribute name="numAcceptThreads">1</attribute>
+               <attribute name="maxPoolSize">300</attribute>
+               <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
+               <attribute name="timeout" isParam="true">60000</attribute>
+               <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
+               <attribute name="serverBindPort">3873</attribute>
+               <attribute name="backlog">200</attribute>
+            </invoker>
+            <handlers>
+               <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
+            </handlers>
+         </config>
+      </attribute>
+   </mbean-->
+
+   <mbean code="org.jboss.ejb3.JarsIgnoredForScanning" name="jboss.ejb3:service=JarsIgnoredForScanning">
+      <attribute name="IgnoredJars">
+         snmp-adaptor.jar,
+         otherimages.jar,
+         applet.jar,
+         jcommon.jar,
+         console-mgr-classes.jar,
+         jfreechart.jar,
+         juddi-service.jar,
+         wsdl4j.jar,
+         commons-collections.jar,
+         commons-pool.jar,
+         juddi.jar,
+         commons-discovery.jar,
+         uddi4j.jar,
+         axis.jar,
+         commons-dbcp.jar,
+         jboss-juddiaxis.jar,
+         trove.jar,
+         javassist.jar,
+         jboss-aop-jdk50.jar,
+         jboss-aspect-library-jdk50.jar,
+         ejb3-persistence.jar,
+         commons-validator-1.1.3.jar,
+         commons-collections.jar,
+         commons-fileupload.jar,
+         commons-pool.jar,
+         hibernate-entitymanager.jar,
+         jboss-ejb3x.jar,
+         commons-digester-1.6.jar,
+         cglib-2.1.1.jar,
+         commons-discovery.jar,
+         jboss-annotations-ejb3.jar,
+         jaxen-1.1-beta-4.jar,
+         hibernate-annotations.jar,
+         commons-httpclient.jar,
+         commons-logging.jar,
+         commons-vfs.jar,
+         hibernate3.jar,
+         commons-logging-api.jar,
+         asm.jar,
+         asm-attrs.jar,
+         commons-lang-2.0.jar,
+         commons-beanutils.jar,
+         jboss-ejb3.jar,
+         dom4j.jar,
+         commons-codec-1.2.jar,
+         wsdl4j.jar,
+         xmlsec.jar,
+         jbossws.jar,
+         jboss-bean-deployer.jar,
+         jboss-microcontainer.jar,
+         jboss-dependency.jar,
+         jboss-container.jar,
+         tomcat-coyote.jar,
+         commons-collections.jar,
+         myfaces.jar,
+         jstl.jar,
+         commons-digester-1.6.jar,
+         myfaces-impl.jar,
+         commons-beanutils.jar,
+         myfaces-jsf-api.jar,
+         commons-codec-1.2.jar,
+         catalina-optional.jar,
+         tomcat-util.jar,
+         jasper-compiler.jar,
+         commons-el.jar,
+         jasper-compiler-jdt.jar,
+         tomcat-http.jar,
+         catalina-manager.jar,
+         jasper-runtime.jar,
+         tomcat55-service.jar,
+         servlets-invoker.jar,
+         catalina.jar,
+         naming-resources.jar,
+         servlets-default.jar,
+         tomcat-ajp.jar,
+         commons-modeler.jar,
+         tomcat-apr.jar,
+         servlets-webdav.jar
+      </attribute>
+   </mbean>
+
+   <mbean code="org.jboss.ejb3.EJB3Deployer" name="jboss.ejb3:service=EJB3Deployer" xmbean-dd="">
+
+      <attribute name="DeployEjb3ExtensionOnly">false</attribute>
+
+      <!-- Inline XMBean Descriptor BEGIN -->
+      <xmbean>
+         <description>The EJB3Deployer responsible for ejb3 deployment</description>
+         <descriptors>
+            <interceptors>
+               <!-- comment out DynamicInterceptor to disable dynamic addition of interceptors -->
+               <interceptor code="org.jboss.mx.interceptor.DynamicInterceptor"/>
+            </interceptors>
+         </descriptors>
+         <class>org.jboss.ejb3.EJB3Deployer</class>
+
+         <!-- ServiceMBean attributes -->
+         <attribute access="read-only" getMethod="getName">
+            <description>The class name of the MBean</description>
+            <name>Name</name>
+            <type>java.lang.String</type>
+         </attribute>
+
+         <attribute access="read-only" getMethod="getState">
+            <description>The status of the MBean</description>
+            <name>State</name>
+            <type>int</type>
+         </attribute>
+
+         <attribute access="read-only" getMethod="getStateString">
+            <description>The status of the MBean in text form</description>
+            <name>StateString</name>
+            <type>java.lang.String</type>
+         </attribute>
+
+         <!-- SubDeployerMBean attributes -->
+         <attribute access="read-only" getMethod="getServiceName">
+            <description>The ObjectName of the Subdeployer</description>
+            <name>ServiceName</name>
+            <type>javax.management.ObjectName</type>
+         </attribute>
+
+         <attribute access="read-write" getMethod="getSuffixes" setMethod="setSuffixes">
+            <description>The suffixes of interest to this deployer</description>
+            <name>Suffixes</name>
+            <type>[Ljava.lang.String;</type>
+         </attribute>
+
+         <attribute access="read-write" getMethod="getRelativeOrder" setMethod="setRelativeOrder">
+            <description>The relative order of the suffixes in the global suffixes list</description>
+            <name>RelativeOrder</name>
+            <type>int</type>
+         </attribute>
+
+         <!-- EJB3DeployerMBean attributes -->
+         <attribute access="read-only" getMethod="getDefaultProperties">
+            <name>DefaultProperties</name>
+            <type>java.util.Properties</type>
+         </attribute>
+
+         <attribute access="read-write" getMethod="getDeployEjb3ExtensionOnly" setMethod="setDeployEjb3ExtensionOnly">
+            <description>If true, .jars will not be examined for annotations, 3.0 descriptors</description>
+            <name>DeployEjb3ExtensionOnly</name>
+            <type>boolean</type>
+         </attribute>
+
+         <attribute access="write-only" setMethod="setJarsIgnoredForScanning">
+            <description>mbean that has list of jars to ignore</description>
+            <name>JarsIgnoredForScanning</name>
+            <type>org.jboss.ejb3.JarsIgnoredForScanningMBean</type>
+         </attribute>
+
+         <!-- ServiceMBean operations -->
+         <operation>
+            <description>Standard MBean lifecycle method</description>
+            <name>create</name>
+         </operation>
+
+         <operation>
+            <description>The start lifecycle operation</description>
+            <name>start</name>
+         </operation>
+
+         <operation>
+            <description>The stop lifecycle operation</description>
+            <name>stop</name>
+         </operation>
+
+         <operation>
+            <description>The destroy lifecycle operation</description>
+            <name>destroy</name>
+         </operation>
+
+         <operation>
+            <description>The detyped lifecycle operation (for internal use only)</description>
+            <name>jbossInternalLifecycle</name>
+            <parameter>
+               <description>The lifecycle operation</description>
+               <name>method</name>
+               <type>java.lang.String</type>
+            </parameter>
+            <return-type>void</return-type>
+         </operation>
+
+         <!-- SubDeployerMBean operations -->
+         <operation>
+            <description>Accept a module for deployment</description>
+            <name>accepts</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+            <return-type>boolean</return-type>
+         </operation>
+
+         <operation>
+            <description>Initialize deployment step</description>
+            <name>init</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Create deployment step</description>
+            <name>create</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Start deployment step</description>
+            <name>start</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Stop deployment step</description>
+            <name>stop</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Destroy deployment step</description>
+            <name>destroy</name>
+            <parameter>
+               <name>info</name>
+               <type>org.jboss.deployment.DeploymentInfo</type>
+            </parameter>
+         </operation>
+
+         <!-- Interceptable operations -->
+         <operation>
+            <description>Add dynamically an operation interceptor</description>
+            <name>addOperationInterceptor</name>
+            <parameter>
+               <description>The Interceptor</description>
+               <name>interceptor</name>
+               <type>org.jboss.mx.interceptor.Interceptor</type>
+            </parameter>
+         </operation>
+
+         <operation>
+            <description>Remove dynamically an operation interceptor</description>
+            <name>removeOperationInterceptor</name>
+            <parameter>
+               <description>The Interceptor</description>
+               <name>interceptor</name>
+               <type>org.jboss.mx.interceptor.Interceptor</type>
+            </parameter>
+         </operation>
+      </xmbean>
+      <!-- Inline XMBean Descriptor END -->
+
+      <depends>jboss.aop:service=AspectDeployer</depends>
+      <depends>jboss.ejb:service=EJBDeployer</depends>
+      <depends optional-attribute-name="JarsIgnoredForScanning" proxy-type="org.jboss.ejb3.JarsIgnoredForScanningMBean">jboss.ejb3:service=JarsIgnoredForScanning</depends>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/META-INF/persistence.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/META-INF/persistence.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/META-INF/persistence.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
+#hibernate.connection.release_mode=after_statement
+#hibernate.transaction.flush_before_completion=false
+#hibernate.transaction.auto_close_session=false
+#hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory
+#hibernate.hbm2ddl.auto=create-drop
+#hibernate.hbm2ddl.auto=create
+hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
+# Clustered cache with TreeCache
+#hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook
+#hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache
+#hibernate.dialect=org.hibernate.dialect.HSQLDialect
+hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+hibernate.bytecode.use_reflection_optimizer=false
+# I don't think this is honored, but EJB3Deployer uses it
+hibernate.bytecode.provider=javassist
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/jboss-annotations-ejb3.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/jboss-annotations-ejb3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/jboss-ejb3.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/ejb3.deployer/jboss-ejb3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/hsqldb-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/hsqldb-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/hsqldb-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- The Hypersonic embedded database JCA connection factory config -->
+
+<!-- $Id: hsqldb-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
+
+<datasources>
+   <local-tx-datasource>
+
+      <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
+      <!-- Datasources are not available outside the virtual machine -->
+      <jndi-name>DefaultDS</jndi-name>
+
+      <!-- For server mode db, allowing other processes to use hsqldb over tcp.
+      This requires the org.jboss.jdbc.HypersonicDatabase mbean.
+      <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
+      -->
+      <!-- For totally in-memory db, not saved when jboss stops. 
+      The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
+      <connection-url>jdbc:hsqldb:.</connection-url>
+      -->
+      <!-- For in-process persistent db, saved when jboss stops.
+      The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
+      -->
+      <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url>
+
+      <!-- The driver class -->
+      <driver-class>org.hsqldb.jdbcDriver</driver-class>
+
+      <!-- The login and password -->
+      <user-name>sa</user-name>
+      <password></password>
+
+      <!--example of how to specify class that determines if exception means connection should be destroyed-->
+      <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
+
+      <!-- this will be run before a managed connection is removed from the pool for use by a client-->
+      <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
+
+      <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
+      <min-pool-size>5</min-pool-size>
+
+      <!-- The maximum connections in a pool/sub-pool -->
+      <max-pool-size>20</max-pool-size>
+
+      <!-- The time before an unused connection is destroyed -->
+      <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
+      <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
+      <idle-timeout-minutes>0</idle-timeout-minutes>
+
+      <!-- sql to call when connection is created
+        <new-connection-sql>some arbitrary sql</new-connection-sql>
+      -->
+
+      <!-- sql to call on an existing pooled connection when it is obtained from pool 
+         <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+      -->
+
+      <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
+         <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
+      -->
+
+      <!-- Whether to check all statements are closed when the connection is returned to the pool,
+           this is a debugging feature that should be turned off in production -->
+      <track-statements/>
+
+      <!-- Use the getConnection(user, pw) for logins
+        <application-managed-security/>
+      -->
+
+      <!-- Use the security domain defined in conf/login-config.xml -->
+      <security-domain>HsqlDbRealm</security-domain>
+
+      <!-- Use the security domain defined in conf/login-config.xml or the
+           getConnection(user, pw) for logins. The security domain takes precedence.
+        <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
+      -->
+
+      <!-- HSQL DB benefits from prepared statement caching -->
+      <prepared-statement-cache-size>32</prepared-statement-cache-size>
+
+      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
+      <metadata>
+         <type-mapping>Hypersonic SQL</type-mapping>
+      </metadata>
+
+      <!-- When using in-process (standalone) mode -->
+      <depends>jboss:service=Hypersonic,database=localDB</depends>
+      <!-- Uncomment when using hsqldb in server mode
+      <depends>jboss:service=Hypersonic</depends>
+      -->
+   </local-tx-datasource>
+
+   <!-- Uncomment if you want hsqldb accessed over tcp (server mode)
+   <mbean code="org.jboss.jdbc.HypersonicDatabase" 
+     name="jboss:service=Hypersonic">
+     <attribute name="Port">1701</attribute>
+     <attribute name="BindAddress">${jboss.bind.address}</attribute>     
+     <attribute name="Silent">true</attribute>
+     <attribute name="Database">default</attribute>
+     <attribute name="Trace">false</attribute>
+     <attribute name="No_system_exit">true</attribute>
+   </mbean>
+   -->
+
+   <!-- For hsqldb accessed from jboss only, in-process (standalone) mode --> 
+   <mbean code="org.jboss.jdbc.HypersonicDatabase" 
+     name="jboss:service=Hypersonic,database=localDB">
+     <attribute name="Database">localDB</attribute>
+     <attribute name="InProcessMode">true</attribute>
+   </mbean>
+   
+</datasources>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server>
+<!-- $Id: jboss-service.xml 26202 2004-11-29 16:54:36Z starksm $ -->
+
+<server>
+
+  <!-- The HTTP invoker service configration
+  -->
+  <mbean code="org.jboss.invocation.http.server.HttpInvoker"
+    name="jboss:service=invoker,type=http">
+     <!-- Use a URL of the form http://<hostname>:8080/invoker/EJBInvokerServlet
+      where <hostname> is InetAddress.getHostname value on which the server
+      is running.
+      -->
+     <attribute name="InvokerURLPrefix">http://</attribute>
+     <attribute name="InvokerURLSuffix">:8080/invoker/EJBInvokerServlet</attribute>
+     <attribute name="UseHostName">true</attribute>
+  </mbean>
+
+   <!-- Expose the Naming service interface via HTTP -->
+   <mbean code="org.jboss.invocation.http.server.HttpProxyFactory"
+      name="jboss:service=invoker,type=http,target=Naming">
+      <!-- The Naming service we are proxying -->
+      <attribute name="InvokerName">jboss:service=Naming</attribute>
+      <!-- Compose the invoker URL from the cluster node address -->
+      <attribute name="InvokerURLPrefix">http://</attribute>
+      <attribute name="InvokerURLSuffix">:8080/invoker/JMXInvokerServlet</attribute>
+      <attribute name="UseHostName">true</attribute>
+      <attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
+      <attribute name="JndiName"></attribute>
+      <attribute name="ClientInterceptors">
+          <interceptors>
+             <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+             <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+             <interceptor>org.jboss.naming.interceptors.ExceptionInterceptor</interceptor>
+             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+          </interceptors>
+      </attribute>
+   </mbean>
+
+   <!-- Expose the Naming service interface via clustered HTTP. This maps
+   to the ReadOnlyJNDIFactory servlet URL
+   -->
+   <mbean code="org.jboss.invocation.http.server.HttpProxyFactory"
+      name="jboss:service=invoker,type=http,target=Naming,readonly=true">
+      <attribute name="InvokerName">jboss:service=Naming</attribute>
+      <attribute name="InvokerURLPrefix">http://</attribute>
+      <attribute name="InvokerURLSuffix">:8080/invoker/readonly/JMXInvokerServlet</attribute>
+      <attribute name="UseHostName">true</attribute>
+      <attribute name="ExportedInterface">org.jnp.interfaces.Naming</attribute>
+      <attribute name="JndiName"></attribute>
+      <attribute name="ClientInterceptors">
+          <interceptors>
+             <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+             <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+             <interceptor>org.jboss.naming.interceptors.ExceptionInterceptor</interceptor>
+             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+          </interceptors>
+      </attribute>
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetCredentialAction.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetCredentialAction.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetPrincipalAction.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetPrincipalAction.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/NamingFactoryServlet.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/NamingFactoryServlet.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+<jboss-web>
+   <security-domain>java:/jaas/jmx-console</security-domain>
+</jboss-web>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE web-app PUBLIC
+   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+   "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<!-- The http-invoker.sar/invoker.war web.xml descriptor
+$Id: web.xml 26202 2004-11-29 16:54:36Z starksm $
+-->
+<web-app>
+    <filter>
+      <filter-name>ReadOnlyAccessFilter</filter-name>
+      <filter-class>org.jboss.invocation.http.servlet.ReadOnlyAccessFilter</filter-class>
+      <init-param>
+         <param-name>readOnlyContext</param-name>
+         <param-value>readonly</param-value>
+         <description>The top level JNDI context the filter will enforce
+         read-only access on. If specified only Context.lookup operations
+         will be allowed on this context. Another other operations or lookups
+         on any other context will fail. Do not associate this filter with the
+         JMXInvokerServlets if you want unrestricted access.
+         </description>
+      </init-param>
+      <init-param>
+         <param-name>invokerName</param-name>
+         <param-value>jboss:service=Naming</param-value>
+         <description>The JMX ObjectName of the naming service mbean
+         </description>
+      </init-param>
+    </filter>
+
+    <filter-mapping>
+      <filter-name>ReadOnlyAccessFilter</filter-name>
+      <url-pattern>/readonly/*</url-pattern>
+    </filter-mapping>
+
+<!-- ### Servlets -->
+    <servlet>
+        <servlet-name>EJBInvokerServlet</servlet-name>
+        <description>The EJBInvokerServlet receives posts containing serlized
+        MarshalledInvocation objects that are routed to the EJB invoker given by
+        the invokerName init-param. The return content is a serialized
+        MarshalledValue containg the return value of the inovocation, or any
+        exception that may have been thrown.
+        </description>
+        <servlet-class>org.jboss.invocation.http.servlet.InvokerServlet</servlet-class>
+        <init-param>
+            <param-name>invokerName</param-name>
+            <param-value>jboss:service=invoker,type=http</param-value>
+            <description>The RMI/HTTP EJB compatible invoker</description>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+   <servlet>
+       <servlet-name>JMXInvokerServlet</servlet-name>
+       <description>The JMXInvokerServlet receives posts containing serlized
+       MarshalledInvocation objects that are routed to the invoker given by
+       the the MBean whose object name hash is specified by the
+       invocation.getObjectName() value. The return content is a serialized
+       MarshalledValue containg the return value of the inovocation, or any
+       exception that may have been thrown.
+       </description>
+       <servlet-class>org.jboss.invocation.http.servlet.InvokerServlet</servlet-class>
+       <load-on-startup>1</load-on-startup>
+   </servlet>
+
+    <servlet>
+        <servlet-name>JNDIFactory</servlet-name>
+        <description>A servlet that exposes the JBoss JNDI Naming service stub
+        through http. The return content is a serialized
+        MarshalledValue containg the org.jnp.interfaces.Naming stub. This
+        configuration handles requests for the standard JNDI naming service.
+        </description>
+        <servlet-class>org.jboss.invocation.http.servlet.NamingFactoryServlet</servlet-class>
+        <init-param>
+            <param-name>namingProxyMBean</param-name>
+            <param-value>jboss:service=invoker,type=http,target=Naming</param-value>
+        </init-param>
+      <init-param>
+         <param-name>proxyAttribute</param-name>
+         <param-value>Proxy</param-value>
+      </init-param>
+      <load-on-startup>2</load-on-startup>
+    </servlet>
+
+   <servlet>
+       <servlet-name>ReadOnlyJNDIFactory</servlet-name>
+       <description>A servlet that exposes the JBoss JNDI Naming service stub
+       through http, but only for a single read-only context. The return content
+       is a serialized MarshalledValue containg the org.jnp.interfaces.Naming
+       stub.
+       </description>
+       <servlet-class>org.jboss.invocation.http.servlet.NamingFactoryServlet</servlet-class>
+      <init-param>
+          <param-name>namingProxyMBean</param-name>
+          <param-value>jboss:service=invoker,type=http,target=Naming,readonly=true</param-value>
+      </init-param>
+      <init-param>
+         <param-name>proxyAttribute</param-name>
+         <param-value>Proxy</param-value>
+      </init-param>
+       <load-on-startup>2</load-on-startup>
+   </servlet>
+
+<!-- ### Servlet Mappings -->
+    <servlet-mapping>
+        <servlet-name>JNDIFactory</servlet-name>
+        <url-pattern>/JNDIFactory/*</url-pattern>
+    </servlet-mapping>
+    <!-- A mapping for the NamingFactoryServlet that only allows invocations
+    of lookups under a read-only context. This is enforced by the
+    ReadOnlyAccessFilter
+    -->
+    <servlet-mapping>
+        <servlet-name>ReadOnlyJNDIFactory</servlet-name>
+        <url-pattern>/ReadOnlyJNDIFactory/*</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>EJBInvokerServlet</servlet-name>
+        <url-pattern>/EJBInvokerServlet/*</url-pattern>
+    </servlet-mapping>
+   <servlet-mapping>
+       <servlet-name>JMXInvokerServlet</servlet-name>
+       <url-pattern>/JMXInvokerServlet/*</url-pattern>
+   </servlet-mapping>
+    <!-- A mapping for the JMXInvokerServlet that only allows invocations
+    of lookups under a read-only context. This is enforced by the
+    ReadOnlyAccessFilter
+    -->
+    <servlet-mapping>
+        <servlet-name>JMXInvokerServlet</servlet-name>
+        <url-pattern>/readonly/JMXInvokerServlet/*</url-pattern>
+    </servlet-mapping>
+
+    <!-- Alternate mappings that place the servlets under the restricted
+    path to required authentication for access. Remove the unsecure mappings
+    if only authenticated users should be allowed.
+    -->
+    <servlet-mapping>
+        <servlet-name>JNDIFactory</servlet-name>
+        <url-pattern>/restricted/JNDIFactory/*</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>JMXInvokerServlet</servlet-name>
+        <url-pattern>/restricted/JMXInvokerServlet/*</url-pattern>
+    </servlet-mapping>
+
+   <!-- An example security constraint that restricts access to the HTTP invoker
+   to users with the role HttpInvoker Edit the roles to what you want and
+   configure the WEB-INF/jboss-web.xml/security-domain element to reference
+   the security domain you want.
+   -->
+   <security-constraint>
+      <web-resource-collection>
+         <web-resource-name>HttpInvokers</web-resource-name>
+         <description>An example security config that only allows users with the
+            role HttpInvoker to access the HTTP invoker servlets
+         </description>
+         <url-pattern>/restricted/*</url-pattern>
+         <http-method>GET</http-method>
+         <http-method>POST</http-method>
+      </web-resource-collection>
+      <auth-constraint>
+         <role-name>HttpInvoker</role-name>
+      </auth-constraint>
+   </security-constraint>
+   <login-config>
+      <auth-method>BASIC</auth-method>
+      <realm-name>JBoss HTTP Invoker</realm-name>
+   </login-config>
+
+   <security-role>
+      <role-name>HttpInvoker</role-name>
+   </security-role>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: jboss-service.xml 44143 2006-04-24 18:19:21Z kkhan $ -->
+
+<!-- ===================================================================== -->
+<!--  JBoss Server Configuration                                           -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- The code for the service is different for the different run scenarios
+      *** JBoss 4.0
+          * JDK 1.4 - org.jboss.aop.deployment.AspectManagerService
+          * JDK 5 (not using -javaagent switch) - org.jboss.aop.deployment.AspectManagerService
+          * JDK 5 (using -javaagent switch) - org.jboss.aop.deployment.AspectManagerServiceJDK5
+          * BEA JRockit 1.4.2 - org.jboss.aop.deployment.AspectManagerService
+      *** JBoss 3.2
+          * JDK 1.4 - org.jboss.aop.deployment.AspectManagerService32
+          * JDK 5 (not using -javaagent switch) - org.jboss.aop.deployment.AspectManagerService32
+          * JDK 5 (using -javaagent switch) - org.jboss.aop.deployment.AspectManagerService32JDK5
+          * BEA JRockit 1.4.2 - org.jboss.aop.deployment.AspectManagerService32
+   -->
+   <mbean code="org.jboss.aop.deployment.AspectManagerServiceJDK5"
+      name="jboss.aop:service=AspectManager">
+      <attribute name="EnableLoadtimeWeaving">false</attribute>
+      <!-- only relevant when EnableLoadtimeWeaving is true.
+           When transformer is on, every loaded class gets
+           transformed.  If AOP can't find the class, then it
+           throws an exception.  Sometimes, classes may not have
+           all the classes they reference.  So, the Suppressing
+           is needed.  (i.e. Jboss cache in the default configuration -->
+      <attribute name="SuppressTransformationErrors">true</attribute>
+      <attribute name="Prune">true</attribute>
+      <attribute name="Include">org.jboss.test, org.jboss.injbossaop</attribute>
+      <attribute name="Exclude">org.jboss.</attribute>
+      <!-- This avoids instrumentation of hibernate cglib enhanced proxies
+      <attribute name="Ignore">*$$EnhancerByCGLIB$$*</attribute> -->
+      <attribute name="Optimized">true</attribute>
+      <attribute name="Verbose">false</attribute>
+   </mbean>
+
+   <mbean code="org.jboss.aop.deployment.AspectDeployer"
+      name="jboss.aop:service=AspectDeployer">
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/base-aop.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/base-aop.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/base-aop.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE aop PUBLIC
+   "-//JBoss//DTD JBOSS AOP 1.0//EN"
+   "http://labs.jboss.com/portal/jbossaop/dtd/jboss-aop_1_0.dtd">
+
+<aop>
+   <!-- custom configuration for AOP Security -->
+   <metadata-loader tag="security" class="org.jboss.aspects.security.SecurityClassMetaDataLoader"/>
+
+   <stack name="J2EESecurityStack">
+      <interceptor factory="org.jboss.aspects.security.AuthenticationInterceptorFactory" scope="PER_CLASS"/>
+      <interceptor factory="org.jboss.aspects.security.RoleBasedAuthorizationInterceptorFactory" scope="PER_CLASS"/>
+      <interceptor factory="org.jboss.aspects.security.RunAsSecurityInterceptorFactory" scope="PER_CLASS"/>
+   </stack>
+
+   <bind pointcut="all(@security)">
+      <stack-ref name="J2EESecurityStack"/>
+   </bind>
+
+   <bind pointcut="all(@org.jboss.aspects.security.Permissions)">
+      <stack-ref name="J2EESecurityStack"/>
+   </bind>
+
+   <bind pointcut="all(@org.jboss.aspects.security.Unchecked)">
+      <stack-ref name="J2EESecurityStack"/>
+   </bind>
+
+   <bind pointcut="all(@org.jboss.aspects.security.Exclude)">
+      <stack-ref name="J2EESecurityStack"/>
+   </bind>
+
+   <introduction expr="class(@org.jboss.aspects.jmx.MBean)">
+      <mixin>
+         <interfaces>javax.management.DynamicMBean</interfaces>
+         <class>org.jboss.aspects.jmx.JmxIntrospectingMixin</class>
+         <construction>new org.jboss.aspects.jmx.JmxIntrospectingMixin(this)</construction>
+      </mixin>
+   </introduction>
+
+   <!-- asynchronous aspect -->
+   <aspect class="org.jboss.aspects.asynch.AsynchAspect" scope="PER_INSTANCE">
+      <advisor-attribute name="Advisor"/>
+   </aspect>
+
+   <bind pointcut="execution(!static * *->@org.jboss.aspects.asynch.Asynchronous(..))">
+      <advice name="execute" aspect="org.jboss.aspects.asynch.AsynchAspect"/>
+   </bind>
+
+   <introduction expr="has(!static * *->@org.jboss.aspects.asynch.Asynchronous(..))">
+      <mixin>
+         <interfaces>org.jboss.aspects.asynch.AsynchProvider,org.jboss.aspects.asynch.FutureHolder</interfaces>
+         <class>org.jboss.aspects.asynch.AsynchMixin</class>
+      </mixin>
+   </introduction>
+
+   <!-- old asynch aspect from Claude -->
+
+   <aspect class="org.jboss.aspects.asynchronous.aspects.jboss.AsynchronousAspect" scope="PER_VM"/>
+
+   <bind pointcut="execution(* *->@org.jboss.aspects.asynchronous.aspects.jboss.Asynchronous(..))">
+      <advice name="execute" aspect="org.jboss.aspects.asynchronous.aspects.jboss.AsynchronousAspect"/>
+   </bind>
+
+   <introduction expr="has(* *->@org.jboss.aspects.asynchronous.aspects.jboss.Asynchronous(..)) OR class(@org.jboss.aspects.asynchronous.aspects.jboss.Asynchronous)">
+
+      <mixin>
+         <interfaces>
+            org.jboss.aspects.asynchronous.aspects.AsynchronousFacade
+         </interfaces>
+         <class>org.jboss.aspects.asynchronous.aspects.AsynchronousFacadeImpl</class>
+         <construction>new org.jboss.aspects.asynchronous.aspects.AsynchronousFacadeImpl()</construction>
+      </mixin>
+   </introduction>
+
+   <!-- TRANSACTIONS -->
+   <interceptor class="org.jboss.aspects.tx.TxPropagationInterceptor" scope="PER_VM"/>
+   <interceptor factory="org.jboss.aspects.tx.TxInterceptorFactory" scope="PER_CLASS_JOINPOINT"/>
+
+   <bind pointcut="all(@transaction)">
+      <interceptor-ref name="org.jboss.aspects.tx.TxInterceptorFactory"/>
+   </bind>
+
+   <interceptor name="class-txsynchronized" factory="org.jboss.aspects.txlock.TxLockInterceptorFactory" scope="PER_CLASS"/>
+   <interceptor name="instance-txsynchronized" factory="org.jboss.aspects.txlock.TxLockInterceptorFactory" scope="PER_INSTANCE"/>
+
+   <bind pointcut="execution(static * *->@TxSynchronized(..)) OR execution(*->@TxSynchronized(..))">
+      <interceptor-ref name="class-txsynchronized"/>
+   </bind>
+
+   <bind pointcut="execution(!static * *->@TxSynchronized(..))">
+      <interceptor-ref name="instance-txsynchronized"/>
+   </bind>
+
+   <bind pointcut="all(@org.jboss.aspects.tx.Tx)">
+      <interceptor-ref name="org.jboss.aspects.tx.TxInterceptorFactory"/>
+   </bind>
+
+   <bind pointcut="execution(static * *->@org.jboss.aspects.txlock.TxSynchronized(..)) OR execution(*->@org.jboss.aspects.txlock.TxSynchronized(..))">
+      <interceptor-ref name="class-txsynchronized"/>
+   </bind>
+
+   <bind pointcut="execution(!static * *->@org.jboss.aspects.txlock.TxSynchronized(..))">
+      <interceptor-ref name="instance-txsynchronized"/>
+   </bind>
+
+   <!-- injection -->
+   <aspect class="org.jboss.aspects.tx.TransactionInjector"/>
+   <aspect class="org.jboss.aspects.tx.TransactionManagerInjector"/>
+
+   <bind pointcut="field(javax.transaction.Transaction *->@org.jboss.aspects.Current)">
+      <advice name="access" aspect="org.jboss.aspects.tx.TransactionInjector"/>
+   </bind>
+
+   <bind pointcut="field(javax.transaction.TransactionManager *->@org.jboss.aspects.Injected)">
+      <advice name="access" aspect="org.jboss.aspects.tx.TransactionManagerInjector"/>
+   </bind>
+
+   <bind pointcut="execution(*->new(..)) AND hasfield(javax.transaction.TransactionManager *->@org.jboss.aspects.Injected)">
+      <advice name="allocation" aspect="org.jboss.aspects.tx.TransactionManagerInjector"/>
+   </bind>
+
+   <!-- special types -->
+   <aspect class="org.jboss.aspects.ThreadbasedAspect" scope="PER_JOINPOINT"/>
+   <bind pointcut="field(* *->@org.jboss.aspects.Threadbased)">
+      <advice name="access" aspect="org.jboss.aspects.ThreadbasedAspect"/>
+   </bind>
+
+   <aspect class="org.jboss.aspects.tx.TransactionLocalAspect" scope="PER_JOINPOINT"/>
+   <bind pointcut="field(* *->@org.jboss.aspects.tx.TxLocal)">
+      <advice name="access" aspect="org.jboss.aspects.tx.TransactionLocalAspect"/>
+   </bind>
+
+</aop>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/trove.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer/trove.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+   <!--
+      The JBoss Bean Deployer
+   -->
+   <mbean code="org.jboss.kernel.deployment.jboss.JBossBeanDeployer"
+          name="jboss.bean:service=JBossBeanDeployer">
+          
+      <attribute name="Extension">.beans</attribute>
+      <attribute name="MetaDataURL">META-INF/jboss-beans.xml</attribute>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-bean-deployer.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-bean-deployer.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-container.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-container.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-dependency.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-dependency.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-microcontainer.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-bean.deployer/jboss-microcontainer.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-ha-local-jdbc.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-ha-local-jdbc.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-ha-xa-jdbc.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-ha-xa-jdbc.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-local-jdbc.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-local-jdbc.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: jboss-service.xml 60489 2007-02-12 08:22:28Z scott.stark at jboss.org $ -->
+<server> 
+   
+   <!-- JBossWeb Service-->
+   <mbean code="org.jboss.web.tomcat.service.JBossWeb"
+      name="jboss.web:service=WebServer" xmbean-dd="META-INF/webserver-xmbean.xml">
+      
+      <!-- You can configure a set of authenticators keyed by http-auth method used. This
+      will apply the same set of authenticators across all web applications. You can
+      override the set of authenticators at the web application level by adding
+      <authenticators> element to the respective jboss-web.xml --> 
+      <!--
+      -->
+      <attribute name="Authenticators" serialDataType="jbxb">
+         <java:properties xmlns:java="urn:jboss:java-properties"
+            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+            xs:schemaLocation="urn:jboss:java-properties resource:java-properties_1_0.xsd">
+            <java:property>
+               <java:key>BASIC</java:key>
+               <java:value>org.apache.catalina.authenticator.BasicAuthenticator</java:value>
+            </java:property>
+            <java:property>
+               <java:key>CLIENT-CERT</java:key>
+               <java:value>org.apache.catalina.authenticator.SSLAuthenticator</java:value>
+            </java:property>
+            <java:property>
+               <java:key>DIGEST</java:key>
+               <java:value>org.apache.catalina.authenticator.DigestAuthenticator</java:value>
+            </java:property>
+            <java:property>
+               <java:key>FORM</java:key>
+               <java:value>org.apache.catalina.authenticator.FormAuthenticator</java:value>
+            </java:property> 
+            <java:property>
+               <java:key>NONE</java:key>
+               <java:value>org.apache.catalina.authenticator.NonLoginAuthenticator</java:value>
+            </java:property> 
+         </java:properties>
+      </attribute> 
+	   
+      <!-- The JAAS security domain to use in the absense of an explicit
+      security-domain specification in the war WEB-INF/jboss-web.xml
+      -->
+      <attribute name="DefaultSecurityDomain">java:/jaas/other</attribute>
+
+      <!-- Get the flag indicating if the normal Java2 parent first class
+           loading model should be used over the servlet 2.3 web container first
+           model.
+      -->
+      <attribute name="Java2ClassLoadingCompliance">false</attribute>
+      <!-- A flag indicating if the JBoss Loader should be used. This loader
+           uses a unified class loader as the class loader rather than the tomcat
+           specific class loader.
+           The default is false to ensure that wars have isolated class loading
+           for duplicate jars and jsp files.
+      -->
+      <attribute name="UseJBossWebLoader">false</attribute>
+      <!-- The list of package prefixes that should not be loaded without
+         delegating to the parent class loader before trying the web app
+         class loader. The packages listed here are those tha are used by
+         the web container implementation and cannot be overriden. The format
+         is a comma separated list of the package names. There cannot be any
+         whitespace between the package prefixes.
+         This setting only applies when UseJBossWebLoader=false.
+      -->
+      <attribute name="FilteredPackages">javax.servlet</attribute>
+
+      <attribute name="LenientEjbLink">true</attribute>
+
+      <!--Flag to delete the Work Dir on Context Destroy -->
+      <attribute name="DeleteWorkDirOnContextDestroy">false</attribute>
+
+      <!--
+          Class of the session manager (used if context is marked as 'distributable'. Currently allowed values:
+          - org.jboss.web.tomcat.service.session.JBossCacheManager
+      -->
+      <attribute name="ManagerClass">org.jboss.web.tomcat.service.session.JBossCacheManager</attribute>
+
+      <!-- The name of the request attribute under with the authenticated JAAS
+      Subject is stored on successful authentication. If null or empty then
+      the Subject will not be stored.
+      -->
+      <!--
+      <attribute name="SubjectAttributeName">j_subject</attribute>
+      -->
+
+      <!-- The SessionIdAlphabet is the set of characters used to create a session Id
+           It must be made up of exactly 65 unique characters
+      <attribute name="SessionIdAlphabet">ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-*</attribute>
+      -->
+
+      <!--
+      *******************************************************
+      ****************** CLUSTERING *************************
+      *******************************************************
+      In order to activate HTTP Session clustering for Tomcat
+      make sure you run JBoss's "all" configuration i.e.
+      "run -c all"
+      (the default configuration doesn't contain clustering)
+ 
+      Furthermore, you may change SnapshotMode and
+      SnapshotInterval attributes below to indicate when to
+      synchronize changes with the other node(s).   
+
+      If you use Apache+mod_jk(2) you will most probably use
+      the AJP1.3 connector below. Thus, if you so wish,
+      you may comment (i.e. deactivate) the HTTP connector
+      as it won't be used anymore.
+
+      *******************************************************
+      *******************************************************
+      *******************************************************
+      --> 
+		
+      <!--
+      If you are using clustering, the following two attributes
+      define when the sessions are replicated to the other nodes.
+      The default value, "instant", synchronously replicates changes
+      to the other nodes at the end of requests. In this case, the 
+      "SnapshotInterval" attribute is not used.
+      The "interval" mode, in association with the "SnapshotInterval"
+      attribute, indicates that modified sessions will only be replicated
+      every "SnapshotInterval" milliseconds at most.
+		
+      Note that this attribute is not in effect if the replication-granularity
+      is set to FIELD. If it is FIELD, it will be per http request (that is, 
+      "instant" mode.)
+      --> 
+      <attribute name="SnapshotMode">instant</attribute> <!-- you may switch to "interval" -->
+      <attribute name="SnapshotInterval">2000</attribute>
+
+      <!--
+      Whether to use MOD_JK(2) for load balancing with sticky session 
+      combined with JvmRoute. If set to true, it will insert a JvmRouteFilter 
+      to intercept every request and replace the JvmRoute if it detects a 
+      failover. In addition, you will need to set the JvmRoute inside
+      Tomcat, e.g.,
+        Engine name="jboss.web" jmvRoute="Node1" defaultHost="localhost" 
+      in server.xml.
+
+      For clustering purpose only.
+      -->
+      <attribute name="UseJK">false</attribute>
+
+      <attribute name="Domain">jboss.web</attribute>
+
+      <!-- A mapping to the server security manager service which must be
+      operation compatible with type
+      org.jboss.security.plugins.JaasSecurityManagerServiceMBean. This is only
+      needed if web applications are allowed to flush the security manager
+      authentication cache when the web sessions invalidate.
+      -->
+      <depends optional-attribute-name="SecurityManagerService"
+         proxy-type="attribute">jboss.security:service=JaasSecurityManager
+      </depends>
+
+      <!--
+         Needed if using HTTP Session Clustering or if the
+         ClusteredSingleSignOn valve is enabled in the tomcat server.xml file
+      -->
+      <!--
+      <depends>jboss.cache:service=TomcatClusteringCache</depends>
+      -->
+      
+      <depends>jboss:service=TransactionManager</depends>
+      
+      <!-- Only needed if the org.jboss.web.tomcat.service.jca.CachedConnectionValve
+      is enabled in the tomcat server.xml file.
+      -->
+      <depends>jboss.jca:service=CachedConnectionManager</depends>
+      
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/META-INF/webserver-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/META-INF/webserver-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/META-INF/webserver-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">
+<!--
+   JBoss Web XMBean descriptor
+   
+   $Id: webserver-xmbean.xml 59833 2007-01-19 15:45:42Z dimitris at jboss.org $
+-->
+<mbean>
+   <description>The JBoss Web Deployer responsible for war deployment</description>
+   <descriptors>
+     <interceptors>
+       <!-- comment out DynamicInterceptor to disable dynamic addition of interceptors -->
+       <interceptor code="org.jboss.mx.interceptor.DynamicInterceptor"/>
+     </interceptors>
+   </descriptors>
+   <class>org.jboss.web.tomcat.service.JBossWeb</class>
+   
+  <!-- JBossWebMBean attributes -->
+  
+   <attribute access="read-write" getMethod="getAuthenticators" setMethod="setAuthenticators">
+     <name>Authenticators</name>
+     <type>java.util.Properties</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getUseJBossWebLoader" setMethod="setUseJBossWebLoader">
+     <name>UseJBossWebLoader</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getAllowSelfPrivilegedWebApps" setMethod="setAllowSelfPrivilegedWebApps">
+     <name>AllowSelfPrivilegedWebApps</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getDeleteWorkDirOnContextDestroy" 
+    setMethod="setDeleteWorkDirOnContextDestroy">
+     <name>DeleteWorkDirOnContextDestroy</name>
+     <type>boolean</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getHttpHeaderForSSOAuth" 
+    setMethod="setHttpHeaderForSSOAuth">
+     <name>HttpHeaderForSSOAuth</name>
+     <type>java.lang.String</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getSessionCookieForSSOAuth" 
+    setMethod="setSessionCookieForSSOAuth">
+     <name>SessionCookieForSSOAuth</name>
+     <type>java.lang.String</type>
+   </attribute>
+	
+   <attribute access="read-write" getMethod="getSubjectAttributeName" setMethod="setSubjectAttributeName">
+     <name>SubjectAttributeName</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getCacheName" setMethod="setCacheName">
+     <name>CacheName</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getUnpackWars" setMethod="setUnpackWars">
+     <name>UnpackWars</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getAcceptNonWarDirs" setMethod="setAcceptNonWarDirs">
+     <name>AcceptNonWarDirs</name>
+     <type>boolean</type>
+   </attribute>
+   
+   <attribute access="read-write" getMethod="getConfig" setMethod="setConfig">
+     <name>Config</name>
+     <type>org.w3c.dom.Element</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getLenientEjbLink" setMethod="setLenientEjbLink">
+     <name>LenientEjbLink</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="isUseJK" setMethod="setUseJK">
+     <name>UseJK</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getDomain" setMethod="setDomain">
+     <name>Domain</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getFilteredPackages" setMethod="setFilteredPackages">
+     <name>FilteredPackages</name>
+     <type>[Ljava.lang.String;</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getJava2ClassLoadingCompliance" setMethod="setJava2ClassLoadingCompliance">
+     <name>Java2ClassLoadingCompliance</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getDefaultSecurityDomain" setMethod="setDefaultSecurityDomain">
+     <name>DefaultSecurityDomain</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getSnapshotMode" setMethod="setSnapshotMode">
+     <name>SnapshotMode</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getSnapshotInterval" setMethod="setSnapshotInterval">
+     <name>SnapshotInterval</name>
+     <type>int</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getConfigFile" setMethod="setConfigFile">
+     <name>ConfigFile</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getUseLocalCache" setMethod="setUseLocalCache">
+     <name>UseLocalCache</name>
+     <type>boolean</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getSessionIdAlphabet" setMethod="setSessionIdAlphabet">
+     <name>SessionIdAlphabet</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getContextMBeanCode" setMethod="setContextMBeanCode">
+     <name>ContextMBeanCode</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getManagerClass" setMethod="setManagerClass">
+     <name>ManagerClass</name>
+     <type>java.lang.String</type>
+   </attribute>
+
+   <attribute access="read-only" getMethod="getDeployedApplications">
+     <name>DeployedApplications</name>
+     <type>java.util.Iterator</type>
+   </attribute>
+
+   <attribute access="write-only" setMethod="setSecurityManagerService">
+     <name>SecurityManagerService</name>
+     <type>org.jboss.security.plugins.JaasSecurityManagerServiceMBean</type>
+   </attribute>
+   
+   <!-- SubDeployerExt attribute -->
+   <attribute access="read-write" getMethod="getEnhancedSuffixes" setMethod="setEnhancedSuffixes">
+      <description>Allow the override of supported suffixes and relative order</description>
+      <name>EnhancedSuffixes</name>
+      <type>[Ljava.lang.String;</type>
+   </attribute>
+         
+   &deployerAttributes;
+   &defaultAttributes;
+
+  <!-- JBossWebMBean operations -->
+   <operation>
+     <description>See if a war is deployed</description>
+     <name>isDeployed</name>
+     <parameter>
+       <name>warUrl</name>
+       <type>java.lang.String</type>
+     </parameter>
+     <return-type>boolean</return-type>
+   </operation>
+
+   <operation>
+     <description>Start all connectors of the Domain</description>
+     <name>startConnectors</name>
+   </operation>
+
+   <operation>
+     <description>Stop all connectors of the Domain</description>
+     <name>stopConnectors</name>
+   </operation>
+      
+   &deployerOperations;   
+   &defaultOperations;
+   &interceptable;    
+   
+</mbean>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app
+    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+    "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+  <display-name>Welcome to JBoss</display-name>
+  <description>
+     Welcome to JBoss
+  </description>
+  <servlet>
+    <servlet-name>Status Servlet</servlet-name>
+    <servlet-class>org.jboss.web.tomcat.service.StatusServlet</servlet-class>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>Status Servlet</servlet-name>
+    <url-pattern>/status</url-pattern>
+  </servlet-mapping>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/favicon.ico
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/favicon.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/index.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/index.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/index.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+   <title>Welcome to JBoss&trade;</title>
+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+   <link rel="StyleSheet" href="jboss.css" type="text/css"/>
+</head>
+
+<body>
+<!-- header begin -->
+   <a href="http://www.jboss.org">
+      <img src="logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+   </a>
+   <div id="header">&nbsp;</div>
+   <div id="navigation_bar"></div>
+<!-- header end -->
+
+   <h3>JBoss Online Resources</h3>
+   <ul>
+      <li><a href="http://www.jboss.org/products/jbossas/docs">JBoss Documentation</a></li>
+      <li><a href="http://wiki.jboss.org/">JBoss Wiki</a></li>
+      <li><a href="http://jira.jboss.org/">JBoss JIRA</a></li>      
+      <li><a href="http://www.jboss.org/index.html?module=bb">JBoss Forums</a></li>
+   </ul>
+
+   <h3>JBoss Management</h3>
+   <ul>
+      <li><a href="/status">Tomcat status</a>
+          <a href="/status?full=true">(full)</a>
+          <a href="/status?XML=true">(XML)</a></li>
+      <li><a href="/jmx-console/">JMX Console</a></li>
+      <li><a href="/web-console/">JBoss Web Console</a></li>
+   </ul>
+
+<!-- footer begin -->
+   <div id="footer">
+      <div id="credits">JBoss&trade; Application Server</div>
+      <div id="footer_bar">&nbsp;</div>
+   </div>
+<!-- footer end -->
+</body>
+
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/jboss.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/jboss.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/jboss.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,143 @@
+body {
+	margin: 13px 0px 10px 0px;
+	background-color: #ffffff;
+	font-size: 10px;
+	font-family: verdana, arial, "sans-serif";
+	color: #606060;
+	}
+img {
+	border: 0px;
+	}
+#header {
+	background-color: #003D6E;
+	background-repeat: no-repeat;
+	width: 100%;
+	height: 80px;
+	}
+#header #banner {
+	float: right;
+	margin: 8px 5px 0px 0px;
+	}
+#logo {
+	position: absolute;
+	top: 2px;
+	left: 4px;
+	z-index: 200;
+}
+#navigation_bar {
+	background-color: #f0f0f0;
+	border-bottom: 1px dotted #999999;
+	height: 20px;
+	}
+#items {
+	font-size: 12px;
+	width: 600px;
+	margin: 5px 5px 5px 170px;
+	position: relative;
+	z-index: 300;
+	}
+#items .item {
+	margin-right: 10px;
+	}
+.side_block {
+	margin: 15px 5px 10px 5px;
+	background-color: #fbfbfb;
+	border: 1px solid #f0f0f0;
+	}
+.side_block h3 {
+	font-size: 11px;
+	font-weight: 100;
+	width: 100%;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 10x;
+	background-color: #f0f0f0;
+	}
+.side_block h4 {
+	font-size: 11px;
+	color: #003D6E;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+	}
+.side_block p {
+	margin: 5px 5px 3px 5px;
+	}
+.side_block form {
+	margin: 0px 0px 0px 5px;
+	}
+.side_block #login {
+	font-size: 9px;
+	}
+.side_block p img {
+	text-align: center;
+	}
+#content {
+	width: 90%; 
+	margin: 10px auto;
+	}
+#left {
+	float: left;
+	width: 14%;
+	}
+#right {
+	float: right;
+	width: 14%;
+	}
+.content_block {
+	text-align: justify;
+	border: 1px solid #999999;
+	margin: 5px;
+	width: 31%;
+	float: left;
+	}
+.content_block p {
+	margin: 0px 5px 3px 5px;
+	}
+.content_block h3 {
+	font-size: 11px;
+	font-weight: bold;
+	color: #000000;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 4x;
+	text-align: center;
+	background-color: #f0f0f0;
+	border-bottom: 1px solid #999999
+	}
+.content_block h4 {
+	font-size: 11px;
+	color: #003D6E;
+	text-align: left;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+	}
+#footer {
+	clear: both;
+	border-top: 1px dotted #999999;
+	}
+#credits {
+	background-color: #f0f0f0;
+	padding: 5px;
+	text-align: center;
+	}
+#footer_bar {
+	height: 20px;
+	width: 100%;
+	background-color: #003D6E;
+	}
+.hide {
+	display: none;
+	}
+.spacer {
+	clear: both;
+	}
+.spacer hr {
+	display: none;
+	}
+.center {
+	text-align: center;
+	}
+#youcandoit {
+	background-image: url("youcandoit.jpg");
+	background-repeat: repeat-x;
+	height: 165px;
+	margin: 0px 30px 0px 30px;
+	}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/manager/xform.xsl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/manager/xform.xsl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/ROOT.war/manager/xform.xsl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  version="1.0">
+
+  <!-- Output method -->
+  <xsl:output encoding="iso-8859-1"
+              indent="no"/>
+
+  <xsl:template match="status">
+    <html>
+    <head>
+    	<TITLE>Tomcat Status</TITLE>
+		<STYLE type="text/css">
+			body, table, tr, td, a, div, span {
+				vertical-align : top;
+			}
+		</STYLE>
+    </head>
+    <body>
+      <div style='font-size:20px;'>Tomcat Status</div>
+
+      <xsl:apply-templates select="jvm"/>
+      <xsl:apply-templates select="connector"/>
+     </body>
+    </html>
+  </xsl:template>
+
+  <xsl:template match="jvm">
+   <xsl:apply-templates select="memory"/>
+  </xsl:template>
+
+  <xsl:template match="memory">
+    <table><tr>
+    		 <td><b>JVM:</b></td>
+    		 <td><b>free:</b> <xsl:value-of select="@free"/></td>
+    		 <td><b>total:</b> <xsl:value-of select="@total"/></td>
+    		 <td><b>max:</b> <xsl:value-of select="@max"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="connector">
+	 <b>Connector -- </b> <xsl:value-of select="@name"/><br />
+
+  	<xsl:apply-templates select="threadInfo"/>
+  	<xsl:apply-templates select="requestInfo"/>
+  	<xsl:apply-templates select="workers"/>
+  </xsl:template>
+
+  <xsl:template match="threadInfo">
+    <table><tr>
+    		 <td><b>threadInfo </b></td>
+    		 <td><b>maxThreads:</b> <xsl:value-of select="@maxThreads"/></td>
+    		 <td><b>minSpareThreads:</b> <xsl:value-of select="@minSpareThreads"/></td>
+    		 <td><b>maxSpareThreads:</b> <xsl:value-of select="@maxSpareThreads"/></td>
+    		 <td><b>currentThreadCount:</b> <xsl:value-of select="@currentThreadCount"/></td>
+    		 <td><b>currentThreadsBusy:</b> <xsl:value-of select="@currentThreadsBusy"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="requestInfo">
+    <table><tr>
+    		 <td><b>requestInfo </b></td>
+    		 <td><b>maxTime:</b> <xsl:value-of select="@maxTime"/></td>
+    		 <td><b>processingTime:</b> <xsl:value-of select="@processingTime"/></td>
+    		 <td><b>requestCount:</b> <xsl:value-of select="@requestCount"/></td>
+    		 <td><b>errorCount:</b> <xsl:value-of select="@errorCount"/></td>
+    		 <td><b>bytesReceived:</b> <xsl:value-of select="@bytesReceived"/></td>
+    		 <td><b>bytesSent:</b> <xsl:value-of select="@bytesSent"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="workers">
+   <table>
+    <tr><th>Stage</th><th>Time</th><th>B Sent</th><th>B Recv</th><th>Client</th><th>VHost</th><th>Request</th></tr>
+  	<xsl:apply-templates select="worker"/>
+
+   </table><hr />
+  </xsl:template>
+
+  <xsl:template match="worker">
+   <tr>
+    <td><xsl:value-of select="@stage"/></td>
+    <td><xsl:value-of select="@requestProcessingTime"/></td>
+    <td><xsl:value-of select="@requestBytesSent"/></td>
+    <td><xsl:value-of select="@requestBytesReceived"/></td>
+    <td><xsl:value-of select="@remoteAddr"/></td>
+    <td><xsl:value-of select="@virtualHost"/></td>
+    <td><xsl:value-of select="@method"/> <xsl:value-of select="@currentUri"/>?<xsl:value-of select="@currentQueryString"/> <xsl:value-of select="@protocol"/></td>
+   </tr>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/conf/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/conf/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/conf/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1248 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+    version="2.4">
+
+  <!-- ======================== Introduction ============================== -->
+  <!-- This document defines default values for *all* web applications      -->
+  <!-- loaded into this instance of Tomcat.  As each application is         -->
+  <!-- deployed, this file is processed, followed by the                    -->
+  <!-- "/WEB-INF/web.xml" deployment descriptor from your own               -->
+  <!-- applications.                                                        -->
+  <!--                                                                      -->
+  <!-- WARNING:  Do not configure application-specific resources here!      -->
+  <!-- They should go in the "/WEB-INF/web.xml" file in your application.   -->
+
+  <!-- =========== Common Context Params ================================== -->
+  <!-- JBossInjectionProvider provides resource injection for managed beans. -->
+  <!-- See JSF 1.2 spec section 5.4 for details.                             -->
+  <context-param>
+    <param-name>com.sun.faces.injectionProvider</param-name>
+    <param-value>org.jboss.web.jsf.integration.injection.JBossInjectionProvider</param-value>
+  </context-param>
+
+   <!-- ================== Common filter Configuration ==================== -->
+   <filter>
+      <filter-name>CommonHeadersFilter</filter-name>
+      <filter-class>org.jboss.web.tomcat.filters.ReplyHeaderFilter</filter-class>
+      <init-param>
+         <param-name>X-Powered-By</param-name>
+         <param-value>Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5</param-value>
+      </init-param>
+   </filter>
+
+   <filter-mapping>
+      <filter-name>CommonHeadersFilter</filter-name>
+      <url-pattern>/*</url-pattern>
+   </filter-mapping>
+   
+   <!-- JBAS-4752: This filter should be enabled when authentication cache   -->
+   <!-- must be flushed as soon as the http sessions expire.                 -->
+   
+   <!--
+   <filter>
+      <filter-name>PrincipalSessionAttributeFilter</filter-name>
+      <filter-class>org.jboss.web.tomcat.security.PrincipalSessionAttributeFilter</filter-class>
+   </filter>
+
+   <filter-mapping>
+      <filter-name>PrincipalSessionAttributeFilter</filter-name>
+      <url-pattern>/*</url-pattern>
+   </filter-mapping>
+   -->
+
+   <!-- ================== Common Listener Configuration ==================== -->
+   <listener>
+      <listener-class>org.jboss.web.tomcat.security.SecurityFlushSessionListener</listener-class>
+   </listener>
+
+   <!-- Configures JSF for a web application if the javax.faces.webapp.FacesServlet is declared -->
+   <!-- in web.xml.                                                                             -->
+   <listener>
+     <listener-class>org.jboss.web.jsf.integration.config.JBossJSFConfigureListener</listener-class>
+   </listener>
+
+   <!-- Listens to all web app lifecycle events so that @PreDestroy can be called on -->
+   <!-- JSF managed beans that go out of scope.  You can comment this out if you     -->
+   <!-- don't use JSF or you don't use annotations on your managed beans.            -->
+   <listener>
+     <listener-class>com.sun.faces.application.WebappLifecycleListener</listener-class>
+   </listener>
+
+
+  <!-- ================== Built In Servlet Definitions ==================== -->
+
+
+  <!-- The default servlet for all web applications, that serves static     -->
+  <!-- resources.  It processes all requests that are not mapped to other   -->
+  <!-- servlets with servlet mappings (defined either here or in your own   -->
+  <!-- web.xml file.  This servlet supports the following initialization    -->
+  <!-- parameters (default values are in square brackets):                  -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   fileEncoding        Encoding to be used to read static resources   -->
+  <!--                       [platform default]                             -->
+  <!--                                                                      -->
+  <!--   input               Input buffer size (in bytes) when reading      -->
+  <!--                       resources to be served.  [2048]                -->
+  <!--                                                                      -->
+  <!--   listings            Should directory listings be produced if there -->
+  <!--                       is no welcome file in this directory?  [false] -->
+  <!--                       WARNING: Listings for directories with many    -->
+  <!--                       entries can be slow and may consume            -->
+  <!--                       significant proportions of server resources.   -->
+  <!--                                                                      -->
+  <!--   output              Output buffer size (in bytes) when writing     -->
+  <!--                       resources to be served.  [2048]                -->
+  <!--                                                                      -->
+  <!--   readonly            Is this context "read only", so HTTP           -->
+  <!--                       commands like PUT and DELETE are               -->
+  <!--                       rejected?  [true]                              -->
+  <!--                                                                      -->
+  <!--   readmeFile          File name to display with the directory        -->
+  <!--                       contents. [null]                               -->
+  <!--                                                                      -->
+  <!--   sendfileSize        If the connector used supports sendfile, this  -->
+  <!--                       represents the minimal file size in KB for     -->
+  <!--                       which sendfile will be used. Use a negative    -->
+  <!--                       value to always disable sendfile.  [48]        -->
+  <!--                                                                      -->
+  <!--  For directory listing customization. Checks localXsltFile, then     -->
+  <!--  globalXsltFile, then defaults to original behavior.                 -->
+  <!--                                                                      -->
+  <!--   localXsltFile       Make directory listings an XML doc and         -->
+  <!--                       pass the result to this style sheet residing   -->
+  <!--                       in that directory. This overrides              -->
+  <!--                        globalXsltFile[null]                          -->
+  <!--                                                                      -->
+  <!--   globalXsltFile      Site wide configuration version of             -->
+  <!--                       localXsltFile This argument is expected        -->
+  <!--                       to be a physical file. [null]                  -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+
+    <servlet>
+        <servlet-name>default</servlet-name>
+        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <init-param>
+            <param-name>listings</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+
+  <!-- The "invoker" servlet, which executes anonymous servlet classes      -->
+  <!-- that have not been defined in a web.xml file.  Traditionally, this   -->
+  <!-- servlet is mapped to the URL pattern "/servlet/*", but you can map   -->
+  <!-- it to other patterns as well.  The extra path info portion of such a -->
+  <!-- request must be the fully qualified class name of a Java class that  -->
+  <!-- implements Servlet (or extends HttpServlet), or the servlet name     -->
+  <!-- of an existing servlet definition.     This servlet supports the     -->
+  <!-- following initialization parameters (default values are in square    -->
+  <!-- brackets):                                                           -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+
+<!--
+    <servlet>
+        <servlet-name>invoker</servlet-name>
+        <servlet-class>
+          org.apache.catalina.servlets.InvokerServlet
+        </servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <load-on-startup>2</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- The JSP page compiler and execution servlet, which is the mechanism  -->
+  <!-- used by Tomcat to support JSP pages.  Traditionally, this servlet    -->
+  <!-- is mapped to the URL pattern "*.jsp".  This servlet supports the     -->
+  <!-- following initialization parameters (default values are in square    -->
+  <!-- brackets):                                                           -->
+  <!--                                                                      -->
+  <!--   checkInterval       If development is false and checkInterval is   -->
+  <!--                       greater than zero, background compilations are -->
+  <!--                       enabled. checkInterval is the time in seconds  -->
+  <!--                       between checks to see if a JSP page needs to   -->
+  <!--                       be recompiled. [0]                             -->
+  <!--                                                                      -->
+  <!--   modificationTestInterval                                           -->
+  <!--                       Causes a JSP (and its dependent files) to not  -->
+  <!--                       be checked for modification during the         -->
+  <!--                       specified time interval (in seconds) from the  -->
+  <!--                       last time the JSP was checked for              -->
+  <!--                       modification. A value of 0 will cause the JSP  -->
+  <!--                       to be checked on every access.                 -->
+  <!--                       Used in development mode only. [4]             -->
+  <!--                                                                      -->
+  <!--   compiler            Which compiler Ant should use to compile JSP   -->
+  <!--                       pages.  See the Ant documentation for more     -->
+  <!--                       information.                                   -->
+  <!--                                                                      -->
+  <!--   classdebuginfo      Should the class file be compiled with         -->
+  <!--                       debugging information?  [true]                 -->
+  <!--                                                                      -->
+  <!--   classpath           What class path should I use while compiling   -->
+  <!--                       generated servlets?  [Created dynamically      -->
+  <!--                       based on the current web application]          -->
+  <!--                                                                      -->
+  <!--   development         Is Jasper used in development mode? If true,   -->
+  <!--                       the frequency at which JSPs are checked for    -->
+  <!--                       modification may be specified via the          -->
+  <!--                       modificationTestInterval parameter. [true]     -->
+  <!--                                                                      -->
+  <!--   enablePooling       Determines whether tag handler pooling is      -->
+  <!--                       enabled  [true]                                -->
+  <!--                                                                      -->
+  <!--   fork                Tell Ant to fork compiles of JSP pages so that -->
+  <!--                       a separate JVM is used for JSP page compiles   -->
+  <!--                       from the one Tomcat is running in. [true]      -->
+  <!--                                                                      -->
+  <!--   ieClassId           The class-id value to be sent to Internet      -->
+  <!--                       Explorer when using <jsp:plugin> tags.         -->
+  <!--                       [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93]   -->
+  <!--                                                                      -->
+  <!--   javaEncoding        Java file encoding to use for generating java  -->
+  <!--                       source files. [UTF8]                           -->
+  <!--                                                                      -->
+  <!--   keepgenerated       Should we keep the generated Java source code  -->
+  <!--                       for each page instead of deleting it? [true]   -->
+  <!--                                                                      -->
+  <!--   mappedfile          Should we generate static content with one     -->
+  <!--                       print statement per input line, to ease        -->
+  <!--                       debugging?  [true]                             -->
+  <!--                                                                      -->
+  <!--   trimSpaces          Should white spaces in template text between   -->
+  <!--                       actions or directives be trimmed?  [false]     -->
+  <!--                                                                      -->
+  <!--   suppressSmap        Should the generation of SMAP info for JSR45   -->
+  <!--                       debugging be suppressed?  [false]              -->
+  <!--                                                                      -->
+  <!--   dumpSmap            Should the SMAP info for JSR45 debugging be    -->
+  <!--                       dumped to a file? [false]                      -->
+  <!--                       False if suppressSmap is true                  -->
+  <!--                                                                      -->
+  <!--   genStrAsCharArray   Should text strings be generated as char       -->
+  <!--                       arrays, to improve performance in some cases?  -->
+  <!--                       [false]                                        -->
+  <!--                                                                      -->
+  <!--   errorOnUseBeanInvalidClassAttribute                                -->
+  <!--                       Should Jasper issue an error when the value of -->
+  <!--                       the class attribute in an useBean action is    -->
+  <!--                       not a valid bean class?  [true]                -->
+  <!--                                                                      -->
+  <!--   scratchdir          What scratch directory should we use when      -->
+  <!--                       compiling JSP pages?  [default work directory  -->
+  <!--                       for the current web application]               -->
+  <!--                                                                      -->
+  <!--   xpoweredBy          Determines whether X-Powered-By response       -->
+  <!--                       header is added by generated servlet  [false]  -->
+  <!--                                                                      -->
+  <!--   compilerTargetVM    Compiler target VM                             -->  
+  <!--                       default is System.properties                   -->
+  <!--                        java.specification.version > 1.4              -->
+  <!--                        [1.5] else [1.4]                              -->
+  <!--                                                                      -->
+  <!--   compilerSourceVM    Compiler source VM                             -->
+  <!--                       default is System.properties                   -->
+  <!--                        java.specification.version > 1.4              -->
+  <!--                        [1.5] else [1.4]                              -->
+  <!--                                                                      -->
+  <!-- If you wish to use Jikes to compile JSP pages:                       -->
+  <!--   Please see the "Using Jikes" section of the Jasper-HowTo           -->
+  <!--   page in the Tomcat documentation.                                  -->
+
+    <servlet>
+        <servlet-name>jsp</servlet-name>
+        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
+        <init-param>
+            <param-name>fork</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <init-param>
+            <param-name>xpoweredBy</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <init-param>
+         <param-name>compilerSourceVM</param-name>
+         <param-value>1.5</param-value>
+        </init-param>
+        <!-- Use a custom options class to allow the shared tag lib descriptors
+         to be loaded from jars in the tomcat sar conf/tlds directory. The
+         standard options implementation can only find taglibs based on the
+         class loader classpath.
+        -->
+        <init-param>
+           <param-name>engineOptionsClass</param-name>
+           <param-value>org.jboss.web.tomcat.service.jasper.JspServletOptions</param-value>
+        </init-param>
+        <!-- Specify the jars relative to the jbossweb-tomcat6.sar that should
+          be scanned for common tag lib descriptors to include in every war
+          deployment.
+        -->
+        <init-param>
+           <description>JSF standard tlds</description>
+           <param-name>tagLibJar0</param-name>
+           <param-value>jsf-libs/jsf-impl.jar</param-value>
+        </init-param>
+        <init-param>
+           <description>JSTL standard tlds</description>
+           <param-name>tagLibJar1</param-name>
+           <param-value>jstl.jar</param-value>
+        </init-param>
+
+        <load-on-startup>3</load-on-startup>
+    </servlet>
+
+
+  <!-- NOTE: An SSI Filter is also available as an alternative SSI          -->
+  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
+  <!--                                                                      -->
+  <!-- Server Side Includes processing servlet, which processes SSI         -->
+  <!-- directives in HTML pages consistent with similar support in web      -->
+  <!-- servers like Apache.  Traditionally, this servlet is mapped to the   -->
+  <!-- URL pattern "*.shtml".  This servlet supports the following          -->
+  <!-- initialization parameters (default values are in square brackets):   -->
+  <!--                                                                      -->
+  <!--   buffered            Should output from this servlet be buffered?   -->
+  <!--                       (0=false, 1=true)  [0]                         -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   expires             The number of seconds before a page with SSI   -->
+  <!--                       directives will expire.  [No default]          -->
+  <!--                                                                      -->
+  <!--   isVirtualWebappRelative                                            -->
+  <!--                       Should "virtual" paths be interpreted as       -->
+  <!--                       relative to the context root, instead of       -->
+  <!--                       the server root?  (0=false, 1=true) [0]        -->
+  <!--                                                                      -->
+  <!--   inputEncoding       The encoding to assume for SSI resources if    -->
+  <!--                       one is not available from the resource.        -->
+  <!--                       [Platform default]                             -->
+  <!--                                                                      -->
+  <!--   outputEncoding      The encoding to use for the page that results  -->
+  <!--                       from the SSI processing. [UTF-8]               -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the SSI servlet, you also need to rename the       -->
+  <!--            $CATALINA_HOME/server/lib/servlets-ssi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-ssi.jar             -->
+
+<!--
+    <servlet>
+        <servlet-name>ssi</servlet-name>
+        <servlet-class>
+          org.apache.catalina.ssi.SSIServlet
+        </servlet-class>
+        <init-param>
+          <param-name>buffered</param-name>
+          <param-value>1</param-value>
+        </init-param>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>expires</param-name>
+          <param-value>666</param-value>
+        </init-param>
+        <init-param>
+          <param-name>isVirtualWebappRelative</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <load-on-startup>4</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- Common Gateway Includes (CGI) processing servlet, which supports     -->
+  <!-- execution of external applications that conform to the CGI spec      -->
+  <!-- requirements.  Typically, this servlet is mapped to the URL pattern  -->
+  <!-- "/cgi-bin/*", which means that any CGI applications that are         -->
+  <!-- executed must be present within the web application.  This servlet   -->
+  <!-- supports the following initialization parameters (default values     -->
+  <!-- are in square brackets):                                             -->
+  <!--                                                                      -->
+  <!--   cgiPathPrefix        The CGI search path will start at             -->
+  <!--                        webAppRootDir + File.separator + this prefix. -->
+  <!--                        [WEB-INF/cgi]                                 -->
+  <!--                                                                      -->
+  <!--   debug                Debugging detail level for messages logged    -->
+  <!--                        by this servlet.  [0]                         -->
+  <!--                                                                      -->
+  <!--   executable           Name of the exectuable used to run the        -->
+  <!--                        script. [perl]                                -->
+  <!--                                                                      -->
+  <!--   parameterEncoding    Name of parameter encoding to be used with    -->
+  <!--                        CGI servlet.                                  -->
+  <!--                        [System.getProperty("file.encoding","UTF-8")] -->
+  <!--                                                                      -->
+  <!--   passShellEnvironment Should the shell environment variables (if    -->
+  <!--                        any) be passed to the CGI script? [false]     -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the CGI servlet, you also need to rename the       -->
+  <!--            $CATALINA_HOME/server/lib/servlets-cgi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-cgi.jar             -->
+
+<!--
+    <servlet>
+        <servlet-name>cgi</servlet-name>
+        <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>cgiPathPrefix</param-name>
+          <param-value>WEB-INF/cgi</param-value>
+        </init-param>
+         <load-on-startup>5</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- ================ Built In Servlet Mappings ========================= -->
+
+
+  <!-- The servlet mappings for the built in servlets defined above.  Note  -->
+  <!-- that, by default, the CGI and SSI servlets are *not* mapped.  You    -->
+  <!-- must uncomment these mappings (or add them to your application's own -->
+  <!-- web.xml deployment descriptor) to enable these services              -->
+
+    <!-- The mapping for the default servlet -->
+    <servlet-mapping>
+        <servlet-name>default</servlet-name>
+        <url-pattern>/</url-pattern>
+    </servlet-mapping>
+
+    <!-- The mapping for the invoker servlet -->
+<!--
+    <servlet-mapping>
+        <servlet-name>invoker</servlet-name>
+        <url-pattern>/servlet/*</url-pattern>
+    </servlet-mapping>
+-->
+
+    <!-- The mapping for the JSP servlet -->
+    <servlet-mapping>
+        <servlet-name>jsp</servlet-name>
+        <url-pattern>*.jsp</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>jsp</servlet-name>
+        <url-pattern>*.jspx</url-pattern>
+    </servlet-mapping>
+
+    <!-- The mapping for the SSI servlet -->
+<!--
+    <servlet-mapping>
+        <servlet-name>ssi</servlet-name>
+        <url-pattern>*.shtml</url-pattern>
+    </servlet-mapping>
+-->
+
+    <!-- The mapping for the CGI Gateway servlet -->
+
+<!--
+    <servlet-mapping>
+        <servlet-name>cgi</servlet-name>
+        <url-pattern>/cgi-bin/*</url-pattern>
+    </servlet-mapping>
+-->
+
+
+  <!-- ================== Built In Filter Definitions ===================== -->
+
+  <!-- NOTE: An SSI Servlet is also available as an alternative SSI         -->
+  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
+  <!--                                                                      -->
+  <!-- Server Side Includes processing filter, which processes SSI          -->
+  <!-- directives in HTML pages consistent with similar support in web      -->
+  <!-- servers like Apache.  Traditionally, this filter is mapped to the    -->
+  <!-- URL pattern "*.shtml", though it can be mapped to "*" as it will     -->
+  <!-- selectively enable/disable SSI processing based on mime types. For   -->
+  <!-- this to work you will need to uncomment the .shtml mime type         -->
+  <!-- definition towards the bottom of this file.                          -->
+  <!-- The contentType init param allows you to apply SSI processing to JSP -->
+  <!-- pages, javascript, or any other content you wish.  This filter       -->
+  <!-- supports the following initialization parameters (default values are -->
+  <!-- in square brackets):                                                 -->
+  <!--                                                                      -->
+  <!--   contentType         A regex pattern that must be matched before    -->
+  <!--                       SSI processing is applied.                     -->
+  <!--                       [text/x-server-parsed-html(;.*)?]              -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   expires             The number of seconds before a page with SSI   -->
+  <!--                       directives will expire.  [No default]          -->
+  <!--                                                                      -->
+  <!--   isVirtualWebappRelative                                            -->
+  <!--                       Should "virtual" paths be interpreted as       -->
+  <!--                       relative to the context root, instead of       -->
+  <!--                       the server root?  (0=false, 1=true) [0]        -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the SSI filter, you also need to rename the        -->
+  <!--            $CATALINA_HOME/server/lib/servlets-ssi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-ssi.jar             -->
+
+<!--
+    <filter>
+        <filter-name>ssi</filter-name>
+        <filter-class>
+          org.apache.catalina.ssi.SSIFilter
+        </filter-class>
+        <init-param>
+          <param-name>contentType</param-name>
+          <param-value>text/x-server-parsed-html(;.*)?</param-value>
+        </init-param>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>expires</param-name>
+          <param-value>666</param-value>
+        </init-param>
+        <init-param>
+          <param-name>isVirtualWebappRelative</param-name>
+          <param-value>0</param-value>
+        </init-param>
+    </filter>
+-->
+
+
+  <!-- ==================== Built In Filter Mappings ====================== -->
+
+  <!-- The mapping for the SSI Filter -->
+<!--
+    <filter-mapping>
+        <filter-name>ssi</filter-name>
+        <url-pattern>*.shtml</url-pattern>
+    </filter-mapping>
+-->
+
+
+  <!-- ==================== Default Session Configuration ================= -->
+  <!-- You can set the default session timeout (in minutes) for all newly   -->
+  <!-- created sessions by modifying the value below.                       -->
+
+    <session-config>
+        <session-timeout>30</session-timeout>
+    </session-config>
+
+
+  <!-- ===================== Default MIME Type Mappings =================== -->
+  <!-- When serving static resources, Tomcat will automatically generate    -->
+  <!-- a "Content-Type" header based on the resource's filename extension,  -->
+  <!-- based on these mappings.  Additional mappings can be added here (to  -->
+  <!-- apply to all web applications), or in your own application's web.xml -->
+  <!-- deployment descriptor.                                               -->
+
+    <mime-mapping>
+        <extension>abs</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ai</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aif</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aifc</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aiff</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aim</extension>
+        <mime-type>application/x-aim</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>art</extension>
+        <mime-type>image/x-jg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>asf</extension>
+        <mime-type>video/x-ms-asf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>asx</extension>
+        <mime-type>video/x-ms-asf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>au</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>avi</extension>
+        <mime-type>video/x-msvideo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>avx</extension>
+        <mime-type>video/x-rad-screenplay</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bcpio</extension>
+        <mime-type>application/x-bcpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bin</extension>
+        <mime-type>application/octet-stream</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bmp</extension>
+        <mime-type>image/bmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>body</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cdf</extension>
+        <mime-type>application/x-cdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cer</extension>
+        <mime-type>application/x-x509-ca-cert</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>class</extension>
+        <mime-type>application/java</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cpio</extension>
+        <mime-type>application/x-cpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>csh</extension>
+        <mime-type>application/x-csh</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>css</extension>
+        <mime-type>text/css</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dib</extension>
+        <mime-type>image/bmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>doc</extension>
+        <mime-type>application/msword</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dtd</extension>
+        <mime-type>application/xml-dtd</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dv</extension>
+        <mime-type>video/x-dv</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dvi</extension>
+        <mime-type>application/x-dvi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>eps</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>etx</extension>
+        <mime-type>text/x-setext</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>exe</extension>
+        <mime-type>application/octet-stream</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gif</extension>
+        <mime-type>image/gif</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gtar</extension>
+        <mime-type>application/x-gtar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gz</extension>
+        <mime-type>application/x-gzip</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hdf</extension>
+        <mime-type>application/x-hdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hqx</extension>
+        <mime-type>application/mac-binhex40</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>htc</extension>
+        <mime-type>text/x-component</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>htm</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>html</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hqx</extension>
+        <mime-type>application/mac-binhex40</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ief</extension>
+        <mime-type>image/ief</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jad</extension>
+        <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jar</extension>
+        <mime-type>application/java-archive</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>java</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jnlp</extension>
+        <mime-type>application/x-java-jnlp-file</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpe</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpeg</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpg</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>js</extension>
+        <mime-type>text/javascript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jsf</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jspf</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>kar</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>latex</extension>
+        <mime-type>application/x-latex</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>m3u</extension>
+        <mime-type>audio/x-mpegurl</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mac</extension>
+        <mime-type>image/x-macpaint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>man</extension>
+        <mime-type>application/x-troff-man</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mathml</extension>
+        <mime-type>application/mathml+xml</mime-type> 
+    </mime-mapping>
+    <mime-mapping>
+        <extension>me</extension>
+        <mime-type>application/x-troff-me</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mid</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>midi</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mif</extension>
+        <mime-type>application/x-mif</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mov</extension>
+        <mime-type>video/quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>movie</extension>
+        <mime-type>video/x-sgi-movie</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp1</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp2</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp3</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpa</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpe</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpeg</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpega</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpg</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpv2</extension>
+        <mime-type>video/mpeg2</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ms</extension>
+        <mime-type>application/x-wais-source</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>nc</extension>
+        <mime-type>application/x-netcdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>oda</extension>
+        <mime-type>application/oda</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Database -->
+        <extension>odb</extension>
+        <mime-type>application/vnd.oasis.opendocument.database</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Chart -->
+        <extension>odc</extension>
+        <mime-type>application/vnd.oasis.opendocument.chart</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Formula -->
+        <extension>odf</extension>
+        <mime-type>application/vnd.oasis.opendocument.formula</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Drawing -->
+        <extension>odg</extension>
+        <mime-type>application/vnd.oasis.opendocument.graphics</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Image -->
+        <extension>odi</extension>
+        <mime-type>application/vnd.oasis.opendocument.image</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Master Document -->
+        <extension>odm</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-master</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Presentation -->
+        <extension>odp</extension>
+        <mime-type>application/vnd.oasis.opendocument.presentation</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Spreadsheet -->
+        <extension>ods</extension>
+        <mime-type>application/vnd.oasis.opendocument.spreadsheet</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Text -->
+        <extension>odt</extension>
+        <mime-type>application/vnd.oasis.opendocument.text</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ogg</extension>
+        <mime-type>application/ogg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Drawing Template -->
+        <extension>otg </extension>
+        <mime-type>application/vnd.oasis.opendocument.graphics-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- HTML Document Template -->
+        <extension>oth</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-web</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Presentation Template -->
+        <extension>otp</extension>
+        <mime-type>application/vnd.oasis.opendocument.presentation-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Spreadsheet Template -->
+        <extension>ots</extension>
+        <mime-type>application/vnd.oasis.opendocument.spreadsheet-template </mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Text Template -->
+        <extension>ott</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pbm</extension>
+        <mime-type>image/x-portable-bitmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pct</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pdf</extension>
+        <mime-type>application/pdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pgm</extension>
+        <mime-type>image/x-portable-graymap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pic</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pict</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pls</extension>
+        <mime-type>audio/x-scpls</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>png</extension>
+        <mime-type>image/png</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pnm</extension>
+        <mime-type>image/x-portable-anymap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pnt</extension>
+        <mime-type>image/x-macpaint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppm</extension>
+        <mime-type>image/x-portable-pixmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppt</extension>
+        <mime-type>application/powerpoint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ps</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>psd</extension>
+        <mime-type>image/x-photoshop</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qt</extension>
+        <mime-type>video/quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qti</extension>
+        <mime-type>image/x-quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qtif</extension>
+        <mime-type>image/x-quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ras</extension>
+        <mime-type>image/x-cmu-raster</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rdf</extension>
+        <mime-type>application/rdf+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rgb</extension>
+        <mime-type>image/x-rgb</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rm</extension>
+        <mime-type>application/vnd.rn-realmedia</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>roff</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rtf</extension>
+        <mime-type>application/rtf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rtx</extension>
+        <mime-type>text/richtext</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sh</extension>
+        <mime-type>application/x-sh</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>shar</extension>
+        <mime-type>application/x-shar</mime-type>
+    </mime-mapping>
+<!--
+    <mime-mapping>
+        <extension>shtml</extension>
+        <mime-type>text/x-server-parsed-html</mime-type>
+    </mime-mapping>
+-->
+    <mime-mapping>
+        <extension>smf</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sit</extension>
+        <mime-type>application/x-stuffit</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>snd</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>src</extension>
+        <mime-type>application/x-wais-source</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sv4cpio</extension>
+        <mime-type>application/x-sv4cpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sv4crc</extension>
+        <mime-type>application/x-sv4crc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>swf</extension>
+        <mime-type>application/x-shockwave-flash</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>t</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tar</extension>
+        <mime-type>application/x-tar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tcl</extension>
+        <mime-type>application/x-tcl</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tex</extension>
+        <mime-type>application/x-tex</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>texi</extension>
+        <mime-type>application/x-texinfo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>texinfo</extension>
+        <mime-type>application/x-texinfo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tif</extension>
+        <mime-type>image/tiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tiff</extension>
+        <mime-type>image/tiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tr</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tsv</extension>
+        <mime-type>text/tab-separated-values</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>txt</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ulw</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ustar</extension>
+        <mime-type>application/x-ustar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>vxml</extension>
+        <mime-type>application/voicexml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xbm</extension>
+        <mime-type>image/x-xbitmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xht</extension>
+        <mime-type>application/xhtml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xhtml</extension>
+        <mime-type>application/xhtml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xml</extension>
+        <mime-type>application/xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xpm</extension>
+        <mime-type>image/x-xpixmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xsl</extension>
+        <mime-type>application/xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xslt</extension>
+        <mime-type>application/xslt+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xul</extension>
+        <mime-type>application/vnd.mozilla.xul+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xwd</extension>
+        <mime-type>image/x-xwindowdump</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>wav</extension>
+        <mime-type>audio/x-wav</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>svg</extension>
+        <mime-type>image/svg+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>svgz</extension>
+        <mime-type>image/svg+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>vsd</extension>
+        <mime-type>application/x-visio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Wireless Bitmap -->
+        <extension>wbmp</extension>
+        <mime-type>image/vnd.wap.wbmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- WML Source -->
+        <extension>wml</extension>
+        <mime-type>text/vnd.wap.wml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Compiled WML -->
+        <extension>wmlc</extension>
+        <mime-type>application/vnd.wap.wmlc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- WML Script Source -->
+        <extension>wmls</extension>
+        <mime-type>text/vnd.wap.wmlscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Compiled WML Script -->
+        <extension>wmlscriptc</extension>
+        <mime-type>application/vnd.wap.wmlscriptc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>wrl</extension>
+        <mime-type>x-world/x-vrml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>Z</extension>
+        <mime-type>application/x-compress</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>z</extension>
+        <mime-type>application/x-compress</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>zip</extension>
+        <mime-type>application/zip</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xls</extension>
+        <mime-type>application/vnd.ms-excel</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>doc</extension>
+        <mime-type>application/vnd.ms-word</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppt</extension>
+        <mime-type>application/vnd.ms-powerpoint</mime-type>
+    </mime-mapping>
+
+  <!-- ==================== Default Welcome File List ===================== -->
+  <!-- When a request URI refers to a directory, the default servlet looks  -->
+  <!-- for a "welcome file" within that directory and, if present,          -->
+  <!-- to the corresponding resource URI for display.  If no welcome file   -->
+  <!-- is present, the default servlet either serves a directory listing,   -->
+  <!-- or returns a 404 status, depending on how it is configured.          -->
+  <!--                                                                      -->
+  <!-- If you define welcome files in your own application's web.xml        -->
+  <!-- deployment descriptor, that list *replaces* the list configured      -->
+  <!-- here, so be sure that you include any of the default values that     -->
+  <!-- you wish to include.                                                 -->
+
+    <welcome-file-list>
+        <welcome-file>index.html</welcome-file>
+        <welcome-file>index.htm</welcome-file>
+        <welcome-file>index.jsp</welcome-file>
+    </welcome-file-list>
+
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/conf/web.xml.old.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/conf/web.xml.old.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/conf/web.xml.old.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1248 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+    version="2.4">
+
+  <!-- ======================== Introduction ============================== -->
+  <!-- This document defines default values for *all* web applications      -->
+  <!-- loaded into this instance of Tomcat.  As each application is         -->
+  <!-- deployed, this file is processed, followed by the                    -->
+  <!-- "/WEB-INF/web.xml" deployment descriptor from your own               -->
+  <!-- applications.                                                        -->
+  <!--                                                                      -->
+  <!-- WARNING:  Do not configure application-specific resources here!      -->
+  <!-- They should go in the "/WEB-INF/web.xml" file in your application.   -->
+
+  <!-- =========== Common Context Params ================================== -->
+  <!-- JBossInjectionProvider provides resource injection for managed beans. -->
+  <!-- See JSF 1.2 spec section 5.4 for details.                             -->
+  <context-param>
+    <param-name>com.sun.faces.injectionProvider</param-name>
+    <param-value>org.jboss.web.jsf.integration.injection.JBossInjectionProvider</param-value>
+  </context-param>
+
+   <!-- ================== Common filter Configuration ==================== -->
+   <filter>
+      <filter-name>CommonHeadersFilter</filter-name>
+      <filter-class>org.jboss.web.tomcat.filters.ReplyHeaderFilter</filter-class>
+      <init-param>
+         <param-name>X-Powered-By</param-name>
+         <param-value>Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5</param-value>
+      </init-param>
+   </filter>
+
+   <filter-mapping>
+      <filter-name>CommonHeadersFilter</filter-name>
+      <url-pattern>/*</url-pattern>
+   </filter-mapping>
+   
+   <!-- JBAS-4752: This filter should be enabled when authentication cache   -->
+   <!-- must be flushed as soon as the http sessions expire.                 -->
+   
+   <!--
+   <filter>
+      <filter-name>PrincipalSessionAttributeFilter</filter-name>
+      <filter-class>org.jboss.web.tomcat.security.PrincipalSessionAttributeFilter</filter-class>
+   </filter>
+
+   <filter-mapping>
+      <filter-name>PrincipalSessionAttributeFilter</filter-name>
+      <url-pattern>/*</url-pattern>
+   </filter-mapping>
+   -->
+
+   <!-- ================== Common Listener Configuration ==================== -->
+   <listener>
+      <listener-class>org.jboss.web.tomcat.security.SecurityFlushSessionListener</listener-class>
+   </listener>
+
+   <!-- Configures JSF for a web application if the javax.faces.webapp.FacesServlet is declared -->
+   <!-- in web.xml.                                                                             -->
+   <listener>
+     <listener-class>org.jboss.web.jsf.integration.config.JBossJSFConfigureListener</listener-class>
+   </listener>
+
+   <!-- Listens to all web app lifecycle events so that @PreDestroy can be called on -->
+   <!-- JSF managed beans that go out of scope.  You can comment this out if you     -->
+   <!-- don't use JSF or you don't use annotations on your managed beans.            -->
+   <listener>
+     <listener-class>com.sun.faces.application.WebappLifecycleListener</listener-class>
+   </listener>
+
+
+  <!-- ================== Built In Servlet Definitions ==================== -->
+
+
+  <!-- The default servlet for all web applications, that serves static     -->
+  <!-- resources.  It processes all requests that are not mapped to other   -->
+  <!-- servlets with servlet mappings (defined either here or in your own   -->
+  <!-- web.xml file.  This servlet supports the following initialization    -->
+  <!-- parameters (default values are in square brackets):                  -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   fileEncoding        Encoding to be used to read static resources   -->
+  <!--                       [platform default]                             -->
+  <!--                                                                      -->
+  <!--   input               Input buffer size (in bytes) when reading      -->
+  <!--                       resources to be served.  [2048]                -->
+  <!--                                                                      -->
+  <!--   listings            Should directory listings be produced if there -->
+  <!--                       is no welcome file in this directory?  [false] -->
+  <!--                       WARNING: Listings for directories with many    -->
+  <!--                       entries can be slow and may consume            -->
+  <!--                       significant proportions of server resources.   -->
+  <!--                                                                      -->
+  <!--   output              Output buffer size (in bytes) when writing     -->
+  <!--                       resources to be served.  [2048]                -->
+  <!--                                                                      -->
+  <!--   readonly            Is this context "read only", so HTTP           -->
+  <!--                       commands like PUT and DELETE are               -->
+  <!--                       rejected?  [true]                              -->
+  <!--                                                                      -->
+  <!--   readmeFile          File name to display with the directory        -->
+  <!--                       contents. [null]                               -->
+  <!--                                                                      -->
+  <!--   sendfileSize        If the connector used supports sendfile, this  -->
+  <!--                       represents the minimal file size in KB for     -->
+  <!--                       which sendfile will be used. Use a negative    -->
+  <!--                       value to always disable sendfile.  [48]        -->
+  <!--                                                                      -->
+  <!--  For directory listing customization. Checks localXsltFile, then     -->
+  <!--  globalXsltFile, then defaults to original behavior.                 -->
+  <!--                                                                      -->
+  <!--   localXsltFile       Make directory listings an XML doc and         -->
+  <!--                       pass the result to this style sheet residing   -->
+  <!--                       in that directory. This overrides              -->
+  <!--                        globalXsltFile[null]                          -->
+  <!--                                                                      -->
+  <!--   globalXsltFile      Site wide configuration version of             -->
+  <!--                       localXsltFile This argument is expected        -->
+  <!--                       to be a physical file. [null]                  -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+
+    <servlet>
+        <servlet-name>default</servlet-name>
+        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <init-param>
+            <param-name>listings</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+
+  <!-- The "invoker" servlet, which executes anonymous servlet classes      -->
+  <!-- that have not been defined in a web.xml file.  Traditionally, this   -->
+  <!-- servlet is mapped to the URL pattern "/servlet/*", but you can map   -->
+  <!-- it to other patterns as well.  The extra path info portion of such a -->
+  <!-- request must be the fully qualified class name of a Java class that  -->
+  <!-- implements Servlet (or extends HttpServlet), or the servlet name     -->
+  <!-- of an existing servlet definition.     This servlet supports the     -->
+  <!-- following initialization parameters (default values are in square    -->
+  <!-- brackets):                                                           -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+
+<!--
+    <servlet>
+        <servlet-name>invoker</servlet-name>
+        <servlet-class>
+          org.apache.catalina.servlets.InvokerServlet
+        </servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <load-on-startup>2</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- The JSP page compiler and execution servlet, which is the mechanism  -->
+  <!-- used by Tomcat to support JSP pages.  Traditionally, this servlet    -->
+  <!-- is mapped to the URL pattern "*.jsp".  This servlet supports the     -->
+  <!-- following initialization parameters (default values are in square    -->
+  <!-- brackets):                                                           -->
+  <!--                                                                      -->
+  <!--   checkInterval       If development is false and checkInterval is   -->
+  <!--                       greater than zero, background compilations are -->
+  <!--                       enabled. checkInterval is the time in seconds  -->
+  <!--                       between checks to see if a JSP page needs to   -->
+  <!--                       be recompiled. [0]                             -->
+  <!--                                                                      -->
+  <!--   modificationTestInterval                                           -->
+  <!--                       Causes a JSP (and its dependent files) to not  -->
+  <!--                       be checked for modification during the         -->
+  <!--                       specified time interval (in seconds) from the  -->
+  <!--                       last time the JSP was checked for              -->
+  <!--                       modification. A value of 0 will cause the JSP  -->
+  <!--                       to be checked on every access.                 -->
+  <!--                       Used in development mode only. [4]             -->
+  <!--                                                                      -->
+  <!--   compiler            Which compiler Ant should use to compile JSP   -->
+  <!--                       pages.  See the Ant documentation for more     -->
+  <!--                       information.                                   -->
+  <!--                                                                      -->
+  <!--   classdebuginfo      Should the class file be compiled with         -->
+  <!--                       debugging information?  [true]                 -->
+  <!--                                                                      -->
+  <!--   classpath           What class path should I use while compiling   -->
+  <!--                       generated servlets?  [Created dynamically      -->
+  <!--                       based on the current web application]          -->
+  <!--                                                                      -->
+  <!--   development         Is Jasper used in development mode? If true,   -->
+  <!--                       the frequency at which JSPs are checked for    -->
+  <!--                       modification may be specified via the          -->
+  <!--                       modificationTestInterval parameter. [true]     -->
+  <!--                                                                      -->
+  <!--   enablePooling       Determines whether tag handler pooling is      -->
+  <!--                       enabled  [true]                                -->
+  <!--                                                                      -->
+  <!--   fork                Tell Ant to fork compiles of JSP pages so that -->
+  <!--                       a separate JVM is used for JSP page compiles   -->
+  <!--                       from the one Tomcat is running in. [true]      -->
+  <!--                                                                      -->
+  <!--   ieClassId           The class-id value to be sent to Internet      -->
+  <!--                       Explorer when using <jsp:plugin> tags.         -->
+  <!--                       [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93]   -->
+  <!--                                                                      -->
+  <!--   javaEncoding        Java file encoding to use for generating java  -->
+  <!--                       source files. [UTF8]                           -->
+  <!--                                                                      -->
+  <!--   keepgenerated       Should we keep the generated Java source code  -->
+  <!--                       for each page instead of deleting it? [true]   -->
+  <!--                                                                      -->
+  <!--   mappedfile          Should we generate static content with one     -->
+  <!--                       print statement per input line, to ease        -->
+  <!--                       debugging?  [true]                             -->
+  <!--                                                                      -->
+  <!--   trimSpaces          Should white spaces in template text between   -->
+  <!--                       actions or directives be trimmed?  [false]     -->
+  <!--                                                                      -->
+  <!--   suppressSmap        Should the generation of SMAP info for JSR45   -->
+  <!--                       debugging be suppressed?  [false]              -->
+  <!--                                                                      -->
+  <!--   dumpSmap            Should the SMAP info for JSR45 debugging be    -->
+  <!--                       dumped to a file? [false]                      -->
+  <!--                       False if suppressSmap is true                  -->
+  <!--                                                                      -->
+  <!--   genStrAsCharArray   Should text strings be generated as char       -->
+  <!--                       arrays, to improve performance in some cases?  -->
+  <!--                       [false]                                        -->
+  <!--                                                                      -->
+  <!--   errorOnUseBeanInvalidClassAttribute                                -->
+  <!--                       Should Jasper issue an error when the value of -->
+  <!--                       the class attribute in an useBean action is    -->
+  <!--                       not a valid bean class?  [true]                -->
+  <!--                                                                      -->
+  <!--   scratchdir          What scratch directory should we use when      -->
+  <!--                       compiling JSP pages?  [default work directory  -->
+  <!--                       for the current web application]               -->
+  <!--                                                                      -->
+  <!--   xpoweredBy          Determines whether X-Powered-By response       -->
+  <!--                       header is added by generated servlet  [false]  -->
+  <!--                                                                      -->
+  <!--   compilerTargetVM    Compiler target VM                             -->  
+  <!--                       default is System.properties                   -->
+  <!--                        java.specification.version > 1.4              -->
+  <!--                        [1.5] else [1.4]                              -->
+  <!--                                                                      -->
+  <!--   compilerSourceVM    Compiler source VM                             -->
+  <!--                       default is System.properties                   -->
+  <!--                        java.specification.version > 1.4              -->
+  <!--                        [1.5] else [1.4]                              -->
+  <!--                                                                      -->
+  <!-- If you wish to use Jikes to compile JSP pages:                       -->
+  <!--   Please see the "Using Jikes" section of the Jasper-HowTo           -->
+  <!--   page in the Tomcat documentation.                                  -->
+
+    <servlet>
+        <servlet-name>jsp</servlet-name>
+        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
+        <init-param>
+            <param-name>fork</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <init-param>
+            <param-name>xpoweredBy</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <init-param>
+         <param-name>compilerSourceVM</param-name>
+         <param-value>1.5</param-value>
+        </init-param>
+        <!-- Use a custom options class to allow the shared tag lib descriptors
+         to be loaded from jars in the tomcat sar conf/tlds directory. The
+         standard options implementation can only find taglibs based on the
+         class loader classpath.
+        -->
+        <init-param>
+           <param-name>engineOptionsClass</param-name>
+           <param-value>org.jboss.web.tomcat.service.jasper.JspServletOptions</param-value>
+        </init-param>
+        <!-- Specify the jars relative to the jbossweb-tomcat6.sar that should
+          be scanned for common tag lib descriptors to include in every war
+          deployment.
+        -->
+        <init-param>
+           <description>JSF standard tlds</description>
+           <param-name>tagLibJar0</param-name>
+           <param-value>jsf-libs/jsf-impl.jar</param-value>
+        </init-param>
+        <init-param>
+           <description>JSTL standard tlds</description>
+           <param-name>tagLibJar1</param-name>
+           <param-value>jstl.jar</param-value>
+        </init-param>
+
+        <load-on-startup>3</load-on-startup>
+    </servlet>
+
+
+  <!-- NOTE: An SSI Filter is also available as an alternative SSI          -->
+  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
+  <!--                                                                      -->
+  <!-- Server Side Includes processing servlet, which processes SSI         -->
+  <!-- directives in HTML pages consistent with similar support in web      -->
+  <!-- servers like Apache.  Traditionally, this servlet is mapped to the   -->
+  <!-- URL pattern "*.shtml".  This servlet supports the following          -->
+  <!-- initialization parameters (default values are in square brackets):   -->
+  <!--                                                                      -->
+  <!--   buffered            Should output from this servlet be buffered?   -->
+  <!--                       (0=false, 1=true)  [0]                         -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   expires             The number of seconds before a page with SSI   -->
+  <!--                       directives will expire.  [No default]          -->
+  <!--                                                                      -->
+  <!--   isVirtualWebappRelative                                            -->
+  <!--                       Should "virtual" paths be interpreted as       -->
+  <!--                       relative to the context root, instead of       -->
+  <!--                       the server root?  (0=false, 1=true) [0]        -->
+  <!--                                                                      -->
+  <!--   inputEncoding       The encoding to assume for SSI resources if    -->
+  <!--                       one is not available from the resource.        -->
+  <!--                       [Platform default]                             -->
+  <!--                                                                      -->
+  <!--   outputEncoding      The encoding to use for the page that results  -->
+  <!--                       from the SSI processing. [UTF-8]               -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the SSI servlet, you also need to rename the       -->
+  <!--            $CATALINA_HOME/server/lib/servlets-ssi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-ssi.jar             -->
+
+<!--
+    <servlet>
+        <servlet-name>ssi</servlet-name>
+        <servlet-class>
+          org.apache.catalina.ssi.SSIServlet
+        </servlet-class>
+        <init-param>
+          <param-name>buffered</param-name>
+          <param-value>1</param-value>
+        </init-param>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>expires</param-name>
+          <param-value>666</param-value>
+        </init-param>
+        <init-param>
+          <param-name>isVirtualWebappRelative</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <load-on-startup>4</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- Common Gateway Includes (CGI) processing servlet, which supports     -->
+  <!-- execution of external applications that conform to the CGI spec      -->
+  <!-- requirements.  Typically, this servlet is mapped to the URL pattern  -->
+  <!-- "/cgi-bin/*", which means that any CGI applications that are         -->
+  <!-- executed must be present within the web application.  This servlet   -->
+  <!-- supports the following initialization parameters (default values     -->
+  <!-- are in square brackets):                                             -->
+  <!--                                                                      -->
+  <!--   cgiPathPrefix        The CGI search path will start at             -->
+  <!--                        webAppRootDir + File.separator + this prefix. -->
+  <!--                        [WEB-INF/cgi]                                 -->
+  <!--                                                                      -->
+  <!--   debug                Debugging detail level for messages logged    -->
+  <!--                        by this servlet.  [0]                         -->
+  <!--                                                                      -->
+  <!--   executable           Name of the exectuable used to run the        -->
+  <!--                        script. [perl]                                -->
+  <!--                                                                      -->
+  <!--   parameterEncoding    Name of parameter encoding to be used with    -->
+  <!--                        CGI servlet.                                  -->
+  <!--                        [System.getProperty("file.encoding","UTF-8")] -->
+  <!--                                                                      -->
+  <!--   passShellEnvironment Should the shell environment variables (if    -->
+  <!--                        any) be passed to the CGI script? [false]     -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the CGI servlet, you also need to rename the       -->
+  <!--            $CATALINA_HOME/server/lib/servlets-cgi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-cgi.jar             -->
+
+<!--
+    <servlet>
+        <servlet-name>cgi</servlet-name>
+        <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>cgiPathPrefix</param-name>
+          <param-value>WEB-INF/cgi</param-value>
+        </init-param>
+         <load-on-startup>5</load-on-startup>
+    </servlet>
+-->
+
+
+  <!-- ================ Built In Servlet Mappings ========================= -->
+
+
+  <!-- The servlet mappings for the built in servlets defined above.  Note  -->
+  <!-- that, by default, the CGI and SSI servlets are *not* mapped.  You    -->
+  <!-- must uncomment these mappings (or add them to your application's own -->
+  <!-- web.xml deployment descriptor) to enable these services              -->
+
+    <!-- The mapping for the default servlet -->
+    <servlet-mapping>
+        <servlet-name>default</servlet-name>
+        <url-pattern>/</url-pattern>
+    </servlet-mapping>
+
+    <!-- The mapping for the invoker servlet -->
+<!--
+    <servlet-mapping>
+        <servlet-name>invoker</servlet-name>
+        <url-pattern>/servlet/*</url-pattern>
+    </servlet-mapping>
+-->
+
+    <!-- The mapping for the JSP servlet -->
+    <servlet-mapping>
+        <servlet-name>jsp</servlet-name>
+        <url-pattern>*.jsp</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>jsp</servlet-name>
+        <url-pattern>*.jspx</url-pattern>
+    </servlet-mapping>
+
+    <!-- The mapping for the SSI servlet -->
+<!--
+    <servlet-mapping>
+        <servlet-name>ssi</servlet-name>
+        <url-pattern>*.shtml</url-pattern>
+    </servlet-mapping>
+-->
+
+    <!-- The mapping for the CGI Gateway servlet -->
+
+<!--
+    <servlet-mapping>
+        <servlet-name>cgi</servlet-name>
+        <url-pattern>/cgi-bin/*</url-pattern>
+    </servlet-mapping>
+-->
+
+
+  <!-- ================== Built In Filter Definitions ===================== -->
+
+  <!-- NOTE: An SSI Servlet is also available as an alternative SSI         -->
+  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
+  <!--                                                                      -->
+  <!-- Server Side Includes processing filter, which processes SSI          -->
+  <!-- directives in HTML pages consistent with similar support in web      -->
+  <!-- servers like Apache.  Traditionally, this filter is mapped to the    -->
+  <!-- URL pattern "*.shtml", though it can be mapped to "*" as it will     -->
+  <!-- selectively enable/disable SSI processing based on mime types. For   -->
+  <!-- this to work you will need to uncomment the .shtml mime type         -->
+  <!-- definition towards the bottom of this file.                          -->
+  <!-- The contentType init param allows you to apply SSI processing to JSP -->
+  <!-- pages, javascript, or any other content you wish.  This filter       -->
+  <!-- supports the following initialization parameters (default values are -->
+  <!-- in square brackets):                                                 -->
+  <!--                                                                      -->
+  <!--   contentType         A regex pattern that must be matched before    -->
+  <!--                       SSI processing is applied.                     -->
+  <!--                       [text/x-server-parsed-html(;.*)?]              -->
+  <!--                                                                      -->
+  <!--   debug               Debugging detail level for messages logged     -->
+  <!--                       by this servlet.  [0]                          -->
+  <!--                                                                      -->
+  <!--   expires             The number of seconds before a page with SSI   -->
+  <!--                       directives will expire.  [No default]          -->
+  <!--                                                                      -->
+  <!--   isVirtualWebappRelative                                            -->
+  <!--                       Should "virtual" paths be interpreted as       -->
+  <!--                       relative to the context root, instead of       -->
+  <!--                       the server root?  (0=false, 1=true) [0]        -->
+  <!--                                                                      -->
+  <!--                                                                      -->
+  <!-- IMPORTANT: To use the SSI filter, you also need to rename the        -->
+  <!--            $CATALINA_HOME/server/lib/servlets-ssi.renametojar file   -->
+  <!--            to $CATALINA_HOME/server/lib/servlets-ssi.jar             -->
+
+<!--
+    <filter>
+        <filter-name>ssi</filter-name>
+        <filter-class>
+          org.apache.catalina.ssi.SSIFilter
+        </filter-class>
+        <init-param>
+          <param-name>contentType</param-name>
+          <param-value>text/x-server-parsed-html(;.*)?</param-value>
+        </init-param>
+        <init-param>
+          <param-name>debug</param-name>
+          <param-value>0</param-value>
+        </init-param>
+        <init-param>
+          <param-name>expires</param-name>
+          <param-value>666</param-value>
+        </init-param>
+        <init-param>
+          <param-name>isVirtualWebappRelative</param-name>
+          <param-value>0</param-value>
+        </init-param>
+    </filter>
+-->
+
+
+  <!-- ==================== Built In Filter Mappings ====================== -->
+
+  <!-- The mapping for the SSI Filter -->
+<!--
+    <filter-mapping>
+        <filter-name>ssi</filter-name>
+        <url-pattern>*.shtml</url-pattern>
+    </filter-mapping>
+-->
+
+
+  <!-- ==================== Default Session Configuration ================= -->
+  <!-- You can set the default session timeout (in minutes) for all newly   -->
+  <!-- created sessions by modifying the value below.                       -->
+
+    <session-config>
+        <session-timeout>30</session-timeout>
+    </session-config>
+
+
+  <!-- ===================== Default MIME Type Mappings =================== -->
+  <!-- When serving static resources, Tomcat will automatically generate    -->
+  <!-- a "Content-Type" header based on the resource's filename extension,  -->
+  <!-- based on these mappings.  Additional mappings can be added here (to  -->
+  <!-- apply to all web applications), or in your own application's web.xml -->
+  <!-- deployment descriptor.                                               -->
+
+    <mime-mapping>
+        <extension>abs</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ai</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aif</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aifc</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aiff</extension>
+        <mime-type>audio/x-aiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>aim</extension>
+        <mime-type>application/x-aim</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>art</extension>
+        <mime-type>image/x-jg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>asf</extension>
+        <mime-type>video/x-ms-asf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>asx</extension>
+        <mime-type>video/x-ms-asf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>au</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>avi</extension>
+        <mime-type>video/x-msvideo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>avx</extension>
+        <mime-type>video/x-rad-screenplay</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bcpio</extension>
+        <mime-type>application/x-bcpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bin</extension>
+        <mime-type>application/octet-stream</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>bmp</extension>
+        <mime-type>image/bmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>body</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cdf</extension>
+        <mime-type>application/x-cdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cer</extension>
+        <mime-type>application/x-x509-ca-cert</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>class</extension>
+        <mime-type>application/java</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>cpio</extension>
+        <mime-type>application/x-cpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>csh</extension>
+        <mime-type>application/x-csh</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>css</extension>
+        <mime-type>text/css</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dib</extension>
+        <mime-type>image/bmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>doc</extension>
+        <mime-type>application/msword</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dtd</extension>
+        <mime-type>application/xml-dtd</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dv</extension>
+        <mime-type>video/x-dv</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>dvi</extension>
+        <mime-type>application/x-dvi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>eps</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>etx</extension>
+        <mime-type>text/x-setext</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>exe</extension>
+        <mime-type>application/octet-stream</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gif</extension>
+        <mime-type>image/gif</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gtar</extension>
+        <mime-type>application/x-gtar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>gz</extension>
+        <mime-type>application/x-gzip</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hdf</extension>
+        <mime-type>application/x-hdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hqx</extension>
+        <mime-type>application/mac-binhex40</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>htc</extension>
+        <mime-type>text/x-component</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>htm</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>html</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>hqx</extension>
+        <mime-type>application/mac-binhex40</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ief</extension>
+        <mime-type>image/ief</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jad</extension>
+        <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jar</extension>
+        <mime-type>application/java-archive</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>java</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jnlp</extension>
+        <mime-type>application/x-java-jnlp-file</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpe</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpeg</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jpg</extension>
+        <mime-type>image/jpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>js</extension>
+        <mime-type>text/javascript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jsf</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>jspf</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>kar</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>latex</extension>
+        <mime-type>application/x-latex</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>m3u</extension>
+        <mime-type>audio/x-mpegurl</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mac</extension>
+        <mime-type>image/x-macpaint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>man</extension>
+        <mime-type>application/x-troff-man</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mathml</extension>
+        <mime-type>application/mathml+xml</mime-type> 
+    </mime-mapping>
+    <mime-mapping>
+        <extension>me</extension>
+        <mime-type>application/x-troff-me</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mid</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>midi</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mif</extension>
+        <mime-type>application/x-mif</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mov</extension>
+        <mime-type>video/quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>movie</extension>
+        <mime-type>video/x-sgi-movie</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp1</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp2</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mp3</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpa</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpe</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpeg</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpega</extension>
+        <mime-type>audio/x-mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpg</extension>
+        <mime-type>video/mpeg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>mpv2</extension>
+        <mime-type>video/mpeg2</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ms</extension>
+        <mime-type>application/x-wais-source</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>nc</extension>
+        <mime-type>application/x-netcdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>oda</extension>
+        <mime-type>application/oda</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Database -->
+        <extension>odb</extension>
+        <mime-type>application/vnd.oasis.opendocument.database</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Chart -->
+        <extension>odc</extension>
+        <mime-type>application/vnd.oasis.opendocument.chart</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Formula -->
+        <extension>odf</extension>
+        <mime-type>application/vnd.oasis.opendocument.formula</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Drawing -->
+        <extension>odg</extension>
+        <mime-type>application/vnd.oasis.opendocument.graphics</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Image -->
+        <extension>odi</extension>
+        <mime-type>application/vnd.oasis.opendocument.image</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Master Document -->
+        <extension>odm</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-master</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Presentation -->
+        <extension>odp</extension>
+        <mime-type>application/vnd.oasis.opendocument.presentation</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Spreadsheet -->
+        <extension>ods</extension>
+        <mime-type>application/vnd.oasis.opendocument.spreadsheet</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Text -->
+        <extension>odt</extension>
+        <mime-type>application/vnd.oasis.opendocument.text</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ogg</extension>
+        <mime-type>application/ogg</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Drawing Template -->
+        <extension>otg </extension>
+        <mime-type>application/vnd.oasis.opendocument.graphics-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- HTML Document Template -->
+        <extension>oth</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-web</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Presentation Template -->
+        <extension>otp</extension>
+        <mime-type>application/vnd.oasis.opendocument.presentation-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Spreadsheet Template -->
+        <extension>ots</extension>
+        <mime-type>application/vnd.oasis.opendocument.spreadsheet-template </mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- OpenDocument Text Template -->
+        <extension>ott</extension>
+        <mime-type>application/vnd.oasis.opendocument.text-template</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pbm</extension>
+        <mime-type>image/x-portable-bitmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pct</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pdf</extension>
+        <mime-type>application/pdf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pgm</extension>
+        <mime-type>image/x-portable-graymap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pic</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pict</extension>
+        <mime-type>image/pict</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pls</extension>
+        <mime-type>audio/x-scpls</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>png</extension>
+        <mime-type>image/png</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pnm</extension>
+        <mime-type>image/x-portable-anymap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>pnt</extension>
+        <mime-type>image/x-macpaint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppm</extension>
+        <mime-type>image/x-portable-pixmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppt</extension>
+        <mime-type>application/powerpoint</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ps</extension>
+        <mime-type>application/postscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>psd</extension>
+        <mime-type>image/x-photoshop</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qt</extension>
+        <mime-type>video/quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qti</extension>
+        <mime-type>image/x-quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>qtif</extension>
+        <mime-type>image/x-quicktime</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ras</extension>
+        <mime-type>image/x-cmu-raster</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rdf</extension>
+        <mime-type>application/rdf+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rgb</extension>
+        <mime-type>image/x-rgb</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rm</extension>
+        <mime-type>application/vnd.rn-realmedia</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>roff</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rtf</extension>
+        <mime-type>application/rtf</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>rtx</extension>
+        <mime-type>text/richtext</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sh</extension>
+        <mime-type>application/x-sh</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>shar</extension>
+        <mime-type>application/x-shar</mime-type>
+    </mime-mapping>
+<!--
+    <mime-mapping>
+        <extension>shtml</extension>
+        <mime-type>text/x-server-parsed-html</mime-type>
+    </mime-mapping>
+-->
+    <mime-mapping>
+        <extension>smf</extension>
+        <mime-type>audio/x-midi</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sit</extension>
+        <mime-type>application/x-stuffit</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>snd</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>src</extension>
+        <mime-type>application/x-wais-source</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sv4cpio</extension>
+        <mime-type>application/x-sv4cpio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sv4crc</extension>
+        <mime-type>application/x-sv4crc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>swf</extension>
+        <mime-type>application/x-shockwave-flash</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>t</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tar</extension>
+        <mime-type>application/x-tar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tcl</extension>
+        <mime-type>application/x-tcl</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tex</extension>
+        <mime-type>application/x-tex</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>texi</extension>
+        <mime-type>application/x-texinfo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>texinfo</extension>
+        <mime-type>application/x-texinfo</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tif</extension>
+        <mime-type>image/tiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tiff</extension>
+        <mime-type>image/tiff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tr</extension>
+        <mime-type>application/x-troff</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>tsv</extension>
+        <mime-type>text/tab-separated-values</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>txt</extension>
+        <mime-type>text/plain</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ulw</extension>
+        <mime-type>audio/basic</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ustar</extension>
+        <mime-type>application/x-ustar</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>vxml</extension>
+        <mime-type>application/voicexml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xbm</extension>
+        <mime-type>image/x-xbitmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xht</extension>
+        <mime-type>application/xhtml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xhtml</extension>
+        <mime-type>application/xhtml+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xml</extension>
+        <mime-type>application/xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xpm</extension>
+        <mime-type>image/x-xpixmap</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xsl</extension>
+        <mime-type>application/xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xslt</extension>
+        <mime-type>application/xslt+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xul</extension>
+        <mime-type>application/vnd.mozilla.xul+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xwd</extension>
+        <mime-type>image/x-xwindowdump</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>wav</extension>
+        <mime-type>audio/x-wav</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>svg</extension>
+        <mime-type>image/svg+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>svgz</extension>
+        <mime-type>image/svg+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>vsd</extension>
+        <mime-type>application/x-visio</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Wireless Bitmap -->
+        <extension>wbmp</extension>
+        <mime-type>image/vnd.wap.wbmp</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- WML Source -->
+        <extension>wml</extension>
+        <mime-type>text/vnd.wap.wml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Compiled WML -->
+        <extension>wmlc</extension>
+        <mime-type>application/vnd.wap.wmlc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- WML Script Source -->
+        <extension>wmls</extension>
+        <mime-type>text/vnd.wap.wmlscript</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <!-- Compiled WML Script -->
+        <extension>wmlscriptc</extension>
+        <mime-type>application/vnd.wap.wmlscriptc</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>wrl</extension>
+        <mime-type>x-world/x-vrml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>Z</extension>
+        <mime-type>application/x-compress</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>z</extension>
+        <mime-type>application/x-compress</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>zip</extension>
+        <mime-type>application/zip</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>xls</extension>
+        <mime-type>application/vnd.ms-excel</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>doc</extension>
+        <mime-type>application/vnd.ms-word</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>ppt</extension>
+        <mime-type>application/vnd.ms-powerpoint</mime-type>
+    </mime-mapping>
+
+  <!-- ==================== Default Welcome File List ===================== -->
+  <!-- When a request URI refers to a directory, the default servlet looks  -->
+  <!-- for a "welcome file" within that directory and, if present,          -->
+  <!-- to the corresponding resource URI for display.  If no welcome file   -->
+  <!-- is present, the default servlet either serves a directory listing,   -->
+  <!-- or returns a 404 status, depending on how it is configured.          -->
+  <!--                                                                      -->
+  <!-- If you define welcome files in your own application's web.xml        -->
+  <!-- deployment descriptor, that list *replaces* the list configured      -->
+  <!-- here, so be sure that you include any of the default values that     -->
+  <!-- you wish to include.                                                 -->
+
+    <welcome-file-list>
+        <welcome-file>index.html</welcome-file>
+        <welcome-file>index.htm</welcome-file>
+        <welcome-file>index.jsp</welcome-file>
+    </welcome-file-list>
+
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/context.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/context.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/context.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+<!-- The contents of this file will be loaded for each web application -->
+<Context cookies="true" crossContext="true">
+   <!-- Session persistence is disable by default. To enable for all web
+   apps set the pathname to a non-empty value:
+   <Manager pathname="SESSIONS.ser" />
+
+   To enable session persistence for a single web app, add a
+   WEB-INF/context.xml 
+   -->
+   <Manager pathname="" />
+
+   <!-- Install an InstanceListener to handle the establishment of the run-as
+   role for servlet init/destroy events.
+   -->
+   <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
+   
+</Context>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jasper-jdt.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jasper-jdt.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jbossweb-extras.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jbossweb-extras.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jbossweb-service.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jbossweb-service.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jbossweb.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jbossweb.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jsf-libs/jboss-faces.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jsf-libs/jboss-faces.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jsf-libs/jsf-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jsf-libs/jsf-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jsf-libs/jsf-impl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jsf-libs/jsf-impl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jstl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/jstl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/server.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/server.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-web.deployer/server.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,167 @@
+<Server>
+
+  <!--APR library loader. Documentation at /docs/apr.html -->
+  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
+  <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
+  <Listener className="org.apache.catalina.core.JasperListener" />
+
+   <!-- Use a custom version of StandardService that allows the
+   connectors to be started independent of the normal lifecycle
+   start to allow web apps to be deployed before starting the
+   connectors.
+   -->
+   <Service name="jboss.web">
+
+    <!-- A "Connector" represents an endpoint by which requests are received
+         and responses are returned. Documentation at :
+         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
+         Java AJP  Connector: /docs/config/ajp.html
+         APR (HTTP/AJP) Connector: /docs/apr.html
+         Define a non-SSL HTTP/1.1 Connector on port 8080
+    -->
+    <Connector port="8080" address="${jboss.bind.address}"    
+         maxThreads="250" maxHttpHeaderSize="8192"
+         emptySessionPath="true" protocol="HTTP/1.1"
+         enableLookups="false" redirectPort="8443" acceptCount="100"
+         connectionTimeout="20000" disableUploadTimeout="true" />
+
+    <!-- Define a SSL HTTP/1.1 Connector on port 8443
+         This connector uses the JSSE configuration, when using APR, the 
+         connector should be using the OpenSSL style configuration
+         described in the APR documentation -->
+    <!--
+    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
+               maxThreads="150" scheme="https" secure="true"
+               clientAuth="false" sslProtocol="TLS" />
+    -->
+
+    <!-- Define an AJP 1.3 Connector on port 8009 -->
+    <Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"
+         emptySessionPath="true" enableLookups="false" redirectPort="8443" />
+
+      <Engine name="jboss.web" defaultHost="localhost">
+
+         <!-- The JAAS based authentication and authorization realm implementation
+         that is compatible with the jboss 3.2.x realm implementation.
+         - certificatePrincipal : the class name of the
+         org.jboss.security.auth.certs.CertificatePrincipal impl
+         used for mapping X509[] cert chains to a Princpal.
+         - allRolesMode : how to handle an auth-constraint with a role-name=*,
+         one of strict, authOnly, strictAuthOnly
+           + strict = Use the strict servlet spec interpretation which requires
+           that the user have one of the web-app/security-role/role-name
+           + authOnly = Allow any authenticated user
+           + strictAuthOnly = Allow any authenticated user only if there are no
+           web-app/security-roles
+         -->
+         <Realm className="org.jboss.web.tomcat.security.JBossSecurityMgrRealm"
+            certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
+            allRolesMode="authOnly"
+            />
+         <!-- A subclass of JBossSecurityMgrRealm that uses the authentication
+         behavior of JBossSecurityMgrRealm, but overrides the authorization
+         checks to use JACC permissions with the current java.security.Policy
+         to determine authorized access.
+         - allRolesMode : how to handle an auth-constraint with a role-name=*,
+         one of strict, authOnly, strictAuthOnly
+           + strict = Use the strict servlet spec interpretation which requires
+           that the user have one of the web-app/security-role/role-name
+           + authOnly = Allow any authenticated user
+           + strictAuthOnly = Allow any authenticated user only if there are no
+           web-app/security-roles
+         <Realm className="org.jboss.web.tomcat.security.JaccAuthorizationRealm"
+            certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
+            allRolesMode="authOnly"
+            />
+         -->
+
+        <Host name="localhost"
+           autoDeploy="false" deployOnStartup="false" deployXML="false"
+           configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
+           >
+
+            <!-- Uncomment to enable request dumper. This Valve "logs interesting 
+                 contents from the specified Request (before processing) and the 
+                 corresponding Response (after processing). It is especially useful 
+                 in debugging problems related to headers and cookies."
+            -->
+            <!--
+            <Valve className="org.apache.catalina.valves.RequestDumperValve" />
+            -->
+ 
+            <!-- Access logger -->
+            <!--
+            <Valve className="org.apache.catalina.valves.AccessLogValve"
+                prefix="localhost_access_log." suffix=".log"
+                pattern="common" directory="${jboss.server.home.dir}/log" 
+                resolveHosts="false" />
+            -->
+
+            <!-- Uncomment to enable single sign-on across web apps
+                deployed to this host. Does not provide SSO across a cluster.     
+            
+                If this valve is used, do not use the JBoss ClusteredSingleSignOn 
+                valve shown below. 
+                
+                A new configuration attribute is available beginning with
+                release 4.0.4:
+                
+                cookieDomain  configures the domain to which the SSO cookie
+                              will be scoped (i.e. the set of hosts to
+                              which the cookie will be presented).  By default
+                              the cookie is scoped to "/", meaning the host
+                              that presented it.  Set cookieDomain to a
+                              wider domain (e.g. "xyz.com") to allow an SSO
+                              to span more than one hostname.
+             -->
+            <!--
+            <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
+            -->
+
+            <!-- Uncomment to enable single sign-on across web apps
+               deployed to this host AND to all other hosts in the cluster.
+            
+               If this valve is used, do not use the standard Tomcat SingleSignOn
+               valve shown above.
+            
+               Valve uses a JBossCache instance to support SSO credential 
+               caching and replication across the cluster.  The JBossCache 
+               instance must be configured separately.  By default, the valve 
+               shares a JBossCache with the service that supports HttpSession 
+               replication.  See the "jboss-web-cluster-service.xml" file in the 
+               server/all/deploy directory for cache configuration details.
+            
+               Besides the attributes supported by the standard Tomcat
+               SingleSignOn valve (see the Tomcat docs), this version also 
+               supports the following attributes:
+            
+               cookieDomain   see above
+            
+               treeCacheName  JMX ObjectName of the JBossCache MBean used to 
+                              support credential caching and replication across
+                              the cluster. If not set, the default value is 
+                              "jboss.cache:service=TomcatClusteringCache", the 
+                              standard ObjectName of the JBossCache MBean used 
+                              to support session replication.
+            -->
+            <!--
+            <Valve className="org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn" />
+            -->
+         
+            <!-- Check for unclosed connections and transaction terminated checks
+                 in servlets/jsps.
+                 
+                 Important: The dependency on the CachedConnectionManager
+                 in META-INF/jboss-service.xml must be uncommented, too
+            -->
+            <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"
+                cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"
+                transactionManagerObjectName="jboss:service=TransactionManager" />
+
+         </Host>
+
+      </Engine>
+
+   </Service>
+
+</Server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-xa-jdbc.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jboss-xa-jdbc.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossjca-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossjca-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossjca-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  JBoss JCA Configuration                                              -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: jbossjca-service.xml 37786 2005-11-02 20:35:46Z adrian $ -->
+
+<!-- 
+   |  This contains configuration for the RARDeployer 
+      and some xsl based deployers.
+ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- JBossCX setup, for J2EE connector architecture support               -->
+  <!-- The RARDeployer is needed only until xslt based deployment is written.-->
+  <!-- ==================================================================== -->
+
+  <mbean code="org.jboss.util.threadpool.BasicThreadPool"
+         name="jboss.jca:service=WorkManagerThreadPool">
+     <!-- The name that appears in thread names -->
+     <attribute name="Name">WorkManager</attribute>
+     <!-- The maximum amount of work in the queue -->
+     <attribute name="MaximumQueueSize">1024</attribute>
+     <!-- The maximum number of active threads -->
+     <attribute name="MaximumPoolSize">100</attribute>
+     <!-- How long to keep threads alive after their last work (default one minute) -->
+     <attribute name="KeepAliveTime">60000</attribute>
+  </mbean>
+
+  <mbean code="org.jboss.resource.work.JBossWorkManager"
+         name="jboss.jca:service=WorkManager">
+     <depends optional-attribute-name="ThreadPoolName">jboss.jca:service=WorkManagerThreadPool</depends>
+     <depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.resource.deployment.RARDeployer" 
+	      name="jboss.jca:service=RARDeployer">
+	  <depends optional-attribute-name="WorkManagerName">jboss.jca:service=WorkManager</depends>
+     <depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.deployment.XSLSubDeployer" name="jboss.jca:service=ConnectionFactoryDeployer">
+    <attribute name="DdSuffix">-ds.xml</attribute>
+    <attribute name="EnhancedSuffixes">300:-ds.xml</attribute>
+    <attribute name="XslUrl">stylesheets/ConnectionFactoryTemplate.xsl</attribute>
+    <attribute name="ValidateDTDs">false</attribute>
+  </mbean>
+
+  <!-- 
+     | The CachedConnectionManager is used partly to relay started UserTransactions to 
+     | open connections so they may be enrolled in the new tx.
+   -->
+  <mbean code="org.jboss.resource.connectionmanager.CachedConnectionManager" 
+         name="jboss.jca:service=CachedConnectionManager">
+    <depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
+
+    <!-- Enable connection close debug monitoring -->
+    <attribute name="Debug">true</attribute>
+
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+Manifest-Version: 1.2
+Ant-Version: Apache Ant 1.6.5
+Created-By: 1.5.0_12-b04 (Sun Microsystems Inc.)
+Specification-Title: JBossWS
+Specification-Version: jbossws-2.0
+Specification-Vendor: JBoss (http://www.jboss.org)
+Implementation-Title: JBoss Web Services - Native
+Implementation-URL: http://www.jboss.org/products/jbossws
+Implementation-Version: jbossws-native-2.0.1.SP2 (build=200710210837)
+Implementation-Vendor: JBoss Inc.
+Implementation-Vendor-Id: http://www.jboss.org
+Class-Path: jbossws-spi.jar jbossws-common.jar jbossws-framework.jar j
+ boss-jaxrpc.jar jboss-jaxws.jar jboss-saaj.jar  activation.jar common
+ s-logging.jar concurrent.jar javassist.jar jaxb-api.jar jaxb-impl.jar
+   mail.jar jboss-remoting.jar jboss-xml-binding.jar policy.jar stax-a
+ pi.jar wsdl4j.jar
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-service.xml 3884 2007-07-13 15:42:07Z thomas.diesler at jboss.com $ -->
+
+<server>
+
+   <!--
+     A deployer service for JSE endpoints.
+   -->
+   <mbean name="jboss.ws:service=DeployerInterceptorJSE" code="org.jboss.wsf.container.jboss42.DeployerInterceptorJSE">
+      <depends-list optional-attribute-name="Interceptables">
+         <depends-list-element>jboss.web:service=WebServer</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!--
+     A deployer service for EJB2.1 endpoints.
+   -->
+   <mbean name="jboss.ws:service=DeployerInterceptorEJB21" code="org.jboss.wsf.container.jboss42.DeployerInterceptorEJB21">
+      <depends-list optional-attribute-name="Interceptables">
+         <depends-list-element>jboss.ejb:service=EJBDeployer</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!--
+     A deployer service for EJB3 endpoints.
+   -->
+   <mbean name="jboss.ws:service=DeployerInterceptorEJB3" code="org.jboss.wsf.container.jboss42.DeployerInterceptorEJB3">
+      <depends-list optional-attribute-name="Interceptables">
+         <depends-list-element>jboss.ejb3:service=EJB3Deployer</depends-list-element>
+      </depends-list>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxrpc-client-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxrpc-client-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxrpc-client-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: standard-jaxrpc-client-config.xml 3803 2007-07-05 17:20:58Z thomas.diesler at jboss.com $ -->
+
+<jaxrpc-config xmlns="urn:jboss:jaxrpc-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+  xsi:schemaLocation="urn:jboss:jaxrpc-config:2.0 jaxrpc-config_2_0.xsd">
+  
+  <client-config>
+    <config-name>Standard Client</config-name>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard MTOM client</config-name>
+    <feature>http://org.jboss.ws/mtom</feature>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard WSAddressing Client</config-name>
+    <post-handler-chain>
+      <handler-chain-name>WSAddressing Handlers</handler-chain-name>
+      <handler>
+        <j2ee:handler-name>WSAddressingClientHandler</j2ee:handler-name>
+        <j2ee:handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingClientHandler</j2ee:handler-class>
+      </handler>
+    </post-handler-chain>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard WSSecurity Client</config-name>
+    <post-handler-chain>
+      <handler-chain-name>WSSecurity Handlers</handler-chain-name>
+      <handler>
+        <j2ee:handler-name>WSSecurityHandlerOutbound</j2ee:handler-name>
+        <j2ee:handler-class>org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerOutbound</j2ee:handler-class>
+      </handler>
+    </post-handler-chain>
+  </client-config>
+  
+</jaxrpc-config>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxrpc-endpoint-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxrpc-endpoint-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxrpc-endpoint-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: standard-jaxrpc-endpoint-config.xml 3803 2007-07-05 17:20:58Z thomas.diesler at jboss.com $ -->
+
+<jaxrpc-config xmlns="urn:jboss:jaxrpc-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+  xsi:schemaLocation="urn:jboss:jaxrpc-config:2.0 jaxrpc-config_2_0.xsd">
+  
+  <endpoint-config>
+    <config-name>Standard Endpoint</config-name>
+  </endpoint-config>
+  
+  <endpoint-config>
+    <config-name>Standard MTOM Endpoint</config-name>
+    <feature>http://org.jboss.ws/mtom</feature>
+  </endpoint-config>
+  
+  <endpoint-config>
+    <config-name>Standard WSAddressing Endpoint</config-name>
+    <pre-handler-chain>
+      <handler-chain-name>WSAddressing Handlers</handler-chain-name>
+      <handler>
+        <j2ee:handler-name>WSAddressing Handler</j2ee:handler-name>
+        <j2ee:handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingServerHandler</j2ee:handler-class>
+      </handler>
+    </pre-handler-chain>
+  </endpoint-config>
+  
+  <endpoint-config>
+    <config-name>Standard WSSecurity Endpoint</config-name>
+    <pre-handler-chain>
+      <handler-chain-name>WSSecurity Handlers</handler-chain-name>
+      <handler>
+        <j2ee:handler-name>WSSecurityHandlerInbound</j2ee:handler-name>
+        <j2ee:handler-class>org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerInbound</j2ee:handler-class>
+      </handler>
+    </pre-handler-chain>
+  </endpoint-config>
+  
+</jaxrpc-config>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: standard-jaxws-client-config.xml 3803 2007-07-05 17:20:58Z thomas.diesler at jboss.com $ -->
+
+<jaxws-config xmlns="urn:jboss:jaxws-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+  xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
+  
+  <client-config>
+    <config-name>Standard Client</config-name>
+    <feature>http://org.jboss.ws/dispatch/validate</feature>
+    <property>
+      <property-name>http://org.jboss.ws/http#chunksize</property-name>
+      <property-value>2048</property-value>
+    </property>
+  </client-config>
+  
+  <client-config>
+    <config-name>HTTP 1.0 Client</config-name>
+    <feature>http://org.jboss.ws/dispatch/validate</feature>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard WSAddressing Client</config-name>
+    <post-handler-chains>
+      <javaee:handler-chain>
+        <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+        <javaee:handler>
+          <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+          <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
+        </javaee:handler>
+      </javaee:handler-chain>
+    </post-handler-chains>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard WSSecurity Client</config-name>
+    <post-handler-chains>
+      <javaee:handler-chain>
+        <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+        <javaee:handler>
+          <javaee:handler-name>WSSecurityHandlerOutbound</javaee:handler-name>
+          <javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient</javaee:handler-class>
+        </javaee:handler>
+      </javaee:handler-chain>
+    </post-handler-chains>
+  </client-config>
+  
+</jaxws-config>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: standard-jaxws-endpoint-config.xml 3803 2007-07-05 17:20:58Z thomas.diesler at jboss.com $ -->
+
+<jaxws-config xmlns="urn:jboss:jaxws-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+  xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
+  
+  <endpoint-config>
+    <config-name>Standard Endpoint</config-name>
+  </endpoint-config>
+  
+  <!--
+    Generates message part names 'parameters' in WSDL for document/literal/wapped.
+    See: [JBWS-771] Use part names that are friendly to .NET
+  -->
+  <endpoint-config>
+    <config-name>.NET friendly Endpoint</config-name>
+    <feature>http://org.jboss.ws/binding/wsdl/dotnet</feature>
+  </endpoint-config>
+  
+  <endpoint-config>
+    <config-name>Standard WSAddressing Endpoint</config-name>
+    <post-handler-chains>
+      <javaee:handler-chain>
+        <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+        <javaee:handler>
+          <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+          <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler</javaee:handler-class>
+        </javaee:handler>
+      </javaee:handler-chain>
+    </post-handler-chains>
+  </endpoint-config>
+  
+  <endpoint-config>
+    <config-name>Standard WSSecurity Endpoint</config-name>
+    <post-handler-chains>
+      <javaee:handler-chain>
+        <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+        <javaee:handler>
+          <javaee:handler-name>WSSecurity Handler</javaee:handler-name>
+          <javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer</javaee:handler-class>
+        </javaee:handler>
+      </javaee:handler-chain>
+    </post-handler-chains>
+  </endpoint-config>
+  
+</jaxws-config>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jaxb-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jaxb-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jaxb-impl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jaxb-impl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-jaxb-intros.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-jaxb-intros.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-jaxrpc.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-jaxrpc.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-jaxws.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-jaxws.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-saaj.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jboss-saaj.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE jboss-web
+    PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">
+
+<jboss-web>
+
+  <!-- A security domain that restricts access
+  <security-domain>java:/jaas/JBossWS</security-domain>
+  -->
+  
+  <context-root>jbossws</context-root>
+
+</jboss-web>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+  A web application that installs the JBossWS servlets
+
+  $Id: web.xml 4016 2007-07-27 06:00:11Z thomas.diesler at jboss.com $
+-->
+
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+  <display-name>JBossWS</display-name>
+
+  <servlet>
+    <servlet-name>ContextServlet</servlet-name>
+    <servlet-class>org.jboss.wsf.framework.management.ContextServlet</servlet-class>
+  </servlet>
+
+  <servlet>
+    <servlet-name>PortComponentLinkServlet</servlet-name>
+    <servlet-class>org.jboss.ws.core.server.PortComponentLinkServlet</servlet-class>
+  </servlet>
+  
+  <!-- now the mappings -->
+  
+  <servlet-mapping>
+    <servlet-name>ContextServlet</servlet-name>
+    <url-pattern>/services/*</url-pattern>
+  </servlet-mapping>
+
+  <servlet-mapping>
+    <servlet-name>PortComponentLinkServlet</servlet-name>
+    <url-pattern>/pclink</url-pattern>
+  </servlet-mapping>
+
+   <!-- A security constraint that restricts access
+   <security-constraint>
+     <web-resource-collection>
+       <web-resource-name>ContextServlet</web-resource-name>
+       <description>An example security config that only allows users with the
+         role 'friend' to access the JBossWS console web application
+       </description>
+       <url-pattern>/*</url-pattern>
+       <http-method>GET</http-method>
+       <http-method>POST</http-method>
+     </web-resource-collection>
+     <auth-constraint>
+       <role-name>friend</role-name>
+     </auth-constraint>
+   </security-constraint>
+   -->
+
+   <login-config>
+      <auth-method>BASIC</auth-method>
+      <realm-name>JBossWS Management Console</realm-name>
+   </login-config>
+
+   <security-role>
+      <role-name>friend</role-name>
+   </security-role>
+  
+  <!-- 
+  currently the W3C haven't settled on a media type for WSDL;
+  http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
+  for now we go with the basic 'it's XML' response 
+  -->
+  <mime-mapping>
+    <extension>wsdl</extension>
+    <mime-type>text/xml</mime-type>
+  </mime-mapping>
+
+  <mime-mapping>
+    <extension>xsd</extension>
+    <mime-type>text/xml</mime-type>
+  </mime-mapping>
+
+  <welcome-file-list id="WelcomeFileList">
+    <welcome-file>index.html</welcome-file>
+  </welcome-file-list>
+
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/index.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/index.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/index.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,63 @@
+<html><head>
+<meta http-equiv='Content-Type content='text/html; charset=iso-8859-1'>
+<title>JBossWS</title>
+<link rel='stylesheet' href='./styles.css'>
+</head>
+<body>
+
+<div class='pageHeader'>Welcome to JBoss Web Services</div>
+
+<div class="pageSection">
+<h2>J2EE compatible web services</h2>
+JBossWS is a JAX-WS compliant web service stack developed to be part of JBoss' JavaEE5 offering.
+</div>
+
+<div class="pageSection">
+<h3>Administration</h3>
+
+<fieldset>
+    <legend><b>Runtime information</b></legend>
+<ul>
+	<li><a href="services">View a list of deployed services</a></li>
+	<!--li><a href="depends">View installed dependencies</a></li-->
+	<li><a href="/jmx-console/">Access JMX console</a></li>
+</ul>
+</fieldset>
+</div>
+
+<div class="pageSection">
+<h3>Project information</h3>
+
+<fieldset>
+    <legend><b>Documentation</b></legend>
+
+<ul>
+	<li><a href="http://labs.jboss.com/portal/jbossws/downloads">Latest download and samples</a></li>
+	<li><a href="http://jbws.dyndns.org/mediawiki/index.php/JBossWS_FAQs">FAQ</a></li>
+	<li><a href="http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide">User guide</a></li>
+	<li><a href="http://jbws.dyndns.org/mediawiki/index.php/Main_Page">JBossWS WIKI</a></li>
+</ul>
+</fieldset>
+
+</br>
+<fieldset>
+    <legend><b>Community</b></legend>
+<ul>
+	<li><a href="http://www.jboss.org/index.html?module=bb&op=viewforum&f=200">User forum</a></li>
+	<li><a href="http://www.jboss.org/index.html?module=bb&op=viewforum&f=174">Design forum</a></li>
+	<li><a href="https://lists.jboss.org/mailman/listinfo/jbossws-users">Mailing list</a></li>
+</ul>
+</fieldset>
+
+</br>
+<fieldset>
+    <legend><b>Source repository</b></legend>
+<ul>
+	<li><a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSourceRepository">Subversion repository</a></li>
+	<li><a href="http://fisheye.jboss.com/viewrep/JBossWS">Browse sources online</a></li>
+</ul>
+</fieldset>
+</div>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/styles.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/styles.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-context.war/styles.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,186 @@
+
+/* table for list views */
+.table_list {
+}
+
+/* table for detail views */
+.table_form {
+}
+
+.pageHeader {
+   font-size: 14pt;
+   font-weight: BOLD;
+   color: #ffffff;
+   border-bottom-width:1px;
+   border-bottom-style:solid;
+   border-color:#000066;
+   margin-bottom:15px;
+   padding-left:15px;
+   padding-top:5px;
+   padding-bottom:5px;
+   background-color: #aaaadd;
+   max-width: 900px;
+}
+
+.pageSection {
+ padding-left:15px;
+ margin-bottom: 5px;
+ max-width: 900px;
+}
+
+.metrics
+{	 
+   font-size: 6pt;
+   background-color: #dddddd;
+   width: 100%;
+}
+
+/* table row header */
+.list_tr_head {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   font-weight: 600;
+   text-align: center;
+   background-color: #aaaadd;
+}
+
+/* table row list view */
+.list_tr {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #ffffff;
+}
+
+/* table row list view odd lines */
+.list_tr_even {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #ffffff;
+}
+
+/* table row list view even lines */
+.list_tr_odd {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #dddddd;
+}
+
+/* form label */
+.form_label {
+   font-family: Verdana, sans-serif;
+   font-weight: 500;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: top;
+   background-color: #dddddd;
+   padding-top: 2px;
+   padding-bottom: 2px;
+}
+
+/* form value */
+.form_value {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   vertical-align: baseline;
+}
+
+/* tiny writing */
+.tiny {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #666666;
+}
+
+/* required input fields */
+.inputmust {
+   background-color: #dddddd;
+}
+
+/* error message */
+.error {
+   font-family: Courier New;
+   color: #990000;
+}
+
+/* error message */
+.error_trace {
+   font-family: Courier New;
+}
+
+/* active tree node */
+.tree_active_label {
+   font-weight: bold;
+}
+
+body {
+   font-family: Verdana,, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+   background-color: #ffffff;
+}
+
+/* title style */
+h1 {
+   font-family: Verdana, sans-serif;
+   font-size: 14pt;
+   font-weight: 600;
+   color: #000066;
+}
+
+h2 {
+   font-family: Verdana, sans-serif;
+   font-size: 12pt;
+   font-weight: 600;
+   color: #000066;
+}
+
+h3 {
+   font-family: Verdana, sans-serif;
+   font-size: 10pt;
+   font-weight: 600;
+   color: #000066;
+}
+
+h4 {
+   font-family: Verdana, sans-serif;
+   font-size: 10pt;
+   font-weight: 500;
+   color: #000066;
+}
+
+/* table desk */
+td {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   padding-left: 5px;
+   padding-right: 5px;
+}
+
+input, textarea, select, option {
+   font-family: Verdana, sans-serif;
+   font-size: 8pt;
+   color: #000066;
+}
+
+a {
+   font-family: Verdana, sans-serif;
+   color: #0000dd;
+   text-decoration: none;
+}
+
+a:hover{
+   font-family: Verdana, sans-serif;
+   color: #cc0000;
+   text-decoration: none;
+}
+
+pre {
+    background:#dddddd
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-core.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-core.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-native.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws-native.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,437 @@
+
+<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd" xmlns="urn:jboss:bean-deployer">
+
+  <!-- An abstraction of server configuration aspects. -->  
+  <bean name="WSServerConfig" class="org.jboss.wsf.stack.jbws.NativeServerConfig">
+    <property name="mbeanServer"><inject bean="WSMBeanServerLocator" property="mbeanServer"/></property>
+    
+    <!--
+        The WSDL, that is a required deployment artifact for an endpoint, has a <soap:address>
+        element which points to the location of the endpoint. JBoss supports rewriting of that SOAP address.
+      
+        If the content of <soap:address> is a valid URL, JBossWS will not rewrite it unless 'modifySOAPAddress' is true.
+        If the content of <soap:address> is not a valid URL, JBossWS will rewrite it using the attribute values given below.
+        
+        If 'webServiceHost' is not set, JBossWS uses requesters protocol host when rewriting the <soap:address>.
+    -->
+    <property name="webServiceHost">${jboss.bind.address}</property>
+    <property name="modifySOAPAddress">true</property>
+    
+    <!-- 
+      Set these properties to explicitly define the ports that will be used for rewriting the SOAP address.
+      Otherwise the ports will be identified by querying the list of installed connectors. 
+      If multiple connectors are found the port of the first connector is used.
+      <property name="webServiceSecurePort">8443</property>
+      <property name="webServicePort">8080</property>
+    -->
+  </bean>
+
+  <!-- The registry for web service endpoints -->
+  <bean name="WSEndpointRegistry" class="org.jboss.wsf.framework.management.ManagedEndpointRegistry">
+    <property name="mbeanServer"><inject bean="WSMBeanServerLocator" property="mbeanServer"/></property>
+  </bean>
+  
+  <!-- A subscription manager for WS-Eventing -->
+  <bean name="WSSubscriptionManager" class="org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager">
+    <property name="bindAddress">${jboss.bind.address}</property>
+  </bean>
+  
+  <!-- 
+    The stack specific deployment aspects
+  --> 
+  <bean name="WSNativeContextPropertiesDeploymentAspect" class="org.jboss.wsf.framework.deployment.ContextPropertiesDeploymentAspect">
+    <property name="provides">ContextProperties, StackDescriptor</property>
+    <property name="contextProperties">
+      <map keyClass="java.lang.String" valueClass="java.lang.String">
+        <entry><key>org.jboss.ws.webapp.ServletClass</key><value>org.jboss.wsf.stack.jbws.EndpointServlet</value></entry>
+      </map>
+    </property>
+  </bean>
+  
+  <bean name="WSNativeEagerInitializeDeploymentAspect" class="org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect">
+    <property name="requires">UnifiedMetaDataModel</property>
+    <property name="provides">InitializedMetaDataModel</property>
+  </bean>
+  
+  <bean name="WSNativeEndpointHandlerDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
+    <property name="requires">ContainerEndpointHandler, ContainerMetaData</property>
+    <property name="provides">StackEndpointHandler</property>             
+  </bean>
+  
+  <bean name="WSNativeEventingDeploymentAspect" class="org.jboss.wsf.stack.jbws.EventingDeploymentAspect">
+    <property name="requires">UnifiedMetaDataModel</property>
+  </bean>
+  
+  <bean name="WSNativePublishContractDeploymentAspect" class="org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect">
+    <property name="requires">UnifiedMetaDataModel</property>
+    <property name="provides">PublishedContract</property>
+  </bean>
+  
+  <bean name="WSNativeServiceEndpointInvokerDeploymentAspect" class="org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect">
+    <property name="requires">UnifiedMetaDataModel</property>
+  </bean>
+  
+  <bean name="WSNativeUnifiedMetaDataDeploymentAspect" class="org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect">
+    <property name="requires">RuntimeLoader, ContainerMetaData, URLPattern, VFSRoot</property>
+    <property name="provides">UnifiedMetaDataModel</property>
+  </bean>
+
+  <bean name="WSJAXBIntroDeploymentAspect" class="org.jboss.wsf.stack.jbws.JAXBIntroDeploymentAspect">
+    <property name="requires">UnifiedMetaDataModel, RuntimeLoader</property>
+  </bean>
+
+      <!-- Deployment aspect installers -->
+  <!-- Phase 1 -->
+  <bean name="WSNativeDeploymentAspectInstallerPreJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerPreJSE"/></property>
+    <property name="sortAspectsOnCreate">true</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSNativeContextPropertiesDeploymentAspect"/>
+      </set>
+    </property>
+    <depends>WSDeploymentAspectInstallerPreJSE</depends>
+  </bean>
+  <!-- Phase 2 -->
+  <bean name="WSNativeDeploymentAspectInstallerPostJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerPostJSE"/></property>
+    <property name="sortAspectsOnCreate">true</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">        
+        <inject bean="WSNativeEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSNativeEventingDeploymentAspect"/>
+        <inject bean="WSNativePublishContractDeploymentAspect"/>
+        <inject bean="WSNativeServiceEndpointInvokerDeploymentAspect"/>
+        <inject bean="WSNativeUnifiedMetaDataDeploymentAspect"/>
+        <inject bean="WSNativeEagerInitializeDeploymentAspect"/>
+        <inject bean="WSJAXBIntroDeploymentAspect"/>
+      </set>
+    </property>
+    <depends>WSDeploymentAspectInstallerPostJSE</depends>
+  </bean>
+
+  <bean name="WSNativeDeploymentAspectInstallerEJB" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerEJB"/></property>
+    <property name="sortAspectsOnCreate">true</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSNativeContextPropertiesDeploymentAspect"/>
+        <inject bean="WSNativeEagerInitializeDeploymentAspect"/>
+        <inject bean="WSNativeEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSNativeEventingDeploymentAspect"/>
+        <inject bean="WSNativePublishContractDeploymentAspect"/>
+        <inject bean="WSNativeServiceEndpointInvokerDeploymentAspect"/>
+        <inject bean="WSNativeUnifiedMetaDataDeploymentAspect"/>
+        <inject bean="WSJAXBIntroDeploymentAspect"/>
+      </set>
+    </property>
+    <depends>WSDeploymentAspectInstallerEJB</depends>
+  </bean>
+      
+  <bean name="WSNativeDeploymentAspectInstallerEndpointAPI" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerEndpointAPI"/></property>
+    <property name="sortAspectsOnCreate">true</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSNativeContextPropertiesDeploymentAspect"/>
+        <inject bean="WSNativeEagerInitializeDeploymentAspect"/>
+        <inject bean="WSNativeEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSNativeEventingDeploymentAspect"/>
+        <inject bean="WSNativePublishContractDeploymentAspect"/>
+        <inject bean="WSNativeServiceEndpointInvokerDeploymentAspect"/>
+        <inject bean="WSNativeUnifiedMetaDataDeploymentAspect"/>
+        <inject bean="WSJAXBIntroDeploymentAspect"/>
+      </set>
+    </property>
+    <depends>WSDeploymentAspectInstallerEndpointAPI</depends>
+  </bean>
+  
+  <!-- Locate the single instance of the kernel -->  
+  <bean name="WSKernelLocator" class="org.jboss.wsf.spi.util.KernelLocator">
+    <property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property>
+  </bean>
+  
+  <!-- Locate the single instance of the MBeanServer -->  
+  <bean name="WSMBeanServerLocator" class="org.jboss.wsf.framework.management.MBeanServerLocator"/>
+  
+  <!-- The HTTPServer used by the JAXWS Endpoint API -->  
+  <bean name="WSHTTPServer" class="org.jboss.wsf.container.jboss42.DeploymentAspectHttpServer"/>
+
+  <!-- Bind Service objects in client environment context  -->
+  <bean name="WSServiceRefHandler" class="org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl"/>
+
+  <!-- JBoss_4_2_0_GA uses this hardcoded bean name -->
+  <bean name="ServiceRefHandler" class="org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl"/>
+
+  <!-- 
+    ********************************************************************************************************************* 
+    Web Service deployment                                                                                                
+    
+    There are three deployer interceptors registered with the JBoss Deployers. 
+    
+    1) DeployerInterceptorJSE
+    2) DeployerInterceptorEJB21
+    3) DeployerInterceptorEJB3
+    
+    Each interceptor has a number of DeployerHooks registerd with it 
+    
+    Conceptually, each of these hooks implements the following pattern:
+    
+    DployerHook.deploy(unit) 
+      if(isWebServiceDeployment)
+        Deployment dep = createDeployment(unit)
+        DeploymentAspectManager.deploy(dep)
+ 
+    DeployerHook.undeploy(unit)
+      Deployment dep = getDeployment(unit) 
+      DeploymentAspectManager.undeploy(dep)
+    
+    Each deployer hook has a web service DeployerManager injected into it. 
+    A web service DeployerManager maintains a list of Deployers, each of which 
+    handles a single aspect of web service deployment.
+    
+    Finally, each Endpoint is registered with the EndpointRegistry.
+    
+    ********************************************************************************************************************* 
+  -->
+  
+  <!-- 
+    Register DeployerHooks with JBoss deployers 
+  -->
+
+  <!-- Phase 1 -->
+  <bean name="WSDeployerHook_JAXRPC_PRE_JSE" class="org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPreJSE">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerPreJSE</property>
+    <property name="phaseOneInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorJSE</value>
+      </list>
+    </property>
+  </bean>
+
+  <!-- Phase 2 -->
+  <bean name="WSDeployerHook_JAXRPC_POST_JSE" class="org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPostJSE">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerPostJSE</property>
+    <property name="phaseTwoInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorJSE</value>
+      </list>
+    </property>
+  </bean>
+
+  <bean name="WSDeployerHook_JAXRPC_EJB21" class="org.jboss.wsf.container.jboss42.JAXRPCDeployerHookEJB21">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerEJB</property>
+    <property name="phaseTwoInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorEJB21</value>
+      </list>
+    </property>
+  </bean>
+
+  <!-- Phase 1 -->
+  <bean name="WSDeployerHook_JAXWS_PRE_JSE" class="org.jboss.wsf.container.jboss42.JAXWSDeployerHookPreJSE">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerPreJSE</property>
+    <property name="phaseOneInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorJSE</value>
+      </list>
+    </property>
+  </bean>
+
+  <!-- Phase 2 -->
+  <bean name="WSDeployerHook_JAXWS_POST_JSE" class="org.jboss.wsf.container.jboss42.JAXWSDeployerHookPostJSE">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerPostJSE</property>
+    <property name="phaseTwoInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorJSE</value>
+      </list>
+    </property>
+  </bean>
+
+  <bean name="WSDeployerHook_JAXWS_EJB3" class="org.jboss.wsf.container.jboss42.JAXWSDeployerHookEJB3">
+    <property name="deploymentManagerName">WSDeploymentAspectManagerEJB</property>
+    <property name="phaseTwoInterceptors">
+      <list class="java.util.LinkedList" elementClass="javax.management.ObjectName">
+        <value>jboss.ws:service=DeployerInterceptorEJB3</value>
+      </list>
+    </property>
+  </bean>
+  
+  <!-- 
+    Each DeploymentAspectManger maintains a list of DeploymentAspects
+  -->
+  <bean name="WSDeploymentAspectManagerPreJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
+    <property name="name">WSDeploymentAspectManagerPreJSE</property>
+  </bean>
+  <bean name="WSDeploymentAspectManagerPostJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
+    <property name="parent"><inject bean="WSDeploymentAspectManagerPreJSE"/></property>
+    <property name="name">WSDeploymentAspectManagerPostJSE</property>
+  </bean>
+  <bean name="WSDeploymentAspectManagerEJB" class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
+    <property name="name">WSDeploymentAspectManagerEJB</property>
+  </bean>
+  <bean name="WSDeploymentAspectManagerEndpointAPI" class="org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl">
+    <property name="name">WSDeploymentAspectManagerEndpointAPI</property>
+  </bean>
+  
+  <!-- 
+    The container deployment aspects
+  --> 
+  <bean name="WSContainerMetaDataDeploymentAspect" class="org.jboss.wsf.container.jboss42.ContainerMetaDataDeploymentAspect">
+    <property name="provides">ContainerMetaData, VFSRoot</property>
+    <property name="metaDataAdapter"><inject bean="WSContainerMetaDataAdapter"/></property>
+  </bean>
+  
+  <bean name="WSContextRootDeploymentAspect" class="org.jboss.wsf.framework.deployment.BackwardCompatibleContextRootDeploymentAspect">
+    <property name="requires">ContainerMetaData</property>
+    <property name="provides">ContextRoot</property>
+  </bean>
+  
+  <bean name="WSEndpointAPIDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointAPIDeploymentAspect">
+    <property name="provides">ContainerMetaData, RuntimeLoader, URLPattern, VFSRoot</property>
+  </bean>
+
+  <bean name="WSEndpointAddressDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointAddressDeploymentAspect">
+    <property name="requires">URLPattern</property>
+    <property name="provides">EndpointAddress</property>
+  </bean>
+  
+  <bean name="WSEndpointHandlerDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
+    <property name="requires">ContainerMetaData</property>
+    <property name="provides">ContainerEndpointHandler</property>   
+  </bean>
+  
+  <bean name="WSEndpointLifecycleDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect">
+    <property name="requires">LAST_DEPLOYMENT_ASPECT</property>
+  </bean>
+
+  <bean name="WSEndpointMetricsDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointMetricsDeploymentAspect">
+    <property name="provides">EndpointMetrics</property>    
+  </bean>
+  
+  <bean name="WSEndpointNameDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointNameDeploymentAspect">
+    <property name="requires">URLPattern</property>
+    <property name="provides">EndpointName</property>
+  </bean>
+  
+  <bean name="WSEndpointRegistryDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect">
+    <property name="requires">EndpointName</property>
+    <property name="provides">RegisteredEndpoint</property>
+  </bean>
+  
+  <bean name="WSModifyWebMetaDataDeploymentAspect" class="org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect">
+    <property name="requires">ContextProperties, ContainerMetaData, StackDescriptor</property>
+    <property name="webXMLRewriter"><inject bean="WSWebXMLRewriter"/></property>
+  </bean>
+  
+  <bean name="WSRuntimeLoaderDeploymentAspect" class="org.jboss.wsf.container.jboss42.RuntimeLoaderDeploymentAspect">
+    <property name="requires">ContainerMetaData</property>
+    <property name="provides">RuntimeLoader</property>
+  </bean>
+  
+  <bean name="WSURLPatternDeploymentAspect" class="org.jboss.wsf.framework.deployment.BackwardCompatibleURLPatternDeploymentAspect">
+    <property name="requires">ContextRoot, ContainerMetaData</property>
+    <property name="provides">URLPattern</property>
+  </bean>
+  
+  <bean name="WSWebAppDeploymentAspect" class="org.jboss.wsf.container.jboss42.WebAppDeploymentAspect">
+    <property name="requires">WebMetaData, ContextProperties</property>
+    <property name="webXMLRewriter"><inject bean="WSWebXMLRewriter"/></property>
+  </bean>
+  
+  <bean name="WSWebAppGeneratorDeploymentAspect" class="org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect">
+    <property name="requires">URLPattern</property>
+    <property name="provides">WebMetaData</property>
+    <property name="securityHandlerEJB21"><inject bean="WSSecurityHandlerEJB21"/></property>
+    <property name="securityHandlerEJB3"><inject bean="WSSecurityHandlerEJB3"/></property>
+  </bean>
+
+  <!-- Deployment aspect helper beans -->
+  <bean name="WSApplicationMetaDataAdapterEJB21" class="org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB21"/>
+  <bean name="WSApplicationMetaDataAdapterEJB3" class="org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB3"/>
+  <bean name="WSContainerMetaDataAdapter" class="org.jboss.wsf.container.jboss42.ContainerMetaDataAdapter">
+    <property name="applicationMetaDataAdapterEJB21"><inject bean="WSApplicationMetaDataAdapterEJB21"/></property>
+    <property name="applicationMetaDataAdapterEJB3"><inject bean="WSApplicationMetaDataAdapterEJB3"/></property>
+    <property name="webMetaDataAdapter"><inject bean="WSWebMetaDataAdapter"/></property>
+  </bean>
+  <bean name="WSSecurityHandlerEJB21" class="org.jboss.wsf.container.jboss42.SecurityHandlerEJB21"/>
+  <bean name="WSSecurityHandlerEJB3" class="org.jboss.wsf.container.jboss42.SecurityHandlerEJB3"/>
+  <bean name="WSWebAppDesciptorModifier" class="org.jboss.wsf.container.jboss42.DefaultWebAppDesciptorModifierImpl"/>
+  <bean name="WSWebMetaDataAdapter" class="org.jboss.wsf.container.jboss42.JSEArchiveMetaDataAdapter"/>
+  <bean name="WSWebXMLRewriter" class="org.jboss.wsf.container.jboss42.WebXMLRewriterImpl">
+    <property name="desciptorModifier"><inject bean="WSWebAppDesciptorModifier"/></property>
+  </bean>
+  
+  <!-- Deployment aspect installers -->
+  <!-- Phase 1 -->
+  <bean name="WSDeploymentAspectInstallerPreJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerPreJSE"/></property>
+    <property name="sortAspectsOnCreate">false</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSContainerMetaDataDeploymentAspect"/>
+        <inject bean="WSContextRootDeploymentAspect"/>
+        <inject bean="WSEndpointAddressDeploymentAspect"/>
+        <inject bean="WSEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSEndpointMetricsDeploymentAspect"/>
+        <inject bean="WSEndpointNameDeploymentAspect"/>
+        <inject bean="WSEndpointRegistryDeploymentAspect"/>
+        <inject bean="WSModifyWebMetaDataDeploymentAspect"/>
+        <inject bean="WSURLPatternDeploymentAspect"/>
+      </set>
+    </property>
+  </bean>
+
+  <!-- Phase 2 -->
+  <bean name="WSDeploymentAspectInstallerPostJSE" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerPostJSE"/></property>
+    <property name="sortAspectsOnCreate">false</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSEndpointLifecycleDeploymentAspect"/>
+        <inject bean="WSRuntimeLoaderDeploymentAspect"/>
+      </set>
+    </property>
+    <depends>WSDeploymentAspectInstallerPreJSE</depends>
+  </bean>
+
+  <bean name="WSDeploymentAspectInstallerEJB" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerEJB"/></property>
+    <property name="sortAspectsOnCreate">false</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSContainerMetaDataDeploymentAspect"/>
+        <inject bean="WSContextRootDeploymentAspect"/>
+        <inject bean="WSEndpointAddressDeploymentAspect"/>
+        <inject bean="WSEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSEndpointLifecycleDeploymentAspect"/>
+        <inject bean="WSEndpointMetricsDeploymentAspect"/>
+        <inject bean="WSEndpointNameDeploymentAspect"/>
+        <inject bean="WSEndpointRegistryDeploymentAspect"/>
+        <inject bean="WSRuntimeLoaderDeploymentAspect"/>
+        <inject bean="WSURLPatternDeploymentAspect"/>
+        <inject bean="WSWebAppDeploymentAspect"/>
+        <inject bean="WSWebAppGeneratorDeploymentAspect"/>
+      </set>
+    </property>
+  </bean>
+
+  <bean name="WSDeploymentAspectInstallerEndpointAPI" class="org.jboss.wsf.framework.deployment.DeploymentAspectInstaller">
+    <property name="manager"><inject bean="WSDeploymentAspectManagerEndpointAPI"/></property>
+    <property name="sortAspectsOnCreate">false</property>
+    <property name="aspects">
+      <set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
+        <inject bean="WSEndpointAPIDeploymentAspect"/>
+        <inject bean="WSEndpointAddressDeploymentAspect"/>
+        <inject bean="WSEndpointHandlerDeploymentAspect"/>
+        <inject bean="WSEndpointLifecycleDeploymentAspect"/>
+        <inject bean="WSEndpointMetricsDeploymentAspect"/>
+        <inject bean="WSEndpointNameDeploymentAspect"/>
+        <inject bean="WSEndpointRegistryDeploymentAspect"/>
+        <inject bean="WSWebAppDeploymentAspect"/>
+        <inject bean="WSWebAppGeneratorDeploymentAspect"/>
+      </set>
+    </property>
+  </bean>
+
+</deployment>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/policy.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/policy.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/stax-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/stax-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/wsdl4j.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/wsdl4j.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/wstx.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/wstx.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/xmlsec.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jbossws.sar/xmlsec.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/hsqldb-jdbc-state-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/hsqldb-jdbc-state-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/hsqldb-jdbc-state-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: hsqldb-jdbc-state-service.xml 63362 2007-06-05 19:19:17Z adrian at jboss.org $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- JBossMQ State Management                                             -->
+  <!--                                                                      -->
+  <!-- This configuration uses DefaultDS which by default is HSQLDB         -->
+  <!--                                                                      -->
+  <!-- If you want to use a different database/jndi name then either change -->
+  <!-- the ConnectionManager property, e.g.                                 -->
+  <!-- Oracle: jboss.jca:service=DataSourceBinding,name=OracleDS            -->
+  <!-- or                                                                   -->
+  <!-- change the jndi binding DefaultDS to be the database you want to use.-->
+  <!-- ==================================================================== -->
+   
+  <!-- A Statemanager that stores state in the database -->
+  <mbean code="org.jboss.mq.sm.jdbc.JDBCStateManager"
+	      name="jboss.mq:service=StateManager">
+    <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
+    <attribute name="SqlProperties">
+      CREATE_TABLES_ON_STARTUP = TRUE
+      CREATE_USER_TABLE = CREATE TABLE JMS_USERS (USERID VARCHAR(32) NOT NULL, PASSWD VARCHAR(32) NOT NULL, \
+                                                 CLIENTID VARCHAR(128) NULL, PRIMARY KEY(USERID))
+      CREATE_ROLE_TABLE = CREATE TABLE JMS_ROLES (ROLEID VARCHAR(32) NOT NULL, USERID VARCHAR(32) NOT NULL, \
+                                                 PRIMARY KEY(USERID, ROLEID))
+      CREATE_SUBSCRIPTION_TABLE = CREATE TABLE JMS_SUBSCRIPTIONS (CLIENTID VARCHAR(128) NOT NULL, \
+                                                 SUBNAME VARCHAR(128) NOT NULL, TOPIC VARCHAR(255) NOT NULL, \
+                                                 SELECTOR VARCHAR(255) NULL, PRIMARY KEY(CLIENTID, SUBNAME))
+      GET_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=?
+      LOCK_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=?
+      GET_SUBSCRIPTIONS_FOR_TOPIC = SELECT CLIENTID, SUBNAME, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE TOPIC=?
+      INSERT_SUBSCRIPTION = INSERT INTO JMS_SUBSCRIPTIONS (CLIENTID, SUBNAME, TOPIC, SELECTOR) VALUES(?,?,?,?)
+      UPDATE_SUBSCRIPTION = UPDATE JMS_SUBSCRIPTIONS SET TOPIC=?, SELECTOR=? WHERE CLIENTID=? AND SUBNAME=?
+      REMOVE_SUBSCRIPTION = DELETE FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=?
+      GET_USER_BY_CLIENTID = SELECT USERID, PASSWD, CLIENTID FROM JMS_USERS WHERE CLIENTID=?
+      GET_USER = SELECT PASSWD, CLIENTID FROM JMS_USERS WHERE USERID=?
+      POPULATE.TABLES.01 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('guest', 'guest')
+      POPULATE.TABLES.02 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('j2ee', 'j2ee')
+      POPULATE.TABLES.03 = INSERT INTO JMS_USERS (USERID, PASSWD, CLIENTID) VALUES ('john', 'needle', 'DurableSubscriberExample')
+      POPULATE.TABLES.04 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('nobody', 'nobody')
+      POPULATE.TABLES.05 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('dynsub', 'dynsub')
+      POPULATE.TABLES.06 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('guest','guest')
+      POPULATE.TABLES.07 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('j2ee','guest')
+      POPULATE.TABLES.08 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('john','guest')
+      POPULATE.TABLES.09 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('subscriber','john')
+      POPULATE.TABLES.10 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('publisher','john')
+      POPULATE.TABLES.11 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('publisher','dynsub')
+      POPULATE.TABLES.12 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('durpublisher','john')
+      POPULATE.TABLES.13 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('durpublisher','dynsub')
+      POPULATE.TABLES.14 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('noacc','nobody')
+    </attribute>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/hsqldb-jdbc2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/hsqldb-jdbc2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/hsqldb-jdbc2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: hsqldb-jdbc2-service.xml 38669 2005-12-02 02:51:48Z adrian $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Persistence and caching using HSQLDB                                 -->
+  <!-- See docs/examples/jms for other configurations                       -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | The destination manager is the core service within JBossMQ
+  -->
+  <mbean code="org.jboss.mq.server.jmx.DestinationManager" name="jboss.mq:service=DestinationManager">
+    <depends optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
+    <depends optional-attribute-name="PersistenceManager">jboss.mq:service=PersistenceManager</depends>
+    <depends optional-attribute-name="StateManager">jboss.mq:service=StateManager</depends>
+    <depends optional-attribute-name="ThreadPool">jboss.mq:service=ThreadPool</depends>
+    <depends>jboss:service=Naming</depends>
+  </mbean>
+
+  <!--
+     | The MessageCache decides where to put JBossMQ message that
+     | are sitting around waiting to be consumed by a client.
+     |
+     | The memory marks are in Megabytes.  Once the JVM memory usage hits
+     | the high memory mark, the old messages in the cache will start getting
+     | stored in the DataDirectory.  As memory usage gets closer to the
+     | Max memory mark, the amount of message kept in the memory cache aproaches 0.
+   -->
+  <mbean code="org.jboss.mq.server.MessageCache"
+	 name="jboss.mq:service=MessageCache">
+    <attribute name="HighMemoryMark">50</attribute>
+    <attribute name="MaxMemoryMark">60</attribute>
+    <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
+  </mbean>
+
+  <!-- 
+     | The jdbc2 PersistenceManager is the new improved JDBC implementation.
+     | This implementation allows you to control how messages are stored in 
+     | the database.
+     |
+     | Use this PM if you want the reliablity a relational database can offer
+     | you.  The default configuration is known to work with hsqldb, other
+     | databases will requrie teaking of the SqlProperties e.g. changing table
+     | colum definitions to database supported types.
+     |
+     | Take care that the selected blob column type in jms_messages can store
+     | all message data. Some databases (e.g. mySQL) offer blob types with
+     | different maximum capacity (e.g. mySQL-type BLOB=64K, LONGBLOB=2G).
+     |
+     | If you encouter problems with the configured BLOB_TYPE try a different
+     | setting. Valid settings are OBJECT_BLOB, BINARYSTREAM_BLOB and BYTES_BLOB.
+   -->
+  <mbean code="org.jboss.mq.pm.jdbc2.PersistenceManager"
+	 name="jboss.mq:service=PersistenceManager">
+    <depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
+    <attribute name="SqlProperties">
+      BLOB_TYPE=OBJECT_BLOB
+      INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
+      INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+      SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
+      SELECT_MAX_TX = SELECT MAX(TXID) TXID FROM (SELECT MAX(TXID) AS TXID FROM JMS_TRANSACTIONS UNION SELECT MAX(TXID) AS TXID FROM JMS_MESSAGES)
+      DELETE_ALL_TX = DELETE FROM JMS_TRANSACTIONS
+      SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE_KEYS_IN_DEST = SELECT MESSAGEID FROM JMS_MESSAGES WHERE DESTINATION=?
+      SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+      UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+      UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+      DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXOP=? AND JMS_MESSAGES.TXID IN (SELECT TXID FROM JMS_TRANSACTIONS)
+      DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
+      DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
+      DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
+      DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+      CREATE_MESSAGE_TABLE = CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \
+         DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \
+         MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )
+      CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID)
+      CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON JMS_MESSAGES (DESTINATION)
+      CREATE_TX_TABLE = CREATE CACHED TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) )
+      CREATE_TABLES_ON_STARTUP = TRUE
+    </attribute>
+    <!-- Uncomment to override the transaction timeout for recovery per queue/subscription, in seconds -->
+    <!--attribute name="RecoveryTimeout">0</attribute-->
+    <!-- The number of blobs to load at once during message recovery -->
+    <attribute name="RecoverMessagesChunk">0</attribute>
+  </mbean>
+ 
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-destinations-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-destinations-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-destinations-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jbossmq-destinations-service.xml 25907 2004-11-16 04:32:39Z ejort $ -->
+
+<!-- 
+   | This file defines the default Queues and Topics that JBossMQ
+   | ships with.  The default Queues and Topics are used by the 
+   | JBoss test suite and by the sample jms programs.
+   |
+   | You can add other destinations to this file, or you can create other
+   | *-service.xml files to contain your application's destinations.
+ -->
+
+<server>
+  <!-- Destination without a configured SecurityManager or without a 
+       a SecurityConf will default to role guest with read=true, write=true,
+       create=false.
+  -->
+  <mbean code="org.jboss.mq.server.jmx.Topic"
+	 name="jboss.mq.destination:service=Topic,name=testTopic">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="SecurityConf">
+      <security>
+        <role name="guest" read="true" write="true"/>
+        <role name="publisher" read="true" write="true" create="false"/>
+        <role name="durpublisher" read="true" write="true" create="true"/>
+      </security>
+    </attribute>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Topic"
+	 name="jboss.mq.destination:service=Topic,name=securedTopic">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="SecurityConf">
+      <security>
+        <role name="publisher" read="true" write="true" create="false"/>
+      </security>
+    </attribute>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Topic"
+	 name="jboss.mq.destination:service=Topic,name=testDurableTopic">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="SecurityConf">
+       <security>
+         <role name="guest" read="true" write="true"/>
+         <role name="publisher" read="true" write="true" create="false"/>
+         <role name="durpublisher" read="true" write="true" create="true"/>
+      </security>
+    </attribute>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=testQueue">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+    <attribute name="MessageCounterHistoryDayLimit">-1</attribute>
+    <attribute name="SecurityConf">
+      <security>
+        <role name="guest" read="true" write="true"/>
+        <role name="publisher" read="true" write="true" create="false"/>
+        <role name="noacc" read="false" write="false" create="false"/>
+      </security>
+    </attribute>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=A">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=B">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=C">
+	 <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=D">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=ex">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server>
+<server>
+    <mbean code="org.jboss.mq.il.http.HTTPServerILService"
+	 name="jboss.mq:service=InvocationLayer,type=HTTP">
+    <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
+    <depends>jboss.web:service=WebServer</depends>
+    <attribute name="ConnectionFactoryJNDIRef">HTTPConnectionFactory</attribute>
+    <attribute name="XAConnectionFactoryJNDIRef">HTTPXAConnectionFactory</attribute>
+    <attribute name="PingPeriod">0</attribute>
+    <attribute name="TimeOut">60</attribute>
+    <attribute name="RestInterval">0</attribute>
+  </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/http/servlet/HTTPServerILServlet.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/org/jboss/mq/il/http/servlet/HTTPServerILServlet.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+<jboss-web>
+   <security-domain>java:/jaas/jbossmq</security-domain>
+</jboss-web>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app
+    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+    "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+  <servlet>
+    <servlet-name>HTTPServerILServlet</servlet-name>
+    <display-name>JBossMQ HTTP-IL Servlet</display-name>
+    <description>Provides and HTTP invocation layer for JBossMQ</description>
+    <servlet-class>org.jboss.mq.il.http.servlet.HTTPServerILServlet</servlet-class>
+    <init-param>
+        <param-name>Invoker</param-name> 
+        <param-value>jboss.mq:service=Invoker</param-value> 
+     </init-param>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>HTTPServerILServlet</servlet-name>
+    <url-pattern>/HTTPServerILServlet/*</url-pattern>
+  </servlet-mapping>
+
+  <!-- Alternate mappings that place the servlets under the restricted
+    path to required authentication for access. Remove the unsecure mappings
+    if only authenticated users should be allowed.
+    -->
+  <servlet-mapping>
+    <servlet-name>HTTPServerILServlet</servlet-name>
+    <url-pattern>/restricted/HTTPServerILServlet/*</url-pattern>
+  </servlet-mapping>
+
+   <!-- An example security constraint that restricts access to the HTTP invoker
+   to users with the role HttpInvoker Edit the roles to what you want and
+   configure the WEB-INF/jboss-web.xml/security-domain element to reference
+   the security domain you want.
+   -->
+   <security-constraint>
+      <web-resource-collection>
+         <web-resource-name>HTTPServerILServlet</web-resource-name>
+         <description>An example security config that only allows users with the
+            role JBossMqHttpIl to access the HTTP-IL servlet
+         </description>
+         <url-pattern>/restricted/*</url-pattern>
+         <http-method>GET</http-method>
+         <http-method>POST</http-method>
+      </web-resource-collection>
+      <auth-constraint>
+         <role-name>durpublisher</role-name>
+         <role-name>publisher</role-name>
+         <role-name>guest</role-name>
+         <role-name>j2ee</role-name>
+         <role-name>subscriber</role-name>
+      </auth-constraint>
+   </security-constraint>
+   <login-config>
+      <auth-method>BASIC</auth-method>
+      <realm-name>JBossMQ</realm-name>
+   </login-config>
+
+   <security-role>
+      <role-name>durpublisher</role-name>
+   </security-role>
+   <security-role>
+      <role-name>publisher</role-name>
+   </security-role>
+   <security-role>
+      <role-name>guest</role-name>
+   </security-role>
+   <security-role>
+      <role-name>j2ee</role-name>
+   </security-role>
+   <security-role>
+      <role-name>subscriber</role-name>
+   </security-role>
+  
+
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jbossmq-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jbossmq-service.xml 65363 2007-09-13 15:05:39Z adrian at jboss.org $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- JBossMQ                                                              -->
+  <!-- ==================================================================== -->
+
+
+  <!-- ==================================================================== -->
+  <!-- JBossMQ Interceptor chain configuration                              -->
+  <!-- ==================================================================== -->
+  <!-- To tune performance, you can have the Invoker skip over the TracingInterceptor -->
+  <!-- and/or the SecurityManager, but then you loose the ability to trace and/or enforce security. -->
+  <mbean code="org.jboss.mq.server.jmx.Invoker" name="jboss.mq:service=Invoker">
+    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=TracingInterceptor</depends>
+    <depends>jboss:service=Naming</depends>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.InterceptorLoader" name="jboss.mq:service=TracingInterceptor">
+    <attribute name="InterceptorClass">org.jboss.mq.server.TracingInterceptor</attribute>
+    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=SecurityManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.mq.security.SecurityManager" name="jboss.mq:service=SecurityManager">
+    <attribute name="DefaultSecurityConfig">
+      <security>
+        <role name="guest" read="true" write="true" create="true"/>
+      </security>
+    </attribute>
+    <attribute name="SecurityDomain">java:/jaas/jbossmq</attribute>
+    <depends>jboss.security:service=JaasSecurityManager</depends> 
+    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+  <!--
+     | The ClientMonitorInterceptor disconnects clients that have been idle for to long.
+     | This interceptor is not enabled by default since the server might disconnect clients
+     | when the it is under high load.
+   -->
+  <!--
+  <mbean code="org.jboss.mq.server.jmx.ClientMonitorInterceptor" name="jboss.mq:service=ClientMonitorInterceptor">
+    <attribute name="ClientTimeout">80000</attribute>
+    <depends optional-attribute-name="NextInterceptor">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  -->
+
+  <!-- A Thread pool service -->
+  <mbean code="org.jboss.util.threadpool.BasicThreadPool"
+     name="jboss.mq:service=ThreadPool">
+     <attribute name="Name">JMSThread</attribute>
+     <attribute name="ThreadGroupName">JBossMQ Server Threads</attribute>
+     <!-- The max number of threads in the pool -->
+     <attribute name="MaximumPoolSize">10</attribute>
+     <!-- The max number of tasks before the queue is full -->
+     <attribute name="MaximumQueueSize">1000</attribute>
+     <!-- The behavior of the pool when a task is added and the queue is full.
+     abort - a RuntimeException is thrown
+     run - the calling thread executes the task
+     wait - the calling thread blocks until the queue has room
+     discard - the task is silently discarded without being run
+     discardOldest - check to see if a task is about to complete and enque
+        the new task if possible, else run the task in the calling thread
+     -->
+     <attribute name="BlockingMode">run</attribute>
+  </mbean>
+
+  <!-- ==================================================================== -->
+  <!-- System Destinations                                                  -->
+  <!-- ==================================================================== -->
+
+  <!-- Dead Letter Queue -->
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=DLQ">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jms-ds.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jms-ds.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jms-ds.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<connection-factories>
+ 
+  <!-- ==================================================================== -->
+  <!-- JMS Stuff                                                            -->
+  <!-- ==================================================================== -->
+
+  <!-- The JMS provider loader -->
+  <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
+	 name="jboss.mq:service=JMSProviderLoader,name=JMSProvider">
+    <attribute name="ProviderName">DefaultJMSProvider</attribute>
+    <attribute name="ProviderAdapterClass">
+      org.jboss.jms.jndi.JNDIProviderAdapter
+    </attribute>
+    <!-- The combined connection factory -->
+    <attribute name="FactoryRef">java:/XAConnectionFactory</attribute>
+    <!-- The queue connection factory -->
+    <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
+    <!-- The topic factory -->
+    <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
+    <!-- Uncomment to use HAJNDI to access JMS
+    <attribute name="Properties">
+       java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+       java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+       java.naming.provider.url=localhost:1100
+    </attribute>
+    -->
+  </mbean>
+
+  <!-- The server session pool for Message Driven Beans -->
+  <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader"
+	 name="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool">
+    <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
+    <attribute name="PoolName">StdJMSPool</attribute>
+    <attribute name="PoolFactoryClass">
+      org.jboss.jms.asf.StdServerSessionPoolFactory
+    </attribute>
+  </mbean>
+
+  <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
+  <tx-connection-factory>
+    <jndi-name>JmsXA</jndi-name>
+    <xa-transaction/>
+    <rar-name>jms-ra.rar</rar-name>
+    <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
+    <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
+    <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
+    <max-pool-size>20</max-pool-size>
+    <security-domain-and-application>JmsXARealm</security-domain-and-application>
+  </tx-connection-factory>
+
+</connection-factories>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jms-ra.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jms-ra.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jvm-il-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jvm-il-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/jvm-il-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jvm-il-service.xml 16662 2003-08-27 04:38:22Z patriot1burke $ -->
+
+<server>
+
+  <!-- JBossMQ in memory "communication -->
+
+  <mbean code="org.jboss.mq.il.jvm.JVMServerILService"
+	 name="jboss.mq:service=InvocationLayer,type=JVM">
+    <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
+    <attribute name="ConnectionFactoryJNDIRef">java:/ConnectionFactory</attribute>
+    <attribute name="XAConnectionFactoryJNDIRef">java:/XAConnectionFactory</attribute>
+    <attribute name="PingPeriod">0</attribute>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/uil2-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/uil2-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jms/uil2-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: uil2-service.xml 35297 2005-08-25 15:03:20Z starksm $ -->
+
+<server>
+
+  <!-- JBossMQ using the Unified Invocation Layer
+       All communication uses one socket connection -->
+
+  <mbean code="org.jboss.mq.il.uil2.UILServerILService"
+	 name="jboss.mq:service=InvocationLayer,type=UIL2">
+
+    <!-- The server chain -->
+    <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
+    <!-- JNDI binding -->
+    <attribute name="ConnectionFactoryJNDIRef">ConnectionFactory</attribute>
+    <!-- JNDI binding for XA -->
+    <attribute name="XAConnectionFactoryJNDIRef">XAConnectionFactory</attribute>
+    <!-- The bind address -->
+    <attribute name="BindAddress">${jboss.bind.address}</attribute>
+    <!-- The bind port -->
+    <attribute name="ServerBindPort">8093</attribute>
+    <!-- The ping period in millis -->
+    <attribute name="PingPeriod">60000</attribute>
+    <!-- Whether tcp/ip does not wait for buffer fills -->
+    <attribute name="EnableTcpNoDelay">true</attribute>
+    <!-- Used to disconnect the client on the serverside if there is no activity -->
+    <!-- Ensure this is greater than the ping period -->
+    <attribute name="ReadTimeout">120000</attribute>
+    <!-- Used to disconnect the client on the clientside if there is no activity -->
+    <!-- Ensure this is greater than the ping period -->
+    <attribute name="ClientReadTimeout">120000</attribute>
+    <!-- The size of the buffer (in bytes) wrapping the socket -->
+    <!-- The buffer is flushed after each request -->
+    <attribute name="BufferSize">2048</attribute>
+    <!-- Large messages may block the ping/pong -->
+    <!-- A pong is simulated after each chunk (in bytes) for both reading and writing -->
+    <!-- It must be larger than the buffer size -->
+    <attribute name="ChunkSize">1000000</attribute>
+  </mbean>
+
+  <!-- Aliases UIL -> UIL2 for backwards compatibility 
+       the deprecated UIL deployment can be found in docs/examples/jca -->
+   <mbean code="org.jboss.naming.NamingAlias" name="jboss.mq:service=InvocationLayer,type=UIL">
+      <attribute name="FromName">UILConnectionFactory</attribute>
+      <attribute name="ToName">ConnectionFactory</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+   <mbean code="org.jboss.naming.NamingAlias" name="jboss.mq:service=InvocationLayer,type=UILXA">
+      <attribute name="FromName">UILXAConnectionFactory</attribute>
+      <attribute name="ToName">XAConnectionFactory</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+   <mbean code="org.jboss.naming.NamingAlias"
+      name="jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory">
+      <attribute name="FromName">UIL2ConnectionFactory</attribute>
+      <attribute name="ToName">ConnectionFactory</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+   <mbean code="org.jboss.naming.NamingAlias"
+      name="jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory">
+      <attribute name="FromName">UIL2XAConnectionFactory</attribute>
+      <attribute name="ToName">XAConnectionFactory</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+
+   <!--
+      Two JNDI bindings that act like jms client connections remotely
+      but have j2ee defined semantics inside JBoss
+   -->
+   <mbean code="org.jboss.naming.LinkRefPairService"
+          name="jboss.jms:alias=QueueConnectionFactory">
+      <attribute name="JndiName">QueueConnectionFactory</attribute>
+      <attribute name="RemoteJndiName">ConnectionFactory</attribute>
+      <attribute name="LocalJndiName">java:/JmsXA</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+   <mbean code="org.jboss.naming.LinkRefPairService"
+          name="jboss.jms:alias=TopicConnectionFactory">
+      <attribute name="JndiName">TopicConnectionFactory</attribute>
+      <attribute name="RemoteJndiName">ConnectionFactory</attribute>
+      <attribute name="LocalJndiName">java:/JmsXA</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AddressPort.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AddressPort.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AttrResultInfo.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AttrResultInfo.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/OpResultInfo.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/OpResultInfo.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/Server.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/Server.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/JMXOpsAccessControlFilter.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/JMXOpsAccessControlFilter.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/DomainData.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/DomainData.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/MBeanData.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/MBeanData.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,7 @@
+<jboss-web>
+   <!-- Uncomment the security-domain to enable security. You will
+      need to edit the htmladaptor login configuration to setup the
+      login modules used to authentication users.
+      <security-domain>java:/jaas/jmx-console</security-domain>
+   -->
+</jboss-web>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,109 @@
+<?xml version="1.0"?>
+<!DOCTYPE web-app PUBLIC
+   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+   "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+   <description>The standard web descriptor for the html adaptor</description>
+   <!--
+    <filter>
+      <filter-name>JmxOpsAccessControlFilter</filter-name>
+      <filter-class>org.jboss.jmx.adaptor.html.JMXOpsAccessControlFilter</filter-class>
+      <init-param>
+        <param-name>updateAttributes</param-name>
+        <param-value>UpdateAttributeRole</param-value>
+        <description>Comma-delimited Roles that define the JMX Operation denoting updation of Attributes</description>
+      </init-param>
+      <init-param>
+        <param-name>invokeOp</param-name>
+        <param-value>InvokeOpRole</param-value>
+        <description>Comma-delimited Roles that define the JMX Operation denoting Invocation of Operations</description>
+      </init-param>
+   </filter>
+   <filter-mapping>
+      <filter-name>JmxOpsAccessControlFilter</filter-name>
+      <servlet-name>HtmlAdaptor</servlet-name>
+   </filter-mapping>
+   -->
+   <servlet>
+      <servlet-name>HtmlAdaptor</servlet-name>
+      <servlet-class>org.jboss.jmx.adaptor.html.HtmlAdaptorServlet</servlet-class>
+   </servlet>
+   <servlet>
+      <servlet-name>ClusteredConsoleServlet</servlet-name>
+      <servlet-class>org.jboss.jmx.adaptor.html.ClusteredConsoleServlet</servlet-class>
+      <init-param>
+         <param-name>jgProps</param-name>
+         <param-value>UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=${jboss.partition.udpGroup:228.1.2.3};mcast_port=${jboss.partition.udpPort:45566}):
+org.jboss.jmx.adaptor.control.FindView
+         </param-value>
+         <description>The JGroups protocol stack config</description>
+      </init-param>
+   </servlet>
+   <servlet>
+      <servlet-name>DisplayMBeans</servlet-name>
+      <jsp-file>/displayMBeans.jsp</jsp-file>
+   </servlet>
+   <servlet>
+      <servlet-name>InspectMBean</servlet-name>
+      <jsp-file>/inspectMBean.jsp</jsp-file>
+   </servlet>
+   <servlet>
+      <servlet-name>DisplayOpResult</servlet-name>
+      <jsp-file>/displayOpResult.jsp</jsp-file>
+   </servlet>
+   <servlet>
+      <servlet-name>ClusterView</servlet-name>
+      <jsp-file>/cluster/clusterView.jsp</jsp-file>
+   </servlet>
+
+   <servlet-mapping>
+      <servlet-name>HtmlAdaptor</servlet-name>
+      <url-pattern>/HtmlAdaptor</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>ClusteredConsoleServlet</servlet-name>
+      <url-pattern>/cluster/ClusteredConsole</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>DisplayMBeans</servlet-name>
+      <url-pattern>/DisplayMBeans</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>InspectMBean</servlet-name>
+      <url-pattern>/InspectMBean</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>DisplayOpResult</servlet-name>
+      <url-pattern>/DisplayOpResult</url-pattern>
+   </servlet-mapping>
+
+   <!-- A security constraint that restricts access to the HTML JMX console
+   to users with the role JBossAdmin. Edit the roles to what you want and
+   uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
+   secured access to the HTML JMX console.
+   <security-constraint>
+     <web-resource-collection>
+       <web-resource-name>HtmlAdaptor</web-resource-name>
+       <description>An example security config that only allows users with the
+         role JBossAdmin to access the HTML JMX console web application
+       </description>
+       <url-pattern>/*</url-pattern>
+       <http-method>GET</http-method>
+       <http-method>POST</http-method>
+     </web-resource-collection>
+     <auth-constraint>
+       <role-name>JBossAdmin</role-name>
+     </auth-constraint>
+   </security-constraint>
+   -->
+
+   <login-config>
+      <auth-method>BASIC</auth-method>
+      <realm-name>JBoss JMX Console</realm-name>
+   </login-config>
+
+   <security-role>
+      <role-name>JBossAdmin</role-name>
+   </security-role>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/checkJNDI.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/checkJNDI.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/checkJNDI.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,112 @@
+<%@page contentType="text/html"
+   import="java.net.*,java.util.*,javax.naming.*,java.io.*"
+%>
+<html>
+<head>
+   <title>JBoss JNDI Check</title>
+   <link rel="stylesheet" href="style_master.css" type="text/css">
+   <meta http-equiv="cache-control" content="no-cache">
+</head>
+<body>
+<table width="100%">
+   <table>
+      <tr>
+         <td><img src="images/logo.gif" align="left" border="0" alt="JBoss"></td>
+         <td valign="middle">
+         <%
+         String hostname = "<<Unknown - see log/server.log>>";
+         try
+         {
+            hostname = InetAddress.getLocalHost().getHostName();
+         }
+         catch(IOException e)
+         {
+            e.printStackTrace();
+         }
+         %>
+         <h1>JNDI Checking for host <code><%= hostname %></code></h1>
+         </td>
+      </tr>
+   </table>
+<hr>
+<table border='1'>
+   <tr>
+      <td><h2>Test</h2></td>
+      <td><h2>Result</h2></td>
+   </tr>
+   <tr>
+      <td>InitialContext properites</td>
+      <td><table border='1'>
+         <%
+            try
+            {
+               InitialContext ctx = new InitialContext();
+               Hashtable props = ctx.getEnvironment();
+               for (Iterator i = props.keySet().iterator(); i.hasNext();)
+               {
+                  Object key = i.next();
+                  out.print("<tr><td>");
+                  out.print(key);
+                  out.print('=');
+                  out.print(props.get(key));
+                  out.print("</td></tr>");
+               }
+            }
+            catch (NamingException e)
+            {
+               out.print(e.toString());
+            }
+         %>
+      </table></td>
+   </tr>
+   <tr>
+      <td>jndi.properties locations</td>
+      <td><table border='1'>
+         <%
+            ClassLoader loader = Thread.currentThread().getContextClassLoader();
+            for (Enumeration e = loader.getResources("jndi.properties"); e.hasMoreElements();)
+            {
+               out.print("<tr><td>");
+               out.print(e.nextElement());
+               out.print("</td></tr>");
+            }
+         %>
+      </table></td>
+   </tr>
+   <tr>
+      <td>Global bindings</td>
+      <td><table border='1'>
+         <%
+            try
+            {
+               for (Enumeration e = new InitialContext().listBindings(""); e.hasMoreElements();)
+               {
+                  out.print("<tr><td>");
+                  out.print(e.nextElement());
+                  out.print("</td></tr>");
+               }
+            }
+            catch (NamingException ignored) {}
+         %>
+      </table></td>
+   </tr>
+   <tr>
+      <td>JVM local bindings</td>
+      <td><table border='1'>
+         <%
+            try
+            {
+               for (Enumeration e = new InitialContext().listBindings("java:"); e.hasMoreElements();)
+               {
+                  out.print("<tr><td>");
+                  out.print(e.nextElement());
+                  out.print("</td></tr>");
+               }
+            }
+            catch (NamingException ignored) {}
+         %>
+      </table></td>
+   </tr>
+</table>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/bootstrap.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/bootstrap.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/bootstrap.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,69 @@
+<html>
+<head>
+   <title>Cluster View Bootstrap</title>
+   <link rel="stylesheet" href="../style_master.css" type="text/css">
+</head>
+
+<table>
+   <tr>
+      <td width="250" ><img src="../images/logo.gif" align="left" border="0" alt=""></td>
+      <td><h1>JBoss Cluster Bootstrap</h1></td>
+   </tr>
+</table>
+<hr>
+<body>
+The cluster nodes to view need to be specified via some bootstrap mechanism.
+This can be done using any of the following methods.
+
+<h1>Bootstrap Using Naming Discovery</h1>
+This determines the cluster entry point by doing an HAJNDI naming service
+discovery query. The query may be restricted to a given partition name by
+specifying the name in the PartitionName field.
+If not specified than the first partition to respond will be choosen.
+<form action="ClusteredConsole?action=bootstrap" method="post" target="ClusterIndex">
+	<input type="hidden" name="bootstrap" value="discovery">
+	<table cellspacing="2" cellpadding="2" border="0">
+	<tr>
+		<td>PartitionName:</td><td><input type="text" name="partition" size="40"></td>
+	</tr>
+	<tr>
+		<td>DiscoveryName:</td><td><input type="text" name="discoveryGroup" size="40" value="230.0.0.4"></td>
+	</tr>
+	<tr>
+		<td>DiscoveryPort:</td><td><input type="text" name="discoveryPort" size="40" value="1102"></td>
+	</tr>
+	<tr>
+		<td>DiscoveryTimeout:</td><td><input type="text" name="discoveryTimeout" size="40" value="5000"></td>
+	</tr>
+	<tr>
+		<td><input type="reset" name="reset" value="Clear"></td>
+		<td><input type="submit" name="submit" value="Bootstrap"></td>
+	</tr>
+	</table>
+</form>
+
+<h1>Bootstrap Using a Hostname</h1>
+This determines the cluster entry point(s) by querying the JNDI service
+on the indicated server for the available cluster paritition services.
+Any cluster to which the server belongs will serve as an entry point for
+determining the members of the cluster. To query the server hosting the
+jmx-console application use "locahost" for the hostname.
+<form action="ClusteredConsole" method="post" target="ClusterIndex">
+	<input type="hidden" name="bootstrap" value="byhost">
+	<table cellspacing="2" cellpadding="2" border="0">
+	<tr>
+		<td>Hostname:</td><td><input type="text" name="hostname" value="localhost" size="40"></td>
+	</tr>
+	<tr>
+		<td>Port:</td><td><input type="text" name="port" value="1099" size="40"></td>
+	</tr>
+	<tr>
+		<td><input type="reset" name="reset" value="Clear"></td>
+		<td><input type="submit" name="submit" value="Bootstrap"></td>
+	</tr>
+	</table>
+</form>
+
+</body>
+</html>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/clusterView.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/clusterView.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/clusterView.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,44 @@
+<%@page contentType="text/html"
+   import="java.net.*,java.io.*"
+%>
+<html>
+<head><title>Clustered JBoss Management Console</title>
+<link rel="stylesheet" href="../style_master.css" type="text/css">
+</head>
+<body>
+<table>
+<tr><td>
+<h2>Cluster View Bootstrap</h2>
+<a href="bootstrap.html" target="ClusterNodeView">Reinvoke Bootstrap</a>
+
+<h2>Loaded Clusters</h2>
+<%
+   String partition = (String) request.getAttribute("partition");
+%>
+   <h3 class='DomainName'><%= partition %></h2>
+   <ul class='MBeanList'>
+<%
+   String[] partitionHosts = (String[]) request.getAttribute("partitionHosts");
+   for(int h = 0; h < partitionHosts.length; h ++)
+   {
+      String host = partitionHosts[h];
+      String hostname = "";
+
+      try
+      {
+         hostname = InetAddress.getByName(host).getHostName();
+      }
+      catch(IOException e)  {}
+
+      String hostURL = "http://"+host+":8080/jmx-console//HtmlAdaptor?action=displayMBeans";
+%>
+      <li><a href="<%= hostURL%>" target="ClusterNodeView"><%= hostname %></a></li>
+<%
+   }
+%>
+   </ul>
+</td></tr>
+</table>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/index.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/index.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/cluster/index.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+<!-- frames -->
+<frameset  cols="20%, *">
+    <frame name="ClusterIndex" src="ClusteredConsole?action=index" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
+    <frame name="ClusterNodeView" src="bootstrap.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
+	<noframes>A frames enabled browser is required for the cluster view</noframes>
+</frameset>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/displayMBeans.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/displayMBeans.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/displayMBeans.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+<%@page contentType="text/html"
+   import="java.net.*,java.util.*,org.jboss.jmx.adaptor.model.*,java.io.*"
+%>
+<html>
+<head>
+   <title>JBoss JMX Management Console</title>
+   <link rel="stylesheet" href="style_master.css" type="text/css">
+   <meta http-equiv="cache-control" content="no-cache">
+</head>
+<body>
+<table width="100%">
+   <table>
+      <tr>
+         <td><img src="images/logo.gif" align="left" border="0" alt="JBoss"></td>
+         <td valign="middle">
+         <%
+         String hostname = "";
+         try
+         {
+            hostname = InetAddress.getLocalHost().getHostName();
+         }
+         catch(IOException e)  {}
+         %>
+         <h1>JMX Agent View <code><%= hostname %></code></h1>
+         </td>
+      </tr>
+   </table>
+<hr>
+<form action="HtmlAdaptor?action=displayMBeans" method="post" name="applyFilter" id="applyFilter">
+ObjectName Filter (e.g. "jboss:*", "*:service=invoker,*")  :<input type="text" name="filter" size="40" value="<%= request.getAttribute("filter")%>"> <input type="submit" name="apply" value="ApplyFilter">
+</form>
+<hr>
+<%
+   Iterator mbeans = (Iterator) request.getAttribute("mbeans");
+   while( mbeans.hasNext() )
+   {
+      DomainData domainData = (DomainData) mbeans.next();
+%>
+   <h2 class='DomainName'><%= domainData.getDomainName() %></h2>
+   <ul class='MBeanList'>
+<%
+      MBeanData[] data = domainData.getData();
+      for(int d = 0; d < data.length; d ++)
+      {
+         String name = data[d].getObjectName().toString();
+         String properties = data[d].getNameProperties();
+%>
+      <li><a href="HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(name) %>"><%= URLDecoder.decode(properties) %></a></li>
+<%
+      }
+%>
+   </ul>
+<%
+   }
+%>
+</td></tr>
+</table>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/displayOpResult.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/displayOpResult.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/displayOpResult.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,74 @@
+<%@page contentType="text/html"
+   import="java.net.*"
+%>
+<html>
+<head>
+   <title>Operation Results</title>
+   <link rel="stylesheet" href="style_master.css" type="text/css">
+   <meta http-equiv="cache-control" content="no-cache">
+</head>
+<body>
+
+<jsp:useBean id='opResultInfo' type='org.jboss.jmx.adaptor.control.OpResultInfo' scope='request'/>
+
+<table width="100%">
+   <table>
+      <tr>
+         <td><img src="images/logo.gif" align="left" border="0" alt="JBoss"></td>
+         <td valign="middle"><h1>JMX MBean Operation Result <code><%= opResultInfo.name%>()</code></h1></td>
+	  <tr/>
+   </table>
+
+<tr><td>
+
+
+<table cellpadding="5">
+   <tr>
+      <td><a href='HtmlAdaptor?action=displayMBeans'>Back to Agent View</a></td>
+      <td>
+      <td><a href='HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(request.getParameter("name")) %>'>Back to MBean View</a></td>
+      <td>
+      <td><a href=
+<%
+	out.print("'HtmlAdaptor?action=invokeOpByName");
+	out.print("&name=" + URLEncoder.encode(request.getParameter("name")));
+	out.print("&methodName=" + opResultInfo.name );
+
+	for (int i=0; i<opResultInfo.args.length; i++)
+    {
+		out.print("&argType=" + opResultInfo.signature[i]);
+		out.print("&arg" + i + "=" + opResultInfo.args[i]);
+	}
+
+	out.println("'>Reinvoke MBean Operation");
+%>
+	  </a></td>
+   </tr>
+</table>
+
+
+<hr>
+   <span class='OpResult'>
+<%
+   if( opResultInfo.result == null )
+   {
+%>
+   Operation completed successfully without a return value.
+<%
+   }
+   else
+   {
+      String opResultString = opResultInfo.result.toString();
+      boolean hasPreTag = opResultString.startsWith("<pre>");
+      if( hasPreTag == false )
+         out.println("<pre>");
+      out.println(opResultString);
+      if( hasPreTag == false )
+         out.println("</pre>");
+   }
+%>
+   </span>
+</td></tr>
+</table>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/images/logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/images/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/index.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/index.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/index.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+<%@page contentType="text/html"%>
+<jsp:forward page="/HtmlAdaptor?action=displayMBeans" />

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/inspectMBean.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/inspectMBean.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/inspectMBean.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,331 @@
+<%@page contentType="text/html"
+   import="java.net.*,java.util.*,
+   javax.management.*,javax.management.modelmbean.*,
+   org.jboss.jmx.adaptor.control.Server,
+   org.jboss.jmx.adaptor.control.AttrResultInfo,
+   org.jboss.jmx.adaptor.model.*,
+   java.lang.reflect.Array,
+   org.jboss.util.propertyeditor.PropertyEditors"
+%>
+<%!
+   public String fixDescription(String desc)
+   {
+      if (desc == null || desc.equals(""))
+      {
+        return "(no description)";
+      }
+      return desc;
+   }
+   public String quoteName(String name)
+   {
+      String sname = name.replace("\"", "&quot;");
+      sname = name.replace("\'", "&apos;");
+      return sname;
+   }
+%>
+<html>
+<head>
+   <title>MBean Inspector</title>
+   <link rel="stylesheet" href="style_master.css" type="text/css">
+   <meta http-equiv="cache-control" content="no-cache">
+</head>
+<body>
+
+<jsp:useBean id='mbeanData' class='org.jboss.jmx.adaptor.model.MBeanData' scope='request'/>
+
+<%
+   ObjectName objectName = mbeanData.getObjectName();
+   String objectNameString = mbeanData.getName();
+   String quotedObjectNameString = quoteName(mbeanData.getName());
+   MBeanInfo mbeanInfo = mbeanData.getMetaData();
+   MBeanAttributeInfo[] attributeInfo = mbeanInfo.getAttributes();
+   MBeanOperationInfo[] operationInfo = mbeanInfo.getOperations();
+%>
+
+<table width="100%">
+   <table>
+      <tr>
+         <td><img src="images/logo.gif" align="left" border="0" alt="JBoss"></td>
+         <td valign="middle"><h1>JMX MBean View</h1></td>
+      <tr/>
+   </table>
+   <ul>
+   <table>
+      <tr>
+         <td>MBean Name:</td>
+         <td><b>Domain Name:</b></td>
+         <td><%= objectName.getDomain() %></td>
+      </tr>
+<%
+   Hashtable properties = objectName.getKeyPropertyList();
+   Iterator it = properties.keySet().iterator();
+   while( it.hasNext() )
+   {
+      String key = (String) it.next();
+      String value = (String) properties.get( key );
+%>
+      <tr><td></td><td><b><%= key %>: </b></td><td><%= value %></td></tr>
+<%
+   }
+%>
+      <tr><td>MBean Java Class:</td><td colspan="3"><jsp:getProperty name='mbeanData' property='className'/></td></tr>
+   </table>
+</ul>
+<table cellpadding="5">
+   <tr>
+      <td><a href='HtmlAdaptor?action=displayMBeans'>Back to Agent View</a></td>
+	  <td>
+      <td><a href='HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(request.getParameter("name")) %>'>Refresh MBean View</a></td>
+   </tr>
+</table>
+
+<hr>
+<h3>MBean description:</h3>
+<%= fixDescription(mbeanInfo.getDescription())%>
+
+<hr>
+<h3>List of MBean attributes:</h3>
+
+<form method="post" action="HtmlAdaptor">
+   <input type="hidden" name="action" value="updateAttributes">
+   <input type="hidden" name="name" value='<%= quotedObjectNameString %>'>
+	<table cellspacing="1" cellpadding="1" border="1">
+		<tr class="AttributesHeader">
+		    <th>Name</th>
+		    <th>Type</th>
+		    <th>Access</th>
+		    <th>Value</th>
+		    <th>Description</th>
+		</tr>
+<%
+   boolean hasWriteable = false;
+   for(int a = 0; a < attributeInfo.length; a ++)
+   {
+      MBeanAttributeInfo attrInfo = attributeInfo[a];
+      String attrName = attrInfo.getName();
+      String attrType = attrInfo.getType();
+      AttrResultInfo attrResult = Server.getMBeanAttributeResultInfo(objectNameString, attrInfo);
+      String attrValue = attrResult.getAsText();
+      String access = "";
+      if( attrInfo.isReadable() )
+         access += "R";
+      if( attrInfo.isWritable() )
+      {
+         access += "W";
+         hasWriteable = true;
+      }
+      String attrDescription = fixDescription(attrInfo.getDescription());
+%>
+		<tr>
+		    <td><%= attrName %></td>
+		    <td><%= attrType %></td>
+		    <td><%= access %></td>
+          <td>
+<%
+      if( attrInfo.isWritable() )
+      {
+         String readonly = attrResult.editor == null ? "readonly" : "";
+         if( attrType.equals("boolean") || attrType.equals("java.lang.Boolean") )
+         {
+            // Boolean true/false radio boxes
+            Boolean value = attrValue == null || "".equals( attrValue ) ? null : Boolean.valueOf(attrValue);
+            String trueChecked = (value == Boolean.TRUE ? "checked" : "");
+            String falseChecked = (value == Boolean.FALSE ? "checked" : "");
+            String naChecked = value == null ? "checked" : "";
+%>
+            <input type="radio" name="<%= attrName %>" value="True" <%=trueChecked%>>True
+            <input type="radio" name="<%= attrName %>" value="False" <%=falseChecked%>>False
+<%
+            // For wrappers, enable a 'null' selection
+            if ( attrType.equals( "java.lang.Boolean" ) && PropertyEditors.isNullHandlingEnabled() )
+            {
+%>
+            <input type="radio" name="<%= attrName %>" value="" <%=naChecked%>>Null
+<%
+            }
+         }
+         else if( attrInfo.isReadable() )
+         {  // Text fields for read-write string values
+            String avalue = (attrValue != null ? attrValue : "");
+            if( attrType.equals("javax.management.ObjectName") )
+               avalue = quoteName(avalue);
+%>
+          <input type="text" name="<%= attrName %>" value='<%= avalue %>' <%= readonly %>>
+
+<%
+         }
+         else
+         {  // Empty text fields for write-only
+%>
+		    <input type="text" name="<%= attrName %>" <%= readonly %>>
+<%
+         }
+      }
+      else
+      {
+         if( attrType.equals("[Ljavax.management.ObjectName;") )
+         {
+            // Array of Object Names
+            ObjectName[] names = (ObjectName[]) Server.getMBeanAttributeObject(objectNameString, attrName);
+            if( names != null )
+            {
+%>
+                  <table>
+<%
+               for( int i = 0; i < names.length; i++ )
+               {
+%>
+                  <tr><td>
+                  <a href="HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(( names[ i ] + "" )) %>"><%= ( names[ i ] + "" ) %></a>
+                  </td></tr>
+<%
+               }
+%>
+                  </table>
+<%
+            }
+         }
+         // Array of some objects
+         else if( attrType.endsWith("[]") || attrType.startsWith("[L") )
+         {
+            Object arrayObject = Server.getMBeanAttributeObject(objectNameString, attrName);
+            if (arrayObject != null)
+            {
+%>
+                  <table>
+<%
+               for (int i = 0; i < Array.getLength(arrayObject); ++i)
+               {
+%>
+                  <tr><td><%=Array.get(arrayObject,i)%></td></tr>
+<%
+               }
+%>
+                  </table>
+<%
+            }
+         }
+         else
+         {
+            // Just the value string
+%>
+		    <%= attrValue %>
+<%
+         }
+      }
+      if( attrType.equals("javax.management.ObjectName") )
+      {
+         // Add a link to the mbean
+         if( attrValue != null )
+         {
+%>
+         <a href="HtmlAdaptor?action=inspectMBean&name=<%= URLEncoder.encode(attrValue) %>">View MBean</a>
+<%
+         }
+      }
+%>
+         </td>
+         <td><%= attrDescription%></td>
+		</tr>
+<%
+   }
+%>
+	</table>
+<% if( hasWriteable )
+   {
+%>
+	<input type="submit" value="Apply Changes">
+<%
+   }
+%>
+</form>
+
+<hr>
+<h3>List of MBean operations:</h3>
+<%
+   for(int a = 0; a < operationInfo.length; a ++)
+   {
+      MBeanOperationInfo opInfo = operationInfo[a];
+      boolean accept = true;
+      if (opInfo instanceof ModelMBeanOperationInfo)
+      {
+         Descriptor desc = ((ModelMBeanOperationInfo)opInfo).getDescriptor();
+         String role = (String)desc.getFieldValue("role");
+         if ("getter".equals(role) || "setter".equals(role))
+         {
+            accept = false;
+         }
+      }
+      if (accept)
+      {
+         MBeanParameterInfo[] sig = opInfo.getSignature();
+%>
+<form method="post" action="HtmlAdaptor">
+   <input type="hidden" name="action" value="invokeOp">
+   <input type="hidden" name="name" value='<%= quotedObjectNameString %>'>
+   <input type="hidden" name="methodIndex" value="<%= a %>">
+   <hr align='left' width='80'>
+   <h4><%= opInfo.getReturnType() + " " + opInfo.getName() + "()" %></h4>
+   <p><%= fixDescription(opInfo.getDescription())%></p>
+<%
+         if( sig.length > 0 )
+         {
+%>
+	<table cellspacing="2" cellpadding="2" border="1">
+		<tr class="OperationHeader">
+			<th>Param</th>
+			<th>ParamType</th>
+			<th>ParamValue</th>
+			<th>ParamDescription</th>
+		</tr>
+<%
+            for(int p = 0; p < sig.length; p ++)
+            {
+               MBeanParameterInfo paramInfo = sig[p];
+               String pname = paramInfo.getName();
+               String ptype = paramInfo.getType();
+               if( pname == null || pname.length() == 0 || pname.equals(ptype) )
+               {
+                  pname = "arg"+p;
+               }
+%>
+		<tr>
+			<td><%= pname %></td>
+		   <td><%= ptype %></td>
+         <td> 
+<%
+                if( ptype.equals("boolean") || ptype.equals("java.lang.Boolean") )
+                {
+                   // Boolean true/false radio boxes
+%>
+            <input type="radio" name="arg<%= p%>" value="True"checked>True
+            <input type="radio" name="arg<%= p%>" value="False">False
+<%
+                 }
+                 else
+                 {
+%>
+            <input type="text" name="arg<%= p%>">
+<%
+                  }
+%>
+         </td>
+         <td><%= fixDescription(paramInfo.getDescription())%></td>
+		</tr>
+<%
+               }
+%>
+	</table>
+<%
+         }
+%>
+	<input type="submit" value="Invoke">
+</form>
+<%
+      }
+   }
+%>
+</td></tr>
+</table>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/jboss.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/jboss.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/jboss.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,146 @@
+body {
+	margin: 13px 0px 10px 0px;
+	background-color: #ffffff;
+	font-size: 12px;
+	font-family: verdana, arial, "sans-serif";
+	color: #606060;
+	}
+td {
+	font-size: 12px;
+	font-family: verdana, arial, "sans-serif";
+	color: #606060;
+    }
+input {
+    font-size: 13px;
+    font-family: verdana, arial, "sans-serif";
+    color: #FF5906;
+    background-color: #f0f0f0;
+    border: 1px solid #cccccc;
+    }
+img {
+	border: 0px;
+	}
+p {
+    margin: 10px 30px 10px 20px
+    }
+h3 {
+   color: #FF5906;
+	font-size: 13px;
+	font-family: verdana, arial, "sans-serif";
+	margin: 10px 30px 10px 20px;
+	}
+h4 {
+   color: #999999;
+	font-size: 13px;
+	font-family: verdana, arial, "sans-serif";
+	margin: 10px 30px 10px 20px;
+	}
+table {
+	border: 0px #999999;
+    }
+a {
+    text-decoration : none;
+    }
+a:link {
+    color: #FF5906;
+    }
+a:visited {
+    color: #FF5906;
+    }
+a:active {
+    background-color:transparent;
+    }
+a:hover {
+    text-decoration : underline;
+    }
+a.soft, a.soft:visited, a.soft:link {
+    TEXT-DECORATION: none;
+    COLOR: #000000;
+    }
+a.soft:hover {
+    TEXT-DECORATION: underline;
+    BACKGROUND-COLOR: transparent;
+    COLOR: #000000
+    }
+#header {
+	background-color: #FF7A22;
+	background-image: url("header_bg.jpg");
+	background-repeat: no-repeat;
+	background-position: 226px 0px;
+	width: 100%;
+	height: 80px;
+	}
+#header #banner {
+	float: right;
+	margin: 8px 5px 0px 0px;
+	}
+#logo {
+	position: absolute;
+	top: 4px;
+	left: 4px;
+	z-index: 200;
+}
+#services {
+	position: absolute;
+	top: 16px;
+	right: 10px;
+	z-index: 200;
+}
+#filter {
+   position: absolute;
+   top: 65px;
+   right: 30px;
+   z-index: 220;
+}
+#filter_label {
+   position: absolute;
+   top: 61px;
+   right: 215px;
+   z-index: 220;
+}
+#apply {
+   position: absolute;
+   top: -5px;
+   right: -30px;
+   z-index: 220;
+   border: none;
+}
+#navigation_bar {
+	background-color: #f0f0f0;
+	border-bottom: 1px dotted #999999;
+	height: 20px;
+	}
+#separator_bar {
+	background-color: #ffffff;
+	border-bottom: 1px dotted #999999;
+	height: 20px;
+	}
+#footer {
+	clear: both;
+	border-top: 1px dotted #999999;
+	}
+#footer_bar {
+	height: 20px;
+	width: 100%;
+	background-color: #FF7A22;
+	}
+.attribute_link a {
+   color: #606060;
+   text-decoration: none;
+   }
+.attribute_link a:hover {
+   color: #606060;
+   border-bottom: 1px dotted #999999;
+   }
+.hide {
+	display: none;
+	}
+.spacer {
+	clear: both;
+	}
+.spacer hr {
+	display: none;
+	}
+.center {
+	text-align: center;
+	}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/style_master.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/style_master.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-console.war/style_master.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,64 @@
+BODY {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	background-color : White;
+}
+
+H1{  
+	font-family: Verdana, Arial, Helvetica, sans-serif; 
+	font-size: 25px; 
+	font-weight: bold; 
+	color: #000099}
+H2 {
+	 font-family: Verdana, Arial, Helvetica, sans-serif; 
+	 font-size: 20px; 
+	 font-weight: bold; 
+	 color: #000000
+}
+H3 {
+	 font-family: Verdana, Arial, Helvetica, sans-serif; 
+	 font-size: 17px; 
+	 font-weight: bold; 
+	 color: #000000
+}
+TH {
+	background-color : #000099;
+	color: #DEB887;
+	 font-weight: bold; 
+}.bg_table {
+	background-color : #DEB887;
+}
+}.bg_cell{
+	background-color : #ffffff;
+}
+A:ACTIVE {
+	font-family: Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	color:Red;
+	background-color: #DEB887;
+	text-decoration : underline;
+	font-weight:bold;
+}
+ A:HOVER {
+	font-family:Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	color:Red;
+	text-decoration : underline;
+	font-weight:bold;
+}
+  A:LINK {
+	font-family:  Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	color:#000099;
+	text-decoration : underline;
+	font-weight:bold;
+}
+   A:VISITED {
+	font-family: Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	color:Purple;
+	text-decoration : underline;
+	font-weight:bold;
+}
+
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-invoker-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-invoker-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jmx-invoker-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-service.xml 59448 2007-01-09 19:05:54Z dimitris at jboss.org $ -->
+<server>
+
+   <!-- The JRMP invoker proxy configuration for the InvokerAdaptorService -->
+   <mbean code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
+      name="jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory">
+      <!-- Use the standard JRMPInvoker from conf/jboss-service.xxml -->
+      <depends optional-attribute-name="InvokerName">jboss:service=invoker,type=jrmp</depends>
+      <!-- The target MBean is the InvokerAdaptorService configured below -->
+      <depends optional-attribute-name="TargetName">jboss.jmx:type=adaptor,name=Invoker</depends>
+      <!-- Where to bind the RMIAdaptor proxy -->
+      <attribute name="JndiName">jmx/invoker/RMIAdaptor</attribute>
+      <!-- The RMI compabitle MBeanServer interface -->
+      <attribute name="ExportedInterfaces">org.jboss.jmx.adaptor.rmi.RMIAdaptor,
+         org.jboss.jmx.adaptor.rmi.RMIAdaptorExt
+      </attribute>
+      <attribute name="ClientInterceptors">
+          <interceptors>
+             <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+             <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
+             <interceptor>org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor</interceptor>
+             <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+          </interceptors>
+      </attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+
+   <!--
+      Choose the remote proxy to expose mbean proxies over
+   -->
+   <mbean code="org.jboss.jmx.connector.invoker.MBeanProxyRemote"
+          name="jboss.jmx:type=adaptor,name=MBeanProxyRemote,protocol=jrmp">
+      <depends optional-attribute-name="MBeanServerConnection">jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory</depends>
+   </mbean>
+
+   <!-- Create a mapping from the legacy jmx-rmi-adaptor.sar binding to the
+   jmx-invoker-adaptor-server.sar JndiName specified above for backwards
+   portability.
+   -->
+   <mbean code="org.jboss.naming.NamingAlias" name="jboss.jmx:alias=jmx/rmi/RMIAdaptor">
+      <attribute name="FromName">jmx/rmi/RMIAdaptor</attribute>
+      <attribute name="ToName">jmx/invoker/RMIAdaptor</attribute>
+      <depends>jboss:service=Naming</depends>
+   </mbean>
+
+   <!-- This is the service that handles the RMIAdaptor invocations by routing
+   them to the MBeanServer the service is deployed under.  -->
+   <mbean code="org.jboss.jmx.connector.invoker.InvokerAdaptorService"
+          name="jboss.jmx:type=adaptor,name=Invoker"
+      xmbean-dd="">
+      <xmbean>
+         <description>The JMX Detached Invoker Service</description>
+         <class>org.jboss.jmx.connector.invoker.InvokerAdaptorService</class>
+
+         <!-- Attributes -->
+         <attribute access="read-only" getMethod="getName">
+            <description>The class name of the MBean</description>
+            <name>Name</name>
+            <type>java.lang.String</type>
+         </attribute>
+         <attribute access="read-only" getMethod="getState">
+            <description>The status of the MBean</description>
+            <name>State</name>
+            <type>int</type>
+         </attribute>
+         <attribute access="read-only" getMethod="getStateString">
+         <description>The status of the MBean in text form</description>
+            <name>StateString</name>
+            <type>java.lang.String</type>
+         </attribute>
+         <attribute access="read-write" getMethod="getExportedInterfaces" setMethod="setExportedInterfaces">
+            <description>The interfaces the invoker proxy supports</description>
+            <name>ExportedInterfaces</name>
+            <type>[Ljava.lang.Class;</type>
+         </attribute>
+         <attribute access="read-only" getMethod="getMethodMap">
+            <description>Map(Long hash, Method) of the proxy interface methods</description>
+            <name>MethodMap</name>
+            <type>java.util.Map</type>
+         </attribute>
+         <!-- Operations -->
+         <operation>
+            <description>The start lifecycle operation</description>
+            <name>start</name>
+         </operation>
+         <operation>
+            <description>The stop lifecycle operation</description>
+            <name>stop</name>
+         </operation>
+         <operation>
+            <description>The detyped lifecycle operation (for internal use only)</description>
+            <name>jbossInternalLifecycle</name>
+            <parameter>
+               <description>The lifecycle operation</description>
+               <name>method</name>
+               <type>java.lang.String</type>
+            </parameter>
+            <return-type>void</return-type>
+         </operation>
+
+         <operation>
+            <description>The detached invoker entry point</description>
+            <name>invoke</name>
+            <parameter>
+               <description>The method invocation context</description>
+               <name>invocation</name>
+               <type>org.jboss.invocation.Invocation</type>
+            </parameter>
+            <return-type>java.lang.Object</return-type>
+            <descriptors>
+               <interceptors>
+                  <!-- Uncomment to require authenticated users
+                  <interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
+                     securityDomain="java:/jaas/jmx-console"/>
+                  -->               
+                  <!-- Interceptor that deals with non-serializable results -->
+                  <interceptor code="org.jboss.jmx.connector.invoker.SerializableInterceptor"
+                     policyClass="StripModelMBeanInfoPolicy"/>
+               </interceptors>
+            </descriptors>            
+         </operation>
+      </xmbean>
+      
+      <attribute name="ExportedInterfaces">org.jboss.jmx.adaptor.rmi.RMIAdaptor,
+         org.jboss.jmx.adaptor.rmi.RMIAdaptorExt
+      </attribute>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jsr88-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jsr88-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/jsr88-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,19 @@
+<!-- $Id: jsr88-service.xml 60132 2007-01-31 12:43:12Z thomas.diesler at jboss.com $
+The JSR-88 DeploymentManager support services
+-->
+<server>
+   <mbean code="org.jboss.deployment.services.DeploymentManagerService"
+      name="jboss.management.local:type=JSR88DeploymentManager,name=DefaultManager">
+      <attribute name="EARDeployer">jboss.j2ee:service=EARDeployer</attribute>
+      <attribute name="EJBDeployer">jboss.ejb:service=EJBDeployer</attribute>
+      <attribute name="RARDeployer">jboss.jca:service=RARDeployer</attribute>
+      <attribute name="WARDeployer">jboss.web:service=WebServer</attribute>
+      <attribute name="CARDeployer">jboss.j2ee:service=ClientDeployer</attribute>
+      <attribute name="UploadDir">${jboss.server.temp.dir}/jsr88</attribute>
+      <depends optional-attribute-name="MainDeployer">jboss.system:service=MainDeployer</depends>
+      <!-- If false, the an existing deployment may exist in the upload dir  -->
+      <attribute name="FailOnCollision">false</attribute>
+      <!-- If false, the deployment is retained in the upload dir -->
+      <attribute name="DeleteOnUndeploy">false</attribute>
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/mail-ra.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/mail-ra.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/mail-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/mail-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/mail-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z dimitris at jboss.org $ -->
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- Mail Connection Factory                                              -->
+  <!-- ==================================================================== -->
+
+  <mbean code="org.jboss.mail.MailService"
+         name="jboss:service=Mail">
+    <attribute name="JNDIName">java:/Mail</attribute>
+    <attribute name="User">nobody</attribute>
+    <attribute name="Password">password</attribute>
+    <attribute name="Configuration">
+      <!-- A test configuration -->
+      <configuration>
+        <!-- Change to your mail server prototocol -->
+        <property name="mail.store.protocol" value="pop3"/>
+        <property name="mail.transport.protocol" value="smtp"/>
+
+        <!-- Change to the user who will receive mail  -->
+        <property name="mail.user" value="nobody"/>
+
+        <!-- Change to the mail server  -->
+        <property name="mail.pop3.host" value="pop3.nosuchhost.nosuchdomain.com"/>
+
+        <!-- Change to the SMTP gateway server -->
+        <property name="mail.smtp.host" value="smtp.nosuchhost.nosuchdomain.com"/>
+        
+        <!-- The mail server port -->
+        <property name="mail.smtp.port" value="25"/>
+        
+        <!-- Change to the address mail will be from  -->
+        <property name="mail.from" value="nobody at nosuchhost.nosuchdomain.com"/>
+
+        <!-- Enable debugging output from the javamail classes -->
+        <property name="mail.debug" value="false"/>
+      </configuration>
+    </attribute>
+    <depends>jboss:service=Naming</depends>
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--   Console Service Configuration                                       -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+   <!-- Isolate the console mgr classes from other deployments -->
+   <loader-repository>
+      jboss.console:sar=console-mgr.sar
+      <loader-repository-config>
+         java2ParentDelegation=true
+      </loader-repository-config>
+   </loader-repository>
+
+   <mbean code="org.jboss.console.manager.PluginManager"
+      name="jboss.admin:service=PluginManager">
+      <!-- The RMIAdaptor provider service -->
+      <depends>jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory</depends>
+      <attribute name="MainLogoUrl">/web-console/images/jboss.gif</attribute>
+      <attribute name="MainLinkUrl">/web-console/ServerInfo.jsp</attribute>
+      <attribute name="EnableShutdown">true</attribute>
+      <attribute name="JndiName">console/PluginManager</attribute>
+   </mbean>
+
+   <mbean code="org.jboss.console.manager.DeploymentFileRepository"
+      name="jboss.admin:service=DeploymentFileRepository">
+      <attribute name="BaseDir">./deploy/management</attribute>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/console-mgr-classes.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/console-mgr-classes.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/jcommon.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/jcommon.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/jfreechart.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/jfreechart.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPBinding.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPBinding.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPBinding.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,71 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*,
+                 org.jboss.aop.advice.AdviceBinding" %>                 
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+   String name = request.getParameter("binding");
+   AdviceBinding binding = (AdviceBinding)AspectManager.instance().getBindings().get(name);
+%>
+<hr class="hide"/>
+	<center>
+   <h4 style="text-align: center"><%=name%></h4>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Advice Binding</h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <p align="left"><font size="1"><b>Pointcut Expression: </b><%=binding.getPointcut().getExpr()%></font></p>
+                    <% if (binding.getCFlowString() != null) {
+                    %>
+                    <p align="left"><font size="1"><b>CFlow Expression: </b><%=binding.getCFlowString()%></font></p>
+                    <% } %>
+                    </td>
+                  </tr>
+
+            </table>
+					<p>&nbsp;</p>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss™ Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPClassMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPClassMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPClassMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar"> 
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String group = request.getParameter("group");
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    HashMap groupAttrs = advisor.getClassMetaData().tag(group);
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Metadata for class <%= classname %></h3>
+	    <p>&nbsp;</p>
+<%@ include file="AOPMetaData.jsp" %>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,84 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 java.lang.reflect.Constructor,
+                 org.jboss.console.plugins.AOPLister"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    int idx  = Integer.parseInt(request.getParameter("constructor"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Constructor constructor = advisor.getConstructors()[idx];
+    Interceptor[] interceptors = advisor.getConstructorInterceptors()[idx];
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Constructor Chain for <%=AOPLister.shortenConstructor(classname, constructor)%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorConstructorCallerChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorConstructorCallerChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorConstructorCallerChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,91 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 java.lang.reflect.Constructor,
+                 org.jboss.console.plugins.AOPLister,
+                 gnu.trove.TLongObjectHashMap"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    int idx  = Integer.parseInt(request.getParameter("index"));
+    String calledClassname = request.getParameter("calledclassname");
+    long hash  = Long.parseLong(request.getParameter("hash"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Constructor constructor = advisor.getConstructors()[idx];
+    HashMap called = advisor.getConCalledByConInterceptors()[idx];
+    TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
+    CallerConstructorInfo info = (CallerConstructorInfo)map.get(hash);
+    Interceptor[] interceptors = info.interceptors;
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Constructor Caller: <%=AOPLister.shortenConstructor(classname, constructor)%></font></h4>
+                    <h4 style="text-align: center"><font size="3">Called Constructor: <%=info.constructor.toString()%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,53 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*,java.lang.reflect.*,
+                 org.jboss.aop.metadata.ConstructorMetaData"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar"> 
+	</div>
+<!-- header end -->
+<%
+
+    String classname = request.getParameter("classname");
+    String group = request.getParameter("group");
+    String con = request.getParameter("constructor");
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    HashMap groupAttrs = new HashMap();
+    ConstructorMetaData metaData = advisor.getConstructorMetaData();
+    Iterator conit = metaData.getConstructors();
+    while (conit.hasNext())
+    {
+       String constructor = (String)conit.next();
+       if (constructor.equals(con))
+       {
+           groupAttrs = metaData.getConstructorMetaData(constructor).tag(group);
+           break;
+       }
+    }
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Metadata for constructor <%=con%></h3>
+	    <p>&nbsp;</p>
+<%@ include file="AOPMetaData.jsp" %>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMethodCallerChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMethodCallerChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMethodCallerChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,91 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 java.lang.reflect.Constructor,
+                 org.jboss.console.plugins.AOPLister,
+                 gnu.trove.TLongObjectHashMap"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    int idx  = Integer.parseInt(request.getParameter("index"));
+    String calledClassname = request.getParameter("calledclassname");
+    long hash  = Long.parseLong(request.getParameter("hash"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Constructor constructor = advisor.getConstructors()[idx];
+    HashMap called = advisor.getMethodCalledByConInterceptors()[idx];
+    TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
+    CallerMethodInfo info = (CallerMethodInfo)map.get(hash);
+    Interceptor[] interceptors = info.interceptors;
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Constructor Caller: <%=AOPLister.shortenConstructor(classname, constructor)%></font></h4>
+                    <h4 style="text-align: center"><font size="3">Called Method: <%=info.method.toString()%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPDefaultMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPDefaultMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPDefaultMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar"> 
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String group = request.getParameter("group");
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    HashMap groupAttrs = advisor.getDefaultMetaData().tag(group);
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%> Default MetaData </h3>
+	    <p>&nbsp;</p>
+<%@ include file="AOPMetaData.jsp" %>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPFieldChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPFieldChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPFieldChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,84 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 org.jboss.console.plugins.AOPLister"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    int idx  = Integer.parseInt(request.getParameter("field"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Field field = advisor.getAdvisedFields()[idx];
+    boolean read = request.getParameter("mode").equals("read");
+    Interceptor[] interceptors = read ? advisor.getFieldReadInterceptors()[idx] : advisor.getFieldWriteInterceptors()[idx];
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Field <%= (read) ? "Read" : "Write" %> Chain for <%=AOPLister.shortenField(classname, field)%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPFieldMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPFieldMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPFieldMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar"> 
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String group = request.getParameter("group");
+    String field = request.getParameter("field");	
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    HashMap groupAttrs = advisor.getFieldMetaData().getFieldMetaData(field).tag(group);
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Metadata for field <%=field%></h3>
+	    <p>&nbsp;</p>
+<%@ include file="AOPMetaData.jsp" %>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPIntroductionPointcut.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPIntroductionPointcut.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPIntroductionPointcut.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,105 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*,
+                 org.jboss.aop.introduction.InterfaceIntroduction"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String name = request.getParameter("pointcut");
+    InterfaceIntroduction introduction = AspectManager.instance().getInterfaceIntroduction(name);
+%>
+<hr class="hide"/>
+	<center> <h4 style="text-align: center"><%=name%></h4>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Introduction Pointcut</h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <p align="left"><font size="1"><b>Class Expression: </b><%=introduction.getClassExpr()%></font></p>
+                    </td>
+                  </tr>
+<%
+       Iterator mixins = introduction.getMixins().iterator();
+       while (mixins.hasNext()) {
+          InterfaceIntroduction.Mixin mixin = (InterfaceIntroduction.Mixin)mixins.next();
+          String[] interfaces = mixin.getInterfaces();
+          String initializer = (mixin.getConstruction() == null) ? ("new " + mixin.getClassName() + "()") : mixin.getConstruction();
+%>
+                  <tr>
+                    <td>
+                    <p align="left"><h4>Mixin Class</h4></p>
+                    <p align="left"><font size="1"><%=mixin.getClassName()%></font></p>
+                    <p align="left"><h4>Mixin Initializer</h4></p>
+                    <p align="left"><font size="1"><%=initializer%></font></p>
+                    </td>
+                    <td>
+                    <p align="left"><h4>Interfaces</h4></p>
+<%           
+	  for (int j = 0; j < interfaces.length; j++) {
+%>
+                    <p align="left"><font size="1"><%=interfaces[j]%></font></p>
+<%        }  %>
+                    </td>
+                  </tr>
+<%     }  %>
+<%           
+       String[] interfaces = introduction.getInterfaces();
+       if (interfaces != null && interfaces.length > 0) {
+%>
+                  <tr>
+                    <td colspan="2">
+                    <p align="left"><h4>Other Interfaces</h4></p>
+<%           
+	  for (int j = 0; j < interfaces.length; j++) {
+%>
+                    <p align="left"><font size="1"><%=interfaces[j]%></font></p>
+<%        }  %>
+                    </td>
+                  </tr>
+<%  }%>
+	
+            </table>
+					<p>&nbsp;</p>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss™ Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,79 @@
+<%@ page import="java.util.Iterator,
+                 java.util.Map,
+                 org.jboss.aop.metadata.SimpleMetaData,
+                 org.jboss.aop.metadata.MetaDataResolver" %>
+                 <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="4">
+                    <h4 style="text-align: center"><font size="3"><%=group%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Attribute Name</h4>
+                    </td>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Value (as String)</h4>
+                    </td>
+                    <td>
+                    <h4>Serialization</h4>
+                    </td>
+                  </tr>
+<%
+    boolean hasValues = false;
+         
+    Iterator it = groupAttrs.entrySet().iterator();
+    while (it.hasNext()) 
+    {
+       Map.Entry entry = (Map.Entry)it.next();
+       String attr = (String)entry.getKey();
+       if (!attr.equals(MetaDataResolver.EMPTY_TAG))
+       {
+          hasValues = true;
+          SimpleMetaData.MetaDataValue value = (SimpleMetaData.MetaDataValue)entry.getValue();
+%>
+                  <tr>
+                    <td><font size="1"><%=attr%></font>
+                    <td><font size="1"><%=value.value.getClass().getName()%></font>
+                    <td><font size="1"><%=value.value.toString()%></font>
+                    <td><font size="1"><%=value.type%></font>
+                    </td>
+                  </tr>
+<%     }
+    } 
+    
+    if (!hasValues)
+    {
+%>    
+                  <tr>
+                     <td colspan="4">empty</td>
+                  </tr>
+<%  }
+    
+%>
+	
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss™ Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,86 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,gnu.trove.TLongObjectHashMap,
+                 java.lang.reflect.Method,
+                 org.jboss.console.plugins.AOPLister"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    long hash = Long.parseLong(request.getParameter("method"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    TLongObjectHashMap methodChains = advisor.getMethodInterceptors();
+	 MethodInfo info = (MethodInfo)methodChains.get(hash);
+    Interceptor[] interceptors = info.interceptors;
+    Method method = (Method)advisor.getAdvisedMethods().get(hash);
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Method Chain for <%=AOPLister.shortenMethod(classname, method)%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodConstructorCallerChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodConstructorCallerChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodConstructorCallerChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,92 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 java.lang.reflect.Constructor,
+                 org.jboss.console.plugins.AOPLister,
+                 gnu.trove.TLongObjectHashMap,
+                 java.lang.reflect.Method"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String calledClassname = request.getParameter("calledclassname");
+    long hash  = Long.parseLong(request.getParameter("hash"));
+    long callingHash  = Long.parseLong(request.getParameter("callinghash"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Method method = (Method)advisor.getAdvisedMethods().get(callingHash);
+    HashMap called = (HashMap)advisor.getConCalledByMethodInterceptors().get(callingHash);
+    TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
+    CallerConstructorInfo info = (CallerConstructorInfo)map.get(hash);
+    Interceptor[] interceptors = info.interceptors;
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Method Caller: <%=AOPLister.shortenMethod(classname, method)%></font></h4>
+                    <h4 style="text-align: center"><font size="3">Called Constructor: <%=info.constructor.toString()%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodMetaData.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodMetaData.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodMetaData.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,java.util.*"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar"> 
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String group = request.getParameter("group");
+    String method = request.getParameter("method");	
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    HashMap groupAttrs = advisor.getMethodMetaData().getMethodMetaData(method).tag(group);
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3>Metadata for method <%=method%></h3>
+	    <p>&nbsp;</p>
+<%@ include file="AOPMetaData.jsp" %>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodMethodCallerChain.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodMethodCallerChain.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/AOPMethodMethodCallerChain.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,92 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field,
+                 java.lang.reflect.Constructor,
+                 org.jboss.console.plugins.AOPLister,
+                 gnu.trove.TLongObjectHashMap,
+                 java.lang.reflect.Method"%>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString());
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - AOP Pointcuts</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link
+</head>
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<%
+    String classname = request.getParameter("classname");
+    String calledClassname = request.getParameter("calledclassname");
+    long hash  = Long.parseLong(request.getParameter("hash"));
+    long callingHash  = Long.parseLong(request.getParameter("callinghash"));
+    ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname);
+    Method method = (Method)advisor.getAdvisedMethods().get(callingHash);
+    HashMap called = (HashMap)advisor.getMethodCalledByMethodInterceptors().get(callingHash);
+    TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname);
+    CallerMethodInfo info = (CallerMethodInfo)map.get(hash);
+    Interceptor[] interceptors = info.interceptors;
+
+%>
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%">
+			<h3><%=classname%></h3>
+	    <p>&nbsp;</p>
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">Method Caller: <%=AOPLister.shortenMethod(classname, method)%></font></h4>
+                    <h4 style="text-align: center"><font size="3">Called Method: <%=info.method.toString()%></font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>
+                    <h4>Type</h4>
+                    </td>
+                    <td>
+                    <h4>Description</h4>
+                    </td>
+                  </tr>
+<%
+   if (interceptors != null)
+   {
+   String chain = AOPLister.outputChain(interceptors);
+%>
+<%=chain%>
+<% } %>
+            </table>
+	    <p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EJB.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EJB.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EJB.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,42 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="ejb" intf="org.jboss.management.j2ee.StatelessSessionBeanMBean" />
+
+<%
+   String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
+   String containerUrl = "jboss.j2ee:service=EJB,jndiName=" + ejbName;
+   containerUrl = java.net.URLEncoder.encode(containerUrl);
+   containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
+%>
+<html>
+<META HTTP-EQUIV="expires" CONTENT="0"/>
+<head>
+<title>EJB: <%=ejbName%></title>
+</head>
+
+  <body>
+  
+  <h1><center>EJB '<%=ejbName%>'</center></h1>
+  
+  <p/>
+  <p/>
+  
+  <table border="1">
+   <tr>
+      <td><b>Management Object Name:</b></td>
+   </tr>
+   <tr>
+      <td><%=ejb.getobjectName()%>&nbsp;</td>
+   </tr>
+   <tr>
+      <td><b>Provides Statistics:</b></td>
+   </tr>
+   <tr>
+      <td><%=ejb.isstatisticsProvider()%>&nbsp;</td>
+   </tr>
+  </table>
+
+   <a href="<%=containerUrl%>">Visit associated container MBean...</a>
+
+  </body>
+
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EJBModule.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EJBModule.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EJBModule.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,44 @@
+<%@ page import="javax.management.ObjectName"%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="module" intf="org.jboss.management.j2ee.J2EEModuleMBean" />
+
+<%
+   String moduleName = new ObjectName(module.getobjectName()).getKeyProperty ("name");
+%>
+<html>
+<META HTTP-EQUIV="expires" CONTENT="0"/>
+<head>
+<title>EJB-Module: <%=moduleName%></title>
+</head>
+
+  <body>
+  
+  <h1><center>EJB-Module '<%=moduleName%>'</center></h1>
+  
+  <p/>
+  <p/>
+  
+  <table border="1">
+   <tr>
+      <td><b>Management Object Name:</b></td>
+   </tr>
+   <tr>
+      <td><%=module.getobjectName()%></td>
+   </tr>
+   <tr>
+      <td><b>Provides Statistics:</b></td>
+   </tr>
+   <tr>
+      <td><%=module.isstatisticsProvider()%></td>
+   </tr>
+   <tr>
+      <td><b>Deployment Descriptor:</b></td>
+   </tr>
+   <tr>
+      <td><pre><%=org.jboss.console.plugins.helpers.servlet.ServletHelper.filter(module.getdeploymentDescriptor())%></pre></td>
+   </tr>
+  </table>
+
+  </body>
+
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EntityEjb.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EntityEjb.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/EntityEjb.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,231 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="ejb" intf="org.jboss.management.j2ee.EntityBeanMBean" />
+<jb:mbean id="container" mbean='<%=request.getParameter("ContainerObjectName")%>' intf="org.jboss.ejb.ContainerMBean" />
+<%
+   String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
+   String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule");
+   String containerUrl = java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
+
+   org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats ();
+
+   String doReset = request.getParameter("doReset");
+   if (doReset != null && doReset.equals("true"))
+   {
+   	 ejb.resetStats ();
+   }
+   String doResetInvoc= request.getParameter("doResetInvoc");
+   if (doResetInvoc!= null && doResetInvoc.equals("true"))
+   {
+   	 invokeStats.resetStats ();
+   }
+
+   String parameters = "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+   parameters = parameters + "&ContainerObjectName=" + java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   
+   String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true" + parameters;
+   String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true" + parameters;
+   String myUrl = response.encodeURL(request.getRequestURI()) + "?" + parameters;
+   org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData();
+
+%>
+<%!
+public String addStatRow (javax.management.j2ee.statistics.Statistic stat)
+{
+	String start = new java.util.Date(stat.getStartTime ()).toString ();
+	String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString ();
+	
+	String result = "<tr><td width=\"25%\"><font size=\"1\">" + stat.getName() + " (unit: " + stat.getUnit () + ")</font></td>" +
+	                "<td width=\"25%\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\"><tr>";
+	                
+	if (stat instanceof javax.management.j2ee.statistics.CountStatistic)
+	{
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "</font></td><td width=\"33%\"></td><td width=\"34%\"></td>";
+    }
+	else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic)
+	{
+		javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat;
+		
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getCurrent ()  + "</font></td><td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getLowWaterMark () + "</font></td>" +
+				 "<td width=\"34%\" align=\"center\"><font size=\"1\">" + rStat.getHighWaterMark() + "</font></td>";
+	}
+	
+	result+= "</tr></table></td><td width=\"25%\"><font size=\"1\">" + start + "</font></td><td width=\"25%\"><font size=\"1\">" + lastSample + "</font>&nbsp;</td></tr>";
+	
+	return result;
+
+}
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Entity Bean</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 831; height: 247">
+			<h3>Entity Bean</h3>
+				<h4>Name</h4>
+					<p><%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)</p>
+				<h4>EJB Module</h4>
+					<p><%=ejbModule %></p>
+				<h4>Bean Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+if (ejb.isstatisticsProvider())
+{
+%>				
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Name</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Value</h4>
+                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
+                      <tr>
+                        <td width="33%">
+                        <h4 style="text-align: center">Current</h4>
+                        </td>
+                        <td width="33%">
+                        <h4 style="text-align: center">Low</h4>
+                        </td>
+                        <td width="34%">
+                        <h4 style="text-align: center">High</h4>
+                        </td>
+                      </tr>
+                    </table>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Start Time</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Last Sample Time</h4>
+                    </td>
+                  </tr>
+	<%
+	javax.management.j2ee.statistics.EntityBeanStats stats = (javax.management.j2ee.statistics.EntityBeanStats)ejb.getstats ();
+%>	
+	<%=addStatRow (stats.getCreateCount ()) %>
+	<%=addStatRow (stats.getRemoveCount ()) %>
+	<%=addStatRow (stats.getReadyCount ()) %>
+	<%=addStatRow (stats.getPooledCount ()) %>
+
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+}
+else
+{
+%>				
+					<p>none.</p>
+<%
+}
+%>				
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+				<h4>Invocation Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+	java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator();
+	if (iterInvoc.hasNext())
+	{	
+	
+%>
+
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td  align="center">
+                    <h4 style="text-align: center">Method name</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Min (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Max (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Average (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Total (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center"># Invocations</h4>
+                    </td>
+                  </tr>
+				<%
+				while (iterInvoc.hasNext())
+				{
+               java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next();
+               org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue();
+				%>
+				
+                  <tr>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=((java.lang.reflect.Method)entry.getKey()).getName()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.minTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.maxTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=(float)stat.totalTime/(float)stat.count%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.totalTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.count%></h4></font>
+                    </td>
+                  </tr>
+                  <%
+                  }
+                  %>
+            </table>
+            <p align="center"><a href="<%=resetInvocUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+	}
+	else
+	{
+%>	 
+					<p>none.</p>
+<%
+	}
+%>
+
+					<p>&nbsp;</p>
+               <p>Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p><a href="<%=containerUrl%>">View associated container MBean</a></p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/J2EEApp.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/J2EEApp.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/J2EEApp.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,44 @@
+<%@ page import="javax.management.ObjectName"%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="app" intf="org.jboss.management.j2ee.J2EEApplicationMBean" />
+
+<%
+   String appName = new ObjectName(app.getobjectName()).getKeyProperty ("name");
+%>
+<html>
+<META HTTP-EQUIV="expires" CONTENT="0"/>
+<head>
+<title>J2EE Application: <%=appName%></title>
+</head>
+
+  <body>
+  
+  <h1><center>J2EE Application '<%=appName%>'</center></h1>
+  
+  <p/>
+  <p/>
+  
+  <table border="1">
+   <tr>
+      <td><b>Management Object Name:</b></td>
+   </tr>
+   <tr>
+      <td><%=app.getobjectName()%></td>
+   </tr>
+   <tr>
+      <td><b>Provides Statistics:</b></td>
+   </tr>
+   <tr>
+      <td><%=app.isstatisticsProvider()%></td>
+   </tr>
+   <tr>
+      <td><b>Deployment Descriptor:</b></td>
+   </tr>
+   <tr>
+      <td><pre><%=org.jboss.console.plugins.helpers.servlet.ServletHelper.filter(app.getdeploymentDescriptor())%></pre></td>
+   </tr>
+  </table>
+
+  </body>
+
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/JNDIView.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/JNDIView.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/JNDIView.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="jndiview" intf="org.jboss.naming.JNDIViewMBean" mbean="jboss:service=JNDIView" />
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - JNDI View</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+<link rel="StyleSheet" href="css/dtree.css" type="text/css" />
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+			<h3>JNDI View</h3>
+			<p>&nbsp;</p>
+
+         <%=org.jboss.console.util.XMLToHTMLTreeBuilder.convertJNDIXML(jndiview.listXML())%>
+
+         <p>&nbsp;</p>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/MdbEjb.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/MdbEjb.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/MdbEjb.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,238 @@
+<%@ page language="java" 
+         import="java.util.Map"
+         import="java.util.HashMap"
+	 import="java.util.Iterator"
+	 import="org.jboss.invocation.InvocationStatistics"
+	 import="org.jboss.invocation.InvocationStatistics.*" %>
+
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="ejb" intf="org.jboss.management.j2ee.MessageDrivenBeanMBean" />
+<jb:mbean id="container" mbean='<%=request.getParameter("ContainerObjectName")%>' intf="org.jboss.ejb.ContainerMBean" />
+<%
+   String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
+   String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule");
+   String containerUrl = java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
+
+   org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats ();
+
+   String doReset = request.getParameter("doReset");
+   if (doReset != null && doReset.equals("true"))
+   {
+   	 ejb.resetStats ();
+   }
+   String doResetInvoc= request.getParameter("doResetInvoc");
+   if (doResetInvoc!= null && doResetInvoc.equals("true"))
+   {
+   	 invokeStats.resetStats ();
+   }
+
+   String parameters = "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+   parameters = parameters + "&ContainerObjectName=" + java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   
+   String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true" + parameters;
+   String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true" + parameters;
+   String myUrl = response.encodeURL(request.getRequestURI()) + "?" + parameters;
+   org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData();
+
+%>
+
+   <%!
+public String addStatRow (javax.management.j2ee.statistics.Statistic stat)
+{
+   String start = new java.util.Date(stat.getStartTime ()).toString ();
+   String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString ();
+	
+   String result = "<tr><td width=\"25%\"><font size=\"1\">" + stat.getName() + " (unit: " + stat.getUnit () + ")</font></td>" +
+                   "<td width=\"25%\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\"><tr>";
+	                
+   if (stat instanceof javax.management.j2ee.statistics.CountStatistic)
+   {
+      result += "<td width=\"33%\" align=\"center\"><font size=\"1\">" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "</font></td><td width=\"33%\"></td><td width=\"34%\"></td>";
+   }
+   else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic)
+   {
+      javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat;
+		
+      result += "<td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getCurrent ()  + "</font></td><td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getLowWaterMark () + "</font></td>" +
+                "<td width=\"34%\" align=\"center\"><font size=\"1\">" + rStat.getHighWaterMark() + "</font></td>";
+   }
+	
+   result += "</tr></table></td><td width=\"25%\"><font size=\"1\">" + start + "</font></td><td width=\"25%\"><font size=\"1\">" + lastSample + "</font>&nbsp;</td></tr>";
+	
+   return result;
+}
+%>
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Message Driven Bean</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+<div id="header">
+	&nbsp;</div>
+<div id="navigation_bar">
+</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 831; height: 247">
+			<h3>Message Driven Bean</h3>
+				<h4>Name</h4>
+					<p><%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)</p>
+				<h4>EJB Module</h4>
+					<p><%=ejbModule %></p>
+				<h4>Bean Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+if (ejb.isstatisticsProvider())
+{
+%>				
+		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Name</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Value</h4>
+                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
+                      <tr>
+                        <td width="33%">
+                        <h4 style="text-align: center">Current</h4>
+                        </td>
+                        <td width="33%">
+                        <h4 style="text-align: center">Low</h4>
+                        </td>
+                        <td width="34%">
+                        <h4 style="text-align: center">High</h4>
+                        </td>
+                      </tr>
+                    </table>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Start Time</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Last Sample Time</h4>
+                    </td>
+                  </tr>
+	<%
+	javax.management.j2ee.statistics.MessageDrivenBeanStats stats = (javax.management.j2ee.statistics.MessageDrivenBeanStats)ejb.getstats ();
+%>	
+	<%=addStatRow (stats.getCreateCount ()) %>
+	<%=addStatRow (stats.getRemoveCount ()) %>
+	<%=addStatRow (stats.getMessageCount ()) %>
+
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+}
+else
+{
+%>				
+					<p>none.</p>
+<%
+}
+%>				
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+				<h4>Invocation Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+	java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator();
+	if (iterInvoc.hasNext())
+	{	
+	
+%>
+
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td  align="center">
+                    <h4 style="text-align: center">Method name</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Min (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Max (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Average (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Total (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center"># Invocations</h4>
+                    </td>
+                  </tr>
+				<%
+				while (iterInvoc.hasNext())
+				{
+               java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next();
+               org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue();
+				%>
+				
+                  <tr>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=((java.lang.reflect.Method)entry.getKey()).getName()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.minTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.maxTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=(float)stat.totalTime/(float)stat.count%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.totalTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.count%></h4></font>
+                    </td>
+                  </tr>
+                  <%
+                  }
+                  %>
+            </table>
+            <p align="center"><a href="<%=resetInvocUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+	}
+	else
+	{
+%>	 
+					<p>none.</p>
+<%
+	}
+%>
+
+					<p>&nbsp;</p>
+               <p>Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p><a href="<%=containerUrl%>">View associated container MBean</a></p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Queue.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Queue.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Queue.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,119 @@
+<%@ page import="org.jboss.mq.*"%>
+<%@ page import="org.jboss.mq.server.*"%>
+<%@ page import="java.text.DateFormat"%>
+<%@ page import="java.util.Date"%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="queue" intf="org.jboss.mq.server.jmx.QueueMBean"/>
+<% 	
+	String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+	String myUrl = response.encodeURL(request.getRequestURI()) + "?" + "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));	
+	MessageCounter counter = queue.getMessageCounter()[0];
+	
+	//check reset first
+	String doReset = request.getParameter("doReset");
+	if (doReset != null && doReset.equals("true"))
+    {
+   	 	counter.resetCounter();
+    }
+    
+	String lastModified = "N/A";
+	DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);
+	if (counter.getLastUpdate() > 0)
+	{		
+		lastModified = dateFormat.format(new Date(counter.getLastUpdate()));
+	}
+	 
+    
+%>
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - JMS Queue</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+
+<!-- content begin -->
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 95%; height: 95%">
+			<h3>JMS Queue</h3>
+			<h4>Name</h4>
+				<p><%=queue.getQueueName()%></p>
+			<h4>JNDI Name</h4>
+				<p><%=queue.getJNDIName()%></p>		
+			<h4>Receiver Count</h4>
+				<p><%=queue.getReceiversCount()%></p>													
+			<h4>Message statistics:</h4>
+			<table border="1" cellpadding="0" cellspacing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="33%" >
+                    <h4>Queue Depth:</h4>
+                    </td>      
+                    <td width="33%" >
+                    <h4>Queue Depth Delta:</h4>
+                    </td>                                     
+                    <td width="33%">
+                    <h4>Maximum Depth:</h4>
+                    </td>                    
+                  </tr>	
+                  <tr align="center">
+                  	<td><%=queue.getQueueDepth()%></td>  
+                  	<td><%=counter.getDepthDelta()%></td>               	
+                  	<td><%=queue.getMaxDepth()%></td>                  	
+                  </tr>
+            </table>
+            <p>&nbsp;</p>
+			<p>&nbsp;</p>
+            <h4>Message statistics since startup or reset:</h4>
+			<table border="1" cellpadding="0" cellspacing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="33%" >
+                    <h4>Message Count:</h4>
+                    </td>                    
+                    <td width="33%">
+                    <h4>Message Count Delta:</h4>                    
+                    </td>                    
+                    <td width="33%">
+                    <h4>Last Message Add Date:</h4>
+                    </td>
+                  </tr>	
+                  <tr align="center">                  	
+                  	<td><%=counter.getCount()%></td>
+                  	<td><%=counter.getCountDelta()%></td>
+                  	<td><%=lastModified%></td>
+                  </tr>
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>            					
+            <p>&nbsp;</p>
+			<p>&nbsp;</p>						
+			              
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<!-- header end -->
+<hr class="hide"/>
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/ServerInfo.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/ServerInfo.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/ServerInfo.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,136 @@
+<%--
+ |
+ |  Author: Sacha Labourey    (sacha at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="server" mbean='jboss.system:type=Server' intf="org.jboss.system.server.ServerImplMBean" />
+<jb:mbean id="serverInfo" mbean='jboss.system:type=ServerInfo' intf="org.jboss.system.server.ServerInfoMBean" />
+<jb:mbean id="serverConfig" mbean='jboss.system:type=ServerConfig' intf="org.jboss.system.server.ServerConfigImplMBean" />
+<%
+   String myUrl = response.encodeURL(request.getRequestURI());
+%>
+<%!
+public String memSize (java.lang.Long lOctets)
+{
+	long octets = lOctets.longValue();
+	int ratio = 3*1024;
+	String unit = "";
+	if (octets > ratio)
+	{
+	   unit = "KB";
+	   octets/=1024;	
+	   
+		if (octets > ratio)
+		{
+		   unit = "MB";
+		   octets/=1024;	
+		   
+			if (octets > ratio)
+			{
+			   unit = "GB";
+			   octets/=1024;	
+			   
+				if (octets > ratio)
+				{
+				   unit = "TB";
+				   octets/=1024;	
+				}
+			}
+		}
+	}
+	
+	return octets + " " + unit;
+}
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Server Information</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>JBoss&trade; Application Server</h3>
+					<p>&nbsp;</p>
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">JBoss</font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td width="25%" align="center" valign="top">
+                    <h4>Version</h4>
+                    <p align="left"><font size="1"><b>Version: </b><%=server.getVersion()%></font></p>
+                    <p align="left"><font size="1"><b>Version Name: </b><%=server.getVersionName()%></font></p>
+                    <p align="left"><font size="1"><b>Built on: </b><%=server.getBuildDate()%></font>
+                    </td>
+                    <td width="25%" align="center" valign="top">
+                    <h4>Environment</h4>
+                    <p align="left"><font size="1"><b>Start date: </b><%=server.getStartDate()%></font></p>
+                    <p align="left"><font size="1"><b>Host: </b><%=serverInfo.getHostName()%> (<%=serverInfo.getHostAddress ()%>)</font></p>
+                    <p align="left"><font size="1"><b>Base Location: </b><%=serverConfig.getServerBaseURL()%></font></p>
+                    <p align="left"><font size="1"><b>Base Location (local): </b><%=serverConfig.getServerBaseDir()%></font></p>
+                    <p align="left"><font size="1"><b>Running config: </b>'<%= serverConfig.getServerHomeDir().getName()%>'</font></td>
+                  </tr>
+	
+            </table>
+            <p>&nbsp;</p>
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center" colspan="2">
+                    <h4 style="text-align: center"><font size="3">JVM - Hardware</font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td width="25%" align="center" valign="top">
+                    <h4>Hardware</h4>
+                    <p align="left"><font size="1"><b>#CPU: </b><%=serverInfo.getAvailableProcessors()%></font></p>
+                    <p align="left"><font size="1"><b>OS: </b><%=serverInfo.getOSName()%> <%=serverInfo.getOSVersion()%> (<%=serverInfo.getOSArch()%>)</font></td>
+                    <td width="25%" align="center" valign="top">
+                    <h4>JVM Environment</h4>
+                    <p align="left"><font size="1"><b>Free Memory: </b><%=memSize(serverInfo.getFreeMemory())%></font></p>
+                    <p align="left"><font size="1"><b>Max Memory: </b><%=memSize(serverInfo.getMaxMemory())%></font></p>
+                    <p align="left"><font size="1"><b>Total Memory: </b><%=memSize(serverInfo.getTotalMemory())%></font></p>
+                    <p align="left"><font size="1"><b>#Threads: </b><%=serverInfo.getActiveThreadCount()%></font></p>
+                    <p align="left"><font size="1"><b>JVM Version: </b><%=serverInfo.getJavaVMVersion()%> (<%=serverInfo.getJavaVMVendor()%>)</font></p>
+                    <p align="left"><font size="1"><b>JVM Name: </b><%=serverInfo.getJavaVMName()%></font></td>
+                  </tr>
+
+            </table>
+					<p>&nbsp;</p>
+            <p align="center"> <a href="<%=myUrl%>">Refresh</a></p>
+
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Servlet.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Servlet.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Servlet.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,102 @@
+<%@ page import="javax.management.ObjectName,
+                 javax.management.j2ee.statistics.ServletStats,
+                 javax.management.j2ee.statistics.TimeStatistic"%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="servlet" intf="org.jboss.management.j2ee.ServletMBean" />
+<%
+   String doReset = request.getParameter("doReset");
+   if (doReset != null && doReset.equals("true"))
+   {
+       servlet.resetStats();
+   }
+
+   String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+   String myUrl = response.encodeURL(request.getRequestURI()) + "?" + "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+%>
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Servlet</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 831; height: 247">
+			<h3>Servlet</h3>
+				<h4>Name</h4>
+					<p><%=new ObjectName(servlet.getobjectName()).getKeyProperty("name")%> </p>
+				<h4>Servlet Statistics:</h4>
+					<p>&nbsp;</p>
+
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td align="center">
+                    <h4 style="text-align: center">Min (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Max (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Average (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Total (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center"># Invocations</h4>
+                    </td>
+                  </tr>
+				<%
+                    ServletStats stats = (ServletStats)servlet.getstats();
+                    TimeStatistic stat = stats.getServiceTime();
+				%>
+
+                  <tr>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.getMinTime()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.getMaxTime()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=(float)stat.getTotalTime()/(float)stat.getCount()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.getTotalTime()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.getCount()%></h4></font>
+                    </td>
+                  </tr>
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+					<p>&nbsp;</p>
+			<p>&nbsp;</p>
+
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/StatefulEjb.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/StatefulEjb.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/StatefulEjb.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,231 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="ejb" intf="org.jboss.management.j2ee.StatefulSessionBeanMBean" />
+<jb:mbean id="container" mbean='<%=request.getParameter("ContainerObjectName")%>' intf="org.jboss.ejb.ContainerMBean" />
+<%
+   String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
+   String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule");
+   String containerUrl = java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
+
+   org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats ();
+
+   String doReset = request.getParameter("doReset");
+   if (doReset != null && doReset.equals("true"))
+   {
+   	 ejb.resetStats ();
+   }
+   String doResetInvoc= request.getParameter("doResetInvoc");
+   if (doResetInvoc!= null && doResetInvoc.equals("true"))
+   {
+   	 invokeStats.resetStats ();
+   }
+
+   String parameters = "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+   parameters = parameters + "&ContainerObjectName=" + java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   
+   String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true" + parameters;
+   String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true" + parameters;
+   String myUrl = response.encodeURL(request.getRequestURI()) + "?" + parameters;
+   org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData();
+
+%>
+<%!
+public String addStatRow (javax.management.j2ee.statistics.Statistic stat)
+{
+	String start = new java.util.Date(stat.getStartTime ()).toString ();
+	String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString ();
+	
+	String result = "<tr><td width=\"25%\"><font size=\"1\">" + stat.getName() + " (unit: " + stat.getUnit () + ")</font></td>" +
+	                "<td width=\"25%\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\"><tr>";
+	                
+	if (stat instanceof javax.management.j2ee.statistics.CountStatistic)
+	{
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "</font></td><td width=\"33%\"></td><td width=\"34%\"></td>";
+    }
+	else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic)
+	{
+		javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat;
+		
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getCurrent ()  + "</font></td><td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getLowWaterMark () + "</font></td>" +
+				 "<td width=\"34%\" align=\"center\"><font size=\"1\">" + rStat.getHighWaterMark() + "</font></td>";
+	}
+	
+	result+= "</tr></table></td><td width=\"25%\"><font size=\"1\">" + start + "</font></td><td width=\"25%\"><font size=\"1\">" + lastSample + "</font>&nbsp;</td></tr>";
+	
+	return result;
+
+}
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Stateful Session Bean</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 831; height: 247">
+			<h3>Stateful Session Bean</h3>
+				<h4>Name</h4>
+					<p><%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)</p>
+				<h4>EJB Module</h4>
+					<p><%=ejbModule %></p>
+				<h4>Bean Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+if (ejb.isstatisticsProvider())
+{
+%>				
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Name</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Value</h4>
+                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
+                      <tr>
+                        <td width="33%">
+                        <h4 style="text-align: center">Current</h4>
+                        </td>
+                        <td width="33%">
+                        <h4 style="text-align: center">Low</h4>
+                        </td>
+                        <td width="34%">
+                        <h4 style="text-align: center">High</h4>
+                        </td>
+                      </tr>
+                    </table>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Start Time</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Last Sample Time</h4>
+                    </td>
+                  </tr>
+	<%
+	javax.management.j2ee.statistics.StatefulSessionBeanStats stats = (javax.management.j2ee.statistics.StatefulSessionBeanStats)ejb.getstats ();
+%>	
+	<%=addStatRow (stats.getMethodReadyCount ()) %>
+	<%=addStatRow (stats.getCreateCount ()) %>
+	<%=addStatRow (stats.getRemoveCount ()) %>
+	<%=addStatRow (stats.getPassiveCount ()) %>
+
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+}
+else
+{
+%>				
+					<p>none.</p>
+<%
+}
+%>				
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+				<h4>Invocation Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+	java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator();
+	if (iterInvoc.hasNext())
+	{	
+	
+%>
+
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td  align="center">
+                    <h4 style="text-align: center">Method name</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Min (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Max (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Average (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Total (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center"># Invocations</h4>
+                    </td>
+                  </tr>
+				<%
+				while (iterInvoc.hasNext())
+				{
+               java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next();
+               org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue();
+				%>
+				
+                  <tr>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=((java.lang.reflect.Method)entry.getKey()).getName()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.minTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.maxTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=(float)stat.totalTime/(float)stat.count%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.totalTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.count%></h4></font>
+                    </td>
+                  </tr>
+                  <%
+                  }
+                  %>
+            </table>
+            <p align="center"><a href="<%=resetInvocUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+	}
+	else
+	{
+%>	 
+					<p>none.</p>
+<%
+	}
+%>
+
+					<p>&nbsp;</p>
+               <p>Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p><a href="<%=containerUrl%>">View associated container MBean</a></p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/StatelessEjb.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/StatelessEjb.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/StatelessEjb.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,230 @@
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="ejb" intf="org.jboss.management.j2ee.StatelessSessionBeanMBean" />
+<jb:mbean id="container" mbean='<%=request.getParameter("ContainerObjectName")%>' intf="org.jboss.ejb.ContainerMBean" />
+<%
+   String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
+   String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule");
+   String containerUrl = java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
+
+   org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats ();
+
+   String doReset = request.getParameter("doReset");
+   if (doReset != null && doReset.equals("true"))
+   {
+   	 ejb.resetStats ();
+   }
+   String doResetInvoc= request.getParameter("doResetInvoc");
+   if (doResetInvoc!= null && doResetInvoc.equals("true"))
+   {
+   	 invokeStats.resetStats ();
+   }
+
+   String parameters = "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"));
+   parameters = parameters + "&ContainerObjectName=" + java.net.URLEncoder.encode(request.getParameter("ContainerObjectName"));
+   
+   String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true" + parameters;
+   String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true" + parameters;
+   String myUrl = response.encodeURL(request.getRequestURI()) + "?" + parameters;
+   org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData();
+
+%>
+<%!
+public String addStatRow (javax.management.j2ee.statistics.Statistic stat)
+{
+	String start = new java.util.Date(stat.getStartTime ()).toString ();
+	String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString ();
+	
+	String result = "<tr><td width=\"25%\"><font size=\"1\">" + stat.getName() + " (unit: " + stat.getUnit () + ")</font></td>" +
+	                "<td width=\"25%\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\"><tr>";
+	                
+	if (stat instanceof javax.management.j2ee.statistics.CountStatistic)
+	{
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "</font></td><td width=\"33%\"></td><td width=\"34%\"></td>";
+    }
+	else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic)
+	{
+		javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat;
+		
+		result+= "<td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getCurrent ()  + "</font></td><td width=\"33%\" align=\"center\"><font size=\"1\">" + rStat.getLowWaterMark () + "</font></td>" +
+				 "<td width=\"34%\" align=\"center\"><font size=\"1\">" + rStat.getHighWaterMark() + "</font></td>";
+	}
+	
+	result+= "</tr></table></td><td width=\"25%\"><font size=\"1\">" + start + "</font></td><td width=\"25%\"><font size=\"1\">" + lastSample + "</font>&nbsp;</td></tr>";
+	
+	return result;
+
+}
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Stateless Session Bean</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 831; height: 247">
+			<h3>Stateless Session Bean</h3>
+				<h4>Name</h4>
+					<p><%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)</p>
+				<h4>EJB Module</h4>
+					<p><%=ejbModule %></p>
+				<h4>Bean Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+if (ejb.isstatisticsProvider())
+{
+%>				
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Name</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Value</h4>
+                    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
+                      <tr>
+                        <td width="33%">
+                        <h4 style="text-align: center">Current</h4>
+                        </td>
+                        <td width="33%">
+                        <h4 style="text-align: center">Low</h4>
+                        </td>
+                        <td width="34%">
+                        <h4 style="text-align: center">High</h4>
+                        </td>
+                      </tr>
+                    </table>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Start Time</h4>
+                    </td>
+                    <td width="25%" align="center">
+                    <h4 style="text-align: center">Last Sample Time</h4>
+                    </td>
+                  </tr>
+	<%
+	javax.management.j2ee.statistics.StatelessSessionBeanStats stats = (javax.management.j2ee.statistics.StatelessSessionBeanStats)ejb.getstats ();
+%>	
+	<%=addStatRow (stats.getMethodReadyCount ()) %>
+	<%=addStatRow (stats.getCreateCount ()) %>
+	<%=addStatRow (stats.getRemoveCount ()) %>
+
+            </table>
+            <p align="center"><a href="<%=resetUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+}
+else
+{
+%>				
+					<p>none.</p>
+<%
+}
+%>				
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+				<h4>Invocation Statistics:</h4>
+					<p>&nbsp;</p>
+<%
+	java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator();
+	if (iterInvoc.hasNext())
+	{	
+	
+%>
+
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td  align="center">
+                    <h4 style="text-align: center">Method name</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Min (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Max (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Average (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center">Total (ms)</h4>
+                    </td>
+                    <td align="center">
+                    <h4 style="text-align: center"># Invocations</h4>
+                    </td>
+                  </tr>
+				<%
+				while (iterInvoc.hasNext())
+				{
+               java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next();
+               org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue();
+				%>
+				
+                  <tr>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=((java.lang.reflect.Method)entry.getKey()).getName()%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.minTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.maxTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=(float)stat.totalTime/(float)stat.count%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.totalTime%></h4></font>
+                    </td>
+                    <td ><font size="1">
+                    <h4 style="text-align: center"><%=stat.count%></h4></font>
+                    </td>
+                  </tr>
+                  <%
+                  }
+                  %>
+            </table>
+            <p align="center"><a href="<%=resetInvocUrl%>">Reset Stats</a> / <a href="<%=myUrl%>">Refresh Stats</a></p>
+<%
+	}
+	else
+	{
+%>	 
+					<p>none.</p>
+<%
+	}
+%>
+
+					<p>&nbsp;</p>
+               <p>Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+					<p><a href="<%=containerUrl%>">View associated container MBean</a></p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/SysProperties.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/SysProperties.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/SysProperties.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - System Properties</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<div id="footer">
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%;">
+			<h3>JBoss&trade; System Properties</h3>
+					<p>&nbsp;</p>
+					
+				<table border="1" cellpadding="1" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="85%" align="center" id="AutoNumber1">
+<%
+	java.util.Properties props = System.getProperties ();
+	java.util.Iterator iter = props.keySet().iterator();
+	
+	while (iter.hasNext())
+	{
+		String key = (String)iter.next();	
+		String value = props.getProperty (key);
+%>
+                  <tr>
+                    <td align="left" valign="top"><font size="1"><%=key%></font>&nbsp;</td>
+                    <td align="left" valign="top"><font size="1"><%=value%></font>&nbsp;</td>
+                  </tr>
+<%
+	}
+%>
+
+            </table>
+            <br/>    <br/>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Topic.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Topic.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/Topic.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,114 @@
+<%@ page import="java.net.URLEncoder,
+				org.jboss.mq.*,
+				org.jboss.mq.server.*"
+%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="topic" intf="org.jboss.mq.server.jmx.TopicMBean"/>
+<% 	
+	String objParameter = "&ObjectName=" + URLEncoder.encode(request.getParameter("ObjectName"));
+	String myUrl = response.encodeURL(request.getRequestURI()) + "?" + objParameter;			
+%>
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - JMS Topic</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+
+<!-- content begin -->
+	<center>
+	<div id="content">		
+	<table width="95%" height="95%" border="0" cellspacing="0" cellpadding="0">
+		<tr align="center" valign="bottom">
+			<td height="24">
+				<jsp:include page="TopicNavigation.jsp" >
+					<jsp:param name="selectedTabName" value="JMS Topic"/>
+				</jsp:include>
+			</td>
+		</tr>
+		<tr>
+		  <td colspan="5" valign="top" class="container">			
+			<h4>Name</h4>
+				<p><%=topic.getTopicName()%></p>
+			<h4>JNDI Name</h4>
+				<p><%=topic.getJNDIName()%></p>																	
+			<h4>Message statistics:</h4>
+			<table border="1" cellpadding="0" cellspacing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td>
+                    <h4>All Message Count:</h4>
+                    </td>      
+                    <td>
+                    <h4>Durable Message Count:</h4>
+                    </td>                                     
+                    <td>
+                    <h4>Non Durable Message Count:</h4>
+                    </td>                    
+                    <td>
+                    <h4>Maximum Depth:</h4>
+                    </td>                    
+                  </tr>	
+                  <tr align="center">
+                  	<td><%=topic.getAllMessageCount()%></td>  
+                  	<td><%=topic.getDurableMessageCount()%></td>               	
+                  	<td><%=topic.getNonDurableMessageCount()%></td>    
+                  	<td><%=topic.getMaxDepth()%></td>	
+                  </tr>
+            </table>
+            <p>&nbsp;</p>
+			<p>&nbsp;</p>
+            <h4>Subscription statistics:</h4>
+			<table border="1" cellpadding="0" cellspacing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="33%" >
+                    <h4>All Subscriptions Count:</h4>
+                    </td>                    
+                    <td width="33%">
+                    <h4>Durable Subcriptions Count</h4>                    
+                    </td>                    
+                    <td width="33%">
+                    <h4>Non Durable Subscriptions Count:</h4>
+                    </td>
+                  </tr>	
+                  <tr align="center">                  	
+                  	<td><%=topic.getAllSubscriptionsCount()%></td>
+                  	<td><%=topic.getDurableSubscriptionsCount()%></td>
+                  	<td><%=topic.getNonDurableSubscriptionsCount()%></td>
+                  </tr>
+            </table>
+            <p align="center"><a href="<%=myUrl%>">Refresh</a></p>            					
+            <p>&nbsp;</p>
+			<p>&nbsp;</p>						
+			              		
+		  </td>
+	    </tr>		
+	</table>  
+	<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<!-- header end -->
+<hr class="hide"/>
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/TopicNavigation.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/TopicNavigation.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/TopicNavigation.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,9 @@
+<%@ page import="java.net.URLEncoder" %>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<% 
+	String objParameter = "ObjectName=" + URLEncoder.encode(request.getParameter("ObjectName")); 
+%>
+<jb:navigation selectedTabName="<%=request.getParameter("selectedTabName")%>">
+		<jb:tab name="JMS Topic" href="<%="Topic.jsp?" + objParameter%>" />
+		<jb:tab name="Subscriptions" href="<%="TopicSubscriptions.jsp?" + objParameter%>" />	
+</jb:navigation>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/TopicSubscriptions.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/TopicSubscriptions.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/TopicSubscriptions.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,108 @@
+<%@ page import="java.net.URLEncoder,
+				org.jboss.mq.*,
+				org.jboss.mq.server.*,
+				java.util.*,
+				java.text.DateFormat"
+%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="topic" intf="org.jboss.mq.server.jmx.TopicMBean"/>
+<% 	
+	String objParameter = "&ObjectName=" + URLEncoder.encode(request.getParameter("ObjectName"));
+	String myUrl = response.encodeURL(request.getRequestURI()) + "?" + objParameter;		
+	
+	MessageCounter[] counter = topic.getMessageCounter();
+	DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);
+%>
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - JMS Topic</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+
+<!-- content begin -->
+	<center>
+	<div id="content">		
+	<table width="95%" height="95%" border="0" cellspacing="0" cellpadding="0">
+		<tr align="center" valign="bottom">
+			<td height="24">	
+				<jsp:include page="TopicNavigation.jsp" >
+					<jsp:param name="selectedTabName" value="Subscriptions"/>
+				</jsp:include>
+			</td>
+		</tr>
+		<tr>
+		  <td colspan="5" valign="top" class="container">			
+			<h4>Name</h4>
+				<p><%=topic.getTopicName()%></p>																			
+			<h4>Subscriptions:</h4>
+			<table border="1" cellpadding="0" cellspacing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td>
+                    <h4>Subscription Name:</h4>
+                    </td>      
+                    <td>
+                    <h4>Durable:</h4>
+                    </td>                                     
+                    <td>
+                    <h4>Message Count:</h4>
+                    </td>                    
+                    <td>
+                    <h4>Message Count Delta:</h4>
+                    </td>         
+                    <td>
+                    <h4>Last Message Add Date:</h4>
+                    </td>           
+                  </tr>	
+<% for(int i = 0; i < counter.length; i++)
+{    
+	String lastModified = "N/A";
+	if (counter[i].getLastUpdate() > 0)
+	{		
+		lastModified = dateFormat.format(new Date(counter[i].getLastUpdate()));
+	}
+%>              
+                  <tr align="center">
+                  	<td align="left">&nbsp<%=counter[i].getDestinationSubscription()%>&nbsp</td>  
+                  	<td><%=counter[i].getDestinationDurable()%></td>               	
+                  	<td><%=counter[i].getDepth()%></td>    
+                  	<td><%=counter[i].getDepthDelta()%></td>	
+                  	<td><%=lastModified%></td>	
+                  </tr>
+<%}%>
+            </table>                    
+            <p align="center"><a href="<%=myUrl%>">Refresh</a></p>            					
+            <p>&nbsp;</p>
+			<p>&nbsp;</p>									              		
+		  </td>
+	    </tr>		
+	</table>  
+	<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<!-- header end -->
+<hr class="hide"/>
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/Classloaders.bsh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/Classloaders.bsh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/Classloaders.bsh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,83 @@
+import org.jboss.console.manager.interfaces.*;
+import org.jboss.console.manager.interfaces.impl.*;
+import org.jboss.console.plugins.*;
+import org.jboss.console.plugins.helpers.*;
+
+import javax.management.*;
+
+   String getVersion (PluginContext ctx)
+   {
+      return "0.0a";
+   }
+   
+   String getName (PluginContext ctx)
+   {
+      return "UCL lister";
+   }
+
+   ResourceTreeNode createUCLSubResource (PluginContext ctx, ObjectInstance instance)
+   {
+      String uclName = instance.getObjectName().getKeyProperty ("UCL");
+      TreeNodeMenuEntry[] menus = ctx.createMenus (new String[] 
+            {
+               "Before for UCL="+uclName, "before.html&ucl="+uclName,
+               null,
+               "After", "test.html"
+            });
+            
+      return ctx.createResourceNode ( 
+            "UCL " + uclName, // name
+            "UCL with id " + uclName, // description
+            "arrow.gif", // Icon URL
+            "mapage&ucl=" + uclName, // Default URL
+            menus,
+            null,
+            null,
+            instance.getObjectName().toString(),
+            instance.getClassName () );
+   }
+   
+   ResourceTreeNode[] createUCLSubResources (PluginContext ctx) 
+   {
+      ObjectInstance[] insts = 
+         ctx.getMBeansForClass("jmx.loading:*", 
+            "org.jboss.mx.loading.UnifiedClassLoader2");
+      ctx.getLogger().info("TAILLE: " + insts.length);
+      ResourceTreeNode[] result = new ResourceTreeNode[10];//[insts.length];
+      for (int i=0; i<result.length && i<10; i++)
+      {
+         ctx.getLogger().info("ELT: " + insts[i]);
+         result[i] = createUCLSubResource (ctx, insts[i]);
+      }
+      
+      return result;                  
+   }
+   
+   TreeNode getTreeForResource(ManageableResource resource,
+   PluginContext ctx)
+   {
+      try
+      {
+         TreeNodeMenuEntry[] menus = ctx.createMenus (new String[] 
+               {
+                  "Before", "before.html",
+                  null,
+                  "After", "after.html"
+               });
+
+         return ctx.createTreeNode (
+               "Unified ClassLoaders", // name
+               "Display all JBoss UCLs", // description
+               "http://localhost:8080/web-console/arrow.gif", // Icon URL
+               "http://www.jboss.org/", // Default URL
+               menus,
+               null, // sub nodes
+               createUCLSubResources (ctx)   // Sub-Resources                  
+            );            
+      }
+      catch (Exception e)
+      {
+         e.printStackTrace ();
+         return null;
+      }
+   }

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/J2EEFolder.bsh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/J2EEFolder.bsh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/J2EEFolder.bsh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+import org.jboss.console.manager.interfaces.*;
+import org.jboss.console.manager.interfaces.impl.*;
+import org.jboss.console.plugins.*;
+import org.jboss.console.plugins.helpers.*;
+
+
+   TreeNode getTreeForResource(ManageableResource resource,
+   PluginContext ctx)
+   {
+      try
+      {
+         return ctx.createResourceNode ( 
+               "J2EE", // name
+               "J2EE Management", // description
+               "images/elements32.gif", // Icon URL
+               null, // Default URL
+               null,
+               null,
+               null,
+               new SimpleFolderResource ("ROOT/J2EE")).setVisibility(ResourceTreeNode.INVISIBLE_IF_SUBNODE_EXISTS);
+      }
+      catch (Exception e)
+      {
+         e.printStackTrace ();
+         return null;
+      }
+   }

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/JNDIView.bsh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/JNDIView.bsh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/JNDIView.bsh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+import org.jboss.console.manager.interfaces.*;
+import org.jboss.console.manager.interfaces.impl.*;
+import org.jboss.console.plugins.*;
+import org.jboss.console.plugins.helpers.*;
+
+
+   TreeNode getTreeForResource(ManageableResource resource,
+   PluginContext ctx)
+   {
+      try
+      {
+         return ctx.createResourceNode (
+               "JNDIView", // name
+               "Viewer for JNDI Tree", // description
+               "images/jndiview.gif", // Icon URL
+               "JNDIView.jsp", // Default URL
+               null,
+               null,
+               null,
+               new SimpleFolderResource ("ROOT/JNDIView"));
+      }
+      catch (Exception e)
+      {
+         e.printStackTrace ();
+         return null;
+      }
+   }

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/SystemFolder.bsh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/SystemFolder.bsh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/SystemFolder.bsh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+import org.jboss.console.manager.interfaces.*;
+import org.jboss.console.manager.interfaces.impl.*;
+import org.jboss.console.plugins.*;
+import org.jboss.console.plugins.helpers.*;
+
+
+   TreeNode getTreeForResource(ManageableResource resource,
+   PluginContext ctx)
+   {
+      try
+      {
+         return ctx.createResourceNode ( 
+               "System", // name
+               "JBoss Kernel Management", // description
+               "images/settings32.gif", // Icon URL
+               "SysProperties.jsp", // Default URL
+               null,
+               null,
+               null,
+               new SimpleFolderResource ("ROOT/System"));
+      }
+      catch (Exception e)
+      {
+         e.printStackTrace ();
+         return null;
+      }
+   }

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-roles.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-roles.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-roles.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample roles.properties file for use with the UsersRolesLoginModule
+admin=JBossAdmin

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+# A sample users.properties file for use with the UsersRolesLoginModule
+admin=admin

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+ 
+<!DOCTYPE jboss-web
+    PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">
+
+<jboss-web>
+
+   <!-- Uncomment the security-domain to enable security. You will
+   need to edit the htmladaptor login configuration to setup the
+   login modules used to authentication users.
+   <security-domain>java:/jaas/web-console</security-domain>
+   -->
+
+   <!-- The war depends on the -->
+   <depends>jboss.admin:service=PluginManager</depends>
+</jboss-web>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/webconsole.tld
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/webconsole.tld	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/webconsole.tld	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE taglib
+   PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
+   "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
+   
+<taglib>
+   <tlibversion>1.0</tlibversion>
+   <jspversion>1.1</jspversion>
+   <shortname>webconsole</shortname>
+   
+   <tag>
+      <name>mbean</name>
+      <tagclass>org.jboss.console.plugins.helpers.servlet.MBeanTag</tagclass>
+      <teiclass>org.jboss.console.plugins.helpers.servlet.MBeanTagExtraInfo</teiclass>
+      <bodycontent>JSP</bodycontent>
+      <info>Returns a proxy to an MBean reading the "ObjectName" query parameter</info>
+      <attribute>
+         <name>mbean</name>
+         <required>false</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+      <attribute>
+         <name>intf</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+      <attribute>
+         <name>id</name>
+         <required>true</required>
+         <rtexprvalue>false</rtexprvalue>
+      </attribute>
+   </tag>
+   
+   <tag>
+      <name>navigation</name>
+      <tagclass>org.jboss.console.plugins.helpers.servlet.NavigationTag</tagclass>      
+      <bodycontent>JSP</bodycontent>    
+      <attribute>
+      	<name>selectedTabName</name>
+      	<required>false</required>
+      	<rtexprvalue>true</rtexprvalue>
+      </attribute>           
+   </tag>
+   
+   <tag>
+      <name>tab</name>
+      <tagclass>org.jboss.console.plugins.helpers.servlet.TabTag</tagclass>      
+      <bodycontent>JSP</bodycontent>     
+      <attribute>
+      	<name>name</name>
+      	<required>true</required>
+      	<rtexprvalue>true</rtexprvalue>
+      </attribute>       
+      <attribute>
+      	<name>href</name>      	
+      	<rtexprvalue>true</rtexprvalue>
+      </attribute>       
+      <attribute>
+      	<name>selected</name>      	
+      	<rtexprvalue>true</rtexprvalue>
+      </attribute>       
+   </tag>
+
+</taglib>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,367 @@
+<?xml version="1.0"?>
+<!DOCTYPE web-app PUBLIC
+   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+   "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+   <description>Web Admin Console</description>
+   <servlet>
+      <servlet-name>J2EEFolder</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>ScriptName</param-name>
+         <param-value>J2EEFolder.bsh</param-value>
+      </init-param>
+      <init-param>
+         <param-name>IsRootNode</param-name>
+         <param-value>true</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>SystemFolder</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>ScriptName</param-name>
+         <param-value>SystemFolder.bsh</param-value>
+      </init-param>
+      <init-param>
+         <param-name>IsRootNode</param-name>
+         <param-value>true</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>MonitorsFolder</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.MonitorLister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>IsRootNode</param-name>
+         <param-value>true</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>AOPFolder</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.AOPLister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>IsRootNode</param-name>
+         <param-value>true</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+    <servlet>
+        <servlet-name>JMS Message</servlet-name>
+        <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+        <init-param>
+            <param-name>WrapperClass</param-name>
+            <param-value>org.jboss.console.plugins.JMSLister</param-value>
+        </init-param>
+        <init-param>
+            <param-name>MBeanClass</param-name>
+            <param-value>org.jboss.management.j2ee.JMSResource</param-value>
+        </init-param>
+        <init-param>
+            <param-name>ContextName</param-name>
+            <param-value>/web-console</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+   <!--servlet>
+   <servlet-name>UCLs</servlet-name>
+   <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+   <init-param>
+   <param-name>ScriptName</param-name>
+   <param-value>Classloaders.bsh</param-value>
+   </init-param>
+   <init-param>
+   <param-name>FolderName</param-name>
+   <param-value>ROOT/System</param-value>
+   </init-param>
+   <init-param>
+   <param-name>ContextName</param-name>
+   <param-value>/web-console</param-value>
+   </init-param>
+   <load-on-startup>1</load-on-startup>
+   </servlet-->
+
+   <servlet>
+      <servlet-name>UCLs</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.UCLLister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>FolderName</param-name>
+         <param-value>ROOT/System</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>MBeans</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.MBeansLister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>FolderName</param-name>
+         <param-value>ROOT/System</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>JSR77 Domains and Servers</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.JSR77Lister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>FolderName</param-name>
+         <param-value>ROOT/J2EE</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>JSR77 EJBModules and EJBs</servlet-name>
+      <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+      <init-param>
+         <param-name>WrapperClass</param-name>
+         <param-value>org.jboss.console.plugins.EJBModuleLister</param-value>
+      </init-param>
+      <init-param>
+         <param-name>MBeanClass</param-name>
+         <param-value>org.jboss.management.j2ee.EJBModule</param-value>
+      </init-param>
+      <init-param>
+         <param-name>ContextName</param-name>
+         <param-value>/web-console</param-value>
+      </init-param>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+    <servlet>
+        <servlet-name>JSR77 J2EE Apps</servlet-name>
+        <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+        <init-param>
+            <param-name>WrapperClass</param-name>
+            <param-value>org.jboss.console.plugins.J2EEAppLister</param-value>
+        </init-param>
+        <init-param>
+            <param-name>MBeanClass</param-name>
+            <param-value>org.jboss.management.j2ee.J2EEApplication</param-value>
+        </init-param>
+        <init-param>
+            <param-name>ContextName</param-name>
+            <param-value>/web-console</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet>
+        <servlet-name>JSR77 WebModule</servlet-name>
+        <servlet-class>org.jboss.console.plugins.helpers.ServletPluginHelper</servlet-class>
+        <init-param>
+            <param-name>WrapperClass</param-name>
+            <param-value>org.jboss.console.plugins.WebModuleLister</param-value>
+        </init-param>
+        <init-param>
+            <param-name>MBeanClass</param-name>
+            <param-value>org.jboss.management.j2ee.WebModule</param-value>
+        </init-param>
+        <init-param>
+            <param-name>ContextName</param-name>
+            <param-value>/web-console</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+   <servlet>
+      <servlet-name>HTTP Invocation</servlet-name>
+      <servlet-class>org.jboss.console.remote.InvokerServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Create Snapshot</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.CreateSnapshotServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Manage Snapshot</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.ManageSnapshotServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Create Threshold Monitor</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.CreateThresholdMonitorServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Manage Threshold Monitor</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.ManageThresholdMonitorServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Create String Threshold Monitor</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.CreateStringThresholdMonitorServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Manage String Threshold Monitor</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.ManageStringThresholdMonitorServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Clear Monitor Alerts</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.ClearMonitorAlertsServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>Acknowledge Active Alarms</servlet-name>
+      <servlet-class>org.jboss.console.plugins.monitor.AcknowledgeActiveAlarmsServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+   
+  <servlet>
+    <servlet-name>Status Servlet</servlet-name>
+    <servlet-class>org.jboss.web.tomcat.service.StatusServlet</servlet-class>
+  </servlet>
+    
+  <servlet-mapping>
+    <servlet-name>Status Servlet</servlet-name>
+    <url-pattern>/status</url-pattern>
+  </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>HTTP Invocation</servlet-name>
+      <url-pattern>/Invoker/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Create Snapshot</servlet-name>
+      <url-pattern>/CreateSnapshot</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Manage Snapshot</servlet-name>
+      <url-pattern>/ManageSnapshot</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Create Threshold Monitor</servlet-name>
+      <url-pattern>/CreateThresholdMonitor</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Manage Threshold Monitor</servlet-name>
+      <url-pattern>/ManageThresholdMonitor</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Create String Threshold Monitor</servlet-name>
+      <url-pattern>/CreateStringThresholdMonitor</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Manage String Threshold Monitor</servlet-name>
+      <url-pattern>/ManageStringThresholdMonitor</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>Clear Monitor Alerts</servlet-name>
+      <url-pattern>/ClearMonitorAlerts</url-pattern>
+   </servlet-mapping>
+
+  <servlet-mapping>
+      <servlet-name>Acknowledge Active Alarms</servlet-name>
+      <url-pattern>/AcknowledgeActiveAlarms</url-pattern>
+   </servlet-mapping>
+   
+   <taglib>
+      <taglib-uri>/webconsole</taglib-uri>
+      <taglib-location>/WEB-INF/tlds/webconsole.tld</taglib-location>
+   </taglib>
+
+   <!-- A security constraint that restricts access to the HTML JMX console
+   to users with the role JBossAdmin. Edit the roles to what you want and
+   uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
+   secured access to the HTML JMX console.
+
+   <security-constraint>
+   <web-resource-collection>
+   <web-resource-name>HtmlAdaptor</web-resource-name>
+   <description>An example security config that only allows users with the
+   role JBossAdmin to access the HTML JMX console web application
+   </description>
+   <url-pattern>/*</url-pattern>
+   <http-method>GET</http-method>
+   <http-method>POST</http-method>
+   </web-resource-collection>
+   <auth-constraint>
+   <role-name>JBossAdmin</role-name>
+   </auth-constraint>
+   </security-constraint>
+   -->
+
+   <login-config>
+      <auth-method>BASIC</auth-method>
+      <realm-name>JBoss WEB Console</realm-name>
+   </login-config>
+
+   <security-role>
+      <role-name>JBossAdmin</role-name>
+   </security-role>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WebModule.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WebModule.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/WebModule.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,102 @@
+<%@ page import="javax.management.ObjectName"%>
+ <%--
+ |
+ |  Author: Sacha Labourey    (sacha at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%@ taglib uri="/webconsole" prefix="jb" %>
+<jb:mbean id="webModule" intf="org.jboss.management.j2ee.WebModuleMBean" />
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Web Module</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Web Module: '<%=new ObjectName(webModule.getobjectName()).getKeyProperty("name")%>'</h3>
+					<p>&nbsp;</p>
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center">
+                    <h4 style="text-align: center"><font size="3">Servlets</font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td width="50%" align="center" valign="top">
+                    <h4>This Web Module is composed of the following Servlets:</h4>
+                    <%
+                        String[] namesStr = webModule.getservlets();
+                        ObjectName[] names = null;
+                        if (namesStr != null) {
+                            names = new ObjectName[namesStr.length];
+                            for (int i = 0; i < namesStr.length; i++) {
+                                names[i] = new ObjectName(namesStr[i]);
+                            }
+                        }
+                        if (names != null)
+                    %>
+					<ul>
+                    <%
+                            for (int i = 0; i < names.length; i++)
+                            {
+                    %>
+						<li>
+						<p align="left"><font size="1"><b><%=names[i].getKeyProperty("name")%></b></font></p>
+						</li>
+                        <%
+                            }
+                        %>
+					</ul>
+                    <p align="left"><font size="1"><b>Number of Servlets: </b><%=(names!=null?names.length:0)%></font></p>
+                    </td>
+                  </tr>
+
+            </table>
+            <p>&nbsp;</p>
+				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
+                  <tr>
+                    <td width="50%" align="center">
+                    <h4 style="text-align: center"><font size="3">Deployment
+					Descriptor</font></h4>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td width="50%" align="left" valign="top"><pre>
+                    <%=org.jboss.console.plugins.helpers.servlet.ServletHelper.filter(webModule.getdeploymentDescriptor())%>
+                    </pre>
+                    </td>
+                  </tr>
+
+            </table>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/applet.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/applet.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/applet.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/applet.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/applet.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+<html>
+
+<head>
+</head>
+
+<body>
+
+<p>
+<applet 
+   width="100%" 
+   height="100%" 
+   code="org.jboss.console.navtree.AppletBrowser"
+   archive="applet.jar"
+   >
+   <!-- An empty refresh value disables the background refresh thread -->
+   <param name="RefreshTime" value="">
+   <param name="SessionId" value="<%=request.getSession().getId()%>">
+   <param name="PMJMXName" value="jboss.admin:service=PluginManager">
+</applet>
+</p>
+
+</body>
+
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createSnapshot.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createSnapshot.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createSnapshot.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,98 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+   String error = (String)request.getAttribute("error");
+   String attribute = request.getParameter("attribute");
+   if (attribute == null) attribute = "";
+   String monitorName = request.getParameter("monitorName");
+   if (monitorName == null) monitorName = attribute + " Snapshot";
+   String objectName = request.getParameter("objectName");
+   if (objectName == null) objectName = "";
+   String period = request.getParameter("period");
+   if (period == null) period = "";
+   String maxSize = request.getParameter("maxSize");
+   if (maxSize == null) maxSize = "";
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Create Snapshot</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Create Snapshot MBean Monitor</h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="CreateSnapshot" method="post">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>"></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=objectName%>" size="35"></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35"></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>"></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+</table>
+<input type="submit" value="Create">
+</form>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitor.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitor.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitor.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,173 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   String error = (String)request.getAttribute("error");
+   String monitorName = request.getParameter("monitorName");
+   if (monitorName == null) monitorName = "";
+   String objectName = request.getParameter("objectName");
+   if (objectName == null) objectName = "";
+   String attribute = request.getParameter("attribute");
+   if (attribute == null) attribute = "";
+   String threshold = request.getParameter("threshold");
+   if (threshold == null && objectName != null && attribute != null)
+   {
+      threshold = (String)mbeanServer.getAttribute(new ObjectName(objectName), attribute);
+   }
+   else if (threshold == null) threshold = "";
+
+   String period = request.getParameter("period");
+   if (period == null) period = "";
+   String equality = request.getParameter("equality");
+   if (equality == null) equality = "";
+   else equality = "checked";
+   String enabled = request.getParameter("enabled");
+   if (enabled == null) enabled = "";
+   else enabled = "checked";
+   String[] alertStrings = request.getParameterValues("alerts");
+   HashSet alertSet = null;
+   if (alertStrings != null)
+   {
+      alertSet = new HashSet();
+      for (int i = 0; i < alertStrings.length; i++)
+      {
+         alertSet.add(alertStrings[i]);
+      }
+   }
+
+
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Create String Threshold Monitor</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Create String Threshold MBean Monitor</h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="CreateStringThresholdMonitor" method="post">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>"></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=objectName%>" size="35"></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35"></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>"></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>"></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Equality Trigger</b></td>
+    <td><input type="checkbox" name="equality" value="" <%=equality%>></td>
+    <td><i>Uncheck this box if you want an alert to trigger when attribute changes from threshold value</i></td>
+</tr>
+<tr>
+    <td><b>Persisted</b></td>
+    <td><input type="checkbox" name="persisted" value="" checked></td>
+    <td><i>Should this monitor be created for next JBoss reboot?</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set alerts = mbeanServer.queryNames(null, queryExp);
+   if (alerts.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(alerts.size())%>" multiple>
+<%
+      Iterator it = alerts.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+         String selected = "";
+         if (alertSet != null && alertSet.contains(alert.toString())) selected = "SELECTED";
+%>
+   <option value="<%=alert.toString()%>" <%=selected%>><%=alertName%></option>
+<%
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+<input type="submit" value="Create">
+</form>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitorSummary.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitorSummary.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitorSummary.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,154 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+   String monitorName = request.getParameter("monitorName");
+   if (monitorName == null) monitorName = "";
+   String objectName = request.getParameter("objectName");
+   if (objectName == null) objectName = "";
+   String attribute = request.getParameter("attribute");
+   if (attribute == null) attribute = "";
+   String threshold = request.getParameter("threshold");
+   if (threshold == null) threshold = "";
+   String period = request.getParameter("period");
+   if (period == null) period = "";
+   String equality = request.getParameter("equality");
+   if (equality == null) equality = "";
+   else equality = "checked";
+   String enabled = request.getParameter("enabled");
+   if (enabled == null) enabled = "";
+   else enabled = "checked";
+   String[] alertStrings = request.getParameterValues("alerts");
+   HashSet alertSet = null;
+   if (alertStrings != null)
+   {
+      alertSet = new HashSet();
+      for (int i = 0; i < alertStrings.length; i++)
+      {
+         alertSet.add(alertStrings[i]);
+      }
+   }
+
+
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Create String Monitor Summary</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>String MBean Monitor Created</h3>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>" readonly></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=objectName%>" size="35" readonly></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35" readonly></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>" readonly></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>" readonly></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Equality Trigger</b></td>
+    <td><input type="checkbox" name="equality" value="" <%=equality%>></td>
+    <td><i>Uncheck this box if you want an alert to trigger when attribute changes from threshold value</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set alerts = mbeanServer.queryNames(null, queryExp);
+   if (alerts.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(alerts.size())%>" multiple readonly>
+<%
+      Iterator it = alerts.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         if (alertSet.contains(alert.toString()))
+         {
+            String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+%>
+   <option value="<%=alert.toString()%>" ><%=alertName%></option>
+<%
+         }
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+</form>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitor.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitor.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitor.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,171 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+   String error = (String)request.getAttribute("error");
+   String monitorName = request.getParameter("monitorName");
+   if (monitorName == null) monitorName = "";
+   String objectName = request.getParameter("objectName");
+   if (objectName == null) objectName = "";
+   String attribute = request.getParameter("attribute");
+   if (attribute == null) attribute = "";
+   String threshold = request.getParameter("threshold");
+   if (threshold == null) threshold = "";
+   String period = request.getParameter("period");
+   if (period == null) period = "";
+   String compare = request.getParameter("compare");
+   if (compare == null) compare = "gt";
+   String enabled = request.getParameter("enabled");
+   if (enabled == null) enabled = "";
+   String[] alertStrings = request.getParameterValues("alerts");
+   HashSet alertSet = null;
+   if (alertStrings != null)
+   {
+      alertSet = new HashSet();
+      for (int i = 0; i < alertStrings.length; i++)
+      {
+         alertSet.add(alertStrings[i]);
+      }
+   }
+
+
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Server Information</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Create Threshold MBean Monitor</h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="CreateThresholdMonitor" method="post">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>"></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=objectName%>" size="35"></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35"></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>"></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>"></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Comparison Equation</b></td>
+    <td><select name="compare" id="compare" size="1">
+        <option value="gt" <%=compare.equals("gt") ? "SELECTED" : ""%>>&gt;</option>
+        <option value="lt" <%=compare.equals("lt") ? "SELECTED" : ""%>>&lt;</option>
+        <option value="eq" <%=compare.equals("eq") ? "SELECTED" : ""%>>=</option>
+        </select>
+    </td>
+    <td><i>Boolean expression to use when testing threshold hit.</i></td>
+</tr>
+<tr>
+    <td><b>Persisted</b></td>
+    <td><input type="checkbox" name="persisted" value="" checked></td>
+    <td><i>Should this monitor be created for next JBoss reboot?</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set alerts = mbeanServer.queryNames(null, queryExp);
+   if (alerts.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(alerts.size())%>" multiple>
+<%
+      Iterator it = alerts.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+         String selected = "";
+         if (alertSet != null && alertSet.contains(alert.toString())) selected = "SELECTED";
+%>
+   <option value="<%=alert.toString()%>" <%=selected%>><%=alertName%></option>
+<%
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+<input type="submit" value="Create">
+</form>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitorSummary.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitorSummary.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitorSummary.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,157 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+   String monitorName = request.getParameter("monitorName");
+   if (monitorName == null) monitorName = "";
+   String objectName = request.getParameter("objectName");
+   if (objectName == null) objectName = "";
+   String attribute = request.getParameter("attribute");
+   if (attribute == null) attribute = "";
+   String threshold = request.getParameter("threshold");
+   if (threshold == null) threshold = "";
+   String period = request.getParameter("period");
+   if (period == null) period = "";
+   String compare = request.getParameter("compare");
+   if (compare == null) compare = "gt";
+   String enabled = request.getParameter("enabled");
+   if (enabled == null) enabled = "";
+   String[] alertStrings = request.getParameterValues("alerts");
+   HashSet alertSet = null;
+   if (alertStrings != null)
+   {
+      alertSet = new HashSet();
+      for (int i = 0; i < alertStrings.length; i++)
+      {
+         alertSet.add(alertStrings[i]);
+      }
+   }
+
+
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Server Information</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Threshold MBean Monitor Created</h3>
+					<p>&nbsp;</p>
+					<p>&nbsp;</p>
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>" readonly></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=objectName%>" size="35" readonly></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35" readonly></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>" readonly></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>" readonly></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Comparison Equation</b></td>
+    <td><select name="compare" id="compare" size="1">
+        <option value="gt" <%=compare.equals("gt") ? "SELECTED" : ""%>>&gt;</option>
+        <option value="lt" <%=compare.equals("lt") ? "SELECTED" : ""%>>&lt;</option>
+        <option value="eq" <%=compare.equals("eq") ? "SELECTED" : ""%>>=</option>
+        </select>
+    </td>
+    <td><i>Boolean expression to use when testing threshold hit.</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set alerts = mbeanServer.queryNames(null, queryExp);
+   if (alerts.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(alerts.size())%>" multiple readonly>
+<%
+      Iterator it = alerts.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         if (alertSet.contains(alert.toString()))
+         {
+            String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+%>
+   <option value="<%=alert.toString()%>" ><%=alertName%></option>
+<%
+         }
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+</form>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/css/dtree.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/css/dtree.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/css/dtree.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+/*--------------------------------------------------|
+| dTree 2.05 | www.destroydrop.com/javascript/tree/ |
+|---------------------------------------------------|
+| Copyright (c) 2002-2003 Geir Landrö               |
+|--------------------------------------------------*/
+
+.dtree {
+	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+	color: #666;
+	white-space: nowrap;
+}
+.dtree img {
+	border: 0px;
+	vertical-align: middle;
+}
+.dtree a {
+	color: #333;
+	text-decoration: none;
+}
+.dtree a.node, .dtree a.nodeSel {
+	white-space: nowrap;
+	padding: 1px 2px 1px 2px;
+}
+.dtree a.node:hover, .dtree a.nodeSel:hover {
+	color: #333;
+	text-decoration: underline;
+}
+.dtree a.nodeSel {
+	background-color: #c0d2ec;
+}
+.dtree .clip {
+	overflow: hidden;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/css/jboss.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/css/jboss.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/css/jboss.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,229 @@
+body {
+	margin: 13px 0px 10px 0px;
+	background-color: #ffffff;
+	font-size: 10px;
+	font-family: verdana, arial, "sans-serif";
+	color: #606060;
+	}
+img {
+	border: 0px;
+	}
+#header {
+	background-color: #003D6E;
+	width: 100%;
+	height: 80px
+	}
+#header #banner {
+	float: right;
+	margin: 8px 5px 0px 0px;
+	}
+#logo {
+	position: absolute;
+	top: 2px;
+	left: 4px;
+	z-index: 200;
+}
+#navigation_bar {
+	background-color: #f0f0f0;
+	border-bottom: 1px dotted #999999;
+	height: 20px;
+	}
+#items {
+	font-size: 12px;
+	width: 600px;
+	margin: 5px 5px 5px 170px;
+	position: relative;
+	z-index: 300;
+	}
+#items .item {
+	margin-right: 10px;
+	}
+.side_block {
+	margin: 15px 5px 10px 5px;
+	background-color: #fbfbfb;
+	border: 1px solid #f0f0f0;
+	}
+.side_block h3 {
+	font-size: 11px;
+	font-weight: 100;
+	width: 100%;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 10x;
+	background-color: #f0f0f0;
+	}
+.side_block h4 {
+	font-size: 11px;
+	color: #003D6E;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+	}
+.side_block p {
+	margin: 5px 5px 3px 5px;
+	}
+.side_block form {
+	margin: 0px 0px 0px 5px;
+	}
+.side_block #login {
+	font-size: 9px;
+	}
+.side_block p img {
+	text-align: center;
+	}
+#content {
+	width: 90%; 
+	margin: 10px auto;
+	}
+#left {
+	float: left;
+	width: 14%;
+	}
+#right {
+	float: right;
+	width: 14%;
+	}
+.content_block {
+	text-align: justify;
+	border: 1px solid #999999;
+	margin: 5px;
+	width: 31%;
+	float: left;
+	}
+.content_block p {
+	margin: 0px 5px 3px 5px;
+	}
+.content_block h3 {
+	font-size: 11px;
+	font-weight: bold;
+	color: #000000;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 4x;
+	text-align: center;
+	background-color: #f0f0f0;
+	border-bottom: 1px solid #999999
+	}
+.content_block h4 {
+	font-size: 11px;
+	color: #003D6E;
+	text-align: left;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+	}
+#footer {
+	clear: both;
+	border-top: 1px dotted #999999;
+	}
+#credits {
+	background-color: #f0f0f0;
+	padding: 5px;
+	text-align: center;
+	}
+#footer_bar {
+	height: 20px;
+	width: 100%;
+	background-color: #003D6E;
+	}
+.hide {
+	display: none;
+	}
+.spacer {
+	clear: both;
+	}
+.spacer hr {
+	display: none;
+	}
+.center {
+	text-align: center;
+	}
+#youcandoit {
+	background-image: url('youcandoit.jpg');
+	background-repeat: repeat-x;
+	height: 165px;
+	margin: 0px 30px;
+	}
+.data_table {
+	font-size: 10px;
+	font-family: verdana, arial, "sans-serif";
+	margin: 5px;
+	border-collapse: collapse;	
+}
+.data_table h2 {
+	font-size: 11px;	
+	margin: 5px 5px 5px 5px;
+	text-align: center
+}
+.data_table h4 {
+	font-size: 11px;
+	color: #003D6E;
+	margin: 5px 5px 5px 5px;
+	text-align: center
+}
+
+.container {
+	border-top-width: 0px;
+	border-right: 1px solid #CCCCCC;
+	border-left: 1px solid #CCCCCC;
+	border-bottom: 1px solid #CCCCCC;
+	text-align: justify;	
+	margin: 5px;
+	float: left;
+}
+
+.container p {
+	font-size: 10px;
+	font-family: verdana, arial, "sans-serif";
+	margin: 0px 5px 3px 5px;	
+}
+	
+.container h3 {
+	font-size: 11px;
+	font-weight: bold;
+	color: #000000;
+	margin: 0px 0px 5px 0px;
+	padding: 4px 4px 4px 4x;
+	text-align: center;
+	background-color: #f0f0f0;
+	border-bottom: 1px solid #999999
+}
+
+.container h4 {
+	font-size: 11px;
+	color: #003D6E;
+	text-align: left;
+	font-weight: bold;
+	margin: 10px 5px 4px 5px;
+}
+	
+.tabSpacer {
+	border-bottom: 1px solid #CCCCCC;
+}
+.tabSpacer p {
+	margin: 0px;
+}
+.tab {
+	border-top: 1px solid #CCCCCC;
+	border-right: 1px solid #CCCCCC;
+	border-left: 1px solid #CCCCCC;
+}
+.tabOff {
+	border-top: 1px solid #CCCCCC;
+	border-right: 1px solid #CCCCCC;
+	border-left: 1px solid #CCCCCC;
+	border-bottom: 1px solid #CCCCCC;
+	background-color: #F0F0F0;	
+}
+
+.tab p, .tabOff p {
+	padding: 6px 8px;
+	margin: 0px;
+	font-size: 11px;
+	font-weight: bold;
+
+}
+
+.tab p a, .tabOff p a {
+	text-decoration: none;
+	color: #000000;
+}
+.tab p a:hover, .tabOff p a:hover {
+	color: #666666;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/dtree.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/dtree.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/dtree.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,347 @@
+/*--------------------------------------------------|
+| dTree 2.05 | www.destroydrop.com/javascript/tree/ |
+|---------------------------------------------------|
+| Copyright (c) 2002-2003 Geir Landrö               |
+|                                                   |
+| This script can be used freely as long as all     |
+| copyright messages are intact.                    |
+|                                                   |
+| Updated: 17.04.2003                               |
+|--------------------------------------------------*/
+
+// Node object
+function Node(id, pid, name, url, title, target, icon, iconOpen, open) {
+	this.id = id;
+	this.pid = pid;
+	this.name = name;
+	this.url = url;
+	this.title = title;
+	this.target = target;
+	this.icon = icon;
+	this.iconOpen = iconOpen;
+	this._io = open || false;
+	this._is = false;
+	this._ls = false;
+	this._hc = false;
+	this._ai = 0;
+	this._p;
+};
+
+// Tree object
+function dTree(objName) {
+	this.config = {
+		target					: null,
+		folderLinks			: true,
+		useSelection		: true,
+		useCookies			: true,
+		useLines				: true,
+		useIcons				: true,
+		useStatusText		: false,
+		closeSameLevel	: false,
+		inOrder					: false
+	}
+	this.icon = {
+		root				: 'img/base.gif',
+		folder			: 'img/folder.gif',
+		folderOpen	: 'img/folderopen.gif',
+		node				: 'img/page.gif',
+		empty				: 'img/empty.gif',
+		line				: 'img/line.gif',
+		join				: 'img/join.gif',
+		joinBottom	: 'img/joinbottom.gif',
+		plus				: 'img/plus.gif',
+		plusBottom	: 'img/plusbottom.gif',
+		minus				: 'img/minus.gif',
+		minusBottom	: 'img/minusbottom.gif',
+		nlPlus			: 'img/nolines_plus.gif',
+		nlMinus			: 'img/nolines_minus.gif'
+	};
+	this.obj = objName;
+	this.aNodes = [];
+	this.aIndent = [];
+	this.root = new Node(-1);
+	this.selectedNode = null;
+	this.selectedFound = false;
+	this.completed = false;
+};
+
+// Adds a new node to the node array
+dTree.prototype.add = function(id, pid, name, url, title, target, icon, iconOpen, open) {
+	this.aNodes[this.aNodes.length] = new Node(id, pid, name, url, title, target, icon, iconOpen, open);
+};
+
+// Open/close all nodes
+dTree.prototype.openAll = function() {
+	this.oAll(true);
+};
+dTree.prototype.closeAll = function() {
+	this.oAll(false);
+};
+
+// Outputs the tree to the page
+dTree.prototype.toString = function() {
+	var str = '<div class="dtree">\n';
+	if (document.getElementById) {
+		if (this.config.useCookies) this.selectedNode = this.getSelected();
+		str += this.addNode(this.root);
+	} else str += 'Browser not supported.';
+	str += '</div>';
+	if (!this.selectedFound) this.selectedNode = null;
+	this.completed = true;
+	return str;
+};
+
+// Creates the tree structure
+dTree.prototype.addNode = function(pNode) {
+	var str = '';
+	var n=0;
+	if (this.config.inOrder) n = pNode._ai;
+	for (n; n<this.aNodes.length; n++) {
+		if (this.aNodes[n].pid == pNode.id) {
+			var cn = this.aNodes[n];
+			cn._p = pNode;
+			cn._ai = n;
+			this.setCS(cn);
+			if (!cn.target && this.config.target) cn.target = this.config.target;
+			if (cn._hc && !cn._io && this.config.useCookies) cn._io = this.isOpen(cn.id);
+			if (!this.config.folderLinks && cn._hc) cn.url = null;
+			if (this.config.useSelection && cn.id == this.selectedNode && !this.selectedFound) {
+					cn._is = true;
+					this.selectedNode = n;
+					this.selectedFound = true;
+			}
+			str += this.node(cn, n);
+			if (cn._ls) break;
+		}
+	}
+	return str;
+};
+
+// Creates the node icon, url and text
+dTree.prototype.node = function(node, nodeId) {
+	var str = '<div class="dTreeNode">' + this.indent(node, nodeId);
+	if (this.config.useIcons) {
+		if (!node.icon) node.icon = (this.root.id == node.pid) ? this.icon.root : ((node._hc) ? this.icon.folder : this.icon.node);
+		if (!node.iconOpen) node.iconOpen = (node._hc) ? this.icon.folderOpen : this.icon.node;
+		if (this.root.id == node.pid) {
+			node.icon = this.icon.root;
+			node.iconOpen = this.icon.root;
+		}
+		str += '<img id="i' + this.obj + nodeId + '" src="' + ((node._io) ? node.iconOpen : node.icon) + '" alt="" />';
+	}
+	if (node.url) {
+		str += '<a id="s' + this.obj + nodeId + '" class="' + ((this.config.useSelection) ? ((node._is ? 'nodeSel' : 'node')) : 'node') + '" href="' + node.url + '"';
+		if (node.title) str += ' title="' + node.title + '"';
+		if (node.target) str += ' target="' + node.target + '"';
+		if (this.config.useStatusText) str += ' onmouseover="window.status=\'' + node.name + '\';return true;" onmouseout="window.status=\'\';return true;" ';
+		if (this.config.useSelection && ((node._hc && this.config.folderLinks) || !node._hc))
+			str += ' onclick="javascript: ' + this.obj + '.s(' + nodeId + ');"';
+		str += '>';
+	}
+	else if ((!this.config.folderLinks || !node.url) && node._hc && node.pid != this.root.id)
+		str += '<a href="javascript: ' + this.obj + '.o(' + nodeId + ');" class="node">';
+	str += node.name;
+	if (node.url || ((!this.config.folderLinks || !node.url) && node._hc)) str += '</a>';
+	str += '</div>';
+	if (node._hc) {
+		str += '<div id="d' + this.obj + nodeId + '" class="clip" style="display:' + ((this.root.id == node.pid || node._io) ? 'block' : 'none') + ';">';
+		str += this.addNode(node);
+		str += '</div>';
+	}
+	this.aIndent.pop();
+	return str;
+};
+
+// Adds the empty and line icons
+dTree.prototype.indent = function(node, nodeId) {
+	var str = '';
+	if (this.root.id != node.pid) {
+		for (var n=0; n<this.aIndent.length; n++)
+			str += '<img src="' + ( (this.aIndent[n] == 1 && this.config.useLines) ? this.icon.line : this.icon.empty ) + '" alt="" />';
+		(node._ls) ? this.aIndent.push(0) : this.aIndent.push(1);
+		if (node._hc) {
+			str += '<a href="javascript: ' + this.obj + '.o(' + nodeId + ');"><img id="j' + this.obj + nodeId + '" src="';
+			if (!this.config.useLines) str += (node._io) ? this.icon.nlMinus : this.icon.nlPlus;
+			else str += ( (node._io) ? ((node._ls && this.config.useLines) ? this.icon.minusBottom : this.icon.minus) : ((node._ls && this.config.useLines) ? this.icon.plusBottom : this.icon.plus ) );
+			str += '" alt="" /></a>';
+		} else str += '<img src="' + ( (this.config.useLines) ? ((node._ls) ? this.icon.joinBottom : this.icon.join ) : this.icon.empty) + '" alt="" />';
+	}
+	return str;
+};
+
+// Checks if a node has any children and if it is the last sibling
+dTree.prototype.setCS = function(node) {
+	var lastId;
+	for (var n=0; n<this.aNodes.length; n++) {
+		if (this.aNodes[n].pid == node.id) node._hc = true;
+		if (this.aNodes[n].pid == node.pid) lastId = this.aNodes[n].id;
+	}
+	if (lastId==node.id) node._ls = true;
+};
+
+// Returns the selected node
+dTree.prototype.getSelected = function() {
+	var sn = this.getCookie('cs' + this.obj);
+	return (sn) ? sn : null;
+};
+
+// Highlights the selected node
+dTree.prototype.s = function(id) {
+	if (!this.config.useSelection) return;
+	var cn = this.aNodes[id];
+	if (cn._hc && !this.config.folderLinks) return;
+	if (this.selectedNode != id) {
+		if (this.selectedNode || this.selectedNode==0) {
+			eOld = document.getElementById("s" + this.obj + this.selectedNode);
+			eOld.className = "node";
+		}
+		eNew = document.getElementById("s" + this.obj + id);
+		eNew.className = "nodeSel";
+		this.selectedNode = id;
+		if (this.config.useCookies) this.setCookie('cs' + this.obj, cn.id);
+	}
+};
+
+// Toggle Open or close
+dTree.prototype.o = function(id) {
+	var cn = this.aNodes[id];
+	this.nodeStatus(!cn._io, id, cn._ls);
+	cn._io = !cn._io;
+	if (this.config.closeSameLevel) this.closeLevel(cn);
+	if (this.config.useCookies) this.updateCookie();
+};
+
+// Open or close all nodes
+dTree.prototype.oAll = function(status) {
+	for (var n=0; n<this.aNodes.length; n++) {
+		if (this.aNodes[n]._hc && this.aNodes[n].pid != this.root.id) {
+			this.nodeStatus(status, n, this.aNodes[n]._ls)
+			this.aNodes[n]._io = status;
+		}
+	}
+	if (this.config.useCookies) this.updateCookie();
+};
+
+// Opens the tree to a specific node
+dTree.prototype.openTo = function(nId, bSelect, bFirst) {
+	if (!bFirst) {
+		for (var n=0; n<this.aNodes.length; n++) {
+			if (this.aNodes[n].id == nId) {
+				nId=n;
+				break;
+			}
+		}
+	}
+	var cn=this.aNodes[nId];
+	if (cn.pid==this.root.id || !cn._p) return;
+	cn._io = true;
+	cn._is = bSelect;
+	if (this.completed && cn._hc) this.nodeStatus(true, cn._ai, cn._ls);
+	if (this.completed && bSelect) this.s(cn._ai);
+	else if (bSelect) this._sn=cn._ai;
+	this.openTo(cn._p._ai, false, true);
+};
+
+// Closes all nodes on the same level as certain node
+dTree.prototype.closeLevel = function(node) {
+	for (var n=0; n<this.aNodes.length; n++) {
+		if (this.aNodes[n].pid == node.pid && this.aNodes[n].id != node.id && this.aNodes[n]._hc) {
+			this.nodeStatus(false, n, this.aNodes[n]._ls);
+			this.aNodes[n]._io = false;
+			this.closeAllChildren(this.aNodes[n]);
+		}
+	}
+}
+
+// Closes all children of a node
+dTree.prototype.closeAllChildren = function(node) {
+	for (var n=0; n<this.aNodes.length; n++) {
+		if (this.aNodes[n].pid == node.id && this.aNodes[n]._hc) {
+			if (this.aNodes[n]._io) this.nodeStatus(false, n, this.aNodes[n]._ls);
+			this.aNodes[n]._io = false;
+			this.closeAllChildren(this.aNodes[n]);		
+		}
+	}
+}
+
+// Change the status of a node(open or closed)
+dTree.prototype.nodeStatus = function(status, id, bottom) {
+	eDiv	= document.getElementById('d' + this.obj + id);
+	eJoin	= document.getElementById('j' + this.obj + id);
+	if (this.config.useIcons) {
+		eIcon	= document.getElementById('i' + this.obj + id);
+		eIcon.src = (status) ? this.aNodes[id].iconOpen : this.aNodes[id].icon;
+	}
+	eJoin.src = (this.config.useLines)?
+	((status)?((bottom)?this.icon.minusBottom:this.icon.minus):((bottom)?this.icon.plusBottom:this.icon.plus)):
+	((status)?this.icon.nlMinus:this.icon.nlPlus);
+	eDiv.style.display = (status) ? 'block': 'none';
+};
+
+
+// [Cookie] Clears a cookie
+dTree.prototype.clearCookie = function() {
+	var now = new Date();
+	var yesterday = new Date(now.getTime() - 1000 * 60 * 60 * 24);
+	this.setCookie('co'+this.obj, 'cookieValue', yesterday);
+	this.setCookie('cs'+this.obj, 'cookieValue', yesterday);
+};
+
+// [Cookie] Sets value in a cookie
+dTree.prototype.setCookie = function(cookieName, cookieValue, expires, path, domain, secure) {
+	document.cookie =
+		escape(cookieName) + '=' + escape(cookieValue)
+		+ (expires ? '; expires=' + expires.toGMTString() : '')
+		+ (path ? '; path=' + path : '')
+		+ (domain ? '; domain=' + domain : '')
+		+ (secure ? '; secure' : '');
+};
+
+// [Cookie] Gets a value from a cookie
+dTree.prototype.getCookie = function(cookieName) {
+	var cookieValue = '';
+	var posName = document.cookie.indexOf(escape(cookieName) + '=');
+	if (posName != -1) {
+		var posValue = posName + (escape(cookieName) + '=').length;
+		var endPos = document.cookie.indexOf(';', posValue);
+		if (endPos != -1) cookieValue = unescape(document.cookie.substring(posValue, endPos));
+		else cookieValue = unescape(document.cookie.substring(posValue));
+	}
+	return (cookieValue);
+};
+
+// [Cookie] Returns ids of open nodes as a string
+dTree.prototype.updateCookie = function() {
+	var str = '';
+	for (var n=0; n<this.aNodes.length; n++) {
+		if (this.aNodes[n]._io && this.aNodes[n].pid != this.root.id) {
+			if (str) str += '.';
+			str += this.aNodes[n].id;
+		}
+	}
+	this.setCookie('co' + this.obj, str);
+};
+
+// [Cookie] Checks if a node id is in a cookie
+dTree.prototype.isOpen = function(id) {
+	var aOpen = this.getCookie('co' + this.obj).split('.');
+	for (var n=0; n<aOpen.length; n++)
+		if (aOpen[n] == id) return true;
+	return false;
+};
+
+// If Push and pop is not implemented by the browser
+if (!Array.prototype.push) {
+	Array.prototype.push = function array_push() {
+		for(var i=0;i<arguments.length;i++)
+			this[this.length]=arguments[i];
+		return this.length;
+	}
+};
+if (!Array.prototype.pop) {
+	Array.prototype.pop = function array_pop() {
+		lastElement = this[this.length-1];
+		this.length = Math.max(this.length-1,0);
+		return lastElement;
+	}
+};
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/EspressoMaker.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/EspressoMaker.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/bean.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/bean.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/beans.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/beans.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/card.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/card.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/container.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/container.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/database.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/database.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/elements32.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/elements32.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/flash.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/flash.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/jboss.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/jboss.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/jndiview.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/jndiview.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/otherimages.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/otherimages.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/recycle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/recycle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/rubiks.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/rubiks.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/server.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/server.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/service.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/service.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/serviceset.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/serviceset.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/servinghand.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/servinghand.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/settings32.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/settings32.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/smallnet.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/smallnet.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/spirale.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/spirale.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/spirale32.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/spirale32.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/starfolder.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/images/starfolder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/base.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/base.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/cd.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/cd.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/empty.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/empty.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/folder.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/folder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/folderopen.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/folderopen.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/globe.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/globe.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/imgfolder.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/imgfolder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/join.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/join.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/joinbottom.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/joinbottom.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/line.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/line.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/minus.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/minus.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/minusbottom.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/minusbottom.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/musicfolder.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/musicfolder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/nolines_minus.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/nolines_minus.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/nolines_plus.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/nolines_plus.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/page.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/page.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/plus.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/plus.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/plusbottom.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/plusbottom.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/question.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/question.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/trash.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/img/trash.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/index.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/index.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/index.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,19 @@
+<html>
+
+<head>
+<title>Administration Console</title>
+</head>
+
+<frameset cols="30%,*">
+  <frame id="left" name="left" src="applet.jsp" scrolling="no" marginwidth="0" marginheight="0" style="padding-left: 8; padding-right: 0; padding-top: 8; padding-bottom: 0">
+  <frame id="right" name="right" src="ServerInfo.jsp" >
+  <noframes>
+  <body>
+
+  <p>Please use a frame-capable browser.</p>
+
+  </body>
+  </noframes>
+</frameset>
+
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/listActiveAlarmTable.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/listActiveAlarmTable.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/listActiveAlarmTable.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,175 @@
+<%@ page import="
+java.net.URLEncoder,
+java.util.Map,
+javax.management.MBeanServer,
+javax.management.ObjectName,
+javax.management.Notification,
+org.jboss.util.Strings,
+org.jboss.mx.util.MBeanServerLocator,
+org.jboss.monitor.alarm.Alarm,
+org.jboss.monitor.alarm.AlarmHelper,
+org.jboss.monitor.alarm.AlarmNotification,
+org.jboss.monitor.alarm.AlarmTableNotification,
+org.jboss.monitor.services.ActiveAlarmTableMBean
+"%>
+ <%--
+ | Show the ActiveAlarmTable
+ |
+ | Author: Dimitris Andreadis (dimitris at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+try
+{
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+   <title>JBoss Management Console - Active Alarm Table</title>
+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+   <link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+
+<body>
+<!-- header begin -->
+   <img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+   <div id="header">&nbsp;</div>
+   <div id="navigation_bar"/>
+<!-- header end -->
+<hr class="hide"/>
+   <center>
+   <div id="content">
+      <div class="content_block" style="width: 100%; height: 247">
+         <h3>Active Alarm Table</h3>
+<%
+   MBeanServer server = MBeanServerLocator.locateJBoss();
+   ObjectName target = ActiveAlarmTableMBean.OBJECT_NAME;
+   AlarmTableNotification[] altab = (AlarmTableNotification[])server.invoke(target, "fetchAlarmTable", new Object[] {}, new String[] {});
+
+   // get some statistics from the table
+   Map stats = AlarmHelper.getAlarmTableNotificationStats(altab);
+   Integer stateCleared = (Integer)stats.get(AlarmHelper.getStateAsString(Alarm.STATE_CLEARED));
+   Integer stateChanged = (Integer)stats.get(AlarmHelper.getStateAsString(Alarm.STATE_CHANGED));
+   Integer stateCreated = (Integer)stats.get(AlarmHelper.getStateAsString(Alarm.STATE_CREATED));
+   Integer stateNone    = (Integer)stats.get(AlarmHelper.getStateAsString(Alarm.STATE_NONE));
+   Integer severityNormal   = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_NORMAL));
+   Integer severityWarning  = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_WARNING));
+   Integer severityMinor    = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_MINOR));
+   Integer severityMajor    = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_MAJOR));
+   Integer severityCritical = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_CRITICAL));
+   Integer severityUnknown  = (Integer)stats.get(AlarmHelper.getSeverityAsString(Alarm.SEVERITY_UNKNOWN));
+   int statefullCount = altab.length - stateNone.intValue();
+%>
+<p>&nbsp;</p>
+<center>
+   Alarm Count: <%=altab.length%><br>
+   (Stateless: <%=stateNone%>, Statefull: <%=statefullCount%>)<br><br>
+   <table class="data_table">
+   <tr>
+      <th width="50%" align="left">Alarm State</th>
+      <th width="50%" align="left">Alarm Severity</th>
+   </tr>
+   <tr>
+      <td>
+      NONE: <%=stateNone%><br>
+      CREATED: <%=stateCreated%><br>
+      CHANGED: <%=stateChanged%><br>
+      CLEARED: <%=stateCleared%>
+      </td>
+      <td>
+      UNKNOWN: <%=severityUnknown%><br>
+      CRITICAL: <%=severityCritical%><br>
+      MAJOR: <%=severityMajor%><br>
+      MINOR: <%=severityMinor%><br>
+      WARNING: <%=severityWarning%><br>
+      NORMAL: <%=severityNormal%>
+      </td>
+   </tr>
+   </table>
+ <form action="listActiveAlarmTable.jsp" method="post" align="middle">
+   <input type="submit" name="action" value="Refresh Table">
+</form>
+</center>
+<table class="data_table" cellspacing="2" cellpadding="2" border="1" >
+<tr>
+   <th width="150">AlarmInfo</th>
+   <th>NotificationInfo</th>
+</tr>
+<%
+   for (int i = 0; i < altab.length; i++)
+   {
+      AlarmTableNotification atn = altab[i];
+
+      String alarmId = atn.getAlarmId();
+      String severity = AlarmHelper.getSeverityAsString(atn.getSeverity());
+      String alarmState = AlarmHelper.getStateAsString(atn.getAlarmState());
+      boolean ackState = atn.getAckState();
+      long ackTime = atn.getAckTime();
+      String ackUser = atn.getAckUser();
+      String ackSystem = atn.getAckSystem();
+
+      Notification n = (Notification)atn.getUserData();
+      Object source = AlarmNotification.getEffectiveSource(n);
+      String sourceLink = "/jmx-console/HtmlAdaptor?action=inspectMBean&name=" + URLEncoder.encode(source.toString());
+      String type = n.getType();
+      long timeStamp = n.getTimeStamp();
+      long sequenceNumber = n.getSequenceNumber();
+      String message = (n.getMessage() != null) ? Strings.subst("\n", "<br>", n.getMessage()) : "null";
+      String userData = (n.getUserData() != null) ? Strings.subst("\n", "<br>", n.getUserData().toString()) : "null";
+%>
+<tr>
+   <td>
+      alarmId: <font color="navy"><%=alarmId%></font><br><br>
+      severity: <font color="fuchsia"><%=severity%></font><br>
+      alarmState: <font color="fuchsia"><%=alarmState%></font><br><br>
+      ackState: <font color="navy"><%=ackState%></font><br><br>
+      actTime: <font color="navy"><%=ackTime%></font><br>
+      ackUser: <font color="navy"><%=ackUser%></font><br>
+      ackSystem: <font color="navy"><%=ackSystem%></font>
+      <form action="AcknowledgeActiveAlarms" method="post">
+         <input type="hidden" name="alarmId" value="<%=alarmId%>">
+         <input type="submit" name="action" value="Ack">
+      </form>
+   </td>
+   <td>
+      source: <a href="<%=sourceLink%>"><%=source%></a><br>
+      type: <font color="navy"><%=type%></font><br>
+      timeStamp: <font color="navy"><%=timeStamp%></font><br>
+      sequenceNumber: <font color="navy"><%=sequenceNumber%></font><br><br>
+      message: <font color="navy"><%=message%></font><br><br>
+      userData: <font color="navy"><%=userData%></font>
+   </td>
+</tr>
+<% 
+   }
+%>
+</table>
+<form action="AcknowledgeActiveAlarms" method="post">
+   <input type="hidden" name="alarmId" value="*">
+   <input type="submit" name="action" value="Acknowledge All Alarms">
+</form>
+<%
+}
+catch (Exception ex)
+{
+   %> ERROR in parsing <%
+   ex.printStackTrace();
+}
+%>
+      </div>
+   <div class="spacer"><hr/></div>
+   </div>
+</center>
+<!-- content end -->
+<hr class="hide"/>
+<!-- footer begin -->
+<div id="footer">
+   <div id="credits">JBoss&trade; Management Console</div>
+   <div id="footer_bar">&nbsp;</div>
+</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/listMonitors.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/listMonitors.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/listMonitors.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,142 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet,
+                 java.util.ArrayList"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+try
+{
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Manage Monitor</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Monitors and Monitor Status</h3>
+					<p>&nbsp;</p>
+<table cellspacing="2" cellpadding="2" border="1">
+<tr>
+    <td><b>Status</b></td>
+    <td><b>Monitor Name</b></td>
+    <td><b>Observed MBean</b></td>
+    <td><b>Observed Attribute</b></td>
+    <td>&nbsp;</td>
+</tr>
+<%
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.JBossMonitorMBean");
+   Set monitors = mbeanServer.queryNames(null, queryExp);
+   Iterator mbeans = monitors.iterator();
+   boolean someAlertSet = false;
+   while (mbeans.hasNext())
+   {
+      ObjectName moname = (ObjectName)mbeans.next();
+      String monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName");
+      ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject");
+      String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute");
+      boolean enabled = ((Boolean)mbeanServer.getAttribute(moname, "Enabled")).booleanValue();
+
+      Object[] args = {"monitors", monitorName, "-service.xml"};
+      String[] signature = {"java.lang.String", "java.lang.String", "java.lang.String"};
+      Object rtn = mbeanServer.invoke(new ObjectName("jboss.admin:service=DeploymentFileRepository"), "isStored", args, signature);
+      boolean persisted = ((Boolean)rtn).booleanValue();
+
+      Object[] nullArgs = {};
+      String[] nullSig = {};
+      boolean alerted = ((Boolean)mbeanServer.invoke(moname, "alerted", nullArgs, nullSig)).booleanValue();
+      if (alerted) someAlertSet = true;
+      String color = "black";
+      if (!enabled) color = "grey";
+      String status = "";
+      if (alerted)
+      {
+         status = "<font color=\"red\">ALERT</font>";
+      }
+      else if (!enabled)
+      {
+         status = "<font color=\"grey\"><i>disabled</i></font>";
+      }
+      else
+      {
+         status = "<font color=\"green\">OK</font>";
+      }
+      String link = null;
+      if (persisted)
+      {
+         link = "manageThresholdMonitor.jsp?monitorObjectName=" + java.net.URLEncoder.encode(moname.toString());
+      }
+      else
+      {
+         link = "/jmx-console/HtmlAdaptor?action=inspectMBean&name=" + java.net.URLEncoder.encode(moname.toString());
+      }
+      String observedMbeanLink = "/jmx-console/HtmlAdaptor?action=inspectMBean&name=" + java.net.URLEncoder.encode(observedObject.toString());
+%>
+<tr>
+    <td><%=status%></td>
+    <td><font color="<%=color%>"><%=monitorName%></font></td>
+    <td><font color="<%=color%>"><a href="<%=observedMbeanLink%>"><%=observedObject.toString()%></a></font></td>
+    <td><font color="<%=color%>"><%=attribute%></font></td>
+    <td><a href="<%=link%>">manage</a></td>
+</tr>
+<%
+   }
+   %>
+</table>
+<%
+   if (someAlertSet)
+   {
+%>
+<form action="ClearMonitorAlerts" method="post">
+<input type="submit" name="action" value="Clear All Alerts">
+</form>
+<%
+   }
+}
+catch (Exception ex)
+{
+   %> ERROR in parsing <%
+   ex.printStackTrace();
+}
+%>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageSnapshot.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageSnapshot.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageSnapshot.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,132 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet,
+                 java.util.ArrayList"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+try
+{
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   String error = (String)request.getAttribute("error");
+   ObjectName moname = null;
+   String monitorName = null;
+   String monitorObjectName = request.getParameter("monitorObjectName");
+   /*
+   if (monitorObjectName == null) // if we're being routed via
+   {
+      monitorName = (String)request.getAttribute("monitorName");
+      moname = new ObjectName("jboss.snapshot:name=" + monitorName);
+   }
+   */
+   moname = new ObjectName(monitorObjectName);
+   monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName");
+   ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject");
+   String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute");
+   Long period = (Long)mbeanServer.getAttribute(moname, "Period");
+   boolean recording = ((Boolean)mbeanServer.getAttribute(moname, "Recording")).booleanValue();
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Manage Snapshot</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3>Manage Snapshot</h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="ManageSnapshot" method="post">
+<input type="hidden" name="monitorObjectName" value="<%=moname.toString()%>">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>" readonly></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Monitor's Object Name</b></td>
+    <td><input type="text" name="monitorObjectName" size="35" value="<%=monitorObjectName%>" readonly></td>
+    <td><i>The MBean javax.management.ObjectName</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=observedObject.toString()%>" size="35" readonly></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35" readonly></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>" readonly></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+</table>
+<% if (recording)
+   {
+%>
+<input type="submit" name="action" value="Stop Snapshot">
+<% }  else {%>
+<input type="submit" name="action" value="Start Snapshot">
+<% } %>
+<input type="submit" name="action" value="Graph Dataset">
+<input type="submit" name="action" value="Clear Dataset">
+<input type="submit" name="action" value="Show Dataset">
+<input type="submit" name="action" value="Remove Snapshot">
+</form>
+<%
+}
+catch (Exception ex)
+{
+   %> ERROR  <%
+   ex.printStackTrace();
+}
+%>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageStringThresholdMonitor.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageStringThresholdMonitor.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageStringThresholdMonitor.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,199 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet,
+                 java.util.ArrayList"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+try
+{
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   String error = (String)request.getAttribute("error");
+   String monitorObjectName = request.getParameter("monitorObjectName");
+   ObjectName moname = new ObjectName(monitorObjectName);
+   String monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName");
+   ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject");
+   String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute");
+   String threshold = (String)mbeanServer.getAttribute(moname, "Threshold");
+   Long period = (Long)mbeanServer.getAttribute(moname, "Period");
+   boolean equality = ((Boolean)mbeanServer.getAttribute(moname, "EqualityTriggersAlert")).booleanValue();
+   boolean enabled = ((Boolean)mbeanServer.getAttribute(moname, "Enabled")).booleanValue();
+   ArrayList alerts = (ArrayList)mbeanServer.getAttribute(moname, "AlertListeners");
+
+   Object[] args = {"monitors", monitorName, "-service.xml"};
+   String[] signature = {"java.lang.String", "java.lang.String", "java.lang.String"};
+   Object rtn = mbeanServer.invoke(new ObjectName("jboss.admin:service=DeploymentFileRepository"), "isStored", args, signature);
+   boolean persisted = ((Boolean)rtn).booleanValue();
+
+   Object[] nullArgs = {};
+   String[] nullSig = {};
+   boolean alerted = ((Boolean)mbeanServer.invoke(moname, "alerted", nullArgs, nullSig)).booleanValue();
+   Object triggeredValue = null;
+   if (alerted) triggeredValue = mbeanServer.getAttribute(moname, "TriggeredAttributeValue");
+   String color = alerted ? "red" : "green";
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Manage Monitor</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3><font color="<%=color%>">Manage String MBean Monitor</font></h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="ManageStringThresholdMonitor" method="post">
+<input type="hidden" name="monitorObjectName" value="<%=moname.toString()%>">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>" readonly></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Monitor's Object Name</b></td>
+    <td><input type="text" name="monitorObjectName" size="35" value="<%=monitorObjectName%>" readonly></td>
+    <td><i>The MBean javax.management.ObjectName</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=observedObject.toString()%>" size="35" readonly></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35" readonly></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<%
+   if (alerted)
+   {
+%>
+<tr>
+    <td><font color="red"><b>Triggered Value</b></font></td>
+    <td><input type="text" name="trigger" value="<%=triggeredValue.toString()%>" size="35" readonly></td>
+    <td><i>The attribute value the triggered the threshold.</i></td>
+</tr>
+<% } %>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>"></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>"></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Persist Changes</b></td>
+    <td><input type="checkbox" name="persisted" value="" checked></td>
+    <td><i>Should changes be reflected in deployment file.</i></td>
+</tr>
+<tr>
+    <td><b>Equality Trigger</b></td>
+    <td><input type="checkbox" name="equality" value="" <%=equality ? "checked" : ""%>></td>
+    <td><i>Uncheck this box if you want an alert to trigger when attribute changes from threshold value</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled ? "checked" : ""%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set allAlertTypes = mbeanServer.queryNames(null, queryExp);
+
+   if (allAlertTypes.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(allAlertTypes.size())%>" multiple>
+<%
+      Iterator it = allAlertTypes.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+         String selected = "";
+         if (alerts != null && alerts.contains(alert)) selected = "SELECTED";
+%>
+   <option value="<%=alert.toString()%>" <%=selected%>><%=alertName%></option>
+<%
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+<input type="submit" name="action" value="Update Monitor">
+<input type="submit" name="action" value="Remove Monitor">
+<%
+   if (alerted)
+   {
+%>
+<input type="submit" name="action" value="Clear Alert">
+<%
+   }
+%>
+</form>
+<%
+}
+catch (Exception ex)
+{
+   %> ERROR in parsing <%
+   ex.printStackTrace();
+}
+%>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageThresholdMonitor.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageThresholdMonitor.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/manageThresholdMonitor.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,204 @@
+<%@ page import="javax.management.MBeanServer,
+                 org.jboss.mx.util.MBeanServerLocator,
+                 org.jboss.mx.util.InstanceOfQueryExp,
+                 java.util.Set,
+                 java.util.Iterator,
+                 javax.management.ObjectInstance,
+                 javax.management.ObjectName,
+                 java.util.HashSet,
+                 java.util.ArrayList"%>
+ <%--
+ |
+ |  Author: Bill Burke    (bill at jboss.org)
+ |
+ | Distributable under LGPL license.
+ | See terms of license at gnu.org.
+ +--%>
+<%
+try
+{
+   MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
+   String error = (String)request.getAttribute("error");
+   String monitorObjectName = request.getParameter("monitorObjectName");
+   ObjectName moname = new ObjectName(monitorObjectName);
+   String monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName");
+   ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject");
+   String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute");
+   String threshold = (String)mbeanServer.getAttribute(moname, "Threshold");
+   Long period = (Long)mbeanServer.getAttribute(moname, "Period");
+   int compare = ((Integer)mbeanServer.getAttribute(moname, "CompareTo")).intValue();
+   boolean enabled = ((Boolean)mbeanServer.getAttribute(moname, "Enabled")).booleanValue();
+   ArrayList alerts = (ArrayList)mbeanServer.getAttribute(moname, "AlertListeners");
+
+   Object[] args = {"monitors", monitorName, "-service.xml"};
+   String[] signature = {"java.lang.String", "java.lang.String", "java.lang.String"};
+   Object rtn = mbeanServer.invoke(new ObjectName("jboss.admin:service=DeploymentFileRepository"), "isStored", args, signature);
+   boolean persisted = ((Boolean)rtn).booleanValue();
+
+   Object[] nullArgs = {};
+   String[] nullSig = {};
+   boolean alerted = ((Boolean)mbeanServer.invoke(moname, "alerted", nullArgs, nullSig)).booleanValue();
+   Object triggeredValue = null;
+   if (alerted) triggeredValue = mbeanServer.getAttribute(moname, "TriggeredAttributeValue");
+   String color = alerted ? "red" : "green";
+
+%>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>JBoss Management Console - Manage Monitor</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="StyleSheet" href="css/jboss.css" type="text/css"/>
+</head>
+<body>
+<!-- header begin -->
+	<img src="images/logo.gif" alt="JBoss" id="logo" width="226" height="105" />
+	<div id="header">
+		&nbsp;</div>
+	<div id="navigation_bar">
+	</div>
+<!-- header end -->
+<hr class="hide"/>
+	<center>
+	<div id="content">
+		<div class="content_block" style="width: 100%; height: 247">
+			<h3><font color="<%=color%>">Manage Threshold MBean Monitor</font></h3>
+					<p>&nbsp;</p>
+<%
+   if (error != null)
+   {
+%>
+					<p><font color="red" size ="-2"><%=error%></font> </p>
+<%
+   }
+%>
+<form action="ManageThresholdMonitor" method="post">
+<input type="hidden" name="monitorObjectName" value="<%=moname.toString()%>">
+<table cellspacing="2" cellpadding="2" border="0">
+<tr>
+    <td><b>Monitor Name</b></td>
+    <td><input type="text" name="monitorName" size="35" value="<%=monitorName%>" readonly></td>
+    <td><i>The name of the monitor and how it will be references within web console</i></td>
+</tr>
+<tr>
+    <td><b>Monitor's Object Name</b></td>
+    <td><input type="text" name="monitorObjectName" size="35" value="<%=monitorObjectName%>" readonly></td>
+    <td><i>The MBean javax.management.ObjectName</i></td>
+</tr>
+<tr>
+    <td><b>Object Name</b></td>
+    <td><input type="text" name="objectName" value="<%=observedObject.toString()%>" size="35" readonly></td>
+    <td><i>The MBean javax.management.ObjectName of the MBean you are monitoring</i></td>
+</tr>
+<tr>
+    <td><b>Attribute</b></td>
+    <td><input type="text" name="attribute" value="<%=attribute%>"  size="35" readonly></td>
+    <td><i>The MBean Attribute you are monitoring</i></td>
+</tr>
+<%
+   if (alerted)
+   {
+%>
+<tr>
+    <td><font color="red"><b>Triggered Value</b></font></td>
+    <td><input type="text" name="trigger" value="<%=triggeredValue.toString()%>" size="35" readonly></td>
+    <td><i>The attribute value the triggered the threshold.</i></td>
+</tr>
+<% } %>
+<tr>
+    <td><b>Threshold</b></td>
+    <td><input type="text" name="threshold" size="35" value="<%=threshold%>"></td>
+    <td><i>The value that will trigger an alert when the Comparison Equation is reached for the attribute value</i></td>
+</tr>
+<tr>
+    <td><b>Time Period</b></td>
+    <td><input type="text" name="period" size="35" value="<%=period%>"></td>
+    <td><i>How often should threshold be tested.</i></td>
+</tr>
+<tr>
+    <td><b>Comparison Equation</b></td>
+    <td><select name="compare" id="compare" size="1">
+        <option value="gt" <%=compare == -1  ? "SELECTED" : ""%>>&gt;</option>
+        <option value="lt" <%=compare == 1 ? "SELECTED" : ""%>>&lt;</option>
+        <option value="eq" <%=compare == 0 ? "SELECTED" : ""%>>=</option>
+        </select>
+    </td>
+    <td><i>Boolean expression to use when testing threshold hit.</i></td>
+</tr>
+<tr>
+    <td><b>Persist Changes</b></td>
+    <td><input type="checkbox" name="persisted" value="" checked></td>
+    <td><i>Should changes be reflected in deployment file.</i></td>
+</tr>
+<tr>
+    <td><b>Enable Monitor</b></td>
+    <td><input type="checkbox" name="enabled" value="" <%=enabled ? "checked" : ""%>></td>
+    <td><i>Should this monitor be enabled.</i></td>
+</tr>
+<tr>
+    <td><b>Alerts</b></td>
+    <td>
+<%
+   InstanceOfQueryExp queryExp = null;
+   queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener");
+   Set allAlertTypes = mbeanServer.queryNames(null, queryExp);
+
+   if (allAlertTypes.size() > 0)
+   {
+%>
+   <select name="alerts" id="alerts" size="<%=Integer.toString(allAlertTypes.size())%>" multiple>
+<%
+      Iterator it = allAlertTypes.iterator();
+      while (it.hasNext())
+      {
+         ObjectName alert = (ObjectName)it.next();
+         String alertName = (String)mbeanServer.getAttribute(alert, "AlertName");
+         String selected = "";
+         if (alerts != null && alerts.contains(alert)) selected = "SELECTED";
+%>
+   <option value="<%=alert.toString()%>" <%=selected%>><%=alertName%></option>
+<%
+      }
+   }
+%>
+</select>
+
+    </td>
+    <td><i>Alert Listeners to trigger.</i></td>
+</tr>
+</table>
+<input type="submit" name="action" value="Update Monitor">
+<input type="submit" name="action" value="Remove Monitor">
+<%
+   if (alerted)
+   {
+%>
+<input type="submit" name="action" value="Clear Alert">
+<%
+   }
+%>
+</form>
+<%
+}
+catch (Exception ex)
+{
+   %> ERROR in parsing <%
+   ex.printStackTrace();
+}
+%>
+		</div>
+		<div class="spacer"><hr/></div>
+	</div>
+	</center>
+<!-- content end -->
+
+<hr class="hide"/>
+<!-- footer begin -->
+	<div id="footer">
+		<div id="credits">JBoss&trade; Management Console</div>
+		<div id="footer_bar">&nbsp;</div>
+	</div>
+<!-- footer end -->
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/xform.xsl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/xform.xsl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/management/console-mgr.sar/web-console.war/xform.xsl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  version="1.0">
+
+  <!-- Output method -->
+  <xsl:output encoding="iso-8859-1"
+              indent="no"/>
+
+  <xsl:template match="status">
+    <html>
+    <head>
+    	<TITLE>Tomcat Status</TITLE>
+		<STYLE type="text/css">
+			body, table, tr, td, a, div, span {
+				vertical-align : top;
+			}
+		</STYLE>
+    </head>
+    <body>
+      <div style='font-size:20px;'>Tomcat Status</div>
+
+      <xsl:apply-templates select="jvm"/>
+      <xsl:apply-templates select="connector"/>
+     </body>
+    </html>
+  </xsl:template>
+
+  <xsl:template match="jvm">
+   <xsl:apply-templates select="memory"/>
+  </xsl:template>
+
+  <xsl:template match="memory">
+    <table><tr>
+    		 <td><b>JVM:</b></td>
+    		 <td><b>free:</b> <xsl:value-of select="@free"/></td>
+    		 <td><b>total:</b> <xsl:value-of select="@total"/></td>
+    		 <td><b>max:</b> <xsl:value-of select="@max"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="connector">
+	 <b>Connector -- </b> <xsl:value-of select="@name"/><br />
+
+  	<xsl:apply-templates select="threadInfo"/>
+  	<xsl:apply-templates select="requestInfo"/>
+  	<xsl:apply-templates select="workers"/>
+  </xsl:template>
+
+  <xsl:template match="threadInfo">
+    <table><tr>
+    		 <td><b>threadInfo </b></td>
+    		 <td><b>maxThreads:</b> <xsl:value-of select="@maxThreads"/></td>
+    		 <td><b>minSpareThreads:</b> <xsl:value-of select="@minSpareThreads"/></td>
+    		 <td><b>maxSpareThreads:</b> <xsl:value-of select="@maxSpareThreads"/></td>
+    		 <td><b>currentThreadCount:</b> <xsl:value-of select="@currentThreadCount"/></td>
+    		 <td><b>currentThreadsBusy:</b> <xsl:value-of select="@currentThreadsBusy"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="requestInfo">
+    <table><tr>
+    		 <td><b>requestInfo </b></td>
+    		 <td><b>maxTime:</b> <xsl:value-of select="@maxTime"/></td>
+    		 <td><b>processingTime:</b> <xsl:value-of select="@processingTime"/></td>
+    		 <td><b>requestCount:</b> <xsl:value-of select="@requestCount"/></td>
+    		 <td><b>errorCount:</b> <xsl:value-of select="@errorCount"/></td>
+    		 <td><b>bytesReceived:</b> <xsl:value-of select="@bytesReceived"/></td>
+    		 <td><b>bytesSent:</b> <xsl:value-of select="@bytesSent"/></td>
+    	   </tr>
+    </table><hr />
+  </xsl:template>
+
+  <xsl:template match="workers">
+   <table>
+    <tr><th>Stage</th><th>Time</th><th>B Sent</th><th>B Recv</th><th>Client</th><th>VHost</th><th>Request</th></tr>
+  	<xsl:apply-templates select="worker"/>
+
+   </table><hr />
+  </xsl:template>
+
+  <xsl:template match="worker">
+   <tr>
+    <td><xsl:value-of select="@stage"/></td>
+    <td><xsl:value-of select="@requestProcessingTime"/></td>
+    <td><xsl:value-of select="@requestBytesSent"/></td>
+    <td><xsl:value-of select="@requestBytesReceived"/></td>
+    <td><xsl:value-of select="@remoteAddr"/></td>
+    <td><xsl:value-of select="@virtualHost"/></td>
+    <td><xsl:value-of select="@method"/> <xsl:value-of select="@currentUri"/>?<xsl:value-of select="@currentQueryString"/> <xsl:value-of select="@protocol"/></td>
+   </tr>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/monitoring-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/monitoring-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/monitoring-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: monitoring-service.xml 46248 2006-07-13 15:03:17Z dimitris $ -->
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  User Service Configuration                                           -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+  <mbean code="org.jboss.monitor.alerts.ConsoleAlertListener" 
+         name="jboss.alerts:service=ConsoleAlertListener">
+    <attribute name="MessageTemplate"><![CDATA[%(MONITOR_NAME) was triggered for attribute %(ATTRIBUTE).]]></attribute>
+    <attribute name="AlertName">Console Alert</attribute>
+  </mbean>
+  
+<!-- Enable after filling in correct to, from, and reply to
+  
+  <mbean code="org.jboss.monitor.alerts.EmailAlertListener" 
+         name="jboss.alerts:service=EmailAlertListener">
+    <depends>jboss:service=Mail</depends>
+    <attribute name="MessageTemplate"><![CDATA[%(MONITOR_NAME) was triggered for attribute %(ATTRIBUTE).]]></attribute>
+    <attribute name="AlertName">Email Alert</attribute>
+    <attribute name="To">somebody at somewhere.org</attribute>
+    <attribute name="From">noreply at nowhere.org</attribute>
+    <attribute name="ReplyTo">noreply at nowhere.org</attribute>
+    <attribute name="SubjectTemplate"><![CDATA[[jboss-alert] %(MONITOR_NAME)]]></attribute>
+  </mbean>
+-->
+
+<!--
+  Example of listening for notifications from JBoss monitors.
+  
+  The SubscriptionList attribute provides the specification to which
+  MBeans to subscribe for notifications and for what notification types.
+  
+  The DynamicSubscriptions attribute is used to indicate whether to monitor
+  the MBeanServer for new MBeans and subscribe to them if the subscription
+  specification matches.
+  
+  The NotificationListener attribute can be set to indicate an external
+  MBean as the receiver of the Notifications.
+  
+  The LogLevel attribute can be set to indicate the level to use for
+  logging the received notification, e.g. "WARN", "INFO", "DEBUG", etc.
+-->
+<!--
+  <mbean code="org.jboss.monitor.services.NotificationListener"
+         name="jboss.jmx:service=NotificationListener">
+    
+    <attribute name="DynamicSubscriptions">true</attribute>
+    <attribute name="NotificationListener"></attribute>
+    <attribute name="SubscriptionList">
+      <subscription-list>
+        <mbean name="jboss.monitor:*">
+          <notification type="JBOSS_MONITOR_NOTIFICATION"/>
+        </mbean>
+      </subscription-list>
+    </attribute>
+    
+  </mbean>
+-->
+
+<!--
+  MemoryMonitor monitors the free JVM memory and emits JMX Notifications
+  (org.jboss.monitor.alarm.AlarmNotification) when certain thresholds
+  are crossed. 
+  
+  The following attributes may be set:
+  
+  FreeMemoryWarningThreshold
+    - e.g. 1048576, or 1000K, or 1M
+  FreeMemoryCriticalThreshold 
+    - like above, must be lower
+  SamplingPeriod 
+    - e.g. 5000, or 5sec. 
+  TriggeringWarningMeasurements 
+    - number of measurements in the warning area to trigger a notification
+  
+  AlarmNotification carries alarmState and alarmSeverity.
+  alarmSeverity takes the values NORMAL, WARNING, CRITICAL for this monitor.
+  See org.jboss.monitor.alarm.Alarm
+-->
+<!--
+  <mbean code="org.jboss.monitor.services.MemoryMonitor"
+         name="jboss.monitor:service=MemoryMonitor">
+         
+    <attribute name="FreeMemoryWarningThreshold">95M</attribute>
+    <attribute name="FreeMemoryCriticalThreshold">80M</attribute>    
+  </mbean>
+-->
+
+<!--
+  Example of using the TimerService wrapper to configure a
+  javax.management.timer.Timer mbean, to produce heartbeat
+  notifications.
+  
+  Attributes to configure:
+  
+  NotificationType
+    - The type of the produced javax.management.timer.TimerNotification
+  Notification Message
+    - The string message to carry in the produced notification
+  Timer Period
+    - Every how often to emit notifications, e.g. 500msec, 10sec, 5min, 1h;
+    - a zero value will produce just one notification
+  Repeatitions
+    - How many timer notifications to emit when the period is not zero;
+    - a zero value produces infinite notifications
+  FixedRate
+    - Whether the periodic notification should be produced at
+    - FixedRate (true) or FixedDelay (false, default)
+  TimerMBean
+    - The ObjectName of the JMX Timer to configure, combined with a dependency
+    
+  If you want to see/log the emitted notifications, you can configure
+  a NotificationListener as follows:
+  
+  <mbean code="org.jboss.monitor.services.NotificationListener"
+         name="jboss.monitor:service=NotificationListener">
+    <attribute name="SubscriptionList">
+      <subscription-list>
+        <mbean name="jboss.monitor:name=Heartbeat,type=Timer"/>
+      </subscription-list>
+    </attribute>
+  </mbean>
+-->
+<!--
+  <mbean code="org.jboss.monitor.services.TimerService"
+         name="jboss.monitor:name=Heartbeat,type=TimerService">
+    <attribute name="NotificationType">jboss.monitor.heartbeat</attribute>
+    <attribute name="NotificationMessage">JBoss is alive!</attribute>
+    <attribute name="TimerPeriod">5sec</attribute>
+    <depends optional-attribute-name="TimerMBean">
+      <mbean code="javax.management.timer.Timer"
+             name="jboss.monitor:name=Heartbeat,type=Timer"/>
+    </depends>
+  </mbean>
+-->
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/properties-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/properties-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/properties-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server>
+<!-- $Id: properties-service.xml 16662 2003-08-27 04:38:22Z patriot1burke $ -->
+
+<server>
+
+  <!-- ==================================================================== -->
+  <!-- PropertyEditorManager Service                                        -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | Allows access to the PropertyEditorManager, which is used when setting
+     | MBean attribute values from configuration.
+   -->
+
+  <mbean code="org.jboss.varia.property.PropertyEditorManagerService" 
+	 name="jboss:type=Service,name=PropertyEditorManager">
+
+    <!-- 
+       | Register and editor for each of the type_name=editor_type_name listed
+       | in properties file style convetion.
+
+    <attribute name="Editors">
+      java.net.URL=my.project.editors.URLPropertyEditor
+    </attribute>
+
+    -->
+
+  </mbean>
+
+
+  <!-- ==================================================================== -->
+  <!-- System Properties Service                                            -->
+  <!-- ==================================================================== -->
+
+  <!--
+     | Allows rich access to system properties.
+   -->
+
+  <mbean code="org.jboss.varia.property.SystemPropertiesService" 
+	 name="jboss:type=Service,name=SystemProperties">
+
+    <!-- 
+       | Load properties from each of the given comma seperated URLs
+
+    <attribute name="URLList">
+      http://somehost/some-location.properties,
+      ./conf/somelocal.properties
+    </attribute>
+
+    -->
+
+    <!-- 
+       | Set raw properties file style properties.
+
+    <attribute name="Properties">
+
+      my.project.property=This is the value of my property
+      my.project.anotherProperty=This is the value of my other property
+
+    </attribute>
+     
+    -->
+
+  </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/quartz-ra.rar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/quartz-ra.rar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/schedule-manager-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/schedule-manager-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/schedule-manager-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: schedule-manager-service.xml 59789 2007-01-18 17:30:15Z dimitris at jboss.org $ -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Scheduler Service                                                    -->
+   <!-- ==================================================================== -->
+   
+   <!--
+    | JDK5 javax.management.timer.Timer appears to be using a single
+    | threaded implementation for executing scheduled tasks.
+    | If you want to revert to the JBossMX timer implementation that
+    | uses a dynamically extensible thread pool to execute scheduled
+    | tasks, uncomment the JBossTimer service below. The Scheduler
+    | service will use this, instead of creating a new Timer.
+    - -> 
+   <mbean code="org.jboss.mx.timer.JBossTimer"
+          name="jboss:service=Timer">
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | This MBean is an example of a Schedule Target
+    - ->
+   <mbean code="org.jboss.varia.scheduler.example.SchedulableMBeanExample" 
+          name="jboss:service=SchedulableMBeanExample">
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | The Schedule Manager has to be started whenever
+    | schedules are needed.
+    |
+    | The default JMX Timer scheduling behaviour of FixedDelay execution
+    | (as of JDK5 or JBoss v4.0.5) is overriden below using FixedRate true
+    - ->
+   <mbean code="org.jboss.varia.scheduler.ScheduleManager"
+          name="jboss:service=ScheduleManager">
+      <attribute name="StartAtStartup">true</attribute>
+      <attribute name="FixedRate">true</attribute>
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | This is a single schedule Provider which works like the
+    | old Scheduler (when a MBean target is used)
+    |
+    | For clustered singleton schedules add the following dependency:
+    | <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>
+    - ->
+   <mbean code="org.jboss.varia.scheduler.SingleScheduleProvider" 
+          name="jboss:service=SingleScheduleProvider">
+      <depends optional-attribute-name="ScheduleManagerName">jboss:service=ScheduleManager</depends>
+      <depends optional-attribute-name="TargetName">jboss:service=SchedulableMBeanExample</depends>
+      <attribute name="TargetMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
+      <attribute name="DateFormat"></attribute>
+      <attribute name="StartDate">NOW</attribute>
+      <attribute name="Period">10000</attribute>
+      <attribute name="Repetitions">10</attribute>
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | This is a Database based schedule Provider. For more
+    | information have a look at the class JavaDoc
+    | For hypersonic
+    | CREATE TABLE Schedule
+    | (
+    |    target VARCHAR(100),
+    |    method_name VARCHAR(100),
+    |    method_signature VARCHAR(100),
+    |    start_date VARCHAR(20),
+    |    period BIGINT,
+    |    repetitions INTEGER,
+    |    date_format VARCHAR(20)
+    | )
+    |
+    | For clustered singleton schedules add the following dependency:
+    | <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>    
+    - ->
+   <mbean code="org.jboss.varia.scheduler.DBScheduleProvider" 
+          name="jboss:service=DBScheduleProvider">
+      <depends optional-attribute-name="ScheduleManagerName">jboss:service=ScheduleManager</depends>
+      <depends>jboss:service=SchedulableMBeanExample</depends>
+      <depends>jboss:service=Hypersonic</depends>
+      <attribute name="DataSourceName">java:DefaultDS</attribute>
+      <attribute name="SQLStatement">SELECT target, method_name, method_signature, start_date, period, repetitions, date_format FROM Schedule</attribute>
+   </mbean>
+   <!- - -->
+   
+   <!--
+    | This is a XML based schedule Provider. For more
+    | information have a look at the class JavaDoc
+    |
+    | For clustered singleton schedules add the following dependency:
+    | <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>       
+    - ->
+   <mbean code="org.jboss.varia.scheduler.XMLScheduleProvider" 
+          name="jboss:service=XMLScheduleProvider">
+      <depends optional-attribute-name="ScheduleManagerName">jboss:service=ScheduleManager</depends>
+      <depends>jboss:service=SchedulableMBeanExample</depends>
+      <attribute name="Schedules">
+         <schedules>
+            <schedule>
+               <target-mbean-name>jboss:service=SchedulableMBeanExample</target-mbean-name>
+               <target-method-name>hit</target-method-name>
+               <target-method-signature>NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String</target-method-signature>
+               <date-format></date-format>
+               <start-date>NOW</start-date>
+               <period>15555</period>
+               <repetitions>55</repetitions>
+            </schedule>
+         </schedules>
+      </attribute>
+   </mbean>
+   <!- - -->
+   
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/scheduler-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/scheduler-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/scheduler-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: scheduler-service.xml 59789 2007-01-18 17:30:15Z dimitris at jboss.org $ -->
+
+<server>
+
+   <!-- ==================================================================== -->
+   <!-- Scheduler Service                                                    -->
+   <!-- ==================================================================== -->
+
+   <!--
+    | JDK5 javax.management.timer.Timer appears to be using a single
+    | threaded implementation for executing scheduled tasks.
+    | If you want to revert to the JBossMX timer implementation that
+    | uses a dynamically extensible thread pool to execute scheduled
+    | tasks, uncomment the JBossTimer service below. The Scheduler
+    | service will use this, instead of creating a new Timer.
+     
+   <mbean code="org.jboss.mx.timer.JBossTimer"
+          name="jboss:service=Timer">
+   </mbean>
+   -->
+  
+   <!--
+    | This example shows how to use a pluggable Schedulable impl
+
+   <mbean code="org.jboss.varia.scheduler.Scheduler"
+          name=":service=Scheduler">
+      <attribute name="StartAtStartup">true</attribute>
+      <attribute name="SchedulableClass">org.jboss.varia.scheduler.example.SchedulableExample</attribute>
+      <attribute name="SchedulableArguments">Schedulabe Test,12345</attribute>
+      <attribute name="SchedulableArgumentTypes">java.lang.String,int</attribute>
+      <attribute name="InitialStartDate">0</attribute>
+      <attribute name="SchedulePeriod">10000</attribute>
+      <attribute name="InitialRepetitions">-1</attribute>
+      <attribute name="FixedRate">true</attribute>    
+   </mbean>
+   -->
+
+   <!--
+    | NOTE: If a Timer service is not already running, the scheduler will create
+    | one with a default object name of jboss:service=Timer.  This will not be
+    | redeployed upon redeploying your scheduler.  To change the object name
+    | for the Timer service to be created, declare an attribute named TimerName.
+    | For more info on scheduler, see http://www.jboss.org/wiki/Wiki.jsp?page=Scheduler.
+   -->
+
+   <!--
+    | This example shows how to use a target MBean
+
+   <mbean code="org.jboss.varia.scheduler.example.SchedulableMBeanExample"
+          name=":name=SchedulableMBeanExample">
+   </mbean>
+   <mbean code="org.jboss.varia.scheduler.Scheduler"
+          name=":service=Scheduler,name=SchedulableMBeanExample">
+      <attribute name="StartAtStartup">true</attribute>
+      <attribute name="SchedulableMBean">:name=SchedulableMBeanExample</attribute>
+      <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
+      <attribute name="InitialStartDate">NOW</attribute>
+      <attribute name="SchedulePeriod">10000</attribute>
+      <attribute name="InitialRepetitions">10</attribute>
+      <attribute name="FixedRate">true</attribute>
+   </mbean>
+   -->
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/sqlexception-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/sqlexception-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/sqlexception-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+   <mbean code="org.jboss.ejb.plugins.cmp.jdbc.SQLExceptionProcessor"
+          name="jboss.jdbc:service=SQLExceptionProcessor">
+   </mbean>
+</server>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  UUID Key Generator Factory Service Configuration                     -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+  <!-- UUIDKeyGeneratorFactoryService -->
+  <mbean code="org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactoryService"
+         name="jboss:service=KeyGeneratorFactory,type=UUID">
+  </mbean>
+
+  <!-- HiLoKeyGeneratorFactory -->
+  <mbean code="org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory"
+         name="jboss:service=KeyGeneratorFactory,type=HiLo">
+
+     <depends>jboss:service=TransactionManager</depends>
+
+     <!-- Attributes common to HiLo factory instances -->
+
+     <!-- DataSource JNDI name -->
+     <depends optional-attribute-name="DataSource">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
+
+     <!-- table name -->
+     <attribute name="TableName">HILOSEQUENCES</attribute>
+
+     <!-- Column that contains sequence name -->
+     <attribute name="SequenceColumn">SEQUENCENAME</attribute>
+
+     <!-- Column that contains hi values -->
+     <attribute name="IdColumnName">HIGHVALUES</attribute>
+
+     <!-- Create table DDL - DDL should be in a single line without line breaks to work with DB2 7.2 -->
+     <attribute name="CreateTableDdl">
+        create table HILOSEQUENCES (SEQUENCENAME varchar(50) not null, HIGHVALUES integer not null, constraint hilo_pk primary key (SEQUENCENAME))
+     </attribute>
+
+     <!-- Uncomment to make it cluster-safe: Select current Hi value query (FOR UPDATE is recommended)
+     <attribute name="SelectHiSql">
+        select HIGHVALUES from HILOSEQUENCES where SEQUENCENAME='general' FOR UPDATE
+     </attribute>                                                  
+     -->
+
+     <!-- whether the table should be created (if doesn't exist yet) at the start phase -->
+     <attribute name="CreateTable">true</attribute>
+
+     <!-- whether the table should be dropped (if exists) at the stop phase -->
+     <attribute name="DropTable">false</attribute>
+
+     <!-- Instance-specific attributes -->
+
+     <!-- JNDI name -->
+     <attribute name="FactoryName">HiLoKeyGeneratorFactory</attribute>
+
+     <!-- Sequence name which this factory will use -->
+     <attribute name="SequenceName">general</attribute>
+
+     <!-- Block size -->
+     <attribute name="BlockSize">10</attribute>
+  </mbean>
+
+</server>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGenerator.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGenerator.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactory.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactory.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactoryMBean.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactoryMBean.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGenerator.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGenerator.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactory.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactory.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryService.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryService.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryServiceMBean.class
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/deploy/uuid-key-generator.sar/org/jboss/ejb/plugins/keygenerator/uuid/UUIDKeyGeneratorFactoryServiceMBean.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/activation.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/activation.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/antlr.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/antlr.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/autonumber-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/autonumber-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bcel.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bcel.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bindingservice-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bindingservice-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bsf.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bsf.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bsh-deployer.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bsh-deployer.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bsh.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/bsh.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/cglib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/cglib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-codec.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-codec.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-collections.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-collections.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-httpclient.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-httpclient.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-logging.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/commons-logging.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/dom4j.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/dom4j.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/ejb3-persistence.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/ejb3-persistence.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/el-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/el-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hibernate-annotations.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hibernate-annotations.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hibernate-entitymanager.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hibernate-entitymanager.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hibernate3.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hibernate3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hsqldb-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hsqldb-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hsqldb.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/hsqldb.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/javassist.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/javassist.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jaxen.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jaxen.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-cache-jdk50.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-cache-jdk50.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-common-jdbc-wrapper.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-common-jdbc-wrapper.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-ejb3x.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-ejb3x.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-hibernate.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-hibernate.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-j2ee.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-j2ee.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jaxrpc.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jaxrpc.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jaxws.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jaxws.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jca.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jca.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jsr77.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jsr77.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jsr88.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-jsr88.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-management.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-management.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-monitoring.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-monitoring.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-remoting-int.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-remoting-int.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-remoting.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-remoting.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-saaj.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-saaj.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-serialization.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-serialization.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-srp.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-srp.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-transaction.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-transaction.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-vfs.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss-vfs.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jboss.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossjta-integration.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossjta-integration.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossjta.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossjta.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossmq.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossmq.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbosssx.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbosssx.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossts-common.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossts-common.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-common.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-common.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-framework.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-framework.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-jboss42.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-jboss42.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-spi.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jbossws-spi.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jmx-adaptor-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jmx-adaptor-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jnpserver.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jnpserver.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/joesnmp.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/joesnmp.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jpl-pattern.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jpl-pattern.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jpl-util.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jpl-util.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jsp-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/jsp-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/log4j-snmp-appender.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/log4j-snmp-appender.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/log4j.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/log4j.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/mail-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/mail-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/mail.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/mail.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/properties-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/properties-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/quartz.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/quartz.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/scheduler-plugin-example.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/scheduler-plugin-example.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/scheduler-plugin.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/scheduler-plugin.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/servlet-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/servlet-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/xmlentitymgr.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/default/lib/xmlentitymgr.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jboss-log4j.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jboss-log4j.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jboss-log4j.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,301 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Log4j Configuration                                                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: jboss-log4j.xml 65459 2007-09-19 00:25:51Z dimitris at jboss.org $ -->
+
+<!--
+   | For more configuration infromation and examples see the Jakarta Log4j
+   | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+   <!-- ================================= -->
+   <!-- Preserve messages in a local file -->
+   <!-- ================================= -->
+
+   <!-- A time/date based rolling appender -->
+   <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      <param name="File" value="${jboss.server.log.dir}/server.log"/>
+      <param name="Append" value="false"/>
+
+      <!-- Rollover at midnight each day -->
+      <param name="DatePattern" value="'.'yyyy-MM-dd"/>
+
+      <!-- Rollover at the top of each hour
+      <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+      -->
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+
+         <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+         <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+          -->
+      </layout>
+   </appender>
+
+   <!-- A size based file rolling appender
+   <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="File" value="${jboss.server.log.dir}/server.log"/>
+     <param name="Append" value="false"/>
+     <param name="MaxFileSize" value="500KB"/>
+     <param name="MaxBackupIndex" value="1"/>
+
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+     </layout>	    
+   </appender>
+   -->
+
+   <!-- ============================== -->
+   <!-- Append messages to the console -->
+   <!-- ============================== -->
+
+   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      <param name="Target" value="System.out"/>
+      <param name="Threshold" value="INFO"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+      </layout>
+   </appender>
+  
+   <!-- ====================== -->
+   <!-- More Appender examples -->
+   <!-- ====================== -->
+
+   <!-- Buffer events and log them asynchronously
+   <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <appender-ref ref="FILE"/>
+     <appender-ref ref="CONSOLE"/>
+     <appender-ref ref="SMTP"/>
+   </appender>
+   -->
+
+   <!-- EMail events to an administrator
+   <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="Threshold" value="ERROR"/>
+     <param name="To" value="admin at myhost.domain.com"/>
+     <param name="From" value="nobody at myhost.domain.com"/>
+     <param name="Subject" value="JBoss Sever Errors"/>
+     <param name="SMTPHost" value="localhost"/>
+     <param name="BufferSize" value="10"/>
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+     </layout>
+   </appender>
+   -->
+
+   <!-- Syslog events
+   <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="Facility" value="LOCAL7"/>
+     <param name="FacilityPrinting" value="true"/>
+     <param name="SyslogHost" value="localhost"/>
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+     </layout>
+   </appender>
+   -->
+
+   <!-- Log events to JMS (requires a topic to be created)
+   <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="Threshold" value="ERROR"/>
+     <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
+     <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
+   </appender>
+   -->
+
+   <!-- Log events through SNMP
+   <appender name="TRAP_LOG" class="org.apache.log4j.ext.SNMPTrapAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="ImplementationClassName" value="org.apache.log4j.ext.JoeSNMPTrapSender"/>
+     <param name="ManagementHost" value="127.0.0.1"/>
+     <param name="ManagementHostTrapListenPort" value="162"/>
+     <param name="EnterpriseOID" value="1.3.6.1.4.1.24.0"/>
+     <param name="LocalIPAddress" value="127.0.0.1"/>
+     <param name="LocalTrapSendPort" value="161"/>
+     <param name="GenericTrapType" value="6"/>
+     <param name="SpecificTrapType" value="12345678"/>
+     <param name="CommunityString" value="public"/>
+     <param name="ForwardStackTraceWithTrap" value="true"/>
+     <param name="Threshold" value="DEBUG"/>
+     <param name="ApplicationTrapOID" value="1.3.6.1.4.1.24.12.10.22.64"/>
+     <layout class="org.apache.log4j.PatternLayout">
+            <param name="ConversionPattern" value="%d,%p,[%t],[%c],%m%n"/>
+     </layout>
+   </appender>
+   -->
+
+   <!--  Emit events as JMX notifications
+   <appender name="JMX" class="org.jboss.monitor.services.JMXNotificationAppender">
+      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+      
+      <param name="Threshold" value="WARN"/>
+      <param name="ObjectName" value="jboss.system:service=Logging,type=JMXNotificationAppender"/>
+      
+      <layout class="org.apache.log4j.PatternLayout">
+         <param name="ConversionPattern" value="%d %-5p [%c] %m"/>
+      </layout>
+   </appender>
+   -->
+   
+   <!-- ================ -->
+   <!-- Limit categories -->
+   <!-- ================ -->
+
+   <!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
+   <category name="org.apache">
+      <priority value="INFO"/>
+   </category>
+
+   <!-- Limit the jacorb category to WARN as its INFO is verbose -->
+   <category name="jacorb">
+      <priority value="WARN"/>
+   </category>
+   
+   <!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
+   <category name="org.jgroups">
+      <priority value="WARN"/>
+   </category>
+   
+   <!-- Limit the org.quartz category to INFO as its DEBUG is verbose -->
+   <category name="org.quartz">
+      <priority value="INFO"/>
+   </category>
+
+   <!-- Limit JBoss categories
+   <category name="org.jboss">
+      <priority value="INFO"/>
+   </category>
+   -->
+
+   <!-- Limit the JSR77 categories -->
+   <category name="org.jboss.management">
+      <priority value="INFO"/>
+   </category>
+
+   <!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
+   <category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
+     <priority value="TRACE"/>
+   </category>
+   -->
+   
+   <!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -->
+   <category name="org.jboss.serial">
+      <priority value="INFO"/>
+   </category>
+   
+   <!-- Decrease the priority threshold for the org.jboss.varia category
+   <category name="org.jboss.varia">
+     <priority value="DEBUG"/>
+   </category>
+   -->
+
+   <!-- Enable JBossWS message tracing
+   <category name="org.jboss.ws.core.MessageTrace">
+    <priority value="TRACE"/>
+   </category>
+   -->
+
+   <!--
+      | An example of enabling the custom TRACE level priority that is used
+      | by the JBoss internals to diagnose low level details. This example
+      | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
+      | subpackages. This will produce A LOT of logging output.
+      |
+      | Note: since jboss AS 4.2.x, the trace level is supported natively by
+      | log4j, so although the custom org.jboss.logging.XLevel priority will
+      | still work, there is no need to use it. The two examples that follow
+      | will both enable trace logging.
+   <category name="org.jboss.system">
+     <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+   </category>
+   <category name="org.jboss.ejb.plugins">
+     <priority value="TRACE"/>
+   </category>
+   -->
+  
+   <!--
+       | Logs these events to SNMP:
+           - server starts/stops
+           - cluster evolution (node death/startup)
+           - When an EJB archive is deployed (and associated verified messages)
+           - When an EAR archive is deployed
+      	 
+   <category name="org.jboss.system.server.Server">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+  
+   <category name="org.jboss.ha.framework.interfaces.HAPartition.lifecycle">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+
+   <category name="org.jboss.deployment.MainDeployer">
+     <priority value="ERROR" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+   
+   <category name="org.jboss.ejb.EJBDeployer">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+   
+   <category name="org.jboss.deployment.EARDeployer">
+     <priority value="INFO" />
+     <appender-ref ref="TRAP_LOG"/>
+   </category>
+   -->
+
+   <!-- Clustering logging -->
+   <!-- Uncomment the following to redirect the org.jgroups and
+      org.jboss.ha categories to a cluster.log file.
+
+   <appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender">
+     <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+     <param name="File" value="${jboss.server.log.dir}/cluster.log"/>
+     <param name="Append" value="false"/>
+     <param name="MaxFileSize" value="500KB"/>
+     <param name="MaxBackupIndex" value="1"/>
+
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+     </layout>
+   </appender>
+   <category name="org.jgroups">
+     <priority value="DEBUG" />
+     <appender-ref ref="CLUSTER"/>
+   </category>
+   <category name="org.jboss.ha">
+     <priority value="DEBUG" />
+     <appender-ref ref="CLUSTER"/>
+   </category>
+   -->
+   
+   <!-- ======================= -->
+   <!-- Setup the Root category -->
+   <!-- ======================= -->
+
+   <root>
+      <appender-ref ref="CONSOLE"/>
+      <appender-ref ref="FILE"/>
+   </root>
+
+</log4j:configuration>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-minimal.xml 60298 2007-02-05 16:01:55Z dimitris at jboss.org $ -->
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  A minimal JBoss Server Configuration                                 -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- Load all jars from the JBOSS_DIST/server/<config>/lib directory. This
+     can be restricted to specific jars by specifying them in the archives
+     attribute.
+    -->
+   <classpath codebase="${jboss.server.lib.url:lib}" archives="*"/>
+
+   <!-- ==================================================================== -->
+   <!-- Log4j Initialization                                                 -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.logging.Log4jService"
+      name="jboss.system:type=Log4jService,service=Logging">
+      <attribute name="ConfigurationURL">resource:jboss-log4j.xml</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Thread Pool                                                          -->
+   <!-- ==================================================================== -->
+   
+   <!-- A Thread pool service -->
+   <mbean code="org.jboss.util.threadpool.BasicThreadPool"
+      name="jboss.system:service=ThreadPool">
+      <attribute name="Name">JBoss System Threads</attribute>
+      <attribute name="ThreadGroupName">System Threads</attribute>
+      <!-- How long a thread will live without any tasks in MS -->
+      <attribute name="KeepAliveTime">60000</attribute>
+      <!-- The max number of threads in the pool -->
+      <attribute name="MaximumPoolSize">10</attribute>
+      <!-- The max number of tasks before the queue is full -->
+      <attribute name="MaximumQueueSize">1000</attribute>
+      <!-- The behavior of the pool when a task is added and the queue is full.
+      abort - a RuntimeException is thrown
+      run - the calling thread executes the task
+      wait - the calling thread blocks until the queue has room
+      discard - the task is silently discarded without being run
+      discardOldest - check to see if a task is about to complete and enque
+         the new task if possible, else run the task in the calling thread
+      -->
+      <attribute name="BlockingMode">run</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- JNDI                                                                 -->
+   <!-- ==================================================================== -->
+   
+   <!-- A simple mbean wrapper around the jndi Naming object. This
+   only handles an in memory instance. The NamingService uses this
+   as the JNDI store and exposes it remotely.
+   -->
+   <mbean code="org.jnp.server.NamingBeanImpl"
+      name="jboss:service=NamingBeanImpl"
+      xmbean-dd="resource:xmdesc/NamingBean-xmbean.xml">
+   </mbean>
+   
+   <mbean code="org.jboss.naming.NamingService"
+      name="jboss:service=Naming"
+      xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
+      <!-- The call by value mode. true if all lookups are unmarshalled using
+         the caller's TCL, false if in VM lookups return the value by reference.
+      -->
+      <attribute name="CallByValue">false</attribute>
+      <!-- The listening port for the bootstrap JNP service. Set this to -1
+         to run the NamingService without the JNP invoker listening port.
+      -->
+      <attribute name="Port">1099</attribute>
+      <!-- The bootstrap JNP server bind address. This also sets the default
+         RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>
+      <!-- The port of the RMI naming service, 0 == anonymous -->
+      <attribute name="RmiPort">1098</attribute>
+      <!-- The RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
+      <!-- The thread pool service used to control the bootstrap lookups -->
+      <depends optional-attribute-name="LookupPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+      <!-- An example of using the unifed invoker as the transport.
+         <depends optional-attribute-name="InvokerProxyFactory"
+         proxy-type="attribute">jboss:service=proxyFactory,type=unified,target=Naming</depends>
+      -->
+      <depends optional-attribute-name="Naming"
+         proxy-type="attribute">jboss:service=NamingBeanImpl</depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Deployment Scanning                                                  -->
+   <!-- ==================================================================== -->
+
+   <!-- An mbean for hot deployment/undeployment of archives.
+   -->
+   <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
+      name="jboss.deployment:type=DeploymentScanner,flavor=URL">
+
+      <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
+
+      <!-- The URLComparator can be used to specify a deployment ordering
+           for deployments found in a scanned directory.  The class specified
+           must be an implementation of java.util.Comparator, it must be able
+           to compare two URL objects, and it must have a no-arg constructor.
+           Two deployment comparators are shipped with JBoss:
+             - org.jboss.deployment.DeploymentSorter 
+               Sorts by file extension, as follows:
+                 "sar", "service.xml", "rar", "jar", "war", "wsr", "ear", "zip", 
+                 "*"
+             - org.jboss.deployment.scanner.PrefixDeploymentSorter
+               If the name portion of the url begins with 1 or more digits, those 
+               digits are converted to an int (ignoring leading zeroes), and 
+               files are deployed in that order.  Files that do not start with 
+               any digits will be deployed last, and they will be sorted by
+               extension as above with DeploymentSorter.
+      -->
+      <attribute name="URLComparator">org.jboss.deployment.DeploymentSorter</attribute>
+      
+      <!-- The Filter specifies a java.io.FileFilter for scanned
+           directories.  Any file not accepted by this filter will not be
+           deployed.  The org.jboss.deployment.scanner.DeploymentFilter 
+           rejects the following patterns:
+               "#*", "%*", ",*", ".*", "_$*", "*#", "*$", "*%", "*.BAK", 
+               "*.old", "*.orig", "*.rej", "*.bak", "*,v", "*~", ".make.state", 
+               ".nse_depinfo", "CVS", "CVS.admin", "RCS", "RCSLOG", "SCCS", 
+               "TAGS", "core", "tags"
+      -->
+      <attribute name="Filter">org.jboss.deployment.scanner.DeploymentFilter</attribute>
+
+      <attribute name="ScanPeriod">5000</attribute>
+
+      <!-- URLs are comma seperated and unprefixed arguments are considered
+         file URLs and resolve relative to server home(JBOSS_DIST/server/default)
+         unless the given path is absolute. Any referenced directories cannot
+         be unpackaged archives, use the parent directory of the unpacked
+         archive.
+       -->
+      <attribute name="URLs">
+       deploy/
+      </attribute>
+      
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jndi.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jndi.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/jndi.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+# DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING
+#
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/xmdesc/NamingBean-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/xmdesc/NamingBean-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/xmdesc/NamingBean-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
+
+<!-- The JNDI Naming XMBean
+   $Id: NamingBean-xmbean.xml 60240 2007-02-03 18:29:53Z scott.stark at jboss.org $
+-->
+<mbean>
+   <description>The JNDI pojo bean</description>
+
+   <class>org.jnp.server.NamingBeanImpl</class>
+   
+   <constructor>
+       <description>The default constructor</description>
+       <name>NamingBeanImpl</name>
+   </constructor>
+   
+   <attribute access="read-only" getMethod="getNamingInstance">
+       <description>The NamingInstance</description>
+       <name>NamingInstance</name>
+       <type>org.jnp.interfaces.Naming</type>
+   </attribute>
+   
+   <!-- Operations -->
+   <operation>
+       <description>The start lifecycle op</description>
+       <name>start</name>
+       <return-type>void</return-type>
+   </operation>
+   <operation>
+       <description>The stop lifecycle op</description>
+       <name>stop</name>
+       <return-type>void</return-type>
+   </operation>
+   
+</mbean>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/xmdesc/NamingService-xmbean.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/xmdesc/NamingService-xmbean.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/conf/xmdesc/NamingService-xmbean.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mbean PUBLIC
+   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
+   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd"
+[
+   <!ATTLIST interceptor proxyName CDATA #IMPLIED>
+]>
+
+<!-- The JNDI Naming service XMBean
+$Id: NamingService-xmbean.xml 60231 2007-02-03 08:00:43Z scott.stark at jboss.org $
+-->
+<mbean>
+   <description>The standard JBoss JNDI naming server with a custom
+      ProxyFactoryInterceptor interceptor that does replacement of NamingContext
+      objects with the detached invoker proxy.
+   </description>
+
+   <descriptors>
+      <interceptors>
+         <!-- Uncomment to enable NamingContext replacement by the detached
+         invoker proxy. You need to set the proxyName attribute correctly.
+         <interceptor code="org.jboss.naming.interceptors.ProxyFactoryInterceptor"
+            proxyName="jboss:service=proxyFactory,type=pooled,target=Naming"/>
+         -->
+         <interceptor code="org.jboss.mx.interceptor.PersistenceInterceptor2" />
+         <interceptor code="org.jboss.mx.interceptor.ModelMBeanInterceptor" />
+         <interceptor code="org.jboss.mx.interceptor.ObjectReferenceInterceptor" />
+      </interceptors>
+   </descriptors>
+
+   <class>org.jboss.naming.NamingService</class>
+
+   <constructor>
+      <description>The default constructor</description>
+      <name>NamingService</name>
+   </constructor>
+   
+   &defaultAttributes;
+
+   <attribute access="read-only" getMethod="getMethodMap">
+      <name>MethodMap</name>
+      <type>java.util.Map</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getNaming" setMethod="setNaming">
+      <description>Underlying Naming bean instance</description>
+      <name>Naming</name>
+      <type>org.jnp.server.NamingBean</type>
+   </attribute>
+   <attribute access="read-only" getMethod="getNamingInstance">
+      <description>Underlying Naming bean instance</description>
+      <name>NamingInstance</name>
+      <type>org.jnp.interfaces.Naming</type>
+   </attribute>   
+   <attribute access="read-write" getMethod="getCallByValue" setMethod="setCallByValue">
+      <description>The call by value mode. true if all lookups are unmarshalled using
+      the caller's TCL, false if in VM lookups return the value by reference.</description>
+      <name>CallByValue</name>
+      <type>boolean</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getBindAddress" setMethod="setBindAddress">
+      <description>The bind address of the bootstrap lookup socket.</description>
+      <name>BindAddress</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getPort" setMethod="setPort">
+      <description>The listening port for the bootstrap JNP service. Set this to -1
+        to run the NamingService without the JNP invoker listening port.</description>
+      <name>Port</name>
+      <type>int</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getBacklog" setMethod="setBacklog">
+      <description>The bootstrap socket backlog count.</description>
+      <name>Backlog</name>
+      <type>int</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getJNPServerSocketFactory"
+      setMethod="setJNPServerSocketFactory">
+      <description>The bootstrap socket javax.net.ServerSocketFactory class name</description>
+      <name>JNPServerSocketFactory</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getJNPServerSocketFactoryBean"
+      setMethod="setJNPServerSocketFactoryBean">
+      <description>The bootstrap socket javax.net.ServerSocketFactory</description>
+      <name>JNPServerSocketFactoryBean</name>
+      <type>javax.net.ServerSocketFactory</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getRmiPort" setMethod="setRmiPort">
+      <description>The port of the RMI naming service, 0 == anonymous. This
+      is only used if an explicit InvokerProxyFactory has not been set.</description>
+      <name>RmiPort</name>
+      <type>int</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getRmiBindAddress" setMethod="setRmiBindAddress">
+      <description>The RMI service bind address. Empty == all addresses</description>
+      <name>RmiBindAddress</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getClientSocketFactory" setMethod="setClientSocketFactory">
+      <description>The RMI service java.rmi.server.RMIClientSocketFactory class name</description>
+      <name>ClientSocketFactory</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getClientSocketFactoryBean" setMethod="setClientSocketFactoryBean">
+      <description>The RMI service java.rmi.server.RMIServerSocketFactory instance</description>
+      <name>ClientSocketFactoryBean</name>
+      <type>java.rmi.server.RMIClientSocketFactory</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getServerSocketFactory" setMethod="setServerSocketFactory">
+      <description>The RMI service java.rmi.server.RMIServerSocketFactory class name</description>
+      <name>ServerSocketFactory</name>
+      <type>java.lang.String</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getServerSocketFactoryBean" setMethod="setServerSocketFactoryBean">
+      <description>The RMI service java.rmi.server.RMIServerSocketFactory instance</description>
+      <name>ServerSocketFactory</name>
+      <type>java.rmi.server.RMIServerSocketFactory</type>
+   </attribute>
+
+   <attribute access="read-write" getMethod="getInstallGlobalService"
+      setMethod="setInstallGlobalService">
+      <description>Ghe InstallGlobalService which defines whether the MainMBean's
+         Naming server will be installed as the NamingContext.setLocal global
+         value.</description>
+      <name>InstallGlobalService</name>
+      <type>boolean</type>
+   </attribute>
+   <attribute access="read-write" getMethod="getUseGlobalService"
+      setMethod="setUseGlobalService">
+      <description>The UseGlobalService which defines whether the MainMBean's
+         Naming server will initialized from the existing NamingContext.setLocal global
+         value.</description>
+      <name>UseGlobalService</name>
+      <type>boolean</type>
+   </attribute>
+   <attribute access="write-only" setMethod="setLookupPool">
+      <description>The thread pool service used to control the bootstrap lookups</description>
+      <name>LookupPool</name>
+      <type>org.jboss.util.threadpool.BasicThreadPoolMBean</type>
+   </attribute>
+   <attribute access="write-only" setMethod="setInvokerProxyFactory">
+      <description>The detached invoker proxy factory to use for the naming
+      service transport.</description>
+      <name>InvokerProxyFactory</name>
+      <type>org.jboss.invocation.jrmp.server.JRMPProxyFactoryMBean</type>
+   </attribute>
+
+   <!-- Operations -->
+   <operation>
+      <description>The generic invocation operation used by detached invokers
+         to route requests to the service
+      </description>
+      <name>invoke</name>
+      <parameter>
+         <description>The Naming interface method invocation encapsulation
+         </description>
+         <name>invocation</name>
+         <type>org.jboss.invocation.Invocation</type>
+      </parameter>
+      <return-type>java.lang.Object</return-type>
+   </operation>
+   <operation>
+      <description>Create an alias in jndi
+      </description>
+      <name>createAlias</name>
+      <parameter>
+         <description>The from name
+         </description>
+         <name>fromName</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <parameter>
+         <description>The to name
+         </description>
+         <name>toName</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+   <operation>
+      <description>Remove an alias from jndi
+      </description>
+      <name>removeAlias</name>
+      <parameter>
+         <description>The name
+         </description>
+         <name>name</name>
+         <type>java.lang.String</type>
+      </parameter>
+      <return-type>void</return-type>
+   </operation>
+
+   &defaultOperations;   			
+
+</mbean>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/jboss-management.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/jboss-management.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/jboss-minimal.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/jboss-minimal.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/jnpserver.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/jnpserver.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/log4j.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/as/to-copy/server/minimal/lib/log4j.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1327 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<server>
+
+   <!-- Server configuration service -->
+   <mbean
+      code="org.jboss.portal.server.config.ServerConfigService"
+      name="portal:service=ServerConfig"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="ConfigLocation">conf/config.xml</attribute>
+   </mbean>
+
+   <!-- DTD repository -->
+   <mbean
+      code="org.jboss.portal.server.impl.xml.EntityResolverService"
+      name="portal:service=EntityResolver"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="DTDMapping">
+         <properties>
+            <entry key="-//JBoss Portal//DTD JBoss Portlet 2.6//EN">dtd/jboss-portlet_2_6.dtd</entry>
+            <entry key="-//JBoss Portal//DTD JBoss App 2.6//EN">dtd/jboss-app_2_6.dtd</entry>
+            <entry key="-//JBoss Portal//DTD Portal Object 2.6//EN">dtd/portal-object_2_6.dtd</entry>
+            <entry key="-//JBoss Portal//DTD Portlet Instances 2.6//EN">dtd/portlet-instances_2_6.dtd</entry>
+         </properties>
+      </attribute>
+   </mbean>
+
+   <!-- Runtime context for running portlet container -->
+   <mbean
+      code="org.jboss.portal.web.jboss.JBossWebContext"
+      name="portal:service=ServletContainerFactory"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <!-- Portal security services-->
+   <mbean
+      code="org.jboss.portal.security.impl.JBossAuthorizationDomainRegistryImpl"
+      name="portal:service=AuthorizationDomainRegistry"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManagerFactory"
+      name="portal:service=PortalAuthorizationManagerFactory"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="AuthorizationDomainRegistry"
+         proxy-type="attribute">portal:service=AuthorizationDomainRegistry</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.impl.security.JBossPortletSecurityService"
+      name="portal:service=PortletSecurityService"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+	   <depends
+         optional-attribute-name="PortalAuthorizationManagerFactory"
+         proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+      <depends
+         optional-attribute-name="AuthorizationDomainRegistry"
+         proxy-type="attribute">portal:service=AuthorizationDomainRegistry</depends>
+   </mbean>
+
+   <!-- Server stack -->
+   <mbean
+      code="org.jboss.portal.server.aspects.server.SessionLockInterceptor"
+      name="portal:service=Interceptor,type=Server,name=SessionLock"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.server.TransactionInterceptor"
+      name="portal:service=Interceptor,type=Server,name=Transaction"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor"
+      name="portal:service=Interceptor,type=Server,name=UserEvent"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.server.aspects.server.SignOutInterceptor"
+      name="portal:service=Interceptor,type=Server,name=SessionInvalidator"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="ServletContainerFactory"
+         proxy-type="attribute">portal:service=ServletContainerFactory</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.server.UserInterceptor"
+      name="portal:service=Interceptor,type=Server,name=User"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="CacheUser">true</attribute>
+      <depends>portal:service=Module,type=IdentityServiceController</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.server.LocaleInterceptor"
+      name="portal:service=Interceptor,type=Server,name=Locale"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.server.aspects.server.ContentTypeInterceptor"
+      name="portal:service=Interceptor,type=Server,name=ContentType"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.server.impl.invocation.JBossInterceptorStackFactory"
+      name="portal:service=InterceptorStackFactory,type=Server"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends-list optional-attribute-name="InterceptorNames">
+         <depends-list-element>portal:service=Interceptor,type=Server,name=SessionLock</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=Transaction</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=UserEvent</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=SessionInvalidator</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=User</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=Locale</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=ContentType</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!-- Command stack -->
+   <mbean
+      code="org.jboss.portal.core.aspects.controller.ControlInterceptor"
+      name="portal:service=Interceptor,type=Command,name=Control"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="PortalControlPolicy"
+         proxy-type="attribute">portal:service=ControlPolicy,type=Portal</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor"
+      name="portal:service=Interceptor,type=Command,name=ResourceAcquisition"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.controller.ajax.AjaxInterceptor"
+      name="portal:service=Interceptor,type=Command,name=Ajax"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor"
+      name="portal:service=Interceptor,type=Command,name=NavigationalState"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor"
+      name="portal:service=Interceptor,type=Command,name=PortalNode"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="PortalAuthorizationManagerFactory"
+         proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor"
+      name="portal:service=Interceptor,type=Command,name=PolicyEnforcement"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor"
+      name="portal:service=Interceptor,type=Command,name=PageCustomizer"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="TargetContextPath">/portal-core</attribute>
+      <attribute name="HeaderPath">/WEB-INF/jsp/header/header.jsp</attribute>
+      <attribute name="TabsPath">/WEB-INF/jsp/header/tabs.jsp</attribute>
+      <!-- Overrides the value of core.login.namespace in config.xml  -->
+      <!--  attribute name="LoginNamespace">dashboard</attribute -->
+      <depends
+         optional-attribute-name="Config"
+         proxy-type="attribute">portal:service=ServerConfig</depends>
+      <depends
+         optional-attribute-name="PortalAuthorizationManagerFactory"
+         proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+      <depends
+         optional-attribute-name="PortalObjectContainer"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+      
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor"
+      name="portal:service=Interceptor,type=Command,name=EventBroadcaster"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="ListenerRegistry"
+         proxy-type="attribute">portal:service=ListenerRegistry</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.server.impl.invocation.JBossInterceptorStackFactory"
+      name="portal:service=InterceptorStackFactory,type=Command"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends-list optional-attribute-name="InterceptorNames">
+         <depends-list-element>portal:service=Interceptor,type=Command,name=ResourceAcquisition</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=Ajax</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=NavigationalState</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=PortalNode</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=PolicyEnforcement</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=PageCustomizer</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=Control</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=EventBroadcaster</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!-- Instance stack -->
+   <mbean
+      code="org.jboss.portal.core.model.instance.InstanceSecurityInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=InstanceSecurity"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PortalAuthorizationManagerFactory" proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=ConsumerCache"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=PortalSessionSynchronization"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.server.impl.invocation.JBossInterceptorStackFactory"
+      name="portal:service=InterceptorStackFactory,type=Instance"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends-list optional-attribute-name="InterceptorNames">
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=ConsumerCache</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=InstanceSecurity</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=PortalSessionSynchronization</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!-- Producer stack -->
+   <mbean
+      code="org.jboss.portal.portlet.aspects.portlet.ValveInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=Valve"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=ContextTracker"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=SecureTransport"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=ContextDispatcher"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="ServletContainerFactory"
+         proxy-type="attribute">portal:service=ServletContainerFactory</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=PortletSessionSynchronization"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.bridge.BridgeInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=Bridge"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=WindowStates"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.aspects.portlet.ModesInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=Modes"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=ProducerCache"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.portlet.TransactionInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=Transaction"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.portlet.HeaderInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=Header"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.portlet.AjaxInterceptor"
+      name="portal:service=Interceptor,type=Portlet,name=Ajax"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.server.impl.invocation.JBossInterceptorStackFactory"
+      name="portal:service=InterceptorStackFactory,type=Producer"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends-list optional-attribute-name="InterceptorNames">
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Valve</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=SecureTransport</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=ContextDispatcher</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=ContextTracker</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=PortletSessionSynchronization</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=WindowStates</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Bridge</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Modes</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Ajax</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=ProducerCache</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Header</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Transaction</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!-- Theme and layout services -->
+   <mbean
+      code="org.jboss.portal.theme.impl.ThemeServiceImpl"
+      name="portal:service=ThemeService"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="DefaultThemeName">renaissance</attribute>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.theme.impl.LayoutServiceImpl"
+      name="portal:service=LayoutService"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="DefaultLayoutName">generic</attribute>
+      <attribute name="DefaultRenderSetName">divRenderer</attribute>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.theme.impl.PageServiceImpl"
+      name="portal:service=PageService"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="LayoutService"
+         proxy-type="attribute">portal:service=LayoutService</depends>
+      <depends
+         optional-attribute-name="ThemeService"
+         proxy-type="attribute">portal:service=ThemeService</depends>
+   </mbean>
+
+   <!--
+      | Uncomment in clustered mode : replicated cache for hibernate
+      
+      <mbean
+      code="org.jboss.cache.TreeCache"
+      name="portal:service=TreeCache,type=hibernate">
+      <depends>jboss:service=Naming</depends>
+      <depends>jboss:service=TransactionManager</depends>
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.JBossTransactionManagerLookup</attribute>
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+      <attribute name="CacheMode">REPL_SYNC</attribute>
+      <attribute name="ClusterName">portal.hibernate</attribute>
+      </mbean>
+
+      <mbean
+      code="org.jboss.portal.jems.hibernate.JBossTreeCacheProvider"
+      name="portal:service=TreeCacheProvider,type=hibernate">
+      <depends optional-attribute-name="CacheName">portal:service=TreeCache,type=hibernate</depends>
+      </mbean>
+   
+   -->
+
+   <!-- Session factories -->
+   <mbean
+      code="org.jboss.portal.jems.hibernate.SessionFactoryBinder"
+      name="portal:service=Hibernate"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <!-- Uncomment in clustered mode : hibernate depends on its tree cache service 
+         <depends>portal:service=TreeCacheProvider,type=hibernate</depends>
+       -->
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/hibernate/user/hibernate.cfg.xml</attribute>
+      <attribute name="SetupLocation">conf/hibernate/user/setup.txt</attribute>
+      <attribute name="JNDIName">java:/portal/IdentitySessionFactory</attribute>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.jems.hibernate.SessionFactoryBinder"
+      name="portal:service=Hibernate,type=Instance"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <!-- Uncomment in clustered mode : hibernate depends on its tree cache service 
+         <depends>portal:service=TreeCacheProvider,type=hibernate</depends>
+       -->
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/hibernate/instance/hibernate.cfg.xml</attribute>
+      <attribute name="JNDIName">java:/portal/InstanceSessionFactory</attribute>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.jems.hibernate.SessionFactoryBinder"
+      name="portal:service=Hibernate,type=PortalObject"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <!-- Uncomment in clustered mode : hibernate depends on its tree cache service 
+         <depends>portal:service=TreeCacheProvider,type=hibernate</depends>
+       -->
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/hibernate/portal/hibernate.cfg.xml</attribute>
+      <attribute name="JNDIName">java:/portal/PortalObjectSessionFactory</attribute>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.jems.hibernate.SessionFactoryBinder"
+      name="portal:service=Hibernate,type=Portlet"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <!-- Uncomment in clustered mode : hibernate depends on its tree cache service 
+         <depends>portal:service=TreeCacheProvider,type=hibernate</depends>
+       -->
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/hibernate/portlet/hibernate.cfg.xml</attribute>
+      <attribute name="JNDIName">java:/portal/PortletSessionFactory</attribute>
+   </mbean>
+
+   <!--Identity-->
+   <mbean
+      code="org.jboss.portal.identity.service.IdentityEventManagerService"
+      name="portal:service=IdentityEventManager"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.identity.service.IdentityServiceControllerImpl"
+      name="portal:service=Module,type=IdentityServiceController"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>portal:service=Hibernate</depends>
+      <depends
+         optional-attribute-name="IdentityEventBroadcaster"
+         proxy-type="attribute">portal:service=IdentityEventManager</depends>
+      <attribute name="JndiName">java:/portal/IdentityServiceController</attribute>
+      <attribute name="RegisterMBeans">true</attribute>
+      <attribute name="ConfigFile">conf/identity/identity-config.xml</attribute>
+      <attribute name="DefaultConfigFile">conf/identity/standardidentity-config.xml</attribute>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.core.impl.mail.MailModuleImpl"
+      name="portal:service=Module,type=Mail"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss:service=Mail</depends>
+      <depends>portal:service=Module,type=IdentityServiceController</depends>
+      <attribute name="QueueCapacity">-1</attribute>
+      <attribute name="Gateway">localhost</attribute>
+      <attribute name="SmtpUser"></attribute>
+      <attribute name="SmtpPassword"></attribute>
+      <attribute name="JavaMailDebugEnabled">false</attribute>
+      <attribute name="SMTPConnectionTimeout">100000</attribute>
+      <attribute name="SMTPTimeout">10000</attribute>
+      <attribute name="JNDIName">java:portal/MailModule</attribute>
+   </mbean>
+
+   <mbean
+      code="org.jboss.security.auth.login.DynamicLoginConfig"
+      name="portal:service=JAASLoginModule">
+      <depends optional-attribute-name="LoginConfigService">jboss.security:service=XMLLoginConfig</depends>
+      <depends optional-attribute-name="SecurityManagerService">jboss.security:service=JaasSecurityManager</depends>
+      <attribute name="AuthConfig">conf/login-config.xml</attribute>
+   </mbean>
+
+   <!-- a service to schedule activity of the users -->
+   <mbean
+      code="org.jboss.portal.core.identity.UsersActivityStatsServiceImpl"
+      name="portal:service=Module,type=UsersActivityStatsService"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <!--
+        |Uncomment in clustered mode : broadcaster will spread info about user activity in cluster
+      
+
+         <attribute name="ActivityBroadcasterName">portal:service=HAUserActivityNotificationBroadcaster</attribute>
+
+      
+      -->
+   </mbean>
+
+   <!--
+     |Uncomment in clustered mode : broadcaster will spread info about user activity in cluster
+   
+
+   <mbean code="org.jboss.portal.core.identity.UserActivityNotificationBroadcaster" 
+      name="portal:service=HAUserActivityNotificationBroadcaster">
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+   </mbean>
+
+   
+   -->
+
+   <!-- Registries -->
+   <mbean
+      code="org.jboss.portal.portlet.impl.container.PortletApplicationRegistryImpl"
+      name="portal:service=WebAppRegistry"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <!-- Listener registry -->
+   <mbean
+      code="org.jboss.portal.core.event.PortalEventListenerRegistryImpl"
+      name="portal:service=ListenerRegistry"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <!-- The different containers -->
+
+   <mbean
+      code="org.jboss.portal.core.impl.model.instance.persistent.PersistentInstanceContainerContext"
+      name="portal:service=InstanceContainerContext"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>portal:service=Hibernate,type=Instance</depends>
+      <attribute name="SessionFactoryJNDIName">java:/portal/InstanceSessionFactory</attribute>
+      <attribute name="CacheNaturalId">true</attribute>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.core.impl.model.instance.InstanceContainerImpl"
+      name="portal:container=Instance"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="ContainerContext"
+         proxy-type="attribute">portal:service=InstanceContainerContext</depends>
+      <depends
+         optional-attribute-name="StackFactory"
+         proxy-type="attribute">portal:service=InterceptorStackFactory,type=Instance</depends>
+      <depends
+         optional-attribute-name="PortletInvoker"
+         proxy-type="attribute">portal:service=PortletInvoker,type=Federating</depends>
+      <depends
+         optional-attribute-name="PortalAuthorizationManagerFactory"
+         proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+      <depends
+         optional-attribute-name="AuthorizationDomainRegistry"
+         proxy-type="attribute">portal:service=AuthorizationDomainRegistry</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer"
+      name="portal:container=PortalObject"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>portal:service=Hibernate,type=PortalObject</depends>
+	   <depends
+         optional-attribute-name="PortalAuthorizationManagerFactory"
+         proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+      <depends
+         optional-attribute-name="AuthorizationDomainRegistry"
+         proxy-type="attribute">portal:service=AuthorizationDomainRegistry</depends>
+      <depends
+         optional-attribute-name="ContentProviderRegistry"
+         proxy-type="attribute">portal:service=ContentProviderRegistry</depends>
+      <attribute name="SessionFactoryJNDIName">java:/portal/PortalObjectSessionFactory</attribute>
+      <attribute name="CacheNaturalId">true</attribute>
+   </mbean>
+
+   <!-- Customization manager -->
+   <mbean
+      code="org.jboss.portal.core.impl.model.CustomizationManagerService"
+      name="portal:service=CustomizationManager"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+	   <depends
+         optional-attribute-name="PortalAuthorizationManagerFactory"
+         proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+      <depends
+         optional-attribute-name="InstanceContainer"
+         proxy-type="attribute">portal:container=Instance</depends>
+      <depends
+         optional-attribute-name="PortalObjectContainer"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+      <depends>portal:service=Module,type=IdentityServiceController</depends>
+      <attribute name="DashboardContextId">dashboard</attribute>
+   </mbean>
+
+   <!-- The content provider framework -->
+   <mbean
+      code="org.jboss.portal.core.impl.model.content.ContentProviderRegistryService"
+      name="portal:service=ContentProviderRegistry"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.impl.model.content.portlet.InternalPortletContentProvider"
+      name="portal:service=ContentRenderer,type=portlet"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="ContentType">portlet</attribute>
+      <depends
+         optional-attribute-name="Registry"
+         proxy-type="attribute">portal:service=ContentProviderRegistry</depends>
+      <depends
+         optional-attribute-name="CustomizationManager"
+         proxy-type="attribute">portal:service=CustomizationManager</depends>
+      <depends
+         optional-attribute-name="InstanceContainer"
+         proxy-type="attribute">portal:container=Instance</depends>
+      <depends
+         optional-attribute-name="PortalAuthorizationManagerFactory"
+         proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+   </mbean>
+
+   <!-- Integrate identity -->
+   <mbean
+      code="org.jboss.portal.core.identity.DashboardBridge"
+      name="portal:service=IdentityDashboardBridge"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="IdentityEventEmitter"
+         proxy-type="attribute">portal:service=IdentityEventManager</depends>
+      <depends
+         optional-attribute-name="CustomizationManager"
+         proxy-type="attribute">portal:service=CustomizationManager</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.identity.SecurityBridge"
+      name="portal:service=IdentitySecurityBridge"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="IdentityEventEmitter"
+         proxy-type="attribute">portal:service=IdentityEventManager</depends>
+      <depends
+         optional-attribute-name="DynamicLoginConfig"
+         proxy-type="attribute">portal:service=JAASLoginModule</depends>
+   </mbean>
+
+   <!-- Command factories -->
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.DelegatingCommandFactoryService"
+      name="portal:commandFactory=Delegating"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.model.portal.DefaultPortalCommandFactory"
+      name="portal:commandFactory=DefaultPortal"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="NextFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="Container"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.core.model.portal.command.mapping.DefaultPortalObjectPathMapper"
+      name="portal:service=PortalObjectPathMapper,type=Default"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="Container"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+      <attribute name="Namespace"><![CDATA[]]></attribute>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.model.portal.PortalObjectCommandFactory"
+      name="portal:commandFactory=PortalObject"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="Mapper"
+         proxy-type="attribute">portal:service=PortalObjectPathMapper,type=Default</depends>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+      name="portal:commandFactory=Delegate,path=portal"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/portal</attribute>
+      <depends
+         optional-attribute-name="DelegatingFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="DelegateFactory"
+         proxy-type="attribute">portal:commandFactory=PortalObject</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.SignOutCommandFactoryService"
+      name="portal:commandFactory=SignOut"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+      name="portal:commandFactory=Delegate,path=signout"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/signout</attribute>
+      <depends
+         optional-attribute-name="DelegatingFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="DelegateFactory"
+         proxy-type="attribute">portal:commandFactory=SignOut</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.model.portal.command.mapping.DashboardPortalObjectPathMapper"
+      name="portal:service=PortalObjectPathMapper,type=Dashboard"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="CustomizationManager"
+         proxy-type="attribute">portal:service=CustomizationManager</depends>
+      <depends
+         optional-attribute-name="Container"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.model.portal.PortalObjectCommandFactory"
+      name="portal:commandFactory=Dashboard"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="Mapper"
+         proxy-type="attribute">portal:service=PortalObjectPathMapper,type=Dashboard</depends>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+      name="portal:commandFactory=Delegate,path=dashboard"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/dashboard</attribute>
+      <depends
+         optional-attribute-name="DelegatingFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="DelegateFactory"
+         proxy-type="attribute">portal:commandFactory=Dashboard</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.controller.ajax.AjaxCommandFactory"
+      name="portal:commandFactory=Ajax"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+      name="portal:commandFactory=Delegate,path=ajax"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/ajax</attribute>
+      <depends
+         optional-attribute-name="DelegatingFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="DelegateFactory"
+         proxy-type="attribute">portal:commandFactory=Ajax</depends>
+   </mbean>
+
+   <!-- URL factories -->
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.DelegatingURLFactoryService"
+      name="portal:urlFactory=Delegating"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.model.portal.PortalObjectURLFactory"
+      name="portal:urlFactory=PortalObject,type=Default"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Namespace"><![CDATA[]]></attribute>
+      <attribute name="Path">/portal</attribute>
+      <depends
+         optional-attribute-name="Factory"
+         proxy-type="attribute">portal:urlFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="Mapper"
+         proxy-type="attribute">portal:service=PortalObjectPathMapper,type=Default</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.SignOutURLFactory"
+      name="portal:urlFactory=SignOut"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/signout</attribute>
+      <depends
+         optional-attribute-name="Factory"
+         proxy-type="attribute">portal:urlFactory=Delegating</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.model.portal.PortalObjectURLFactory"
+      name="portal:urlFactory=PortalObject,type=Dashboard"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Namespace">dashboard</attribute>
+      <attribute name="Path">/dashboard</attribute>
+      <depends
+         optional-attribute-name="Factory"
+         proxy-type="attribute">portal:urlFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="Mapper"
+         proxy-type="attribute">portal:service=PortalObjectPathMapper,type=Dashboard</depends>
+   </mbean>
+
+   <!-- The federating portlet invoker -->
+   <mbean
+      code="org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService"
+      name="portal:service=PortletInvoker,type=Federating"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <!-- The portlet container invoker -->
+   <mbean
+      code="org.jboss.portal.portlet.container.PortletContainerInvoker"
+      name="portal:service=PortletInvoker,type=Container"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="StackFactory"
+         proxy-type="attribute">portal:service=InterceptorStackFactory,type=Producer</depends>
+      <depends
+         optional-attribute-name="Registry"
+         proxy-type="attribute">portal:service=WebAppRegistry</depends>
+   </mbean>
+
+   <!-- The producer portlet invoker -->
+   <mbean
+      code="org.jboss.portal.core.impl.portlet.state.PersistentPortletStatePersistenceManager"
+      name="portal:service=PersistenceManager,type=Producer"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>portal:service=Hibernate,type=Portlet</depends>
+      <attribute name="SessionFactoryJNDIName">java:/portal/PortletSessionFactory</attribute>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.impl.state.StateManagementPolicyService"
+      name="portal:service=StateManagementPolicy,type=Producer"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="PersistLocally">true</attribute>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.portlet.impl.state.StateConverterV0"
+      name="portal:service=StateConverter,type=Producer"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker"
+      name="portal:service=PortletInvoker,type=Producer"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="PortletInvoker"
+         proxy-type="attribute">portal:service=PortletInvoker,type=Container</depends>
+      <depends
+         optional-attribute-name="PersistenceManager"
+         proxy-type="attribute">portal:service=PersistenceManager,type=Producer</depends>
+      <depends
+         optional-attribute-name="StateManagementPolicy"
+         proxy-type="attribute">portal:service=StateManagementPolicy,type=Producer</depends>
+      <depends
+         optional-attribute-name="StateConverter"
+         proxy-type="attribute">portal:service=StateConverter,type=Producer</depends>
+   </mbean>
+
+   <!-- Register the state portlet invoker on the federating portlet invoker -->
+   <mbean
+      code="org.jboss.portal.portlet.federation.impl.PortletInvokerRegistrationService"
+      name="portal:service=PortletInvokerRegistration,id=local"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Id">local</attribute>
+      <depends
+         optional-attribute-name="PortletInvoker"
+         proxy-type="attribute">portal:service=PortletInvoker,type=Producer</depends>
+      <depends
+         optional-attribute-name="FederatingPortletInvoker"
+         proxy-type="attribute">portal:service=PortletInvoker,type=Federating</depends>
+   </mbean>
+
+   <!-- The classic response handler -->
+   <mbean
+      code="org.jboss.portal.core.controller.classic.ClassicResponseHandler"
+      name="portal:service=ResponseHandler,type=Classic"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <!-- The ajax response handler -->
+   <mbean
+      code="org.jboss.portal.core.controller.ajax.AjaxResponseHandler"
+      name="portal:service=ResponseHandler,type=Ajax"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="PageService"
+         proxy-type="attribute">portal:service=PageService</depends>
+      <depends
+         optional-attribute-name="PortalObjectContainer"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+   </mbean>
+
+   <!-- The response handler selector -->
+   <mbean
+      code="org.jboss.portal.core.controller.handler.ResponseHandlerSelector"
+      name="portal:service=ResponseHandler,type=Selector"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="ClassicResponseHandler"
+         proxy-type="attribute">portal:service=ResponseHandler,type=Classic</depends>
+      <depends
+         optional-attribute-name="AjaxResponseHandler"
+         proxy-type="attribute">portal:service=ResponseHandler,type=Ajax</depends>
+   </mbean>
+
+   <!-- -->
+   <mbean
+      code="org.jboss.portal.core.model.portal.control.page.DefaultPageControlPolicy"
+      name="portal:service=ControlPolicy,type=Page"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="PortalObjectContainer"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.model.portal.control.portal.DefaultPortalControlPolicy"
+      name="portal:service=ControlPolicy,type=Portal"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="PortalObjectContainer"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+   </mbean>
+
+   <!-- The controller -->
+   <mbean
+      code="org.jboss.portal.core.controller.Controller"
+      name="portal:service=Controller"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="PageService"
+         proxy-type="attribute">portal:service=PageService</depends>
+      <depends
+         optional-attribute-name="CommandFactory"
+         proxy-type="attribute">portal:commandFactory=DefaultPortal</depends>
+      <depends
+         optional-attribute-name="URLFactory"
+         proxy-type="attribute">portal:urlFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="StackFactory"
+         proxy-type="attribute">portal:service=InterceptorStackFactory,type=Command</depends>
+      <depends
+         optional-attribute-name="PortalObjectContainer"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+      <depends
+         optional-attribute-name="InstanceContainer"
+         proxy-type="attribute">portal:container=Instance</depends>
+      <depends
+         optional-attribute-name="PortalAuthorizationManagerFactory"
+         proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+      <depends
+         optional-attribute-name="CustomizationManager"
+         proxy-type="attribute">portal:service=CustomizationManager</depends>
+      <depends
+         optional-attribute-name="ContentRendererRegistry"
+         proxy-type="attribute">portal:service=ContentProviderRegistry</depends>
+      <depends
+         optional-attribute-name="ResponseHandler"
+         proxy-type="attribute">portal:service=ResponseHandler,type=Selector</depends>
+      <depends
+         optional-attribute-name="PageControlPolicy"
+         proxy-type="attribute">portal:service=ControlPolicy,type=Page</depends>
+   </mbean>
+
+   <!-- The controller factory -->
+   <mbean
+      code="org.jboss.portal.server.impl.RequestControllerFactoryImpl"
+      name="portal:service=ControllerFactory"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="Controller"
+         proxy-type="attribute">portal:service=Controller</depends>
+   </mbean>
+
+   <!-- -->
+   <mbean
+      code="org.jboss.portal.server.impl.ServerImpl"
+      name="portal:service=Server"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="Config"
+         proxy-type="attribute">portal:service=ServerConfig</depends>
+      <depends
+         optional-attribute-name="ServletContainerFactory"
+         proxy-type="attribute">portal:service=ServletContainerFactory</depends>
+   </mbean>
+
+   <!-- -->
+   <mbean
+      code="org.jboss.portal.server.deployment.jboss.ServerDeployer"
+      name="portal:deployer=PortalWebApp">
+      <depends>jboss.system:service=MainDeployer</depends>
+      <depends>portal:container=PortalObject</depends>
+      <depends>portal:container=Instance</depends>
+      <depends
+         optional-attribute-name="PortalServer"
+         proxy-type="attribute">portal:service=Server</depends>
+   </mbean>
+
+   <!-- Portal object deployment factory -->
+   <!--
+      | Uncomment in cluster mode : have the deployment of objects run as a clustered singleton
+      
+      <mbean
+      code="org.jboss.portal.jems.as.system.LifecycleInvoker"
+      name="portal:service=Controller,target=ObjectDeploymentFactory"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+      <depends>portal:container=PortalObject</depends>
+      <attribute name="Target">portal:deploymentFactory=Object</attribute>
+      <attribute name="OnStart">registerFactory</attribute>
+      <attribute name="OnStop">unregisterFactory</attribute>
+      </mbean>
+   
+   -->
+   <mbean
+      code="org.jboss.portal.core.deployment.jboss.ObjectDeploymentFactory"
+      name="portal:deploymentFactory=Object"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="Deployer"
+         proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends
+         optional-attribute-name="PortalObjectContainer"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+      <depends
+         optional-attribute-name="ContentProviderRegistry"
+         proxy-type="attribute">portal:service=ContentProviderRegistry</depends>
+      <depends
+         optional-attribute-name="PortalObjectEntityResolver"
+         proxy-type="attribute">portal:service=EntityResolver</depends>
+      <attribute name="SetupLocation">conf/data/default-object.xml</attribute>
+      <!-- Set to false in clustered mode, otherwise set to true -->
+      <attribute name="RegistrationControlledByService">true</attribute>
+   </mbean>
+
+   <!--  -->
+   <!--
+      | Uncomment in cluster mode : have the creation of instances run as a clustered singleton
+      
+      <mbean
+      code="org.jboss.portal.jems.as.system.LifecycleInvoker"
+      name="portal:service=Controller,target=PortletAppDeploymentFactory"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+      <depends>portal:container=PortalObject</depends>
+      <attribute name="Target">portal:deploymentFactory=PortletApp</attribute>
+      <attribute name="OnStart">enableCreateInstances</attribute>
+      <attribute name="OnStop">disableCreateInstances</attribute>
+      </mbean>
+   
+   -->
+   <mbean
+      code="org.jboss.portal.core.deployment.jboss.PortletAppDeploymentFactory"
+      name="portal:deploymentFactory=PortletApp"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <!-- 
+      <depends>jboss.ha:service=HASingletonDeployer</depends>
+       -->
+      <depends>portal:service=PortletInvokerRegistration,id=local</depends>
+      <depends
+         optional-attribute-name="Deployer"
+         proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends
+         optional-attribute-name="WebAppRegistry"
+         proxy-type="attribute">portal:service=WebAppRegistry</depends>
+      <depends
+         optional-attribute-name="Config"
+         proxy-type="attribute">portal:service=ServerConfig</depends>
+      <depends
+         optional-attribute-name="PortletSecurityService"
+         proxy-type="attribute">portal:service=PortletSecurityService</depends>
+      <depends
+         optional-attribute-name="InstanceContainer"
+         proxy-type="attribute">portal:container=Instance</depends>
+      <depends
+         optional-attribute-name="JBossPortletEntityResolver"
+         proxy-type="attribute">portal:service=EntityResolver</depends>
+      <depends
+         optional-attribute-name="PortalObjectEntityResolver"
+         proxy-type="attribute">portal:service=EntityResolver</depends>
+      <depends
+         optional-attribute-name="PortletInstancesEntityResolver"
+         proxy-type="attribute">portal:service=EntityResolver</depends>
+      <attribute name="StandardJBossApplicationMetaDataLocation">conf/standardjboss-portlet.xml</attribute>
+      <attribute name="PortletAPIFactoryClassName">org.jboss.portlet.JBossAPIFactory</attribute>
+      <attribute name="PortletInfoFactoryClassName">org.jboss.portal.core.impl.portlet.info.CorePortletInfoFactory</attribute>
+      <!-- Set to false in clustered mode, otherwise set to true -->
+      <attribute name="CreateInstances">true</attribute>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.theme.deployment.jboss.LayoutDeploymentFactory"
+      name="portal:deploymentFactory=Layout"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="Deployer"
+         proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends
+         optional-attribute-name="LayoutService"
+         proxy-type="attribute">portal:service=LayoutService</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.theme.deployment.jboss.LayoutFeaturesDeploymentFactory"
+      name="portal:deploymentFactory=LayoutFeatures"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="Deployer"
+         proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends
+         optional-attribute-name="LayoutService"
+         proxy-type="attribute">portal:service=LayoutService</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.theme.deployment.jboss.ThemeDeploymentFactory"
+      name="portal:deploymentFactory=Theme"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="Deployer"
+         proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends
+         optional-attribute-name="ThemeService"
+         proxy-type="attribute">portal:service=ThemeService</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.server.deployment.WebAppAdapter"
+      name="portal:deployer=Adapter"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="InterceptedDeployer">jboss.web:service=WebServer</depends>
+      <depends
+         optional-attribute-name="Deployer"
+         proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends
+         optional-attribute-name="JBossAppEntityResolver"
+         proxy-type="attribute">portal:service=EntityResolver</depends>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+# Navigation Portlet
+PAGENAME_default=Home
+PAGENAME_Admin=Admin
+PAGENAME_Test=Test
+PAGENAME_News=News 
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_en.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_en.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_en.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+# Navigation Portlet
+PAGENAME_default=Home
+PAGENAME_Admin=Admin
+PAGENAME_Test=Test
+PAGENAME_News=News 
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_es.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_es.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_es.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+# Navigation Portlet
+PAGENAME_default=Home
+PAGENAME_Admin=Administraci�n
+PAGENAME_Test=Ejemplos
+PAGENAME_News=Noticias
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_fr.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_fr.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_fr.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+# Navigation Portlet
+PAGENAME_default=Accueil
+PAGENAME_Admin=Admin
+PAGENAME_Test=Test
+PAGENAME_News=Actualit\u00E9s
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_it.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_it.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/bundles/Resource_it.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+# Navigation Portlet
+PAGENAME_default=Home
+PAGENAME_Admin=Amministrazione
+PAGENAME_Test=Test
+PAGENAME_News=Novita'

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,37 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<properties>
+   <!-- When a window has restrictedaccess : show or hide values are permitted -->
+   <entry key="core.render.window_access_denied">show</entry>
+   <!-- When a window is unavailable : show or hide values are permitted -->
+   <entry key="core.render.window_unavailable">show</entry>
+   <!-- When a window produces an error : show, hide or message_only values are permitted -->
+   <entry key="core.render.window_error">message_only</entry>
+   <!-- When a window produces an internal error : show, hide are permitted -->
+   <entry key="core.render.window_internal_error">show</entry>
+   <!-- When a window is not found : show or hide values are permitted -->
+   <entry key="core.render.window_not_found">show</entry>
+   <!-- Namespace to use when logging-in, use "dashboard" to directly log-in the dashboard otherwise use "default" -->
+   <entry key="core.login.namespace">default</entry>
+</properties>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/data/default-object.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/data/default-object.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/data/default-object.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,386 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portal Object 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
+   
+<deployments>
+   <deployment>
+      <context>
+         <context-name/>
+         <properties>
+            <!--
+            | Set the layout for the default portal, see also portal-layouts.xml.
+            -->
+            <property>
+               <name>layout.id</name>
+               <value>generic</value>
+            </property>
+            <!--
+            | Set the theme for the default portal, see also portal-themes.xml.
+            -->
+            <property>
+               <name>theme.id</name>
+               <value>renaissance</value>
+            </property>
+            <!--
+            | Set the default render set name (used by the render tag in layouts), see also portal-renderSet.xml
+            -->
+            <property>
+               <name>theme.renderSetId</name>
+               <value>divRenderer</value>
+            </property>
+            <!--
+            | The default page name, if the property is not explicited then the default page name is "default"
+            -->
+            <property>
+               <name>portal.defaultObjectName</name>
+               <value>default</value>
+            </property>
+
+            <!-- Control policy config -->
+            <property>
+               <name>control.portal.access_denied</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.unavailable</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.not_found</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.internal_error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.portal.error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.portal.resource_uri</name>
+               <value>/WEB-INF/jsp/error/portal.jsp</value>
+            </property>
+            <property>
+               <name>control.page.access_denied</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.unavailable</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.not_found</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.internal_error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.page.error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.page.resource_uri</name>
+               <value>/WEB-INF/jsp/error/page.jsp</value>
+            </property>
+         </properties>
+      </context>
+   </deployment>
+   <deployment>
+      <parent-ref/>
+      <if-exists>keep</if-exists>
+      <portal>
+         <portal-name>default</portal-name>
+         <supported-modes>
+            <mode>view</mode>
+            <mode>edit</mode>
+            <mode>help</mode>
+         </supported-modes>
+         <supported-window-states>
+            <window-state>normal</window-state>
+            <window-state>minimized</window-state>
+            <window-state>maximized</window-state>
+         </supported-window-states>
+         <security-constraint>
+            <policy-permission>
+               <action-name>viewrecursive</action-name>
+               <action-name>personalizerecursive</action-name>
+               <unchecked/>
+            </policy-permission>
+         </security-constraint>
+         <page>
+            <page-name>default</page-name>
+            <properties>
+               <property>
+                  <name>order</name>
+                  <value>1</value>
+               </property>
+            </properties>
+            <window>
+               <window-name>JSPPortletWindow</window-name>
+               <instance-ref>JSPPortletInstance</instance-ref>
+               <region>left</region>
+               <height>0</height>
+            </window>
+            <window>
+               <window-name>CMSWindow</window-name>
+               <content>
+                  <content-type>cms</content-type>
+                  <content-uri>/default/index.html</content-uri>
+               </content>
+               <region>center</region>
+               <height>1</height>
+            </window>
+            <window>
+               <window-name>IdentityUserPortletWindow</window-name>
+               <instance-ref>IdentityUserPortletInstance</instance-ref>
+               <region>left</region>
+               <height>1</height>
+            </window>
+            <window>
+               <window-name>CurrentUsersPortletWindow</window-name>
+               <instance-ref>CurrentUsersPortletInstance</instance-ref>
+               <region>left</region>
+               <height>2</height>
+            </window>
+         </page>
+      </portal>
+   </deployment>
+   <deployment>
+      <if-exists>keep</if-exists>
+      <context>
+         <context-name>dashboard</context-name>
+         <properties>
+
+            <!--
+            | Set the layout for the default portal, see also portal-layouts.xml.
+            -->
+            <property>
+               <name>layout.id</name>
+               <value>generic</value>
+            </property>
+
+            <!--
+            | Set the theme for the default portal, see also portal-themes.xml.
+            -->
+            <property>
+               <name>theme.id</name>
+               <value>renaissance</value>
+            </property>
+
+            <!--
+            | Set the default render set name (used by the render tag in layouts), see also portal-renderSet.xml
+            -->
+            <property>
+               <name>theme.renderSetId</name>
+               <value>divRenderer</value>
+            </property>
+
+            <!--
+            | Set the dnd property
+            -->
+            <property>
+               <name>theme.dyna.dnd_enabled</name>
+               <value>true</value>
+            </property>
+
+            <!--
+            | Set the partial refresh property
+            -->
+            <property>
+               <name>theme.dyna.partial_refresh_enabled</name>
+               <value>false</value>
+            </property>
+
+            <!-- Control policy config -->
+            <property>
+               <name>control.portal.access_denied</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.unavailable</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.not_found</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.internal_error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.portal.error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.portal.resource_uri</name>
+               <value>/WEB-INF/jsp/error/portal.jsp</value>
+            </property>
+            <property>
+               <name>control.page.access_denied</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.unavailable</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.not_found</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.internal_error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.page.error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.page.resource_uri</name>
+               <value>/WEB-INF/jsp/error/page.jsp</value>
+            </property>
+         </properties>
+      </context>
+   </deployment>
+   <deployment>
+      <parent-ref/>
+      <if-exists>keep</if-exists>
+      <portal>
+         <portal-name>template</portal-name>
+         <supported-modes>
+            <mode>view</mode>
+            <mode>edit</mode>
+            <mode>help</mode>
+         </supported-modes>
+         <supported-window-states>
+            <window-state>normal</window-state>
+            <window-state>minimized</window-state>
+            <window-state>maximized</window-state>
+         </supported-window-states>
+         <page>
+            <page-name>default</page-name>
+            <properties>
+               <property>
+                  <name>order</name>
+                  <value>1</value>
+               </property>
+            </properties>
+            <window>
+               <window-name>JSPPortletWindow</window-name>
+               <instance-ref>JSPPortletInstance</instance-ref>
+               <region>left</region>
+               <height>0</height>
+            </window>
+            <window>
+               <window-name>CMSWindow</window-name>
+               <content>
+                  <content-type>cms</content-type>
+                  <content-uri>/default/index.html</content-uri>
+               </content>
+               <region>center</region>
+               <height>0</height>
+            </window>
+            <window>
+               <window-name>IdentityUserPortletWindow</window-name>
+               <instance-ref>IdentityUserPortletInstance</instance-ref>
+               <region>left</region>
+               <height>1</height>
+            </window>
+         </page>
+      </portal>
+   </deployment>
+   <deployment>
+      <parent-ref/>
+      <if-exists>keep</if-exists>
+      <portal>
+         <portal-name>admin</portal-name>
+         <supported-modes>
+            <mode>view</mode>
+            <mode>edit</mode>
+            <mode>help</mode>
+            <mode>admin</mode>
+         </supported-modes>
+         <supported-window-states>
+            <window-state>normal</window-state>
+            <window-state>minimized</window-state>
+            <window-state>maximized</window-state>
+         </supported-window-states>
+         <security-constraint>
+            <policy-permission>
+               <action-name>viewrecursive</action-name>
+               <role-name>Admin</role-name>
+            </policy-permission>
+         </security-constraint>
+         <page>
+            <page-name>default</page-name>
+            <window>
+               <window-name>AdminPortletWindow</window-name>
+               <instance-ref>AdminPortletInstance</instance-ref>
+               <region>center</region>
+               <height>0</height>
+               <properties>
+                  <property>
+                     <name>theme.renderSetId</name>
+                     <value>emptyRenderer</value>
+                  </property>
+               </properties>
+            </window>
+            <properties>
+               <property>
+                  <name>layout.id</name>
+                  <value>1column</value>
+               </property>
+            </properties>
+         </page>
+         <page>
+            <page-name>Members</page-name>
+            <window>
+               <window-name>IdentityAdminPortletWindow</window-name>
+               <instance-ref>IdentityAdminPortletInstance</instance-ref>
+               <region>center</region>
+               <height>0</height>
+               <properties>
+                  <property>
+                     <name>theme.renderSetId</name>
+                     <value>emptyRenderer</value>
+                  </property>
+               </properties>
+            </window>
+            <properties>
+               <property>
+                  <name>layout.id</name>
+                  <value>1column</value>
+               </property>
+            </properties>
+         </page>
+      </portal>
+   </deployment>   
+</deployments>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/domain.hbm.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/domain.hbm.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/domain.hbm.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,163 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+   "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+   "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+   <class
+      name="org.jboss.portal.core.impl.model.instance.persistent.PersistentInstanceDefinition"
+      table="JBP_INSTANCE">
+      <cache usage="read-write"/>
+      <id
+         name="key"
+         column="PK"
+         access="field">
+         <generator class="native">
+            <param name="sequence">instance_seq</param>
+         </generator>
+      </id>
+      <natural-id>
+         <property
+            name="instanceId"
+            column="ID"
+            not-null="true"
+            unique="false"/>
+      </natural-id>
+      <property
+         name="portletRef"
+         column="PORTLET_REF"
+         not-null="false"
+         unique="false"/>
+      <property
+         name="mutable"
+         column="MODIFIABLE"
+         not-null="true"
+         unique="false"/>
+      <property
+         name="state"
+         column="SER_STATE"
+         not-null="false"
+         unique="false"
+         length="50000000"/>
+      <map
+         name="relatedSecurityBindings"
+         sort="unsorted"
+         inverse="true"
+         cascade="all-delete-orphan"
+         fetch="join">
+         <cache usage="read-write"/>
+         <key column="INSTANCE_PK"/>
+         <index column="ROLE" type="string"/>
+         <one-to-many class="org.jboss.portal.core.impl.model.instance.persistent.PersistentRoleSecurityBinding"/>
+      </map>
+      <map
+         name="relatedCustomizations"
+         inverse="true"
+         cascade="save-update"
+         fetch="select"
+         lazy="extra">
+         <cache usage="read-write"/>
+         <key column="INSTANCE_PK"/>
+         <map-key
+            type="string"
+            column="USER_ID"/>
+         <one-to-many class="org.jboss.portal.core.impl.model.instance.persistent.PersistentInstanceCustomization"/>
+      </map>
+   </class>
+
+   <class
+      name="org.jboss.portal.core.impl.model.instance.persistent.PersistentInstanceCustomization"
+      table="JBP_INSTANCE_PER_USER">
+      <cache usage="read-write"/>
+      <id
+         name="key"
+         column="PK"
+         access="field">
+         <generator class="native">
+            <param name="sequence">instance_seq</param>
+         </generator>
+      </id>
+      <many-to-one
+         name="relatedDefinition"
+         column="INSTANCE_PK"
+         class="org.jboss.portal.core.impl.model.instance.persistent.PersistentInstanceDefinition"
+         cascade="none"
+         fetch="select"/>
+      <property
+         name="state"
+         column="SER_STATE"
+         not-null="false"
+         unique="false"
+         length="50000000"/>
+      <properties
+         name="user_and_portlet_ref"
+         unique="true">
+         <property
+            name="customizationId"
+            column="USER_ID"
+            not-null="true"
+            length="160"/>
+         <property
+            name="portletRef"
+            column="PORTLET_REF"
+            not-null="true"
+            length="170"/>
+      </properties>
+   </class>
+
+   <class
+      name="org.jboss.portal.core.impl.model.instance.persistent.PersistentRoleSecurityBinding"
+      table="JBP_INSTANCE_SECURITY">
+      <cache usage="read-write"/>
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">instance_seq</param>
+         </generator>
+      </id>
+      <property
+         name="role"
+         column="ROLE"
+         not-null="true"
+         unique="false"/>
+      <set
+         name="actions"
+         table="JBP_INSTANCE_SECURITY_ACTIONS"
+         cascade="all-delete-orphan"
+         fetch="join">
+         <cache usage="read-write"/>
+         <key column="PK"/>
+         <element column="ACTIONS" type="string"/>
+      </set>
+      <many-to-one
+         name="instance"
+         column="INSTANCE_PK"
+         class="org.jboss.portal.core.impl.model.instance.persistent.PersistentInstanceDefinition"
+         cascade="none"
+         fetch="select"/>
+   </class>
+</hibernate-mapping> 

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/ehcache.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/ehcache.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/ehcache.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,61 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<ehcache>
+
+   <!-- Sets the path to the directory where cache .data files are created.
+
+        If the path is a Java System Property it is replaced by
+        its value in the running VM.
+
+        The following properties are translated:
+        user.home - User's home directory
+        user.dir - User's current working directory
+        java.io.tmpdir - Default temp file path -->
+   <diskStore path="java.io.tmpdir/instance"/>
+
+
+   <!--Default Cache configuration. These will applied to caches programmatically created through
+   the CacheManager.
+
+   The following attributes are required for defaultCache:
+
+   maxInMemory       - Sets the maximum number of objects that will be created in memory
+   eternal           - Sets whether elements are eternal. If eternal,  timeouts are ignored and the element
+                       is never expired.
+   timeToIdleSeconds - Sets the time to idle for an element before it expires. Is only used
+                       if the element is not eternal. Idle time is now - last accessed time
+   timeToLiveSeconds - Sets the time to live for an element before it expires. Is only used
+                       if the element is not eternal. TTL is now - creation time
+   overflowToDisk    - Sets whether elements can overflow to disk when the in-memory cache
+                       has reached the maxInMemory limit.
+
+   -->
+   <defaultCache
+      maxElementsInMemory="10000"
+      eternal="false"
+      timeToIdleSeconds="1800"
+      timeToLiveSeconds="1800"
+      overflowToDisk="false"
+      />
+</ehcache>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/hibernate.cfg.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/hibernate.cfg.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/instance/hibernate.cfg.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-configuration PUBLIC
+   "-//Hibernate/Hibernate Configuration DTD//EN"
+   "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+<hibernate-configuration>
+   <session-factory>
+      <property name="connection.datasource">java:PortalDS</property>
+      <property name="show_sql">false</property>
+      <property name="cache.use_second_level_cache">true</property>
+      <property name="cache.use_query_cache">true</property>
+
+      <!--
+         | Uncomment in clustered mode : use transactional replicated cache
+         
+         <property name="cache.provider_class">org.jboss.portal.jems.hibernate.JMXTreeCacheProvider</property>
+         <property name="cache.object_name">portal:service=TreeCacheProvider,type=hibernate</property>
+         
+      -->
+
+      <!--
+         | Comment in clustered mode
+         -->
+         <property name="cache.provider_configuration_file_resource_path">conf/hibernate/instance/ehcache.xml</property>
+         <property name="cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
+         <!--
+      -->
+
+      <!-- Force the dialect instead of using autodetection -->
+      <!--
+      <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
+      -->
+
+      <!-- Mapping files -->
+      <mapping resource="conf/hibernate/instance/domain.hbm.xml"/>
+   </session-factory>
+</hibernate-configuration>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/domain.hbm.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/domain.hbm.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/domain.hbm.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,206 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+   "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+   "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+   <class
+      name="org.jboss.portal.core.impl.model.portal.ObjectNode"
+      table="JBP_OBJECT_NODE">
+      <cache usage="read-write"/>
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">portal_seq</param>
+         </generator>
+      </id>
+      <natural-id>
+         <property
+            name="path"
+            column="PATH"
+            type="org.jboss.portal.core.impl.model.portal.PortalObjectIdUserType"
+            not-null="false"
+            unique="false"/>
+      </natural-id>
+      <property
+         name="name"
+         column="NAME"
+         not-null="false"/>
+      <map
+         name="children"
+         inverse="true"
+         cascade="none"
+         fetch="select"
+         lazy="extra">
+         <cache usage="read-write"/>
+         <key column="PARENT_KEY"/>
+         <map-key
+            type="org.jboss.portal.jems.hibernate.MagicString"
+            column="NAME"/>
+         <one-to-many class="org.jboss.portal.core.impl.model.portal.ObjectNode"/>
+      </map>
+      <many-to-one
+         name="parent"
+         column="PARENT_KEY"
+         not-null="false"
+         cascade="none"
+         fetch="select"/>
+      <one-to-one
+         name="object"
+         class="org.jboss.portal.core.impl.model.portal.PortalObjectImpl"
+         cascade="none"
+         fetch="select">
+      </one-to-one>
+      <map
+         name="securityConstraints"
+         inverse="true"
+         cascade="all-delete-orphan"
+         fetch="join">
+         <cache usage="read-write"/>
+         <key column="NODE_KEY"/>
+		   <index
+            column="ROLE"
+            type="string"/>
+		   <one-to-many class="org.jboss.portal.core.impl.model.portal.ObjectNodeSecurityConstraint"/>
+      </map>
+   </class>
+   <class
+      name="org.jboss.portal.core.impl.model.portal.PortalObjectImpl"
+      table="JBP_PORTAL_OBJECT">
+      <cache usage="read-write"/>
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Long">
+         <generator class="foreign">
+            <param name="property">objectNode</param>
+         </generator>
+      </id>
+      <property
+         name="listener"
+         column="LISTENER"/>
+      <map
+         name="declaredPropertyMap"
+         cascade="all-delete-orphan"
+         table="JBP_PORTAL_OBJECT_PROPS"
+         fetch="join">
+         <cache usage="read-write"/>
+         <key column="OBJECT_KEY"/>
+         <map-key
+            type="string"
+            column="NAME"/>
+         <element
+            type="string"
+            column="jbp_VALUE"
+            not-null="false"/>
+      </map>
+      <one-to-one
+         name="objectNode"
+         class="org.jboss.portal.core.impl.model.portal.ObjectNode"
+         cascade="none"
+         constrained="true"
+         fetch="select"/>
+      <joined-subclass
+         name="org.jboss.portal.core.impl.model.portal.ContextImpl"
+         table="JBP_CONTEXT">
+         <key column="PK"/>
+      </joined-subclass>
+      <joined-subclass
+         name="org.jboss.portal.core.impl.model.portal.PortalImpl"
+         table="JBP_PORTAL">
+         <key column="PK"/>
+         <set
+            name="modes"
+            table="JBP_PORTAL_MODE"
+            cascade="all-delete-orphan"
+            fetch="join">
+            <cache usage="read-write"/>
+            <key column="PK"/>
+            <element
+               column="name"
+               type="org.jboss.portal.core.hibernate.ModeUserType"/>
+         </set>
+         <set
+            name="windowStates"
+            table="JBP_PORTAL_WINDOW_STATE"
+            cascade="all-delete-orphan"
+            fetch="join">
+            <cache usage="read-write"/>
+            <key column="PK"/>
+            <element
+               column="name"
+               type="org.jboss.portal.core.hibernate.WindowStateUserType"/>
+         </set>
+      </joined-subclass>
+      <joined-subclass
+         name="org.jboss.portal.core.impl.model.portal.PageImpl"
+         table="JBP_PAGE">
+         <key column="PK"/>
+      </joined-subclass>
+      <joined-subclass
+         name="org.jboss.portal.core.impl.model.portal.WindowImpl"
+         table="JBP_WINDOW">
+         <key column="PK"/>
+         <property
+            name="URI"
+            column="INSTANCE_REF"/>
+      </joined-subclass>
+   </class>
+	
+   <class
+      name="org.jboss.portal.core.impl.model.portal.ObjectNodeSecurityConstraint"
+      table="JBP_OBJECT_NODE_SEC">
+      <cache usage="read-write"/> 
+	   <id
+         name="key"
+         column="PK">
+         <generator class="native">
+            <param name="sequence">sec_seq</param>
+         </generator>
+      </id>
+      <property
+         name="role"
+         column="ROLE"
+         not-null="true"
+         unique="false"/>
+	   <set
+         name="actions"
+         table="JBP_OBJECT_NODE_SEC_ACTIONS"
+         cascade="all-delete-orphan"
+         fetch="join">
+         <cache usage="read-write"/>
+         <key column="PK"/>
+         <element column="ACTIONS" type="string"/>
+      </set>
+      <many-to-one
+         name="objectNode"
+         column="NODE_KEY"
+         class="org.jboss.portal.core.impl.model.portal.ObjectNode"
+         cascade="none"
+         fetch="select"/>
+   </class>
+</hibernate-mapping>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/ehcache.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/ehcache.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/ehcache.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,61 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<ehcache>
+
+    <!-- Sets the path to the directory where cache .data files are created.
+
+         If the path is a Java System Property it is replaced by
+         its value in the running VM.
+
+         The following properties are translated:
+         user.home - User's home directory
+         user.dir - User's current working directory
+         java.io.tmpdir - Default temp file path -->
+   <diskStore path="java.io.tmpdir/portal"/>
+
+
+   <!--Default Cache configuration. These will applied to caches programmatically created through
+   the CacheManager.
+
+   The following attributes are required for defaultCache:
+
+   maxInMemory       - Sets the maximum number of objects that will be created in memory
+   eternal           - Sets whether elements are eternal. If eternal,  timeouts are ignored and the element
+                       is never expired.
+   timeToIdleSeconds - Sets the time to idle for an element before it expires. Is only used
+                       if the element is not eternal. Idle time is now - last accessed time
+   timeToLiveSeconds - Sets the time to live for an element before it expires. Is only used
+                       if the element is not eternal. TTL is now - creation time
+   overflowToDisk    - Sets whether elements can overflow to disk when the in-memory cache
+                       has reached the maxInMemory limit.
+
+   -->
+   <defaultCache
+      maxElementsInMemory="10000"
+      eternal="false"
+      timeToIdleSeconds="1800"
+      timeToLiveSeconds="1800"
+      overflowToDisk="false"
+      />
+</ehcache>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/hibernate.cfg.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/hibernate.cfg.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portal/hibernate.cfg.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-configuration PUBLIC
+   "-//Hibernate/Hibernate Configuration DTD//EN"
+   "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+<hibernate-configuration>
+   <session-factory>
+      <property name="connection.datasource">java:PortalDS</property>
+      <property name="show_sql">false</property>
+      <property name="cache.use_second_level_cache">true</property>
+      <property name="cache.use_query_cache">true</property>
+
+      <!--
+         | Uncomment in clustered mode : use transactional replicated cache
+         
+         <property name="cache.provider_class">org.jboss.portal.jems.hibernate.JMXTreeCacheProvider</property>
+         <property name="cache.object_name">portal:service=TreeCacheProvider,type=hibernate</property>
+         
+      -->
+
+      <!--
+         | Comment in clustered mode
+         -->
+         <property name="cache.provider_configuration_file_resource_path">conf/hibernate/portal/ehcache.xml</property>
+         <property name="cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
+         <!--
+      -->
+
+      <!-- Force the dialect instead of using autodetection -->
+      <!--
+      <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
+      -->
+
+      <!-- Mapping files -->
+      <mapping resource="conf/hibernate/portal/domain.hbm.xml"/>
+   </session-factory>
+</hibernate-configuration>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/domain.hbm.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/domain.hbm.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/domain.hbm.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,267 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+   "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+   "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+ <hibernate-mapping>
+   <class
+      name="org.jboss.portal.core.impl.portlet.state.PersistentPortletState"
+      table="JBP_PORTLET_STATE">
+      <cache usage="read-write"/>
+      <id
+         name="key"
+         column="PK"
+         access="field">
+         <generator class="native">
+            <param name="sequence">portlet_seq</param>
+         </generator>
+      </id>
+      <property
+         name="portletId"
+         column="PORTLET_ID"
+         not-null="true"
+         unique="false"/>
+      <many-to-one
+         name="relatedRegistration"
+         column="REGISTRATION_ID"
+         class="org.jboss.portal.core.impl.portlet.state.PersistentRegistration"
+         not-null="false"/>
+      <property
+         name="creationTime"
+         column="REGISTRATION_TIME"
+         not-null="false"
+         unique="false"/>
+      <property
+         name="terminationTime"
+         column="TERMINATION_TIME"
+         not-null="false"
+         unique="false"/>
+      <map
+         name="entries"
+         sort="unsorted"
+         inverse="false"
+         cascade="all-delete-orphan"
+         fetch="join">
+         <cache usage="read-write"/>
+         <key column="ENTRY_KEY"/>
+         <index
+            column="NAME"
+            type="java.lang.String"/>
+         <one-to-many class="org.jboss.portal.core.impl.portlet.state.PersistentPortletStateEntry"/>
+      </map>
+      <set
+         name="children"
+         inverse="true"
+         cascade="save-update"
+         fetch="select"
+         lazy="extra">
+         <cache usage="read-write"/>
+         <key column="PARENT_PK"/>
+         <one-to-many class="org.jboss.portal.core.impl.portlet.state.PersistentPortletState"/>
+      </set>
+      <many-to-one
+         name="parent"
+         column="PARENT_PK"
+         class="org.jboss.portal.core.impl.portlet.state.PersistentPortletState"
+         cascade="none"
+         fetch="select"/>
+   </class>
+
+   <class
+      name="org.jboss.portal.core.impl.portlet.state.PersistentPortletStateEntry"
+      table="JBP_PORTLET_STATE_ENTRY">
+      <cache usage="read-write"/>
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">portlet_seq</param>
+         </generator>
+      </id>
+      <array
+         name="strings"
+         table="JBP_PORTLET_STATE_ENTRY_VALUE"
+         cascade="all"
+         fetch="join">
+         <cache usage="read-write"/>
+         <key column="PK"/>
+         <index column="IDX"/>
+         <element
+            column="jbp_value"
+            type="java.lang.String"
+            not-null="false"
+            unique="false"/>
+      </array>
+      <property
+         name="name"
+         column="NAME"
+         type="java.lang.String"
+         update="false"
+         insert="true"
+         not-null="false"/>
+      <property
+         name="type"
+         column="TYPE"
+         type="int"
+         not-null="true"
+         unique="false"/>
+      <property
+         name="readOnly"
+         column="READ_ONLY"
+         type="boolean"
+         not-null="true"
+         unique="false"/>
+   </class>
+
+   <class
+      name="org.jboss.portal.core.impl.portlet.state.PersistentConsumerGroup"
+      table="JBP_PORTLET_GROUP">
+      <cache usage="read-write"/>
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">portlet_seq</param>
+         </generator>
+      </id>
+      <property
+         name="persistentName"
+         column="ID"
+         type="java.lang.String"
+         not-null="true"
+         unique="true"/>
+      <property
+         name="persistentStatus"
+         column="STATUS"
+         type="org.jboss.portal.core.impl.portlet.state.RegistrationStatusUserType"/>
+      <map
+         name="relatedConsumers"
+         inverse="true">
+         <cache usage="read-write"/>
+         <key column="GROUP_PK"/>
+         <map-key
+            type="string"
+            column="ID"/>
+         <one-to-many class="org.jboss.portal.core.impl.portlet.state.PersistentConsumer"/>
+      </map>
+   </class>
+   <class
+      name="org.jboss.portal.core.impl.portlet.state.PersistentConsumer"
+      table="JBP_PORTLET_CONSUMER">
+      <cache usage="read-write"/>
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">portlet_seq</param>
+         </generator>
+      </id>
+      <property
+         name="persistentId"
+         column="ID"
+         type="java.lang.String"
+         not-null="true"
+         unique="true"/>
+      <property
+         name="persistentName"
+         column="NAME"
+         type="java.lang.String"/>
+      <property
+         name="persistentAgent"
+         column="AGENT"
+         type="java.lang.String"/>
+      <property
+         name="persistentStatus"
+         column="STATUS"
+         type="org.jboss.portal.core.impl.portlet.state.RegistrationStatusUserType"/>
+      <many-to-one
+         name="relatedGroup"
+         column="GROUP_PK"
+         class="org.jboss.portal.core.impl.portlet.state.PersistentConsumerGroup"/>
+      <set
+         name="relatedRegistrations"
+         inverse="true">
+         <cache usage="read-write"/>
+         <key column="CONSUMER_PK"/>
+         <one-to-many class="org.jboss.portal.core.impl.portlet.state.PersistentRegistration"/>
+      </set>
+   </class>
+   <class
+      name="org.jboss.portal.core.impl.portlet.state.PersistentRegistration"
+      table="JBP_PORTLET_REG">
+      <cache usage="read-write"/>
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">portlet_seq</param>
+         </generator>
+      </id>
+      <map
+         name="persistentProperties"
+         table="JBP_PORTLET_REG_PROPERTIES"
+         sort="unsorted"
+         inverse="false"
+         cascade="all-delete-orphan"
+         fetch="join">
+         <cache usage="read-write"/>
+         <key column="REGISTRATION_PK"/>
+         <map-key
+            type="org.jboss.portal.jems.hibernate.QNameUserType"
+            column="QNAME"/>
+         <element
+            type="string"
+            column="VALUE"/>
+      </map>
+      <property
+         name="persistentHandle"
+         column="HANDLE"
+         type="java.lang.String"/>
+      <property
+         name="persistentStatus"
+         column="STATUS"
+         type="org.jboss.portal.core.impl.portlet.state.RegistrationStatusUserType"/>
+      <many-to-one
+         name="relatedConsumer"
+         column="CONSUMER_PK"
+         class="org.jboss.portal.core.impl.portlet.state.PersistentConsumer"
+         not-null="true"
+         update="false"/>
+      <set
+         name="relatedPortletStates"
+         inverse="true"
+         cascade="save-update"
+         fetch="select"
+         lazy="extra">
+         <cache usage="read-write"/>
+         <key column="REGISTRATION_ID"/>
+         <one-to-many class="org.jboss.portal.core.impl.portlet.state.PersistentPortletState"/>
+      </set>
+   </class>
+</hibernate-mapping>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/ehcache.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/ehcache.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/ehcache.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,61 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<ehcache>
+
+    <!-- Sets the path to the directory where cache .data files are created.
+
+         If the path is a Java System Property it is replaced by
+         its value in the running VM.
+
+         The following properties are translated:
+         user.home - User's home directory
+         user.dir - User's current working directory
+         java.io.tmpdir - Default temp file path -->
+   <diskStore path="java.io.tmpdir/portlet"/>
+
+
+   <!--Default Cache configuration. These will applied to caches programmatically created through
+   the CacheManager.
+
+   The following attributes are required for defaultCache:
+
+   maxInMemory       - Sets the maximum number of objects that will be created in memory
+   eternal           - Sets whether elements are eternal. If eternal,  timeouts are ignored and the element
+                       is never expired.
+   timeToIdleSeconds - Sets the time to idle for an element before it expires. Is only used
+                       if the element is not eternal. Idle time is now - last accessed time
+   timeToLiveSeconds - Sets the time to live for an element before it expires. Is only used
+                       if the element is not eternal. TTL is now - creation time
+   overflowToDisk    - Sets whether elements can overflow to disk when the in-memory cache
+                       has reached the maxInMemory limit.
+
+   -->
+   <defaultCache
+      maxElementsInMemory="10000"
+      eternal="false"
+      timeToIdleSeconds="1800"
+      timeToLiveSeconds="1800"
+      overflowToDisk="false"
+      />
+</ehcache>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/hibernate.cfg.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/hibernate.cfg.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/portlet/hibernate.cfg.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-configuration PUBLIC
+   "-//Hibernate/Hibernate Configuration DTD//EN"
+   "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+<hibernate-configuration>
+   <session-factory>
+      <property name="connection.datasource">java:PortalDS</property>
+      <property name="show_sql">false</property>
+      <property name="cache.use_second_level_cache">true</property>
+      <property name="cache.use_query_cache">true</property>
+
+      <!--
+         | Uncomment in clustered mode : use transactional replicated cache
+         
+         <property name="cache.provider_class">org.jboss.portal.jems.hibernate.JMXTreeCacheProvider</property>
+         <property name="cache.object_name">portal:service=TreeCacheProvider,type=hibernate</property>
+         
+      -->
+
+      <!--
+         | Comment in clustered mode
+         -->
+         <property name="cache.provider_configuration_file_resource_path">conf/hibernate/portlet/ehcache.xml</property>
+         <property name="cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
+         <!--
+      -->
+
+      <!-- Force the dialect instead of using autodetection -->
+      <!--
+      <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
+      -->
+
+      <!-- Mapping files -->
+      <mapping resource="conf/hibernate/portlet/domain.hbm.xml"/>
+   </session-factory>
+</hibernate-configuration>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/domain.hbm.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/domain.hbm.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/domain.hbm.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,177 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+   "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+   "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+   <class
+      name="org.jboss.portal.identity.db.HibernateUserImpl"
+      table="jbp_users">
+      <cache usage="read-write"/>
+       <id
+          name="key"
+          column="jbp_uid"
+          type="java.lang.Long">
+          <generator class="native">
+             <param name="sequence">user_seq</param>
+          </generator>
+       </id>
+      <property
+         name="userName"
+         column="jbp_uname"
+         type="java.lang.String"
+         update="false"
+         insert="true"
+         unique="true"/>
+       <map
+          name="dynamic"
+          table="jbp_user_prop"
+          lazy="false"
+          sort="unsorted"
+          cascade="all">
+          <cache usage="read-write"/>
+          <key column="jbp_uid"/>
+          <index
+             column="jbp_name"
+             type="java.lang.String"/>
+          <element
+             column="jbp_value"
+             type="java.lang.String"
+             not-null="false"
+             unique="false"/>
+       </map>
+      <property
+         name="givenName"
+         column="jbp_givenname"
+         type="java.lang.String"
+         update="true"
+         insert="true"
+         unique="false"/>
+       <property
+          name="familyName"
+          column="jbp_familyname"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="password"
+          column="jbp_password"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="realEmail"
+          column="jbp_realemail"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="fakeEmail"
+          column="jbp_fakeemail"
+          type="java.lang.String"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="registrationDate"
+          column="jbp_regdate"
+          type="java.util.Date"
+          update="false"
+          insert="true"
+          unique="false"/>
+       <property
+          name="viewRealEmail"
+          column="jbp_viewrealemail"
+          type="boolean"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <property
+          name="enabled"
+          column="jbp_enabled"
+          type="boolean"
+          update="true"
+          insert="true"
+          unique="false"/>
+       <set
+          name="roles"
+          table="jbp_role_membership"
+          lazy="false"
+          inverse="false"
+          cascade="none"
+          sort="unsorted">
+          <cache usage="read-write"/>
+          <key column="jbp_uid"/>
+          <many-to-many
+             class="org.jboss.portal.identity.db.HibernateRoleImpl"
+             column="jbp_rid"
+             outer-join="true"/>
+       </set>
+   </class>
+   <class
+      name="org.jboss.portal.identity.db.HibernateRoleImpl"
+      table="jbp_roles">
+      <cache usage="read-write"/>
+      <id
+         name="key"
+         column="jbp_rid"
+         type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">user_seq</param>
+         </generator>
+      </id>
+      <property
+         name="name"
+         column="jbp_name"
+         type="java.lang.String"
+         update="false"
+         insert="true"
+         unique="true"/>
+      <property
+         name="displayName"
+         column="jbp_displayname"
+         type="java.lang.String"
+         update="true"
+         insert="true"
+         unique="true"/>
+      <set
+         name="users"
+         table="jbp_role_membership"
+         lazy="true"
+         inverse="true"
+         cascade="none"
+         sort="unsorted">
+         <cache usage="read-write"/>
+         <key column="jbp_rid"/>
+         <many-to-many
+            class="org.jboss.portal.identity.db.HibernateUserImpl"
+            column="jbp_uid"
+            outer-join="false"/>
+      </set>
+   </class>
+</hibernate-mapping>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/ehcache.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/ehcache.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/ehcache.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,61 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<ehcache>
+
+    <!-- Sets the path to the directory where cache .data files are created.
+
+         If the path is a Java System Property it is replaced by
+         its value in the running VM.
+
+         The following properties are translated:
+         user.home - User's home directory
+         user.dir - User's current working directory
+         java.io.tmpdir - Default temp file path -->
+   <diskStore path="java.io.tmpdir/user"/>
+
+
+   <!--Default Cache configuration. These will applied to caches programmatically created through
+   the CacheManager.
+
+   The following attributes are required for defaultCache:
+
+   maxInMemory       - Sets the maximum number of objects that will be created in memory
+   eternal           - Sets whether elements are eternal. If eternal,  timeouts are ignored and the element
+                       is never expired.
+   timeToIdleSeconds - Sets the time to idle for an element before it expires. Is only used
+                       if the element is not eternal. Idle time is now - last accessed time
+   timeToLiveSeconds - Sets the time to live for an element before it expires. Is only used
+                       if the element is not eternal. TTL is now - creation time
+   overflowToDisk    - Sets whether elements can overflow to disk when the in-memory cache
+                       has reached the maxInMemory limit.
+
+   -->
+   <defaultCache
+      maxElementsInMemory="10000"
+      eternal="false"
+      timeToIdleSeconds="1800"
+      timeToLiveSeconds="1800"
+      overflowToDisk="false"
+      />
+</ehcache>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/hibernate.cfg.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/hibernate.cfg.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/hibernate.cfg.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-configuration PUBLIC
+   "-//Hibernate/Hibernate Configuration DTD//EN"
+   "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+<hibernate-configuration>
+   <session-factory>
+      <property name="connection.datasource">java:PortalDS</property>
+      <property name="show_sql">false</property>
+      <property name="cache.use_second_level_cache">true</property>
+      <property name="cache.use_query_cache">true</property>
+
+      <!--
+         | Uncomment in clustered mode : use transactional replicated cache
+         
+         <property name="cache.provider_class">org.jboss.portal.jems.hibernate.JMXTreeCacheProvider</property>
+         <property name="cache.object_name">portal:service=TreeCacheProvider,type=hibernate</property>
+         
+      -->
+
+      <!--
+         | Comment in clustered mode
+         -->
+         <property name="cache.provider_configuration_file_resource_path">conf/hibernate/user/ehcache.xml</property>
+         <property name="cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
+         <!--
+      -->
+
+      <!-- Force the dialect instead of using autodetection -->
+      <!--
+      <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
+      -->
+
+      <!-- Mapping files -->
+      <mapping resource="conf/hibernate/user/domain.hbm.xml"/>
+   </session-factory>
+</hibernate-configuration>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/setup.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/setup.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/user/setup.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,49 @@
+// This bsh script setup the default content of the portal.
+// It is called when the SessionFactoryBinder service has created a schema and needs to populate it
+import org.jboss.portal.common.io.IOTools;
+import org.jboss.portal.common.util.Tools;
+import org.jboss.portal.identity.db.HibernateUserImpl;
+import org.jboss.portal.identity.db.HibernateRoleImpl;
+
+try
+{
+   session = SessionFactory.openSession();
+   tx = session.beginTransaction();
+
+   //
+   HibernateRoleImpl adminRole = new HibernateRoleImpl("Admin", "Administrators");
+   HibernateRoleImpl userRole = new HibernateRoleImpl("User", "Users");
+
+   //
+   HibernateUserImpl admin = new HibernateUserImpl("admin");
+   admin.setPassword(Tools.md5AsHexString("admin"));
+   admin.setRealEmail("admin at portal.com");
+   admin.setViewRealEmail(true);
+   admin.setEnabled(true);
+
+   //
+   admin.getRoles().add(adminRole);
+   adminRole.getUsers().add(admin);
+
+   //
+   HibernateUserImpl user = new HibernateUserImpl("user");
+   user.setPassword(Tools.md5AsHexString("user"));
+   user.setRealEmail("user at portal.com");
+   user.setViewRealEmail(true);
+   user.setEnabled(true);
+
+   //
+   user.getRoles().add(userRole);
+   userRole.getUsers().add(user);
+
+   //
+   session.save(adminRole);
+   session.save(userRole);
+   session.save(admin);
+   session.save(user);
+   tx.commit();
+}
+finally
+{
+   IOTools.safeClose(session);
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/workflow/ehcache.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/workflow/ehcache.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/workflow/ehcache.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,61 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<ehcache>
+
+    <!-- Sets the path to the directory where cache .data files are created.
+
+         If the path is a Java System Property it is replaced by
+         its value in the running VM.
+
+         The following properties are translated:
+         user.home - User's home directory
+         user.dir - User's current working directory
+         java.io.tmpdir - Default temp file path -->
+   <diskStore path="java.io.tmpdir/workflow"/>
+
+
+   <!--Default Cache configuration. These will applied to caches programmatically created through
+   the CacheManager.
+
+   The following attributes are required for defaultCache:
+
+   maxInMemory       - Sets the maximum number of objects that will be created in memory
+   eternal           - Sets whether elements are eternal. If eternal,  timeouts are ignored and the element
+                       is never expired.
+   timeToIdleSeconds - Sets the time to idle for an element before it expires. Is only used
+                       if the element is not eternal. Idle time is now - last accessed time
+   timeToLiveSeconds - Sets the time to live for an element before it expires. Is only used
+                       if the element is not eternal. TTL is now - creation time
+   overflowToDisk    - Sets whether elements can overflow to disk when the in-memory cache
+                       has reached the maxInMemory limit.
+
+   -->
+   <defaultCache
+      maxElementsInMemory="10000"
+      eternal="false"
+      timeToIdleSeconds="120"
+      timeToLiveSeconds="120"
+      overflowToDisk="false"
+      />
+</ehcache>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/workflow/hibernate.cfg.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/workflow/hibernate.cfg.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/hibernate/workflow/hibernate.cfg.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,170 @@
+<?xml version='1.0' encoding='utf-8'?>
+
+<!DOCTYPE hibernate-configuration PUBLIC
+          "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
+          "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+
+<hibernate-configuration>
+  <session-factory>
+    <!-- jdbc connection properties -->
+    <property name="connection.datasource">java:PortalDS</property>
+
+    <!-- other hibernate properties -->
+    <property name="show_sql">false</property>
+    <property name="hibernate.format_sql">true</property>
+    <property name="hibernate.use_sql_comments">true</property>
+
+    <!--  caching properties -->
+    <property name="cache.use_second_level_cache">true</property>
+    <property name="cache.use_query_cache">true</property>
+    <property name="cache.provider_configuration_file_resource_path">conf/hibernate/workflow/ehcache.xml</property>
+    <property name="cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
+
+    <!-- managed environment transaction configuration -->
+    <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
+    <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
+
+    <!-- ############################################ -->
+    <!-- # mapping files with external dependencies # -->
+    <!-- ############################################ -->
+
+    <!-- following mapping file has a dependendy on   -->
+    <!-- 'bsh-{version}.jar'.                         -->
+    <!-- uncomment this if you don't have bsh on your -->
+    <!-- classpath.  you won't be able to use the     -->
+    <!-- script element in process definition files   -->
+    <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>
+
+    <!-- following mapping files have a dependendy on  -->
+    <!-- 'jbpm-identity-{version}.jar', mapping files  -->
+    <!-- of the pluggable jbpm identity component.     -->
+    <!-- comment out the following 3 lines if you don't-->
+    <!-- want to use the default jBPM identity mgmgt   -->
+    <!-- component                                     -->
+    <mapping resource="org/jbpm/identity/User.hbm.xml"/>
+    <mapping resource="org/jbpm/identity/Group.hbm.xml"/>
+    <mapping resource="org/jbpm/identity/Membership.hbm.xml"/>
+
+    <!-- ###################### -->
+    <!-- # jbpm mapping files # -->
+    <!-- ###################### -->
+
+    <!-- hql queries and type defs -->
+    <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml"/>
+
+    <!-- graph.def mapping files -->
+    <mapping resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/def/Node.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/def/Transition.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/def/Event.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/def/Action.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/def/SuperState.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
+    <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>
+
+    <!-- graph.node mapping files -->
+    <mapping resource="org/jbpm/graph/node/StartState.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/node/EndState.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/node/ProcessState.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/node/Decision.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/node/Fork.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/node/Join.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/node/State.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/node/TaskNode.hbm.xml"/>
+
+    <!-- context.def mapping files -->
+    <mapping resource="org/jbpm/context/def/ContextDefinition.hbm.xml"/>
+    <mapping resource="org/jbpm/context/def/VariableAccess.hbm.xml"/>
+
+    <!-- taskmgmt.def mapping files -->
+    <mapping resource="org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/def/Swimlane.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/def/Task.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/def/TaskController.hbm.xml"/>
+
+    <!-- module.def mapping files -->
+    <mapping resource="org/jbpm/module/def/ModuleDefinition.hbm.xml"/>
+
+    <!-- bytes mapping files -->
+    <mapping resource="org/jbpm/bytes/ByteArray.hbm.xml"/>
+
+    <!-- file.def mapping files -->
+    <mapping resource="org/jbpm/file/def/FileDefinition.hbm.xml"/>
+
+    <!-- scheduler.def mapping files -->
+    <mapping resource="org/jbpm/scheduler/def/CreateTimerAction.hbm.xml"/>
+    <mapping resource="org/jbpm/scheduler/def/CancelTimerAction.hbm.xml"/>
+
+    <!-- graph.exe mapping files -->
+    <mapping resource="org/jbpm/graph/exe/Comment.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/exe/ProcessInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/exe/Token.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/exe/RuntimeAction.hbm.xml"/>
+
+    <!-- module.exe mapping files -->
+    <mapping resource="org/jbpm/module/exe/ModuleInstance.hbm.xml"/>
+
+    <!-- context.exe mapping files -->
+    <mapping resource="org/jbpm/context/exe/ContextInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/context/exe/TokenVariableMap.hbm.xml"/>
+    <mapping resource="org/jbpm/context/exe/VariableInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml"/>
+
+    <!-- msg.db mapping files -->
+    <mapping resource="org/jbpm/msg/Message.hbm.xml"/>
+    <mapping resource="org/jbpm/msg/db/TextMessage.hbm.xml"/>
+    <mapping resource="org/jbpm/command/ExecuteActionCommand.hbm.xml"/>
+    <mapping resource="org/jbpm/command/ExecuteNodeCommand.hbm.xml"/>
+    <mapping resource="org/jbpm/command/SignalCommand.hbm.xml"/>
+    <mapping resource="org/jbpm/command/TaskInstanceEndCommand.hbm.xml"/>
+
+    <!-- taskmgmt.exe mapping files -->
+    <mapping resource="org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/exe/PooledActor.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml"/>
+
+    <!-- scheduler.exe mapping files -->
+    <mapping resource="org/jbpm/scheduler/exe/Timer.hbm.xml"/>
+
+    <!-- logging mapping files -->
+    <mapping resource="org/jbpm/logging/log/ProcessLog.hbm.xml"/>
+    <mapping resource="org/jbpm/logging/log/MessageLog.hbm.xml"/>
+    <mapping resource="org/jbpm/logging/log/CompositeLog.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/log/ActionLog.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/log/NodeLog.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/log/ProcessStateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/log/SignalLog.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/log/TokenCreateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/log/TokenEndLog.hbm.xml"/>
+    <mapping resource="org/jbpm/graph/log/TransitionLog.hbm.xml"/>
+    <mapping resource="org/jbpm/context/log/VariableLog.hbm.xml"/>
+    <mapping resource="org/jbpm/context/log/VariableCreateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/context/log/VariableDeleteLog.hbm.xml"/>
+    <mapping resource="org/jbpm/context/log/VariableUpdateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/log/TaskLog.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml"/>
+    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml"/>
+    
+  </session-factory>
+</hibernate-configuration>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/identity-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/identity-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/identity-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+   <!DOCTYPE identity-configuration PUBLIC
+   "-//JBoss Portal//DTD JBoss Identity Configuration 1.0//EN"
+   "http://www.jboss.org/portal/dtd/identity-config_2_6.dtd">
+
+<identity-configuration>
+   <datasources/>
+   <modules>
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>User</type>
+         <implementation>DB</implementation>
+         <config/>
+      </module>
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>Role</type>
+         <implementation>DB</implementation>
+         <config/>
+      </module>
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>Membership</type>
+         <implementation>DB</implementation>
+         <config/>
+      </module>
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>UserProfile</type>
+         <implementation>DELEGATING</implementation>
+         <config/>
+      </module>
+      <module>
+         <type>DBDelegateUserProfile</type>
+         <implementation>DB</implementation>
+         <config/>
+      </module>
+   </modules>
+   <options/>
+</identity-configuration>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/ldap_identity-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/ldap_identity-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/ldap_identity-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+   <!--<!DOCTYPE identity-configuration PUBLIC
+   "-//JBoss Portal//DTD JBoss Identity Configuration 1.0//EN"
+   "http://www.jboss.org/portal/dtd/identity-config_1_0.dtd">-->
+
+<identity-configuration>
+   <datasources>
+      <datasource>
+         <name>LDAP</name>
+         <config>
+            <option>
+               <name>host</name>
+               <value>localhost</value>
+            </option>
+            <option>
+               <name>port</name>
+               <value>10389</value>
+            </option>
+            <option>
+               <name>adminDN</name>
+               <value>cn=Directory Manager</value>
+            </option>
+            <option>
+               <name>adminPassword</name>
+               <value>password</value>
+            </option>
+            <!--<option>
+               <name>protocol</name>
+               <value>ssl</value>
+            </option>-->
+         </config>
+      </datasource>
+   </datasources>
+   <modules>
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>User</type>
+         <implementation>LDAP</implementation>
+         <class>
+            org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl
+         </class>
+         <config/>
+      </module>
+      <module>
+         <type>Role</type>
+         <implementation>LDAP</implementation>
+         <class>
+            org.jboss.portal.identity.ldap.LDAPExtRoleModuleImpl
+         </class>
+         <config/>
+      </module>
+      <module>
+         <type>Membership</type>
+         <implementation>LDAP</implementation>
+         <config/>
+      </module>
+      <module>
+         <type>UserProfile</type>
+         <implementation>DELEGATING</implementation>
+         <config>
+            <option>
+               <name>ldapModuleJNDIName</name>
+               <value>java:/portal/LDAPUserProfileModule</value>
+            </option>
+         </config>
+      </module>
+      <module>
+         <type>DBDelegateUserProfile</type>
+         <implementation>DB</implementation>
+         <config>
+            <option>
+               <name>randomSynchronizePassword</name>
+               <value>true</value>
+            </option>
+         </config>
+      </module>
+      <module>
+         <type>LDAPDelegateUserProfile</type>
+         <implementation>LDAP</implementation>
+         <config/>
+      </module>
+   </modules>
+
+   <options>
+      <option-group>
+         <group-name>common</group-name>
+         <option>
+            <name>userCtxDN</name>
+            <value>ou=People,o=test,dc=portal,dc=example,dc=com</value>
+         </option>
+         <option>
+            <name>userSearchFilter</name>
+            <value><![CDATA[(&((uid={0})(objectClass=person)))]]></value>
+         </option>
+         <option>
+            <name>roleCtxDN</name>
+            <value>ou=Roles,o=test,dc=portal,dc=example,dc=com</value>
+         </option>
+         <option>
+            <name>roleSearchFilter</name>
+            <value><![CDATA[(&((cn={0})(objectClass=groupOfNames)))]]></value>
+         </option>
+      </option-group>
+
+   </options>
+</identity-configuration>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/profile-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/profile-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/profile-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,412 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+   <!DOCTYPE profile PUBLIC
+   "-//JBoss Portal//DTD JBoss User Profile Configuration 1.0//EN"
+   "http://www.jboss.org/portal/dtd/profile-config_2_6.dtd">
+
+<profile>
+   <!--Database mapping - jbp_user table column mapping-->
+   <property>
+      <name>user.name.nickName</name>
+      <type>java.lang.String</type>
+      <access-mode>read-only</access-mode>
+      <usage>mandatory</usage>
+      <display-name xml:lang="en">Name</display-name>
+      <description xml:lang="en">The user name</description>
+      <mapping>
+         <database>
+            <type>column</type>
+            <value>jbp_uname</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>user.name.given</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Given Name</display-name>
+      <description xml:lang="en">The user given name</description>
+      <mapping>
+         <database>
+            <type>column</type>
+            <value>jbp_givenname</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>user.name.family</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Family name</display-name>
+      <description xml:lang="en">The user family name</description>
+      <mapping>
+         <database>
+            <type>column</type>
+            <value>jbp_familyname</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>user.business-info.online.email</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>mandatory</usage>
+      <display-name xml:lang="en">Email</display-name>
+      <description xml:lang="en">The user real email</description>
+      <mapping>
+         <database>
+            <type>column</type>
+            <value>jbp_realemail</value>
+         </database>
+         <ldap>
+            <value>mail</value>
+         </ldap>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.email.fake</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Fake email</display-name>
+      <description xml:lang="en">The user fake email</description>
+      <mapping>
+         <database>
+            <type>column</type>
+            <value>jbp_fakeemail</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.registration-date</name>
+      <type>java.util.Date</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Registration date</display-name>
+      <description xml:lang="en">Registration date of user</description>
+      <mapping>
+         <database>
+            <type>column</type>
+            <value>jbp_regdate</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.email.view-real</name>
+      <type>java.lang.Boolean</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">View real email</display-name>
+      <description xml:lang="en">Is user real email displayed in public</description>
+      <mapping>
+         <database>
+            <type>column</type>
+            <value>jbp_viewrealemail</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.enabled</name>
+      <type>java.lang.Boolean</type>
+      <access-mode>read-write</access-mode>
+      <usage>mandatory</usage>
+      <display-name xml:lang="en">Enabled</display-name>
+      <description xml:lang="en">User enabled state</description>
+      <mapping>
+         <database>
+            <type>column</type>
+            <value>jbp_enabled</value>
+         </database>
+      </mapping>
+   </property>
+
+   <!--Dynamic database store-->
+   <property>
+      <name>portal.user.location</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Location</display-name>
+      <description xml:lang="en">The user location</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.location</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.occupation</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Occupation</display-name>
+      <description xml:lang="en">The user occupation</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.occupation</value>
+         </database>
+         <ldap>
+            <value>title</value>
+         </ldap>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.extra</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Extra info</display-name>
+      <description xml:lang="en">Extra informtion about user</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.extra</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.signature</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Signature</display-name>
+      <description xml:lang="en">The user signature</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.signature</value>
+         </database>
+         <!--<ldap>
+            <value>personalSignature</value>
+         </ldap>-->
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.interests</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Interests</display-name>
+      <description xml:lang="en">The user interests</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.interests</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.locale</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Locale</display-name>
+      <description xml:lang="en">The user locale</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.locale</value>
+         </database>
+         <!--<ldap>-->
+            <!--<value>localityName</value>-->
+         <!--</ldap>-->
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.im.icq</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">ICQ</display-name>
+      <description xml:lang="en">The user ICQ id</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.im.icq</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.im.aim</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">AIM</display-name>
+      <description xml:lang="en">The user AIM id</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.im.aim</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.im.msnm</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">MSN</display-name>
+      <description xml:lang="en">The user MSN id</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.im.msnm</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.im.yim</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">YIM</display-name>
+      <description xml:lang="en">The user YIM id</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.im.yim</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.im.skype</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Skype</display-name>
+      <description xml:lang="en">The user skype id</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.im.skype</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.im.xmmp</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">XMMP</display-name>
+      <description xml:lang="en">The user XMMP id</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.im.xmmp</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.homepage</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Homepage</display-name>
+      <description xml:lang="en">The user homepage</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.homepage</value>
+         </database>
+         <ldap>
+            <value>seeAlso</value>
+         </ldap>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.time-zone-offset</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Timezone</display-name>
+      <description xml:lang="en">Timezone in users location</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.time-zone-offset</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.theme</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Theme</display-name>
+      <description xml:lang="en">Portlat theme that user is using</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.theme</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.security.question</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Password Question</display-name>
+      <description xml:lang="en">Portal password recovery question</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.security.question</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.security.answer</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Password Answer</display-name>
+      <description xml:lang="en">Portal password recovery answer</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.security.answer</value>
+         </database>
+      </mapping>
+   </property>
+   <property>
+      <name>portal.user.last-login-date</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>optional</usage>
+      <display-name xml:lang="en">Last login</display-name>
+      <description xml:lang="en">The date of users last login</description>
+      <mapping>
+         <database>
+            <type>dynamic</type>
+            <value>portal.user.last-login-date</value>
+         </database>
+      </mapping>
+   </property>
+</profile>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/standardidentity-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/standardidentity-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/identity/standardidentity-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,351 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+
+<!--
+<!DOCTYPE identity-configuration PUBLIC
+   "-//JBoss Portal//DTD JBoss Identity Configuration 1.0//EN" 
+   "http://www.jboss.org/portal/dtd/identity-config_1_0.dtd">
+-->
+
+<identity-configuration>
+   <datasources>
+      <datasource>
+         <name>LDAP</name>
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=LDAPConnectionContext</service-name>
+         <class>org.jboss.portal.identity.ldap.LDAPConnectionContext</class>
+         <config>
+            <option>
+               <name>host</name>
+               <value>jboss.com</value>
+            </option>
+            <option>
+               <name>port</name>
+               <value>389</value>
+            </option>
+            <option>
+               <name>contextFactory</name>
+               <value>com.sun.jndi.ldap.LdapCtxFactory</value>
+            </option>
+            <option>
+               <name>adminDN</name>
+               <value>cn=Directory Manager</value>
+            </option>
+            <option>
+               <name>adminPassword</name>
+               <value>password</value>
+            </option>
+            <option>
+               <name>jNDIName</name>
+               <value>java:/portal/LDAPConnectionContext</value>
+            </option>
+         </config>
+      </datasource>
+   </datasources>
+   <modules>
+
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>UserProfile</type>
+         <implementation>DELEGATING</implementation>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=UserProfile</service-name>
+         <class>org.jboss.portal.identity.DelegatingUserProfileModuleImpl</class>
+         <!--set of options that are set in instantiated object-->
+         <config>
+            <option>
+               <name>jNDIName</name>
+               <value>java:/portal/UserProfileModule</value>
+            </option>
+            <option>
+               <name>dbModuleJNDIName</name>
+               <value>java:/portal/DBUserProfileModule</value>
+            </option>
+            <option>
+               <name>profileConfigFile</name>
+               <value>conf/identity/profile-config.xml</value>
+            </option>
+         </config>
+      </module>
+
+
+
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>User</type>
+         <implementation>DB</implementation>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=User</service-name>
+         <class>org.jboss.portal.identity.db.HibernateUserModuleImpl</class>
+
+         <!--set of options that are set in instantiated object-->
+         <config>
+            <option>
+               <name>sessionFactoryJNDIName</name>
+               <value>java:/portal/IdentitySessionFactory</value>
+            </option>
+            <option>
+               <name>jNDIName</name>
+               <value>java:/portal/UserModule</value>
+            </option>
+         </config>
+      </module>
+
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>Role</type>
+         <implementation>DB</implementation>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=Role</service-name>
+         <class>org.jboss.portal.identity.db.HibernateRoleModuleImpl</class>
+
+         <!--set of options that are set in instantiated object-->
+         <config>
+            <option>
+               <name>sessionFactoryJNDIName</name>
+               <value>java:/portal/IdentitySessionFactory</value>
+            </option>
+            <option>
+               <name>jNDIName</name>
+               <value>java:/portal/RoleModule</value>
+            </option>
+         </config>
+      </module>
+
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>Membership</type>
+         <implementation>DB</implementation>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=Membership</service-name>
+         <class>org.jboss.portal.identity.db.HibernateMembershipModuleImpl</class>
+
+         <!--set of options that are set in instantiated object-->
+         <config>
+            <option>
+               <name>sessionFactoryJNDIName</name>
+               <value>java:/portal/IdentitySessionFactory</value>
+            </option>
+            <option>
+               <name>jNDIName</name>
+               <value>java:/portal/MembershipModule</value>
+            </option>
+         </config>
+      </module>
+
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>DBDelegateUserProfile</type>
+         <implementation>DB</implementation>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=DBUserProfile</service-name>
+         <class>org.jboss.portal.identity.db.HibernateUserProfileModuleImpl</class>
+
+         <!--set of options that are set in instantiated object-->
+         <config>
+            <option>
+               <name>sessionFactoryJNDIName</name>
+               <value>java:/portal/IdentitySessionFactory</value>
+            </option>
+            <option>
+               <name>jNDIName</name>
+               <value>java:/portal/DBUserProfileModule</value>
+            </option>
+         </config>
+      </module>
+
+      <!--for ldap modules...-->
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>User</type>
+         <implementation>LDAP</implementation>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=User</service-name>
+         <class>org.jboss.portal.identity.ldap.LDAPUserModuleImpl</class>
+
+         <!--set of options that are set in instantiated object-->
+         <config>
+            <option>
+               <name>jNDIName</name>
+               <value>java:/portal/UserModule</value>
+            </option>
+            <option>
+               <name>connectionJNDIName</name>
+               <value>java:/portal/LDAPConnectionContext</value>
+            </option>
+         </config>    
+      </module>
+
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>Role</type>
+         <implementation>LDAP</implementation>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=Role</service-name>
+         <class>org.jboss.portal.identity.ldap.LDAPRoleModuleImpl</class>
+
+         <!--set of options that are set in instantiated object-->
+         <config>
+            <option>
+               <name>jNDIName</name>
+               <value>java:/portal/RoleModule</value>
+            </option>
+            <option>
+               <name>connectionJNDIName</name>
+               <value>java:/portal/LDAPConnectionContext</value>
+            </option>
+         </config>
+      </module>
+
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>Membership</type>
+         <implementation>LDAP</implementation>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=Membership</service-name>
+         <class>org.jboss.portal.identity.ldap.LDAPStaticGroupMembershipModuleImpl</class>
+
+         <!--set of options that are set in instantiated object-->
+         <config>
+            <option>
+               <name>jNDIName</name>
+               <value>java:/portal/MembershipModule</value>
+            </option>
+            <option>
+               <name>connectionJNDIName</name>
+               <value>java:/portal/LDAPConnectionContext</value>
+            </option>
+         </config>
+      </module>
+
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>LDAPDelegateUserProfile</type>
+         <implementation>LDAP</implementation>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=LDAPUserProfile</service-name>
+         <class>org.jboss.portal.identity.ldap.LDAPUserProfileModuleImpl</class>
+
+         <!--set of options that are set in instantiated object-->
+         <config>
+            <option>
+               <name>jNDIName</name>
+               <value>java:/portal/LDAPUserProfileModule</value>
+            </option>
+            <option>
+               <name>connectionJNDIName</name>
+               <value>java:/portal/LDAPConnectionContext</value>
+            </option>
+         </config>
+      </module>
+
+   </modules>
+
+   <options>
+      <!--Common options section-->
+      <option-group>
+         <group-name>common</group-name>
+         <option>
+            <name>userCtxDN</name>
+            <value>ou=People,dc=example,dc=com</value>
+         </option>
+         <option>
+            <name>uidAttributeID</name>
+            <value>uid</value>
+         </option>
+         <option>
+            <name>passwordAttributeID</name>
+            <value>userPassword</value>
+         </option>
+         <option>
+            <name>roleCtxDN</name>
+            <value>ou=Roles,dc=example,dc=com</value>
+         </option>
+         <option>
+            <name>ridAttributeId</name>
+            <value>cn</value>
+         </option>
+         <option>
+            <name>roleDisplayNameAttributeID</name>
+            <value>cn</value>
+         </option>
+         <option>
+            <name>membershipAttributeID</name>
+            <value>member</value>
+         </option>
+         <option>
+            <name>membershipAttributeIsDN</name>
+            <value>true</value>
+         </option>
+      </option-group>
+      <option-group>
+         <group-name>userCreateAttibutes</group-name>
+         <option>
+            <name>objectClass</name>
+            <value>top</value>
+            <value>uidObject</value>
+            <value>person</value>
+            <value>inetUser</value>
+         </option>
+         <!--Schema requires those to have initial value-->
+         <!--<option>
+            <name>cn</name>
+            <value>none</value>
+         </option>-->
+         <option>
+            <name>sn</name>
+            <value>none</value>
+         </option>
+      </option-group>
+      <option-group>
+         <group-name>roleCreateAttibutes</group-name>
+         <option>
+            <name>objectClass</name>
+            <value>top</value>
+            <value>groupOfNames</value>
+         </option>
+         <!--Schema requires those to have initial value-->
+         <!--<option>
+            <name>cn</name>
+            <value>none</value>
+         </option>-->
+         <!--Some directory servers require this attribute to be valid DN-->
+         <!--For safety reasons point to the admin user here-->
+         <!--<option>
+            <name>member</name>
+            <value>uid=dummynonexistinguser,ou=People,dc=jboss,dc=org</value>
+         </option>-->
+      </option-group>
+   </options>
+</identity-configuration>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/login-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/login-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/login-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,118 @@
+<?xml version='1.0'?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE policy PUBLIC
+   "-//JBoss//DTD JBOSS Security Config 3.0//EN"
+   "http://www.jboss.org/j2ee/dtd/security_config.dtd">
+<policy>
+   <!-- For the JCR CMS -->
+   <application-policy name="cms">
+      <authentication>
+         <login-module code="org.apache.jackrabbit.core.security.SimpleLoginModule" flag="required"/>
+      </authentication>
+   </application-policy>
+   
+   <application-policy name="portal">
+      <authentication>
+
+         <!--To configure LDAP support with IdentityLoginModule please check documentation on how to
+         configure portal identity modules for this-->
+         <login-module code="org.jboss.portal.identity.auth.IdentityLoginModule" flag="required">
+            <module-option name="unauthenticatedIdentity">guest</module-option>
+            <module-option name="userModuleJNDIName">java:/portal/UserModule</module-option>
+            <module-option name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
+            <module-option name="userProfileModuleJNDIName">java:/portal/UserProfileModule</module-option>
+            <module-option name="membershipModuleJNDIName">java:/portal/MembershipModule</module-option>
+            <module-option name="additionalRole">Authenticated</module-option>
+            <module-option name="password-stacking">useFirstPass</module-option>
+         </login-module>
+
+         <!--Use can use this module instead of IdentityLoginModule to bind to LDAP. It simply extends JBossSX LdapExtLoginModule so
+          all configuration that can be applied to LdapExtLoginModule also can be applied here. For user that
+          was authenticated successfully it will try to take identity modules from portal, check if such user (and roles it belongs to)
+          is present, and if not it will try to create them. Then for all roles assigned to this authenticated principal it will
+          try to check and create them using identity modules. This behaviour can be disabled using "synchronizeRoles". You can also
+          define one "defaultAssignRole" that will be always assigned to synchronized user.
+          It is also possible to set option "synchronizeIdentity" to "false" so this module will act exactly like LdapExtLoginModule
+          but it will inject role defined in "additionalRole".  For obvious reasons
+          this is designed to use with portal identity modules configured with DB and not LDAP-->
+         <!--There is also SynchronizingLDAPLoginModule which provide the same set of options on top of JBossSX LdapLoginModule-->
+         <!--<login-module code="org.jboss.portal.identity.auth.SynchronizingLDAPExtLoginModule" flag="required">
+            <module-option name="synchronizeIdentity">true</module-option>
+            <module-option name="synchronizeRoles">true</module-option>
+            <module-option name="additionalRole">Authenticated</module-option>
+            <module-option name="defaultAssignedRole">User</module-option>
+            <module-option name="userModuleJNDIName">java:/portal/UserModule</module-option>
+            <module-option name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
+            <module-option name="membershipModuleJNDIName">java:/portal/MembershipModule</module-option>
+            <module-option name="userProfileModuleJNDIName">java:/portal/UserProfileModule</module-option>
+            <module-option name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</module-option>
+            <module-option name="java.naming.provider.url">ldap://example.com:10389/</module-option>
+            <module-option name="java.naming.security.authentication">simple</module-option>
+            <module-option name="bindDN">cn=Directory Manager</module-option>
+            <module-option name="bindCredential">lolo</module-option>
+            <module-option name="baseCtxDN">ou=People,o=test,dc=portal,dc=qa,dc=atl,dc=jboss,dc=com</module-option>
+            <module-option name="baseFilter">(uid={0})</module-option>
+            <module-option name="rolesCtxDN">ou=Roles,o=test,dc=portal,dc=qa,dc=atl,dc=jboss,dc=com</module-option>
+            <module-option name="roleFilter">(member={1})</module-option>
+            <module-option name="roleAttributeID">cn</module-option>
+            <module-option name="roleRecursion">-1</module-option>
+            <module-option name="searchTimeLimit">10000</module-option>
+            <module-option name="searchScope">SUBTREE_SCOPE</module-option>
+            <module-option name="allowEmptyPasswords">false</module-option>
+         </login-module>-->
+
+         <!--This login module should be placed at the end of authentication stack. It always returns
+         true in login() method so it should be always "optional" and exists after other "required" module in the stack.
+         It will try to synchronize authenticated user into portal store using portal identity modules. Each subject principal assigned
+         by previous modules will be tried to synchronize into portal as a role.  -->
+         <!--<login-module code="org.jboss.portal.identity.auth.SynchronizingLoginModule" flag="optional">
+            <module-option name="synchronizeIdentity">true</module-option>
+            <module-option name="synchronizeRoles">true</module-option>
+            <module-option name="additionalRole">Authenticated</module-option>
+            <module-option name="defaultAssignedRole">User</module-option>
+            <module-option name="userModuleJNDIName">java:/portal/UserModule</module-option>
+            <module-option name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
+            <module-option name="membershipModuleJNDIName">java:/portal/MembershipModule</module-option>
+            <module-option name="userProfileModuleJNDIName">java:/portal/UserProfileModule</module-option>
+         </login-module>-->
+
+         <!--Uncomment this if you want to fall down to users kept in DB if LDAP authentication fails
+             This may be usefull if you want to use Admin user provided with portal database schema-->
+         <!--Note that this may lead to the security risk - with LDAP  when storing user profile information
+             that are not mapped as attribute you may have LDAP user synchronized into DB with no password set.
+             Please see HibernateUserProfileImpl module options "synchronizeNonExistingUsers", "acceptOtherImplementations"
+             "defaultSynchronizePassword" or "randomSynchronizePassword" to manage this behaviour-->
+         <!--<login-module code = "org.jboss.portal.identity.auth.DBIdentityLoginModule" flag="sufficient">
+            <module-option name="dsJndiName">java:/PortalDS</module-option>
+            <module-option name="principalsQuery">SELECT jbp_password FROM jbp_users WHERE jbp_uname=?</module-option>
+            <module-option name="rolesQuery">SELECT jbp_roles.jbp_name, 'Roles' FROM  jbp_role_membership INNER JOIN jbp_roles ON jbp_role_membership.jbp_rid = jbp_roles.jbp_rid INNER JOIN jbp_users ON jbp_role_membership.jbp_uid = jbp_users.jbp_uid WHERE jbp_users.jbp_uname=?</module-option>
+            <module-option name="hashAlgorithm">MD5</module-option>
+            <module-option name="hashEncoding">HEX</module-option>
+            <module-option name="additionalRole">Authenticated</module-option>
+         </login-module>-->
+         
+      </authentication>
+   </application-policy>
+</policy>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/standardjboss-portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/standardjboss-portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/standardjboss-portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE portlet-app PUBLIC
+   "-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
+   "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd">
+
+<portlet-app>
+   <portlet>
+      <portlet-name>DefaultPortlet</portlet-name>
+      <remotable>false</remotable>
+      <ajax>
+         <partial-refresh>true</partial-refresh>
+      </ajax>
+      <transaction>
+         <trans-attribute>NotSupported</trans-attribute>
+      </transaction>
+   </portlet>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/theme/portal-layout.tld
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/theme/portal-layout.tld	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/conf/theme/portal-layout.tld	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,68 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<taglib
+   xmlns="http://java.sun.com/xml/ns/j2ee"
+   xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
+   version="2.0">
+   <tlib-version>1.0</tlib-version>
+   <jsp-version>2.0</jsp-version>
+   <short-name></short-name>
+   <uri>http://www.jboss.org/portal</uri>
+   <tag>
+      <name>region</name>
+      <tag-class>org.jboss.portal.theme.tag.RegionTagHandler</tag-class>
+      <body-content>empty</body-content>
+      <attribute>
+         <name>orientation</name>
+      </attribute>
+      <attribute>
+         <name>regionName</name>
+      </attribute>
+      <attribute>
+         <name>regionID</name>
+      </attribute>
+   </tag>
+   <tag>
+      <name>portlet</name>
+      <tag-class>org.jboss.portal.theme.tag.PortletTagHandler</tag-class>
+      <body-content>empty</body-content>
+      <attribute>
+         <name>windowName</name>
+      </attribute>
+   </tag>
+   <tag>
+      <name>theme</name>
+      <tag-class>org.jboss.portal.theme.tag.ThemeTagHandler</tag-class>
+      <body-content>empty</body-content>
+      <attribute>
+         <name>themeName</name>
+      </attribute>
+   </tag>
+   <tag>
+      <name>headerContent</name>
+      <tag-class>org.jboss.portal.theme.tag.HeaderContentTagHandler</tag-class>
+      <body-content>empty</body-content>
+   </tag>
+</taglib>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/identity-config_2_6.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/identity-config_2_6.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/identity-config_2_6.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+<!DOCTYPE identity-configuration PUBLIC
+   "-//JBoss Portal//DTD JBoss Identity Configuration 1.0//EN"
+   "http://www.jboss.org/portal/dtd/identity-config_2_6.dtd">
+-->
+
+<!--
+.
+-->
+<!ELEMENT identity-configuration (datasources,modules, options) >
+
+<!--
+.
+-->
+<!ELEMENT datasources (datasource*) >
+
+<!--
+.
+-->
+<!ELEMENT datasource (name, service-name?, class?, config) >
+
+<!--
+.
+-->
+<!ELEMENT name (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT service-name (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT class (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT config (option*)>
+
+<!--
+.
+-->
+<!ELEMENT option (name, value+) >
+
+<!--
+.
+-->
+<!ELEMENT value (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT modules (module*) >
+
+<!--
+.
+-->
+<!ELEMENT module (type, implementation, service-name?, class?, config) >
+
+<!--
+.
+-->
+<!ELEMENT type (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT implementation (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT options (option-group*)>
+
+<!--
+.
+-->
+<!ELEMENT option-group (group-name, option+)>
+
+<!--
+.
+-->
+<!ELEMENT group-name (#PCDATA) >
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/jboss-app_2_6.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/jboss-app_2_6.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/jboss-app_2_6.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+<!DOCTYPE jboss-app PUBLIC
+   "-//JBoss Portal//DTD JBoss Web Application 2.6//EN"
+   "http://www.jboss.org/portal/dtd/jboss-app_2_6.dtd">
+-->
+
+<!ELEMENT jboss-app (app-name?)>
+
+<!--
+When a web application is deployed, the context path under wich it is deployed
+is taken as application name. The application name value in this descriptor is
+used to override it. When a component references a references a portlet, it needs to
+reference the application too and if the portlet application war file is renammed
+the reference is not valid anymore. Therefore this tag is used to have an application
+name that does not depend upon the context path under which the application is deployed.
+-->
+<!ELEMENT app-name (#PCDATA)>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/jboss-portlet_2_6.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/jboss-portlet_2_6.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/jboss-portlet_2_6.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,257 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!-- The additional configuration elements of the JBoss portlet container.
+
+<!DOCTYPE portlet-app PUBLIC
+   "-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
+   "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd">
+-->
+
+<!--
+The remotable element is used to configure the default behavior of the portlets with
+respect to WSRP exposure.
+
+For each portlet defined in portlet.xml, it is possible to configure specific
+settings of the portlet container.
+
+It is also possible to inject services in the portlet context of the application
+using the service elements.
+-->
+<!ELEMENT portlet-app (remotable?,portlet*,service*)>
+
+<!--
+Additional configuration for a portlet.
+
+The portlet-name defines the name of the portlet. It must match a portlet defined already
+in portlet.xml of the same web application.
+
+The remotable element configures the portlet exposure to WSRP. If no value is present
+then the value considered is either the value defined globally at the portlet
+application level or false.
+
+The trans-attribute value specifies the behavior of the portlet when it is invoked at
+runtime with respect to the transactionnal context. According to how the portlet is
+invoked a transaction may exist or not before the portlet is invoked. Usually in the
+local context the portal transaction could be present. By default the value considered is
+ NotSupported which means that the portal transaction will be suspended for the duration
+ of the portlet invocation.
+
+Example:
+
+<portlet>
+   <portlet-name>MyPortlet</portlet-name>
+   <remotable>true</remotable>
+   <trans-attribute>Required</trans-attribute>
+</portlet>
+
+-->
+<!ELEMENT portlet (portlet-name,remotable?,ajax?,session-config?,transaction?,header-content?)>
+
+<!--
+The portlet name.
+-->
+<!ELEMENT portlet-name (#PCDATA)>
+
+<!--
+The remotable value is used for WSRP exposure. The accepted values are the
+litterals true of false.
+-->
+<!ELEMENT remotable (#PCDATA)>
+
+<!--
+The ajax tag allows to configure the ajax capabilities of the portlet. If
+the portlet is tagged as partial-refresh then the portal may use partial page
+refreshing and render only that portlet. If the portlet partial-refresh value
+is false, then the portal will perform a full page refresh when the portlet is refreshed.
+-->
+<!ELEMENT ajax (partial-refresh)>
+
+<!--
+The authorized values for the partial-refresh element are true or false.
+-->
+<!ELEMENT partial-refresh (#PCDATA)>
+
+<!--
+This element configure the portlet session of the portlet.
+
+The distributed element instructs the container to distribute the session attributes
+using the portal session replication. It applies only to local portlets are not to
+remote portlets. The default value is false.
+
+Example:
+
+<session-config>
+   <distributed>true</distributed>
+</session-config>
+
+-->
+<!ELEMENT session-config (distributed)>
+
+<!--
+The authorized values for the distributed element are true or false.
+-->
+<!ELEMENT distributed (#PCDATA)>
+
+<!--
+Defines how the portlet behaves with the transactionnal context. The default value
+is Never.
+
+Example:
+
+<transaction>
+   <trans-attribute>Required</transaction>
+<transaction>
+-->
+<!ELEMENT transaction (trans-attribute)>
+
+<!--
+The trans-attribute value defines the transactionnal behavior. The accepted values
+are Required, Mandatory, Never, Supports, NotSupported and RequiresNew.
+-->
+<!ELEMENT trans-attribute (#PCDATA)>
+
+<!--
+Specify content which should be included in the portal aggregated page when the portlet
+is present on that page. This setting only applies when the portlet is used in the local mode.
+-->
+<!ELEMENT header-content (link|script|meta)*>
+
+<!--
+Creates a header markup element for linked resources,
+see http://www.w3.org/TR/html401/struct/links.html#h-12.3
+
+At runtime the href attribute value will be prefixed with the context path
+of the web application.
+
+Example:
+
+<link rel="stylesheet" type="text/css" href="/style.css" media="screen"/>
+
+will produce at runtime the following markup
+
+<link rel="stylesheet" type="text/css" href="/my-web-application/style.css" media="screen"/>
+-->
+<!ATTLIST link
+   href CDATA #IMPLIED
+   rel CDATA #IMPLIED
+   type CDATA #IMPLIED
+   media CDATA #IMPLIED
+   title CDATA #IMPLIED>
+
+<!--
+No content is allowed inside an link element.
+-->
+<!ELEMENT link EMPTY>
+
+<!--
+Creates a header markup for scripting,
+see http://www.w3.org/TR/html401/interact/scripts.html
+
+At runtime the src attribute value will be prefixed with the context path
+of the web application.
+
+Example 1:
+
+<script type="text/javascript" src="/myscript.js"></script>
+
+will produce at runtime the following markup
+
+<script type="text/javascript" src="/my-web-application/myscript.js"></script>
+
+Example 2:
+
+<script type="text/javascript">
+	function hello() {
+		alert('Hello');
+	}
+</script>
+-->
+<!ATTLIST script
+   src CDATA #IMPLIED
+   type CDATA #IMPLIED
+   language CDATA #IMPLIED>
+
+<!--
+The script header element can contain inline script definitions.
+-->
+<!ELEMENT script (#PCDATA)>
+
+<!--
+Creates a header markup for adding meta data to a page,
+see http://www.w3.org/TR/html401/struct/global.html#h-7.4.4
+
+Example:
+
+<meta name="keywords" content="jboss, portal, redhat"/>
+-->
+<!ATTLIST meta
+   name CDATA #REQUIRED
+   content CDATA #REQUIRED>
+
+<!--
+No content is allowed for meta element.
+-->
+<!ELEMENT meta EMPTY>
+
+<!--
+Declare a service that will be injected by the portlet container as an
+attribute of the portlet context.
+
+Example:
+
+<service>
+   <service-name>UserModule</service-name>
+   <service-class>org.jboss.portal.identity.UserModule</service-class>
+   <service-ref>:service=Module,type=User</service-ref>
+</service>
+
+In the portlet it is then possible to use it by doing a lookup on the service
+name, for example in the init() lifecycle method :
+
+public void init()
+{
+   UserModule userModule = (UserModule)getPortletContext().getAttribute("UserModule");
+}
+
+-->
+<!ELEMENT service (service-name,service-class,service-ref)>
+
+<!--
+The service name that will be used to bind the service as a portlet context attribute.
+-->
+<!ELEMENT service-name (#PCDATA)>
+
+<!--
+The full qualified name of the interface that the service implements.
+-->
+<!ELEMENT service-class (#PCDATA)>
+
+<!--
+The reference to the service. In the JMX Microkernel environment it consist of the JMX
+name of the service MBean. For an MBean reference if the domain is left out, then the
+current domain of the portal will be used.
+-->
+<!ELEMENT service-ref (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/portal-object_2_6.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/portal-object_2_6.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/portal-object_2_6.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,306 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portal Object 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
+-->
+
+<!--
+The deployements element is a generic container for deployment elements.
+-->
+<!ELEMENT deployments (deployment*)>
+
+<!--
+The deployment is a generic container for portal object elements. The parent-ref
+child gives the name of the parent object that the current object will use as parent.
+The optional if-exists element define the behavior when a portal object which
+an identical name is already child of the parent element. The default behavior of
+the if-exist tag is to keep the existing object and not create a new object. The
+last element is the portal object itself.
+
+Example:
+
+<deployment>
+   <parent-ref>default</parent-ref>
+   <page>
+      ...
+   </page>
+</deployment>
+
+All portal objects have a common configuration which can be :
+
+1/ a listener : specifies the id of a listener is the listener registry. A listener
+object is able to listen portal events which apply to the portal node hierarchy.
+
+2/ properties : a set of generic properties owned by the portal object. Some
+properties can drive the behavior of the object.
+
+3/ security-constraint : defines security configuration of the portal object.
+
+-->
+<!ELEMENT deployment (parent-ref?,if-exists?,(context|portal|page|window))>
+
+<!--
+Contains a reference to the parent object. The naming convention for naming object
+is to concatenate the names of the path to the object and separate the names by a dot.
+If the path is empty then the empty string must be used.
+
+Example:
+
+<parent-ref/> the root having an empty path
+
+<parent-ref>default</parent-ref> the object with the name default under the root
+having the path (default)
+
+<parent-ref>default.default</parent-ref> the object with the path (default,default)
+
+-->
+<!ELEMENT parent-ref (#PCDATA)>
+
+<!--
+The authorized values are overwrite and keep. Overwrite means that the existing
+object will be destroyed and the current declaration will be used. Keep means that
+the existing object will not be destroyed and no creation hence will be done.
+-->
+<!ELEMENT if-exists (#PCDATA)>
+
+<!--
+A portal object of type context. A context type represent a node in the tree which
+does not have a visual representation. It can exist only under the root. A context can
+only have children with the portal type.
+-->
+<!ELEMENT context (context-name,properties?,listener?,security-constraint?,portal*)>
+
+<!--
+The context name value.
+-->
+<!ELEMENT context-name (#PCDATA)>
+
+<!--
+A portal object of type portal. A portal type represents a virtual portal and can
+have children of type page. In addition of the common portal object elements it support
+also the declaration of the modes and the window states it supports. If no declaration
+of modes or window states is done then the default value will be respectively
+(view,edit,help) and (normal,minimized,maximized).
+-->
+<!ELEMENT portal (portal-name,supported-modes,supported-window-states?,properties?,
+                  listener?,security-constraint?,page*)>
+
+<!--
+The portal name value.
+-->
+<!ELEMENT portal-name (#PCDATA)>
+
+
+<!--
+The supported modes of a portal.
+
+Example:
+
+<supported-mode>
+   <mode>view</mode>
+   <mode>edit</mode>
+   <mode>help</mode>
+</supported-mode>
+-->
+<!ELEMENT supported-modes (mode*)>
+
+<!--
+A portlet mode value.
+-->
+<!ELEMENT mode (#PCDATA)>
+
+<!--
+The supported window states of a portal.
+
+Example:
+
+<supported-window-states>
+   <window-state>normal</window-state>
+   <window-state>minimized</window-state>
+   <window-state>maximized</window-state>
+</supported-window-states>
+
+-->
+<!ELEMENT supported-window-states (window-state*)>
+
+<!--
+A window state value.
+-->
+<!ELEMENT window-state (#PCDATA)>
+
+<!--
+A portal object of type page. A page type represents a page which can have children of
+type page and window. The children windows are the windows of the page and the children
+pages are the subpages of this page.
+-->
+<!ELEMENT page (page-name,properties?,listener?,security-constraint?,(page|window)*)>
+
+<!--
+The page name value.
+-->
+<!ELEMENT page-name (#PCDATA)>
+
+<!--
+A portal object of type window. A window type represents a window. Beside the common
+properties a window has a content and belong to a region on the page.
+
+The instance-ref or content tags are used to define the content of the window. The
+usage of the content tag is generic and can be used to describe any kind of content.
+The instance-ref is a shortcut to define a content type of portlet which points to a
+portlet instance.
+
+The region and height defines how the window is placed in the page.
+-->
+<!ELEMENT window (window-name,(instance-ref|content),region,height,properties?,listener?)>
+
+<!--
+The window name value.
+-->
+<!ELEMENT window-name (#PCDATA)>
+
+<!--
+Define the content of the window as a reference to a portlet instance. The value
+is the id of the instance.
+
+Example:
+
+<instance-ref>MyPortletInstance</instance-ref>
+
+-->
+<!ELEMENT instance-ref (#PCDATA)>
+
+<!--
+Define the content of the window in a generic manner. The content is define by
+the type of the content and an URI which acts as an identificator for the content.
+
+Example:
+
+<content>
+   <content-type>portlet</content-type>
+   <content-uri>MyPortletInstance</content-uri>
+</content>
+
+<content>
+   <content-type>cms</content-type>
+   <content-uri>/default/index.html</content-uri>
+</content>
+
+-->
+<!ELEMENT content (content-type,content-uri)>
+
+<!--
+The content type of the window.
+-->
+<!ELEMENT content-type (#PCDATA)>
+
+<!--
+The content URI of the window.
+-->
+<!ELEMENT content-uri (#PCDATA)>
+
+<!--
+The region the window belongs to.
+-->
+<!ELEMENT region (#PCDATA)>
+
+<!--
+The height of the window in the particular region.
+-->
+<!ELEMENT height (#PCDATA)>
+
+<!--
+Define a listener for a portal object. The value is the id of the listener.
+-->
+<!ELEMENT listener (#PCDATA)>
+
+<!--
+A set of generic properties for the portal object.
+-->
+<!ELEMENT properties (property*)>
+
+<!--
+A generic string property.
+-->
+<!ELEMENT property (name,value)>
+
+<!--
+A name value.
+-->
+<!ELEMENT name (#PCDATA)>
+
+<!--
+A value.
+-->
+<!ELEMENT value (#PCDATA)>
+
+<!--
+The security-constraint element is a container for policy-permission elements
+
+Examples:
+
+<security-constraint>
+    <policy-permission>
+       <role-name>User</role-name>
+       <action-name>view</action-name>
+    </policy-permission>
+</security-constraint>
+
+<security-constraint>
+    <policy-permission>
+       <unchecked/>
+       <action-name>view</action-name>
+    </policy-permission>
+</security-constraint>
+-->
+<!ELEMENT security-constraint (policy-permission*)>
+
+<!--
+The policy-permission element is used to secure a specific portal page based on a
+user's role.
+-->
+<!ELEMENT policy-permission (action-name*,unchecked?,role-name*)>
+
+<!--
+The role-name element is used to define a role that this security constraint will apply to
+
+    * <role-name>SOMEROLE</role-name> Access to this portal page is limited to the defined role.
+-->
+<!ELEMENT action-name (#PCDATA)>
+
+<!--
+The unchecked element is used to define (if present) that anyone can view this portal page
+-->
+<!ELEMENT unchecked EMPTY>
+
+<!--
+The action-name element is used to define the access rights given to the role defined.
+Possible values are:
+
+    * view - Users can view the page.
+-->
+<!ELEMENT role-name (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/portlet-instances_2_6.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/portlet-instances_2_6.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/portlet-instances_2_6.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portlet Instances 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
+-->
+
+<!--
+The deployements element is a container for deployment elements.
+-->
+<!ELEMENT deployments (deployment*)>
+
+<!--
+The deployment is a container for an instance element.
+-->
+<!ELEMENT deployment (if-exists?,instance)>
+
+<!--
+The if-exists element is used to define action to take if instance with such name is
+already present. Possible values are overwrite  or keep  . Overwrite  will destroy the
+existing object in the database and create a new one, based on the content of the
+deployment. Keep  will maintain the existing object deployment or create a new one if
+it does not yet exist.
+-->
+<!ELEMENT if-exists (#PCDATA)>
+
+<!--
+The instance element is used to create an instance of a portlet from the portlet
+application of the same war file containing the portlet-instances.xml file. The portlet
+will be created and configured only if the portlet is present and an instance with
+such a name does not already exist.
+
+Example :
+
+<instance>
+   <instance-id>MyPortletInstance</instance-id>
+   <portlet-ref>MyPortlet</portlet-ref>
+   <preferences>
+      <preference>
+         <name>abc</name>
+         <value>def</value>
+      </preference>
+   </preferences>
+   <security-constraint>
+      <policy-permission>
+         <role-name>User</role-name>
+         <action-name>view</action-name>
+      </policy-permission>
+   </security-constraint>
+</instance>
+
+-->
+<!ELEMENT instance (instance-id,portlet-ref,preferences?,security-constraint?)>
+
+<!--
+The identifier of the instance.
+-->
+<!ELEMENT instance-id (#PCDATA)>
+
+<!--
+The reference to the portlet which is its portlet name.
+-->
+<!ELEMENT portlet-ref (#PCDATA)>
+
+<!--
+The preferences element configures the instance with a specific set of preferences.
+-->
+<!ELEMENT preferences (preference)>
+
+<!--
+The preference configure one preference of a set of preferences.
+-->
+<!ELEMENT preference (name,value)>
+
+<!--
+A name.
+-->
+<!ELEMENT name (#PCDATA)>
+
+<!--
+A string value.
+-->
+<!ELEMENT value (#PCDATA)>
+
+<!--
+The security-constraint element is a container for policy-permission elements
+
+Examples:
+
+<security-constraint>
+    <policy-permission>
+       <role-name>User</role-name>
+       <action-name>view</action-name>
+    </policy-permission>
+</security-constraint>
+
+<security-constraint>
+    <policy-permission>
+       <unchecked/>
+       <action-name>view</action-name>
+    </policy-permission>
+</security-constraint>
+-->
+<!ELEMENT security-constraint (policy-permission*)>
+
+<!--
+The policy-permission element is used to secure a specific portlet instance based on a
+user's role.
+-->
+<!ELEMENT policy-permission (action-name*,unchecked?,role-name*)>
+
+<!--
+The action-name element is used to define the access rights given to the role defined.
+Possible values are:
+
+    * view - Users can view the page.
+    * viewrecursive - Users can view the page and child pages.
+    * personalize - Users are able to view AND personalize the page.
+    * personalizerecursive - Users are able to view AND personalize the page AND its child
+      pages.
+-->
+<!ELEMENT action-name (#PCDATA)>
+
+<!--
+The unchecked element is used to define (if present) that anyone can view this instance
+-->
+<!ELEMENT unchecked EMPTY>
+
+<!--
+The role-name element is used to define a role that this security constraint will apply to
+
+    * <role-name>SOMEROLE</role-name> Access to this instance is limited to the defined role.
+-->
+<!ELEMENT role-name (#PCDATA)>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/profile-config_2_6.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/profile-config_2_6.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/dtd/profile-config_2_6.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+<!DOCTYPE profile PUBLIC
+   "-//JBoss Portal//DTD JBoss User Profile Configuration 1.0//EN"
+   "http://www.jboss.org/portal/dtd/profile-config_2_6.dtd">
+-->
+
+
+<!--<profile>
+   --><!--Database mapping - jbp_user table column mapping--><!--
+   <property>
+      <name>portal.user.name.given</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>mandatory</usage>
+      <display-name xml:lang="en">Name</display-name>
+      <description xml:lang="en">The user name</description>
+      <mapping>
+         <database>
+            <type>column</type>
+            <value>jbp_username</value>
+         </database>
+      </mapping>
+   </property>-->
+
+<!--
+.
+-->
+<!ELEMENT profile (property+) >
+
+<!--
+.
+-->
+<!ELEMENT property (name, type, access-mode, usage, display-name, description, mapping) >
+
+<!--
+.
+-->
+<!ELEMENT name (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT type (#PCDATA)>
+
+<!--
+.
+-->
+<!ELEMENT access-mode (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT usage (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT display-name (#PCDATA) >
+
+<!ATTLIST display-name
+          xml:lang CDATA #IMPLIED>
+
+<!--
+.
+-->
+<!ELEMENT description (#PCDATA) >
+
+<!ATTLIST description
+          xml:lang CDATA #IMPLIED>
+<!--
+.
+-->
+<!ELEMENT mapping (database?, ldap?) >
+
+<!--
+.
+-->
+<!ELEMENT database (type, value) >
+
+<!--
+.
+-->
+<!--<!ELEMENT type (#PCDATA) >-->
+
+<!--
+.
+-->
+<!ELEMENT value (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT ldap (value) >
+
+
+
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/commons-collections.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/commons-collections.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/commons-fileupload.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/commons-fileupload.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/commons-io.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/commons-io.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/ehcache.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/ehcache.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/freemarker.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/freemarker.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/javassist.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/javassist.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jboss-backport-concurrent.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jboss-backport-concurrent.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jboss-portlet-api-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jboss-portlet-api-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jbpm-identity.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jbpm-identity.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jbpm.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/jbpm.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-api-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-api-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-common-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-common-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-common-portal-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-common-portal-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-core-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-core-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-format-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-format-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-identity-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-identity-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-identity-sso-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-identity-sso-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-jems-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-jems-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-bridge-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-bridge-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-federation-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-federation-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-jsr168api-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-jsr168api-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-management-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-management-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-server-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-portlet-server-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-registration-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-registration-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-search-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-search-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-security-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-security-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-server-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-server-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-theme-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-theme-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-web-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-web-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-workflow-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portal-workflow-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portals-bridges-common.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/lib/portals-bridges-common.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,63 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<server>
+
+   <mbean
+      code="org.jboss.portal.core.model.instance.InstanceCommandFactory"
+      name="portal:commandFactory=Configurator"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="InstanceId">DashboardConfigPortletInstance</attribute>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+      name="portal:commandFactory=Delegate,path=configure"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/configure</attribute>
+      <depends
+         optional-attribute-name="DelegatingFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="DelegateFactory"
+         proxy-type="attribute">portal:commandFactory=Configurator</depends>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.core.model.instance.InstanceURLFactory"
+      name="portal:urlFactory=Configurator"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="InstanceId">DashboardConfigPortletInstance</attribute>
+      <attribute name="Path">/configure</attribute>
+      <depends
+         optional-attribute-name="Factory"
+         proxy-type="attribute">portal:urlFactory=Delegating</depends>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/lib/portal-faces-loader-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/lib/portal-faces-loader-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/faces-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/faces-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/faces-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,485 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!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>
+
+   <application>
+      <property-resolver>org.jboss.portal.core.admin.ui.AdminPropertyResolver</property-resolver>
+      <view-handler>com.sun.facelets.FaceletPortletViewHandler</view-handler>
+    </application>
+
+   <converter>
+      <converter-for-class>org.jboss.portal.core.model.content.ContentType</converter-for-class>
+      <converter-class>org.jboss.portal.core.admin.ui.conversion.ContentTypeConverter</converter-class>
+   </converter>
+
+   <converter>
+      <converter-for-class>org.jboss.portal.core.model.portal.PortalObjectId</converter-for-class>
+      <converter-class>org.jboss.portal.core.admin.ui.conversion.PortalObjectIdConverter</converter-class>
+   </converter>
+
+   <!-- The portal object manager bean -->
+   <managed-bean>
+      <managed-bean-name>portalobjectmgr</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.PortalObjectManagerBean</managed-bean-class>
+      <managed-bean-scope>session</managed-bean-scope>
+      <managed-property>
+         <property-name>namespace</property-name>
+         <value></value>
+      </managed-property>
+      <managed-property>
+         <property-name>roleModule</property-name>
+         <value>#{applicationScope.RoleModule}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>portalObjectContainer</property-name>
+         <value>#{applicationScope.PortalObjectContainer}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>instanceContainer</property-name>
+         <value>#{applicationScope.InstanceContainer}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>layoutService</property-name>
+         <value>#{applicationScope.LayoutService}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>themeService</property-name>
+         <value>#{applicationScope.ThemeService}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>domainConfigurator</property-name>
+         <value>#{applicationScope.AuthorizationDomainRegistry.portalobject.configurator}</value>
+      </managed-property>
+   </managed-bean>
+   <managed-bean>
+      <managed-bean-name>portalAction</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.actions.PortalAction</managed-bean-class>
+      <managed-bean-scope>request</managed-bean-scope>
+      <managed-property>
+         <property-name>portalObjectManager</property-name>
+         <value>#{sessionScope.portalobjectmgr}</value>
+      </managed-property>
+   </managed-bean>
+   <managed-bean>
+      <managed-bean-name>addPageAction</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.actions.AddPageAction</managed-bean-class>
+      <managed-bean-scope>request</managed-bean-scope>
+      <managed-property>
+         <property-name>pageContainer</property-name>
+         <value>#{portalobjectmgr.selectedObject}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>messageTarget</property-name>
+         <value>addPageForm:pageName</value>
+      </managed-property>
+      <managed-property>
+         <property-name>listener</property-name>
+         <value>#{sessionScope.dashboard}</value>
+      </managed-property>
+   </managed-bean>
+   <managed-bean>
+      <managed-bean-name>assignContentToWindowAction</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.actions.AssignContentToWindowAction</managed-bean-class>
+      <managed-bean-scope>request</managed-bean-scope>
+      <managed-property>
+         <property-name>portalObjectManager</property-name>
+         <value>#{sessionScope.portalobjectmgr}</value>
+      </managed-property>
+   </managed-bean>
+
+   <managed-bean>
+      <managed-bean-name>dashboardmgr</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.PortalObjectManagerBean</managed-bean-class>
+      <managed-bean-scope>session</managed-bean-scope>
+      <managed-property>
+         <property-name>namespace</property-name>
+         <value>dashboard</value>
+      </managed-property>
+      <managed-property>
+         <property-name>roleModule</property-name>
+         <value>#{applicationScope.RoleModule}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>portalObjectContainer</property-name>
+         <value>#{applicationScope.PortalObjectContainer}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>instanceContainer</property-name>
+         <value>#{applicationScope.InstanceContainer}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>layoutService</property-name>
+         <value>#{applicationScope.LayoutService}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>themeService</property-name>
+         <value>#{applicationScope.ThemeService}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>domainConfigurator</property-name>
+         <value>#{applicationScope.AuthorizationDomainRegistry.portalobject.configurator}</value>
+      </managed-property>
+   </managed-bean>
+
+   <!-- The instance manager managed bean -->
+   <managed-bean>
+      <managed-bean-name>instancemgr</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.InstanceManagerBean</managed-bean-class>
+      <managed-bean-scope>session</managed-bean-scope>
+      <managed-property>
+         <property-name>roleModule</property-name>
+         <value>#{applicationScope.RoleModule}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>instanceContainer</property-name>
+         <value>#{applicationScope.InstanceContainer}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>domainConfigurator</property-name>
+         <value>#{applicationScope.AuthorizationDomainRegistry.instance.configurator}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>paginationSize</property-name>
+         <value>20</value>
+      </managed-property>
+   </managed-bean>
+
+   <!-- The portlet manager managed bean -->
+   <managed-bean>
+      <managed-bean-name>portletmgr</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.PortletManagerBean</managed-bean-class>
+      <managed-bean-scope>session</managed-bean-scope>
+      <managed-property>
+         <property-name>roleModule</property-name>
+         <value>#{applicationScope.RoleModule}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>instanceContainer</property-name>
+         <value>#{applicationScope.InstanceContainer}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>authorizationDomainRegistry</property-name>
+         <value>#{applicationScope.AuthorizationDomainRegistry}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>federatingPortletInvoker</property-name>
+         <value>#{applicationScope.FederatingPortletInvoker}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>selectedPortletInvokerId</property-name>
+         <value>local</value>
+      </managed-property>
+      <managed-property>
+         <property-name>paginationSize</property-name>
+         <value>20</value>
+      </managed-property>
+   </managed-bean>
+
+   <managed-bean>
+      <managed-bean-name>newWindowWizard</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.wizard.NewWindowWizard</managed-bean-class>
+      <managed-bean-scope>session</managed-bean-scope>
+      <managed-property>
+         <property-name>instanceContainer</property-name>
+         <value>#{applicationScope.InstanceContainer}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>federatingPortletInvoker</property-name>
+         <value>#{applicationScope.FederatingPortletInvoker}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>portalObjectContainer</property-name>
+         <value>#{applicationScope.PortalObjectContainer}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>layoutService</property-name>
+         <value>#{applicationScope.LayoutService}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>authorizationDomainRegistry</property-name>
+         <value>#{applicationScope.AuthorizationDomainRegistry}</value>
+      </managed-property>
+   </managed-bean>
+
+   <managed-bean>
+      <managed-bean-name>createInstanceAction</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.actions.CreateInstanceAction</managed-bean-class>
+      <managed-bean-scope>request</managed-bean-scope>
+      <managed-property>
+         <property-name>portletManager</property-name>
+         <value>#{sessionScope.portletmgr}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>instanceManager</property-name>
+         <value>#{sessionScope.instancemgr}</value>
+      </managed-property>
+   </managed-bean>
+
+   <!--
+     | Dashboard beans
+    -->
+
+   <managed-bean>
+      <managed-bean-name>dashboard</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.dashboard.DashboardBean</managed-bean-class>
+      <managed-bean-scope>session</managed-bean-scope>
+      <managed-property>
+         <property-name>portalObjectContainer</property-name>
+         <value>#{applicationScope.PortalObjectContainer}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>layoutService</property-name>
+         <value>#{applicationScope.LayoutService}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>themeService</property-name>
+         <value>#{applicationScope.ThemeService}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>instanceContainer</property-name>
+         <value>#{applicationScope.InstanceContainer}</value>
+      </managed-property>
+   </managed-bean>
+   <managed-bean>
+      <managed-bean-name>addDashboardPageAction</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.actions.AddPageAction</managed-bean-class>
+      <managed-bean-scope>request</managed-bean-scope>
+      <managed-property>
+         <property-name>pageContainer</property-name>
+         <value>#{sessionScope.dashboard.userPortal}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>messageTarget</property-name>
+         <value>error</value>
+      </managed-property>
+      <managed-property>
+         <property-name>listener</property-name>
+         <value>#{sessionScope.dashboard}</value>
+      </managed-property>
+   </managed-bean>
+
+   <managed-bean>
+      <managed-bean-name>renameAction</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.actions.RenameAction</managed-bean-class>
+      <managed-bean-scope>request</managed-bean-scope>
+      <managed-property>
+         <property-name>pageContainer</property-name>
+         <value>#{portalobjectmgr.selectedObject}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>bean</property-name>
+         <value>#{portalobjectmgr}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>domainConfigurator</property-name>
+         <value>#{applicationScope.AuthorizationDomainRegistry.portalobject.configurator}</value>
+      </managed-property>
+   </managed-bean>
+
+   <managed-bean>
+      <managed-bean-name>renameDashboardPageAction</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.core.admin.ui.actions.RenameAction</managed-bean-class>
+      <managed-bean-scope>request</managed-bean-scope>
+      <managed-property>
+         <property-name>pageContainer</property-name>
+         <value>#{dashboard.selectedPage}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>bean</property-name>
+         <value>#{dashboard}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>domainConfigurator</property-name>
+         <value>#{applicationScope.AuthorizationDomainRegistry.portalobject.configurator}</value>
+      </managed-property>
+   </managed-bean>
+
+   <!-- Constants -->
+   <managed-bean>
+      <managed-bean-name>PortalObject</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.faces.el.ClassConstantPublisherBean</managed-bean-class>
+      <managed-bean-scope>application</managed-bean-scope>
+      <managed-property>
+         <property-name>className</property-name>
+         <value>org.jboss.portal.core.model.portal.PortalObject</value>
+      </managed-property>
+   </managed-bean>
+   <managed-bean>
+      <managed-bean-name>ControlConstants</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.faces.el.ClassConstantPublisherBean</managed-bean-class>
+      <managed-bean-scope>application</managed-bean-scope>
+      <managed-property>
+         <property-name>className</property-name>
+         <value>org.jboss.portal.core.model.portal.control.ControlConstants</value>
+      </managed-property>
+   </managed-bean>
+   <managed-bean>
+      <managed-bean-name>PropertiesInfo</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.faces.el.ClassConstantPublisherBean</managed-bean-class>
+      <managed-bean-scope>application</managed-bean-scope>
+      <managed-property>
+         <property-name>className</property-name>
+         <value>org.jboss.portal.core.admin.ui.PropertiesInfo</value>
+      </managed-property>
+   </managed-bean>
+   <managed-bean>
+      <managed-bean-name>ControlPropertiesBean</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.faces.el.ClassConstantPublisherBean</managed-bean-class>
+      <managed-bean-scope>application</managed-bean-scope>
+      <managed-property>
+         <property-name>className</property-name>
+         <value>org.jboss.portal.core.admin.ui.ControlPropertiesBean</value>
+      </managed-property>
+   </managed-bean>
+   
+
+   <navigation-rule>
+      <navigation-case>
+         <from-outcome>index</from-outcome>
+         <to-view-id>/WEB-INF/jsf/objects.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>advancedMode</from-outcome>
+         <to-view-id>/WEB-INF/jsf/objects.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>wizardMode</from-outcome>
+         <to-view-id>/WEB-INF/jsf/wizard/selectPortlet.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>objects</from-outcome>
+         <to-view-id>/WEB-INF/jsf/objects.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>editPortalSecurity</from-outcome>
+         <to-view-id>/WEB-INF/jsf/editPortalSecurity.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>editPortalTheme</from-outcome>
+         <to-view-id>/WEB-INF/jsf/editPortalTheme.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>editPageLayout</from-outcome>
+         <to-view-id>/WEB-INF/jsf/editPageLayout.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>editPageSecurity</from-outcome>
+         <to-view-id>/WEB-INF/jsf/editPageSecurity.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>editProperties</from-outcome>
+         <to-view-id>/WEB-INF/jsf/editProperties.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>editPageTheme</from-outcome>
+         <to-view-id>/WEB-INF/jsf/editPageTheme.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>editWindowSecurity</from-outcome>
+         <to-view-id>/WEB-INF/jsf/editWindowSecurity.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>renameObject</from-outcome>
+         <to-view-id>/WEB-INF/jsf/renameObject.xhtml</to-view-id>
+      </navigation-case>
+      
+      <navigation-case>
+         <from-outcome>editWindowTheme</from-outcome>
+         <to-view-id>/WEB-INF/jsf/editWindowTheme.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>instances</from-outcome>
+         <to-view-id>/WEB-INF/jsf/instances.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>portlets</from-outcome>
+         <to-view-id>/WEB-INF/jsf/portlets.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>selectPortlet</from-outcome>
+         <to-view-id>/WEB-INF/jsf/wizard/selectPortlet.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>selectPortal</from-outcome>
+         <to-view-id>/WEB-INF/jsf/wizard/selectPortal.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>selectPage</from-outcome>
+         <to-view-id>/WEB-INF/jsf/wizard/selectPage.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>selectRegion</from-outcome>
+         <to-view-id>/WEB-INF/jsf/wizard/selectRegion.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>newWindowWizardConfirm</from-outcome>
+         <to-view-id>/WEB-INF/jsf/wizard/newWindowWizardConfirm.xhtml</to-view-id>
+      </navigation-case>
+
+      <navigation-case>
+         <from-outcome>dashboards</from-outcome>
+         <to-view-id>/WEB-INF/jsf/dashboards.xhtml</to-view-id>
+      </navigation-case>
+
+      <navigation-case>
+         <from-outcome>dashboard</from-outcome>
+         <to-view-id>/WEB-INF/jsf/dashboard/dashboard.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>confirm</from-outcome>
+         <to-view-id>/WEB-INF/jsf/common/confirm.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>confirmDeleteInstance</from-outcome>
+         <to-view-id>/WEB-INF/jsf/confirmDeleteInstance.xhtml</to-view-id>
+      </navigation-case>
+   </navigation-rule>
+
+   <lifecycle>
+      <phase-listener>org.jboss.portal.core.admin.ui.Refresher</phase-listener>
+   </lifecycle>
+
+   <component>
+      <component-type>org.jboss.portal.Scroller</component-type>
+      <component-class>org.jboss.portal.faces.component.scroller.UIScroller</component-class>
+   </component>
+
+   <component>
+      <component-type>org.jboss.portal.Portlet</component-type>
+      <component-class>org.jboss.portal.faces.component.portlet.UIPortlet</component-class>
+   </component>
+   
+   <render-kit>
+      <renderer>
+         <component-family>javax.faces.Input</component-family>
+         <renderer-type>default</renderer-type>
+         <renderer-class>org.jboss.portal.faces.component.scroller.ScrollerRenderer</renderer-class>
+      </renderer>
+   </render-kit>
+
+</faces-config>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jboss-portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jboss-portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jboss-portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,115 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE portlet-app PUBLIC
+   "-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
+   "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd">
+
+<portlet-app>
+   <portlet>
+      <portlet-name>AdminPortlet</portlet-name>
+      <ajax>
+         <partial-refresh>false</partial-refresh>
+      </ajax>
+      <transaction>
+         <trans-attribute>Required</trans-attribute>
+      </transaction>
+      <header-content>
+         <link rel="stylesheet" type="text/css" href="/style.css" media="screen"/>
+      </header-content>
+   </portlet>
+   <portlet>
+      <portlet-name>DashboardConfigPortlet</portlet-name>
+      <ajax>
+         <partial-refresh>false</partial-refresh>
+      </ajax>
+      <transaction>
+         <trans-attribute>Required</trans-attribute>
+      </transaction>
+      <header-content>
+         <link rel="stylesheet" type="text/css" href="/style.css" media="screen"/>
+      </header-content>
+   </portlet>
+
+   <!-- Service injected in the portlet context. -->
+   <service>
+      <service-name>PortalObjectContainer</service-name>
+      <service-class>org.jboss.portal.core.model.portal.PortalObjectContainer</service-class>
+      <service-ref>:container=PortalObject</service-ref>
+   </service>
+   <service>
+      <service-name>InstanceContainer</service-name>
+      <service-class>org.jboss.portal.core.model.instance.InstanceContainer</service-class>
+      <service-ref>:container=Instance</service-ref>
+   </service>
+   <service>
+      <service-name>ThemeService</service-name>
+      <service-class>org.jboss.portal.theme.ThemeService</service-class>
+      <service-ref>:service=ThemeService</service-ref>
+   </service>
+   <service>
+      <service-name>LayoutService</service-name>
+      <service-class>org.jboss.portal.theme.LayoutService</service-class>
+      <service-ref>:service=LayoutService</service-ref>
+   </service>
+   <service>
+      <service-name>UserModule</service-name>
+      <service-class>org.jboss.portal.identity.UserModule</service-class>
+      <service-ref>:service=Module,type=User</service-ref>
+   </service>
+   <service>
+      <service-name>RoleModule</service-name>
+      <service-class>org.jboss.portal.identity.RoleModule</service-class>
+      <service-ref>:service=Module,type=Role</service-ref>
+   </service>
+   <service>
+      <service-name>UserProfileModule</service-name>
+      <service-class>org.jboss.portal.identity.UserProfileModule</service-class>
+      <service-ref>:service=Module,type=UserProfile</service-ref>
+   </service>
+   <service>
+      <service-name>MembershipModule</service-name>
+      <service-class>org.jboss.portal.identity.MembershipModule</service-class>
+      <service-ref>:service=Module,type=Membership</service-ref>
+   </service>
+   <service>
+      <service-name>MailModule</service-name>
+      <service-class>org.jboss.portal.core.modules.MailModule</service-class>
+      <service-ref>:service=Module,type=Mail</service-ref>
+   </service>
+   <service>
+      <service-name>PortalAuthorizationManagerFactory</service-name>
+      <service-class>org.jboss.portal.security.spi.auth.PortalAuthorizationManagerFactory</service-class>
+      <service-ref>:service=PortalAuthorizationManagerFactory</service-ref>
+   </service>
+   <service>
+      <service-name>AuthorizationDomainRegistry</service-name>
+      <service-class>org.jboss.portal.security.AuthorizationDomainRegistry</service-class>
+      <service-ref>:service=AuthorizationDomainRegistry</service-ref>
+   </service>
+   <service>
+      <service-name>FederatingPortletInvoker</service-name>
+      <service-class>org.jboss.portal.portlet.federation.FederatingPortletInvoker</service-class>
+      <service-ref>:service=PortletInvoker,type=Federating</service-ref>
+   </service>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jboss_portal.tld
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jboss_portal.tld	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jboss_portal.tld	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<!DOCTYPE taglib
+  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" 
+  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+<taglib>
+<tlib-version>0.01</tlib-version>
+<jsp-version>1.2</jsp-version>
+<short-name>jbp</short-name>
+<uri>http://www.jboss.org/portal</uri>
+<description>This tag library contains the scroller tag.</description>
+
+<tag>
+   <name>scroller</name>
+   <tag-class>org.jboss.portal.faces.component.scroller.ScrollerTag</tag-class>
+   
+   <attribute>
+     <name>for</name>
+     <required>true</required>
+   </attribute>
+   
+   <attribute>
+     <name>styleClass</name>
+   </attribute>
+   
+</tag>
+
+</taglib>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/confirm.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/confirm.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/confirm.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,48 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:jbp="http://www.jboss.org/portal"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="admin-ui">
+
+   <ui:composition template="../objectTemplate.xhtml">
+
+      <ui:param name="portalObjectScreen" value="Delete"/>
+      <ui:define name="content">
+
+         <div class="portlet-msg">
+            <div class="portlet-msg-icon"><h:graphicImage url="/img/msgIcon_Warning.gif" alt="/!\"/></div>
+            <div class="portlet-msg-body">
+               <h3>Delete <h:outputText value="#{portalobjectmgr.selectedObjectType}"/></h3>
+
+               <p class="portlet-msg-alert">
+                  WARNING! You are about to delete the
+                  <span class="objectName">#{portalobjectmgr.selectedObject.name}</span>
+                  #{portalobjectmgr.selectedObject.typeName} from the
+                  <c:if test="#{not empty portalobjectmgr.selectedObjectParent.name}">
+                     <span class="objectName">#{portalobjectmgr.selectedObjectParent.name}</span>
+                  </c:if>
+                  #{portalobjectmgr.selectedObjectParent.typeName}!
+               </p>
+
+               <p class="portlet-class">Are you sure you want to delete this #{portalobjectmgr.selectedObjectType}?</p>
+
+               <h:form>
+                  <h:commandButton value="Delete" action="objects" actionListener="#{portalobjectmgr.destroyObject}"
+                                   styleClass="portlet-form-button portlet-section-buttonrow">
+                     <f:attribute name="objectId" value="#{portalobjectmgr.selectedObject.id}"/>
+                  </h:commandButton>
+                  <h:commandButton value="Cancel" action="objects"
+                                   actionListener="#{portalobjectmgr.selectParentObject}"
+                                   styleClass="portlet-form-button portlet-section-buttonrow"/>
+               </h:form>
+            </div>
+         </div>
+
+      </ui:define>
+
+   </ui:composition>
+
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPageErrorHandling.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPageErrorHandling.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPageErrorHandling.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,148 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+<p class="portlet-area-header">Page Error Handling</p>
+
+<div class="portlet-area-body">
+<!-- defines error handeling section -->
+<table cellpadding="0" cellspacing="0" width="100%">
+<tr>
+   <th class="portlet-section-title">Configure how the system handles errors on page level.</th>
+</tr>
+<tr>
+<td valign="top" class="portlet-section-body">
+
+
+<h:form>
+<table width="100%">
+<thead class="portlet-section-header">
+   <tr>
+      <th>Case</th>
+      <th>Inheritance</th>
+      <th>Action</th>
+   </tr>
+</thead>
+<tbody>
+<tr class="portlet-section-body">
+   <td>
+      <h:outputText value="#{properties.pageControlAccessDenied.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.pageControlAccessDenied.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.pageControlAccessDenied.inherit}"
+                               value="#{properties.pageControlAccessDenied.inherited}"/>inherit action
+      from parent
+   </td>
+   <td>
+      <h:selectOneMenu value="#{properties.pageControlAccessDenied.value}"
+                       disabled="#{properties.pageControlAccessDenied.inherited}" onchange="submit();">
+         <f:selectItems value="#{properties.pageSelectItems}"/>
+      </h:selectOneMenu>
+   </td>
+</tr>
+<tr class="portlet-section-alternate">
+   <td>
+      <h:outputText value="#{properties.pageControlUnavailable.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.pageControlUnavailable.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.pageControlUnavailable.inherit}"
+                               value="#{properties.pageControlUnavailable.inherited}"/>inherit action
+      from parent
+   </td>
+   <td>
+      <h:selectOneMenu value="#{properties.pageControlUnavailable.value}"
+                       disabled="#{properties.pageControlUnavailable.inherited}" onchange="submit();">
+         <f:selectItems value="#{properties.pageSelectItems}"/>
+      </h:selectOneMenu>
+   </td>
+</tr>
+<tr class="portlet-section-body">
+   <td>
+      <h:outputText value="#{properties.pageControlError.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.pageControlError.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.pageControlError.inherit}"
+                               value="#{properties.pageControlError.inherited}"/>inherit action from
+      parent
+   </td>
+   <td>
+      <h:selectOneMenu value="#{properties.pageControlError.value}"
+                       disabled="#{properties.pageControlError.inherited}" onchange="submit();">
+         <f:selectItems value="#{properties.pageSelectItems}"/>
+      </h:selectOneMenu>
+   </td>
+</tr>
+<tr class="portlet-section-alternate">
+   <td>
+      <h:outputText value="#{properties.pageControlInternalError.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.pageControlInternalError.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.pageControlInternalError.inherit}"
+                               value="#{properties.pageControlInternalError.inherited}"/>inherit action
+      from parent
+   </td>
+   <td>
+      <h:selectOneMenu value="#{properties.pageControlInternalError.value}"
+                       disabled="#{properties.pageControlInternalError.inherited}" onchange="submit();">
+         <f:selectItems value="#{properties.pageSelectItems}"/>
+      </h:selectOneMenu>
+   </td>
+</tr>
+<tr class="portlet-section-body">
+   <td>
+      <h:outputText value="#{properties.pageControlNotFound.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.pageControlNotFound.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.pageControlNotFound.inherit}"
+                               value="#{properties.pageControlNotFound.inherited}"/>inherit action from
+      parent
+   </td>
+   <td>
+      <h:selectOneMenu value="#{properties.pageControlNotFound.value}"
+                       disabled="#{properties.pageControlNotFound.inherited}" onchange="submit();">
+         <f:selectItems value="#{properties.pageSelectItems}"/>
+      </h:selectOneMenu>
+   </td>
+</tr>
+<tr class="portlet-section-alternate">
+   <td>
+      <h:outputText value="#{properties.pageControlResourceURI.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.pageControlResourceURI.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.pageControlResourceURI.inherit}"
+                               value="#{properties.pageControlResourceURI.inherited}"/>inherit action
+      from parent
+   </td>
+   <td>
+      <h:inputText value="#{properties.pageControlResourceURI.value}" size="60"
+                   disabled="#{properties.pageControlResourceURI.inherited}"/>
+   </td>
+</tr>
+</tbody>
+</table>
+<h:commandButton value="Update" styleClass="portlet-form-button portlet-section-buttonrow"/>
+</h:form>
+
+
+</td>
+</tr>
+</table>
+
+</div>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPageLayout.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPageLayout.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPageLayout.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,170 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:jbp="http://www.jboss.org/portal"
+   xmlns:c="http://java.sun.com/jstl/core">
+<br />
+<table width="100%">
+<tr>
+<td valign="top" width="50%">
+   <p class="portlet-area-header">Content Definition</p>
+
+   <div class="portlet-area-body">
+
+      <table>
+         <tr>
+            <td colspan="2">Define a name for the window of content (optional):
+            </td>
+         </tr>
+         <tr>
+            <td colspan="2">
+               <h:form id="windowForm">
+               <label for="windowName">
+                  <span class="portlet-form-field-label admin-label">Window Name:</span>
+                  <h:inputText id="windowName" value="#{pageManager.windowName}" styleClass="portlet-form-input-field"/>
+               </label>
+               <h:message for="windowName" errorClass="portlet-msg-error"/>
+               </h:form>
+            </td>
+         </tr>
+         <tr>
+            <td colspan="2">
+               <hr/>
+               Select the type of content that will be added to the page:
+            </td>
+         </tr>
+         <tr>
+            <td>
+               <h:form id="abc">
+                  <label for="instanceId" class="portlet-form-field-label-container">
+                     <span class="portlet-form-field-label admin-label">Content Type:</span>
+                     <h:inputHidden id="windowNameCopy" value="#{pageManager.windowName}"/>
+                     <h:selectOneMenu
+                        id="instanceId"
+                        value="#{pageManager.selectedContentType}"
+                        styleClass="portlet-form-field contentType"
+                        onchange="document.getElementById('abc:windowNameCopy').value = document.getElementById('windowForm:windowName').value;
+                                  document.getElementById('abc').submit(); ">
+                        <f:selectItems value="#{pageManager.contentTypeItems}"/>
+                     </h:selectOneMenu>
+                     </label>
+                     <h:message for="instanceId" errorClass="portlet-msg-error"/>
+               </h:form>
+            </td>
+         </tr>
+         <tr>
+            <td colspan="2">
+               <hr/>
+               Select content that will be added to the page:
+            </td>
+         </tr>
+         <tr>
+            <td colspan="2" valign="top">
+               <jbp:portlet
+                  portletId="#{pageManager.selectedEditorPortletId}"
+                  portletInvoker="#{pageManager.portletInvoker}"
+                  actionListener="#{pageManager.assignWindow}"
+                  supportedModes="edit_content"
+                  supportedWindowStates="normal"
+                  initialMode="edit_content"
+                  initialWindowState="normal"
+                  renderParameters="#{pageManager.selectedRenderParameters}"
+                  onClick="url.setParameter('windowName', document.getElementById('windowForm:windowName').value);"/>
+            </td>
+         </tr>
+      </table>
+
+   </div>
+
+</td>
+<td valign="top" width="50%">
+
+   <p class="portlet-area-header">Page Layout</p>
+
+   <div class="portlet-area-body">
+
+      <h:form id="layoutForm">
+         <h:message for="layoutForm" errorClass="portlet-msg-error"/>
+         <input id="blah" type="hidden" name="blah" value=""/>
+         <table width="100%">
+            <tbody>
+               <c:forEach items="#{pageManager.regionNames}" var="regionName" varStatus="status">
+                  <tr>
+                     <td colspan="3" class="portlet-form-field-label">
+                        <hr/>
+                        #{regionName} Region
+                     </td>
+                  </tr>
+                  <tr>
+                     <td valign="top">
+                        <h:commandButton
+                           onclick="document.getElementById('blah').value=document.getElementById('windowForm:windowName').value"
+                           value="Add" id="a_#{regionName}"
+                           actionListener="#{pageManager.assignWindows}"
+                           styleClass="portlet-form-button layout-button"/>
+                     </td>
+                     <td width="100%">
+                        <h:selectManyListbox
+                           value="#{pageManager.assignedWindows[regionName]}"
+                           size="7" styleClass="windowList portlet-form-field">
+                           <f:selectItems
+                              value="#{pageManager.windowItemsMap[regionName]}"/>
+                        </h:selectManyListbox>
+                     </td>
+                     <td valign="top" width="250">
+                        <h:commandButton
+                           value="Up" id="u_#{regionName}"
+                           actionListener="#{pageManager.assignWindows}"
+                           styleClass="portlet-form-button layout-button"/><br/>
+                        <h:commandButton
+                           value="Down" id="d_#{regionName}"
+                           actionListener="#{pageManager.assignWindows}"
+                           styleClass="portlet-form-button layout-button"/>
+                        <hr/>
+                        <h:commandButton
+                           value="Delete" id="l_#{regionName}"
+                           actionListener="#{pageManager.assignWindows}"
+                           styleClass="portlet-form-button layout-button"/>
+                     </td>
+                  </tr>
+               </c:forEach>
+            </tbody>
+            <c:if test="#{!(empty pageManager.assignedWindows['unknown'])}">
+               <tbody>
+                  <tr>
+                     <td colspan="2" class="portlet-form-field-label"
+                         style="border-width:0px;border-top:1px dashed #d5d5d5">Unassigned
+                        windows
+                     </td>
+                  </tr>
+                  <tr>
+                     <td>
+                        <div style="margin-top: 1em">
+                           <h:commandButton value="Delete"
+                                            id="l_unknown" actionListener="#{pageManager.assignWindows}"
+                                            styleClass="portlet-form-button"/>
+                        </div>
+                     </td>
+                     <td>
+                        <h:selectManyListbox
+                           value="#{pageManager.assignedWindows['unknown']}"
+                           size="7" styleClass="windowList portlet-form-field">
+                           <f:selectItems
+                              value="#{pageManager.windowItemsMap['unknown']}"/>
+                        </h:selectManyListbox>
+                     </td>
+                  </tr>
+               </tbody>
+            </c:if>
+         </table>
+      </h:form>
+
+   </div>
+
+</td>
+</tr>
+</table>
+
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPortalErrorHandling.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPortalErrorHandling.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPortalErrorHandling.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,149 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+<p class="portlet-area-header">Portal Error Handling</p>
+
+<div class="portlet-area-body">
+
+<!-- defines error handeling section -->
+<table cellpadding="0" cellspacing="0" width="100%">
+<tr>
+   <th class="portlet-section-title">Configure how the system handles errors on portal level.</th>
+</tr>
+<tr>
+<td valign="top" class="portlet-section-body">
+
+<h:form>
+<table width="100%">
+<thead class="portlet-section-header">
+   <tr>
+      <th>Case</th>
+      <th>Inheritance</th>
+      <th>Action</th>
+   </tr>
+</thead>
+<tbody>
+<tr class="portlet-section-body">
+   <td>
+      <h:outputText value="#{properties.portalControlAccessDenied.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.portalControlAccessDenied.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.portalControlAccessDenied.inherit}"
+                               value="#{properties.portalControlAccessDenied.inherited}"/>inherit
+      action from parent
+   </td>
+   <td>
+      <h:selectOneMenu value="#{properties.portalControlAccessDenied.value}"
+                       disabled="#{properties.portalControlAccessDenied.inherited}"
+                       onchange="submit();">
+         <f:selectItems value="#{properties.portalSelectItems}"/>
+      </h:selectOneMenu>
+   </td>
+</tr>
+<tr class="portlet-section-alternate">
+   <td>
+      <h:outputText value="#{properties.portalControlUnavailable.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.portalControlUnavailable.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.portalControlUnavailable.inherit}"
+                               value="#{properties.portalControlUnavailable.inherited}"/>inherit
+      action from parent
+   </td>
+   <td>
+      <h:selectOneMenu value="#{properties.portalControlUnavailable.value}"
+                       disabled="#{properties.portalControlUnavailable.inherited}"
+                       onchange="submit();">
+         <f:selectItems value="#{properties.portalSelectItems}"/>
+      </h:selectOneMenu>
+   </td>
+</tr>
+<tr class="portlet-section-body">
+   <td>
+      <h:outputText value="#{properties.portalControlError.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.portalControlError.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.portalControlError.inherit}"
+                               value="#{properties.portalControlError.inherited}"/>inherit action from
+      parent
+   </td>
+   <td>
+      <h:selectOneMenu value="#{properties.portalControlError.value}"
+                       disabled="#{properties.portalControlError.inherited}" onchange="submit();">
+         <f:selectItems value="#{properties.portalSelectItems}"/>
+      </h:selectOneMenu>
+   </td>
+</tr>
+<tr class="portlet-section-alternate">
+   <td>
+      <h:outputText value="#{properties.portalControlInternalError.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.portalControlInternalError.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.portalControlInternalError.inherit}"
+                               value="#{properties.portalControlInternalError.inherited}"/>inherit
+      action from parent
+   </td>
+   <td>
+      <h:selectOneMenu value="#{properties.portalControlInternalError.value}"
+                       disabled="#{properties.portalControlInternalError.inherited}"
+                       onchange="submit();">
+         <f:selectItems value="#{properties.portalSelectItems}"/>
+      </h:selectOneMenu>
+   </td>
+</tr>
+<tr class="portlet-section-body">
+   <td>
+      <h:outputText value="#{properties.portalControlNotFound.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.portalControlNotFound.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.portalControlNotFound.inherit}"
+                               value="#{properties.portalControlNotFound.inherited}"/>inherit action
+      from parent
+   </td>
+   <td>
+      <h:selectOneMenu value="#{properties.portalControlNotFound.value}"
+                       disabled="#{properties.portalControlNotFound.inherited}" onchange="submit();">
+         <f:selectItems value="#{properties.portalSelectItems}"/>
+      </h:selectOneMenu>
+   </td>
+</tr>
+<tr class="portlet-section-alternate">
+   <td>
+      <h:outputText value="#{properties.portalControlResourceURI.displayName}"/>
+   </td>
+   <td>
+      <h:selectBooleanCheckbox disabled="#{!properties.portalControlResourceURI.inheritable}"
+                               onclick="submit();"
+                               valueChangeListener="#{properties.portalControlResourceURI.inherit}"
+                               value="#{properties.portalControlResourceURI.inherited}"/>inherit
+      action from parent
+   </td>
+   <td>
+      <h:inputText value="#{properties.portalControlResourceURI.value}" size="60"
+                   disabled="#{properties.portalControlResourceURI.inherited}"/>
+   </td>
+</tr>
+</tbody>
+</table>
+<h:commandButton value="Update" styleClass="portlet-form-button portlet-section-buttonrow"/>
+</h:form>
+</td>
+</tr>
+</table>
+
+</div>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPreferences.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPreferences.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editPreferences.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,106 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+<c:choose>
+   <c:when test="#{not empty prefs.entries}">
+      <h:form>
+         <table width="100%">
+            <thead class="portlet-section-header" style="text-align:left;">
+               <tr>
+                  <th>Key</th>
+                  <th>Name</th>
+                  <th>ReadOnly</th>
+                  <c:if test="#{prefs.mutable}">
+                     <th>Value</th>
+                  </c:if>
+               </tr>
+            </thead>
+            <tbody>
+               <c:forEach items="#{prefs.entries}" var="pref" varStatus="status">
+                  <tr class="#{status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
+                     <td>
+                        <c:choose>
+                           <c:when test="#{prefs.mutable and pref.readOnly == false}">
+                              <h:commandLink
+                                 rendered="#{pref.readOnly == false}"
+                                 action="#{pref.select}">#{pref.name}</h:commandLink>
+                           </c:when>
+                           <c:otherwise>#{pref.name}</c:otherwise>
+                        </c:choose>
+                     </td>
+                     <td>
+                        <h:outputText value="#{pref.displayName}"/>
+                     </td>
+                     <td>
+                        <h:selectBooleanCheckbox disabled="true" value="#{pref.readOnly}"/>
+                     </td>
+                     <c:if test="#{prefs.mutable}">
+                        <td>
+                           <h:outputText value="#{pref.value}"/>
+                        </td>
+                     </c:if>
+                  </tr>
+               </c:forEach>
+            </tbody>
+         </table>
+      </h:form>
+   </c:when>
+   <c:otherwise>
+      <p>No defined preferences for this portlet.</p>
+   </c:otherwise>
+</c:choose>
+
+<c:if test="#{prefs.selectedEntry != null}">
+   <h:form style="padding: 1em 0 1em 0">
+      <fieldset style="border: 1px solid;">
+         <legend>Edit existing values</legend>
+         <table>
+            <tbody>
+               <c:forEach items="#{prefs.selectedEntry.indices}" var="index" varStatus="status">
+                  <tr>
+                     <td>
+                        <h:outputLabel for="row_#{status.index}">
+                           <h:outputText value="Value #{status.index}: " styleClass="portlet-form-field-label"/>
+                        </h:outputLabel>
+                     </td>
+                     <td>
+                        <h:inputText value="#{prefs.selectedEntry[index]}" styleClass="portlet-form-input-field"/>
+                     </td>
+                     <td>
+                        <h:commandButton
+                           id="row_#{status.index}"
+                           actionListener="#{prefs.selectedEntry.deleteLine}"
+                           value="Delete"
+                           styleClass="portlet-form-button"/>
+                     </td>
+                  </tr>
+               </c:forEach>
+               <tr>
+                  <td colspan="3">
+                     <h:commandButton value="Update" styleClass="portlet-form-button"/>
+                  </td>
+               </tr>
+            </tbody>
+         </table>
+      </fieldset>
+   </h:form>
+
+   <h:form>
+      <fieldset style="border: 1px solid;">
+         <legend>Append a value</legend>
+         <h:outputLabel for="new_value">
+            <h:outputText value="New value: " styleClass="portlet-form-field-label"/>
+         </h:outputLabel>
+         <h:inputText id="new_value" value="#{prefs.selectedEntry.line}" styleClass="portlet-form-input-field"/>
+         <h:commandButton action="#{prefs.selectedEntry.appendLine}" value="Append"
+                          styleClass="portlet-form-button"/>
+      </fieldset>
+   </h:form>
+
+</c:if>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editProperties.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editProperties.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editProperties.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,134 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+<br/>
+
+<div class="portlet-area-header">Properties</div>
+<div class="portlet-area-body">
+
+<!-- divide the area body into two panes -->
+<table cellpadding="0" cellspacing="0" width="100%">
+<tr>
+<td>
+
+   <!-- defines property creation section -->
+   <table cellpadding="0" cellspacing="0" width="100%">
+      <tr>
+         <th class="portlet-section-title">Add a property.</th>
+      </tr>
+      <tr>
+         <td valign="top" class="portlet-section-body">
+
+            <h:form>
+
+               <!-- defines layout of property form -->
+               <table>
+                  <tbody>
+                     <tr>
+                        <td class="portlet-form-field-label">
+                           <h:outputLabel for="predefinedProperty" styleClass="portlet-form-field-label">Select
+                              predefined property:</h:outputLabel>
+                        </td>
+                     </tr>
+                     <tr>
+                        <td>
+                           <h:selectOneMenu id="predefinedProperty" value="#{properties.action.selectedProperty}">
+                              <f:selectItems value="#{properties.propertyItems}"/>
+                           </h:selectOneMenu>
+                        </td>
+                     </tr>
+                     <tr>
+                        <td align="center">or</td>
+                     </tr>
+                     <tr>
+                        <td class="portlet-form-field-label">
+                           <h:outputLabel for="property" styleClass="portlet-form-field-label">Enter property
+                              name:</h:outputLabel>
+                        </td>
+                     </tr>
+                     <tr>
+                        <td>
+                           <h:inputText id="property" styleClass="portlet-form-input-field"
+                                        value="#{properties.action.otherPropertyName}"/>
+                        </td>
+                     </tr>
+                  </tbody>
+               </table>
+               <!-- ends layout of property form -->
+               <h:commandButton value="Add Property" styleClass="portlet-form-button portlet-section-buttonrow"
+                                action="#{properties.action.updateProperty}"/></h:form>
+
+         </td>
+      </tr>
+   </table>
+   <!-- ends property creation section -->
+
+</td>
+<td valign="top" width="100%" style="padding-left:5px;"><!-- creates division of 2 pane area -->
+
+
+   <!-- defines property list section -->
+   <c:if test="#{properties.size != 0}">
+      <table cellpadding="0" cellspacing="0" width="100%">
+         <tr>
+            <th class="portlet-section-title">Manage currently defined properties.</th>
+         </tr>
+         <tr>
+            <td class="portlet-section-body" valign="top">
+
+               <h:form>
+                  <!-- defines layout of property table -->
+                  <h:dataTable value="#{properties.entries}" width="100%"
+                               rowClasses="portlet-section-body, portlet-section-alternate" var="prop">
+                     <h:column>
+                        <f:facet name="header">Name</f:facet>
+                        <h:outputText title="#{prop.type}" value="#{prop.displayName}"/>
+                     </h:column>
+                     <h:column>
+                        <f:facet name="header">Description</f:facet>
+                        <h:outputText>#{prop.description}</h:outputText>
+                     </h:column>
+                     <h:column>
+                        <f:facet name="header">Inherited</f:facet>
+                        <h:outputText>#{prop.inherited ? 'Yes' : 'No'}</h:outputText>
+                     </h:column>
+                     <h:column>
+                        <f:facet name="header">Value</f:facet>
+                        <h:selectBooleanCheckbox value="#{prop.value}"
+                                                 readonly="#{prop.readOnly}"
+                                                 rendered="#{prop.type == 'java.lang.Boolean'}"/>
+                        <h:inputText styleClass="portlet-form-input-field" value="#{prop.value}"
+                                     readonly="#{prop.readOnly}"
+                                     rendered="#{prop.type == 'java.lang.String'}"/>
+                     </h:column>
+                     <h:column>
+                        <f:facet name="header">Delete</f:facet>
+                        <h:commandLink action="#{properties.action.removeProperty}"
+                                       rendered="#{!prop.inherited}">
+                           <h:outputText styleClass="actionDelete" value="Delete"/>
+                           <f:param name="name" value="#{prop.name}"/>
+                        </h:commandLink>
+                     </h:column>
+                  </h:dataTable>
+
+                  <!-- ends property list -->
+                  <h:commandButton value="Update" styleClass="portlet-form-button portlet-section-buttonrow"/></h:form>
+
+            </td>
+         </tr>
+      </table>
+   </c:if>
+   <!-- ends property list section -->
+
+</td>
+</tr>
+</table>
+<!-- ends area body -->
+
+</div>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editSecurity.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editSecurity.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editSecurity.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,42 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+   <h:form>
+      <table>
+         <thead class="portlet-section-header">
+            <tr>
+               <th>Roles</th>
+               <th>Permissions</th>
+            </tr>
+         </thead>
+         <tbody>
+            <c:forEach items="#{auth.roles}" var="role" varStatus="status">
+               <tr class="#{status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
+                  <td>
+                     <h:outputLabel for="cars_#{status.index}">
+                        Role #{role == '__unchecked__' ? 'Unchecked' : (auth.roleDisplayNameMap[role] != null ? auth.roleDisplayNameMap[role] : role)}:
+                     </h:outputLabel>
+                  </td>
+                  <td>
+                     <h:selectManyCheckbox
+                        id="cars_#{status.index}"
+                        value="#{auth.forRole[role]}"
+                        layout="lineDirection">
+                        <f:selectItems value="#{auth.availableActions}"/>
+                     </h:selectManyCheckbox>
+                  </td>
+               </tr>
+            </c:forEach>
+         </tbody>
+      </table>
+      <div>
+        <h:commandButton value="Update" action="#{auth.submit}" styleClass="portlet-form-button"/>
+        <h:commandButton value="Cancel" action="#{auth.cancel}" styleClass="portlet-form-button" immediate="true"/>
+      </div>
+   </h:form>
+
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editTheme.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editTheme.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editTheme.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,45 @@
+<div xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
+     xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core">
+
+   <h:form>
+      <table width="100%">
+         <thead class="portlet-section-header">
+            <tr>
+               <th>Name</th>
+               <th>Description</th>
+               <th>Setting</th>
+            </tr>
+         </thead>
+         <tbody>
+            <tr class="portlet-section-body">
+               <td>Layout</td>
+               <td>Name of the layout implementation used to arrange portlet windows in pages</td>
+               <td>
+                  <h:selectOneMenu id="layout" value="#{theme.layoutName}">
+                     <f:selectItems value="#{applicationScope.LayoutService.layoutItems}"/>
+                  </h:selectOneMenu>
+               </td>
+            </tr>
+            <tr class="portlet-section-alternate">
+               <td>Theme</td>
+               <td>Name of the look and feel to use</td>
+               <td>
+                  <h:selectOneMenu id="theme" value="#{theme.themeName}">
+                     <f:selectItems value="#{applicationScope.ThemeService.themeItems}"/>
+                  </h:selectOneMenu>
+               </td>
+            </tr>
+            <tr class="portlet-section-body">
+               <td>RenderSet</td>
+               <td>Name of the render engine to use to render pages</td>
+               <td>
+                  <h:selectOneMenu id="renderSet" value="#{theme.renderSetName}">
+                     <f:selectItems value="#{applicationScope.LayoutService.renderSetItems}"/>
+                  </h:selectOneMenu>
+               </td>
+            </tr>
+         </tbody>
+      </table>
+      <ui:insert name="form_submit"/>
+   </h:form>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editWindowTheme.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editWindowTheme.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/editWindowTheme.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,48 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core">
+
+   <h:form>
+      <table width="100%">
+         <thead class="portlet-section-header">
+            <tr>
+               <th>Name</th>
+               <th>Description</th>
+               <th>Setting</th>
+            </tr>
+         </thead>
+         <tbody>
+            <tr class="portlet-section-body">
+               <td>Window Renderer</td>
+               <td>Name of the render engine to use to render windows</td>
+               <td>
+                  <h:selectOneMenu id="windowRenderer" value="#{theme.windowRendererName}">
+                     <f:selectItems value="#{applicationScope.LayoutService.renderSetItems}"/>
+                  </h:selectOneMenu>
+               </td>
+            </tr>
+            <tr class="portlet-section-alternate">
+               <td>Decoration Renderer</td>
+               <td>Name of the render engine to use to render window decorations</td>
+               <td>
+                  <h:selectOneMenu id="decorationRenderer" value="#{theme.decorationRendererName}">
+                     <f:selectItems value="#{applicationScope.LayoutService.renderSetItems}"/>
+                  </h:selectOneMenu>
+               </td>
+            </tr>
+            <tr>
+               <td>Portlet Renderer</td>
+               <td>Name of the render engine to use to render portlets</td>
+               <td>
+                  <h:selectOneMenu id="portletRenderer" value="#{theme.portletRendererName}">
+                     <f:selectItems value="#{applicationScope.LayoutService.renderSetItems}"/>
+                  </h:selectOneMenu>
+               </td>
+            </tr>
+         </tbody>
+      </table>
+      <ui:insert name="form_submit"/>
+   </h:form>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/showPortletDetails.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/showPortletDetails.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/showPortletDetails.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<div
+      xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:c="http://java.sun.com/jstl/core">
+
+   <table>
+      <tr>
+         <td class="portlet-form-field-label">Portlet name:</td>
+         <td><h:form><h:commandLink
+                        action="#{portletmgr.selectPortlet}">
+                        <f:param name="id" value="#{portlet.context.id}"/>
+                        <f:param name="plugin" value="manager"/>
+                        #{portlet.name.value}
+                     </h:commandLink></h:form></td>
+      </tr>
+      <tr>
+         <td class="portlet-form-field-label">Portlet description:</td>
+         <td>#{portlet.description.value}</td>
+      </tr>
+      <tr>
+         <td class="portlet-form-field-label">Portlet title:</td>
+         <td>#{portlet.title.value}</td>
+      </tr>
+      <tr>
+         <td class="portlet-form-field-label">Portlet keywords:</td>
+         <td>#{portlet.keywords.value}</td>
+      </tr>
+      <c:if test="#{not empty portlet.locales}">
+         <tr>
+            <td class="portlet-form-field-label">Portlet locales:</td>
+            <td>
+               <c:forEach items="#{portlet.locales}" var="locale">  #{locale} </c:forEach>
+            </td>
+         </tr>
+      </c:if>
+   </table>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/tabContainer.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/tabContainer.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/common/tabContainer.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,10 @@
+<ui:composition
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:ui="http://java.sun.com/jsf/facelets">
+
+   <div class="tab-container">
+      <ui:insert name="tab-container-content"/>
+   </div>
+
+</ui:composition>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/confirmDeleteInstance.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/confirmDeleteInstance.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/confirmDeleteInstance.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,51 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:jbp="http://www.jboss.org/portal"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="admin-ui">
+
+   <ui:composition template="instancesTemplate.xhtml">
+      <ui:define name="content">
+
+         <h:form>
+            <ul class="objectpath">
+               <li class="pathItem">
+                  <h:commandLink action="instances">Portlet Instances</h:commandLink>
+               </li>
+               <li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+               <li class="selected">
+                  <span class="objectName">#{instancemgr.selectedInstance.id}</span> instance Delete
+               </li>
+            </ul>
+         </h:form>
+         <br/>
+
+         <div class="portlet-msg">
+            <div class="portlet-msg-icon"><h:graphicImage url="/img/msgIcon_Warning.gif" alt="/!\"/></div>
+            <div class="portlet-msg-body">
+               <h3>Delete <span class="objectName">#{instancemgr.selectedInstance.id}</span></h3>
+
+               <p class="portlet-msg-alert">
+                  WARNING! You are about to delete the
+                  <span class="objectName">#{instancemgr.selectedInstance.id}</span> portlet instance causing windows
+                  referencing it to not be able to display their content anymore.
+               </p>
+
+               <p class="portlet-class">Are you sure you want to delete this portlet instance?</p>
+
+               <h:form>
+                  <h:commandButton value="Delete" action="instances" actionListener="#{instancemgr.deleteInstance}"
+                                   styleClass="portlet-form-button portlet-section-buttonrow">
+                     <f:attribute name="instanceId" value="#{instancemgr.selectedInstance.id}"/>
+                  </h:commandButton>
+                  <h:commandButton value="Cancel" action="instances" actionListener="objects"
+                                   styleClass="portlet-form-button portlet-section-buttonrow"/>
+               </h:form>
+            </div>
+         </div>
+      </ui:define>
+   </ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboard/dashboard.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboard/dashboard.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboard/dashboard.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,160 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+
+<div align="center">
+   <h:message id="error" for="error" errorClass="portlet-msg-error"/>
+</div>
+
+<table width="100%">
+<tr>
+   <th class="portlet-section-header" align="center">Personal Dashboard Editor</th>
+</tr>
+<tr>
+   <td class="portlet-section-body" align="center">
+      <table width="100%">
+         <tr>
+            <td width="250">
+               <table class="bottombuttonbar">
+                  <tr>
+                     <td align="left" valign="top"><b>Create a New Page:</b><br/>Page name:&#160;
+                        <h:form style="padding:0;margin:0">
+                           <h:inputText id="pageName" value="#{addDashboardPageAction.pageName}"
+                                        styleClass="portlet-form-input-field"/>
+                           <h:commandButton value="Save"
+                                            action="#{addDashboardPageAction.execute}"
+                                            styleClass="portlet-form-button"/>
+                        </h:form>
+                     </td>
+                  </tr>
+                  <c:if test="#{dashboard.selectedPage.name != 'default'}">
+                  <tr>
+                     <td align="left" valign="top"><b>Rename this Page:</b><br/>New page name:&#160;
+                        <h:form id="renameForm" style="padding:0;margin:0">
+                           <h:message for="newName"/>
+                           <h:inputText id="newName" value="#{renameDashboardPageAction.newName}"
+                                        styleClass="portlet-form-input-field"/>
+                           <h:commandButton value="Rename"
+                                            action="#{renameDashboardPageAction.execute}"
+                                            styleClass="portlet-form-button"/>
+                        </h:form>
+                     </td>
+                  </tr>
+                  </c:if>
+               </table>
+            </td>
+            <td align="left" valign="top">
+               Use this page to manage the content and appearance of your dashboard pages. <br/>
+               You can control the page titles, column layouts, page themes,
+               and add,
+               order, or remove portlets.
+            </td>            
+         </tr>
+      </table>
+   </td>
+</tr>
+<tr>
+   <td class="portlet-section-header" align="center">Currently editing page #{dashboard.selectedPage.name}</td>
+</tr>
+<tr>
+   <td class="portlet-section-body" align="center">
+      <h:form id="page_selector_form" style="padding:0;margin:0">
+         Select: <h:selectOneMenu
+         id="pageNameSelector"
+         value="#{dashboard.selectedPageName}"
+         styleClass="portlet-form-field"
+         onchange="document.getElementById('page_selector_form').submit()">
+         <f:selectItems value="#{dashboard.pageItems}"/>
+         </h:selectOneMenu>
+      </h:form>
+      <br/>
+   </td>
+</tr>
+         
+<tr>
+   <td>
+         <table width="100%">
+            <tr>
+               <td valign="top" width="250">
+                  <table class="bottombuttonbar">
+                     <tr>
+                        <td valign="top">
+                           <b>Theme and Layout</b>
+                           <br/>
+                           Apply a theme to your dashboard, or select the number of columns for the layout.
+                           <hr/>
+                        </td>
+                     </tr>
+                     <tr>
+                        <td>
+                           <h:form>
+                              Choose a layout:<br/>
+                              <h:selectOneMenu
+                                 id="layoutSelector"
+                                 value="#{dashboard.selectedPageLayout}"
+                                 styleClass="portlet-form-field">
+                                 <f:selectItems value="#{applicationScope.LayoutService.layoutItems}"/>
+                              </h:selectOneMenu>
+                              <h:commandButton value="Select" styleClass="portlet-form-button" action="#{dashboard.updateLayout}"/>
+                           </h:form>
+                        </td>
+                     </tr>
+                     <tr>
+                        <td height="20"></td>
+                     </tr>
+                     <tr>
+                        <td>
+                           <h:form>
+                              Choose a theme:<br/>
+                              <h:selectOneMenu
+                                 id="themeSelector"
+                                 value="#{dashboard.selectedPageTheme}"
+                                 styleClass="portlet-form-field">
+                                 <f:selectItems value="#{applicationScope.ThemeService.themeItems}"/>
+                              </h:selectOneMenu>
+                              <h:commandButton value="Select" styleClass="portlet-form-button" action="#{dashboard.updateTheme}"/>
+                           </h:form>
+                        </td>
+                     </tr>
+                     <tr>
+                        <td height="20"></td>
+                     </tr>
+                  </table>
+               </td>
+               <td>
+                  <table>
+                     <tr>
+                        <td>
+                           <div class="admin-ui">
+                              <ui:include src="/WEB-INF/jsf/common/editPageLayout.xhtml">
+                                 <ui:param name="pageManager" value="#{dashboard.pageManager}"/>
+                              </ui:include>
+                           </div>
+                        </td>
+                     </tr>
+                  </table>
+               </td>
+            </tr>
+         </table>
+   </td>
+</tr>
+</table>
+<hr/>
+<c:if test="#{dashboard.selectePageIsDefault == false}">
+   <table width="100%">
+      <tr>
+         <td align="left">
+            <h:form style="padding:0;margin:0">
+               <h:commandButton value="Delete this Page" styleClass="portlet-form-button" action="#{dashboard.destroyPage}"/>
+               <br/>
+               <font color="red">You cannot undo this action!</font>
+            </h:form>
+         </td>
+      </tr>
+   </table>
+</c:if>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboards.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboards.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboards.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,53 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html">
+
+   <ui:composition template="dashboardsTemplate.xhtml">
+
+      <ui:define name="content">
+
+         <!--  -->
+         <ui:include src="common/editProperties.xhtml">
+            <ui:param name="properties" value="#{dashboardmgr.selectedProperties}"/>
+         </ui:include>
+
+         <!--  -->
+         <br/>
+         <ui:include src="common/editPortalErrorHandling.xhtml">
+            <ui:param name="properties" value="#{dashboardmgr.controlProperties}"/>
+         </ui:include>
+
+         <!--  -->
+         <br/>
+         <ui:include src="common/editPageErrorHandling.xhtml">
+            <ui:param name="properties" value="#{dashboardmgr.controlProperties}"/>
+         </ui:include>
+
+         <!-- Separation -->
+         <br/>
+
+         <p class="portlet-area-header">Dashboard theme properties</p>
+
+         <table cellpadding="0" cellspacing="0" width="100%" class="portlet-area-body">
+            <tr>
+               <th class="portlet-section-title">Configure dashboards settings.</th>
+            </tr>
+            <tr>
+               <td valign="top" class="portlet-section-body">
+                  <ui:decorate template="common/editTheme.xhtml">
+                     <ui:param name="theme" value="#{dashboardmgr.theme}"/>
+                     <ui:define name="form_submit">
+                        <h:commandButton value="Update" actionListener="#{dashboardmgr.theme.execute}"
+                                         styleClass="portlet-form-button portlet-section-buttonrow"/>
+                     </ui:define>
+                  </ui:decorate>
+               </td>
+            </tr>
+         </table>
+      </ui:define>
+
+   </ui:composition>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboardsTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboardsTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/dashboardsTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="admin-ui">
+
+   <!-- Common nav -->
+   <h:form>
+      <ul class="topnav">
+         <li>
+            <h:commandLink value="Portal Objects" action="objects" actionListener="#{portalobjectmgr.selectRootObject}"/>
+         </li>
+         <li>
+            <h:commandLink value="Portlet Instances" action="instances"/>
+         </li>
+         <li>
+            <h:commandLink value="Portlet Definitions" action="portlets"/>
+         </li>
+         <li id="currentTab">Dashboards</li>
+      </ul>
+   </h:form>
+   <ui:decorate template="common/tabContainer.xhtml">
+   <ui:define name="tab-container-content">
+      <!-- Status message -->
+      <h:message id="status" for="status" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+      <!-- Content -->
+      <ui:insert name="content">Content</ui:insert>
+   </ui:define>
+   </ui:decorate>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editContext.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editContext.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editContext.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,54 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+   <ui:composition template="objectTemplate.xhtml">
+
+      <ui:define name="content">
+
+         <h3 class="sectionTitle">
+            Manage &#160;
+            <c:choose>
+               <c:when test="#{portalobjectmgr.selectedObject.type == PortalObject.TYPE_CONTEXT}">portals</c:when>
+               <c:otherwise><span class="objectName">#{portalobjectmgr.selectedObject.name}</span> portal</c:otherwise>
+            </c:choose>
+         </h3>
+         <h:form>
+            <h:commandLink action="editProperties" actionListener="#{portalobjectmgr.selectObject}"
+                           styleClass="actionProperties">
+               <f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
+               Properties
+            </h:commandLink>
+         </h:form>
+
+         <h3 class="sectionTitle">
+            Manage &#160;
+            <c:choose>
+               <c:when test="#{portalobjectmgr.selectedObject.type == PortalObject.TYPE_CONTEXT}">sub-portals</c:when>
+               <c:otherwise>pages within <span class="objectName">#{portalobjectmgr.selectedObject.name}</span>
+                  portal</c:otherwise>
+            </c:choose>
+         </h3>
+         <!-- Portal addition -->
+         <h:form styleClass="createObjectForm">
+            <span class="portlet-font">Create a portal named: </span>
+            <h:inputText id="name" value="#{portalAction.portalName}" styleClass="portlet-form-input-field"
+                         required="true"/>
+            <h:commandButton action="#{portalAction.addPortal}" value="Create portal" styleClass="portlet-form-button"/>
+            <h:message for="name" errorClass="portlet-msg-error"/>
+         </h:form>
+
+         <!-- Separation -->
+         <hr/>
+
+         <!-- Navigation -->
+         <ui:include src="objectNavigation.xhtml"/>
+
+      </ui:define>
+
+   </ui:composition>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPage.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPage.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPage.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,64 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html">
+
+   <ui:composition template="objectTemplate.xhtml">
+
+      <ui:define name="content">
+
+         <h3 class="sectionTitle">Manage <span class="objectName">#{portalobjectmgr.selectedObject.name}</span>
+            #{portalobjectmgr.selectedObject.typeName}</h3>
+
+         <h:form>
+            <h:panelGroup rendered="#{portalobjectmgr.selectedObject.type == PortalObject.TYPE_PAGE}"><h:commandLink
+               action="editPageLayout" actionListener="#{portalobjectmgr.selectObject}" styleClass="actionLayout">
+               <f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
+               Page layout
+            </h:commandLink> | </h:panelGroup><h:commandLink action="editPageSecurity" styleClass="actionSecurity"
+                                                             actionListener="#{portalobjectmgr.selectObject}">
+            <f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
+            Security
+         </h:commandLink> | <h:commandLink action="editProperties" styleClass="actionProperties"
+                                           actionListener="#{portalobjectmgr.selectObject}">
+            <f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
+            Properties
+         </h:commandLink> | <h:commandLink action="editPageTheme" styleClass="actionTheme"
+                                           actionListener="#{portalobjectmgr.selectObject}">
+            <f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
+            Theme
+         </h:commandLink> | <h:panelGroup
+            rendered="#{!((portalobjectmgr.selectedObject.type == PortalObject.TYPE_PORTAL) and ((portalobjectmgr.selectedObject.name == 'admin') or (portalobjectmgr.selectedObject.name == 'template') or (portalobjectmgr.selectedObject.name == 'default')))}"><h:commandLink
+            action="renameObject" actionListener="#{portalobjectmgr.selectObject}" styleClass="actionRename">
+            <f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
+            Rename
+         </h:commandLink> | </h:panelGroup><h:commandLink action="confirm" styleClass="actionDelete"
+                                                          actionListener="#{portalobjectmgr.selectObject}">
+            <f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
+            Delete
+         </h:commandLink>
+         </h:form>
+
+         <h3 class="sectionTitle">Manage sub-pages within <span class="objectName">#{portalobjectmgr.selectedObject.name}</span>
+            #{portalobjectmgr.selectedObject.typeName}</h3>
+         <!-- Sub page addition -->
+         <h:form styleClass="createObjectForm">
+            <span class="portlet-font">Create a page named: </span>
+            <h:inputText id="pageName" value="#{addPageAction.pageName}" styleClass="portlet-form-input-field"
+                         required="true"/>
+            <h:commandButton action="#{addPageAction.execute}" value="Create page" styleClass="portlet-form-button"/>
+            <h:message for="pageName" errorClass="portlet-msg-error"/>
+         </h:form>
+
+         <!-- Separation -->
+         <hr/>
+
+         <!-- Navigation -->
+         <ui:include src="objectNavigation.xhtml"/>
+
+      </ui:define>
+
+   </ui:composition>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageLayout.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageLayout.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageLayout.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:ct="http://www.julien.com"
+   xmlns:jbp="http://www.jboss.org/portal"
+   xmlns:c="http://java.sun.com/jstl/core">
+   <ui:composition template="objectTemplate.xhtml">
+     <ui:param name="portalObjectScreen" value="Layout"/>
+     <ui:define name="content">
+        <ui:include src="common/editPageLayout.xhtml">
+           <ui:param name="pageManager" value="#{portalobjectmgr.pageManager}"/>
+        </ui:include>
+     </ui:define>
+   </ui:composition>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageSecurity.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageSecurity.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageSecurity.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:h="http://java.sun.com/jsf/html">
+   <ui:composition template="objectTemplate.xhtml">
+      <ui:param name="portalObjectScreen" value="Security"/>
+      <ui:define name="content">
+         <h3>Please set the page permissions</h3>
+         <ui:decorate template="/WEB-INF/jsf/common/editSecurity.xhtml">
+            <ui:param name="auth" value="#{portalobjectmgr.auth}"/>
+         </ui:decorate>
+      </ui:define>
+   </ui:composition>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageTheme.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageTheme.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPageTheme.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core">
+   <ui:composition template="objectTemplate.xhtml">
+      <ui:param name="portalObjectScreen" value="Theme"/>
+      <ui:define name="content">
+         <h3>Page theme properties</h3>
+         <ui:decorate template="common/editTheme.xhtml">
+            <ui:param name="theme" value="#{portalobjectmgr.theme}"/>
+            <ui:define name="form_submit">
+               <h:commandButton value="Update" action="objects" actionListener="#{portalobjectmgr.theme.execute}"
+                                styleClass="portlet-form-button"/>
+               <h:commandButton value="Cancel" action="#{portalobjectmgr.selectObject}"
+                                styleClass="portlet-form-button">
+                  <f:param name="id" value="#{node.id}"/>
+               </h:commandButton>
+            </ui:define>
+         </ui:decorate>
+      </ui:define>
+   </ui:composition>
+</div>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPortalSecurity.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPortalSecurity.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPortalSecurity.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core">
+   <ui:composition template="/WEB-INF/jsf/objectTemplate.xhtml">
+      <ui:param name="portalObjectScreen" value="Security"/>
+      <ui:define name="content">
+         <h3>Please set the portal permissions</h3>
+         <ui:decorate template="/WEB-INF/jsf/common/editSecurity.xhtml">
+            <ui:param name="auth" value="#{portalobjectmgr.auth}"/>
+         </ui:decorate>
+      </ui:define>
+   </ui:composition>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPortalTheme.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPortalTheme.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editPortalTheme.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core">
+   <ui:composition template="objectTemplate.xhtml">
+      <ui:param name="portalObjectScreen" value="Theme"/>
+      <ui:define name="content">
+         <h3>Portal theme properties</h3>
+
+         <p>These settings are inherited by all the pages and windows of this portal. You may override these settings by
+            selecting the appropriate value on the respective Theme settings pages.</p>
+         <br/>
+         <ui:decorate template="common/editTheme.xhtml">
+            <ui:param name="theme" value="#{portalobjectmgr.theme}"/>
+            <ui:define name="form_submit">
+               <h:commandButton value="Update" action="objects" actionListener="#{portalobjectmgr.theme.execute}"
+                                styleClass="portlet-form-button"/>
+               <h:commandButton value="Cancel" action="#{portalobjectmgr.selectObject}"
+                                styleClass="portlet-form-button">
+                  <f:param name="id" value="#{node.id}"/>
+               </h:commandButton>
+            </ui:define>
+         </ui:decorate>
+      </ui:define>
+   </ui:composition>
+</div>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editProperties.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editProperties.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editProperties.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+<div
+      xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:c="http://java.sun.com/jstl/core">
+
+   <ui:composition template="objectTemplate.xhtml">
+
+      <ui:param name="portalObjectScreen" value="Properties"/>
+
+      <ui:define name="content">
+      	
+      	<ui:include src="common/editProperties.xhtml">
+  	       <ui:param name="properties" value="#{portalobjectmgr.selectedProperties}"/>
+         </ui:include>
+
+         <br/>
+         <c:if test="#{portalobjectmgr.selectedProperties.relatedObject.type == PortalObject.TYPE_CONTEXT or portalobjectmgr.selectedProperties.relatedObject.type == PortalObject.TYPE_PORTAL}">
+
+            <!-- -->
+            <ui:include src="common/editPortalErrorHandling.xhtml">
+               <ui:param name="properties" value="#{portalobjectmgr.controlProperties}"/>
+            </ui:include>
+
+         </c:if>
+
+         <br/>
+         <c:if test="#{!(portalobjectmgr.selectedProperties.relatedObject.type == PortalObject.TYPE_WINDOW)}">
+
+            <!-- Separation -->
+            <ui:include src="common/editPageErrorHandling.xhtml">
+               <ui:param name="properties" value="#{portalobjectmgr.controlProperties}"/>
+            </ui:include>
+
+         </c:if>
+
+      </ui:define>
+      
+   </ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindow.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindow.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindow.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<div
+      xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:ct="http://www.julien.com"
+      xmlns:jbp="http://www.jboss.org/portal"
+      xmlns:h="http://java.sun.com/jsf/html">
+
+   <ui:composition template="objectTemplate.xhtml">
+
+      <ui:define name="content">
+
+         <!-- -->
+         <div>
+            <jbp:portlet
+               actionListener="#{portalobjectmgr.processEvent}"
+               portletId="#{portalobjectmgr.selectedContentEditorInstance}"
+               portletInvoker="#{portalobjectmgr.portletDefinitionInvoker}"
+               renderParameters="#{portalobjectmgr.renderParameters}"
+               supportedModes="edit_content"
+               supportedWindowStates="normal"
+               initialMode="edit_content"
+               initialWindowState="normal"/>
+         </div>
+
+      </ui:define>
+
+   </ui:composition>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindowSecurity.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindowSecurity.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindowSecurity.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,13 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html">
+   <ui:composition template="objectTemplate.xhtml">
+      <ui:param name="portalObjectScreen" value="Security"/>
+      <ui:define name="content">
+         <h3>Please set the permissions for the <span class="objectName">#{portalobjectmgr.selectedObject.name}</span>
+            window</h3>
+         <ui:include src="common/editSecurity.xhtml"/>
+      </ui:define>
+   </ui:composition>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindowTheme.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindowTheme.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/editWindowTheme.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core">
+   <ui:composition template="objectTemplate.xhtml">
+      <ui:param name="portalObjectScreen" value="Theme"/>
+      <ui:define name="content">
+         <h3>Window theme properties</h3>
+         <ui:decorate template="common/editWindowTheme.xhtml">
+            <ui:param name="theme" value="#{portalobjectmgr.theme}"/>
+            <ui:define name="form_submit">
+               <h:commandButton value="Update" action="objects" actionListener="#{portalobjectmgr.theme.execute}"
+                                styleClass="portlet-form-button portlet-section-buttonrow"/>
+               <h:commandButton value="Cancel" action="#{portalobjectmgr.selectObject}"
+                                styleClass="portlet-form-button portlet-section-buttonrow">
+                  <f:param name="id" value="#{node.id}"/>
+               </h:commandButton>
+            </ui:define>
+         </ui:decorate>
+      </ui:define>
+   </ui:composition>
+</div>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/instances.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/instances.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/instances.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,142 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:jbp="http://www.jboss.com/portal"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+<ui:composition template="instancesTemplate.xhtml">
+
+<ui:define name="content">
+
+<c:if test="#{empty instancemgr.selectedPlugin}">
+   <h:form>
+      <table id="instancesTable2" width="100%">
+         <thead class="portlet-section-header">
+            <tr>
+               <th>Id</th>
+               <th>Actions</th>
+            </tr>
+         </thead>
+         <tbody>
+            <c:forEach items="#{instancemgr.selectedInstances}" var="instance" varStatus="status">
+               <tr
+                  class="#{instance.id == instancemgr.selectedId ? 'portlet-section-selected' : (status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate')}">
+                  <td>
+                     <h:commandLink action="#{instancemgr.selectInstance}">
+                        <h:outputText value="#{instance.id}"/>
+                        <f:param name="id" value="#{instance.id}"/>
+                        <f:param name="plugin" value="info"/>
+                     </h:commandLink>
+                  </td>
+                  <td><h:commandLink action="#{instancemgr.selectInstance}" styleClass="actionSecurity">
+                     <f:param name="id" value="#{instance.id}"/>
+                     <f:param name="plugin" value="security"/>
+                     Security
+                  </h:commandLink> | <h:panelGroup
+                     rendered="#{! empty(instancemgr.selectedInstancesPrefs[instance.id])}"><h:commandLink
+                     action="#{instancemgr.selectInstance}" styleClass="actionPreferences">
+                     <f:param name="id" value="#{instance.id}"/>
+                     <f:param name="plugin" value="preferences"/>
+                     Preferences
+                  </h:commandLink> | </h:panelGroup><h:commandLink action="confirmDeleteInstance"
+                                                                   styleClass="actionDelete"
+                                                                   actionListener="#{instancemgr.selectInstance}">
+                     <f:param name="id" value="#{instance.id}"/>
+                     Delete
+                  </h:commandLink>
+                  </td>
+               </tr>
+            </c:forEach>
+         </tbody>
+      </table>
+      <ul class="pagination">
+         <c:if test="#{instancemgr.instanceCount > instancemgr.paginationSize}">
+            <c:forEach begin="0" end="#{(instancemgr.instanceCount - 1)/ instancemgr.paginationSize}" step="1"
+                       var="index">
+               <li class="#{index == (instancemgr.selectedFrom / instancemgr.paginationSize)? 'selected' : ''}">
+                  <h:commandLink action="#{instancemgr.selectFrom}">
+                     <f:param name="from" value="#{index * instancemgr.paginationSize}"/>
+                     <h:outputText value="#{index * instancemgr.paginationSize}"/>
+                  </h:commandLink>
+               </li>
+            </c:forEach>
+         </c:if>
+      </ul>
+   </h:form>
+</c:if>
+
+
+<c:if test="#{instancemgr.selectedPlugin == 'info'}">
+   <!-- Path nav -->
+   <h:form>
+      <ul class="objectpath">
+         <li class="pathItem">
+            <h:commandLink action="#{instancemgr.selectInstance}">Portlet Instances</h:commandLink>
+         </li>
+         <li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+         <li class="selected">
+            <span class="objectName">#{instancemgr.selectedInstance.id}</span> portlet details
+         </li>
+      </ul>
+   </h:form>
+   <br/>
+   <c:choose>
+      <c:when test="#{instancemgr.selectedInstance.portlet != null}">
+         <ui:include src="common/showPortletDetails.xhtml">
+            <ui:param name="portlet" value="#{instancemgr.selectedInstance.portlet}"/>
+            <ui:param name="portletmgr" value="#{portletmgr}"/>
+         </ui:include>
+      </c:when>
+      <c:otherwise>
+         The associated portlet is not available.
+      </c:otherwise>
+   </c:choose>
+</c:if>
+
+<c:if test="#{instancemgr.selectedPlugin == 'preferences'}">
+   <!-- Path nav -->
+   <h:form>
+      <ul class="objectpath">
+         <li class="pathItem">
+            <h:commandLink action="#{instancemgr.selectInstance}">Portlet Instances</h:commandLink>
+         </li>
+         <li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+         <li class="selected">
+            <span class="objectName">#{instancemgr.selectedInstance.id}</span> preferences
+         </li>
+      </ul>
+   </h:form>
+   <br/>
+   <ui:include src="common/editPreferences.xhtml">
+      <ui:param name="prefs" value="#{instancemgr.selectedPrefs}"/>
+   </ui:include>
+   <h:form>
+      <h:commandButton value="Save" action="#{instancemgr.updatePrefs}" styleClass="portlet-form-button"/>
+      <h:commandButton value="Cancel" action="#{instancemgr.cancelPrefs}" styleClass="portlet-form-button"/>
+   </h:form>
+</c:if>
+
+<c:if test="#{instancemgr.selectedPlugin == 'security'}">
+   <!-- Path nav -->
+   <h:form>
+      <ul class="objectpath">
+         <li class="pathItem">
+            <h:commandLink action="#{instancemgr.selectInstance}">Portlet Instances</h:commandLink>
+         </li>
+         <li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+         <li class="selected">
+            <span class="objectName">#{instancemgr.selectedInstance.id}</span> security settings
+         </li>
+      </ul>
+   </h:form>
+   <br/>
+   <ui:decorate template="/WEB-INF/jsf/common/editSecurity.xhtml">
+      <ui:param name="auth" value="#{instancemgr.auth}"/>
+   </ui:decorate>
+</c:if>
+
+</ui:define>
+</ui:composition>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/instancesTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/instancesTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/instancesTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   class="admin-ui">
+
+   <!-- Common nav -->
+   <h:form>
+      <ul class="topnav">
+         <li>
+            <h:commandLink value="Portal Objects" action="objects"
+                           actionListener="#{portalobjectmgr.selectRootObject}"/>
+         </li>
+         <li id="currentTab">Portlet Instances</li>
+         <li>
+            <h:commandLink value="Portlet Definitions" action="portlets"/>
+         </li>
+         <li>
+            <h:commandLink value="Dashboards" action="dashboards"/>
+         </li>
+      </ul>
+   </h:form>
+   <ui:decorate template="common/tabContainer.xhtml">
+   <ui:define name="tab-container-content">
+   <!-- Status message -->
+   <h:message id="status" for="status" infoClass="portlet-msg-success" errorClass="portlet-msg-error"
+              fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+   <!-- Content -->
+   <ui:insert name="content">Content</ui:insert>
+   </ui:define>
+   </ui:decorate>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objectNavigation.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objectNavigation.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objectNavigation.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,159 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:pfc="http://www.jboss.com/portal/facelet/common"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+<h:form>
+
+<c:if test="#{not empty portalobjectmgr.selectedObject.portals}">
+   <h:dataTable var="object" value="#{portalobjectmgr.selectedObject.portals}" styleClass="objectList"
+                rowClasses="portlet-section-body,portlet-section-alternate"
+                columnClasses="objectNameColumn, objectActionColumn"
+                headerClass="portlet-section-header">
+      <h:column>
+         <f:facet name="header">
+            <h:outputText value="Portal"/>
+         </f:facet>
+         <h:commandLink action="#{portalobjectmgr.selectObject}">#{object.name}
+            <f:param name="id" value="#{object.id}"/>
+         </h:commandLink>
+      </h:column>
+      <h:column>
+         <f:facet name="header">
+            <h:outputText value="Actions"/>
+         </f:facet>
+         <h:commandLink action="editPortalSecurity" actionListener="#{portalobjectmgr.selectObject}"
+                        styleClass="actionSecurity">
+            <f:param name="id" value="#{object.id}"/>
+            Security
+         </h:commandLink> | <h:commandLink action="editProperties" styleClass="actionProperties"
+                                           actionListener="#{portalobjectmgr.selectObject}">
+         <f:param name="id" value="#{object.id}"/>
+         Properties
+      </h:commandLink> | <h:commandLink action="editPortalTheme" styleClass="actionTheme"
+                                        actionListener="#{portalobjectmgr.selectObject}">
+         <f:param name="id" value="#{object.id}"/>
+         Theme
+      </h:commandLink>
+         <h:panelGroup
+            rendered="#{(object.name != 'admin') and (object.name != 'template') and (object.name != 'default')}">
+            | <h:commandLink action="renameObject" actionListener="#{portalobjectmgr.selectObject}">
+            <h:outputText value="Rename"/>
+            <f:param name="id" value="#{object.id}"/>
+         </h:commandLink>
+         </h:panelGroup> | <h:commandLink action="confirm" styleClass="actionDelete"
+                                          actionListener="#{portalobjectmgr.selectObject}">
+         <f:param name="id" value="#{object.id}"/>
+         Delete
+      </h:commandLink>
+         <h:panelGroup rendered="#{not object.default}"> | <h:commandLink styleClass="actionMakeDefault"
+                                                                          action="#{portalobjectmgr.makeObjectDefault}">
+            <f:param name="id" value="#{object.id}"/>
+            Make Default
+         </h:commandLink>
+         </h:panelGroup>
+         <h:panelGroup rendered="#{object.default}"> | <h:outputText styleClass="actionDefault"
+                                                                     value="Default"/></h:panelGroup>
+      </h:column>
+   </h:dataTable>
+</c:if>
+
+<c:if test="#{not empty portalobjectmgr.selectedObject.pages}">
+   <h:dataTable var="object" value="#{portalobjectmgr.selectedObject.pages}" styleClass="objectList"
+                columnClasses="objectNameColumn, objectActionColumn"
+                rowClasses="portlet-section-body,portlet-section-alternate"
+                headerClass="portlet-section-header">
+      <h:column>
+         <f:facet name="header">
+            <h:outputText value="Page"/>
+         </f:facet>
+         <h:commandLink action="#{portalobjectmgr.selectObject}">#{object.name}
+            <f:param name="id" value="#{object.id}"/>
+         </h:commandLink>
+      </h:column>
+      <h:column>
+         <f:facet name="header">
+            <h:outputText value="Actions"/>
+         </f:facet>
+         <h:commandLink action="editPageLayout" actionListener="#{portalobjectmgr.selectObject}"
+                        styleClass="actionLayout">
+            <f:param name="id" value="#{object.id}"/>
+            Page layout
+         </h:commandLink> | <h:commandLink action="editPageSecurity" styleClass="actionSecurity"
+                                           actionListener="#{portalobjectmgr.selectObject}">
+         <f:param name="id" value="#{object.id}"/>
+         Security
+      </h:commandLink> | <h:commandLink action="editProperties" styleClass="actionProperties"
+                                        actionListener="#{portalobjectmgr.selectObject}">
+         <f:param name="id" value="#{object.id}"/>
+         Properties
+      </h:commandLink> | <h:commandLink action="editPageTheme" styleClass="actionTheme"
+                                        actionListener="#{portalobjectmgr.selectObject}">
+         <f:param name="id" value="#{object.id}"/>
+         Theme
+      </h:commandLink> | <h:commandLink action="renameObject" styleClass="actionRename"
+                                        actionListener="#{portalobjectmgr.selectObject}">
+         <f:param name="id" value="#{object.id}"/>
+         Rename
+      </h:commandLink> | <h:commandLink action="confirm" styleClass="actionDelete"
+                                        actionListener="#{portalobjectmgr.selectObject}">
+         <f:param name="id" value="#{object.id}"/>
+         Delete
+      </h:commandLink>
+         <h:panelGroup rendered="#{not object.default}"> | <h:commandLink styleClass="actionMakeDefault"
+                                                                          action="#{portalobjectmgr.makeObjectDefault}">
+            <f:param name="id" value="#{object.id}"/>
+            Make Default
+         </h:commandLink>
+         </h:panelGroup>
+         <h:panelGroup rendered="#{object.default}"> | <h:outputText styleClass="actionDefault"
+                                                                     value="Default"/></h:panelGroup>
+      </h:column>
+   </h:dataTable>
+</c:if>
+
+<c:if test="#{not empty portalobjectmgr.selectedObject.windows}">
+   <h3 class="sectionTitle">Manage windows within <span class="objectName">#{portalobjectmgr.selectedObject.name}</span>
+      #{portalobjectmgr.selectedObject.typeName}</h3>
+   <h:dataTable var="object" value="#{portalobjectmgr.selectedObject.windows}" styleClass="objectList"
+                rowClasses="portlet-section-body,portlet-section-alternate"
+                columnClasses="objectNameColumn, objectActionColumn"
+                headerClass="portlet-section-header">
+      <h:column>
+         <f:facet name="header">
+            <h:outputText value="Window"/>
+         </f:facet>
+         <h:commandLink action="#{portalobjectmgr.selectObject}">#{object.name}
+            <f:param name="id" value="#{object.id}"/>
+         </h:commandLink>
+      </h:column>
+      <h:column>
+         <f:facet name="header">
+            <h:outputText value="Actions"/>
+         </f:facet>
+         <h:commandLink action="editWindowTheme" actionListener="#{portalobjectmgr.selectObject}"
+                        styleClass="actionTheme">
+            <f:param name="id" value="#{object.id}"/>
+            Theme
+         </h:commandLink> | <h:commandLink action="editProperties" styleClass="actionProperties"
+                                           actionListener="#{portalobjectmgr.selectObject}">
+         <f:param name="id" value="#{object.id}"/>
+         Properties
+      </h:commandLink> | <h:commandLink action="renameObject" styleClass="actionRename"
+                                        actionListener="#{portalobjectmgr.selectObject}">
+         <f:param name="id" value="#{object.id}"/>
+         Rename
+      </h:commandLink> | <h:commandLink action="confirm" actionListener="#{portalobjectmgr.selectObject}"
+                                        styleClass="actionDelete">
+         <f:param name="id" value="#{object.id}"/>
+         Delete
+      </h:commandLink>
+      </h:column>
+   </h:dataTable>
+</c:if>
+</h:form>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objectTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objectTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objectTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,56 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="admin-ui">
+
+   <!-- Common nav -->
+   <h:form>
+      <ul class="topnav">
+         <li id="currentTab">Portal Objects</li>
+         <li>
+            <h:commandLink value="Portlet Instances" action="instances"/>
+         </li>
+         <li>
+            <h:commandLink value="Portlet Definitions" action="portlets"/>
+         </li>
+         <li>
+            <h:commandLink value="Dashboards" action="dashboards"/>
+         </li>
+      </ul>
+   </h:form>
+   <ui:decorate template="common/tabContainer.xhtml">
+   <ui:define name="tab-container-content">
+   <!-- Path nav -->
+   <h:form>
+      <ul class="objectpath">
+         <c:forEach items="#{portalobjectmgr.selectedObjectPath}" var="node">
+            <c:if test="#{node.type != PortalObject.TYPE_CONTEXT}">
+               <li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+            </c:if>
+            <li class="#{node.id == portalobjectmgr.selectedObject.id ? 'selected' : 'pathItem'}">
+               <h:commandLink action="#{portalobjectmgr.selectObject}">
+                  <f:param name="id" value="#{node.id}"/>
+                  <c:choose>
+                     <c:when test="#{node.type == PortalObject.TYPE_CONTEXT}">Portals</c:when>
+                     <c:otherwise><span class="objectName">#{node.name}</span> #{node.typeName}</c:otherwise>
+                  </c:choose>
+               </h:commandLink>
+               <h:outputText value="&#160;#{portalObjectScreen}"
+                             rendered="#{portalObjectScreen != null and node.id == portalobjectmgr.selectedObject.id}"/>
+            </li>
+         </c:forEach>
+      </ul>
+   </h:form>
+
+   <!-- Status message -->
+   <h:message id="status" for="status" infoClass="portlet-msg-success" errorClass="portlet-msg-error"
+              fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+   <!-- Content -->
+   <ui:insert name="content">Content</ui:insert>
+   </ui:define>
+   </ui:decorate>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objects.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objects.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/objects.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+   <c:choose>
+      <c:when test="#{portalobjectmgr.selectedObject.type == PortalObject.TYPE_CONTEXT}">
+         <ui:include src="editContext.xhtml"/>
+      </c:when>
+      <c:when test="#{portalobjectmgr.selectedObject.type == PortalObject.TYPE_PORTAL}">
+         <ui:include src="editPage.xhtml"/>
+      </c:when>
+      <c:when test="#{portalobjectmgr.selectedObject.type == PortalObject.TYPE_PAGE}">
+         <ui:include src="editPage.xhtml"/>
+      </c:when>
+      <c:when test="#{portalobjectmgr.selectedObject.type == PortalObject.TYPE_WINDOW}">
+         <ui:include src="editWindow.xhtml"/>
+      </c:when>
+      <c:otherwise>FIXME</c:otherwise>
+   </c:choose>
+
+   <h:form>
+      <p style="text-align: right"><h:commandLink action="#{newWindowWizard.reset}">Switch to wizard mode</h:commandLink></p>
+   </h:form>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/portlets.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/portlets.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/portlets.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,155 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:jbp="http://www.jboss.com/portal"
+   xmlns:c="http://java.sun.com/jstl/core"
+   xmlns:pfc="http://www.jboss.com/portal/facelet/common"
+   xmlns:portlet="http://java.sun.com/portlet">
+
+<ui:composition template="portletsTemplate.xhtml">
+
+<ui:define name="content">
+
+<c:if test="#{empty portletmgr.selectedPlugin}">
+   <h:form>
+      <h:outputLabel for="menu">
+         <h:outputText value="View portlets provided by the portlet provider named: "
+                       styleClass="portlet-form-field-label"/>
+      </h:outputLabel>
+      <h:selectOneMenu id="menu" styleClass="portlet-form-field"
+                       value="#{portletmgr.selectedPortletInvokerId}">
+         <f:selectItems value="#{portletmgr.portletInvokerItems}"/>
+      </h:selectOneMenu>
+      <h:commandButton value="View portlets" styleClass="portlet-form-button"/>
+   </h:form>
+
+   <h:form>
+
+      <table width="100%">
+         <thead class="portlet-section-header">
+            <tr>
+               <th>Name</th>
+               <th>Description</th>
+               <th>Remote</th>
+               <th>Remotable</th>
+               <th>Actions</th>
+            </tr>
+         </thead>
+         <tbody>
+            <c:forEach items="#{portletmgr.selectedPortlets}" var="portlet" varStatus="status">
+               <tr
+                  class="#{portlet.context.id == portletmgr.selectedPortlet.context.id ? 'portlet-section-selected' : (status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate')}">
+                  <td>
+                     <h:commandLink
+                        action="#{portletmgr.selectPortlet}"
+                        title="#{portlet.context.id}">
+                        <f:param name="id" value="#{portlet.context.id}"/>
+                        <f:param name="plugin" value="manager"/>
+                        <h:outputText
+                           rendered="#{not empty portlet.name.value}">#{portlet.name.value}</h:outputText>
+                        <h:outputText title="#{portlet.context.id}" rendered="#{empty portlet.name.value}">#{portlet.context.id}</h:outputText>
+                     </h:commandLink>
+                  </td>
+                  <td>#{portlet.description.value}</td>
+                  <td><h:selectBooleanCheckbox disabled="true" value="#{portlet.remote}"/></td>
+                  <td><h:selectBooleanCheckbox disabled="true" value="#{portlet.remotable}"/></td>
+                  <td>
+                     <h:panelGroup rendered="#{!empty portlet.info.preferences.keys}">
+                        <h:commandLink action="#{portletmgr.selectPortlet}" styleClass="actionPreferences">
+                           <f:param name="id" value="#{portlet.context.id}"/>
+                           <f:param name="plugin" value="preferences"/>
+                           Preferences
+                        </h:commandLink> | </h:panelGroup>
+                     <h:commandLink action="#{portletmgr.selectPortlet}" styleClass="actionCreateInstance">
+                        <f:param name="id" value="#{portlet.context.id}"/>
+                        <f:param name="plugin" value="createInstance"/>
+                        Create instance
+                     </h:commandLink>
+                  </td>
+               </tr>
+            </c:forEach>
+         </tbody>
+      </table>
+      <ul class="pagination">
+         <c:if test="#{portletmgr.portletCount > portletmgr.paginationSize}">
+            <c:forEach begin="0" end="#{(portletmgr.portletCount - 1) / portletmgr.paginationSize}" step="1"
+                       var="index">
+               <li class="#{index == (portletmgr.selectedFrom / portletmgr.paginationSize)? 'selected' : ''}">
+                  <h:commandLink action="#{portletmgr.selectFrom}">
+                     <f:param name="from" value="#{index * portletmgr.paginationSize}"/>
+                     #{index * portletmgr.paginationSize}
+                  </h:commandLink>
+               </li>
+            </c:forEach>
+         </c:if>
+      </ul>
+   </h:form>
+</c:if>
+
+<c:if test="#{portletmgr.selectedPlugin == 'manager'}">
+   <!-- Path nav -->
+   <h:form>
+      <ul class="objectpath">
+         <li class="pathItem">
+            <h:commandLink action="#{portletmgr.selectPortlet}">Portlet Definitions</h:commandLink>
+         </li>
+         <li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+         <li class="selected">
+            <span class="objectName">#{portletmgr.selectedPortlet.name.value}</span> details
+         </li>
+      </ul>
+   </h:form>
+   <br/>
+   <ui:include src="common/showPortletDetails.xhtml">
+      <ui:param name="portlet" value="#{portletmgr.selectedPortlet}"/>
+   </ui:include>
+</c:if>
+
+<c:if test="#{portletmgr.selectedPlugin == 'preferences'}">
+   <!-- Path nav -->
+   <h:form>
+      <ul class="objectpath">
+         <li class="pathItem">
+            <h:commandLink action="#{portletmgr.selectPortlet}">Portlet Definitions</h:commandLink>
+         </li>
+         <li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+         <li class="selected">
+            <span class="objectName">#{portletmgr.selectedPortlet.name.value}</span> preferences
+         </li>
+      </ul>
+   </h:form>
+   <br/>
+   <ui:include src="common/editPreferences.xhtml">
+      <ui:param name="prefs" value="#{portletmgr.selectedPreferences}"/>
+   </ui:include>
+</c:if>
+
+<c:if test="#{portletmgr.selectedPlugin == 'createInstance'}">
+   <!-- Path nav -->
+   <h:form>
+      <ul class="objectpath">
+         <li class="pathItem">
+            <h:commandLink action="#{portletmgr.selectPortlet}">Portlet Definitions</h:commandLink>
+         </li>
+         <li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+         <li class="selected">
+            <span class="objectName">#{portletmgr.selectedPortlet.name.value}</span> instance creation
+         </li>
+      </ul>
+   </h:form>
+   <br/>
+   <h:form id="add_instance_form" styleClass="createObjectForm">
+      <span class="portlet-font">Create an instance named: </span>
+      <h:inputText id="instanceId" value="#{createInstanceAction.instanceId}" styleClass="portlet-form-input-field"
+                   required="true"/>
+      <h:commandButton action="#{createInstanceAction.execute}" value="Create instance"
+                       styleClass="portlet-form-button"/>
+      <h:message for="instanceId" errorClass="portlet-msg-error"/>
+   </h:form>
+</c:if>
+
+</ui:define>
+</ui:composition>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/portletsTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/portletsTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/portletsTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   class="admin-ui">
+
+   <!-- Common nav -->
+   <h:form>
+      <ul class="topnav">
+         <li>
+            <h:commandLink value="Portal Objects" action="objects"
+                           actionListener="#{portalobjectmgr.selectRootObject}"/>
+         </li>
+         <li>
+            <h:commandLink value="Portlet Instances" action="instances"/>
+         </li>
+         <li id="currentTab">Portlet Definitions</li>
+         <li>
+            <h:commandLink value="Dashboards" action="dashboards"/>
+         </li>
+      </ul>
+   </h:form>
+   <ui:decorate template="common/tabContainer.xhtml">
+   <ui:define name="tab-container-content">
+      <!-- Status message -->
+      <h:message id="status" for="status" infoClass="portlet-msg-success" errorClass="portlet-msg-error"
+                 fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+      <!-- Content -->
+      <ui:insert name="content">Content</ui:insert>
+   </ui:define>
+   </ui:decorate>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/renameObject.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/renameObject.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/renameObject.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,22 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+   <ui:composition template="/WEB-INF/jsf/objectTemplate.xhtml">
+      <ui:param name="portalObjectScreen" value="Rename"/>
+      <ui:define name="content">
+         <h3>Rename #{portalobjectmgr.selectedObjectType}</h3>
+         <h:form id="renameForm">
+            <h:message for="newName"/>
+
+            <p>Rename the <span class="objectName">#{portalobjectmgr.selectedObject.name}</span>
+               #{portalobjectmgr.selectedObjectType} to:
+               <h:inputText id="newName" value="#{renameAction.newName}"/>
+               <h:commandButton value="Rename" action="#{renameAction.execute}" styleClass="portlet-form-button"/>
+            </p>
+         </h:form>
+      </ui:define>
+   </ui:composition>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/newWindowTpl.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/newWindowTpl.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/newWindowTpl.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,178 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="admin-ui">
+
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+
+<div class="wizard-tab-container">
+<h3 class="sectionTitle">
+Adding a new Portlet
+</h3>
+
+   <c:choose>
+      <c:when test="#{newWindowWizard.currentStep == 0}">
+         <div class="wizardStepBox" id="selected">
+            <p class="stepNumber">Step 1</p>
+            <p class="stepText">Select Portlet</p>
+         </div>
+      </c:when>
+      <c:otherwise>
+        <c:choose>
+        <c:when test="#{newWindowWizard.enabled[0]}">
+        <h:form><h:commandLink action="#{newWindowWizard.goTo}">
+          <f:param name="step" value="0"/>
+         <div class="wizardStepBox">
+            <p class="stepNumber">Step 1</p>
+            <p class="stepText">Select Portlet</p>
+         </div>
+        </h:commandLink></h:form>
+        </c:when>
+        <c:otherwise>
+         <div class="wizardStepBox">
+            <p class="stepNumber">Step 1</p>
+            <p class="stepText">Select Portlet</p>
+         </div>
+        </c:otherwise>
+        </c:choose>
+      </c:otherwise>
+   </c:choose>
+
+   <c:choose>
+      <c:when test="#{newWindowWizard.currentStep == 1}">
+         <div class="wizardStepBox" id="selected">
+            <p class="stepNumber">Step 2</p>
+            <p class="stepText">Select Portal</p>
+         </div>
+      </c:when>
+      <c:otherwise>
+         <c:choose>
+        <c:when test="#{newWindowWizard.enabled[1]}">
+        <h:form><h:commandLink action="#{newWindowWizard.goTo}">
+          <f:param name="step" value="1"/>
+         <div class="wizardStepBox">
+            <p class="stepNumber">Step 2</p>
+            <p class="stepText">Select Portal</p>
+         </div>
+        </h:commandLink></h:form>
+        </c:when>
+        <c:otherwise>
+         <div class="wizardStepBox">
+            <p class="stepNumber">Step 2</p>
+            <p class="stepText">Select Portal</p>
+         </div>
+        </c:otherwise>
+        </c:choose>
+      </c:otherwise>
+   </c:choose>
+
+   <c:choose>
+      <c:when test="#{newWindowWizard.currentStep == 2}">
+         <div class="wizardStepBox" id="selected">
+            <p class="stepNumber">Step 3</p>
+            <p class="stepText">Select Page</p>
+         </div>
+      </c:when>
+      <c:otherwise>
+         <c:choose>
+        <c:when test="#{newWindowWizard.enabled[2]}">
+        <h:form><h:commandLink action="#{newWindowWizard.goTo}">
+          <f:param name="step" value="2"/>
+         <div class="wizardStepBox">
+            <p class="stepNumber">Step 3</p>
+            <p class="stepText">Select Page</p>
+         </div>
+        </h:commandLink></h:form>
+        </c:when>
+        <c:otherwise>
+         <div class="wizardStepBox">
+            <p class="stepNumber">Step 3</p>
+            <p class="stepText">Select Page</p>
+         </div>
+        </c:otherwise>
+        </c:choose>
+      </c:otherwise>
+   </c:choose>
+
+   <c:choose>
+      <c:when test="#{newWindowWizard.currentStep == 3}">
+         <div class="wizardStepBox" id="selected">
+            <p class="stepNumber">Step 4</p>
+            <p class="stepText">Select Region</p>
+         </div>
+      </c:when>
+      <c:otherwise>
+         <c:choose>
+        <c:when test="#{newWindowWizard.enabled[3]}">
+        <h:form><h:commandLink action="#{newWindowWizard.goTo}">
+          <f:param name="step" value="3"/>
+         <div class="wizardStepBox">
+            <p class="stepNumber">Step 4</p>
+            <p class="stepText">Select Region</p>
+         </div>
+        </h:commandLink></h:form>
+        </c:when>
+        <c:otherwise>
+         <div class="wizardStepBox">
+            <p class="stepNumber">Step 4</p>
+            <p class="stepText">Select Region</p>
+         </div>
+        </c:otherwise>
+        </c:choose>
+      </c:otherwise>
+   </c:choose>
+
+   <c:choose>
+      <c:when test="#{newWindowWizard.currentStep == 4}">
+         <div class="wizardStepBox" id="selected">
+            <p class="stepNumber">Step 5</p>
+            <p class="stepText">Confirm</p>
+         </div>
+      </c:when>
+      <c:otherwise>
+         <c:choose>
+        <c:when test="#{newWindowWizard.enabled[4]}">
+        <h:form><h:commandLink action="#{newWindowWizard.goTo}">
+          <f:param name="step" value="4"/>
+         <div class="wizardStepBox">
+            <p class="stepNumber">Step 5</p>
+            <p class="stepText">Confirm</p>
+         </div>
+        </h:commandLink></h:form>
+        </c:when>
+        <c:otherwise>
+         <div class="wizardStepBox">
+            <p class="stepNumber">Step 5</p>
+            <p class="stepText">Confirm</p>
+         </div>
+        </c:otherwise>
+        </c:choose>
+      </c:otherwise>
+   </c:choose>
+
+   <!-- Status message -->
+   <h:message id="status" for="status"/>
+
+
+   <!-- Content -->
+   <div class="wizardContent">
+      <ui:insert name="content">Content</ui:insert>
+   </div>
+
+   <div class="wizardButtonBox">
+      <h:form>
+         <h:commandButton rendered="#{newWindowWizard.currentStep gt 0}" value="Previous"
+                          action="#{newWindowWizard.previous}" styleClass="portlet-form-button"/>
+         <h:commandButton rendered="#{newWindowWizard.currentStep lt 4 and newWindowWizard.enabled[newWindowWizard.currentStep + 1]}"
+                          value="Next" action="#{newWindowWizard.next}" styleClass="portlet-form-button"/>
+      </h:form>
+   </div>
+
+   <h:form>
+      <p style="text-align: right;"><h:commandLink action="advancedMode">Switch to advanced mode</h:commandLink></p>
+   </h:form>
+</div>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/newWindowWizardConfirm.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/newWindowWizardConfirm.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/newWindowWizardConfirm.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+ 
+   <ui:composition template="newWindowTpl.xhtml">
+      <ui:define name="content">
+ 
+    <table>
+      <tr><td><b>Portlet:</b></td><td>#{newWindowWizard.selectedPortlet.name.defaultString}</td></tr>
+      <tr><td><b>Portal:</b></td><td>#{newWindowWizard.selectedPortal.name}</td></tr>
+      <tr><td><b>Page:</b></td><td>#{newWindowWizard.selectedPage.name}</td></tr>
+      <tr><td><b>Region:</b></td><td>#{newWindowWizard.selectedRegionId}</td></tr>
+    </table>
+    
+  <h:form>
+    <h:commandButton value="Confirm" action="#{newWindowWizard.createWindow}"  styleClass="portlet-form-button"/> 
+    <h:commandButton value="Cancel"  action="#{newWindowWizard.cancel}"        styleClass="portlet-form-button"/> 
+  </h:form>
+ 
+       </ui:define>
+  </ui:composition>
+ 
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPage.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPage.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPage.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,48 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+   <ui:composition template="newWindowTpl.xhtml">
+      <ui:define name="content">
+
+         <table width="100%">
+            <tbody class="portlet-section-header">
+               <tr>
+                  <th>Page</th>
+                  <th></th>
+               </tr>
+            </tbody>
+            <tbody>
+               <h:form>
+                  <h:commandLink action="#{newWindowWizard.up}" rendered="#{newWindowWizard.selectedParentPage.type != PortalObject.TYPE_PORTAL}">
+                     <h:outputText value="Up"/>
+                     <f:param name="id" value="#{newWindowWizard.selectedParentPageId}"/>
+                  </h:commandLink>
+                  <c:forEach items="#{newWindowWizard.pages}" var="object" varStatus="status">
+                     <tr
+                        class="#{object.id == newWindowWizard.selectedPageId ? 'portlet-section-selected' : status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
+                        <td>
+                           <h:commandLink id="cl_#{status.index}" action="#{newWindowWizard.selectPage}">
+                              <h:outputText id="ot_#{status.index}" value="#{object.name}"/>
+                              <f:param id="f_#{status.index}" name="id" value="#{object.id}"/>
+                           </h:commandLink>
+                        </td>
+                        <td>
+                           <c:if test="#{not empty object.pages}">
+                              <h:commandLink id="cl2_#{status.index}" action="#{newWindowWizard.selectParentPage}">
+                                 <h:outputText id="ot2_#{status.index}" value="Sub-Pages"/>
+                                 <f:param id="f2_#{status.index}" name="id" value="#{object.id}"/>
+                              </h:commandLink>
+                           </c:if>
+                        </td>
+                     </tr>
+                  </c:forEach>
+               </h:form>
+            </tbody>
+         </table>
+      </ui:define>
+   </ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPortal.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPortal.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPortal.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+   <ui:composition template="newWindowTpl.xhtml">
+      <ui:define name="content">
+         <table width="100%">
+
+            <tbody class="portlet-section-header">
+               <tr>
+                  <th>Portal</th>
+               </tr>
+            </tbody>
+            <tbody>
+               <h:form>
+                  <c:forEach items="#{newWindowWizard.portals}" var="object" varStatus="status">
+                     <tr
+                        class="#{object.id == newWindowWizard.selectedPortalId ? 'portlet-section-selected' : status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
+                        <td>
+                           <h:commandLink action="#{newWindowWizard.selectPortal}">
+                              <h:outputText value="#{object.name}"/>
+                              <f:param name="id" value="#{object.id}"/>
+                           </h:commandLink>
+                        </td>
+                     </tr>
+                  </c:forEach>
+               </h:form>
+            </tbody>
+
+         </table>
+      </ui:define>
+   </ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPortlet.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPortlet.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectPortlet.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,55 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+   <ui:composition template="newWindowTpl.xhtml">
+      <ui:define name="content">
+         <h:form>
+            <h:outputLabel for="menu">
+               <h:outputText value="Portlet provider: " styleClass="portlet-form-field-label"/>
+            </h:outputLabel>
+            <h:selectOneMenu id="menu" styleClass="portlet-form-field" value="#{portletmgr.selectedPortletInvokerId}">
+               <f:selectItems value="#{portletmgr.portletInvokerItems}"/>
+            </h:selectOneMenu>
+            <h:commandButton value="Change" styleClass="portlet-form-button"/>
+         </h:form>
+
+         <h:form>
+            <table width="100%">
+               <thead class="portlet-section-header">
+                  <tr>
+                     <th>Name</th>
+                  </tr>
+               </thead>
+               <tbody>
+                  <c:forEach items="#{portletmgr.selectedPortlets}" var="portlet" varStatus="status">
+                     <tr
+                        class="#{portlet.context.id == newWindowWizard.selectedPortletId ? 'portlet-section-selected' : (status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate')}">
+                        <td title="#{portlet.description.value}">
+                           <h:commandLink action="#{newWindowWizard.selectPortlet}">
+                              <h:outputText>#{!empty portlet.name.value ? portlet.name.value : "Unnamed"}</h:outputText>
+                              <f:param name="id" value="#{portlet.context.id}"/>
+                              <f:param name="portletInvokerId" value="#{portletmgr.selectedPortletInvokerId}"/>
+                           </h:commandLink></td>
+                     </tr>
+                  </c:forEach>
+               </tbody>
+            </table>
+            <ul class="pagination">
+               <c:forEach begin="0" end="#{(portletmgr.portletCount - 1)/portletmgr.paginationSize}" step="1"
+                          var="index">
+                  <li class="#{index == portletmgr.selectedFrom ? 'selected' : ''}">
+                     <h:commandLink action="#{portletmgr.selectFrom}">
+                        <f:param name="from" value="#{index * portletmgr.paginationSize}"/>
+                        <h:outputText value="#{index * portletmgr.paginationSize}"/>
+                     </h:commandLink>
+                  </li>
+               </c:forEach>
+            </ul>
+         </h:form>
+
+      </ui:define>
+   </ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectRegion.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectRegion.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/jsf/wizard/selectRegion.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,37 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+   <ui:composition template="newWindowTpl.xhtml">
+      <ui:define name="content">
+
+         <table width="100%">
+
+            <tbody class="portlet-section-header">
+               <tr>
+                  <th>Portal</th>
+               </tr>
+            </tbody>
+            <tbody>
+               <h:form>
+                  <c:forEach items="#{newWindowWizard.regions}" var="object" varStatus="status">
+                     <tr
+                        class="#{object == newWindowWizard.selectedRegionId ? 'portlet-section-selected' : status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
+                        <td>
+                           <h:commandLink action="#{newWindowWizard.selectRegion}">
+                              <h:outputText value="#{object}"/>
+                              <f:param name="name" value="#{object}"/>
+                           </h:commandLink>
+                        </td>
+                     </tr>
+                  </c:forEach>
+               </h:form>
+            </tbody>
+         </table>
+
+      </ui:define>
+   </ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-beanutils.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-beanutils.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-digester.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-digester.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-el.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-el.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-lang.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/commons-lang.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/el-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/el-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/el-ri.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/el-ri.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-example.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-example.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jstl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jstl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/myfaces-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/myfaces-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/myfaces-impl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/myfaces-impl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-core-admin-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-core-admin-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-faces-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-faces-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portal.taglib.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portal.taglib.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portal.taglib.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "facelet-taglib_1_0.dtd">
+<facelet-taglib>
+    <namespace>http://www.jboss.org/portal</namespace>
+    <tag>
+        <tag-name>scroller</tag-name>
+        <component>
+            <component-type>org.jboss.portal.Scroller</component-type>
+            <renderer-type>default</renderer-type>
+        </component>
+    </tag>
+   <tag>
+       <tag-name>portlet</tag-name>
+       <component>
+           <component-type>org.jboss.portal.Portlet</component-type>
+           <renderer-type>default</renderer-type>
+           <handler-class>org.jboss.portal.faces.component.portlet.PortletHandler</handler-class>
+       </component>
+   </tag>
+</facelet-taglib>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portlet-instances.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portlet-instances.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portlet-instances.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,48 @@
+<?xml version="1.0" standalone="yes"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portlet Instances 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
+
+<deployments>
+   <deployment>
+      <instance>
+         <instance-id>AdminPortletInstance</instance-id>
+         <portlet-ref>AdminPortlet</portlet-ref>
+         <security-constraint>
+            <policy-permission>
+               <role-name>Admin</role-name>
+               <action-name>view</action-name>
+            </policy-permission>
+         </security-constraint>
+      </instance>
+   </deployment>
+   <deployment>
+      <instance>
+         <instance-id>DashboardConfigPortletInstance</instance-id>
+         <portlet-ref>DashboardConfigPortlet</portlet-ref>
+      </instance>
+   </deployment>
+</deployments>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<portlet-app
+   xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   version="1.0">
+   <portlet>
+      <description>Administration Portlet</description>
+      <portlet-name>AdminPortlet</portlet-name>
+      <display-name>Administration Portlet</display-name>
+      <portlet-class>org.jboss.portal.faces.loader.FacesPortlet</portlet-class>
+      <init-param>
+         <name>default-view</name>
+         <value>/WEB-INF/jsf/objects.xhtml</value>
+      </init-param>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <portlet-info>
+         <title>Management Portlet</title>
+         <keywords>management,admin</keywords>
+      </portlet-info>
+   </portlet>
+   <portlet>
+      <description>Dashboard Configurator Portlet</description>
+      <portlet-name>DashboardConfigPortlet</portlet-name>
+      <display-name>Dashboard Configurator Portlet</display-name>
+      <portlet-class>org.jboss.portal.faces.loader.FacesPortlet</portlet-class>
+      <init-param>
+         <name>default-view</name>
+         <value>/WEB-INF/jsf/dashboard/dashboard.xhtml</value>
+      </init-param>
+      <expiration-cache>-1</expiration-cache>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <portlet-info>
+         <title>Dashboard Configurator Portlet</title>
+         <keywords>management,admin</keywords>
+      </portlet-info>
+   </portlet>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,84 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<web-app
+   xmlns="http://java.sun.com/xml/ns/j2ee"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+   version="2.4">
+
+   <!-- MyFaces specific configuration -->
+   <context-param>
+      <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
+      <param-value>true</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
+      <param-value>true</param-value>
+   </context-param>
+
+   <!-- Facelet configuration -->
+   <context-param>
+      <param-name>facelets.DEVELOPMENT</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>facelets.SKIP_COMMENTS</param-name>
+      <param-value>true</param-value>
+   </context-param>
+   <context-param>
+      <param-name>facelets.LIBRARIES</param-name>
+      <param-value>/WEB-INF/portal.taglib.xml</param-value>
+   </context-param>
+
+   <!-- JSF configuration -->
+   <context-param>
+      <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+      <param-value>.xhtml</param-value>
+   </context-param>
+   <context-param>
+      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+      <param-value>server</param-value>
+   </context-param>
+
+   <!-- The JSF servlet -->
+   <servlet>
+       <servlet-name>Faces Servlet</servlet-name>
+       <servlet-class>org.jboss.portal.faces.loader.FacesLoaderServlet</servlet-class>
+       <load-on-startup>1</load-on-startup>
+   </servlet>
+   
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Add.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Add.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_CreateInstance.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_CreateInstance.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Delete.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Delete.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Details.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Details.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_IsDefault.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_IsDefault.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Layout.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Layout.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_MakeDefault.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_MakeDefault.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_MoveDown.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_MoveDown.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_MoveUp.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_MoveUp.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Properties.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Properties.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Rename.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Rename.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Security.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Security.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Theme.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/actionIcon_Theme.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/msgIcon_Warning.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/msgIcon_Warning.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/objectPath_Arrow.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/objectPath_Arrow.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/pathBackground.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/pathBackground.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/pathSeparator.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/img/pathSeparator.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,504 @@
+/* Redefine spacing for tables. */
+
+a {
+   color: #446688;
+   text-decoration: none;
+}
+
+a:hover {
+   color: #5078aa;
+   text-decoration: underline;
+}
+
+div.admin-ui div.tab-container{
+   border-bottom:1px solid #B3C0C7;
+   border-right:1px solid #B3C0C7;
+   border-left:1px solid #B3C0C7;
+   padding: 15px 0 10px 0;
+}
+
+.admin-ui table {
+   border: 0;
+}
+
+.admin-ui th {
+   text-align: left;
+   border: 0;
+   border-bottom: 1px solid;
+   padding-bottom: 2px;
+   padding-top: 2px;
+   font-size: 11px;
+}
+
+.admin-ui td {
+   padding-bottom: 2px;
+   padding-top: 2px;
+}
+
+/* Pagination. */
+
+.admin-ui ul.pagination {
+   margin: 0;
+   padding: .2em;
+}
+
+.admin-ui ul.pagination li {
+   text-align: center;
+   list-style-type: none;
+   display: inline;
+   margin-right: 2px;
+}
+
+.admin-ui ul.pagination li.selected {
+   font-weight: bold;
+   background-color: #eef;
+   border-bottom: 2px solid #656565;
+}
+
+.pagination a, .pagination a:visited, .pagination a:hover {
+   text-decoration: none;
+}
+
+/* Top nav. */
+
+.admin-ui ul.topnav {
+   padding: 4px 0px 3px;
+   border-bottom: 1px solid #b3c0c7;
+   margin: 0;
+}
+
+.admin-ui ul.topnav li {
+   list-style-type: none;
+   display: inline;
+   margin: 0;
+   padding: 3px 0.5em;
+   margin-left: 5px;
+   border: 1px solid #b3c0c7;
+   border-bottom: none;
+   background-color: #f2f4f5;
+}
+
+.admin-ui ul.topnav li:hover {
+   background-color: #fff;
+}
+
+.admin-ui ul.topnav li#currentTab {
+   background-color: white;
+   border-bottom: 1px solid white;
+}
+
+.admin-ui ul.topnav li#currentTab a:hover {
+}
+
+/* Object path. */
+
+.admin-ui ul.objectpath {
+   list-style-type: none;
+   font-size: 11px;
+   border: solid 1px #bbb;
+   border-left: solid 1px #eee;
+   border-right: solid 1px #eee;
+   background-color: #d5d5d5;
+   background-image: url( img/pathBackground.png );
+   background-position: left;
+   background-repeat: repeat-x;
+   height: 21px;
+   margin: 0px;
+   padding: 0px;
+   padding-left: 2px;
+}
+
+.admin-ui ul.objectpath li {
+   list-style-type: none;
+   display: block;
+   float: left;
+}
+
+.admin-ui ul li.pathItem {
+   padding-top: 4px;
+   padding-left: 3px;
+   padding-right: 2px;
+}
+
+/*
+.admin-ui ul.li.pathSeparator {
+   background-image: url(img/pathSeparator.png);
+   background-position: center center;
+   background-repeat: no-repeat;
+   width: 7px;
+}
+*/
+
+.admin-ui ul.objectpath li.selected {
+   font-weight: bold;
+   padding-top: 4px;
+   padding-left: 3px;
+   padding-right: 2px;
+}
+
+.admin-ui ul.objectpath a {
+   color: #333333;
+   text-decoration: none;
+}
+
+.admin-ui ul.objectpath a:hover {
+   color: #5078aa;
+   text-decoration: none;
+}
+
+/* Resize combo lists */
+.admin-ui select {
+   padding: 2px 4px 2px 1px;
+}
+
+.admin-ui select.contentType {
+   width: 8em;
+}
+
+.admin-ui select.instanceList {
+   width: 11em;
+}
+
+.admin-ui select.windowList {
+   width: 95%;
+   overflow: auto;
+}
+
+/* Style a table for form layout */
+.admin-ui table form {
+   margin: 0;
+}
+
+.admin-ui table form td.label {
+   text-align: right;
+   vertical-align: top;
+   padding-top: 0.4em;
+}
+
+.admin-ui table form td.widget {
+   text-align: left;
+}
+
+/* Area header. */
+
+.admin-ui .portlet-area-header {
+   border: 1px solid #54708c;
+   font-weight: bold;
+   color: #fff;
+   font-size: 11px;
+   background-color: #5986b3;
+   padding: 2px;
+   padding-left: 4px;
+   margin: 0;
+}
+
+.admin-ui .portlet-area-body {
+   border: 1px solid #d5d5d5;
+   border-top: 0px;
+   background-color: #fff;
+   padding: 4px;
+   margin: 0;
+}
+
+/* Styles updated and enhanced from the main portal css */
+
+.admin-ui th.portlet-section-title {
+   font-weight: bold;
+   color: #656565;
+   font-size: 11px;
+   border: 1px solid #999;
+   background-color: #ebf2f5;
+   padding-left: 6px;
+}
+
+.admin-ui h3.sectionTitle {
+   font-weight: bold;
+   color: #656565;
+   font-size: 11px;
+   border-top: 1px solid #999;
+   background-color: #ebf2f5;
+   padding: 2px;
+   padding-left: 4px;
+}
+
+.admin-ui .portlet-section-header {
+   background-image: url( img/pathBackground.png );
+   background-position: left;
+   background-repeat: repeat-x;
+   font-weight: bold;
+   color: #656565;
+   font-size: 10px;
+   border-top: 1px solid #ddd;
+   border-bottom: 1px solid #999;
+   padding-left: 4px;
+}
+
+.admin-ui .portlet-section-header th {
+   background-image: url( img/pathBackground.png );
+   background-position: left;
+   background-repeat: repeat-x;
+   font-weight: bold;
+   color: #656565;
+   font-size: 10px;
+   border-top: 1px solid #ddd;
+   border-bottom: 1px solid #999;
+   padding-left: 4px;
+}
+
+.admin-ui .portlet-section-body {
+   color: #656565;
+   border: 1px solid #d5d5d5;
+   border-top: 0px;
+}
+
+.admin-ui .portlet-section-alternate {
+   background-color: #F2F2F2;
+   border: 1px solid #d5d5d5;
+}
+
+.admin-ui .portlet-section-selected {
+   background-color: #CBD4E6;
+}
+
+.admin-ui .actionDetails {
+   background-image: url( img/actionIcon_Details.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   line-height: 14px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.admin-ui .actionLayout {
+   background-image: url( img/actionIcon_Layout.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   line-height: 14px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.admin-ui .actionSecurity {
+   background-image: url( img/actionIcon_Security.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   line-height: 14px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.admin-ui .actionProperties {
+   background-image: url( img/actionIcon_Properties.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   padding-left: 18px;
+   white-space: nowrap;
+   height: 22px;
+}
+
+.admin-ui .actionTheme {
+   background-image: url( img/actionIcon_Theme.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.admin-ui .actionRename {
+   background-image: url( img/actionIcon_Rename.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.admin-ui .actionDelete {
+   background-image: url( img/actionIcon_Delete.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.admin-ui .actionMakeDefault {
+   background-image: url( img/actionIcon_MakeDefault.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.admin-ui .actionDefault {
+   background-image: url( img/actionIcon_IsDefault.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.admin-ui .actionPreferences {
+   background-image: url( img/actionIcon_Properties.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.admin-ui .actionCreateInstance {
+   background-image: url( img/actionIcon_CreateInstance.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.admin-ui .portlet-content-center {
+   padding: 0;
+   margin: 0;
+}
+
+.admin-ui .portlet-body {
+   padding: 0;
+   margin: 0;
+}
+
+.admin-ui .portlet-content-right {
+   padding: 0;
+   margin: 0;
+}
+
+.admin-ui .portlet-footer-left {
+   padding: 0;
+   margin: 0;
+}
+
+.admin-ui .portlet-table-header {
+   background-color: #eef;
+}
+
+.admin-ui .portlet-section-buttonrow {
+   margin-top: 6px;
+   margin-bottom: 6px;
+   float: right;
+}
+
+/* Change dashed line to solid. */
+
+.admin-ui hr {
+   border-top-style: solid;
+}
+
+
+div.admin-ui div.wizard-tab-container {
+   border-bottom:1px solid #B3C0C7;
+   border-right:1px solid #B3C0C7;
+   border-left:1px solid #B3C0C7;
+   padding: 0 0 10px 0;
+   margin: 10px 0 0 0;
+}
+
+.admin-ui .wizardStepBox {
+   display: inline;
+   float: left;
+   border: 1px solid #98B7C6;
+   height: 7em;
+   width: 9em;
+   background-color: #DFE8ED;
+   margin: .5em;
+}
+
+.admin-ui .wizardButtonBox {
+   margin: 1em;
+}
+
+.admin-ui .wizardContent {
+   clear: both;
+}
+
+.admin-ui form {
+   padding: 0;
+   margin: 0;
+}
+
+.admin-ui #selected.wizardStepBox {
+   background-color: #C8DCC4;
+   border: 1px solid black;
+   border-bottom: 5px solid black;
+}
+
+.admin-ui .stepNumber {
+   font-size: 2em;
+   text-align: center;
+   margin-top: 5px;
+   margin-bottom: 0;
+}
+
+.admin-ui .stepText {
+   text-align: center;
+}
+
+.admin-ui .layout-button {
+   width: 50px;
+   margin: 2px;
+   padding: 2px;
+}
+
+.admin-ui .createObjectForm {
+   display: block;
+   padding: 1em 0 0 0;
+}
+
+.admin-ui .objectList {
+   width: 100%;
+}
+
+.admin-ui .objectList .objectNameColumn {
+   width: 25%;
+}
+
+.admin-ui .objectList .objectActionColumn {
+   width: 75%;
+}
+
+.admin-ui .portlet-msg {
+   border: 1px solid #bbb;
+   margin: 2em auto;
+   padding: 1em;
+   width: 60%;
+}
+
+.admin-ui .portlet-msg-body {
+   position: relative;
+   top: -3em;
+   left: 3em;
+   width: 95%;
+}
+
+.admin-label {
+   padding: 0 4px 3px 0;
+   display: inline-block;
+   vertical-align: middle;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<jboss-web>
+</jboss-web>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE web-app PUBLIC
+   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+   "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+   <servlet>
+      <servlet-name>DynaAjaxServlet</servlet-name>
+      <servlet-class>org.jboss.portal.theme.servlet.DynaAjaxServlet</servlet-class>
+      <load-on-startup>0</load-on-startup>
+   </servlet>
+   <servlet-mapping>
+      <servlet-name>DynaAjaxServlet</servlet-name>
+      <url-pattern>/ajax/*</url-pattern>
+   </servlet-mapping>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/builder.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/builder.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/builder.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,131 @@
+// script.aculo.us builder.js v1.7.0, Fri Jan 19 19:16:36 CET 2007
+
+// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+var Builder = {
+  NODEMAP: {
+    AREA: 'map',
+    CAPTION: 'table',
+    COL: 'table',
+    COLGROUP: 'table',
+    LEGEND: 'fieldset',
+    OPTGROUP: 'select',
+    OPTION: 'select',
+    PARAM: 'object',
+    TBODY: 'table',
+    TD: 'table',
+    TFOOT: 'table',
+    TH: 'table',
+    THEAD: 'table',
+    TR: 'table'
+  },
+  // note: For Firefox < 1.5, OPTION and OPTGROUP tags are currently broken,
+  //       due to a Firefox bug
+  node: function(elementName) {
+    elementName = elementName.toUpperCase();
+    
+    // try innerHTML approach
+    var parentTag = this.NODEMAP[elementName] || 'div';
+    var parentElement = document.createElement(parentTag);
+    try { // prevent IE "feature": http://dev.rubyonrails.org/ticket/2707
+      parentElement.innerHTML = "<" + elementName + "></" + elementName + ">";
+    } catch(e) {}
+    var element = parentElement.firstChild || null;
+      
+    // see if browser added wrapping tags
+    if(element && (element.tagName.toUpperCase() != elementName))
+      element = element.getElementsByTagName(elementName)[0];
+    
+    // fallback to createElement approach
+    if(!element) element = document.createElement(elementName);
+    
+    // abort if nothing could be created
+    if(!element) return;
+
+    // attributes (or text)
+    if(arguments[1])
+      if(this._isStringOrNumber(arguments[1]) ||
+        (arguments[1] instanceof Array)) {
+          this._children(element, arguments[1]);
+        } else {
+          var attrs = this._attributes(arguments[1]);
+          if(attrs.length) {
+            try { // prevent IE "feature": http://dev.rubyonrails.org/ticket/2707
+              parentElement.innerHTML = "<" +elementName + " " +
+                attrs + "></" + elementName + ">";
+            } catch(e) {}
+            element = parentElement.firstChild || null;
+            // workaround firefox 1.0.X bug
+            if(!element) {
+              element = document.createElement(elementName);
+              for(attr in arguments[1]) 
+                element[attr == 'class' ? 'className' : attr] = arguments[1][attr];
+            }
+            if(element.tagName.toUpperCase() != elementName)
+              element = parentElement.getElementsByTagName(elementName)[0];
+            }
+        } 
+
+    // text, or array of children
+    if(arguments[2])
+      this._children(element, arguments[2]);
+
+     return element;
+  },
+  _text: function(text) {
+     return document.createTextNode(text);
+  },
+
+  ATTR_MAP: {
+    'className': 'class',
+    'htmlFor': 'for'
+  },
+
+  _attributes: function(attributes) {
+    var attrs = [];
+    for(attribute in attributes)
+      attrs.push((attribute in this.ATTR_MAP ? this.ATTR_MAP[attribute] : attribute) +
+          '="' + attributes[attribute].toString().escapeHTML() + '"');
+    return attrs.join(" ");
+  },
+  _children: function(element, children) {
+    if(typeof children=='object') { // array can hold nodes and text
+      children.flatten().each( function(e) {
+        if(typeof e=='object')
+          element.appendChild(e)
+        else
+          if(Builder._isStringOrNumber(e))
+            element.appendChild(Builder._text(e));
+      });
+    } else
+      if(Builder._isStringOrNumber(children)) 
+         element.appendChild(Builder._text(children));
+  },
+  _isStringOrNumber: function(param) {
+    return(typeof param=='string' || typeof param=='number');
+  },
+  build: function(html) {
+    var element = this.node('div');
+    $(element).update(html.strip());
+    return element.down();
+  },
+  dump: function(scope) { 
+    if(typeof scope != 'object' && typeof scope != 'function') scope = window; //global scope 
+  
+    var tags = ("A ABBR ACRONYM ADDRESS APPLET AREA B BASE BASEFONT BDO BIG BLOCKQUOTE BODY " +
+      "BR BUTTON CAPTION CENTER CITE CODE COL COLGROUP DD DEL DFN DIR DIV DL DT EM FIELDSET " +
+      "FONT FORM FRAME FRAMESET H1 H2 H3 H4 H5 H6 HEAD HR HTML I IFRAME IMG INPUT INS ISINDEX "+
+      "KBD LABEL LEGEND LI LINK MAP MENU META NOFRAMES NOSCRIPT OBJECT OL OPTGROUP OPTION P "+
+      "PARAM PRE Q S SAMP SCRIPT SELECT SMALL SPAN STRIKE STRONG STYLE SUB SUP TABLE TBODY TD "+
+      "TEXTAREA TFOOT TH THEAD TITLE TR TT U UL VAR").split(/\s+/);
+  
+    tags.each( function(tag){ 
+      scope[tag] = function() { 
+        return Builder.node.apply(Builder, [tag].concat($A(arguments)));  
+      } 
+    });
+  }
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/controls.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/controls.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/controls.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,835 @@
+// script.aculo.us controls.js v1.7.0, Fri Jan 19 19:16:36 CET 2007
+
+// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+//           (c) 2005, 2006 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
+//           (c) 2005, 2006 Jon Tirsen (http://www.tirsen.com)
+// Contributors:
+//  Richard Livsey
+//  Rahul Bhargava
+//  Rob Wills
+// 
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+// Autocompleter.Base handles all the autocompletion functionality 
+// that's independent of the data source for autocompletion. This
+// includes drawing the autocompletion menu, observing keyboard
+// and mouse events, and similar.
+//
+// Specific autocompleters need to provide, at the very least, 
+// a getUpdatedChoices function that will be invoked every time
+// the text inside the monitored textbox changes. This method 
+// should get the text for which to provide autocompletion by
+// invoking this.getToken(), NOT by directly accessing
+// this.element.value. This is to allow incremental tokenized
+// autocompletion. Specific auto-completion logic (AJAX, etc)
+// belongs in getUpdatedChoices.
+//
+// Tokenized incremental autocompletion is enabled automatically
+// when an autocompleter is instantiated with the 'tokens' option
+// in the options parameter, e.g.:
+// new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' });
+// will incrementally autocomplete with a comma as the token.
+// Additionally, ',' in the above example can be replaced with
+// a token array, e.g. { tokens: [',', '\n'] } which
+// enables autocompletion on multiple tokens. This is most 
+// useful when one of the tokens is \n (a newline), as it 
+// allows smart autocompletion after linebreaks.
+
+if(typeof Effect == 'undefined')
+  throw("controls.js requires including script.aculo.us' effects.js library");
+
+var Autocompleter = {}
+Autocompleter.Base = function() {};
+Autocompleter.Base.prototype = {
+  baseInitialize: function(element, update, options) {
+    this.element     = $(element); 
+    this.update      = $(update);  
+    this.hasFocus    = false; 
+    this.changed     = false; 
+    this.active      = false; 
+    this.index       = 0;     
+    this.entryCount  = 0;
+
+    if(this.setOptions)
+      this.setOptions(options);
+    else
+      this.options = options || {};
+
+    this.options.paramName    = this.options.paramName || this.element.name;
+    this.options.tokens       = this.options.tokens || [];
+    this.options.frequency    = this.options.frequency || 0.4;
+    this.options.minChars     = this.options.minChars || 1;
+    this.options.onShow       = this.options.onShow || 
+      function(element, update){ 
+        if(!update.style.position || update.style.position=='absolute') {
+          update.style.position = 'absolute';
+          Position.clone(element, update, {
+            setHeight: false, 
+            offsetTop: element.offsetHeight
+          });
+        }
+        Effect.Appear(update,{duration:0.15});
+      };
+    this.options.onHide = this.options.onHide || 
+      function(element, update){ new Effect.Fade(update,{duration:0.15}) };
+
+    if(typeof(this.options.tokens) == 'string') 
+      this.options.tokens = new Array(this.options.tokens);
+
+    this.observer = null;
+    
+    this.element.setAttribute('autocomplete','off');
+
+    Element.hide(this.update);
+
+    Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
+    Event.observe(this.element, "keypress", this.onKeyPress.bindAsEventListener(this));
+  },
+
+  show: function() {
+    if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update);
+    if(!this.iefix && 
+      (navigator.appVersion.indexOf('MSIE')>0) &&
+      (navigator.userAgent.indexOf('Opera')<0) &&
+      (Element.getStyle(this.update, 'position')=='absolute')) {
+      new Insertion.After(this.update, 
+       '<iframe id="' + this.update.id + '_iefix" '+
+       'style="display:none;position:absolute;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);" ' +
+       'src="javascript:false;" frameborder="0" scrolling="no"></iframe>');
+      this.iefix = $(this.update.id+'_iefix');
+    }
+    if(this.iefix) setTimeout(this.fixIEOverlapping.bind(this), 50);
+  },
+  
+  fixIEOverlapping: function() {
+    Position.clone(this.update, this.iefix, {setTop:(!this.update.style.height)});
+    this.iefix.style.zIndex = 1;
+    this.update.style.zIndex = 2;
+    Element.show(this.iefix);
+  },
+
+  hide: function() {
+    this.stopIndicator();
+    if(Element.getStyle(this.update, 'display')!='none') this.options.onHide(this.element, this.update);
+    if(this.iefix) Element.hide(this.iefix);
+  },
+
+  startIndicator: function() {
+    if(this.options.indicator) Element.show(this.options.indicator);
+  },
+
+  stopIndicator: function() {
+    if(this.options.indicator) Element.hide(this.options.indicator);
+  },
+
+  onKeyPress: function(event) {
+    if(this.active)
+      switch(event.keyCode) {
+       case Event.KEY_TAB:
+       case Event.KEY_RETURN:
+         this.selectEntry();
+         Event.stop(event);
+       case Event.KEY_ESC:
+         this.hide();
+         this.active = false;
+         Event.stop(event);
+         return;
+       case Event.KEY_LEFT:
+       case Event.KEY_RIGHT:
+         return;
+       case Event.KEY_UP:
+         this.markPrevious();
+         this.render();
+         if(navigator.appVersion.indexOf('AppleWebKit')>0) Event.stop(event);
+         return;
+       case Event.KEY_DOWN:
+         this.markNext();
+         this.render();
+         if(navigator.appVersion.indexOf('AppleWebKit')>0) Event.stop(event);
+         return;
+      }
+     else 
+       if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN || 
+         (navigator.appVersion.indexOf('AppleWebKit') > 0 && event.keyCode == 0)) return;
+
+    this.changed = true;
+    this.hasFocus = true;
+
+    if(this.observer) clearTimeout(this.observer);
+      this.observer = 
+        setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000);
+  },
+
+  activate: function() {
+    this.changed = false;
+    this.hasFocus = true;
+    this.getUpdatedChoices();
+  },
+
+  onHover: function(event) {
+    var element = Event.findElement(event, 'LI');
+    if(this.index != element.autocompleteIndex) 
+    {
+        this.index = element.autocompleteIndex;
+        this.render();
+    }
+    Event.stop(event);
+  },
+  
+  onClick: function(event) {
+    var element = Event.findElement(event, 'LI');
+    this.index = element.autocompleteIndex;
+    this.selectEntry();
+    this.hide();
+  },
+  
+  onBlur: function(event) {
+    // needed to make click events working
+    setTimeout(this.hide.bind(this), 250);
+    this.hasFocus = false;
+    this.active = false;     
+  }, 
+  
+  render: function() {
+    if(this.entryCount > 0) {
+      for (var i = 0; i < this.entryCount; i++)
+        this.index==i ? 
+          Element.addClassName(this.getEntry(i),"selected") : 
+          Element.removeClassName(this.getEntry(i),"selected");
+        
+      if(this.hasFocus) { 
+        this.show();
+        this.active = true;
+      }
+    } else {
+      this.active = false;
+      this.hide();
+    }
+  },
+  
+  markPrevious: function() {
+    if(this.index > 0) this.index--
+      else this.index = this.entryCount-1;
+    this.getEntry(this.index).scrollIntoView(true);
+  },
+  
+  markNext: function() {
+    if(this.index < this.entryCount-1) this.index++
+      else this.index = 0;
+    this.getEntry(this.index).scrollIntoView(false);
+  },
+  
+  getEntry: function(index) {
+    return this.update.firstChild.childNodes[index];
+  },
+  
+  getCurrentEntry: function() {
+    return this.getEntry(this.index);
+  },
+  
+  selectEntry: function() {
+    this.active = false;
+    this.updateElement(this.getCurrentEntry());
+  },
+
+  updateElement: function(selectedElement) {
+    if (this.options.updateElement) {
+      this.options.updateElement(selectedElement);
+      return;
+    }
+    var value = '';
+    if (this.options.select) {
+      var nodes = document.getElementsByClassName(this.options.select, selectedElement) || [];
+      if(nodes.length>0) value = Element.collectTextNodes(nodes[0], this.options.select);
+    } else
+      value = Element.collectTextNodesIgnoreClass(selectedElement, 'informal');
+    
+    var lastTokenPos = this.findLastToken();
+    if (lastTokenPos != -1) {
+      var newValue = this.element.value.substr(0, lastTokenPos + 1);
+      var whitespace = this.element.value.substr(lastTokenPos + 1).match(/^\s+/);
+      if (whitespace)
+        newValue += whitespace[0];
+      this.element.value = newValue + value;
+    } else {
+      this.element.value = value;
+    }
+    this.element.focus();
+    
+    if (this.options.afterUpdateElement)
+      this.options.afterUpdateElement(this.element, selectedElement);
+  },
+
+  updateChoices: function(choices) {
+    if(!this.changed && this.hasFocus) {
+      this.update.innerHTML = choices;
+      Element.cleanWhitespace(this.update);
+      Element.cleanWhitespace(this.update.down());
+
+      if(this.update.firstChild && this.update.down().childNodes) {
+        this.entryCount = 
+          this.update.down().childNodes.length;
+        for (var i = 0; i < this.entryCount; i++) {
+          var entry = this.getEntry(i);
+          entry.autocompleteIndex = i;
+          this.addObservers(entry);
+        }
+      } else { 
+        this.entryCount = 0;
+      }
+
+      this.stopIndicator();
+      this.index = 0;
+      
+      if(this.entryCount==1 && this.options.autoSelect) {
+        this.selectEntry();
+        this.hide();
+      } else {
+        this.render();
+      }
+    }
+  },
+
+  addObservers: function(element) {
+    Event.observe(element, "mouseover", this.onHover.bindAsEventListener(this));
+    Event.observe(element, "click", this.onClick.bindAsEventListener(this));
+  },
+
+  onObserverEvent: function() {
+    this.changed = false;   
+    if(this.getToken().length>=this.options.minChars) {
+      this.startIndicator();
+      this.getUpdatedChoices();
+    } else {
+      this.active = false;
+      this.hide();
+    }
+  },
+
+  getToken: function() {
+    var tokenPos = this.findLastToken();
+    if (tokenPos != -1)
+      var ret = this.element.value.substr(tokenPos + 1).replace(/^\s+/,'').replace(/\s+$/,'');
+    else
+      var ret = this.element.value;
+
+    return /\n/.test(ret) ? '' : ret;
+  },
+
+  findLastToken: function() {
+    var lastTokenPos = -1;
+
+    for (var i=0; i<this.options.tokens.length; i++) {
+      var thisTokenPos = this.element.value.lastIndexOf(this.options.tokens[i]);
+      if (thisTokenPos > lastTokenPos)
+        lastTokenPos = thisTokenPos;
+    }
+    return lastTokenPos;
+  }
+}
+
+Ajax.Autocompleter = Class.create();
+Object.extend(Object.extend(Ajax.Autocompleter.prototype, Autocompleter.Base.prototype), {
+  initialize: function(element, update, url, options) {
+    this.baseInitialize(element, update, options);
+    this.options.asynchronous  = true;
+    this.options.onComplete    = this.onComplete.bind(this);
+    this.options.defaultParams = this.options.parameters || null;
+    this.url                   = url;
+  },
+
+  getUpdatedChoices: function() {
+    entry = encodeURIComponent(this.options.paramName) + '=' + 
+      encodeURIComponent(this.getToken());
+
+    this.options.parameters = this.options.callback ?
+      this.options.callback(this.element, entry) : entry;
+
+    if(this.options.defaultParams) 
+      this.options.parameters += '&' + this.options.defaultParams;
+
+    new Ajax.Request(this.url, this.options);
+  },
+
+  onComplete: function(request) {
+    this.updateChoices(request.responseText);
+  }
+
+});
+
+// The local array autocompleter. Used when you'd prefer to
+// inject an array of autocompletion options into the page, rather
+// than sending out Ajax queries, which can be quite slow sometimes.
+//
+// The constructor takes four parameters. The first two are, as usual,
+// the id of the monitored textbox, and id of the autocompletion menu.
+// The third is the array you want to autocomplete from, and the fourth
+// is the options block.
+//
+// Extra local autocompletion options:
+// - choices - How many autocompletion choices to offer
+//
+// - partialSearch - If false, the autocompleter will match entered
+//                    text only at the beginning of strings in the 
+//                    autocomplete array. Defaults to true, which will
+//                    match text at the beginning of any *word* in the
+//                    strings in the autocomplete array. If you want to
+//                    search anywhere in the string, additionally set
+//                    the option fullSearch to true (default: off).
+//
+// - fullSsearch - Search anywhere in autocomplete array strings.
+//
+// - partialChars - How many characters to enter before triggering
+//                   a partial match (unlike minChars, which defines
+//                   how many characters are required to do any match
+//                   at all). Defaults to 2.
+//
+// - ignoreCase - Whether to ignore case when autocompleting.
+//                 Defaults to true.
+//
+// It's possible to pass in a custom function as the 'selector' 
+// option, if you prefer to write your own autocompletion logic.
+// In that case, the other options above will not apply unless
+// you support them.
+
+Autocompleter.Local = Class.create();
+Autocompleter.Local.prototype = Object.extend(new Autocompleter.Base(), {
+  initialize: function(element, update, array, options) {
+    this.baseInitialize(element, update, options);
+    this.options.array = array;
+  },
+
+  getUpdatedChoices: function() {
+    this.updateChoices(this.options.selector(this));
+  },
+
+  setOptions: function(options) {
+    this.options = Object.extend({
+      choices: 10,
+      partialSearch: true,
+      partialChars: 2,
+      ignoreCase: true,
+      fullSearch: false,
+      selector: function(instance) {
+        var ret       = []; // Beginning matches
+        var partial   = []; // Inside matches
+        var entry     = instance.getToken();
+        var count     = 0;
+
+        for (var i = 0; i < instance.options.array.length &&  
+          ret.length < instance.options.choices ; i++) { 
+
+          var elem = instance.options.array[i];
+          var foundPos = instance.options.ignoreCase ? 
+            elem.toLowerCase().indexOf(entry.toLowerCase()) : 
+            elem.indexOf(entry);
+
+          while (foundPos != -1) {
+            if (foundPos == 0 && elem.length != entry.length) { 
+              ret.push("<li><strong>" + elem.substr(0, entry.length) + "</strong>" + 
+                elem.substr(entry.length) + "</li>");
+              break;
+            } else if (entry.length >= instance.options.partialChars && 
+              instance.options.partialSearch && foundPos != -1) {
+              if (instance.options.fullSearch || /\s/.test(elem.substr(foundPos-1,1))) {
+                partial.push("<li>" + elem.substr(0, foundPos) + "<strong>" +
+                  elem.substr(foundPos, entry.length) + "</strong>" + elem.substr(
+                  foundPos + entry.length) + "</li>");
+                break;
+              }
+            }
+
+            foundPos = instance.options.ignoreCase ? 
+              elem.toLowerCase().indexOf(entry.toLowerCase(), foundPos + 1) : 
+              elem.indexOf(entry, foundPos + 1);
+
+          }
+        }
+        if (partial.length)
+          ret = ret.concat(partial.slice(0, instance.options.choices - ret.length))
+        return "<ul>" + ret.join('') + "</ul>";
+      }
+    }, options || {});
+  }
+});
+
+// AJAX in-place editor
+//
+// see documentation on http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor
+
+// Use this if you notice weird scrolling problems on some browsers,
+// the DOM might be a bit confused when this gets called so do this
+// waits 1 ms (with setTimeout) until it does the activation
+Field.scrollFreeActivate = function(field) {
+  setTimeout(function() {
+    Field.activate(field);
+  }, 1);
+}
+
+Ajax.InPlaceEditor = Class.create();
+Ajax.InPlaceEditor.defaultHighlightColor = "#FFFF99";
+Ajax.InPlaceEditor.prototype = {
+  initialize: function(element, url, options) {
+    this.url = url;
+    this.element = $(element);
+
+    this.options = Object.extend({
+      paramName: "value",
+      okButton: true,
+      okText: "ok",
+      cancelLink: true,
+      cancelText: "cancel",
+      savingText: "Saving...",
+      clickToEditText: "Click to edit",
+      okText: "ok",
+      rows: 1,
+      onComplete: function(transport, element) {
+        new Effect.Highlight(element, {startcolor: this.options.highlightcolor});
+      },
+      onFailure: function(transport) {
+        alert("Error communicating with the server: " + transport.responseText.stripTags());
+      },
+      callback: function(form) {
+        return Form.serialize(form);
+      },
+      handleLineBreaks: true,
+      loadingText: 'Loading...',
+      savingClassName: 'inplaceeditor-saving',
+      loadingClassName: 'inplaceeditor-loading',
+      formClassName: 'inplaceeditor-form',
+      highlightcolor: Ajax.InPlaceEditor.defaultHighlightColor,
+      highlightendcolor: "#FFFFFF",
+      externalControl: null,
+      submitOnBlur: false,
+      ajaxOptions: {},
+      evalScripts: false
+    }, options || {});
+
+    if(!this.options.formId && this.element.id) {
+      this.options.formId = this.element.id + "-inplaceeditor";
+      if ($(this.options.formId)) {
+        // there's already a form with that name, don't specify an id
+        this.options.formId = null;
+      }
+    }
+    
+    if (this.options.externalControl) {
+      this.options.externalControl = $(this.options.externalControl);
+    }
+    
+    this.originalBackground = Element.getStyle(this.element, 'background-color');
+    if (!this.originalBackground) {
+      this.originalBackground = "transparent";
+    }
+    
+    this.element.title = this.options.clickToEditText;
+    
+    this.onclickListener = this.enterEditMode.bindAsEventListener(this);
+    this.mouseoverListener = this.enterHover.bindAsEventListener(this);
+    this.mouseoutListener = this.leaveHover.bindAsEventListener(this);
+    Event.observe(this.element, 'click', this.onclickListener);
+    Event.observe(this.element, 'mouseover', this.mouseoverListener);
+    Event.observe(this.element, 'mouseout', this.mouseoutListener);
+    if (this.options.externalControl) {
+      Event.observe(this.options.externalControl, 'click', this.onclickListener);
+      Event.observe(this.options.externalControl, 'mouseover', this.mouseoverListener);
+      Event.observe(this.options.externalControl, 'mouseout', this.mouseoutListener);
+    }
+  },
+  enterEditMode: function(evt) {
+    if (this.saving) return;
+    if (this.editing) return;
+    this.editing = true;
+    this.onEnterEditMode();
+    if (this.options.externalControl) {
+      Element.hide(this.options.externalControl);
+    }
+    Element.hide(this.element);
+    this.createForm();
+    this.element.parentNode.insertBefore(this.form, this.element);
+    if (!this.options.loadTextURL) Field.scrollFreeActivate(this.editField);
+    // stop the event to avoid a page refresh in Safari
+    if (evt) {
+      Event.stop(evt);
+    }
+    return false;
+  },
+  createForm: function() {
+    this.form = document.createElement("form");
+    this.form.id = this.options.formId;
+    Element.addClassName(this.form, this.options.formClassName)
+    this.form.onsubmit = this.onSubmit.bind(this);
+
+    this.createEditField();
+
+    if (this.options.textarea) {
+      var br = document.createElement("br");
+      this.form.appendChild(br);
+    }
+
+    if (this.options.okButton) {
+      okButton = document.createElement("input");
+      okButton.type = "submit";
+      okButton.value = this.options.okText;
+      okButton.className = 'editor_ok_button';
+      this.form.appendChild(okButton);
+    }
+
+    if (this.options.cancelLink) {
+      cancelLink = document.createElement("a");
+      cancelLink.href = "#";
+      cancelLink.appendChild(document.createTextNode(this.options.cancelText));
+      cancelLink.onclick = this.onclickCancel.bind(this);
+      cancelLink.className = 'editor_cancel';      
+      this.form.appendChild(cancelLink);
+    }
+  },
+  hasHTMLLineBreaks: function(string) {
+    if (!this.options.handleLineBreaks) return false;
+    return string.match(/<br/i) || string.match(/<p>/i);
+  },
+  convertHTMLLineBreaks: function(string) {
+    return string.replace(/<br>/gi, "\n").replace(/<br\/>/gi, "\n").replace(/<\/p>/gi, "\n").replace(/<p>/gi, "");
+  },
+  createEditField: function() {
+    var text;
+    if(this.options.loadTextURL) {
+      text = this.options.loadingText;
+    } else {
+      text = this.getText();
+    }
+
+    var obj = this;
+    
+    if (this.options.rows == 1 && !this.hasHTMLLineBreaks(text)) {
+      this.options.textarea = false;
+      var textField = document.createElement("input");
+      textField.obj = this;
+      textField.type = "text";
+      textField.name = this.options.paramName;
+      textField.value = text;
+      textField.style.backgroundColor = this.options.highlightcolor;
+      textField.className = 'editor_field';
+      var size = this.options.size || this.options.cols || 0;
+      if (size != 0) textField.size = size;
+      if (this.options.submitOnBlur)
+        textField.onblur = this.onSubmit.bind(this);
+      this.editField = textField;
+    } else {
+      this.options.textarea = true;
+      var textArea = document.createElement("textarea");
+      textArea.obj = this;
+      textArea.name = this.options.paramName;
+      textArea.value = this.convertHTMLLineBreaks(text);
+      textArea.rows = this.options.rows;
+      textArea.cols = this.options.cols || 40;
+      textArea.className = 'editor_field';      
+      if (this.options.submitOnBlur)
+        textArea.onblur = this.onSubmit.bind(this);
+      this.editField = textArea;
+    }
+    
+    if(this.options.loadTextURL) {
+      this.loadExternalText();
+    }
+    this.form.appendChild(this.editField);
+  },
+  getText: function() {
+    return this.element.innerHTML;
+  },
+  loadExternalText: function() {
+    Element.addClassName(this.form, this.options.loadingClassName);
+    this.editField.disabled = true;
+    new Ajax.Request(
+      this.options.loadTextURL,
+      Object.extend({
+        asynchronous: true,
+        onComplete: this.onLoadedExternalText.bind(this)
+      }, this.options.ajaxOptions)
+    );
+  },
+  onLoadedExternalText: function(transport) {
+    Element.removeClassName(this.form, this.options.loadingClassName);
+    this.editField.disabled = false;
+    this.editField.value = transport.responseText.stripTags();
+    Field.scrollFreeActivate(this.editField);
+  },
+  onclickCancel: function() {
+    this.onComplete();
+    this.leaveEditMode();
+    return false;
+  },
+  onFailure: function(transport) {
+    this.options.onFailure(transport);
+    if (this.oldInnerHTML) {
+      this.element.innerHTML = this.oldInnerHTML;
+      this.oldInnerHTML = null;
+    }
+    return false;
+  },
+  onSubmit: function() {
+    // onLoading resets these so we need to save them away for the Ajax call
+    var form = this.form;
+    var value = this.editField.value;
+    
+    // do this first, sometimes the ajax call returns before we get a chance to switch on Saving...
+    // which means this will actually switch on Saving... *after* we've left edit mode causing Saving...
+    // to be displayed indefinitely
+    this.onLoading();
+    
+    if (this.options.evalScripts) {
+      new Ajax.Request(
+        this.url, Object.extend({
+          parameters: this.options.callback(form, value),
+          onComplete: this.onComplete.bind(this),
+          onFailure: this.onFailure.bind(this),
+          asynchronous:true, 
+          evalScripts:true
+        }, this.options.ajaxOptions));
+    } else  {
+      new Ajax.Updater(
+        { success: this.element,
+          // don't update on failure (this could be an option)
+          failure: null }, 
+        this.url, Object.extend({
+          parameters: this.options.callback(form, value),
+          onComplete: this.onComplete.bind(this),
+          onFailure: this.onFailure.bind(this)
+        }, this.options.ajaxOptions));
+    }
+    // stop the event to avoid a page refresh in Safari
+    if (arguments.length > 1) {
+      Event.stop(arguments[0]);
+    }
+    return false;
+  },
+  onLoading: function() {
+    this.saving = true;
+    this.removeForm();
+    this.leaveHover();
+    this.showSaving();
+  },
+  showSaving: function() {
+    this.oldInnerHTML = this.element.innerHTML;
+    this.element.innerHTML = this.options.savingText;
+    Element.addClassName(this.element, this.options.savingClassName);
+    this.element.style.backgroundColor = this.originalBackground;
+    Element.show(this.element);
+  },
+  removeForm: function() {
+    if(this.form) {
+      if (this.form.parentNode) Element.remove(this.form);
+      this.form = null;
+    }
+  },
+  enterHover: function() {
+    if (this.saving) return;
+    this.element.style.backgroundColor = this.options.highlightcolor;
+    if (this.effect) {
+      this.effect.cancel();
+    }
+    Element.addClassName(this.element, this.options.hoverClassName)
+  },
+  leaveHover: function() {
+    if (this.options.backgroundColor) {
+      this.element.style.backgroundColor = this.oldBackground;
+    }
+    Element.removeClassName(this.element, this.options.hoverClassName)
+    if (this.saving) return;
+    this.effect = new Effect.Highlight(this.element, {
+      startcolor: this.options.highlightcolor,
+      endcolor: this.options.highlightendcolor,
+      restorecolor: this.originalBackground
+    });
+  },
+  leaveEditMode: function() {
+    Element.removeClassName(this.element, this.options.savingClassName);
+    this.removeForm();
+    this.leaveHover();
+    this.element.style.backgroundColor = this.originalBackground;
+    Element.show(this.element);
+    if (this.options.externalControl) {
+      Element.show(this.options.externalControl);
+    }
+    this.editing = false;
+    this.saving = false;
+    this.oldInnerHTML = null;
+    this.onLeaveEditMode();
+  },
+  onComplete: function(transport) {
+    this.leaveEditMode();
+    this.options.onComplete.bind(this)(transport, this.element);
+  },
+  onEnterEditMode: function() {},
+  onLeaveEditMode: function() {},
+  dispose: function() {
+    if (this.oldInnerHTML) {
+      this.element.innerHTML = this.oldInnerHTML;
+    }
+    this.leaveEditMode();
+    Event.stopObserving(this.element, 'click', this.onclickListener);
+    Event.stopObserving(this.element, 'mouseover', this.mouseoverListener);
+    Event.stopObserving(this.element, 'mouseout', this.mouseoutListener);
+    if (this.options.externalControl) {
+      Event.stopObserving(this.options.externalControl, 'click', this.onclickListener);
+      Event.stopObserving(this.options.externalControl, 'mouseover', this.mouseoverListener);
+      Event.stopObserving(this.options.externalControl, 'mouseout', this.mouseoutListener);
+    }
+  }
+};
+
+Ajax.InPlaceCollectionEditor = Class.create();
+Object.extend(Ajax.InPlaceCollectionEditor.prototype, Ajax.InPlaceEditor.prototype);
+Object.extend(Ajax.InPlaceCollectionEditor.prototype, {
+  createEditField: function() {
+    if (!this.cached_selectTag) {
+      var selectTag = document.createElement("select");
+      var collection = this.options.collection || [];
+      var optionTag;
+      collection.each(function(e,i) {
+        optionTag = document.createElement("option");
+        optionTag.value = (e instanceof Array) ? e[0] : e;
+        if((typeof this.options.value == 'undefined') && 
+          ((e instanceof Array) ? this.element.innerHTML == e[1] : e == optionTag.value)) optionTag.selected = true;
+        if(this.options.value==optionTag.value) optionTag.selected = true;
+        optionTag.appendChild(document.createTextNode((e instanceof Array) ? e[1] : e));
+        selectTag.appendChild(optionTag);
+      }.bind(this));
+      this.cached_selectTag = selectTag;
+    }
+
+    this.editField = this.cached_selectTag;
+    if(this.options.loadTextURL) this.loadExternalText();
+    this.form.appendChild(this.editField);
+    this.options.callback = function(form, value) {
+      return "value=" + encodeURIComponent(value);
+    }
+  }
+});
+
+// Delayed observer, like Form.Element.Observer, 
+// but waits for delay after last key input
+// Ideal for live-search fields
+
+Form.Element.DelayedObserver = Class.create();
+Form.Element.DelayedObserver.prototype = {
+  initialize: function(element, delay, callback) {
+    this.delay     = delay || 0.5;
+    this.element   = $(element);
+    this.callback  = callback;
+    this.timer     = null;
+    this.lastValue = $F(this.element); 
+    Event.observe(this.element,'keyup',this.delayedListener.bindAsEventListener(this));
+  },
+  delayedListener: function(event) {
+    if(this.lastValue == $F(this.element)) return;
+    if(this.timer) clearTimeout(this.timer);
+    this.timer = setTimeout(this.onTimerEvent.bind(this), this.delay * 1000);
+    this.lastValue = $F(this.element);
+  },
+  onTimerEvent: function() {
+    this.timer = null;
+    this.callback(this.element, $F(this.element));
+  }
+};

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/dragdrop.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/dragdrop.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/dragdrop.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,944 @@
+// script.aculo.us dragdrop.js v1.7.0, Fri Jan 19 19:16:36 CET 2007
+
+// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+//           (c) 2005, 2006 Sammi Williams (http://www.oriontransfer.co.nz, sammi at oriontransfer.co.nz)
+// 
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+if(typeof Effect == 'undefined')
+  throw("dragdrop.js requires including script.aculo.us' effects.js library");
+
+var Droppables = {
+  drops: [],
+
+  remove: function(element) {
+    this.drops = this.drops.reject(function(d) { return d.element==$(element) });
+  },
+
+  add: function(element) {
+    element = $(element);
+    var options = Object.extend({
+      greedy:     true,
+      hoverclass: null,
+      tree:       false
+    }, arguments[1] || {});
+
+    // cache containers
+    if(options.containment) {
+      options._containers = [];
+      var containment = options.containment;
+      if((typeof containment == 'object') && 
+        (containment.constructor == Array)) {
+        containment.each( function(c) { options._containers.push($(c)) });
+      } else {
+        options._containers.push($(containment));
+      }
+    }
+    
+    if(options.accept) options.accept = [options.accept].flatten();
+
+    Element.makePositioned(element); // fix IE
+    options.element = element;
+
+    this.drops.push(options);
+  },
+  
+  findDeepestChild: function(drops) {
+    deepest = drops[0];
+      
+    for (i = 1; i < drops.length; ++i)
+      if (Element.isParent(drops[i].element, deepest.element))
+        deepest = drops[i];
+    
+    return deepest;
+  },
+
+  isContained: function(element, drop) {
+    var containmentNode;
+    if(drop.tree) {
+      containmentNode = element.treeNode; 
+    } else {
+      containmentNode = element.parentNode;
+    }
+    return drop._containers.detect(function(c) { return containmentNode == c });
+  },
+  
+  isAffected: function(point, element, drop) {
+    return (
+      (drop.element!=element) &&
+      ((!drop._containers) ||
+        this.isContained(element, drop)) &&
+      ((!drop.accept) ||
+        (Element.classNames(element).detect( 
+          function(v) { return drop.accept.include(v) } ) )) &&
+      Position.within(drop.element, point[0], point[1]) );
+  },
+
+  deactivate: function(drop) {
+    if(drop.hoverclass)
+      Element.removeClassName(drop.element, drop.hoverclass);
+    this.last_active = null;
+  },
+
+  activate: function(drop) {
+    if(drop.hoverclass)
+      Element.addClassName(drop.element, drop.hoverclass);
+    this.last_active = drop;
+  },
+
+  show: function(point, element) {
+    if(!this.drops.length) return;
+    var affected = [];
+    
+    if(this.last_active) this.deactivate(this.last_active);
+    this.drops.each( function(drop) {
+      if(Droppables.isAffected(point, element, drop))
+        affected.push(drop);
+    });
+        
+    if(affected.length>0) {
+      drop = Droppables.findDeepestChild(affected);
+      Position.within(drop.element, point[0], point[1]);
+      if(drop.onHover)
+        drop.onHover(element, drop.element, Position.overlap(drop.overlap, drop.element));
+      
+      Droppables.activate(drop);
+    }
+  },
+
+  fire: function(event, element) {
+    if(!this.last_active) return;
+    Position.prepare();
+
+    if (this.isAffected([Event.pointerX(event), Event.pointerY(event)], element, this.last_active))
+      if (this.last_active.onDrop) 
+        this.last_active.onDrop(element, this.last_active.element, event);
+  },
+
+  reset: function() {
+    if(this.last_active)
+      this.deactivate(this.last_active);
+  }
+}
+
+var Draggables = {
+  drags: [],
+  observers: [],
+  
+  register: function(draggable) {
+    if(this.drags.length == 0) {
+      this.eventMouseUp   = this.endDrag.bindAsEventListener(this);
+      this.eventMouseMove = this.updateDrag.bindAsEventListener(this);
+      this.eventKeypress  = this.keyPress.bindAsEventListener(this);
+      
+      Event.observe(document, "mouseup", this.eventMouseUp);
+      Event.observe(document, "mousemove", this.eventMouseMove);
+      Event.observe(document, "keypress", this.eventKeypress);
+    }
+    this.drags.push(draggable);
+  },
+  
+  unregister: function(draggable) {
+    this.drags = this.drags.reject(function(d) { return d==draggable });
+    if(this.drags.length == 0) {
+      Event.stopObserving(document, "mouseup", this.eventMouseUp);
+      Event.stopObserving(document, "mousemove", this.eventMouseMove);
+      Event.stopObserving(document, "keypress", this.eventKeypress);
+    }
+  },
+  
+  activate: function(draggable) {
+    if(draggable.options.delay) { 
+      this._timeout = setTimeout(function() { 
+        Draggables._timeout = null; 
+        window.focus(); 
+        Draggables.activeDraggable = draggable; 
+      }.bind(this), draggable.options.delay); 
+    } else {
+      window.focus(); // allows keypress events if window isn't currently focused, fails for Safari
+      this.activeDraggable = draggable;
+    }
+  },
+  
+  deactivate: function() {
+    this.activeDraggable = null;
+  },
+  
+  updateDrag: function(event) {
+    if(!this.activeDraggable) return;
+    var pointer = [Event.pointerX(event), Event.pointerY(event)];
+    // Mozilla-based browsers fire successive mousemove events with
+    // the same coordinates, prevent needless redrawing (moz bug?)
+    if(this._lastPointer && (this._lastPointer.inspect() == pointer.inspect())) return;
+    this._lastPointer = pointer;
+    
+    this.activeDraggable.updateDrag(event, pointer);
+  },
+  
+  endDrag: function(event) {
+    if(this._timeout) { 
+      clearTimeout(this._timeout); 
+      this._timeout = null; 
+    }
+    if(!this.activeDraggable) return;
+    this._lastPointer = null;
+    this.activeDraggable.endDrag(event);
+    this.activeDraggable = null;
+  },
+  
+  keyPress: function(event) {
+    if(this.activeDraggable)
+      this.activeDraggable.keyPress(event);
+  },
+  
+  addObserver: function(observer) {
+    this.observers.push(observer);
+    this._cacheObserverCallbacks();
+  },
+  
+  removeObserver: function(element) {  // element instead of observer fixes mem leaks
+    this.observers = this.observers.reject( function(o) { return o.element==element });
+    this._cacheObserverCallbacks();
+  },
+  
+  notify: function(eventName, draggable, event) {  // 'onStart', 'onEnd', 'onDrag'
+    if(this[eventName+'Count'] > 0)
+      this.observers.each( function(o) {
+        if(o[eventName]) o[eventName](eventName, draggable, event);
+      });
+    if(draggable.options[eventName]) draggable.options[eventName](draggable, event);
+  },
+  
+  _cacheObserverCallbacks: function() {
+    ['onStart','onEnd','onDrag'].each( function(eventName) {
+      Draggables[eventName+'Count'] = Draggables.observers.select(
+        function(o) { return o[eventName]; }
+      ).length;
+    });
+  }
+}
+
+/*--------------------------------------------------------------------------*/
+
+var Draggable = Class.create();
+Draggable._dragging    = {};
+
+Draggable.prototype = {
+  initialize: function(element) {
+    var defaults = {
+      handle: false,
+      reverteffect: function(element, top_offset, left_offset) {
+        var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02;
+        new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur,
+          queue: {scope:'_draggable', position:'end'}
+        });
+      },
+      endeffect: function(element) {
+        var toOpacity = typeof element._opacity == 'number' ? element._opacity : 1.0;
+        new Effect.Opacity(element, {duration:0.2, from:0.7, to:toOpacity, 
+          queue: {scope:'_draggable', position:'end'},
+          afterFinish: function(){ 
+            Draggable._dragging[element] = false 
+          }
+        }); 
+      },
+      zindex: 1000,
+      revert: false,
+      scroll: false,
+      scrollSensitivity: 20,
+      scrollSpeed: 15,
+      snap: false,  // false, or xy or [x,y] or function(x,y){ return [x,y] }
+      delay: 0
+    };
+    
+    if(!arguments[1] || typeof arguments[1].endeffect == 'undefined')
+      Object.extend(defaults, {
+        starteffect: function(element) {
+          element._opacity = Element.getOpacity(element);
+          Draggable._dragging[element] = true;
+          new Effect.Opacity(element, {duration:0.2, from:element._opacity, to:0.7}); 
+        }
+      });
+    
+    var options = Object.extend(defaults, arguments[1] || {});
+
+    this.element = $(element);
+    
+    if(options.handle && (typeof options.handle == 'string'))
+      this.handle = this.element.down('.'+options.handle, 0);
+    
+    if(!this.handle) this.handle = $(options.handle);
+    if(!this.handle) this.handle = this.element;
+    
+    if(options.scroll && !options.scroll.scrollTo && !options.scroll.outerHTML) {
+      options.scroll = $(options.scroll);
+      this._isScrollChild = Element.childOf(this.element, options.scroll);
+    }
+
+    Element.makePositioned(this.element); // fix IE    
+
+    this.delta    = this.currentDelta();
+    this.options  = options;
+    this.dragging = false;   
+
+    this.eventMouseDown = this.initDrag.bindAsEventListener(this);
+    Event.observe(this.handle, "mousedown", this.eventMouseDown);
+    
+    Draggables.register(this);
+  },
+  
+  destroy: function() {
+    Event.stopObserving(this.handle, "mousedown", this.eventMouseDown);
+    Draggables.unregister(this);
+  },
+  
+  currentDelta: function() {
+    return([
+      parseInt(Element.getStyle(this.element,'left') || '0'),
+      parseInt(Element.getStyle(this.element,'top') || '0')]);
+  },
+  
+  initDrag: function(event) {
+    if(typeof Draggable._dragging[this.element] != 'undefined' &&
+      Draggable._dragging[this.element]) return;
+    if(Event.isLeftClick(event)) {    
+      // abort on form elements, fixes a Firefox issue
+      var src = Event.element(event);
+      if((tag_name = src.tagName.toUpperCase()) && (
+        tag_name=='INPUT' ||
+        tag_name=='SELECT' ||
+        tag_name=='OPTION' ||
+        tag_name=='BUTTON' ||
+        tag_name=='TEXTAREA')) return;
+        
+      var pointer = [Event.pointerX(event), Event.pointerY(event)];
+      var pos     = Position.cumulativeOffset(this.element);
+      this.offset = [0,1].map( function(i) { return (pointer[i] - pos[i]) });
+      
+      Draggables.activate(this);
+      Event.stop(event);
+    }
+  },
+  
+  startDrag: function(event) {
+    this.dragging = true;
+    
+    if(this.options.zindex) {
+      this.originalZ = parseInt(Element.getStyle(this.element,'z-index') || 0);
+      this.element.style.zIndex = this.options.zindex;
+    }
+    
+    if(this.options.ghosting) {
+      this._clone = this.element.cloneNode(true);
+      Position.absolutize(this.element);
+      this.element.parentNode.insertBefore(this._clone, this.element);
+    }
+    
+    if(this.options.scroll) {
+      if (this.options.scroll == window) {
+        var where = this._getWindowScroll(this.options.scroll);
+        this.originalScrollLeft = where.left;
+        this.originalScrollTop = where.top;
+      } else {
+        this.originalScrollLeft = this.options.scroll.scrollLeft;
+        this.originalScrollTop = this.options.scroll.scrollTop;
+      }
+    }
+    
+    Draggables.notify('onStart', this, event);
+        
+    if(this.options.starteffect) this.options.starteffect(this.element);
+  },
+  
+  updateDrag: function(event, pointer) {
+    if(!this.dragging) this.startDrag(event);
+    Position.prepare();
+    Droppables.show(pointer, this.element);
+    Draggables.notify('onDrag', this, event);
+    
+    this.draw(pointer);
+    if(this.options.change) this.options.change(this);
+    
+    if(this.options.scroll) {
+      this.stopScrolling();
+      
+      var p;
+      if (this.options.scroll == window) {
+        with(this._getWindowScroll(this.options.scroll)) { p = [ left, top, left+width, top+height ]; }
+      } else {
+        p = Position.page(this.options.scroll);
+        p[0] += this.options.scroll.scrollLeft + Position.deltaX;
+        p[1] += this.options.scroll.scrollTop + Position.deltaY;
+        p.push(p[0]+this.options.scroll.offsetWidth);
+        p.push(p[1]+this.options.scroll.offsetHeight);
+      }
+      var speed = [0,0];
+      if(pointer[0] < (p[0]+this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[0]+this.options.scrollSensitivity);
+      if(pointer[1] < (p[1]+this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[1]+this.options.scrollSensitivity);
+      if(pointer[0] > (p[2]-this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[2]-this.options.scrollSensitivity);
+      if(pointer[1] > (p[3]-this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[3]-this.options.scrollSensitivity);
+      this.startScrolling(speed);
+    }
+    
+    // fix AppleWebKit rendering
+    if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);
+    
+    Event.stop(event);
+  },
+  
+  finishDrag: function(event, success) {
+    this.dragging = false;
+
+    if(this.options.ghosting) {
+      Position.relativize(this.element);
+      Element.remove(this._clone);
+      this._clone = null;
+    }
+
+    if(success) Droppables.fire(event, this.element);
+    Draggables.notify('onEnd', this, event);
+
+    var revert = this.options.revert;
+    if(revert && typeof revert == 'function') revert = revert(this.element);
+    
+    var d = this.currentDelta();
+    if(revert && this.options.reverteffect) {
+      this.options.reverteffect(this.element, 
+        d[1]-this.delta[1], d[0]-this.delta[0]);
+    } else {
+      this.delta = d;
+    }
+
+    if(this.options.zindex)
+      this.element.style.zIndex = this.originalZ;
+
+    if(this.options.endeffect) 
+      this.options.endeffect(this.element);
+      
+    Draggables.deactivate(this);
+    Droppables.reset();
+  },
+  
+  keyPress: function(event) {
+    if(event.keyCode!=Event.KEY_ESC) return;
+    this.finishDrag(event, false);
+    Event.stop(event);
+  },
+  
+  endDrag: function(event) {
+    if(!this.dragging) return;
+    this.stopScrolling();
+    this.finishDrag(event, true);
+    Event.stop(event);
+  },
+  
+  draw: function(point) {
+    var pos = Position.cumulativeOffset(this.element);
+    if(this.options.ghosting) {
+      var r   = Position.realOffset(this.element);
+      pos[0] += r[0] - Position.deltaX; pos[1] += r[1] - Position.deltaY;
+    }
+    
+    var d = this.currentDelta();
+    pos[0] -= d[0]; pos[1] -= d[1];
+    
+    if(this.options.scroll && (this.options.scroll != window && this._isScrollChild)) {
+      pos[0] -= this.options.scroll.scrollLeft-this.originalScrollLeft;
+      pos[1] -= this.options.scroll.scrollTop-this.originalScrollTop;
+    }
+    
+    var p = [0,1].map(function(i){ 
+      return (point[i]-pos[i]-this.offset[i]) 
+    }.bind(this));
+    
+    if(this.options.snap) {
+      if(typeof this.options.snap == 'function') {
+        p = this.options.snap(p[0],p[1],this);
+      } else {
+      if(this.options.snap instanceof Array) {
+        p = p.map( function(v, i) {
+          return Math.round(v/this.options.snap[i])*this.options.snap[i] }.bind(this))
+      } else {
+        p = p.map( function(v) {
+          return Math.round(v/this.options.snap)*this.options.snap }.bind(this))
+      }
+    }}
+    
+    var style = this.element.style;
+    if((!this.options.constraint) || (this.options.constraint=='horizontal'))
+      style.left = p[0] + "px";
+    if((!this.options.constraint) || (this.options.constraint=='vertical'))
+      style.top  = p[1] + "px";
+    
+    if(style.visibility=="hidden") style.visibility = ""; // fix gecko rendering
+  },
+  
+  stopScrolling: function() {
+    if(this.scrollInterval) {
+      clearInterval(this.scrollInterval);
+      this.scrollInterval = null;
+      Draggables._lastScrollPointer = null;
+    }
+  },
+  
+  startScrolling: function(speed) {
+    if(!(speed[0] || speed[1])) return;
+    this.scrollSpeed = [speed[0]*this.options.scrollSpeed,speed[1]*this.options.scrollSpeed];
+    this.lastScrolled = new Date();
+    this.scrollInterval = setInterval(this.scroll.bind(this), 10);
+  },
+  
+  scroll: function() {
+    var current = new Date();
+    var delta = current - this.lastScrolled;
+    this.lastScrolled = current;
+    if(this.options.scroll == window) {
+      with (this._getWindowScroll(this.options.scroll)) {
+        if (this.scrollSpeed[0] || this.scrollSpeed[1]) {
+          var d = delta / 1000;
+          this.options.scroll.scrollTo( left + d*this.scrollSpeed[0], top + d*this.scrollSpeed[1] );
+        }
+      }
+    } else {
+      this.options.scroll.scrollLeft += this.scrollSpeed[0] * delta / 1000;
+      this.options.scroll.scrollTop  += this.scrollSpeed[1] * delta / 1000;
+    }
+    
+    Position.prepare();
+    Droppables.show(Draggables._lastPointer, this.element);
+    Draggables.notify('onDrag', this);
+    if (this._isScrollChild) {
+      Draggables._lastScrollPointer = Draggables._lastScrollPointer || $A(Draggables._lastPointer);
+      Draggables._lastScrollPointer[0] += this.scrollSpeed[0] * delta / 1000;
+      Draggables._lastScrollPointer[1] += this.scrollSpeed[1] * delta / 1000;
+      if (Draggables._lastScrollPointer[0] < 0)
+        Draggables._lastScrollPointer[0] = 0;
+      if (Draggables._lastScrollPointer[1] < 0)
+        Draggables._lastScrollPointer[1] = 0;
+      this.draw(Draggables._lastScrollPointer);
+    }
+    
+    if(this.options.change) this.options.change(this);
+  },
+  
+  _getWindowScroll: function(w) {
+    var T, L, W, H;
+    with (w.document) {
+      if (w.document.documentElement && documentElement.scrollTop) {
+        T = documentElement.scrollTop;
+        L = documentElement.scrollLeft;
+      } else if (w.document.body) {
+        T = body.scrollTop;
+        L = body.scrollLeft;
+      }
+      if (w.innerWidth) {
+        W = w.innerWidth;
+        H = w.innerHeight;
+      } else if (w.document.documentElement && documentElement.clientWidth) {
+        W = documentElement.clientWidth;
+        H = documentElement.clientHeight;
+      } else {
+        W = body.offsetWidth;
+        H = body.offsetHeight
+      }
+    }
+    return { top: T, left: L, width: W, height: H };
+  }
+}
+
+/*--------------------------------------------------------------------------*/
+
+var SortableObserver = Class.create();
+SortableObserver.prototype = {
+  initialize: function(element, observer) {
+    this.element   = $(element);
+    this.observer  = observer;
+    this.lastValue = Sortable.serialize(this.element);
+  },
+  
+  onStart: function() {
+    this.lastValue = Sortable.serialize(this.element);
+  },
+  
+  onEnd: function() {
+    Sortable.unmark();
+    if(this.lastValue != Sortable.serialize(this.element))
+      this.observer(this.element)
+  }
+}
+
+var Sortable = {
+  SERIALIZE_RULE: /^[^_\-](?:[A-Za-z0-9\-\_]*)[_](.*)$/,
+  
+  sortables: {},
+  
+  _findRootElement: function(element) {
+    while (element.tagName.toUpperCase() != "BODY") {  
+      if(element.id && Sortable.sortables[element.id]) return element;
+      element = element.parentNode;
+    }
+  },
+
+  options: function(element) {
+    element = Sortable._findRootElement($(element));
+    if(!element) return;
+    return Sortable.sortables[element.id];
+  },
+  
+  destroy: function(element){
+    var s = Sortable.options(element);
+    
+    if(s) {
+      Draggables.removeObserver(s.element);
+      s.droppables.each(function(d){ Droppables.remove(d) });
+      s.draggables.invoke('destroy');
+      
+      delete Sortable.sortables[s.element.id];
+    }
+  },
+
+  create: function(element) {
+    element = $(element);
+    var options = Object.extend({ 
+      element:     element,
+      tag:         'li',       // assumes li children, override with tag: 'tagname'
+      dropOnEmpty: false,
+      tree:        false,
+      treeTag:     'ul',
+      overlap:     'vertical', // one of 'vertical', 'horizontal'
+      constraint:  'vertical', // one of 'vertical', 'horizontal', false
+      containment: element,    // also takes array of elements (or id's); or false
+      handle:      false,      // or a CSS class
+      only:        false,
+      delay:       0,
+      hoverclass:  null,
+      ghosting:    false,
+      scroll:      false,
+      scrollSensitivity: 20,
+      scrollSpeed: 15,
+      format:      this.SERIALIZE_RULE,
+      onChange:    Prototype.emptyFunction,
+      onUpdate:    Prototype.emptyFunction
+    }, arguments[1] || {});
+
+    // clear any old sortable with same element
+    this.destroy(element);
+
+    // build options for the draggables
+    var options_for_draggable = {
+      revert:      true,
+      scroll:      options.scroll,
+      scrollSpeed: options.scrollSpeed,
+      scrollSensitivity: options.scrollSensitivity,
+      delay:       options.delay,
+      ghosting:    options.ghosting,
+      constraint:  options.constraint,
+      handle:      options.handle };
+
+    if(options.starteffect)
+      options_for_draggable.starteffect = options.starteffect;
+
+    if(options.reverteffect)
+      options_for_draggable.reverteffect = options.reverteffect;
+    else
+      if(options.ghosting) options_for_draggable.reverteffect = function(element) {
+        element.style.top  = 0;
+        element.style.left = 0;
+      };
+
+    if(options.endeffect)
+      options_for_draggable.endeffect = options.endeffect;
+
+    if(options.zindex)
+      options_for_draggable.zindex = options.zindex;
+
+    // build options for the droppables  
+    var options_for_droppable = {
+      overlap:     options.overlap,
+      containment: options.containment,
+      tree:        options.tree,
+      hoverclass:  options.hoverclass,
+      onHover:     Sortable.onHover
+    }
+    
+    var options_for_tree = {
+      onHover:      Sortable.onEmptyHover,
+      overlap:      options.overlap,
+      containment:  options.containment,
+      hoverclass:   options.hoverclass
+    }
+
+    // fix for gecko engine
+    Element.cleanWhitespace(element); 
+
+    options.draggables = [];
+    options.droppables = [];
+
+    // drop on empty handling
+    if(options.dropOnEmpty || options.tree) {
+      Droppables.add(element, options_for_tree);
+      options.droppables.push(element);
+    }
+
+    (this.findElements(element, options) || []).each( function(e) {
+      // handles are per-draggable
+      var handle = options.handle ? 
+        $(e).down('.'+options.handle,0) : e;    
+      options.draggables.push(
+        new Draggable(e, Object.extend(options_for_draggable, { handle: handle })));
+      Droppables.add(e, options_for_droppable);
+      if(options.tree) e.treeNode = element;
+      options.droppables.push(e);      
+    });
+    
+    if(options.tree) {
+      (Sortable.findTreeElements(element, options) || []).each( function(e) {
+        Droppables.add(e, options_for_tree);
+        e.treeNode = element;
+        options.droppables.push(e);
+      });
+    }
+
+    // keep reference
+    this.sortables[element.id] = options;
+
+    // for onupdate
+    Draggables.addObserver(new SortableObserver(element, options.onUpdate));
+
+  },
+
+  // return all suitable-for-sortable elements in a guaranteed order
+  findElements: function(element, options) {
+    return Element.findChildren(
+      element, options.only, options.tree ? true : false, options.tag);
+  },
+  
+  findTreeElements: function(element, options) {
+    return Element.findChildren(
+      element, options.only, options.tree ? true : false, options.treeTag);
+  },
+
+  onHover: function(element, dropon, overlap) {
+    if(Element.isParent(dropon, element)) return;
+
+    if(overlap > .33 && overlap < .66 && Sortable.options(dropon).tree) {
+      return;
+    } else if(overlap>0.5) {
+      Sortable.mark(dropon, 'before');
+      if(dropon.previousSibling != element) {
+        var oldParentNode = element.parentNode;
+        element.style.visibility = "hidden"; // fix gecko rendering
+        dropon.parentNode.insertBefore(element, dropon);
+        if(dropon.parentNode!=oldParentNode) 
+          Sortable.options(oldParentNode).onChange(element);
+        Sortable.options(dropon.parentNode).onChange(element);
+      }
+    } else {
+      Sortable.mark(dropon, 'after');
+      var nextElement = dropon.nextSibling || null;
+      if(nextElement != element) {
+        var oldParentNode = element.parentNode;
+        element.style.visibility = "hidden"; // fix gecko rendering
+        dropon.parentNode.insertBefore(element, nextElement);
+        if(dropon.parentNode!=oldParentNode) 
+          Sortable.options(oldParentNode).onChange(element);
+        Sortable.options(dropon.parentNode).onChange(element);
+      }
+    }
+  },
+  
+  onEmptyHover: function(element, dropon, overlap) {
+    var oldParentNode = element.parentNode;
+    var droponOptions = Sortable.options(dropon);
+        
+    if(!Element.isParent(dropon, element)) {
+      var index;
+      
+      var children = Sortable.findElements(dropon, {tag: droponOptions.tag, only: droponOptions.only});
+      var child = null;
+            
+      if(children) {
+        var offset = Element.offsetSize(dropon, droponOptions.overlap) * (1.0 - overlap);
+        
+        for (index = 0; index < children.length; index += 1) {
+          if (offset - Element.offsetSize (children[index], droponOptions.overlap) >= 0) {
+            offset -= Element.offsetSize (children[index], droponOptions.overlap);
+          } else if (offset - (Element.offsetSize (children[index], droponOptions.overlap) / 2) >= 0) {
+            child = index + 1 < children.length ? children[index + 1] : null;
+            break;
+          } else {
+            child = children[index];
+            break;
+          }
+        }
+      }
+      
+      dropon.insertBefore(element, child);
+      
+      Sortable.options(oldParentNode).onChange(element);
+      droponOptions.onChange(element);
+    }
+  },
+
+  unmark: function() {
+    if(Sortable._marker) Sortable._marker.hide();
+  },
+
+  mark: function(dropon, position) {
+    // mark on ghosting only
+    var sortable = Sortable.options(dropon.parentNode);
+    if(sortable && !sortable.ghosting) return; 
+
+    if(!Sortable._marker) {
+      Sortable._marker = 
+        ($('dropmarker') || Element.extend(document.createElement('DIV'))).
+          hide().addClassName('dropmarker').setStyle({position:'absolute'});
+      document.getElementsByTagName("body").item(0).appendChild(Sortable._marker);
+    }    
+    var offsets = Position.cumulativeOffset(dropon);
+    Sortable._marker.setStyle({left: offsets[0]+'px', top: offsets[1] + 'px'});
+    
+    if(position=='after')
+      if(sortable.overlap == 'horizontal') 
+        Sortable._marker.setStyle({left: (offsets[0]+dropon.clientWidth) + 'px'});
+      else
+        Sortable._marker.setStyle({top: (offsets[1]+dropon.clientHeight) + 'px'});
+    
+    Sortable._marker.show();
+  },
+  
+  _tree: function(element, options, parent) {
+    var children = Sortable.findElements(element, options) || [];
+  
+    for (var i = 0; i < children.length; ++i) {
+      var match = children[i].id.match(options.format);
+
+      if (!match) continue;
+      
+      var child = {
+        id: encodeURIComponent(match ? match[1] : null),
+        element: element,
+        parent: parent,
+        children: [],
+        position: parent.children.length,
+        container: $(children[i]).down(options.treeTag)
+      }
+      
+      /* Get the element containing the children and recurse over it */
+      if (child.container)
+        this._tree(child.container, options, child)
+      
+      parent.children.push (child);
+    }
+
+    return parent; 
+  },
+
+  tree: function(element) {
+    element = $(element);
+    var sortableOptions = this.options(element);
+    var options = Object.extend({
+      tag: sortableOptions.tag,
+      treeTag: sortableOptions.treeTag,
+      only: sortableOptions.only,
+      name: element.id,
+      format: sortableOptions.format
+    }, arguments[1] || {});
+    
+    var root = {
+      id: null,
+      parent: null,
+      children: [],
+      container: element,
+      position: 0
+    }
+    
+    return Sortable._tree(element, options, root);
+  },
+
+  /* Construct a [i] index for a particular node */
+  _constructIndex: function(node) {
+    var index = '';
+    do {
+      if (node.id) index = '[' + node.position + ']' + index;
+    } while ((node = node.parent) != null);
+    return index;
+  },
+
+  sequence: function(element) {
+    element = $(element);
+    var options = Object.extend(this.options(element), arguments[1] || {});
+    
+    return $(this.findElements(element, options) || []).map( function(item) {
+      return item.id.match(options.format) ? item.id.match(options.format)[1] : '';
+    });
+  },
+
+  setSequence: function(element, new_sequence) {
+    element = $(element);
+    var options = Object.extend(this.options(element), arguments[2] || {});
+    
+    var nodeMap = {};
+    this.findElements(element, options).each( function(n) {
+        if (n.id.match(options.format))
+            nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode];
+        n.parentNode.removeChild(n);
+    });
+   
+    new_sequence.each(function(ident) {
+      var n = nodeMap[ident];
+      if (n) {
+        n[1].appendChild(n[0]);
+        delete nodeMap[ident];
+      }
+    });
+  },
+  
+  serialize: function(element) {
+    element = $(element);
+    var options = Object.extend(Sortable.options(element), arguments[1] || {});
+    var name = encodeURIComponent(
+      (arguments[1] && arguments[1].name) ? arguments[1].name : element.id);
+    
+    if (options.tree) {
+      return Sortable.tree(element, arguments[1]).children.map( function (item) {
+        return [name + Sortable._constructIndex(item) + "[id]=" + 
+                encodeURIComponent(item.id)].concat(item.children.map(arguments.callee));
+      }).flatten().join('&');
+    } else {
+      return Sortable.sequence(element, arguments[1]).map( function(item) {
+        return name + "[]=" + encodeURIComponent(item);
+      }).join('&');
+    }
+  }
+}
+
+// Returns true if child is contained within element
+Element.isParent = function(child, element) {
+  if (!child.parentNode || child == element) return false;
+  if (child.parentNode == element) return true;
+  return Element.isParent(child.parentNode, element);
+}
+
+Element.findChildren = function(element, only, recursive, tagName) {    
+  if(!element.hasChildNodes()) return null;
+  tagName = tagName.toUpperCase();
+  if(only) only = [only].flatten();
+  var elements = [];
+  $A(element.childNodes).each( function(e) {
+    if(e.tagName && e.tagName.toUpperCase()==tagName &&
+      (!only || (Element.classNames(e).detect(function(v) { return only.include(v) }))))
+        elements.push(e);
+    if(recursive) {
+      var grandchildren = Element.findChildren(e, only, recursive, tagName);
+      if(grandchildren) elements.push(grandchildren);
+    }
+  });
+
+  return (elements.length>0 ? elements.flatten() : []);
+}
+
+Element.offsetSize = function (element, type) {
+  return element['offset' + ((type=='vertical' || type=='height') ? 'Height' : 'Width')];
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/dyna.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/dyna.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/dyna.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,342 @@
+function sendData(action, windowId, fromPos, fromRegionId, toPos, toRegionId) {
+   var options = {
+      requestHeaders: ["ajax","true","bilto","toto"],
+      method: "post",
+      postBody: "action=" + action + "&windowId=" + windowId + "&fromPos=" + fromPos + "&fromRegion=" + fromRegionId + "&toPos=" + toPos + "&toRegion=" + toRegionId,
+      onSuccess: function(t)
+      {
+      },
+      on404: function(t)
+      {
+         alert("Error 404: location " + t.statusText + " was not found.");
+      },
+      onFailure: function(t)
+      {
+         alert("Error " + t.status + " -- " + t.statusText);
+      },
+      onLoading: function(t)
+      {
+      }
+   }
+   new Ajax.Request(server_base_url + "/ajax", options);
+}
+
+function snapshot() {
+
+   // Find draggable regions
+   var regions_on_page = document.getElementsByClassName("dnd-region");
+
+   // Save current state in the DOM itself
+   for(var i = 0;i < regions_on_page.length;i++) {
+      var regionDiv = regions_on_page[i]
+      for (var j = 0;j < regionDiv.childNodes.length;j++) {
+         var child = regionDiv.childNodes[j];
+         child["regionId"] = regionDiv.id;
+         child["pos"] = j;
+       }
+   }
+}
+
+// Check that the URL starts with the provided prefix
+function isURLAccepted(url) {
+   if (url.indexOf("http://") == 0)
+   {
+      var indexOfSlash = url.indexOf("/", "http://".length);
+      if (indexOfSlash < 0)
+      {
+         return false;
+      }
+      else if (indexOfSlash > 0)
+      {
+         var path = url.substring(indexOfSlash);
+         if (path.indexOf(server_base_url) != 0)
+         {
+            return false;
+         }
+      }
+   }
+   else if (url.indexOf(server_base_url) != 0)
+   {
+      return false;
+   }
+
+   //
+   return true;
+}
+
+function bilto(event)
+{
+
+   // Locate the div container of the window
+   var source = Event.element(event);
+   var container = Element.up(source, "div.dyna-window");
+
+   // We found the window
+   if (container != null) {
+
+      //
+      var options = new Object();
+      var url;
+
+      //
+      if (source.nodeName == "A")
+      {
+
+         // Check we can handle this URL
+         if (isURLAccepted(source.href)) {
+
+            // Set URL
+            url = source.href;
+
+            // We have a get
+            options.method = "get"
+
+            // We don't block
+            options.asynchronous = false;
+         }
+      }
+      else if (source.nodeName == "INPUT" && source.type == "submit")
+      {
+         // Find enclosing form
+         var current = source.parentNode;
+         while (current.nodeName != 'FORM' && current.nodeName != 'BODY') {
+            current = current.parentNode;
+         }
+
+         // Check we have a form and use it
+         if (current.nodeName == 'FORM') {
+
+            var enctype = current.enctype
+
+            // We don't handle file upload for now
+            if (enctype != "multipart/form-data") {
+
+               // Check it is a POST
+               if (current.method.toLowerCase() == "post") {
+
+                  // Check we can handle this URL
+                  if (isURLAccepted(current.action)) {
+
+                     // Set URL
+                     url = current.action;
+
+                     // Set the specified enctype
+                     options.enctype = enctype;
+                     options.asynchronous = false;
+                     options.method = "post"
+                     options.postBody = Form.serialize(current);
+                  }
+               }
+            }
+         }
+      }
+
+      // Handle links here
+      if (url != null) {
+
+         // Setup headers
+         var headers = ["ajax","true"];
+
+         // Add the view state value
+         if (view_state != null)
+         {
+            headers.view_state = view_state;
+         }
+
+         // note : we don't convert query string to prototype parameters as in the case
+         // of a post, the parameters will be appended to the body of the query which
+         // will lead to a non correct request
+
+         // Complete the ajax request options
+         options.requestHeaders = headers;
+         options.onSuccess = function(t)
+         {
+            var resp = "";
+            eval("resp =" + t.responseText + ";");
+            if (resp.type == "update_markup")
+            {
+               // Iterate all changes
+               for (var id in resp.fragments)
+               {
+                  var matchingElt = document.getElementById(id);
+
+                  // Different than 1 is not good
+                  if (matchingElt != null)
+                  {
+                     var dstContainer = document.getElementById(id);
+                     if (dstContainer != null)
+                     {
+                        // Get markup fragment
+                        var markup = resp.fragments[id];
+
+                        // Create a temporary element and paste the innerHTML in it
+                        var srcContainer = document.createElement("div");
+
+                        // Insert the markup in the div
+                        new Insertion.Bottom(srcContainer, markup);
+
+                        // Copy the region content
+                        copyInnerHTML(srcContainer, dstContainer, "dyna-portlet")
+                        copyInnerHTML(srcContainer, dstContainer, "dyna-decoration")
+                     }
+                     else
+                     {
+                        // Should log that somewhere
+                     }
+                  }
+                  else
+                  {
+                     // Should log that somewhere
+                  }
+               }
+
+               // update view state
+               if (resp.view_state != null)
+               {
+                  view_state = resp.view_state;
+               }
+            }
+            else if (resp.type == "update_page")
+            {
+               document.location = resp.location;
+            }
+         };
+
+         //
+         Event.stop(event);
+         new Ajax.Request(url, options);
+      }
+
+   }
+
+}
+
+/*
+ * Copy the inner content of two zones of the provided containers.
+ * The zone are found using the css class names. The operation
+ * will succeed only if there is exactly one zone in each container.
+ */
+function copyInnerHTML(srcContainer, dstContainer, className)
+{
+   var srcs = Element.getElementsByClassName(srcContainer, className);
+   if (srcs.length == 1)
+   {
+      var src = srcs[0];
+
+      //
+      var dsts = Element.getElementsByClassName(dstContainer, className)
+      if (dsts.length == 1)
+      {
+         var dst = dsts[0];
+
+        // Remove existing non attribute children in destination
+        var dstChildren = dst.childNodes;
+        var copy = new Array();
+        for (var i = 0;i < dstChildren.length;i++)
+        {
+           var dstChild = dstChildren.item(i);
+           if (dstChild.nodeType != 2)
+           {
+              copy[i] = dstChildren.item(i);
+           }
+        }
+        for (var i = 0;i < copy.length;i++)
+        {
+           Element.remove(copy[i]);
+        }
+
+        // Move src non attribute children to the destination
+        while (src.hasChildNodes())
+        {
+           var srcChild = src.firstChild;
+           if (srcChild.nodeType != 2)
+           {
+              dst.appendChild(srcChild);
+           }
+           else
+           {
+              src.removeChild(srcChild);
+           }
+        }
+      }
+      else
+      {
+         // Should log that somewhere but
+      }
+   }
+   else
+   {
+      // Should log that somewhere
+   }
+}
+
+function footer()
+{
+   //
+   var WindowMoveObserver = Class.create();
+   WindowMoveObserver.prototype =
+   {
+      initialize: function(element)
+      {
+         this.element = $(element);
+      },
+      onStart: function()
+      {
+      },
+      onEnd: function()
+      {
+         var elt = Draggables.activeDraggable.element;
+
+         //
+         var windowId = Element.down(elt).id;
+         var fromRegionId = elt["regionId"];
+         var fromPos = elt["pos"];
+
+         // Doing the snapshot after move will give us the new region and pos of the window
+         snapshot();
+         var toRegionId = elt["regionId"];
+         var toPos = elt["pos"];
+
+         // Perform request
+         sendData("windowmove", windowId, fromPos, fromRegionId, toPos, toRegionId);
+      }
+   };
+
+   // Find the draggable regions
+   var regions_on_page = document.getElementsByClassName("dnd-region");
+
+   // Create draggable regions
+   for(var i = 0;i < regions_on_page.length;i++) {
+      var region = regions_on_page[i];
+      Sortable.create(region, {dropOnEmpty:true,handle:"dnd-handle",tag:"div",containment:regions_on_page,constraint:false,hoverclass:"dnd-droppable"});
+   }
+
+   //
+   Draggables.addObserver(new WindowMoveObserver());
+
+   //
+   snapshot();
+
+   // Find the dyna portlets
+   var portlets_on_page = document.getElementsByClassName("partial-refresh-window");
+
+   // Add listener for the dyna windows on the dyna-window element
+   // and not async-window as this one will have its markup replaced
+   for(var i = 0;i < portlets_on_page.length;i++) {
+      var portlet = Element.up(portlets_on_page[i]);
+      Event.observe(portlet, "click", bilto);
+   }
+}
+
+
+//            String u = "" +
+//               "function removeWindow(elementId)\n" +
+//               "{\n" +
+//               "   var effectElement = document.getElementById(elementId)\n" +
+//               "   new Effect.BlindUp(effectElement);\n" +
+//               "\n" +
+//               "   //removeElement(effectElement);\n" +
+//               "\n" +
+//               "   sendData('windowremove', elementId);\n" +
+//               "}\n";
+//            markup.append(u);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/effects.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/effects.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/effects.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1090 @@
+// script.aculo.us effects.js v1.7.0, Fri Jan 19 19:16:36 CET 2007
+
+// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+// Contributors:
+//  Justin Palmer (http://encytemedia.com/)
+//  Mark Pilgrim (http://diveintomark.org/)
+//  Martin Bialasinki
+// 
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/ 
+
+// converts rgb() and #xxx to #xxxxxx format,  
+// returns self (or first argument) if not convertable  
+String.prototype.parseColor = function() {  
+  var color = '#';
+  if(this.slice(0,4) == 'rgb(') {  
+    var cols = this.slice(4,this.length-1).split(',');  
+    var i=0; do { color += parseInt(cols[i]).toColorPart() } while (++i<3);  
+  } else {  
+    if(this.slice(0,1) == '#') {  
+      if(this.length==4) for(var i=1;i<4;i++) color += (this.charAt(i) + this.charAt(i)).toLowerCase();  
+      if(this.length==7) color = this.toLowerCase();  
+    }  
+  }  
+  return(color.length==7 ? color : (arguments[0] || this));  
+}
+
+/*--------------------------------------------------------------------------*/
+
+Element.collectTextNodes = function(element) {  
+  return $A($(element).childNodes).collect( function(node) {
+    return (node.nodeType==3 ? node.nodeValue : 
+      (node.hasChildNodes() ? Element.collectTextNodes(node) : ''));
+  }).flatten().join('');
+}
+
+Element.collectTextNodesIgnoreClass = function(element, className) {  
+  return $A($(element).childNodes).collect( function(node) {
+    return (node.nodeType==3 ? node.nodeValue : 
+      ((node.hasChildNodes() && !Element.hasClassName(node,className)) ? 
+        Element.collectTextNodesIgnoreClass(node, className) : ''));
+  }).flatten().join('');
+}
+
+Element.setContentZoom = function(element, percent) {
+  element = $(element);  
+  element.setStyle({fontSize: (percent/100) + 'em'});   
+  if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);
+  return element;
+}
+
+Element.getOpacity = function(element){
+  return $(element).getStyle('opacity');
+}
+
+Element.setOpacity = function(element, value){
+  return $(element).setStyle({opacity:value});
+}
+
+Element.getInlineOpacity = function(element){
+  return $(element).style.opacity || '';
+}
+
+Element.forceRerendering = function(element) {
+  try {
+    element = $(element);
+    var n = document.createTextNode(' ');
+    element.appendChild(n);
+    element.removeChild(n);
+  } catch(e) { }
+};
+
+/*--------------------------------------------------------------------------*/
+
+Array.prototype.call = function() {
+  var args = arguments;
+  this.each(function(f){ f.apply(this, args) });
+}
+
+/*--------------------------------------------------------------------------*/
+
+var Effect = {
+  _elementDoesNotExistError: {
+    name: 'ElementDoesNotExistError',
+    message: 'The specified DOM element does not exist, but is required for this effect to operate'
+  },
+  tagifyText: function(element) {
+    if(typeof Builder == 'undefined')
+      throw("Effect.tagifyText requires including script.aculo.us' builder.js library");
+      
+    var tagifyStyle = 'position:relative';
+    if(/MSIE/.test(navigator.userAgent) && !window.opera) tagifyStyle += ';zoom:1';
+    
+    element = $(element);
+    $A(element.childNodes).each( function(child) {
+      if(child.nodeType==3) {
+        child.nodeValue.toArray().each( function(character) {
+          element.insertBefore(
+            Builder.node('span',{style: tagifyStyle},
+              character == ' ' ? String.fromCharCode(160) : character), 
+              child);
+        });
+        Element.remove(child);
+      }
+    });
+  },
+  multiple: function(element, effect) {
+    var elements;
+    if(((typeof element == 'object') || 
+        (typeof element == 'function')) && 
+       (element.length))
+      elements = element;
+    else
+      elements = $(element).childNodes;
+      
+    var options = Object.extend({
+      speed: 0.1,
+      delay: 0.0
+    }, arguments[2] || {});
+    var masterDelay = options.delay;
+
+    $A(elements).each( function(element, index) {
+      new effect(element, Object.extend(options, { delay: index * options.speed + masterDelay }));
+    });
+  },
+  PAIRS: {
+    'slide':  ['SlideDown','SlideUp'],
+    'blind':  ['BlindDown','BlindUp'],
+    'appear': ['Appear','Fade']
+  },
+  toggle: function(element, effect) {
+    element = $(element);
+    effect = (effect || 'appear').toLowerCase();
+    var options = Object.extend({
+      queue: { position:'end', scope:(element.id || 'global'), limit: 1 }
+    }, arguments[2] || {});
+    Effect[element.visible() ? 
+      Effect.PAIRS[effect][1] : Effect.PAIRS[effect][0]](element, options);
+  }
+};
+
+var Effect2 = Effect; // deprecated
+
+/* ------------- transitions ------------- */
+
+Effect.Transitions = {
+  linear: Prototype.K,
+  sinoidal: function(pos) {
+    return (-Math.cos(pos*Math.PI)/2) + 0.5;
+  },
+  reverse: function(pos) {
+    return 1-pos;
+  },
+  flicker: function(pos) {
+    return ((-Math.cos(pos*Math.PI)/4) + 0.75) + Math.random()/4;
+  },
+  wobble: function(pos) {
+    return (-Math.cos(pos*Math.PI*(9*pos))/2) + 0.5;
+  },
+  pulse: function(pos, pulses) { 
+    pulses = pulses || 5; 
+    return (
+      Math.round((pos % (1/pulses)) * pulses) == 0 ? 
+            ((pos * pulses * 2) - Math.floor(pos * pulses * 2)) : 
+        1 - ((pos * pulses * 2) - Math.floor(pos * pulses * 2))
+      );
+  },
+  none: function(pos) {
+    return 0;
+  },
+  full: function(pos) {
+    return 1;
+  }
+};
+
+/* ------------- core effects ------------- */
+
+Effect.ScopedQueue = Class.create();
+Object.extend(Object.extend(Effect.ScopedQueue.prototype, Enumerable), {
+  initialize: function() {
+    this.effects  = [];
+    this.interval = null;
+  },
+  _each: function(iterator) {
+    this.effects._each(iterator);
+  },
+  add: function(effect) {
+    var timestamp = new Date().getTime();
+    
+    var position = (typeof effect.options.queue == 'string') ? 
+      effect.options.queue : effect.options.queue.position;
+    
+    switch(position) {
+      case 'front':
+        // move unstarted effects after this effect  
+        this.effects.findAll(function(e){ return e.state=='idle' }).each( function(e) {
+            e.startOn  += effect.finishOn;
+            e.finishOn += effect.finishOn;
+          });
+        break;
+      case 'with-last':
+        timestamp = this.effects.pluck('startOn').max() || timestamp;
+        break;
+      case 'end':
+        // start effect after last queued effect has finished
+        timestamp = this.effects.pluck('finishOn').max() || timestamp;
+        break;
+    }
+    
+    effect.startOn  += timestamp;
+    effect.finishOn += timestamp;
+
+    if(!effect.options.queue.limit || (this.effects.length < effect.options.queue.limit))
+      this.effects.push(effect);
+    
+    if(!this.interval) 
+      this.interval = setInterval(this.loop.bind(this), 15);
+  },
+  remove: function(effect) {
+    this.effects = this.effects.reject(function(e) { return e==effect });
+    if(this.effects.length == 0) {
+      clearInterval(this.interval);
+      this.interval = null;
+    }
+  },
+  loop: function() {
+    var timePos = new Date().getTime();
+    for(var i=0, len=this.effects.length;i<len;i++) 
+      if(this.effects[i]) this.effects[i].loop(timePos);
+  }
+});
+
+Effect.Queues = {
+  instances: $H(),
+  get: function(queueName) {
+    if(typeof queueName != 'string') return queueName;
+    
+    if(!this.instances[queueName])
+      this.instances[queueName] = new Effect.ScopedQueue();
+      
+    return this.instances[queueName];
+  }
+}
+Effect.Queue = Effect.Queues.get('global');
+
+Effect.DefaultOptions = {
+  transition: Effect.Transitions.sinoidal,
+  duration:   1.0,   // seconds
+  fps:        60.0,  // max. 60fps due to Effect.Queue implementation
+  sync:       false, // true for combining
+  from:       0.0,
+  to:         1.0,
+  delay:      0.0,
+  queue:      'parallel'
+}
+
+Effect.Base = function() {};
+Effect.Base.prototype = {
+  position: null,
+  start: function(options) {
+    this.options      = Object.extend(Object.extend({},Effect.DefaultOptions), options || {});
+    this.currentFrame = 0;
+    this.state        = 'idle';
+    this.startOn      = this.options.delay*1000;
+    this.finishOn     = this.startOn + (this.options.duration*1000);
+    this.event('beforeStart');
+    if(!this.options.sync)
+      Effect.Queues.get(typeof this.options.queue == 'string' ? 
+        'global' : this.options.queue.scope).add(this);
+  },
+  loop: function(timePos) {
+    if(timePos >= this.startOn) {
+      if(timePos >= this.finishOn) {
+        this.render(1.0);
+        this.cancel();
+        this.event('beforeFinish');
+        if(this.finish) this.finish(); 
+        this.event('afterFinish');
+        return;  
+      }
+      var pos   = (timePos - this.startOn) / (this.finishOn - this.startOn);
+      var frame = Math.round(pos * this.options.fps * this.options.duration);
+      if(frame > this.currentFrame) {
+        this.render(pos);
+        this.currentFrame = frame;
+      }
+    }
+  },
+  render: function(pos) {
+    if(this.state == 'idle') {
+      this.state = 'running';
+      this.event('beforeSetup');
+      if(this.setup) this.setup();
+      this.event('afterSetup');
+    }
+    if(this.state == 'running') {
+      if(this.options.transition) pos = this.options.transition(pos);
+      pos *= (this.options.to-this.options.from);
+      pos += this.options.from;
+      this.position = pos;
+      this.event('beforeUpdate');
+      if(this.update) this.update(pos);
+      this.event('afterUpdate');
+    }
+  },
+  cancel: function() {
+    if(!this.options.sync)
+      Effect.Queues.get(typeof this.options.queue == 'string' ? 
+        'global' : this.options.queue.scope).remove(this);
+    this.state = 'finished';
+  },
+  event: function(eventName) {
+    if(this.options[eventName + 'Internal']) this.options[eventName + 'Internal'](this);
+    if(this.options[eventName]) this.options[eventName](this);
+  },
+  inspect: function() {
+    var data = $H();
+    for(property in this)
+      if(typeof this[property] != 'function') data[property] = this[property];
+    return '#<Effect:' + data.inspect() + ',options:' + $H(this.options).inspect() + '>';
+  }
+}
+
+Effect.Parallel = Class.create();
+Object.extend(Object.extend(Effect.Parallel.prototype, Effect.Base.prototype), {
+  initialize: function(effects) {
+    this.effects = effects || [];
+    this.start(arguments[1]);
+  },
+  update: function(position) {
+    this.effects.invoke('render', position);
+  },
+  finish: function(position) {
+    this.effects.each( function(effect) {
+      effect.render(1.0);
+      effect.cancel();
+      effect.event('beforeFinish');
+      if(effect.finish) effect.finish(position);
+      effect.event('afterFinish');
+    });
+  }
+});
+
+Effect.Event = Class.create();
+Object.extend(Object.extend(Effect.Event.prototype, Effect.Base.prototype), {
+  initialize: function() {
+    var options = Object.extend({
+      duration: 0
+    }, arguments[0] || {});
+    this.start(options);
+  },
+  update: Prototype.emptyFunction
+});
+
+Effect.Opacity = Class.create();
+Object.extend(Object.extend(Effect.Opacity.prototype, Effect.Base.prototype), {
+  initialize: function(element) {
+    this.element = $(element);
+    if(!this.element) throw(Effect._elementDoesNotExistError);
+    // make this work on IE on elements without 'layout'
+    if(/MSIE/.test(navigator.userAgent) && !window.opera && (!this.element.currentStyle.hasLayout))
+      this.element.setStyle({zoom: 1});
+    var options = Object.extend({
+      from: this.element.getOpacity() || 0.0,
+      to:   1.0
+    }, arguments[1] || {});
+    this.start(options);
+  },
+  update: function(position) {
+    this.element.setOpacity(position);
+  }
+});
+
+Effect.Move = Class.create();
+Object.extend(Object.extend(Effect.Move.prototype, Effect.Base.prototype), {
+  initialize: function(element) {
+    this.element = $(element);
+    if(!this.element) throw(Effect._elementDoesNotExistError);
+    var options = Object.extend({
+      x:    0,
+      y:    0,
+      mode: 'relative'
+    }, arguments[1] || {});
+    this.start(options);
+  },
+  setup: function() {
+    // Bug in Opera: Opera returns the "real" position of a static element or
+    // relative element that does not have top/left explicitly set.
+    // ==> Always set top and left for position relative elements in your stylesheets 
+    // (to 0 if you do not need them) 
+    this.element.makePositioned();
+    this.originalLeft = parseFloat(this.element.getStyle('left') || '0');
+    this.originalTop  = parseFloat(this.element.getStyle('top')  || '0');
+    if(this.options.mode == 'absolute') {
+      // absolute movement, so we need to calc deltaX and deltaY
+      this.options.x = this.options.x - this.originalLeft;
+      this.options.y = this.options.y - this.originalTop;
+    }
+  },
+  update: function(position) {
+    this.element.setStyle({
+      left: Math.round(this.options.x  * position + this.originalLeft) + 'px',
+      top:  Math.round(this.options.y  * position + this.originalTop)  + 'px'
+    });
+  }
+});
+
+// for backwards compatibility
+Effect.MoveBy = function(element, toTop, toLeft) {
+  return new Effect.Move(element, 
+    Object.extend({ x: toLeft, y: toTop }, arguments[3] || {}));
+};
+
+Effect.Scale = Class.create();
+Object.extend(Object.extend(Effect.Scale.prototype, Effect.Base.prototype), {
+  initialize: function(element, percent) {
+    this.element = $(element);
+    if(!this.element) throw(Effect._elementDoesNotExistError);
+    var options = Object.extend({
+      scaleX: true,
+      scaleY: true,
+      scaleContent: true,
+      scaleFromCenter: false,
+      scaleMode: 'box',        // 'box' or 'contents' or {} with provided values
+      scaleFrom: 100.0,
+      scaleTo:   percent
+    }, arguments[2] || {});
+    this.start(options);
+  },
+  setup: function() {
+    this.restoreAfterFinish = this.options.restoreAfterFinish || false;
+    this.elementPositioning = this.element.getStyle('position');
+    
+    this.originalStyle = {};
+    ['top','left','width','height','fontSize'].each( function(k) {
+      this.originalStyle[k] = this.element.style[k];
+    }.bind(this));
+      
+    this.originalTop  = this.element.offsetTop;
+    this.originalLeft = this.element.offsetLeft;
+    
+    var fontSize = this.element.getStyle('font-size') || '100%';
+    ['em','px','%','pt'].each( function(fontSizeType) {
+      if(fontSize.indexOf(fontSizeType)>0) {
+        this.fontSize     = parseFloat(fontSize);
+        this.fontSizeType = fontSizeType;
+      }
+    }.bind(this));
+    
+    this.factor = (this.options.scaleTo - this.options.scaleFrom)/100;
+    
+    this.dims = null;
+    if(this.options.scaleMode=='box')
+      this.dims = [this.element.offsetHeight, this.element.offsetWidth];
+    if(/^content/.test(this.options.scaleMode))
+      this.dims = [this.element.scrollHeight, this.element.scrollWidth];
+    if(!this.dims)
+      this.dims = [this.options.scaleMode.originalHeight,
+                   this.options.scaleMode.originalWidth];
+  },
+  update: function(position) {
+    var currentScale = (this.options.scaleFrom/100.0) + (this.factor * position);
+    if(this.options.scaleContent && this.fontSize)
+      this.element.setStyle({fontSize: this.fontSize * currentScale + this.fontSizeType });
+    this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale);
+  },
+  finish: function(position) {
+    if(this.restoreAfterFinish) this.element.setStyle(this.originalStyle);
+  },
+  setDimensions: function(height, width) {
+    var d = {};
+    if(this.options.scaleX) d.width = Math.round(width) + 'px';
+    if(this.options.scaleY) d.height = Math.round(height) + 'px';
+    if(this.options.scaleFromCenter) {
+      var topd  = (height - this.dims[0])/2;
+      var leftd = (width  - this.dims[1])/2;
+      if(this.elementPositioning == 'absolute') {
+        if(this.options.scaleY) d.top = this.originalTop-topd + 'px';
+        if(this.options.scaleX) d.left = this.originalLeft-leftd + 'px';
+      } else {
+        if(this.options.scaleY) d.top = -topd + 'px';
+        if(this.options.scaleX) d.left = -leftd + 'px';
+      }
+    }
+    this.element.setStyle(d);
+  }
+});
+
+Effect.Highlight = Class.create();
+Object.extend(Object.extend(Effect.Highlight.prototype, Effect.Base.prototype), {
+  initialize: function(element) {
+    this.element = $(element);
+    if(!this.element) throw(Effect._elementDoesNotExistError);
+    var options = Object.extend({ startcolor: '#ffff99' }, arguments[1] || {});
+    this.start(options);
+  },
+  setup: function() {
+    // Prevent executing on elements not in the layout flow
+    if(this.element.getStyle('display')=='none') { this.cancel(); return; }
+    // Disable background image during the effect
+    this.oldStyle = {};
+    if (!this.options.keepBackgroundImage) {
+      this.oldStyle.backgroundImage = this.element.getStyle('background-image');
+      this.element.setStyle({backgroundImage: 'none'});
+    }
+    if(!this.options.endcolor)
+      this.options.endcolor = this.element.getStyle('background-color').parseColor('#ffffff');
+    if(!this.options.restorecolor)
+      this.options.restorecolor = this.element.getStyle('background-color');
+    // init color calculations
+    this._base  = $R(0,2).map(function(i){ return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16) }.bind(this));
+    this._delta = $R(0,2).map(function(i){ return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base[i] }.bind(this));
+  },
+  update: function(position) {
+    this.element.setStyle({backgroundColor: $R(0,2).inject('#',function(m,v,i){
+      return m+(Math.round(this._base[i]+(this._delta[i]*position)).toColorPart()); }.bind(this)) });
+  },
+  finish: function() {
+    this.element.setStyle(Object.extend(this.oldStyle, {
+      backgroundColor: this.options.restorecolor
+    }));
+  }
+});
+
+Effect.ScrollTo = Class.create();
+Object.extend(Object.extend(Effect.ScrollTo.prototype, Effect.Base.prototype), {
+  initialize: function(element) {
+    this.element = $(element);
+    this.start(arguments[1] || {});
+  },
+  setup: function() {
+    Position.prepare();
+    var offsets = Position.cumulativeOffset(this.element);
+    if(this.options.offset) offsets[1] += this.options.offset;
+    var max = window.innerHeight ? 
+      window.height - window.innerHeight :
+      document.body.scrollHeight - 
+        (document.documentElement.clientHeight ? 
+          document.documentElement.clientHeight : document.body.clientHeight);
+    this.scrollStart = Position.deltaY;
+    this.delta = (offsets[1] > max ? max : offsets[1]) - this.scrollStart;
+  },
+  update: function(position) {
+    Position.prepare();
+    window.scrollTo(Position.deltaX, 
+      this.scrollStart + (position*this.delta));
+  }
+});
+
+/* ------------- combination effects ------------- */
+
+Effect.Fade = function(element) {
+  element = $(element);
+  var oldOpacity = element.getInlineOpacity();
+  var options = Object.extend({
+  from: element.getOpacity() || 1.0,
+  to:   0.0,
+  afterFinishInternal: function(effect) { 
+    if(effect.options.to!=0) return;
+    effect.element.hide().setStyle({opacity: oldOpacity}); 
+  }}, arguments[1] || {});
+  return new Effect.Opacity(element,options);
+}
+
+Effect.Appear = function(element) {
+  element = $(element);
+  var options = Object.extend({
+  from: (element.getStyle('display') == 'none' ? 0.0 : element.getOpacity() || 0.0),
+  to:   1.0,
+  // force Safari to render floated elements properly
+  afterFinishInternal: function(effect) {
+    effect.element.forceRerendering();
+  },
+  beforeSetup: function(effect) {
+    effect.element.setOpacity(effect.options.from).show(); 
+  }}, arguments[1] || {});
+  return new Effect.Opacity(element,options);
+}
+
+Effect.Puff = function(element) {
+  element = $(element);
+  var oldStyle = { 
+    opacity: element.getInlineOpacity(), 
+    position: element.getStyle('position'),
+    top:  element.style.top,
+    left: element.style.left,
+    width: element.style.width,
+    height: element.style.height
+  };
+  return new Effect.Parallel(
+   [ new Effect.Scale(element, 200, 
+      { sync: true, scaleFromCenter: true, scaleContent: true, restoreAfterFinish: true }), 
+     new Effect.Opacity(element, { sync: true, to: 0.0 } ) ], 
+     Object.extend({ duration: 1.0, 
+      beforeSetupInternal: function(effect) {
+        Position.absolutize(effect.effects[0].element)
+      },
+      afterFinishInternal: function(effect) {
+         effect.effects[0].element.hide().setStyle(oldStyle); }
+     }, arguments[1] || {})
+   );
+}
+
+Effect.BlindUp = function(element) {
+  element = $(element);
+  element.makeClipping();
+  return new Effect.Scale(element, 0,
+    Object.extend({ scaleContent: false, 
+      scaleX: false, 
+      restoreAfterFinish: true,
+      afterFinishInternal: function(effect) {
+        effect.element.hide().undoClipping();
+      } 
+    }, arguments[1] || {})
+  );
+}
+
+Effect.BlindDown = function(element) {
+  element = $(element);
+  var elementDimensions = element.getDimensions();
+  return new Effect.Scale(element, 100, Object.extend({ 
+    scaleContent: false, 
+    scaleX: false,
+    scaleFrom: 0,
+    scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width},
+    restoreAfterFinish: true,
+    afterSetup: function(effect) {
+      effect.element.makeClipping().setStyle({height: '0px'}).show(); 
+    },  
+    afterFinishInternal: function(effect) {
+      effect.element.undoClipping();
+    }
+  }, arguments[1] || {}));
+}
+
+Effect.SwitchOff = function(element) {
+  element = $(element);
+  var oldOpacity = element.getInlineOpacity();
+  return new Effect.Appear(element, Object.extend({
+    duration: 0.4,
+    from: 0,
+    transition: Effect.Transitions.flicker,
+    afterFinishInternal: function(effect) {
+      new Effect.Scale(effect.element, 1, { 
+        duration: 0.3, scaleFromCenter: true,
+        scaleX: false, scaleContent: false, restoreAfterFinish: true,
+        beforeSetup: function(effect) { 
+          effect.element.makePositioned().makeClipping();
+        },
+        afterFinishInternal: function(effect) {
+          effect.element.hide().undoClipping().undoPositioned().setStyle({opacity: oldOpacity});
+        }
+      })
+    }
+  }, arguments[1] || {}));
+}
+
+Effect.DropOut = function(element) {
+  element = $(element);
+  var oldStyle = {
+    top: element.getStyle('top'),
+    left: element.getStyle('left'),
+    opacity: element.getInlineOpacity() };
+  return new Effect.Parallel(
+    [ new Effect.Move(element, {x: 0, y: 100, sync: true }), 
+      new Effect.Opacity(element, { sync: true, to: 0.0 }) ],
+    Object.extend(
+      { duration: 0.5,
+        beforeSetup: function(effect) {
+          effect.effects[0].element.makePositioned(); 
+        },
+        afterFinishInternal: function(effect) {
+          effect.effects[0].element.hide().undoPositioned().setStyle(oldStyle);
+        } 
+      }, arguments[1] || {}));
+}
+
+Effect.Shake = function(element) {
+  element = $(element);
+  var oldStyle = {
+    top: element.getStyle('top'),
+    left: element.getStyle('left') };
+    return new Effect.Move(element, 
+      { x:  20, y: 0, duration: 0.05, afterFinishInternal: function(effect) {
+    new Effect.Move(effect.element,
+      { x: -40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {
+    new Effect.Move(effect.element,
+      { x:  40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {
+    new Effect.Move(effect.element,
+      { x: -40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {
+    new Effect.Move(effect.element,
+      { x:  40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {
+    new Effect.Move(effect.element,
+      { x: -20, y: 0, duration: 0.05, afterFinishInternal: function(effect) {
+        effect.element.undoPositioned().setStyle(oldStyle);
+  }}) }}) }}) }}) }}) }});
+}
+
+Effect.SlideDown = function(element) {
+  element = $(element).cleanWhitespace();
+  // SlideDown need to have the content of the element wrapped in a container element with fixed height!
+  var oldInnerBottom = element.down().getStyle('bottom');
+  var elementDimensions = element.getDimensions();
+  return new Effect.Scale(element, 100, Object.extend({ 
+    scaleContent: false, 
+    scaleX: false, 
+    scaleFrom: window.opera ? 0 : 1,
+    scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width},
+    restoreAfterFinish: true,
+    afterSetup: function(effect) {
+      effect.element.makePositioned();
+      effect.element.down().makePositioned();
+      if(window.opera) effect.element.setStyle({top: ''});
+      effect.element.makeClipping().setStyle({height: '0px'}).show(); 
+    },
+    afterUpdateInternal: function(effect) {
+      effect.element.down().setStyle({bottom:
+        (effect.dims[0] - effect.element.clientHeight) + 'px' }); 
+    },
+    afterFinishInternal: function(effect) {
+      effect.element.undoClipping().undoPositioned();
+      effect.element.down().undoPositioned().setStyle({bottom: oldInnerBottom}); }
+    }, arguments[1] || {})
+  );
+}
+
+Effect.SlideUp = function(element) {
+  element = $(element).cleanWhitespace();
+  var oldInnerBottom = element.down().getStyle('bottom');
+  return new Effect.Scale(element, window.opera ? 0 : 1,
+   Object.extend({ scaleContent: false, 
+    scaleX: false, 
+    scaleMode: 'box',
+    scaleFrom: 100,
+    restoreAfterFinish: true,
+    beforeStartInternal: function(effect) {
+      effect.element.makePositioned();
+      effect.element.down().makePositioned();
+      if(window.opera) effect.element.setStyle({top: ''});
+      effect.element.makeClipping().show();
+    },  
+    afterUpdateInternal: function(effect) {
+      effect.element.down().setStyle({bottom:
+        (effect.dims[0] - effect.element.clientHeight) + 'px' });
+    },
+    afterFinishInternal: function(effect) {
+      effect.element.hide().undoClipping().undoPositioned().setStyle({bottom: oldInnerBottom});
+      effect.element.down().undoPositioned();
+    }
+   }, arguments[1] || {})
+  );
+}
+
+// Bug in opera makes the TD containing this element expand for a instance after finish 
+Effect.Squish = function(element) {
+  return new Effect.Scale(element, window.opera ? 1 : 0, { 
+    restoreAfterFinish: true,
+    beforeSetup: function(effect) {
+      effect.element.makeClipping(); 
+    },  
+    afterFinishInternal: function(effect) {
+      effect.element.hide().undoClipping(); 
+    }
+  });
+}
+
+Effect.Grow = function(element) {
+  element = $(element);
+  var options = Object.extend({
+    direction: 'center',
+    moveTransition: Effect.Transitions.sinoidal,
+    scaleTransition: Effect.Transitions.sinoidal,
+    opacityTransition: Effect.Transitions.full
+  }, arguments[1] || {});
+  var oldStyle = {
+    top: element.style.top,
+    left: element.style.left,
+    height: element.style.height,
+    width: element.style.width,
+    opacity: element.getInlineOpacity() };
+
+  var dims = element.getDimensions();    
+  var initialMoveX, initialMoveY;
+  var moveX, moveY;
+  
+  switch (options.direction) {
+    case 'top-left':
+      initialMoveX = initialMoveY = moveX = moveY = 0; 
+      break;
+    case 'top-right':
+      initialMoveX = dims.width;
+      initialMoveY = moveY = 0;
+      moveX = -dims.width;
+      break;
+    case 'bottom-left':
+      initialMoveX = moveX = 0;
+      initialMoveY = dims.height;
+      moveY = -dims.height;
+      break;
+    case 'bottom-right':
+      initialMoveX = dims.width;
+      initialMoveY = dims.height;
+      moveX = -dims.width;
+      moveY = -dims.height;
+      break;
+    case 'center':
+      initialMoveX = dims.width / 2;
+      initialMoveY = dims.height / 2;
+      moveX = -dims.width / 2;
+      moveY = -dims.height / 2;
+      break;
+  }
+  
+  return new Effect.Move(element, {
+    x: initialMoveX,
+    y: initialMoveY,
+    duration: 0.01, 
+    beforeSetup: function(effect) {
+      effect.element.hide().makeClipping().makePositioned();
+    },
+    afterFinishInternal: function(effect) {
+      new Effect.Parallel(
+        [ new Effect.Opacity(effect.element, { sync: true, to: 1.0, from: 0.0, transition: options.opacityTransition }),
+          new Effect.Move(effect.element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition }),
+          new Effect.Scale(effect.element, 100, {
+            scaleMode: { originalHeight: dims.height, originalWidth: dims.width }, 
+            sync: true, scaleFrom: window.opera ? 1 : 0, transition: options.scaleTransition, restoreAfterFinish: true})
+        ], Object.extend({
+             beforeSetup: function(effect) {
+               effect.effects[0].element.setStyle({height: '0px'}).show(); 
+             },
+             afterFinishInternal: function(effect) {
+               effect.effects[0].element.undoClipping().undoPositioned().setStyle(oldStyle); 
+             }
+           }, options)
+      )
+    }
+  });
+}
+
+Effect.Shrink = function(element) {
+  element = $(element);
+  var options = Object.extend({
+    direction: 'center',
+    moveTransition: Effect.Transitions.sinoidal,
+    scaleTransition: Effect.Transitions.sinoidal,
+    opacityTransition: Effect.Transitions.none
+  }, arguments[1] || {});
+  var oldStyle = {
+    top: element.style.top,
+    left: element.style.left,
+    height: element.style.height,
+    width: element.style.width,
+    opacity: element.getInlineOpacity() };
+
+  var dims = element.getDimensions();
+  var moveX, moveY;
+  
+  switch (options.direction) {
+    case 'top-left':
+      moveX = moveY = 0;
+      break;
+    case 'top-right':
+      moveX = dims.width;
+      moveY = 0;
+      break;
+    case 'bottom-left':
+      moveX = 0;
+      moveY = dims.height;
+      break;
+    case 'bottom-right':
+      moveX = dims.width;
+      moveY = dims.height;
+      break;
+    case 'center':  
+      moveX = dims.width / 2;
+      moveY = dims.height / 2;
+      break;
+  }
+  
+  return new Effect.Parallel(
+    [ new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0, transition: options.opacityTransition }),
+      new Effect.Scale(element, window.opera ? 1 : 0, { sync: true, transition: options.scaleTransition, restoreAfterFinish: true}),
+      new Effect.Move(element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition })
+    ], Object.extend({            
+         beforeStartInternal: function(effect) {
+           effect.effects[0].element.makePositioned().makeClipping(); 
+         },
+         afterFinishInternal: function(effect) {
+           effect.effects[0].element.hide().undoClipping().undoPositioned().setStyle(oldStyle); }
+       }, options)
+  );
+}
+
+Effect.Pulsate = function(element) {
+  element = $(element);
+  var options    = arguments[1] || {};
+  var oldOpacity = element.getInlineOpacity();
+  var transition = options.transition || Effect.Transitions.sinoidal;
+  var reverser   = function(pos){ return transition(1-Effect.Transitions.pulse(pos, options.pulses)) };
+  reverser.bind(transition);
+  return new Effect.Opacity(element, 
+    Object.extend(Object.extend({  duration: 2.0, from: 0,
+      afterFinishInternal: function(effect) { effect.element.setStyle({opacity: oldOpacity}); }
+    }, options), {transition: reverser}));
+}
+
+Effect.Fold = function(element) {
+  element = $(element);
+  var oldStyle = {
+    top: element.style.top,
+    left: element.style.left,
+    width: element.style.width,
+    height: element.style.height };
+  element.makeClipping();
+  return new Effect.Scale(element, 5, Object.extend({   
+    scaleContent: false,
+    scaleX: false,
+    afterFinishInternal: function(effect) {
+    new Effect.Scale(element, 1, { 
+      scaleContent: false, 
+      scaleY: false,
+      afterFinishInternal: function(effect) {
+        effect.element.hide().undoClipping().setStyle(oldStyle);
+      } });
+  }}, arguments[1] || {}));
+};
+
+Effect.Morph = Class.create();
+Object.extend(Object.extend(Effect.Morph.prototype, Effect.Base.prototype), {
+  initialize: function(element) {
+    this.element = $(element);
+    if(!this.element) throw(Effect._elementDoesNotExistError);
+    var options = Object.extend({
+      style: {}
+    }, arguments[1] || {});
+    if (typeof options.style == 'string') {
+      if(options.style.indexOf(':') == -1) {
+        var cssText = '', selector = '.' + options.style;
+        $A(document.styleSheets).reverse().each(function(styleSheet) {
+          if (styleSheet.cssRules) cssRules = styleSheet.cssRules;
+          else if (styleSheet.rules) cssRules = styleSheet.rules;
+          $A(cssRules).reverse().each(function(rule) {
+            if (selector == rule.selectorText) {
+              cssText = rule.style.cssText;
+              throw $break;
+            }
+          });
+          if (cssText) throw $break;
+        });
+        this.style = cssText.parseStyle();
+        options.afterFinishInternal = function(effect){
+          effect.element.addClassName(effect.options.style);
+          effect.transforms.each(function(transform) {
+            if(transform.style != 'opacity')
+              effect.element.style[transform.style.camelize()] = '';
+          });
+        }
+      } else this.style = options.style.parseStyle();
+    } else this.style = $H(options.style)
+    this.start(options);
+  },
+  setup: function(){
+    function parseColor(color){
+      if(!color || ['rgba(0, 0, 0, 0)','transparent'].include(color)) color = '#ffffff';
+      color = color.parseColor();
+      return $R(0,2).map(function(i){
+        return parseInt( color.slice(i*2+1,i*2+3), 16 ) 
+      });
+    }
+    this.transforms = this.style.map(function(pair){
+      var property = pair[0].underscore().dasherize(), value = pair[1], unit = null;
+
+      if(value.parseColor('#zzzzzz') != '#zzzzzz') {
+        value = value.parseColor();
+        unit  = 'color';
+      } else if(property == 'opacity') {
+        value = parseFloat(value);
+        if(/MSIE/.test(navigator.userAgent) && !window.opera && (!this.element.currentStyle.hasLayout))
+          this.element.setStyle({zoom: 1});
+      } else if(Element.CSS_LENGTH.test(value)) 
+        var components = value.match(/^([\+\-]?[0-9\.]+)(.*)$/),
+          value = parseFloat(components[1]), unit = (components.length == 3) ? components[2] : null;
+
+      var originalValue = this.element.getStyle(property);
+      return $H({ 
+        style: property, 
+        originalValue: unit=='color' ? parseColor(originalValue) : parseFloat(originalValue || 0), 
+        targetValue: unit=='color' ? parseColor(value) : value,
+        unit: unit
+      });
+    }.bind(this)).reject(function(transform){
+      return (
+        (transform.originalValue == transform.targetValue) ||
+        (
+          transform.unit != 'color' &&
+          (isNaN(transform.originalValue) || isNaN(transform.targetValue))
+        )
+      )
+    });
+  },
+  update: function(position) {
+    var style = $H(), value = null;
+    this.transforms.each(function(transform){
+      value = transform.unit=='color' ?
+        $R(0,2).inject('#',function(m,v,i){
+          return m+(Math.round(transform.originalValue[i]+
+            (transform.targetValue[i] - transform.originalValue[i])*position)).toColorPart() }) : 
+        transform.originalValue + Math.round(
+          ((transform.targetValue - transform.originalValue) * position) * 1000)/1000 + transform.unit;
+      style[transform.style] = value;
+    });
+    this.element.setStyle(style);
+  }
+});
+
+Effect.Transform = Class.create();
+Object.extend(Effect.Transform.prototype, {
+  initialize: function(tracks){
+    this.tracks  = [];
+    this.options = arguments[1] || {};
+    this.addTracks(tracks);
+  },
+  addTracks: function(tracks){
+    tracks.each(function(track){
+      var data = $H(track).values().first();
+      this.tracks.push($H({
+        ids:     $H(track).keys().first(),
+        effect:  Effect.Morph,
+        options: { style: data }
+      }));
+    }.bind(this));
+    return this;
+  },
+  play: function(){
+    return new Effect.Parallel(
+      this.tracks.map(function(track){
+        var elements = [$(track.ids) || $$(track.ids)].flatten();
+        return elements.map(function(e){ return new track.effect(e, Object.extend({ sync:true }, track.options)) });
+      }).flatten(),
+      this.options
+    );
+  }
+});
+
+Element.CSS_PROPERTIES = $w(
+  'backgroundColor backgroundPosition borderBottomColor borderBottomStyle ' + 
+  'borderBottomWidth borderLeftColor borderLeftStyle borderLeftWidth ' +
+  'borderRightColor borderRightStyle borderRightWidth borderSpacing ' +
+  'borderTopColor borderTopStyle borderTopWidth bottom clip color ' +
+  'fontSize fontWeight height left letterSpacing lineHeight ' +
+  'marginBottom marginLeft marginRight marginTop markerOffset maxHeight '+
+  'maxWidth minHeight minWidth opacity outlineColor outlineOffset ' +
+  'outlineWidth paddingBottom paddingLeft paddingRight paddingTop ' +
+  'right textIndent top width wordSpacing zIndex');
+  
+Element.CSS_LENGTH = /^(([\+\-]?[0-9\.]+)(em|ex|px|in|cm|mm|pt|pc|\%))|0$/;
+
+String.prototype.parseStyle = function(){
+  var element = Element.extend(document.createElement('div'));
+  element.innerHTML = '<div style="' + this + '"></div>';
+  var style = element.down().style, styleRules = $H();
+  
+  Element.CSS_PROPERTIES.each(function(property){
+    if(style[property]) styleRules[property] = style[property]; 
+  });
+  if(/MSIE/.test(navigator.userAgent) && !window.opera && this.indexOf('opacity') > -1) {
+    styleRules.opacity = this.match(/opacity:\s*((?:0|1)?(?:\.\d*)?)/)[1];
+  }
+  return styleRules;
+};
+
+Element.morph = function(element, style) {
+  new Effect.Morph(element, Object.extend({ style: style }, arguments[2] || {}));
+  return element;
+};
+
+['setOpacity','getOpacity','getInlineOpacity','forceRerendering','setContentZoom',
+ 'collectTextNodes','collectTextNodesIgnoreClass','morph'].each( 
+  function(f) { Element.Methods[f] = Element[f]; }
+);
+
+Element.Methods.visualEffect = function(element, effect, options) {
+  s = effect.gsub(/_/, '-').camelize();
+  effect_class = s.charAt(0).toUpperCase() + s.substring(1);
+  new Effect[effect_class](element, options);
+  return $(element);
+};
+
+Element.addMethods();
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/prototype.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/prototype.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/prototype.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2515 @@
+/*  Prototype JavaScript framework, version 1.5.0
+ *  (c) 2005-2007 Sam Stephenson
+ *
+ *  Prototype is freely distributable under the terms of an MIT-style license.
+ *  For details, see the Prototype web site: http://prototype.conio.net/
+ *
+/*--------------------------------------------------------------------------*/
+
+var Prototype = {
+  Version: '1.5.0',
+  BrowserFeatures: {
+    XPath: !!document.evaluate
+  },
+
+  ScriptFragment: '(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)',
+  emptyFunction: function() {},
+  K: function(x) { return x }
+}
+
+var Class = {
+  create: function() {
+    return function() {
+      this.initialize.apply(this, arguments);
+    }
+  }
+}
+
+var Abstract = new Object();
+
+Object.extend = function(destination, source) {
+  for (var property in source) {
+    destination[property] = source[property];
+  }
+  return destination;
+}
+
+Object.extend(Object, {
+  inspect: function(object) {
+    try {
+      if (object === undefined) return 'undefined';
+      if (object === null) return 'null';
+      return object.inspect ? object.inspect() : object.toString();
+    } catch (e) {
+      if (e instanceof RangeError) return '...';
+      throw e;
+    }
+  },
+
+  keys: function(object) {
+    var keys = [];
+    for (var property in object)
+      keys.push(property);
+    return keys;
+  },
+
+  values: function(object) {
+    var values = [];
+    for (var property in object)
+      values.push(object[property]);
+    return values;
+  },
+
+  clone: function(object) {
+    return Object.extend({}, object);
+  }
+});
+
+Function.prototype.bind = function() {
+  var __method = this, args = $A(arguments), object = args.shift();
+  return function() {
+    return __method.apply(object, args.concat($A(arguments)));
+  }
+}
+
+Function.prototype.bindAsEventListener = function(object) {
+  var __method = this, args = $A(arguments), object = args.shift();
+  return function(event) {
+    return __method.apply(object, [( event || window.event)].concat(args).concat($A(arguments)));
+  }
+}
+
+Object.extend(Number.prototype, {
+  toColorPart: function() {
+    var digits = this.toString(16);
+    if (this < 16) return '0' + digits;
+    return digits;
+  },
+
+  succ: function() {
+    return this + 1;
+  },
+
+  times: function(iterator) {
+    $R(0, this, true).each(iterator);
+    return this;
+  }
+});
+
+var Try = {
+  these: function() {
+    var returnValue;
+
+    for (var i = 0, length = arguments.length; i < length; i++) {
+      var lambda = arguments[i];
+      try {
+        returnValue = lambda();
+        break;
+      } catch (e) {}
+    }
+
+    return returnValue;
+  }
+}
+
+/*--------------------------------------------------------------------------*/
+
+var PeriodicalExecuter = Class.create();
+PeriodicalExecuter.prototype = {
+  initialize: function(callback, frequency) {
+    this.callback = callback;
+    this.frequency = frequency;
+    this.currentlyExecuting = false;
+
+    this.registerCallback();
+  },
+
+  registerCallback: function() {
+    this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
+  },
+
+  stop: function() {
+    if (!this.timer) return;
+    clearInterval(this.timer);
+    this.timer = null;
+  },
+
+  onTimerEvent: function() {
+    if (!this.currentlyExecuting) {
+      try {
+        this.currentlyExecuting = true;
+        this.callback(this);
+      } finally {
+        this.currentlyExecuting = false;
+      }
+    }
+  }
+}
+String.interpret = function(value){
+  return value == null ? '' : String(value);
+}
+
+Object.extend(String.prototype, {
+  gsub: function(pattern, replacement) {
+    var result = '', source = this, match;
+    replacement = arguments.callee.prepareReplacement(replacement);
+
+    while (source.length > 0) {
+      if (match = source.match(pattern)) {
+        result += source.slice(0, match.index);
+        result += String.interpret(replacement(match));
+        source  = source.slice(match.index + match[0].length);
+      } else {
+        result += source, source = '';
+      }
+    }
+    return result;
+  },
+
+  sub: function(pattern, replacement, count) {
+    replacement = this.gsub.prepareReplacement(replacement);
+    count = count === undefined ? 1 : count;
+
+    return this.gsub(pattern, function(match) {
+      if (--count < 0) return match[0];
+      return replacement(match);
+    });
+  },
+
+  scan: function(pattern, iterator) {
+    this.gsub(pattern, iterator);
+    return this;
+  },
+
+  truncate: function(length, truncation) {
+    length = length || 30;
+    truncation = truncation === undefined ? '...' : truncation;
+    return this.length > length ?
+      this.slice(0, length - truncation.length) + truncation : this;
+  },
+
+  strip: function() {
+    return this.replace(/^\s+/, '').replace(/\s+$/, '');
+  },
+
+  stripTags: function() {
+    return this.replace(/<\/?[^>]+>/gi, '');
+  },
+
+  stripScripts: function() {
+    return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), '');
+  },
+
+  extractScripts: function() {
+    var matchAll = new RegExp(Prototype.ScriptFragment, 'img');
+    var matchOne = new RegExp(Prototype.ScriptFragment, 'im');
+    return (this.match(matchAll) || []).map(function(scriptTag) {
+      return (scriptTag.match(matchOne) || ['', ''])[1];
+    });
+  },
+
+  evalScripts: function() {
+    return this.extractScripts().map(function(script) { return eval(script) });
+  },
+
+  escapeHTML: function() {
+    var div = document.createElement('div');
+    var text = document.createTextNode(this);
+    div.appendChild(text);
+    return div.innerHTML;
+  },
+
+  unescapeHTML: function() {
+    var div = document.createElement('div');
+    div.innerHTML = this.stripTags();
+    return div.childNodes[0] ? (div.childNodes.length > 1 ?
+      $A(div.childNodes).inject('',function(memo,node){ return memo+node.nodeValue }) :
+      div.childNodes[0].nodeValue) : '';
+  },
+
+  toQueryParams: function(separator) {
+    var match = this.strip().match(/([^?#]*)(#.*)?$/);
+    if (!match) return {};
+
+    return match[1].split(separator || '&').inject({}, function(hash, pair) {
+      if ((pair = pair.split('='))[0]) {
+        var name = decodeURIComponent(pair[0]);
+        var value = pair[1] ? decodeURIComponent(pair[1]) : undefined;
+
+        if (hash[name] !== undefined) {
+          if (hash[name].constructor != Array)
+            hash[name] = [hash[name]];
+          if (value) hash[name].push(value);
+        }
+        else hash[name] = value;
+      }
+      return hash;
+    });
+  },
+
+  toArray: function() {
+    return this.split('');
+  },
+
+  succ: function() {
+    return this.slice(0, this.length - 1) +
+      String.fromCharCode(this.charCodeAt(this.length - 1) + 1);
+  },
+
+  camelize: function() {
+    var parts = this.split('-'), len = parts.length;
+    if (len == 1) return parts[0];
+
+    var camelized = this.charAt(0) == '-'
+      ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1)
+      : parts[0];
+
+    for (var i = 1; i < len; i++)
+      camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1);
+
+    return camelized;
+  },
+
+  capitalize: function(){
+    return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase();
+  },
+
+  underscore: function() {
+    return this.gsub(/::/, '/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase();
+  },
+
+  dasherize: function() {
+    return this.gsub(/_/,'-');
+  },
+
+  inspect: function(useDoubleQuotes) {
+    var escapedString = this.replace(/\\/g, '\\\\');
+    if (useDoubleQuotes)
+      return '"' + escapedString.replace(/"/g, '\\"') + '"';
+    else
+      return "'" + escapedString.replace(/'/g, '\\\'') + "'";
+  }
+});
+
+String.prototype.gsub.prepareReplacement = function(replacement) {
+  if (typeof replacement == 'function') return replacement;
+  var template = new Template(replacement);
+  return function(match) { return template.evaluate(match) };
+}
+
+String.prototype.parseQuery = String.prototype.toQueryParams;
+
+var Template = Class.create();
+Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/;
+Template.prototype = {
+  initialize: function(template, pattern) {
+    this.template = template.toString();
+    this.pattern  = pattern || Template.Pattern;
+  },
+
+  evaluate: function(object) {
+    return this.template.gsub(this.pattern, function(match) {
+      var before = match[1];
+      if (before == '\\') return match[2];
+      return before + String.interpret(object[match[3]]);
+    });
+  }
+}
+
+var $break    = new Object();
+var $continue = new Object();
+
+var Enumerable = {
+  each: function(iterator) {
+    var index = 0;
+    try {
+      this._each(function(value) {
+        try {
+          iterator(value, index++);
+        } catch (e) {
+          if (e != $continue) throw e;
+        }
+      });
+    } catch (e) {
+      if (e != $break) throw e;
+    }
+    return this;
+  },
+
+  eachSlice: function(number, iterator) {
+    var index = -number, slices = [], array = this.toArray();
+    while ((index += number) < array.length)
+      slices.push(array.slice(index, index+number));
+    return slices.map(iterator);
+  },
+
+  all: function(iterator) {
+    var result = true;
+    this.each(function(value, index) {
+      result = result && !!(iterator || Prototype.K)(value, index);
+      if (!result) throw $break;
+    });
+    return result;
+  },
+
+  any: function(iterator) {
+    var result = false;
+    this.each(function(value, index) {
+      if (result = !!(iterator || Prototype.K)(value, index))
+        throw $break;
+    });
+    return result;
+  },
+
+  collect: function(iterator) {
+    var results = [];
+    this.each(function(value, index) {
+      results.push((iterator || Prototype.K)(value, index));
+    });
+    return results;
+  },
+
+  detect: function(iterator) {
+    var result;
+    this.each(function(value, index) {
+      if (iterator(value, index)) {
+        result = value;
+        throw $break;
+      }
+    });
+    return result;
+  },
+
+  findAll: function(iterator) {
+    var results = [];
+    this.each(function(value, index) {
+      if (iterator(value, index))
+        results.push(value);
+    });
+    return results;
+  },
+
+  grep: function(pattern, iterator) {
+    var results = [];
+    this.each(function(value, index) {
+      var stringValue = value.toString();
+      if (stringValue.match(pattern))
+        results.push((iterator || Prototype.K)(value, index));
+    })
+    return results;
+  },
+
+  include: function(object) {
+    var found = false;
+    this.each(function(value) {
+      if (value == object) {
+        found = true;
+        throw $break;
+      }
+    });
+    return found;
+  },
+
+  inGroupsOf: function(number, fillWith) {
+    fillWith = fillWith === undefined ? null : fillWith;
+    return this.eachSlice(number, function(slice) {
+      while(slice.length < number) slice.push(fillWith);
+      return slice;
+    });
+  },
+
+  inject: function(memo, iterator) {
+    this.each(function(value, index) {
+      memo = iterator(memo, value, index);
+    });
+    return memo;
+  },
+
+  invoke: function(method) {
+    var args = $A(arguments).slice(1);
+    return this.map(function(value) {
+      return value[method].apply(value, args);
+    });
+  },
+
+  max: function(iterator) {
+    var result;
+    this.each(function(value, index) {
+      value = (iterator || Prototype.K)(value, index);
+      if (result == undefined || value >= result)
+        result = value;
+    });
+    return result;
+  },
+
+  min: function(iterator) {
+    var result;
+    this.each(function(value, index) {
+      value = (iterator || Prototype.K)(value, index);
+      if (result == undefined || value < result)
+        result = value;
+    });
+    return result;
+  },
+
+  partition: function(iterator) {
+    var trues = [], falses = [];
+    this.each(function(value, index) {
+      ((iterator || Prototype.K)(value, index) ?
+        trues : falses).push(value);
+    });
+    return [trues, falses];
+  },
+
+  pluck: function(property) {
+    var results = [];
+    this.each(function(value, index) {
+      results.push(value[property]);
+    });
+    return results;
+  },
+
+  reject: function(iterator) {
+    var results = [];
+    this.each(function(value, index) {
+      if (!iterator(value, index))
+        results.push(value);
+    });
+    return results;
+  },
+
+  sortBy: function(iterator) {
+    return this.map(function(value, index) {
+      return {value: value, criteria: iterator(value, index)};
+    }).sort(function(left, right) {
+      var a = left.criteria, b = right.criteria;
+      return a < b ? -1 : a > b ? 1 : 0;
+    }).pluck('value');
+  },
+
+  toArray: function() {
+    return this.map();
+  },
+
+  zip: function() {
+    var iterator = Prototype.K, args = $A(arguments);
+    if (typeof args.last() == 'function')
+      iterator = args.pop();
+
+    var collections = [this].concat(args).map($A);
+    return this.map(function(value, index) {
+      return iterator(collections.pluck(index));
+    });
+  },
+
+  size: function() {
+    return this.toArray().length;
+  },
+
+  inspect: function() {
+    return '#<Enumerable:' + this.toArray().inspect() + '>';
+  }
+}
+
+Object.extend(Enumerable, {
+  map:     Enumerable.collect,
+  find:    Enumerable.detect,
+  select:  Enumerable.findAll,
+  member:  Enumerable.include,
+  entries: Enumerable.toArray
+});
+var $A = Array.from = function(iterable) {
+  if (!iterable) return [];
+  if (iterable.toArray) {
+    return iterable.toArray();
+  } else {
+    var results = [];
+    for (var i = 0, length = iterable.length; i < length; i++)
+      results.push(iterable[i]);
+    return results;
+  }
+}
+
+Object.extend(Array.prototype, Enumerable);
+
+if (!Array.prototype._reverse)
+  Array.prototype._reverse = Array.prototype.reverse;
+
+Object.extend(Array.prototype, {
+  _each: function(iterator) {
+    for (var i = 0, length = this.length; i < length; i++)
+      iterator(this[i]);
+  },
+
+  clear: function() {
+    this.length = 0;
+    return this;
+  },
+
+  first: function() {
+    return this[0];
+  },
+
+  last: function() {
+    return this[this.length - 1];
+  },
+
+  compact: function() {
+    return this.select(function(value) {
+      return value != null;
+    });
+  },
+
+  flatten: function() {
+    return this.inject([], function(array, value) {
+      return array.concat(value && value.constructor == Array ?
+        value.flatten() : [value]);
+    });
+  },
+
+  without: function() {
+    var values = $A(arguments);
+    return this.select(function(value) {
+      return !values.include(value);
+    });
+  },
+
+  indexOf: function(object) {
+    for (var i = 0, length = this.length; i < length; i++)
+      if (this[i] == object) return i;
+    return -1;
+  },
+
+  reverse: function(inline) {
+    return (inline !== false ? this : this.toArray())._reverse();
+  },
+
+  reduce: function() {
+    return this.length > 1 ? this : this[0];
+  },
+
+  uniq: function() {
+    return this.inject([], function(array, value) {
+      return array.include(value) ? array : array.concat([value]);
+    });
+  },
+
+  clone: function() {
+    return [].concat(this);
+  },
+
+  size: function() {
+    return this.length;
+  },
+
+  inspect: function() {
+    return '[' + this.map(Object.inspect).join(', ') + ']';
+  }
+});
+
+Array.prototype.toArray = Array.prototype.clone;
+
+function $w(string){
+  string = string.strip();
+  return string ? string.split(/\s+/) : [];
+}
+
+if(window.opera){
+  Array.prototype.concat = function(){
+    var array = [];
+    for(var i = 0, length = this.length; i < length; i++) array.push(this[i]);
+    for(var i = 0, length = arguments.length; i < length; i++) {
+      if(arguments[i].constructor == Array) {
+        for(var j = 0, arrayLength = arguments[i].length; j < arrayLength; j++)
+          array.push(arguments[i][j]);
+      } else {
+        array.push(arguments[i]);
+      }
+    }
+    return array;
+  }
+}
+var Hash = function(obj) {
+  Object.extend(this, obj || {});
+};
+
+Object.extend(Hash, {
+  toQueryString: function(obj) {
+    var parts = [];
+
+	  this.prototype._each.call(obj, function(pair) {
+      if (!pair.key) return;
+
+      if (pair.value && pair.value.constructor == Array) {
+        var values = pair.value.compact();
+        if (values.length < 2) pair.value = values.reduce();
+        else {
+        	key = encodeURIComponent(pair.key);
+          values.each(function(value) {
+            value = value != undefined ? encodeURIComponent(value) : '';
+            parts.push(key + '=' + encodeURIComponent(value));
+          });
+          return;
+        }
+      }
+      if (pair.value == undefined) pair[1] = '';
+      parts.push(pair.map(encodeURIComponent).join('='));
+	  });
+
+    return parts.join('&');
+  }
+});
+
+Object.extend(Hash.prototype, Enumerable);
+Object.extend(Hash.prototype, {
+  _each: function(iterator) {
+    for (var key in this) {
+      var value = this[key];
+      if (value && value == Hash.prototype[key]) continue;
+
+      var pair = [key, value];
+      pair.key = key;
+      pair.value = value;
+      iterator(pair);
+    }
+  },
+
+  keys: function() {
+    return this.pluck('key');
+  },
+
+  values: function() {
+    return this.pluck('value');
+  },
+
+  merge: function(hash) {
+    return $H(hash).inject(this, function(mergedHash, pair) {
+      mergedHash[pair.key] = pair.value;
+      return mergedHash;
+    });
+  },
+
+  remove: function() {
+    var result;
+    for(var i = 0, length = arguments.length; i < length; i++) {
+      var value = this[arguments[i]];
+      if (value !== undefined){
+        if (result === undefined) result = value;
+        else {
+          if (result.constructor != Array) result = [result];
+          result.push(value)
+        }
+      }
+      delete this[arguments[i]];
+    }
+    return result;
+  },
+
+  toQueryString: function() {
+    return Hash.toQueryString(this);
+  },
+
+  inspect: function() {
+    return '#<Hash:{' + this.map(function(pair) {
+      return pair.map(Object.inspect).join(': ');
+    }).join(', ') + '}>';
+  }
+});
+
+function $H(object) {
+  if (object && object.constructor == Hash) return object;
+  return new Hash(object);
+};
+ObjectRange = Class.create();
+Object.extend(ObjectRange.prototype, Enumerable);
+Object.extend(ObjectRange.prototype, {
+  initialize: function(start, end, exclusive) {
+    this.start = start;
+    this.end = end;
+    this.exclusive = exclusive;
+  },
+
+  _each: function(iterator) {
+    var value = this.start;
+    while (this.include(value)) {
+      iterator(value);
+      value = value.succ();
+    }
+  },
+
+  include: function(value) {
+    if (value < this.start)
+      return false;
+    if (this.exclusive)
+      return value < this.end;
+    return value <= this.end;
+  }
+});
+
+var $R = function(start, end, exclusive) {
+  return new ObjectRange(start, end, exclusive);
+}
+
+var Ajax = {
+  getTransport: function() {
+    return Try.these(
+      function() {return new XMLHttpRequest()},
+      function() {return new ActiveXObject('Msxml2.XMLHTTP')},
+      function() {return new ActiveXObject('Microsoft.XMLHTTP')}
+    ) || false;
+  },
+
+  activeRequestCount: 0
+}
+
+Ajax.Responders = {
+  responders: [],
+
+  _each: function(iterator) {
+    this.responders._each(iterator);
+  },
+
+  register: function(responder) {
+    if (!this.include(responder))
+      this.responders.push(responder);
+  },
+
+  unregister: function(responder) {
+    this.responders = this.responders.without(responder);
+  },
+
+  dispatch: function(callback, request, transport, json) {
+    this.each(function(responder) {
+      if (typeof responder[callback] == 'function') {
+        try {
+          responder[callback].apply(responder, [request, transport, json]);
+        } catch (e) {}
+      }
+    });
+  }
+};
+
+Object.extend(Ajax.Responders, Enumerable);
+
+Ajax.Responders.register({
+  onCreate: function() {
+    Ajax.activeRequestCount++;
+  },
+  onComplete: function() {
+    Ajax.activeRequestCount--;
+  }
+});
+
+Ajax.Base = function() {};
+Ajax.Base.prototype = {
+  setOptions: function(options) {
+    this.options = {
+      method:       'post',
+      asynchronous: true,
+      contentType:  'application/x-www-form-urlencoded',
+      encoding:     'UTF-8',
+      parameters:   ''
+    }
+    Object.extend(this.options, options || {});
+
+    this.options.method = this.options.method.toLowerCase();
+    if (typeof this.options.parameters == 'string')
+      this.options.parameters = this.options.parameters.toQueryParams();
+  }
+}
+
+Ajax.Request = Class.create();
+Ajax.Request.Events =
+  ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];
+
+Ajax.Request.prototype = Object.extend(new Ajax.Base(), {
+  _complete: false,
+
+  initialize: function(url, options) {
+    this.transport = Ajax.getTransport();
+    this.setOptions(options);
+    this.request(url);
+  },
+
+  request: function(url) {
+    this.url = url;
+    this.method = this.options.method;
+    var params = this.options.parameters;
+
+    if (!['get', 'post'].include(this.method)) {
+      // simulate other verbs over post
+      params['_method'] = this.method;
+      this.method = 'post';
+    }
+
+    params = Hash.toQueryString(params);
+    if (params && /Konqueror|Safari|KHTML/.test(navigator.userAgent)) params += '&_='
+
+    // when GET, append parameters to URL
+    if (this.method == 'get' && params)
+      this.url += (this.url.indexOf('?') > -1 ? '&' : '?') + params;
+
+    try {
+      Ajax.Responders.dispatch('onCreate', this, this.transport);
+
+      this.transport.open(this.method.toUpperCase(), this.url,
+        this.options.asynchronous);
+
+      if (this.options.asynchronous)
+        setTimeout(function() { this.respondToReadyState(1) }.bind(this), 10);
+
+      this.transport.onreadystatechange = this.onStateChange.bind(this);
+      this.setRequestHeaders();
+
+      var body = this.method == 'post' ? (this.options.postBody || params) : null;
+
+      this.transport.send(body);
+
+      /* Force Firefox to handle ready state 4 for synchronous requests */
+      if (!this.options.asynchronous && this.transport.overrideMimeType)
+        this.onStateChange();
+
+    }
+    catch (e) {
+      this.dispatchException(e);
+    }
+  },
+
+  onStateChange: function() {
+    var readyState = this.transport.readyState;
+    if (readyState > 1 && !((readyState == 4) && this._complete))
+      this.respondToReadyState(this.transport.readyState);
+  },
+
+  setRequestHeaders: function() {
+    var headers = {
+      'X-Requested-With': 'XMLHttpRequest',
+      'X-Prototype-Version': Prototype.Version,
+      'Accept': 'text/javascript, text/html, application/xml, text/xml, */*'
+    };
+
+    if (this.method == 'post') {
+      headers['Content-type'] = this.options.contentType +
+        (this.options.encoding ? '; charset=' + this.options.encoding : '');
+
+      /* Force "Connection: close" for older Mozilla browsers to work
+       * around a bug where XMLHttpRequest sends an incorrect
+       * Content-length header. See Mozilla Bugzilla #246651.
+       */
+      if (this.transport.overrideMimeType &&
+          (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < 2005)
+            headers['Connection'] = 'close';
+    }
+
+    // user-defined headers
+    if (typeof this.options.requestHeaders == 'object') {
+      var extras = this.options.requestHeaders;
+
+      if (typeof extras.push == 'function')
+        for (var i = 0, length = extras.length; i < length; i += 2)
+          headers[extras[i]] = extras[i+1];
+      else
+        $H(extras).each(function(pair) { headers[pair.key] = pair.value });
+    }
+
+    for (var name in headers)
+      this.transport.setRequestHeader(name, headers[name]);
+  },
+
+  success: function() {
+    return !this.transport.status
+        || (this.transport.status >= 200 && this.transport.status < 300);
+  },
+
+  respondToReadyState: function(readyState) {
+    var state = Ajax.Request.Events[readyState];
+    var transport = this.transport, json = this.evalJSON();
+
+    if (state == 'Complete') {
+      try {
+        this._complete = true;
+        (this.options['on' + this.transport.status]
+         || this.options['on' + (this.success() ? 'Success' : 'Failure')]
+         || Prototype.emptyFunction)(transport, json);
+      } catch (e) {
+        this.dispatchException(e);
+      }
+
+      if ((this.getHeader('Content-type') || 'text/javascript').strip().
+        match(/^(text|application)\/(x-)?(java|ecma)script(;.*)?$/i))
+          this.evalResponse();
+    }
+
+    try {
+      (this.options['on' + state] || Prototype.emptyFunction)(transport, json);
+      Ajax.Responders.dispatch('on' + state, this, transport, json);
+    } catch (e) {
+      this.dispatchException(e);
+    }
+
+    if (state == 'Complete') {
+      // avoid memory leak in MSIE: clean up
+      this.transport.onreadystatechange = Prototype.emptyFunction;
+    }
+  },
+
+  getHeader: function(name) {
+    try {
+      return this.transport.getResponseHeader(name);
+    } catch (e) { return null }
+  },
+
+  evalJSON: function() {
+    try {
+      var json = this.getHeader('X-JSON');
+      return json ? eval('(' + json + ')') : null;
+    } catch (e) { return null }
+  },
+
+  evalResponse: function() {
+    try {
+      return eval(this.transport.responseText);
+    } catch (e) {
+      this.dispatchException(e);
+    }
+  },
+
+  dispatchException: function(exception) {
+    (this.options.onException || Prototype.emptyFunction)(this, exception);
+    Ajax.Responders.dispatch('onException', this, exception);
+  }
+});
+
+Ajax.Updater = Class.create();
+
+Object.extend(Object.extend(Ajax.Updater.prototype, Ajax.Request.prototype), {
+  initialize: function(container, url, options) {
+    this.container = {
+      success: (container.success || container),
+      failure: (container.failure || (container.success ? null : container))
+    }
+
+    this.transport = Ajax.getTransport();
+    this.setOptions(options);
+
+    var onComplete = this.options.onComplete || Prototype.emptyFunction;
+    this.options.onComplete = (function(transport, param) {
+      this.updateContent();
+      onComplete(transport, param);
+    }).bind(this);
+
+    this.request(url);
+  },
+
+  updateContent: function() {
+    var receiver = this.container[this.success() ? 'success' : 'failure'];
+    var response = this.transport.responseText;
+
+    if (!this.options.evalScripts) response = response.stripScripts();
+
+    if (receiver = $(receiver)) {
+      if (this.options.insertion)
+        new this.options.insertion(receiver, response);
+      else
+        receiver.update(response);
+    }
+
+    if (this.success()) {
+      if (this.onComplete)
+        setTimeout(this.onComplete.bind(this), 10);
+    }
+  }
+});
+
+Ajax.PeriodicalUpdater = Class.create();
+Ajax.PeriodicalUpdater.prototype = Object.extend(new Ajax.Base(), {
+  initialize: function(container, url, options) {
+    this.setOptions(options);
+    this.onComplete = this.options.onComplete;
+
+    this.frequency = (this.options.frequency || 2);
+    this.decay = (this.options.decay || 1);
+
+    this.updater = {};
+    this.container = container;
+    this.url = url;
+
+    this.start();
+  },
+
+  start: function() {
+    this.options.onComplete = this.updateComplete.bind(this);
+    this.onTimerEvent();
+  },
+
+  stop: function() {
+    this.updater.options.onComplete = undefined;
+    clearTimeout(this.timer);
+    (this.onComplete || Prototype.emptyFunction).apply(this, arguments);
+  },
+
+  updateComplete: function(request) {
+    if (this.options.decay) {
+      this.decay = (request.responseText == this.lastText ?
+        this.decay * this.options.decay : 1);
+
+      this.lastText = request.responseText;
+    }
+    this.timer = setTimeout(this.onTimerEvent.bind(this),
+      this.decay * this.frequency * 1000);
+  },
+
+  onTimerEvent: function() {
+    this.updater = new Ajax.Updater(this.container, this.url, this.options);
+  }
+});
+function $(element) {
+  if (arguments.length > 1) {
+    for (var i = 0, elements = [], length = arguments.length; i < length; i++)
+      elements.push($(arguments[i]));
+    return elements;
+  }
+  if (typeof element == 'string')
+    element = document.getElementById(element);
+  return Element.extend(element);
+}
+
+if (Prototype.BrowserFeatures.XPath) {
+  document._getElementsByXPath = function(expression, parentElement) {
+    var results = [];
+    var query = document.evaluate(expression, $(parentElement) || document,
+      null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
+    for (var i = 0, length = query.snapshotLength; i < length; i++)
+      results.push(query.snapshotItem(i));
+    return results;
+  };
+}
+
+document.getElementsByClassName = function(className, parentElement) {
+  if (Prototype.BrowserFeatures.XPath) {
+    var q = ".//*[contains(concat(' ', @class, ' '), ' " + className + " ')]";
+    return document._getElementsByXPath(q, parentElement);
+  } else {
+    var children = ($(parentElement) || document.body).getElementsByTagName('*');
+    var elements = [], child;
+    for (var i = 0, length = children.length; i < length; i++) {
+      child = children[i];
+      if (Element.hasClassName(child, className))
+        elements.push(Element.extend(child));
+    }
+    return elements;
+  }
+};
+
+/*--------------------------------------------------------------------------*/
+
+if (!window.Element)
+  var Element = new Object();
+
+Element.extend = function(element) {
+  if (!element || _nativeExtensions || element.nodeType == 3) return element;
+
+  if (!element._extended && element.tagName && element != window) {
+    var methods = Object.clone(Element.Methods), cache = Element.extend.cache;
+
+    if (element.tagName == 'FORM')
+      Object.extend(methods, Form.Methods);
+    if (['INPUT', 'TEXTAREA', 'SELECT'].include(element.tagName))
+      Object.extend(methods, Form.Element.Methods);
+
+    Object.extend(methods, Element.Methods.Simulated);
+
+    for (var property in methods) {
+      var value = methods[property];
+      if (typeof value == 'function' && !(property in element))
+        element[property] = cache.findOrStore(value);
+    }
+  }
+
+  element._extended = true;
+  return element;
+};
+
+Element.extend.cache = {
+  findOrStore: function(value) {
+    return this[value] = this[value] || function() {
+      return value.apply(null, [this].concat($A(arguments)));
+    }
+  }
+};
+
+Element.Methods = {
+  visible: function(element) {
+    return $(element).style.display != 'none';
+  },
+
+  toggle: function(element) {
+    element = $(element);
+    Element[Element.visible(element) ? 'hide' : 'show'](element);
+    return element;
+  },
+
+  hide: function(element) {
+    $(element).style.display = 'none';
+    return element;
+  },
+
+  show: function(element) {
+    $(element).style.display = '';
+    return element;
+  },
+
+  remove: function(element) {
+    element = $(element);
+    element.parentNode.removeChild(element);
+    return element;
+  },
+
+  update: function(element, html) {
+    html = typeof html == 'undefined' ? '' : html.toString();
+    $(element).innerHTML = html.stripScripts();
+    setTimeout(function() {html.evalScripts()}, 10);
+    return element;
+  },
+
+  replace: function(element, html) {
+    element = $(element);
+    html = typeof html == 'undefined' ? '' : html.toString();
+    if (element.outerHTML) {
+      element.outerHTML = html.stripScripts();
+    } else {
+      var range = element.ownerDocument.createRange();
+      range.selectNodeContents(element);
+      element.parentNode.replaceChild(
+        range.createContextualFragment(html.stripScripts()), element);
+    }
+    setTimeout(function() {html.evalScripts()}, 10);
+    return element;
+  },
+
+  inspect: function(element) {
+    element = $(element);
+    var result = '<' + element.tagName.toLowerCase();
+    $H({'id': 'id', 'className': 'class'}).each(function(pair) {
+      var property = pair.first(), attribute = pair.last();
+      var value = (element[property] || '').toString();
+      if (value) result += ' ' + attribute + '=' + value.inspect(true);
+    });
+    return result + '>';
+  },
+
+  recursivelyCollect: function(element, property) {
+    element = $(element);
+    var elements = [];
+    while (element = element[property])
+      if (element.nodeType == 1)
+        elements.push(Element.extend(element));
+    return elements;
+  },
+
+  ancestors: function(element) {
+    return $(element).recursivelyCollect('parentNode');
+  },
+
+  descendants: function(element) {
+    return $A($(element).getElementsByTagName('*'));
+  },
+
+  immediateDescendants: function(element) {
+    if (!(element = $(element).firstChild)) return [];
+    while (element && element.nodeType != 1) element = element.nextSibling;
+    if (element) return [element].concat($(element).nextSiblings());
+    return [];
+  },
+
+  previousSiblings: function(element) {
+    return $(element).recursivelyCollect('previousSibling');
+  },
+
+  nextSiblings: function(element) {
+    return $(element).recursivelyCollect('nextSibling');
+  },
+
+  siblings: function(element) {
+    element = $(element);
+    return element.previousSiblings().reverse().concat(element.nextSiblings());
+  },
+
+  match: function(element, selector) {
+    if (typeof selector == 'string')
+      selector = new Selector(selector);
+    return selector.match($(element));
+  },
+
+  up: function(element, expression, index) {
+    return Selector.findElement($(element).ancestors(), expression, index);
+  },
+
+  down: function(element, expression, index) {
+    return Selector.findElement($(element).descendants(), expression, index);
+  },
+
+  previous: function(element, expression, index) {
+    return Selector.findElement($(element).previousSiblings(), expression, index);
+  },
+
+  next: function(element, expression, index) {
+    return Selector.findElement($(element).nextSiblings(), expression, index);
+  },
+
+  getElementsBySelector: function() {
+    var args = $A(arguments), element = $(args.shift());
+    return Selector.findChildElements(element, args);
+  },
+
+  getElementsByClassName: function(element, className) {
+    return document.getElementsByClassName(className, element);
+  },
+
+  readAttribute: function(element, name) {
+    element = $(element);
+    if (document.all && !window.opera) {
+      var t = Element._attributeTranslations;
+      if (t.values[name]) return t.values[name](element, name);
+      if (t.names[name])  name = t.names[name];
+      var attribute = element.attributes[name];
+      if(attribute) return attribute.nodeValue;
+    }
+    return element.getAttribute(name);
+  },
+
+  getHeight: function(element) {
+    return $(element).getDimensions().height;
+  },
+
+  getWidth: function(element) {
+    return $(element).getDimensions().width;
+  },
+
+  classNames: function(element) {
+    return new Element.ClassNames(element);
+  },
+
+  hasClassName: function(element, className) {
+    if (!(element = $(element))) return;
+    var elementClassName = element.className;
+    if (elementClassName.length == 0) return false;
+    if (elementClassName == className ||
+        elementClassName.match(new RegExp("(^|\\s)" + className + "(\\s|$)")))
+      return true;
+    return false;
+  },
+
+  addClassName: function(element, className) {
+    if (!(element = $(element))) return;
+    Element.classNames(element).add(className);
+    return element;
+  },
+
+  removeClassName: function(element, className) {
+    if (!(element = $(element))) return;
+    Element.classNames(element).remove(className);
+    return element;
+  },
+
+  toggleClassName: function(element, className) {
+    if (!(element = $(element))) return;
+    Element.classNames(element)[element.hasClassName(className) ? 'remove' : 'add'](className);
+    return element;
+  },
+
+  observe: function() {
+    Event.observe.apply(Event, arguments);
+    return $A(arguments).first();
+  },
+
+  stopObserving: function() {
+    Event.stopObserving.apply(Event, arguments);
+    return $A(arguments).first();
+  },
+
+  // removes whitespace-only text node children
+  cleanWhitespace: function(element) {
+    element = $(element);
+    var node = element.firstChild;
+    while (node) {
+      var nextNode = node.nextSibling;
+      if (node.nodeType == 3 && !/\S/.test(node.nodeValue))
+        element.removeChild(node);
+      node = nextNode;
+    }
+    return element;
+  },
+
+  empty: function(element) {
+    return $(element).innerHTML.match(/^\s*$/);
+  },
+
+  descendantOf: function(element, ancestor) {
+    element = $(element), ancestor = $(ancestor);
+    while (element = element.parentNode)
+      if (element == ancestor) return true;
+    return false;
+  },
+
+  scrollTo: function(element) {
+    element = $(element);
+    var pos = Position.cumulativeOffset(element);
+    window.scrollTo(pos[0], pos[1]);
+    return element;
+  },
+
+  getStyle: function(element, style) {
+    element = $(element);
+    if (['float','cssFloat'].include(style))
+      style = (typeof element.style.styleFloat != 'undefined' ? 'styleFloat' : 'cssFloat');
+    style = style.camelize();
+    var value = element.style[style];
+    if (!value) {
+      if (document.defaultView && document.defaultView.getComputedStyle) {
+        var css = document.defaultView.getComputedStyle(element, null);
+        value = css ? css[style] : null;
+      } else if (element.currentStyle) {
+        value = element.currentStyle[style];
+      }
+    }
+
+    if((value == 'auto') && ['width','height'].include(style) && (element.getStyle('display') != 'none'))
+      value = element['offset'+style.capitalize()] + 'px';
+
+    if (window.opera && ['left', 'top', 'right', 'bottom'].include(style))
+      if (Element.getStyle(element, 'position') == 'static') value = 'auto';
+    if(style == 'opacity') {
+      if(value) return parseFloat(value);
+      if(value = (element.getStyle('filter') || '').match(/alpha\(opacity=(.*)\)/))
+        if(value[1]) return parseFloat(value[1]) / 100;
+      return 1.0;
+    }
+    return value == 'auto' ? null : value;
+  },
+
+  setStyle: function(element, style) {
+    element = $(element);
+    for (var name in style) {
+      var value = style[name];
+      if(name == 'opacity') {
+        if (value == 1) {
+          value = (/Gecko/.test(navigator.userAgent) &&
+            !/Konqueror|Safari|KHTML/.test(navigator.userAgent)) ? 0.999999 : 1.0;
+          if(/MSIE/.test(navigator.userAgent) && !window.opera)
+            element.style.filter = element.getStyle('filter').replace(/alpha\([^\)]*\)/gi,'');
+        } else if(value === '') {
+          if(/MSIE/.test(navigator.userAgent) && !window.opera)
+            element.style.filter = element.getStyle('filter').replace(/alpha\([^\)]*\)/gi,'');
+        } else {
+          if(value < 0.00001) value = 0;
+          if(/MSIE/.test(navigator.userAgent) && !window.opera)
+            element.style.filter = element.getStyle('filter').replace(/alpha\([^\)]*\)/gi,'') +
+              'alpha(opacity='+value*100+')';
+        }
+      } else if(['float','cssFloat'].include(name)) name = (typeof element.style.styleFloat != 'undefined') ? 'styleFloat' : 'cssFloat';
+      element.style[name.camelize()] = value;
+    }
+    return element;
+  },
+
+  getDimensions: function(element) {
+    element = $(element);
+    var display = $(element).getStyle('display');
+    if (display != 'none' && display != null) // Safari bug
+      return {width: element.offsetWidth, height: element.offsetHeight};
+
+    // All *Width and *Height properties give 0 on elements with display none,
+    // so enable the element temporarily
+    var els = element.style;
+    var originalVisibility = els.visibility;
+    var originalPosition = els.position;
+    var originalDisplay = els.display;
+    els.visibility = 'hidden';
+    els.position = 'absolute';
+    els.display = 'block';
+    var originalWidth = element.clientWidth;
+    var originalHeight = element.clientHeight;
+    els.display = originalDisplay;
+    els.position = originalPosition;
+    els.visibility = originalVisibility;
+    return {width: originalWidth, height: originalHeight};
+  },
+
+  makePositioned: function(element) {
+    element = $(element);
+    var pos = Element.getStyle(element, 'position');
+    if (pos == 'static' || !pos) {
+      element._madePositioned = true;
+      element.style.position = 'relative';
+      // Opera returns the offset relative to the positioning context, when an
+      // element is position relative but top and left have not been defined
+      if (window.opera) {
+        element.style.top = 0;
+        element.style.left = 0;
+      }
+    }
+    return element;
+  },
+
+  undoPositioned: function(element) {
+    element = $(element);
+    if (element._madePositioned) {
+      element._madePositioned = undefined;
+      element.style.position =
+        element.style.top =
+        element.style.left =
+        element.style.bottom =
+        element.style.right = '';
+    }
+    return element;
+  },
+
+  makeClipping: function(element) {
+    element = $(element);
+    if (element._overflow) return element;
+    element._overflow = element.style.overflow || 'auto';
+    if ((Element.getStyle(element, 'overflow') || 'visible') != 'hidden')
+      element.style.overflow = 'hidden';
+    return element;
+  },
+
+  undoClipping: function(element) {
+    element = $(element);
+    if (!element._overflow) return element;
+    element.style.overflow = element._overflow == 'auto' ? '' : element._overflow;
+    element._overflow = null;
+    return element;
+  }
+};
+
+Object.extend(Element.Methods, {childOf: Element.Methods.descendantOf});
+
+Element._attributeTranslations = {};
+
+Element._attributeTranslations.names = {
+  colspan:   "colSpan",
+  rowspan:   "rowSpan",
+  valign:    "vAlign",
+  datetime:  "dateTime",
+  accesskey: "accessKey",
+  tabindex:  "tabIndex",
+  enctype:   "encType",
+  maxlength: "maxLength",
+  readonly:  "readOnly",
+  longdesc:  "longDesc"
+};
+
+Element._attributeTranslations.values = {
+  _getAttr: function(element, attribute) {
+    return element.getAttribute(attribute, 2);
+  },
+
+  _flag: function(element, attribute) {
+    return $(element).hasAttribute(attribute) ? attribute : null;
+  },
+
+  style: function(element) {
+    return element.style.cssText.toLowerCase();
+  },
+
+  title: function(element) {
+    var node = element.getAttributeNode('title');
+    return node.specified ? node.nodeValue : null;
+  }
+};
+
+Object.extend(Element._attributeTranslations.values, {
+  href: Element._attributeTranslations.values._getAttr,
+  src:  Element._attributeTranslations.values._getAttr,
+  disabled: Element._attributeTranslations.values._flag,
+  checked:  Element._attributeTranslations.values._flag,
+  readonly: Element._attributeTranslations.values._flag,
+  multiple: Element._attributeTranslations.values._flag
+});
+
+Element.Methods.Simulated = {
+  hasAttribute: function(element, attribute) {
+    var t = Element._attributeTranslations;
+    attribute = t.names[attribute] || attribute;
+    return $(element).getAttributeNode(attribute).specified;
+  }
+};
+
+// IE is missing .innerHTML support for TABLE-related elements
+if (document.all && !window.opera){
+  Element.Methods.update = function(element, html) {
+    element = $(element);
+    html = typeof html == 'undefined' ? '' : html.toString();
+    var tagName = element.tagName.toUpperCase();
+    if (['THEAD','TBODY','TR','TD'].include(tagName)) {
+      var div = document.createElement('div');
+      switch (tagName) {
+        case 'THEAD':
+        case 'TBODY':
+          div.innerHTML = '<table><tbody>' +  html.stripScripts() + '</tbody></table>';
+          depth = 2;
+          break;
+        case 'TR':
+          div.innerHTML = '<table><tbody><tr>' +  html.stripScripts() + '</tr></tbody></table>';
+          depth = 3;
+          break;
+        case 'TD':
+          div.innerHTML = '<table><tbody><tr><td>' +  html.stripScripts() + '</td></tr></tbody></table>';
+          depth = 4;
+      }
+      $A(element.childNodes).each(function(node){
+        element.removeChild(node)
+      });
+      depth.times(function(){ div = div.firstChild });
+
+      $A(div.childNodes).each(
+        function(node){ element.appendChild(node) });
+    } else {
+      element.innerHTML = html.stripScripts();
+    }
+    setTimeout(function() {html.evalScripts()}, 10);
+    return element;
+  }
+};
+
+Object.extend(Element, Element.Methods);
+
+var _nativeExtensions = false;
+
+if(/Konqueror|Safari|KHTML/.test(navigator.userAgent))
+  ['', 'Form', 'Input', 'TextArea', 'Select'].each(function(tag) {
+    var className = 'HTML' + tag + 'Element';
+    if(window[className]) return;
+    var klass = window[className] = {};
+    klass.prototype = document.createElement(tag ? tag.toLowerCase() : 'div').__proto__;
+  });
+
+Element.addMethods = function(methods) {
+  Object.extend(Element.Methods, methods || {});
+
+  function copy(methods, destination, onlyIfAbsent) {
+    onlyIfAbsent = onlyIfAbsent || false;
+    var cache = Element.extend.cache;
+    for (var property in methods) {
+      var value = methods[property];
+      if (!onlyIfAbsent || !(property in destination))
+        destination[property] = cache.findOrStore(value);
+    }
+  }
+
+  if (typeof HTMLElement != 'undefined') {
+    copy(Element.Methods, HTMLElement.prototype);
+    copy(Element.Methods.Simulated, HTMLElement.prototype, true);
+    copy(Form.Methods, HTMLFormElement.prototype);
+    [HTMLInputElement, HTMLTextAreaElement, HTMLSelectElement].each(function(klass) {
+      copy(Form.Element.Methods, klass.prototype);
+    });
+    _nativeExtensions = true;
+  }
+}
+
+var Toggle = new Object();
+Toggle.display = Element.toggle;
+
+/*--------------------------------------------------------------------------*/
+
+Abstract.Insertion = function(adjacency) {
+  this.adjacency = adjacency;
+}
+
+Abstract.Insertion.prototype = {
+  initialize: function(element, content) {
+    this.element = $(element);
+    this.content = content.stripScripts();
+
+    if (this.adjacency && this.element.insertAdjacentHTML) {
+      try {
+        this.element.insertAdjacentHTML(this.adjacency, this.content);
+      } catch (e) {
+        var tagName = this.element.tagName.toUpperCase();
+        if (['TBODY', 'TR'].include(tagName)) {
+          this.insertContent(this.contentFromAnonymousTable());
+        } else {
+          throw e;
+        }
+      }
+    } else {
+      this.range = this.element.ownerDocument.createRange();
+      if (this.initializeRange) this.initializeRange();
+      this.insertContent([this.range.createContextualFragment(this.content)]);
+    }
+
+    setTimeout(function() {content.evalScripts()}, 10);
+  },
+
+  contentFromAnonymousTable: function() {
+    var div = document.createElement('div');
+    div.innerHTML = '<table><tbody>' + this.content + '</tbody></table>';
+    return $A(div.childNodes[0].childNodes[0].childNodes);
+  }
+}
+
+var Insertion = new Object();
+
+Insertion.Before = Class.create();
+Insertion.Before.prototype = Object.extend(new Abstract.Insertion('beforeBegin'), {
+  initializeRange: function() {
+    this.range.setStartBefore(this.element);
+  },
+
+  insertContent: function(fragments) {
+    fragments.each((function(fragment) {
+      this.element.parentNode.insertBefore(fragment, this.element);
+    }).bind(this));
+  }
+});
+
+Insertion.Top = Class.create();
+Insertion.Top.prototype = Object.extend(new Abstract.Insertion('afterBegin'), {
+  initializeRange: function() {
+    this.range.selectNodeContents(this.element);
+    this.range.collapse(true);
+  },
+
+  insertContent: function(fragments) {
+    fragments.reverse(false).each((function(fragment) {
+      this.element.insertBefore(fragment, this.element.firstChild);
+    }).bind(this));
+  }
+});
+
+Insertion.Bottom = Class.create();
+Insertion.Bottom.prototype = Object.extend(new Abstract.Insertion('beforeEnd'), {
+  initializeRange: function() {
+    this.range.selectNodeContents(this.element);
+    this.range.collapse(this.element);
+  },
+
+  insertContent: function(fragments) {
+    fragments.each((function(fragment) {
+      this.element.appendChild(fragment);
+    }).bind(this));
+  }
+});
+
+Insertion.After = Class.create();
+Insertion.After.prototype = Object.extend(new Abstract.Insertion('afterEnd'), {
+  initializeRange: function() {
+    this.range.setStartAfter(this.element);
+  },
+
+  insertContent: function(fragments) {
+    fragments.each((function(fragment) {
+      this.element.parentNode.insertBefore(fragment,
+        this.element.nextSibling);
+    }).bind(this));
+  }
+});
+
+/*--------------------------------------------------------------------------*/
+
+Element.ClassNames = Class.create();
+Element.ClassNames.prototype = {
+  initialize: function(element) {
+    this.element = $(element);
+  },
+
+  _each: function(iterator) {
+    this.element.className.split(/\s+/).select(function(name) {
+      return name.length > 0;
+    })._each(iterator);
+  },
+
+  set: function(className) {
+    this.element.className = className;
+  },
+
+  add: function(classNameToAdd) {
+    if (this.include(classNameToAdd)) return;
+    this.set($A(this).concat(classNameToAdd).join(' '));
+  },
+
+  remove: function(classNameToRemove) {
+    if (!this.include(classNameToRemove)) return;
+    this.set($A(this).without(classNameToRemove).join(' '));
+  },
+
+  toString: function() {
+    return $A(this).join(' ');
+  }
+};
+
+Object.extend(Element.ClassNames.prototype, Enumerable);
+var Selector = Class.create();
+Selector.prototype = {
+  initialize: function(expression) {
+    this.params = {classNames: []};
+    this.expression = expression.toString().strip();
+    this.parseExpression();
+    this.compileMatcher();
+  },
+
+  parseExpression: function() {
+    function abort(message) { throw 'Parse error in selector: ' + message; }
+
+    if (this.expression == '')  abort('empty expression');
+
+    var params = this.params, expr = this.expression, match, modifier, clause, rest;
+    while (match = expr.match(/^(.*)\[([a-z0-9_:-]+?)(?:([~\|!]?=)(?:"([^"]*)"|([^\]\s]*)))?\]$/i)) {
+      params.attributes = params.attributes || [];
+      params.attributes.push({name: match[2], operator: match[3], value: match[4] || match[5] || ''});
+      expr = match[1];
+    }
+
+    if (expr == '*') return this.params.wildcard = true;
+
+    while (match = expr.match(/^([^a-z0-9_-])?([a-z0-9_-]+)(.*)/i)) {
+      modifier = match[1], clause = match[2], rest = match[3];
+      switch (modifier) {
+        case '#':       params.id = clause; break;
+        case '.':       params.classNames.push(clause); break;
+        case '':
+        case undefined: params.tagName = clause.toUpperCase(); break;
+        default:        abort(expr.inspect());
+      }
+      expr = rest;
+    }
+
+    if (expr.length > 0) abort(expr.inspect());
+  },
+
+  buildMatchExpression: function() {
+    var params = this.params, conditions = [], clause;
+
+    if (params.wildcard)
+      conditions.push('true');
+    if (clause = params.id)
+      conditions.push('element.readAttribute("id") == ' + clause.inspect());
+    if (clause = params.tagName)
+      conditions.push('element.tagName.toUpperCase() == ' + clause.inspect());
+    if ((clause = params.classNames).length > 0)
+      for (var i = 0, length = clause.length; i < length; i++)
+        conditions.push('element.hasClassName(' + clause[i].inspect() + ')');
+    if (clause = params.attributes) {
+      clause.each(function(attribute) {
+        var value = 'element.readAttribute(' + attribute.name.inspect() + ')';
+        var splitValueBy = function(delimiter) {
+          return value + ' && ' + value + '.split(' + delimiter.inspect() + ')';
+        }
+
+        switch (attribute.operator) {
+          case '=':       conditions.push(value + ' == ' + attribute.value.inspect()); break;
+          case '~=':      conditions.push(splitValueBy(' ') + '.include(' + attribute.value.inspect() + ')'); break;
+          case '|=':      conditions.push(
+                            splitValueBy('-') + '.first().toUpperCase() == ' + attribute.value.toUpperCase().inspect()
+                          ); break;
+          case '!=':      conditions.push(value + ' != ' + attribute.value.inspect()); break;
+          case '':
+          case undefined: conditions.push('element.hasAttribute(' + attribute.name.inspect() + ')'); break;
+          default:        throw 'Unknown operator ' + attribute.operator + ' in selector';
+        }
+      });
+    }
+
+    return conditions.join(' && ');
+  },
+
+  compileMatcher: function() {
+    this.match = new Function('element', 'if (!element.tagName) return false; \
+      element = $(element); \
+      return ' + this.buildMatchExpression());
+  },
+
+  findElements: function(scope) {
+    var element;
+
+    if (element = $(this.params.id))
+      if (this.match(element))
+        if (!scope || Element.childOf(element, scope))
+          return [element];
+
+    scope = (scope || document).getElementsByTagName(this.params.tagName || '*');
+
+    var results = [];
+    for (var i = 0, length = scope.length; i < length; i++)
+      if (this.match(element = scope[i]))
+        results.push(Element.extend(element));
+
+    return results;
+  },
+
+  toString: function() {
+    return this.expression;
+  }
+}
+
+Object.extend(Selector, {
+  matchElements: function(elements, expression) {
+    var selector = new Selector(expression);
+    return elements.select(selector.match.bind(selector)).map(Element.extend);
+  },
+
+  findElement: function(elements, expression, index) {
+    if (typeof expression == 'number') index = expression, expression = false;
+    return Selector.matchElements(elements, expression || '*')[index || 0];
+  },
+
+  findChildElements: function(element, expressions) {
+    return expressions.map(function(expression) {
+      return expression.match(/[^\s"]+(?:"[^"]*"[^\s"]+)*/g).inject([null], function(results, expr) {
+        var selector = new Selector(expr);
+        return results.inject([], function(elements, result) {
+          return elements.concat(selector.findElements(result || element));
+        });
+      });
+    }).flatten();
+  }
+});
+
+function $$() {
+  return Selector.findChildElements(document, $A(arguments));
+}
+var Form = {
+  reset: function(form) {
+    $(form).reset();
+    return form;
+  },
+
+  serializeElements: function(elements, getHash) {
+    var data = elements.inject({}, function(result, element) {
+      if (!element.disabled && element.name) {
+        var key = element.name, value = $(element).getValue();
+        if (value != undefined) {
+          if (result[key]) {
+            if (result[key].constructor != Array) result[key] = [result[key]];
+            result[key].push(value);
+          }
+          else result[key] = value;
+        }
+      }
+      return result;
+    });
+
+    return getHash ? data : Hash.toQueryString(data);
+  }
+};
+
+Form.Methods = {
+  serialize: function(form, getHash) {
+    return Form.serializeElements(Form.getElements(form), getHash);
+  },
+
+  getElements: function(form) {
+    return $A($(form).getElementsByTagName('*')).inject([],
+      function(elements, child) {
+        if (Form.Element.Serializers[child.tagName.toLowerCase()])
+          elements.push(Element.extend(child));
+        return elements;
+      }
+    );
+  },
+
+  getInputs: function(form, typeName, name) {
+    form = $(form);
+    var inputs = form.getElementsByTagName('input');
+
+    if (!typeName && !name) return $A(inputs).map(Element.extend);
+
+    for (var i = 0, matchingInputs = [], length = inputs.length; i < length; i++) {
+      var input = inputs[i];
+      if ((typeName && input.type != typeName) || (name && input.name != name))
+        continue;
+      matchingInputs.push(Element.extend(input));
+    }
+
+    return matchingInputs;
+  },
+
+  disable: function(form) {
+    form = $(form);
+    form.getElements().each(function(element) {
+      element.blur();
+      element.disabled = 'true';
+    });
+    return form;
+  },
+
+  enable: function(form) {
+    form = $(form);
+    form.getElements().each(function(element) {
+      element.disabled = '';
+    });
+    return form;
+  },
+
+  findFirstElement: function(form) {
+    return $(form).getElements().find(function(element) {
+      return element.type != 'hidden' && !element.disabled &&
+        ['input', 'select', 'textarea'].include(element.tagName.toLowerCase());
+    });
+  },
+
+  focusFirstElement: function(form) {
+    form = $(form);
+    form.findFirstElement().activate();
+    return form;
+  }
+}
+
+Object.extend(Form, Form.Methods);
+
+/*--------------------------------------------------------------------------*/
+
+Form.Element = {
+  focus: function(element) {
+    $(element).focus();
+    return element;
+  },
+
+  select: function(element) {
+    $(element).select();
+    return element;
+  }
+}
+
+Form.Element.Methods = {
+  serialize: function(element) {
+    element = $(element);
+    if (!element.disabled && element.name) {
+      var value = element.getValue();
+      if (value != undefined) {
+        var pair = {};
+        pair[element.name] = value;
+        return Hash.toQueryString(pair);
+      }
+    }
+    return '';
+  },
+
+  getValue: function(element) {
+    element = $(element);
+    var method = element.tagName.toLowerCase();
+    return Form.Element.Serializers[method](element);
+  },
+
+  clear: function(element) {
+    $(element).value = '';
+    return element;
+  },
+
+  present: function(element) {
+    return $(element).value != '';
+  },
+
+  activate: function(element) {
+    element = $(element);
+    element.focus();
+    if (element.select && ( element.tagName.toLowerCase() != 'input' ||
+      !['button', 'reset', 'submit'].include(element.type) ) )
+      element.select();
+    return element;
+  },
+
+  disable: function(element) {
+    element = $(element);
+    element.disabled = true;
+    return element;
+  },
+
+  enable: function(element) {
+    element = $(element);
+    element.blur();
+    element.disabled = false;
+    return element;
+  }
+}
+
+Object.extend(Form.Element, Form.Element.Methods);
+var Field = Form.Element;
+var $F = Form.Element.getValue;
+
+/*--------------------------------------------------------------------------*/
+
+Form.Element.Serializers = {
+  input: function(element) {
+    switch (element.type.toLowerCase()) {
+      case 'checkbox':
+      case 'radio':
+        return Form.Element.Serializers.inputSelector(element);
+      default:
+        return Form.Element.Serializers.textarea(element);
+    }
+  },
+
+  inputSelector: function(element) {
+    return element.checked ? element.value : null;
+  },
+
+  textarea: function(element) {
+    return element.value;
+  },
+
+  select: function(element) {
+    return this[element.type == 'select-one' ?
+      'selectOne' : 'selectMany'](element);
+  },
+
+  selectOne: function(element) {
+    var index = element.selectedIndex;
+    return index >= 0 ? this.optionValue(element.options[index]) : null;
+  },
+
+  selectMany: function(element) {
+    var values, length = element.length;
+    if (!length) return null;
+
+    for (var i = 0, values = []; i < length; i++) {
+      var opt = element.options[i];
+      if (opt.selected) values.push(this.optionValue(opt));
+    }
+    return values;
+  },
+
+  optionValue: function(opt) {
+    // extend element because hasAttribute may not be native
+    return Element.extend(opt).hasAttribute('value') ? opt.value : opt.text;
+  }
+}
+
+/*--------------------------------------------------------------------------*/
+
+Abstract.TimedObserver = function() {}
+Abstract.TimedObserver.prototype = {
+  initialize: function(element, frequency, callback) {
+    this.frequency = frequency;
+    this.element   = $(element);
+    this.callback  = callback;
+
+    this.lastValue = this.getValue();
+    this.registerCallback();
+  },
+
+  registerCallback: function() {
+    setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
+  },
+
+  onTimerEvent: function() {
+    var value = this.getValue();
+    var changed = ('string' == typeof this.lastValue && 'string' == typeof value
+      ? this.lastValue != value : String(this.lastValue) != String(value));
+    if (changed) {
+      this.callback(this.element, value);
+      this.lastValue = value;
+    }
+  }
+}
+
+Form.Element.Observer = Class.create();
+Form.Element.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {
+  getValue: function() {
+    return Form.Element.getValue(this.element);
+  }
+});
+
+Form.Observer = Class.create();
+Form.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {
+  getValue: function() {
+    return Form.serialize(this.element);
+  }
+});
+
+/*--------------------------------------------------------------------------*/
+
+Abstract.EventObserver = function() {}
+Abstract.EventObserver.prototype = {
+  initialize: function(element, callback) {
+    this.element  = $(element);
+    this.callback = callback;
+
+    this.lastValue = this.getValue();
+    if (this.element.tagName.toLowerCase() == 'form')
+      this.registerFormCallbacks();
+    else
+      this.registerCallback(this.element);
+  },
+
+  onElementEvent: function() {
+    var value = this.getValue();
+    if (this.lastValue != value) {
+      this.callback(this.element, value);
+      this.lastValue = value;
+    }
+  },
+
+  registerFormCallbacks: function() {
+    Form.getElements(this.element).each(this.registerCallback.bind(this));
+  },
+
+  registerCallback: function(element) {
+    if (element.type) {
+      switch (element.type.toLowerCase()) {
+        case 'checkbox':
+        case 'radio':
+          Event.observe(element, 'click', this.onElementEvent.bind(this));
+          break;
+        default:
+          Event.observe(element, 'change', this.onElementEvent.bind(this));
+          break;
+      }
+    }
+  }
+}
+
+Form.Element.EventObserver = Class.create();
+Form.Element.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {
+  getValue: function() {
+    return Form.Element.getValue(this.element);
+  }
+});
+
+Form.EventObserver = Class.create();
+Form.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {
+  getValue: function() {
+    return Form.serialize(this.element);
+  }
+});
+if (!window.Event) {
+  var Event = new Object();
+}
+
+Object.extend(Event, {
+  KEY_BACKSPACE: 8,
+  KEY_TAB:       9,
+  KEY_RETURN:   13,
+  KEY_ESC:      27,
+  KEY_LEFT:     37,
+  KEY_UP:       38,
+  KEY_RIGHT:    39,
+  KEY_DOWN:     40,
+  KEY_DELETE:   46,
+  KEY_HOME:     36,
+  KEY_END:      35,
+  KEY_PAGEUP:   33,
+  KEY_PAGEDOWN: 34,
+
+  element: function(event) {
+    return event.target || event.srcElement;
+  },
+
+  isLeftClick: function(event) {
+    return (((event.which) && (event.which == 1)) ||
+            ((event.button) && (event.button == 1)));
+  },
+
+  pointerX: function(event) {
+    return event.pageX || (event.clientX +
+      (document.documentElement.scrollLeft || document.body.scrollLeft));
+  },
+
+  pointerY: function(event) {
+    return event.pageY || (event.clientY +
+      (document.documentElement.scrollTop || document.body.scrollTop));
+  },
+
+  stop: function(event) {
+    if (event.preventDefault) {
+      event.preventDefault();
+      event.stopPropagation();
+    } else {
+      event.returnValue = false;
+      event.cancelBubble = true;
+    }
+  },
+
+  // find the first node with the given tagName, starting from the
+  // node the event was triggered on; traverses the DOM upwards
+  findElement: function(event, tagName) {
+    var element = Event.element(event);
+    while (element.parentNode && (!element.tagName ||
+        (element.tagName.toUpperCase() != tagName.toUpperCase())))
+      element = element.parentNode;
+    return element;
+  },
+
+  observers: false,
+
+  _observeAndCache: function(element, name, observer, useCapture) {
+    if (!this.observers) this.observers = [];
+    if (element.addEventListener) {
+      this.observers.push([element, name, observer, useCapture]);
+      element.addEventListener(name, observer, useCapture);
+    } else if (element.attachEvent) {
+      this.observers.push([element, name, observer, useCapture]);
+      element.attachEvent('on' + name, observer);
+    }
+  },
+
+  unloadCache: function() {
+    if (!Event.observers) return;
+    for (var i = 0, length = Event.observers.length; i < length; i++) {
+      Event.stopObserving.apply(this, Event.observers[i]);
+      Event.observers[i][0] = null;
+    }
+    Event.observers = false;
+  },
+
+  observe: function(element, name, observer, useCapture) {
+    element = $(element);
+    useCapture = useCapture || false;
+
+    if (name == 'keypress' &&
+        (navigator.appVersion.match(/Konqueror|Safari|KHTML/)
+        || element.attachEvent))
+      name = 'keydown';
+
+    Event._observeAndCache(element, name, observer, useCapture);
+  },
+
+  stopObserving: function(element, name, observer, useCapture) {
+    element = $(element);
+    useCapture = useCapture || false;
+
+    if (name == 'keypress' &&
+        (navigator.appVersion.match(/Konqueror|Safari|KHTML/)
+        || element.detachEvent))
+      name = 'keydown';
+
+    if (element.removeEventListener) {
+      element.removeEventListener(name, observer, useCapture);
+    } else if (element.detachEvent) {
+      try {
+        element.detachEvent('on' + name, observer);
+      } catch (e) {}
+    }
+  }
+});
+
+/* prevent memory leaks in IE */
+if (navigator.appVersion.match(/\bMSIE\b/))
+  Event.observe(window, 'unload', Event.unloadCache, false);
+var Position = {
+  // set to true if needed, warning: firefox performance problems
+  // NOT neeeded for page scrolling, only if draggable contained in
+  // scrollable elements
+  includeScrollOffsets: false,
+
+  // must be called before calling withinIncludingScrolloffset, every time the
+  // page is scrolled
+  prepare: function() {
+    this.deltaX =  window.pageXOffset
+                || document.documentElement.scrollLeft
+                || document.body.scrollLeft
+                || 0;
+    this.deltaY =  window.pageYOffset
+                || document.documentElement.scrollTop
+                || document.body.scrollTop
+                || 0;
+  },
+
+  realOffset: function(element) {
+    var valueT = 0, valueL = 0;
+    do {
+      valueT += element.scrollTop  || 0;
+      valueL += element.scrollLeft || 0;
+      element = element.parentNode;
+    } while (element);
+    return [valueL, valueT];
+  },
+
+  cumulativeOffset: function(element) {
+    var valueT = 0, valueL = 0;
+    do {
+      valueT += element.offsetTop  || 0;
+      valueL += element.offsetLeft || 0;
+      element = element.offsetParent;
+    } while (element);
+    return [valueL, valueT];
+  },
+
+  positionedOffset: function(element) {
+    var valueT = 0, valueL = 0;
+    do {
+      valueT += element.offsetTop  || 0;
+      valueL += element.offsetLeft || 0;
+      element = element.offsetParent;
+      if (element) {
+        if(element.tagName=='BODY') break;
+        var p = Element.getStyle(element, 'position');
+        if (p == 'relative' || p == 'absolute') break;
+      }
+    } while (element);
+    return [valueL, valueT];
+  },
+
+  offsetParent: function(element) {
+    if (element.offsetParent) return element.offsetParent;
+    if (element == document.body) return element;
+
+    while ((element = element.parentNode) && element != document.body)
+      if (Element.getStyle(element, 'position') != 'static')
+        return element;
+
+    return document.body;
+  },
+
+  // caches x/y coordinate pair to use with overlap
+  within: function(element, x, y) {
+    if (this.includeScrollOffsets)
+      return this.withinIncludingScrolloffsets(element, x, y);
+    this.xcomp = x;
+    this.ycomp = y;
+    this.offset = this.cumulativeOffset(element);
+
+    return (y >= this.offset[1] &&
+            y <  this.offset[1] + element.offsetHeight &&
+            x >= this.offset[0] &&
+            x <  this.offset[0] + element.offsetWidth);
+  },
+
+  withinIncludingScrolloffsets: function(element, x, y) {
+    var offsetcache = this.realOffset(element);
+
+    this.xcomp = x + offsetcache[0] - this.deltaX;
+    this.ycomp = y + offsetcache[1] - this.deltaY;
+    this.offset = this.cumulativeOffset(element);
+
+    return (this.ycomp >= this.offset[1] &&
+            this.ycomp <  this.offset[1] + element.offsetHeight &&
+            this.xcomp >= this.offset[0] &&
+            this.xcomp <  this.offset[0] + element.offsetWidth);
+  },
+
+  // within must be called directly before
+  overlap: function(mode, element) {
+    if (!mode) return 0;
+    if (mode == 'vertical')
+      return ((this.offset[1] + element.offsetHeight) - this.ycomp) /
+        element.offsetHeight;
+    if (mode == 'horizontal')
+      return ((this.offset[0] + element.offsetWidth) - this.xcomp) /
+        element.offsetWidth;
+  },
+
+  page: function(forElement) {
+    var valueT = 0, valueL = 0;
+
+    var element = forElement;
+    do {
+      valueT += element.offsetTop  || 0;
+      valueL += element.offsetLeft || 0;
+
+      // Safari fix
+      if (element.offsetParent==document.body)
+        if (Element.getStyle(element,'position')=='absolute') break;
+
+    } while (element = element.offsetParent);
+
+    element = forElement;
+    do {
+      if (!window.opera || element.tagName=='BODY') {
+        valueT -= element.scrollTop  || 0;
+        valueL -= element.scrollLeft || 0;
+      }
+    } while (element = element.parentNode);
+
+    return [valueL, valueT];
+  },
+
+  clone: function(source, target) {
+    var options = Object.extend({
+      setLeft:    true,
+      setTop:     true,
+      setWidth:   true,
+      setHeight:  true,
+      offsetTop:  0,
+      offsetLeft: 0
+    }, arguments[2] || {})
+
+    // find page position of source
+    source = $(source);
+    var p = Position.page(source);
+
+    // find coordinate system to use
+    target = $(target);
+    var delta = [0, 0];
+    var parent = null;
+    // delta [0,0] will do fine with position: fixed elements,
+    // position:absolute needs offsetParent deltas
+    if (Element.getStyle(target,'position') == 'absolute') {
+      parent = Position.offsetParent(target);
+      delta = Position.page(parent);
+    }
+
+    // correct by body offsets (fixes Safari)
+    if (parent == document.body) {
+      delta[0] -= document.body.offsetLeft;
+      delta[1] -= document.body.offsetTop;
+    }
+
+    // set position
+    if(options.setLeft)   target.style.left  = (p[0] - delta[0] + options.offsetLeft) + 'px';
+    if(options.setTop)    target.style.top   = (p[1] - delta[1] + options.offsetTop) + 'px';
+    if(options.setWidth)  target.style.width = source.offsetWidth + 'px';
+    if(options.setHeight) target.style.height = source.offsetHeight + 'px';
+  },
+
+  absolutize: function(element) {
+    element = $(element);
+    if (element.style.position == 'absolute') return;
+    Position.prepare();
+
+    var offsets = Position.positionedOffset(element);
+    var top     = offsets[1];
+    var left    = offsets[0];
+    var width   = element.clientWidth;
+    var height  = element.clientHeight;
+
+    element._originalLeft   = left - parseFloat(element.style.left  || 0);
+    element._originalTop    = top  - parseFloat(element.style.top || 0);
+    element._originalWidth  = element.style.width;
+    element._originalHeight = element.style.height;
+
+    element.style.position = 'absolute';
+    element.style.top    = top + 'px';
+    element.style.left   = left + 'px';
+    element.style.width  = width + 'px';
+    element.style.height = height + 'px';
+  },
+
+  relativize: function(element) {
+    element = $(element);
+    if (element.style.position == 'relative') return;
+    Position.prepare();
+
+    element.style.position = 'relative';
+    var top  = parseFloat(element.style.top  || 0) - (element._originalTop || 0);
+    var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0);
+
+    element.style.top    = top + 'px';
+    element.style.left   = left + 'px';
+    element.style.height = element._originalHeight;
+    element.style.width  = element._originalWidth;
+  }
+}
+
+// Safari returns margins on body which is incorrect if the child is absolutely
+// positioned.  For performance reasons, redefine Position.cumulativeOffset for
+// KHTML/WebKit only.
+if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) {
+  Position.cumulativeOffset = function(element) {
+    var valueT = 0, valueL = 0;
+    do {
+      valueT += element.offsetTop  || 0;
+      valueL += element.offsetLeft || 0;
+      if (element.offsetParent == document.body)
+        if (Element.getStyle(element, 'position') == 'absolute') break;
+
+      element = element.offsetParent;
+    } while (element);
+
+    return [valueL, valueT];
+  }
+}
+
+Element.addMethods();
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/scriptaculous.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/scriptaculous.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/scriptaculous.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,51 @@
+// script.aculo.us scriptaculous.js v1.7.0, Fri Jan 19 19:16:36 CET 2007
+
+// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+// 
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+var Scriptaculous = {
+  Version: '1.7.0',
+  require: function(libraryName) {
+    // inserting via DOM fails in Safari 2.0, so brute force approach
+    document.write('<script type="text/javascript" src="'+libraryName+'"></script>');
+  },
+  load: function() {
+    if((typeof Prototype=='undefined') || 
+       (typeof Element == 'undefined') || 
+       (typeof Element.Methods=='undefined') ||
+       parseFloat(Prototype.Version.split(".")[0] + "." +
+                  Prototype.Version.split(".")[1]) < 1.5)
+       throw("script.aculo.us requires the Prototype JavaScript framework >= 1.5.0");
+    
+    $A(document.getElementsByTagName("script")).findAll( function(s) {
+      return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
+    }).each( function(s) {
+      var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
+      var includes = s.src.match(/\?.*load=([a-z,]*)/);
+      (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider').split(',').each(
+       function(include) { Scriptaculous.require(path+include+'.js') });
+    });
+  }
+}
+
+Scriptaculous.load();
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/slider.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/slider.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/slider.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,278 @@
+// script.aculo.us slider.js v1.7.0, Fri Jan 19 19:16:36 CET 2007
+
+// Copyright (c) 2005, 2006 Marty Haught, Thomas Fuchs 
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+if(!Control) var Control = {};
+Control.Slider = Class.create();
+
+// options:
+//  axis: 'vertical', or 'horizontal' (default)
+//
+// callbacks:
+//  onChange(value)
+//  onSlide(value)
+Control.Slider.prototype = {
+  initialize: function(handle, track, options) {
+    var slider = this;
+    
+    if(handle instanceof Array) {
+      this.handles = handle.collect( function(e) { return $(e) });
+    } else {
+      this.handles = [$(handle)];
+    }
+    
+    this.track   = $(track);
+    this.options = options || {};
+
+    this.axis      = this.options.axis || 'horizontal';
+    this.increment = this.options.increment || 1;
+    this.step      = parseInt(this.options.step || '1');
+    this.range     = this.options.range || $R(0,1);
+    
+    this.value     = 0; // assure backwards compat
+    this.values    = this.handles.map( function() { return 0 });
+    this.spans     = this.options.spans ? this.options.spans.map(function(s){ return $(s) }) : false;
+    this.options.startSpan = $(this.options.startSpan || null);
+    this.options.endSpan   = $(this.options.endSpan || null);
+
+    this.restricted = this.options.restricted || false;
+
+    this.maximum   = this.options.maximum || this.range.end;
+    this.minimum   = this.options.minimum || this.range.start;
+
+    // Will be used to align the handle onto the track, if necessary
+    this.alignX = parseInt(this.options.alignX || '0');
+    this.alignY = parseInt(this.options.alignY || '0');
+    
+    this.trackLength = this.maximumOffset() - this.minimumOffset();
+
+    this.handleLength = this.isVertical() ? 
+      (this.handles[0].offsetHeight != 0 ? 
+        this.handles[0].offsetHeight : this.handles[0].style.height.replace(/px$/,"")) : 
+      (this.handles[0].offsetWidth != 0 ? this.handles[0].offsetWidth : 
+        this.handles[0].style.width.replace(/px$/,""));
+
+    this.active   = false;
+    this.dragging = false;
+    this.disabled = false;
+
+    if(this.options.disabled) this.setDisabled();
+
+    // Allowed values array
+    this.allowedValues = this.options.values ? this.options.values.sortBy(Prototype.K) : false;
+    if(this.allowedValues) {
+      this.minimum = this.allowedValues.min();
+      this.maximum = this.allowedValues.max();
+    }
+
+    this.eventMouseDown = this.startDrag.bindAsEventListener(this);
+    this.eventMouseUp   = this.endDrag.bindAsEventListener(this);
+    this.eventMouseMove = this.update.bindAsEventListener(this);
+
+    // Initialize handles in reverse (make sure first handle is active)
+    this.handles.each( function(h,i) {
+      i = slider.handles.length-1-i;
+      slider.setValue(parseFloat(
+        (slider.options.sliderValue instanceof Array ? 
+          slider.options.sliderValue[i] : slider.options.sliderValue) || 
+         slider.range.start), i);
+      Element.makePositioned(h); // fix IE
+      Event.observe(h, "mousedown", slider.eventMouseDown);
+    });
+    
+    Event.observe(this.track, "mousedown", this.eventMouseDown);
+    Event.observe(document, "mouseup", this.eventMouseUp);
+    Event.observe(document, "mousemove", this.eventMouseMove);
+    
+    this.initialized = true;
+  },
+  dispose: function() {
+    var slider = this;    
+    Event.stopObserving(this.track, "mousedown", this.eventMouseDown);
+    Event.stopObserving(document, "mouseup", this.eventMouseUp);
+    Event.stopObserving(document, "mousemove", this.eventMouseMove);
+    this.handles.each( function(h) {
+      Event.stopObserving(h, "mousedown", slider.eventMouseDown);
+    });
+  },
+  setDisabled: function(){
+    this.disabled = true;
+  },
+  setEnabled: function(){
+    this.disabled = false;
+  },  
+  getNearestValue: function(value){
+    if(this.allowedValues){
+      if(value >= this.allowedValues.max()) return(this.allowedValues.max());
+      if(value <= this.allowedValues.min()) return(this.allowedValues.min());
+      
+      var offset = Math.abs(this.allowedValues[0] - value);
+      var newValue = this.allowedValues[0];
+      this.allowedValues.each( function(v) {
+        var currentOffset = Math.abs(v - value);
+        if(currentOffset <= offset){
+          newValue = v;
+          offset = currentOffset;
+        } 
+      });
+      return newValue;
+    }
+    if(value > this.range.end) return this.range.end;
+    if(value < this.range.start) return this.range.start;
+    return value;
+  },
+  setValue: function(sliderValue, handleIdx){
+    if(!this.active) {
+      this.activeHandleIdx = handleIdx || 0;
+      this.activeHandle    = this.handles[this.activeHandleIdx];
+      this.updateStyles();
+    }
+    handleIdx = handleIdx || this.activeHandleIdx || 0;
+    if(this.initialized && this.restricted) {
+      if((handleIdx>0) && (sliderValue<this.values[handleIdx-1]))
+        sliderValue = this.values[handleIdx-1];
+      if((handleIdx < (this.handles.length-1)) && (sliderValue>this.values[handleIdx+1]))
+        sliderValue = this.values[handleIdx+1];
+    }
+    sliderValue = this.getNearestValue(sliderValue);
+    this.values[handleIdx] = sliderValue;
+    this.value = this.values[0]; // assure backwards compat
+    
+    this.handles[handleIdx].style[this.isVertical() ? 'top' : 'left'] = 
+      this.translateToPx(sliderValue);
+    
+    this.drawSpans();
+    if(!this.dragging || !this.event) this.updateFinished();
+  },
+  setValueBy: function(delta, handleIdx) {
+    this.setValue(this.values[handleIdx || this.activeHandleIdx || 0] + delta, 
+      handleIdx || this.activeHandleIdx || 0);
+  },
+  translateToPx: function(value) {
+    return Math.round(
+      ((this.trackLength-this.handleLength)/(this.range.end-this.range.start)) * 
+      (value - this.range.start)) + "px";
+  },
+  translateToValue: function(offset) {
+    return ((offset/(this.trackLength-this.handleLength) * 
+      (this.range.end-this.range.start)) + this.range.start);
+  },
+  getRange: function(range) {
+    var v = this.values.sortBy(Prototype.K); 
+    range = range || 0;
+    return $R(v[range],v[range+1]);
+  },
+  minimumOffset: function(){
+    return(this.isVertical() ? this.alignY : this.alignX);
+  },
+  maximumOffset: function(){
+    return(this.isVertical() ? 
+      (this.track.offsetHeight != 0 ? this.track.offsetHeight :
+        this.track.style.height.replace(/px$/,"")) - this.alignY : 
+      (this.track.offsetWidth != 0 ? this.track.offsetWidth : 
+        this.track.style.width.replace(/px$/,"")) - this.alignY);
+  },  
+  isVertical:  function(){
+    return (this.axis == 'vertical');
+  },
+  drawSpans: function() {
+    var slider = this;
+    if(this.spans)
+      $R(0, this.spans.length-1).each(function(r) { slider.setSpan(slider.spans[r], slider.getRange(r)) });
+    if(this.options.startSpan)
+      this.setSpan(this.options.startSpan,
+        $R(0, this.values.length>1 ? this.getRange(0).min() : this.value ));
+    if(this.options.endSpan)
+      this.setSpan(this.options.endSpan, 
+        $R(this.values.length>1 ? this.getRange(this.spans.length-1).max() : this.value, this.maximum));
+  },
+  setSpan: function(span, range) {
+    if(this.isVertical()) {
+      span.style.top = this.translateToPx(range.start);
+      span.style.height = this.translateToPx(range.end - range.start + this.range.start);
+    } else {
+      span.style.left = this.translateToPx(range.start);
+      span.style.width = this.translateToPx(range.end - range.start + this.range.start);
+    }
+  },
+  updateStyles: function() {
+    this.handles.each( function(h){ Element.removeClassName(h, 'selected') });
+    Element.addClassName(this.activeHandle, 'selected');
+  },
+  startDrag: function(event) {
+    if(Event.isLeftClick(event)) {
+      if(!this.disabled){
+        this.active = true;
+        
+        var handle = Event.element(event);
+        var pointer  = [Event.pointerX(event), Event.pointerY(event)];
+        var track = handle;
+        if(track==this.track) {
+          var offsets  = Position.cumulativeOffset(this.track); 
+          this.event = event;
+          this.setValue(this.translateToValue( 
+           (this.isVertical() ? pointer[1]-offsets[1] : pointer[0]-offsets[0])-(this.handleLength/2)
+          ));
+          var offsets  = Position.cumulativeOffset(this.activeHandle);
+          this.offsetX = (pointer[0] - offsets[0]);
+          this.offsetY = (pointer[1] - offsets[1]);
+        } else {
+          // find the handle (prevents issues with Safari)
+          while((this.handles.indexOf(handle) == -1) && handle.parentNode) 
+            handle = handle.parentNode;
+            
+          if(this.handles.indexOf(handle)!=-1) {
+            this.activeHandle    = handle;
+            this.activeHandleIdx = this.handles.indexOf(this.activeHandle);
+            this.updateStyles();
+            
+            var offsets  = Position.cumulativeOffset(this.activeHandle);
+            this.offsetX = (pointer[0] - offsets[0]);
+            this.offsetY = (pointer[1] - offsets[1]);
+          }
+        }
+      }
+      Event.stop(event);
+    }
+  },
+  update: function(event) {
+   if(this.active) {
+      if(!this.dragging) this.dragging = true;
+      this.draw(event);
+      // fix AppleWebKit rendering
+      if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);
+      Event.stop(event);
+   }
+  },
+  draw: function(event) {
+    var pointer = [Event.pointerX(event), Event.pointerY(event)];
+    var offsets = Position.cumulativeOffset(this.track);
+    pointer[0] -= this.offsetX + offsets[0];
+    pointer[1] -= this.offsetY + offsets[1];
+    this.event = event;
+    this.setValue(this.translateToValue( this.isVertical() ? pointer[1] : pointer[0] ));
+    if(this.initialized && this.options.onSlide)
+      this.options.onSlide(this.values.length>1 ? this.values : this.value, this);
+  },
+  endDrag: function(event) {
+    if(this.active && this.dragging) {
+      this.finishDrag(event, true);
+      Event.stop(event);
+    }
+    this.active = false;
+    this.dragging = false;
+  },  
+  finishDrag: function(event, success) {
+    this.active = false;
+    this.dragging = false;
+    this.updateFinished();
+  },
+  updateFinished: function() {
+    if(this.initialized && this.options.onChange) 
+      this.options.onChange(this.values.length>1 ? this.values : this.value, this);
+    this.event = null;
+  }
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,19 @@
+/* We need the min-height in order to have a region that is never empty and can receive draggables
+   min-height doees not work on IE6 and the 2 other lines are there to make it work in that situation.
+   32 pixels is the height of the region when it is empty. */ 
+.dnd-region {
+   min-height:32px;
+   height:auto !important;
+   height:32px;
+}
+
+.dnd-handle {
+   cursor: move;
+   overflow: auto;
+}
+
+
+.dnd-droppable {
+   border: red 1px dashed;
+   background-color: Transparent;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/unittest.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/unittest.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-ajax.war/dyna/unittest.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,564 @@
+// script.aculo.us unittest.js v1.7.0, Fri Jan 19 19:16:36 CET 2007
+
+// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+//           (c) 2005, 2006 Jon Tirsen (http://www.tirsen.com)
+//           (c) 2005, 2006 Michael Schuerig (http://www.schuerig.de/michael/)
+//
+// script.aculo.us is freely distributable under the terms of an MIT-style license.
+// For details, see the script.aculo.us web site: http://script.aculo.us/
+
+// experimental, Firefox-only
+Event.simulateMouse = function(element, eventName) {
+  var options = Object.extend({
+    pointerX: 0,
+    pointerY: 0,
+    buttons:  0,
+    ctrlKey:  false,
+    altKey:   false,
+    shiftKey: false,
+    metaKey:  false
+  }, arguments[2] || {});
+  var oEvent = document.createEvent("MouseEvents");
+  oEvent.initMouseEvent(eventName, true, true, document.defaultView, 
+    options.buttons, options.pointerX, options.pointerY, options.pointerX, options.pointerY, 
+    options.ctrlKey, options.altKey, options.shiftKey, options.metaKey, 0, $(element));
+  
+  if(this.mark) Element.remove(this.mark);
+  this.mark = document.createElement('div');
+  this.mark.appendChild(document.createTextNode(" "));
+  document.body.appendChild(this.mark);
+  this.mark.style.position = 'absolute';
+  this.mark.style.top = options.pointerY + "px";
+  this.mark.style.left = options.pointerX + "px";
+  this.mark.style.width = "5px";
+  this.mark.style.height = "5px;";
+  this.mark.style.borderTop = "1px solid red;"
+  this.mark.style.borderLeft = "1px solid red;"
+  
+  if(this.step)
+    alert('['+new Date().getTime().toString()+'] '+eventName+'/'+Test.Unit.inspect(options));
+  
+  $(element).dispatchEvent(oEvent);
+};
+
+// Note: Due to a fix in Firefox 1.0.5/6 that probably fixed "too much", this doesn't work in 1.0.6 or DP2.
+// You need to downgrade to 1.0.4 for now to get this working
+// See https://bugzilla.mozilla.org/show_bug.cgi?id=289940 for the fix that fixed too much
+Event.simulateKey = function(element, eventName) {
+  var options = Object.extend({
+    ctrlKey: false,
+    altKey: false,
+    shiftKey: false,
+    metaKey: false,
+    keyCode: 0,
+    charCode: 0
+  }, arguments[2] || {});
+
+  var oEvent = document.createEvent("KeyEvents");
+  oEvent.initKeyEvent(eventName, true, true, window, 
+    options.ctrlKey, options.altKey, options.shiftKey, options.metaKey,
+    options.keyCode, options.charCode );
+  $(element).dispatchEvent(oEvent);
+};
+
+Event.simulateKeys = function(element, command) {
+  for(var i=0; i<command.length; i++) {
+    Event.simulateKey(element,'keypress',{charCode:command.charCodeAt(i)});
+  }
+};
+
+var Test = {}
+Test.Unit = {};
+
+// security exception workaround
+Test.Unit.inspect = Object.inspect;
+
+Test.Unit.Logger = Class.create();
+Test.Unit.Logger.prototype = {
+  initialize: function(log) {
+    this.log = $(log);
+    if (this.log) {
+      this._createLogTable();
+    }
+  },
+  start: function(testName) {
+    if (!this.log) return;
+    this.testName = testName;
+    this.lastLogLine = document.createElement('tr');
+    this.statusCell = document.createElement('td');
+    this.nameCell = document.createElement('td');
+    this.nameCell.className = "nameCell";
+    this.nameCell.appendChild(document.createTextNode(testName));
+    this.messageCell = document.createElement('td');
+    this.lastLogLine.appendChild(this.statusCell);
+    this.lastLogLine.appendChild(this.nameCell);
+    this.lastLogLine.appendChild(this.messageCell);
+    this.loglines.appendChild(this.lastLogLine);
+  },
+  finish: function(status, summary) {
+    if (!this.log) return;
+    this.lastLogLine.className = status;
+    this.statusCell.innerHTML = status;
+    this.messageCell.innerHTML = this._toHTML(summary);
+    this.addLinksToResults();
+  },
+  message: function(message) {
+    if (!this.log) return;
+    this.messageCell.innerHTML = this._toHTML(message);
+  },
+  summary: function(summary) {
+    if (!this.log) return;
+    this.logsummary.innerHTML = this._toHTML(summary);
+  },
+  _createLogTable: function() {
+    this.log.innerHTML =
+    '<div id="logsummary"></div>' +
+    '<table id="logtable">' +
+    '<thead><tr><th>Status</th><th>Test</th><th>Message</th></tr></thead>' +
+    '<tbody id="loglines"></tbody>' +
+    '</table>';
+    this.logsummary = $('logsummary')
+    this.loglines = $('loglines');
+  },
+  _toHTML: function(txt) {
+    return txt.escapeHTML().replace(/\n/g,"<br/>");
+  },
+  addLinksToResults: function(){ 
+    $$("tr.failed .nameCell").each( function(td){ // todo: limit to children of this.log
+      td.title = "Run only this test"
+      Event.observe(td, 'click', function(){ window.location.search = "?tests=" + td.innerHTML;});
+    });
+    $$("tr.passed .nameCell").each( function(td){ // todo: limit to children of this.log
+      td.title = "Run all tests"
+      Event.observe(td, 'click', function(){ window.location.search = "";});
+    });
+  }
+}
+
+Test.Unit.Runner = Class.create();
+Test.Unit.Runner.prototype = {
+  initialize: function(testcases) {
+    this.options = Object.extend({
+      testLog: 'testlog'
+    }, arguments[1] || {});
+    this.options.resultsURL = this.parseResultsURLQueryParameter();
+    this.options.tests      = this.parseTestsQueryParameter();
+    if (this.options.testLog) {
+      this.options.testLog = $(this.options.testLog) || null;
+    }
+    if(this.options.tests) {
+      this.tests = [];
+      for(var i = 0; i < this.options.tests.length; i++) {
+        if(/^test/.test(this.options.tests[i])) {
+          this.tests.push(new Test.Unit.Testcase(this.options.tests[i], testcases[this.options.tests[i]], testcases["setup"], testcases["teardown"]));
+        }
+      }
+    } else {
+      if (this.options.test) {
+        this.tests = [new Test.Unit.Testcase(this.options.test, testcases[this.options.test], testcases["setup"], testcases["teardown"])];
+      } else {
+        this.tests = [];
+        for(var testcase in testcases) {
+          if(/^test/.test(testcase)) {
+            this.tests.push(
+               new Test.Unit.Testcase(
+                 this.options.context ? ' -> ' + this.options.titles[testcase] : testcase, 
+                 testcases[testcase], testcases["setup"], testcases["teardown"]
+               ));
+          }
+        }
+      }
+    }
+    this.currentTest = 0;
+    this.logger = new Test.Unit.Logger(this.options.testLog);
+    setTimeout(this.runTests.bind(this), 1000);
+  },
+  parseResultsURLQueryParameter: function() {
+    return window.location.search.parseQuery()["resultsURL"];
+  },
+  parseTestsQueryParameter: function(){
+    if (window.location.search.parseQuery()["tests"]){
+        return window.location.search.parseQuery()["tests"].split(',');
+    };
+  },
+  // Returns:
+  //  "ERROR" if there was an error,
+  //  "FAILURE" if there was a failure, or
+  //  "SUCCESS" if there was neither
+  getResult: function() {
+    var hasFailure = false;
+    for(var i=0;i<this.tests.length;i++) {
+      if (this.tests[i].errors > 0) {
+        return "ERROR";
+      }
+      if (this.tests[i].failures > 0) {
+        hasFailure = true;
+      }
+    }
+    if (hasFailure) {
+      return "FAILURE";
+    } else {
+      return "SUCCESS";
+    }
+  },
+  postResults: function() {
+    if (this.options.resultsURL) {
+      new Ajax.Request(this.options.resultsURL, 
+        { method: 'get', parameters: 'result=' + this.getResult(), asynchronous: false });
+    }
+  },
+  runTests: function() {
+    var test = this.tests[this.currentTest];
+    if (!test) {
+      // finished!
+      this.postResults();
+      this.logger.summary(this.summary());
+      return;
+    }
+    if(!test.isWaiting) {
+      this.logger.start(test.name);
+    }
+    test.run();
+    if(test.isWaiting) {
+      this.logger.message("Waiting for " + test.timeToWait + "ms");
+      setTimeout(this.runTests.bind(this), test.timeToWait || 1000);
+    } else {
+      this.logger.finish(test.status(), test.summary());
+      this.currentTest++;
+      // tail recursive, hopefully the browser will skip the stackframe
+      this.runTests();
+    }
+  },
+  summary: function() {
+    var assertions = 0;
+    var failures = 0;
+    var errors = 0;
+    var messages = [];
+    for(var i=0;i<this.tests.length;i++) {
+      assertions +=   this.tests[i].assertions;
+      failures   +=   this.tests[i].failures;
+      errors     +=   this.tests[i].errors;
+    }
+    return (
+      (this.options.context ? this.options.context + ': ': '') + 
+      this.tests.length + " tests, " + 
+      assertions + " assertions, " + 
+      failures   + " failures, " +
+      errors     + " errors");
+  }
+}
+
+Test.Unit.Assertions = Class.create();
+Test.Unit.Assertions.prototype = {
+  initialize: function() {
+    this.assertions = 0;
+    this.failures   = 0;
+    this.errors     = 0;
+    this.messages   = [];
+  },
+  summary: function() {
+    return (
+      this.assertions + " assertions, " + 
+      this.failures   + " failures, " +
+      this.errors     + " errors" + "\n" +
+      this.messages.join("\n"));
+  },
+  pass: function() {
+    this.assertions++;
+  },
+  fail: function(message) {
+    this.failures++;
+    this.messages.push("Failure: " + message);
+  },
+  info: function(message) {
+    this.messages.push("Info: " + message);
+  },
+  error: function(error) {
+    this.errors++;
+    this.messages.push(error.name + ": "+ error.message + "(" + Test.Unit.inspect(error) +")");
+  },
+  status: function() {
+    if (this.failures > 0) return 'failed';
+    if (this.errors > 0) return 'error';
+    return 'passed';
+  },
+  assert: function(expression) {
+    var message = arguments[1] || 'assert: got "' + Test.Unit.inspect(expression) + '"';
+    try { expression ? this.pass() : 
+      this.fail(message); }
+    catch(e) { this.error(e); }
+  },
+  assertEqual: function(expected, actual) {
+    var message = arguments[2] || "assertEqual";
+    try { (expected == actual) ? this.pass() :
+      this.fail(message + ': expected "' + Test.Unit.inspect(expected) + 
+        '", actual "' + Test.Unit.inspect(actual) + '"'); }
+    catch(e) { this.error(e); }
+  },
+  assertInspect: function(expected, actual) {
+    var message = arguments[2] || "assertInspect";
+    try { (expected == actual.inspect()) ? this.pass() :
+      this.fail(message + ': expected "' + Test.Unit.inspect(expected) + 
+        '", actual "' + Test.Unit.inspect(actual) + '"'); }
+    catch(e) { this.error(e); }
+  },
+  assertEnumEqual: function(expected, actual) {
+    var message = arguments[2] || "assertEnumEqual";
+    try { $A(expected).length == $A(actual).length && 
+      expected.zip(actual).all(function(pair) { return pair[0] == pair[1] }) ?
+        this.pass() : this.fail(message + ': expected ' + Test.Unit.inspect(expected) + 
+          ', actual ' + Test.Unit.inspect(actual)); }
+    catch(e) { this.error(e); }
+  },
+  assertNotEqual: function(expected, actual) {
+    var message = arguments[2] || "assertNotEqual";
+    try { (expected != actual) ? this.pass() : 
+      this.fail(message + ': got "' + Test.Unit.inspect(actual) + '"'); }
+    catch(e) { this.error(e); }
+  },
+  assertIdentical: function(expected, actual) { 
+    var message = arguments[2] || "assertIdentical"; 
+    try { (expected === actual) ? this.pass() : 
+      this.fail(message + ': expected "' + Test.Unit.inspect(expected) +  
+        '", actual "' + Test.Unit.inspect(actual) + '"'); } 
+    catch(e) { this.error(e); } 
+  },
+  assertNotIdentical: function(expected, actual) { 
+    var message = arguments[2] || "assertNotIdentical"; 
+    try { !(expected === actual) ? this.pass() : 
+      this.fail(message + ': expected "' + Test.Unit.inspect(expected) +  
+        '", actual "' + Test.Unit.inspect(actual) + '"'); } 
+    catch(e) { this.error(e); } 
+  },
+  assertNull: function(obj) {
+    var message = arguments[1] || 'assertNull'
+    try { (obj==null) ? this.pass() : 
+      this.fail(message + ': got "' + Test.Unit.inspect(obj) + '"'); }
+    catch(e) { this.error(e); }
+  },
+  assertMatch: function(expected, actual) {
+    var message = arguments[2] || 'assertMatch';
+    var regex = new RegExp(expected);
+    try { (regex.exec(actual)) ? this.pass() :
+      this.fail(message + ' : regex: "' +  Test.Unit.inspect(expected) + ' did not match: ' + Test.Unit.inspect(actual) + '"'); }
+    catch(e) { this.error(e); }
+  },
+  assertHidden: function(element) {
+    var message = arguments[1] || 'assertHidden';
+    this.assertEqual("none", element.style.display, message);
+  },
+  assertNotNull: function(object) {
+    var message = arguments[1] || 'assertNotNull';
+    this.assert(object != null, message);
+  },
+  assertType: function(expected, actual) {
+    var message = arguments[2] || 'assertType';
+    try { 
+      (actual.constructor == expected) ? this.pass() : 
+      this.fail(message + ': expected "' + Test.Unit.inspect(expected) +  
+        '", actual "' + (actual.constructor) + '"'); }
+    catch(e) { this.error(e); }
+  },
+  assertNotOfType: function(expected, actual) {
+    var message = arguments[2] || 'assertNotOfType';
+    try { 
+      (actual.constructor != expected) ? this.pass() : 
+      this.fail(message + ': expected "' + Test.Unit.inspect(expected) +  
+        '", actual "' + (actual.constructor) + '"'); }
+    catch(e) { this.error(e); }
+  },
+  assertInstanceOf: function(expected, actual) {
+    var message = arguments[2] || 'assertInstanceOf';
+    try { 
+      (actual instanceof expected) ? this.pass() : 
+      this.fail(message + ": object was not an instance of the expected type"); }
+    catch(e) { this.error(e); } 
+  },
+  assertNotInstanceOf: function(expected, actual) {
+    var message = arguments[2] || 'assertNotInstanceOf';
+    try { 
+      !(actual instanceof expected) ? this.pass() : 
+      this.fail(message + ": object was an instance of the not expected type"); }
+    catch(e) { this.error(e); } 
+  },
+  assertRespondsTo: function(method, obj) {
+    var message = arguments[2] || 'assertRespondsTo';
+    try {
+      (obj[method] && typeof obj[method] == 'function') ? this.pass() : 
+      this.fail(message + ": object doesn't respond to [" + method + "]"); }
+    catch(e) { this.error(e); }
+  },
+  assertReturnsTrue: function(method, obj) {
+    var message = arguments[2] || 'assertReturnsTrue';
+    try {
+      var m = obj[method];
+      if(!m) m = obj['is'+method.charAt(0).toUpperCase()+method.slice(1)];
+      m() ? this.pass() : 
+      this.fail(message + ": method returned false"); }
+    catch(e) { this.error(e); }
+  },
+  assertReturnsFalse: function(method, obj) {
+    var message = arguments[2] || 'assertReturnsFalse';
+    try {
+      var m = obj[method];
+      if(!m) m = obj['is'+method.charAt(0).toUpperCase()+method.slice(1)];
+      !m() ? this.pass() : 
+      this.fail(message + ": method returned true"); }
+    catch(e) { this.error(e); }
+  },
+  assertRaise: function(exceptionName, method) {
+    var message = arguments[2] || 'assertRaise';
+    try { 
+      method();
+      this.fail(message + ": exception expected but none was raised"); }
+    catch(e) {
+      ((exceptionName == null) || (e.name==exceptionName)) ? this.pass() : this.error(e); 
+    }
+  },
+  assertElementsMatch: function() {
+    var expressions = $A(arguments), elements = $A(expressions.shift());
+    if (elements.length != expressions.length) {
+      this.fail('assertElementsMatch: size mismatch: ' + elements.length + ' elements, ' + expressions.length + ' expressions');
+      return false;
+    }
+    elements.zip(expressions).all(function(pair, index) {
+      var element = $(pair.first()), expression = pair.last();
+      if (element.match(expression)) return true;
+      this.fail('assertElementsMatch: (in index ' + index + ') expected ' + expression.inspect() + ' but got ' + element.inspect());
+    }.bind(this)) && this.pass();
+  },
+  assertElementMatches: function(element, expression) {
+    this.assertElementsMatch([element], expression);
+  },
+  benchmark: function(operation, iterations) {
+    var startAt = new Date();
+    (iterations || 1).times(operation);
+    var timeTaken = ((new Date())-startAt);
+    this.info((arguments[2] || 'Operation') + ' finished ' + 
+       iterations + ' iterations in ' + (timeTaken/1000)+'s' );
+    return timeTaken;
+  },
+  _isVisible: function(element) {
+    element = $(element);
+    if(!element.parentNode) return true;
+    this.assertNotNull(element);
+    if(element.style && Element.getStyle(element, 'display') == 'none')
+      return false;
+    
+    return this._isVisible(element.parentNode);
+  },
+  assertNotVisible: function(element) {
+    this.assert(!this._isVisible(element), Test.Unit.inspect(element) + " was not hidden and didn't have a hidden parent either. " + ("" || arguments[1]));
+  },
+  assertVisible: function(element) {
+    this.assert(this._isVisible(element), Test.Unit.inspect(element) + " was not visible. " + ("" || arguments[1]));
+  },
+  benchmark: function(operation, iterations) {
+    var startAt = new Date();
+    (iterations || 1).times(operation);
+    var timeTaken = ((new Date())-startAt);
+    this.info((arguments[2] || 'Operation') + ' finished ' + 
+       iterations + ' iterations in ' + (timeTaken/1000)+'s' );
+    return timeTaken;
+  }
+}
+
+Test.Unit.Testcase = Class.create();
+Object.extend(Object.extend(Test.Unit.Testcase.prototype, Test.Unit.Assertions.prototype), {
+  initialize: function(name, test, setup, teardown) {
+    Test.Unit.Assertions.prototype.initialize.bind(this)();
+    this.name           = name;
+    
+    if(typeof test == 'string') {
+      test = test.gsub(/(\.should[^\(]+\()/,'#{0}this,');
+      test = test.gsub(/(\.should[^\(]+)\(this,\)/,'#{1}(this)');
+      this.test = function() {
+        eval('with(this){'+test+'}');
+      }
+    } else {
+      this.test = test || function() {};
+    }
+    
+    this.setup          = setup || function() {};
+    this.teardown       = teardown || function() {};
+    this.isWaiting      = false;
+    this.timeToWait     = 1000;
+  },
+  wait: function(time, nextPart) {
+    this.isWaiting = true;
+    this.test = nextPart;
+    this.timeToWait = time;
+  },
+  run: function() {
+    try {
+      try {
+        if (!this.isWaiting) this.setup.bind(this)();
+        this.isWaiting = false;
+        this.test.bind(this)();
+      } finally {
+        if(!this.isWaiting) {
+          this.teardown.bind(this)();
+        }
+      }
+    }
+    catch(e) { this.error(e); }
+  }
+});
+
+// *EXPERIMENTAL* BDD-style testing to please non-technical folk
+// This draws many ideas from RSpec http://rspec.rubyforge.org/
+
+Test.setupBDDExtensionMethods = function(){
+  var METHODMAP = {
+    shouldEqual:     'assertEqual',
+    shouldNotEqual:  'assertNotEqual',
+    shouldEqualEnum: 'assertEnumEqual',
+    shouldBeA:       'assertType',
+    shouldNotBeA:    'assertNotOfType',
+    shouldBeAn:      'assertType',
+    shouldNotBeAn:   'assertNotOfType',
+    shouldBeNull:    'assertNull',
+    shouldNotBeNull: 'assertNotNull',
+    
+    shouldBe:        'assertReturnsTrue',
+    shouldNotBe:     'assertReturnsFalse',
+    shouldRespondTo: 'assertRespondsTo'
+  };
+  Test.BDDMethods = {};
+  for(m in METHODMAP) {
+    Test.BDDMethods[m] = eval(
+      'function(){'+
+      'var args = $A(arguments);'+
+      'var scope = args.shift();'+
+      'scope.'+METHODMAP[m]+'.apply(scope,(args || []).concat([this])); }');
+  }
+  [Array.prototype, String.prototype, Number.prototype].each(
+    function(p){ Object.extend(p, Test.BDDMethods) }
+  );
+}
+
+Test.context = function(name, spec, log){
+  Test.setupBDDExtensionMethods();
+  
+  var compiledSpec = {};
+  var titles = {};
+  for(specName in spec) {
+    switch(specName){
+      case "setup":
+      case "teardown":
+        compiledSpec[specName] = spec[specName];
+        break;
+      default:
+        var testName = 'test'+specName.gsub(/\s+/,'-').camelize();
+        var body = spec[specName].toString().split('\n').slice(1);
+        if(/^\{/.test(body[0])) body = body.slice(1);
+        body.pop();
+        body = body.map(function(statement){ 
+          return statement.strip()
+        });
+        compiledSpec[testName] = body.join('\n');
+        titles[testName] = specName;
+    }
+  }
+  new Test.Unit.Runner(compiledSpec, { titles: titles, testLog: log || 'testlog', context: name });
+};
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-aop.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-aop.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-aop.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,130 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<aop>
+   <metadata
+      tag="transaction"
+      class="org.jboss.portal.core.aspects.server.TransactionInterceptor">
+      <method name="invoke">
+         <trans-attribute>RequiresNew</trans-attribute>
+      </method>
+   </metadata>
+   <metadata
+      tag="transaction"
+      class="org.jboss.portal.core.aspects.portlet.TransactionInterceptor">
+      <method name="invokeNotSupported">
+         <trans-attribute>NotSupported</trans-attribute>
+      </method>
+      <method name="invokeNever">
+         <trans-attribute>Never</trans-attribute>
+      </method>
+      <method name="invokeMandatory">
+         <trans-attribute>Mandatory</trans-attribute>
+      </method>
+      <method name="invokeSupports">
+         <trans-attribute>supports</trans-attribute>
+      </method>
+      <method name="invokeRequired">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+      <method name="invokeRequiresNew">
+         <trans-attribute>RequiresNew</trans-attribute>
+      </method>
+   </metadata>
+   <metadata
+      tag="transaction"
+      class="org.jboss.portal.core.aspects.server.UserInterceptor$UserFinalizer">
+      <method name="finalizeUser">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+   </metadata>
+   <metadata
+      tag="transaction"
+      class="org.jboss.portal.jems.hibernate.SessionFactoryBinder">
+      <method name="createSchema">
+         <trans-attribute>NotSupported</trans-attribute>
+      </method>
+      <method name="destroySchema">
+         <trans-attribute>NotSupported</trans-attribute>
+      </method>
+      <method name="createSessionFactory">
+         <trans-attribute>NotSupported</trans-attribute>
+      </method>
+   </metadata>
+   <metadata
+      tag="transaction"
+      class="org.jboss.portal.core.deployment.jboss.ObjectDeployment">
+      <method name="doStart">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+   </metadata>
+   <metadata
+      tag="transaction"
+      class="org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer">
+      <method name="createRootIfNotExist">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+   </metadata>
+   <metadata
+      tag="transaction"
+      class="org.jboss.portal.core.deployment.jboss.PortletAppDeployment">
+      <method name="handleInstance">
+         <trans-attribute>RequiresNew</trans-attribute>
+      </method>
+   </metadata>
+   <metadata
+      tag="transaction"
+      class="org.jboss.portal.core.impl.model.instance.InstanceContainerImpl">
+      <method name="getDefinition">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+      <method name="createDefinition">
+         <trans-attribute>Required</trans-attribute>
+         <application-exceptions>org.jboss.portal.core.model.instance.DuplicateInstanceException</application-exceptions>
+      </method>
+      <method name="destroyDefinition">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+      <method name="getDefinitions">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+      <method name="invoke">
+         <trans-attribute>Required</trans-attribute>
+         <application-exceptions>org.jboss.portal.portlet.InvalidPortletIdException</application-exceptions>
+      </method>
+   </metadata>
+   <metadata
+      tag="transaction"
+      class="org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker">
+      <method name="createClone">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+      <method name="destroyClones">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+      <method name="invoke">
+         <trans-attribute>Required</trans-attribute>
+         <application-exceptions>org.jboss.portal.portlet.InvalidPortletIdException</application-exceptions>
+      </method>
+   </metadata>
+</aop>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,665 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<server>
+
+   <!--  Management MBean -->
+   <!-- Unused, the bean doesn't bring any interesting value -->
+   <!--
+   <mbean
+      code="org.jboss.portal.cms.management.CMSImpl"
+      name="portal.management:service=Management,type=CMS,name=Default"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <depends
+         optional-attribute-name="CMS"
+         proxy-type="attribute">portal:service=CMS</depends>
+      <xmbean/>
+   </mbean>
+   -->
+    
+	<mbean
+      code="org.jboss.portal.jems.hibernate.SessionFactoryBinder"
+      name="portal:service=Hibernate,type=CMS"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/hibernate/cms/hibernate.cfg.xml</attribute>
+      <attribute name="JNDIName">java:/portal/cms/CMSSessionFactory</attribute>
+   </mbean>  
+   
+   <mbean
+      code="org.jboss.portal.cms.impl.jcr.JCRCMS"
+      name="portal:service=CMS"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <!-- The datasource hibernate depends on, it can be commented when the file store is used -->
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <depends>portal:service=JAASLoginModule</depends>
+      <depends>portal:service=Hibernate,type=CMS</depends>
+      <depends>cms.pm.cache:service=TreeCache</depends>
+      <depends optional-attribute-name="IdentityServiceController" proxy-type="attribute">portal:service=Module,type=IdentityServiceController</depends>
+      
+      <!-- Add this to activate publish/approval workflow integration -->
+      <!--
+      <depends optional-attribute-name="ApprovePublishWorkflow" proxy-type="attribute">portal:service=ApprovePublish,type=Workflow</depends>
+      -->
+      
+      <depends optional-attribute-name="StackFactory" proxy-type="attribute">portal:service=InterceptorStackFactory,type=Cms</depends>
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="DefaultContentLocation">portal/cms/conf/default-content/default/</attribute>
+      <attribute name="DefaultLocale">en</attribute>
+      <attribute name="RepositoryName">PortalRepository</attribute>
+      <attribute name="HomeDir">${jboss.server.data.dir}${/}portal${/}cms${/}conf</attribute>      
+      <attribute name="IdentitySessionFactory">java:/portal/IdentitySessionFactory</attribute>
+      <attribute name="Config">
+         <Repository>
+            <!--
+               | virtual file system where the repository stores global state (e.g. registered namespaces, custom node types, etc.)
+               | Configure to use FS or RDBMS.
+               -->
+
+            <!-- HibernateStore: uses RDBMS + Hibernate for storage -->
+            <FileSystem class="org.jboss.portal.cms.hibernate.HibernateStore">
+               <param name="schemaObjectPrefix" value="RepositoryEntry"/>
+               <param name="JNDIName" value="java:/portal/cms/CMSSessionFactory"/>
+            </FileSystem>
+
+            <!-- LocalFileSystem: uses FileSystem for storage. -->
+            <!--
+            <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+               <param name="path" value="${rep.home}/repository"/>
+            </FileSystem>
+            -->
+            <Security appName="Jackrabbit">
+               <AccessManager class="org.apache.jackrabbit.core.security.SimpleAccessManager"/>
+               <LoginModule class="org.apache.jackrabbit.core.security.SimpleLoginModule">
+                  <!-- anonymous user name ('anonymous' is the default value) -->
+                  <param name="anonid" value="anonymous"/>
+               </LoginModule>
+            </Security>
+            <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default"/>
+            <Workspace name="${wsp.name}">
+               <!-- Virtual file system of the workspace:  Configure to use FS or RDBMS. -->
+
+               <!-- HibernateStore: uses RDBMS + Hibernate for storage -->
+               <FileSystem class="org.jboss.portal.cms.hibernate.HibernateStore">
+                  <param name="schemaObjectPrefix" value="CMSEntry"/>
+                  <param name="JNDIName" value="java:/portal/cms/CMSSessionFactory"/>
+               </FileSystem>
+               <!-- LocalFileSystem: uses FileSystem for storage. -->
+               <!--<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+               <param name="path" value="${wsp.home}"/>
+               </FileSystem>-->
+
+               <!--
+                   persistence manager of the workspace.
+                   Use XMLPersistenceManager for LocalFileSystem Store and JBossCachePersistenceManager .
+               -->
+
+               <!-- HibernatePersistentManager: uses RDBMS + Hibernate for storage -->
+               <PersistenceManager class="org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager">
+                  <param name="schemaObjectPrefix" value="WSP"/>
+                  <param name="JNDIName" value="java:/portal/cms/CMSSessionFactory"/>
+                  <param name="externalBLOBs" value="false"/>
+               </PersistenceManager>
+
+               <!-- XMLPersistenceManager: uses FileSystem for storage -->
+               <!--<PersistenceManager class="org.apache.jackrabbit.core.state.xml.XMLPersistenceManager"/>-->
+
+               <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
+                  <param name="path" value="${wsp.home}/index"/>
+                  <param name="textFilterClasses" value="org.apache.jackrabbit.core.query.HTMLTextFilter" />
+                  <param name="useCompoundFile" value="true"/>
+                  <param name="minMergeDocs" value="100"/>
+                  <param name="volatileIdleTime" value="3"/>
+                  <param name="maxMergeDocs" value="100000"/>
+                  <param name="mergeFactor" value="10"/>
+                  <param name="bufferSize" value="10"/>
+                  <param name="cacheSize" value="1000"/>
+                  <param name="forceConsistencyCheck" value="false"/>
+                  <param name="autoRepair" value="true"/>
+               </SearchIndex>
+            </Workspace>
+            <Versioning rootPath="${rep.home}/versions">
+               <!--
+                   Configures the filesystem to use for versioning for the respective persistence manager
+                   Configure to use FS or RDBMS.
+               -->
+
+               <!-- HibernateStore: uses RDBMS + Hibernate for storage -->
+               <FileSystem class="org.jboss.portal.cms.hibernate.HibernateStore">
+                  <param name="schemaObjectPrefix" value="VersionEntry"/>
+                  <param name="JNDIName" value="java:/portal/cms/CMSSessionFactory"/>
+               </FileSystem>
+
+               <!-- LocalFileSystem: uses FileSystem for storage. -->
+               <!--
+               <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+                <param name="path" value="${rep.home}/versions"/>
+               </FileSystem>
+               -->
+
+               <!--
+                   Configures the persistence manager to be used for persisting version state.
+                   Use XMLPersistenceManager for LocalFileSystem Store and JBossCachePersistenceManager for HibernateStore.
+               -->
+
+               <!-- HibernatePersistentManager: uses RDBMS + Hibernate for storage -->
+               <PersistenceManager class="org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager">
+                  <param name="schemaObjectPrefix" value="Version"/>
+                  <param name="JNDIName" value="java:/portal/cms/CMSSessionFactory"/>
+                  <param name="externalBLOBs" value="false"/>
+               </PersistenceManager>
+
+               <!-- XMLPersistenceManager: uses FileSystem for storage -->
+               <!--<PersistenceManager class="org.apache.jackrabbit.core.state.xml.XMLPersistenceManager"/>-->
+            </Versioning>
+         </Repository>
+      </attribute>
+      <attribute name="JNDIName">java:portal/CMS</attribute>
+   </mbean>
+
+   <!--
+   	| Uncomment in clustered mode : Provides an HA-singleton based clustering architecture. 
+   
+   <mbean
+      code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
+      name="portal:service=ProxyFactory,type=CMS">
+      <depends optional-attribute-name="InvokerName">jboss:service=invoker,type=jrmp</depends>
+      <attribute name="TargetName">portal:service=CMS</attribute>
+      <attribute name="ExportedInterfaces">org.jboss.portal.jems.ha.HASingletonInvokerMBean$Proxy</attribute>
+      <attribute name="InvokeTargetMethod">true</attribute>
+      <attribute name="ClientInterceptors">
+        <interceptors>
+          <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+          <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+        </interceptors>
+      </attribute>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.jems.ha.HASingletonInvoker"
+      name="portal:service=HASingletonInvoker,type=CMS">
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+      <attribute name="RetryWaitingTimeMS">2000</attribute>
+      <attribute name="MaxRetries">1</attribute>
+      <attribute name="JNDIName">MyServiceInvokeTarget</attribute>
+      <attribute name="JNDIProperties">
+         java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+         java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+         java.naming.provider.url=${jboss.bind.address:localhost}:1100
+         jnp.disableDiscovery=false
+         jnp.partitionName=${jboss.partition.name:DefaultPartition}
+         jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+         jnp.discoveryPort=1102
+         jnp.discoveryTTL=16
+         jnp.discoveryTimeout=5000
+         jnp.maxRetries=1
+      </attribute>
+      <depends optional-attribute-name="Callback" proxy-type="attribute">portal:service=CMS</depends>
+      <depends optional-attribute-name="ProxyFactory">portal:service=ProxyFactory,type=CMS</depends>
+   </mbean>
+   
+   -->
+
+   <mbean
+      code="org.jboss.portal.core.cms.CMSObjectCommandFactoryService"
+      name="portal:commandFactory=CMSObject"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="TargetWindowRef">default.default.CMSWindow</attribute>
+      <depends
+         optional-attribute-name="CMSService"
+         proxy-type="attribute">portal:service=CMS</depends>
+      <depends
+         optional-attribute-name="ServerConfig"
+         proxy-type="attribute">portal:service=ServerConfig</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+      name="portal:commandFactory=Delegate,path=content"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/content</attribute>
+      <depends
+         optional-attribute-name="DelegatingFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="DelegateFactory"
+         proxy-type="attribute">portal:commandFactory=CMSObject</depends>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.core.cms.CMSObjectURLFactory"
+      name="portal:urlFactory=CMSObject"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/content</attribute>
+      <depends optional-attribute-name="Factory" proxy-type="attribute">portal:urlFactory=Delegating</depends>
+   </mbean>
+
+   <!-- TreeCache configuration used to cache CMS data -->
+   <mbean code="org.jboss.cache.TreeCache"
+          name="cms.pm.cache:service=TreeCache">   
+           <depends>jboss:service=Naming</depends>
+           <depends>jboss:service=TransactionManager</depends>
+           <depends>portal:service=Hibernate,type=CMS</depends>           
+      <!--
+      Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.GenericTransactionManagerLookup</attribute>
+
+      <!--
+        Node locking scheme:
+        OPTIMISTIC
+        PESSIMISTIC (default)
+        using the OPTIMISTIC scheme, the ISOLATION_LEVEL value is ignored
+        -->
+      <!--attribute name="NodeLockingScheme">OPTIMISTIC</attribute-->
+
+      <!--
+          Isolation level : SERIALIZABLE
+                            REPEATABLE_READ (default)
+                            READ_COMMITTED
+                            READ_UNCOMMITTED
+                            NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <!-- in a non-HA environment with the Jackrabbit cluster is activated -->
+      <!--attribute name="CacheMode">INVALIDATION_ASYNC</attribute-->
+      <!-- in a HA environment since there is only a singleton node for CMS, this can be local -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!--
+      Just used for async repl: use a replication queue
+      -->
+      <attribute name="UseReplQueue">false</attribute>
+
+      <!--
+          Replication interval for replication queue (in ms)
+      -->
+      <attribute name="ReplQueueInterval">0</attribute>
+
+      <!--
+          Max number of elements which trigger replication
+      -->
+      <attribute name="ReplQueueMaxElements">0</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all clusters, in order
+           to find each other
+      -->
+      <attribute name="ClusterName">JCRPMCache</attribute>
+
+      <!-- JGroups protocol stack properties. Can also be a URL,
+           e.g. file:/home/bela/default.xml
+         <attribute name="ClusterProperties"></attribute>
+      -->
+
+      <attribute name="ClusterConfig">
+               <config>
+                   <!-- UDP: if you have a multihomed machine,
+                   set the bind_addr attribute to the appropriate NIC IP address -->
+                  <!-- UDP: On Windows machines, because of the media sense feature
+            being broken with multicast (even after disabling media sense)
+            set the loopback attribute to true -->
+                  <UDP mcast_addr="228.1.2.3" mcast_port="48866"
+                       ip_ttl="64" ip_mcast="true"
+                       receive_on_all_interfaces="true"
+                       mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
+                       ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
+                       loopback="false"/>
+                   <PING timeout="2000" num_initial_members="3"
+                         up_thread="false" down_thread="false"/>
+                   <MERGE2 min_interval="10000" max_interval="20000"/>
+                  <!--        <FD shun="true" up_thread="true" down_thread="true" />-->
+                  <FD_SOCK/>
+                   <VERIFY_SUSPECT timeout="1500"
+                                   up_thread="false" down_thread="false"/>
+                   <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
+                                  max_xmit_size="8192" up_thread="false" down_thread="false"/>
+                   <UNICAST timeout="600,1200,2400" window_size="100" min_threshold="10"
+                            down_thread="false"/>
+                   <pbcast.STABLE desired_avg_gossip="20000"
+                                  up_thread="false" down_thread="false"/>
+                   <FRAG frag_size="8192"
+                         down_thread="false" up_thread="false"/>
+                   <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
+                               shun="true" print_local_addr="true"/>
+                   <pbcast.STATE_TRANSFER up_thread="true" down_thread="true"/>
+               </config>
+           </attribute>
+
+      <!--
+       Whether or not to fetch state on joining a cluster
+       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
+
+       Not supported in version 1.2.4SP2 which is what ships by default in 4.0.4GA
+      -->
+      <!--attribute name="FetchInMemoryState">false</attribute-->
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          initial state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="InitialStateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Name of the eviction policy class. -->
+      <attribute name="EvictionPolicyClass"></attribute>
+
+      <!--
+         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
+         class loader, e.g., inside an application server. Default is "false".
+
+         Not supported in version 1.2.4SP2 which is what ships by default in 4.0.4GA
+      -->
+      <!--attribute name="UseRegionBasedMarshalling">false</attribute-->
+
+      <!--
+            Configuring the PortalCMSCacheLoader
+
+            CacheLoader configuratoon for 1.4.0
+      -->
+      <attribute name="CacheLoaderConfiguration">
+               <config>                
+                   <passivation>false</passivation>
+                   <preload></preload>
+                   <shared>false</shared>
+                   <cacheloader>
+                       <class>org.jboss.portal.cms.hibernate.state.PortalCMSCacheLoader</class>
+                       <properties></properties>
+                       <async>false</async>
+                       <fetchPersistentState>false</fetchPersistentState>
+                       <ignoreModifications>false</ignoreModifications>
+                   </cacheloader>
+               </config>
+           </attribute>
+      <!--
+            Configuring the PortalCMSCacheLoader
+
+            CacheLoader configuratoon for 1.2.4SP2
+      -->
+      <!--attribute name="CacheLoaderClass">org.jboss.portal.cms.hibernate.state.PortalCMSCacheLoader</attribute>
+     <attribute name="CacheLoaderConfig" replace="false"></attribute>
+     <attribute name="CacheLoaderPassivation">false</attribute>
+     <attribute name="CacheLoaderPreload"></attribute>
+     <attribute name="CacheLoaderShared">false</attribute>
+     <attribute name="CacheLoaderFetchTransientState">false</attribute>
+     <attribute name="CacheLoaderFetchPersistentState">false</attribute>
+     <attribute name="CacheLoaderAsynchronous">false</attribute-->
+    </mbean>
+   
+   <!--  interceptor factory where all cms interceptors are registered -->
+   <mbean
+      code="org.jboss.portal.server.impl.invocation.JBossInterceptorStackFactory"
+      name="portal:service=InterceptorStackFactory,type=Cms"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends-list optional-attribute-name="InterceptorNames">
+         <depends-list-element>portal:service=Interceptor,type=Cms,name=ACL</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Cms,name=ApprovalWorkflow</depends-list-element>
+      </depends-list>
+   </mbean> 
+    
+   <!-- CMS Authorization Security Service -->
+   <mbean
+      code="org.jboss.portal.cms.security.AuthorizationManagerImpl"
+      name="portal:service=AuthorizationManager,type=cms"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="JNDIName">java:portal/cms/AuthorizationManager</attribute>  
+      <depends optional-attribute-name="Provider" proxy-type="attribute">
+      	portal:service=AuthorizationProvider,type=cms
+      </depends>         
+   </mbean>   
+   <mbean
+      code="org.jboss.portal.cms.security.AuthorizationProviderImpl"
+      name="portal:service=AuthorizationProvider,type=cms"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/> 
+      <depends optional-attribute-name="IdentityServiceController" proxy-type="attribute">portal:service=Module,type=IdentityServiceController</depends>     
+   </mbean>
+   
+   <!-- ACL Security Interceptor -->
+   <mbean
+      code="org.jboss.portal.cms.impl.interceptors.ACLInterceptor"
+      name="portal:service=Interceptor,type=Cms,name=ACL"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="JNDIName">java:/portal/cms/ACLInterceptor</attribute>
+      <attribute name="CmsSessionFactory">java:/portal/cms/CMSSessionFactory</attribute>
+      <attribute name="IdentitySessionFactory">java:/portal/IdentitySessionFactory</attribute>
+      <attribute name="DefaultPolicy">
+      	<![CDATA[
+      	<policy>
+      			<!-- permissions on the root cms node -->      			
+      			<criteria name="path" value="/">
+      				<permission name="cms" action="read">
+      					<role name="Anonymous"/>
+      				</permission>
+      				<permission name="cms" action="write">
+      					<role name="User"/>
+      				</permission>
+      				<permission name="cms" action="manage">
+      					<role name="Admin"/>
+      				</permission>
+      			</criteria>
+      			<!-- permissions on the default cms node -->      			
+      			<criteria name="path" value="/default">
+      				<permission name="cms" action="read">
+      					<role name="Anonymous"/>
+      				</permission>
+      				<permission name="cms" action="write">
+      					<role name="User"/>
+      				</permission>
+      				<permission name="cms" action="manage">
+      					<role name="Admin"/>
+      				</permission>
+      			</criteria>      			
+      			<!-- permissions on the private/protected node -->
+      			<criteria name="path" value="/default/private">
+      				<permission name="cms" action="manage">
+      					<role name="Admin"/>
+      				</permission>
+      			</criteria>
+      	</policy>
+      	]]>
+      </attribute>
+      <depends optional-attribute-name="AuthorizationManager" proxy-type="attribute">
+      	portal:service=AuthorizationManager,type=cms
+      </depends>            
+      <depends>portal:service=Hibernate,type=CMS</depends>
+      <depends>portal:service=Module,type=IdentityServiceController</depends>      
+   </mbean>
+   
+   <!-- Approval Workflow Interceptor -->
+   <mbean
+      code="org.jboss.portal.cms.impl.interceptors.ApprovalWorkflowInterceptor"
+      name="portal:service=Interceptor,type=Cms,name=ApprovalWorkflow"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>    
+      <attribute name="JNDIName">java:/portal/cms/ApprovalWorkflowInterceptor</attribute>              
+      <depends>portal:service=Hibernate,type=CMS</depends>      
+   </mbean>
+   
+   <mbean
+      code="org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor"
+      name="portal:service=Interceptor,type=Server,name=CMSIdentityBinding"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.server.impl.invocation.JBossInterceptorRegistration"
+      name="portal:service=InterceptorRegistration,type=Server,name=CMSIdentityBinding"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="InterceptorName">portal:service=Interceptor,type=Server,name=CMSIdentityBinding</depends>
+      <depends
+         optional-attribute-name="StackFactory">portal:service=InterceptorStackFactory,type=Server</depends>
+   </mbean>
+
+   <!-- Content renderer integration -->
+   <mbean
+      code="org.jboss.portal.core.cms.content.InternalCMSContentProvider"
+      name="portal:service=ContentRenderer,type=cms"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="ContentType">cms</attribute>
+      <attribute name="DecorateContent">false</attribute>
+      <attribute name="PortletInstanceName">CMSPortletInstance</attribute>
+      <depends
+         optional-attribute-name="Registry"
+         proxy-type="attribute">portal:service=ContentProviderRegistry</depends>
+      <depends
+         optional-attribute-name="CommandFactory"
+         proxy-type="attribute">portal:commandFactory=CMSObject</depends>
+      <depends
+         optional-attribute-name="PortalAuthorizationManagerFactory"
+         proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+   </mbean>
+   
+   <!-- ApprovePublish workflow service -->   
+   <mbean
+      code="org.jboss.portal.cms.workflow.ApprovePublishImpl"
+      name="portal:service=ApprovePublish,type=Workflow"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="WorkflowService" proxy-type="attribute">
+      	portal:service=Workflow,type=WorkflowService
+      </depends>
+      <depends optional-attribute-name="IdentityServiceController" proxy-type="attribute">
+      	portal:service=Module,type=IdentityServiceController
+      </depends>     
+      <!-- JBPM process definition -->
+      <attribute name="Process">
+      	<![CDATA[      	     
+  	         <!-- cms approval workflow -->
+  	   		 <process-definition name="approval_workflow">
+		      <start-state>
+		      	<transition to="request_approval"/>			      		
+		        </start-state>
+		        <task-node name="request_approval" signal="first">
+		          <task name="approve_publish">
+		            <assignment class="org.jboss.portal.cms.workflow.PublishAssignmentHandler"/>
+		            <event type="task-start">
+		            	<action class="org.jboss.portal.cms.workflow.FinalizePublish"/>	
+		            </event>
+		            <exception-handler>
+		            	<action class="org.jboss.portal.cms.workflow.TaskExceptionHandler"/>	
+		            </exception-handler>
+		          </task>		          
+		          <transition name="approval" to="end"/>		          		      	  
+	              <transition name="rejection" to="end"/>	                       
+		        </task-node>			      
+		        <end-state name="end"/>		          
+		     </process-definition>		      		      			      
+      	]]>
+      </attribute>
+      <!-- 
+      		  overwrite = false creates the process first time if does not exist, for
+      	      subsequent server restarts, this process definition remains in tact
+      	          
+  	          overwrite = true creates the process first time if does not exist,
+  	          for subsequent server restarts, it creates a new version of the process definition
+  	          which will be used for processes created from then onwards. Old processes created
+  	          for an older version of the definition remain in tact and use their corresponding
+  	          process definition.
+  	          
+  	          Typically use overwrite=false and overwrite=true only when a new process definition
+  	          related to this workflow needs to be deployed
+      -->
+      <attribute name="Overwrite">false</attribute>
+      <!-- 
+      		a comma separated list of portal roles that are designated
+      		to act as workflow managers. They are allowed to 
+      		approve/reject content publish requests       		      		
+      -->
+      <attribute name="ManagerRoles">Admin</attribute>
+      <attribute name="JNDIName">java:portal/ApprovePublishWorkflow</attribute>  
+      
+      <!-- Now that a manager GUI is integrated..no need for email based manager screen -->  
+<!--      
+      <attribute name="From">do-not-reply at jboss.com</attribute>
+      <attribute name="Subject">Content Approval Requested</attribute>
+      <attribute name="Body">
+      	<![CDATA[      	     
+  	         Approval is needed to publish the following Content:
+  	          	        
+  	         Content Location : {0}
+  	         
+  	         Content Type : {1}
+  	         
+  	         Content Size : {2}
+  	         
+  	         Creation Date : {3}
+  	         
+  	         User : {4}
+  	         
+  	         
+  	         <a href="http://localhost/workflow/approve?pId={5}&manager={6}">Approve</a>
+  	         
+  	         
+  	         <a href="http://localhost/workflow/reject?pId={7}&manager={8}">Reject</a>
+      	]]>
+      </attribute>
+-->            
+   </mbean>     
+   
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/domain.hbm.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/domain.hbm.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/domain.hbm.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,376 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+   "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+   "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+   <class name="org.jboss.portal.cms.hibernate.state.VersionBinVal" table="jbp_cms_version_binval" lazy="true">
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Integer">
+         <generator class="native"/>
+      </id>
+      <property
+         name="id"
+         column="BINVAL_ID"
+         type="string"
+         length="255"/>
+      <property
+         name="data"
+         column="BINVAL_DATA"
+         type="blob"
+         length="100000000"
+         not-null="true"/>
+   </class>
+   <class name="org.jboss.portal.cms.hibernate.state.VersionNode" table="jbp_cms_version_node" lazy="true">
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Integer">
+         <generator class="native"/>
+      </id>
+      <property
+         name="nodeId"
+         column="NODE_ID"
+         type="string"
+         length="36"/>
+      <property
+         name="data"
+         column="NODE_DATA"
+         type="binary"
+         length="100000000"
+         not-null="true"/>
+   </class>
+   <class name="org.jboss.portal.cms.hibernate.state.VersionProp" table="jbp_cms_version_prop" lazy="true">
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Integer">
+         <generator class="native"/>
+      </id>
+      <property
+         name="propId"
+         column="PROP_ID"
+         type="string"
+         length="255"/>
+      <property
+         name="data"
+         column="PROP_DATA"
+         type="binary"
+         length="100000000"
+         not-null="true"/>
+   </class>
+   <class name="org.jboss.portal.cms.hibernate.state.VersionRefs" table="jbp_cms_version_refs" lazy="true">
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Integer">
+         <generator class="native"/>
+      </id>
+      <property
+         name="refId"
+         column="NODE_ID"
+         type="string"
+         length="36"/>
+      <property
+         name="data"
+         column="REFS_DATA"
+         type="binary"
+         length="100000000"
+         not-null="true"/>
+   </class>
+   <class name="org.jboss.portal.cms.hibernate.state.WSPBinVal" table="jbp_cms_wsp_binval" lazy="true">
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Integer">
+         <generator class="native"/>
+      </id>
+      <property
+         name="id"
+         column="BINVAL_ID"
+         type="string"
+         length="255"/>
+      <property
+         name="data"
+         column="BINVAL_DATA"
+         type="blob"
+         length="100000000"
+         not-null="true"/>
+   </class>
+   <class name="org.jboss.portal.cms.hibernate.state.WSPNode" table="jbp_cms_wsp_node" lazy="true">
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Integer">
+         <generator class="native"/>
+      </id>
+      <property
+         name="nodeId"
+         column="NODE_ID"
+         type="string"
+         length="36"/>
+      <property
+         name="data"
+         column="NODE_DATA"
+         type="binary"
+         length="100000000"
+         not-null="true"/>
+   </class>
+   <class name="org.jboss.portal.cms.hibernate.state.WSPProp" table="jbp_cms_wsp_prop" lazy="true">
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Integer">
+         <generator class="native"/>
+      </id>
+      <property
+         name="propId"
+         column="PROP_ID"
+         type="string"
+         length="255"/>
+      <property
+         name="data"
+         column="PROP_DATA"
+         type="binary"
+         length="100000000"
+         not-null="true"/>
+   </class>
+   <class name="org.jboss.portal.cms.hibernate.state.WSPRefs" table="jbp_cms_wsp_refs" lazy="true">
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Integer">
+         <generator class="native"/>
+      </id>
+      <property
+         name="refId"
+         column="NODE_ID"
+         type="string"
+         length="36"/>
+      <property
+         name="data"
+         column="REFS_DATA"
+         type="binary"
+         length="100000000"
+         not-null="true"/>
+   </class>
+   <class name="org.jboss.portal.cms.hibernate.CMSEntry" table="jbp_cms_cmsentry" lazy="true">
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Integer">
+         <generator class="native"/>
+      </id>
+      <property
+         name="name"
+         column="FSENTRY_NAME"
+         type="string"
+         length="255"
+         not-null="false"/>
+      <property name="path"
+                column="FSENTRY_PATH"
+                type="string"
+                not-null="true"
+                length="245"/>
+      <property name="data"
+                column="FSENTRY_DATA"
+                type="blob"
+                length="100000000"
+                not-null="false"/>
+      <property name="lastmod"
+                column="FSENTRY_LASTMOD"
+                type="long"
+                not-null="true"/>
+      <property name="length"
+                column="FSENTRY_LENGTH"
+                type="long"
+                not-null="true"/>
+   </class>
+   <class name="org.jboss.portal.cms.hibernate.RepositoryEntry" table="jbp_cms_repositoryentry" lazy="true">
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Integer">
+         <generator class="native"/>
+      </id>
+      <property
+         name="name"
+         column="FSENTRY_NAME"
+         type="string"
+         length="255"
+         not-null="false"/>
+      <property name="path"
+                column="FSENTRY_PATH"
+                type="string"
+                not-null="true"
+                length="245"/>
+      <property name="data"
+                column="FSENTRY_DATA"
+                type="blob"
+                length="100000000"
+                not-null="false"/>
+      <property name="lastmod"
+                column="FSENTRY_LASTMOD"
+                type="long"
+                not-null="true"/>
+      <property name="length"
+                column="FSENTRY_LENGTH"
+                type="long"
+                not-null="true"/>
+   </class>
+   <class name="org.jboss.portal.cms.hibernate.VersionEntry" table="jbp_cms_versionentry" lazy="true">
+      <id
+         name="key"
+         column="PK"
+         type="java.lang.Integer">
+         <generator class="native"/>
+      </id>
+      <property
+         name="name"
+         column="FSENTRY_NAME"
+         type="string"
+         length="255"
+         not-null="false"/>
+      <property name="path"
+                column="FSENTRY_PATH"
+                type="string"
+                not-null="true"
+                length="245"/>
+      <property name="data"
+                column="FSENTRY_DATA"
+                type="blob"
+                length="100000000"
+                not-null="false"/>
+      <property name="lastmod"
+                column="FSENTRY_LASTMOD"
+                type="long"
+                not-null="true"/>
+      <property name="length"
+                column="FSENTRY_LENGTH"
+                type="long"
+                not-null="true"/>
+   </class>
+   
+   <!--  mapping to persist CMS Fine Grained Security related objects -->
+   <class name="org.jboss.portal.cms.security.PermRoleAssoc" table="jbp_cms_perm_role">
+   		<cache usage="read-write"/> 
+   		<id
+         name="id"
+         column="ID"
+         type="java.lang.Long">
+         <generator class="native"/>
+        </id>
+        <property
+         name="roleId"
+         column="ROLE_ID"
+         type="string"
+         not-null="true"
+        />                               
+   </class>
+   <class name="org.jboss.portal.cms.security.PermUserAssoc" table="jbp_cms_perm_user">
+        <cache usage="read-write"/> 
+   		<id
+         name="id"
+         column="ID"
+         type="java.lang.Long">
+         <generator class="native"/>
+        </id>
+        <property
+         name="userId"
+         column="USER_ID"
+         type="string"
+         not-null="true"
+        />                               
+   </class>
+   <class name="org.jboss.portal.cms.security.Criteria" table="jbp_cms_perm_criteria">
+        <cache usage="read-write"/> 
+   		<id
+         name="id"
+         column="ID"
+         type="java.lang.Long">
+         <generator class="native"/>
+        </id>
+        <property
+         name="name"
+         column="NAME"
+         type="string"
+         not-null="true"
+        />
+        <property
+         name="value"
+         column="VALUE"
+         type="string"
+         not-null="true"
+        />               
+   </class>
+   <class name="org.jboss.portal.cms.security.Permission" table="jbp_cms_perm">
+        <cache usage="read-write"/> 
+   		<id
+         name="id"
+         column="ID"
+         type="java.lang.Long">
+         <generator class="native"/>
+        </id>
+        <!-- one-to-many association with the criteria object -->
+        <set name="criteria" lazy="false" table="jbp_cms_perm_criteria" cascade="all-delete-orphan">
+            <cache usage="read-write"/> 
+        	<key column="CMS_PERM_ID"/>
+        	<one-to-many class="org.jboss.portal.cms.security.Criteria"/>
+        </set>
+        <!-- many-to-many association with the role object -->
+        <set name="roleAssoc" lazy="false" cascade="all-delete-orphan">
+            <cache usage="read-write"/> 
+        	<key column="CMS_PERM_ID"/>
+        	<one-to-many class="org.jboss.portal.cms.security.PermRoleAssoc"/>
+        </set>
+        <!-- many-to-many association with the user object -->
+        <set name="userAssoc" lazy="false" cascade="all-delete-orphan">
+            <cache usage="read-write"/> 
+        	<key column="CMS_PERM_ID"/>
+        	<one-to-many class="org.jboss.portal.cms.security.PermUserAssoc"/>
+        </set>
+        <property
+         name="service"
+         column="NAME"
+         type="string"
+         not-null="true"
+        />
+        <property
+         name="action"
+         column="ACTION"
+         type="string"
+         not-null="true"
+        />
+        <property
+         name="negated"
+         column="NEGATED"
+         type="boolean"
+         not-null="true"         
+        />        
+   </class>
+</hibernate-mapping>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/ehcache.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/ehcache.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/ehcache.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,61 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<ehcache>
+
+    <!-- Sets the path to the directory where cache .data files are created.
+
+         If the path is a Java System Property it is replaced by
+         its value in the running VM.
+
+         The following properties are translated:
+         user.home - User's home directory
+         user.dir - User's current working directory
+         java.io.tmpdir - Default temp file path -->
+   <diskStore path="java.io.tmpdir/cms"/>
+
+
+   <!--Default Cache configuration. These will applied to caches programmatically created through
+   the CacheManager.
+
+   The following attributes are required for defaultCache:
+
+   maxInMemory       - Sets the maximum number of objects that will be created in memory
+   eternal           - Sets whether elements are eternal. If eternal,  timeouts are ignored and the element
+                       is never expired.
+   timeToIdleSeconds - Sets the time to idle for an element before it expires. Is only used
+                       if the element is not eternal. Idle time is now - last accessed time
+   timeToLiveSeconds - Sets the time to live for an element before it expires. Is only used
+                       if the element is not eternal. TTL is now - creation time
+   overflowToDisk    - Sets whether elements can overflow to disk when the in-memory cache
+                       has reached the maxInMemory limit.
+
+   -->
+   <defaultCache
+      maxElementsInMemory="10000"
+      eternal="false"
+      timeToIdleSeconds="1800"
+      timeToLiveSeconds="1800"
+      overflowToDisk="false"
+      />
+</ehcache>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/hibernate.cfg.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/hibernate.cfg.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/conf/hibernate/cms/hibernate.cfg.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,50 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-configuration PUBLIC
+   "-//Hibernate/Hibernate Configuration DTD//EN"
+   "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+<hibernate-configuration>
+   <session-factory>
+      <property name="connection.datasource">java:PortalDS</property>
+      <property name="show_sql">false</property>      
+      
+      <!--  caching properties -->
+      <property name="cache.use_second_level_cache">true</property>
+      <property name="cache.use_query_cache">true</property>
+      <property name="cache.provider_configuration_file_resource_path">conf/hibernate/cms/ehcache.xml</property>
+      <property name="cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
+
+      <!-- managed environment transaction configuration -->
+      <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
+      <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
+
+      <!-- Force the dialect instead of using autodetection -->
+      <!--property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property-->
+      <!--property name="dialect">org.hibernate.dialect.MySQLInnoDBDialect</property-->
+
+      <!-- Mapping files -->
+      <mapping resource="conf/hibernate/cms/domain.hbm.xml"/>
+   </session-factory>
+</hibernate-configuration>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/ant.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/ant.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/commons-collections.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/commons-collections.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jackrabbit-core.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jackrabbit-core.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jackrabbit-index-filters.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jackrabbit-index-filters.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jboss-cache.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jboss-cache.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jcr-1.0.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jcr-1.0.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jgroups.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/jgroups.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/lucene.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/lucene.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/nekohtml.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/nekohtml.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/portal-cms-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/portal-cms-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/portal-core-cms-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/portal-core-cms-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/slf4j-log4j12.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/lib/slf4j-log4j12.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/back.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/back.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/check.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/check.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_cornerelement.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_cornerelement.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_cornerelement.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_cornerelement.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_jbosslogo.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_jbosslogo.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_main.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/homeimg_main.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/images/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/index.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/index.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/index.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,60 @@
+<style type="text/css">
+   #welcomelogo {
+      float: left;
+      margin: 30px 0px 30px 15px;
+   }
+
+   #welcometext {
+      margin: 30px 50px 30px 225px;
+   }
+
+   #welcomegreybox {
+      padding: 15px;
+      margin-bottom: 30px;
+   }
+
+   #welcomegreyboxTD {
+      border-left: 1px solid #d5d5d5;
+      padding-left: 15px;
+   }
+
+   #welcomegreybox h3 {
+      color: #5078aa;
+      font: bold 13px Helvetica, Arial, sans-serif;
+   }
+</style>
+
+<div>
+  <img src="default/images/homeimg_main.png" width="560" height="160"/>
+</div>
+
+<div id="welcomelogo"><img src="default/images/homeimg_jbosslogo.png" width="143" height="64"/></div>
+<p id="welcometext">JBoss Portal provides an open source platform for hosting and serving a portal Web interface,
+   publishing and managing its content, and customizing its experience. While most packaged Portal frameworks help
+   enterprises launch Portals more quickly, only JBoss Portal delivers the benefits of a zero-cost open source license
+   combined with a flexible and scalable underling platform.</p>
+
+<div id="welcomegreybox">
+   <table width="100%">
+      <tr>
+         <td valign="top"><h3>Support Services</h3>
+
+            <p>JBoss Inc. offers various support services tailored to fit your needs. <a href="default/support.html">Explore</a>
+               support and service options for JBoss Portal.</p></td>
+         <td valign="top" id="welcomegreyboxTD"><h3>PortletSwap</h3>
+
+            <p><a href="http://www.portletswap.com" target="_blank">Portletswap.com</a> is an open community sponsored
+               by JBoss, Inc. to facilitate the exchange of portlets and layouts for use in JBoss Portal.</p></td>
+         <td valign="top" id="welcomegreyboxTD"><h3>Project Information</h3>
+
+            <p>Learn more about the <a href="default/project.html">JBoss Portal project</a>, on-going development, open
+               issues, and our
+               user and developer communities.</p></td>
+      </tr>
+   </table>
+
+</div>
+<p>Thank you for downloading and deploying JBoss Portal. We hope your enjoy working with it as much as we enjoy
+   developing it!</p>
+<p>Baci e abbracci,<br/>
+   The JBoss Portal Team.</p>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/code.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/code.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/code.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<table width="100%" border="0" cellpadding="2">
+<tr>
+<td valign="top" align="left" class="portlet-section-body"><font class="portlet-font"><b>Document2: This is a protected document. This is used to test the fine grained access control</b></font></td>
+<td valign="top" align="right"><img src="default/images/jboss_logo.gif"></td>
+</tr>
+<tr>
+<td colspan="2">
+<table width="100%" border="0" cellpadding="2">
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/profsupport" target="_blank">Professional Support</a>
+<br/>
+The JBoss Subscription is a set of services and tools that assist you during every stage of the application lifecycle - from design and development, thru testing and deployment, to on-going management and monitoring of your enterprise application deployments. JBoss Subscriptions allow you to reduce business, legal, and technical risks while enabling you to more effectively utilize your team's resources. A JBoss Subscription will ensure that you achieve a much greater success rate for all of your JEMS-based projects.
+</font></td>
+</tr>
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/consulting" target="_blank">Consulting Services</a>
+<br/>
+JBoss offers short-term on-site JEMS consulting engagements that provide you expert assistance at various stages of the application lifecycle. All engagements are delivered by certified JEMS consultants.
+</font></td>
+</tr>
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/training" target="_blank">Training and Certification</a>
+<br/>
+A Certified JBoss Web Developer is capable of implementing presentation tier components for J2EE applications. They have the base knowledge on Servlet and JSP technology, Portlet specification, Tomcat Servlet container and JBoss Portal. A Certified JBoss Developer for web tier is able to implement and deploy presentation components (Web Archives) on Tomcat server and Portlet components on JBoss Portal implementation.
+</font></td>
+</tr>
+</table>
+</table>
+<br/>
+<a href="default/index.html"><img src="default/images/back.gif" border="0" alt="back"></a>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/confidential/license.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/confidential/license.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/confidential/license.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<table width="100%" border="0" cellpadding="2">
+<tr>
+<td valign="top" align="left" class="portlet-section-body"><font class="portlet-font"><b>Document3: This is a protected document. This is used to test the fine grained access control</b></font></td>
+<td valign="top" align="right"><img src="default/images/jboss_logo.gif"></td>
+</tr>
+<tr>
+<td colspan="2">
+<table width="100%" border="0" cellpadding="2">
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/profsupport" target="_blank">Professional Support</a>
+<br/>
+The JBoss Subscription is a set of services and tools that assist you during every stage of the application lifecycle - from design and development, thru testing and deployment, to on-going management and monitoring of your enterprise application deployments. JBoss Subscriptions allow you to reduce business, legal, and technical risks while enabling you to more effectively utilize your team's resources. A JBoss Subscription will ensure that you achieve a much greater success rate for all of your JEMS-based projects.
+</font></td>
+</tr>
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/consulting" target="_blank">Consulting Services</a>
+<br/>
+JBoss offers short-term on-site JEMS consulting engagements that provide you expert assistance at various stages of the application lifecycle. All engagements are delivered by certified JEMS consultants.
+</font></td>
+</tr>
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/training" target="_blank">Training and Certification</a>
+<br/>
+A Certified JBoss Web Developer is capable of implementing presentation tier components for J2EE applications. They have the base knowledge on Servlet and JSP technology, Portlet specification, Tomcat Servlet container and JBoss Portal. A Certified JBoss Developer for web tier is able to implement and deploy presentation components (Web Archives) on Tomcat server and Portlet components on JBoss Portal implementation.
+</font></td>
+</tr>
+</table>
+</table>
+<br/>
+<a href="default/index.html"><img src="default/images/back.gif" border="0" alt="back"></a>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/license.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/license.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/private/license.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<table width="100%" border="0" cellpadding="2">
+<tr>
+<td valign="top" align="left" class="portlet-section-body"><font class="portlet-font"><b>Document1: This is a protected document. This is used to test the fine grained access control</b></font></td>
+<td valign="top" align="right"><img src="default/images/jboss_logo.gif"></td>
+</tr>
+<tr>
+<td colspan="2">
+<table width="100%" border="0" cellpadding="2">
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/profsupport" target="_blank">Professional Support</a>
+<br/>
+The JBoss Subscription is a set of services and tools that assist you during every stage of the application lifecycle - from design and development, thru testing and deployment, to on-going management and monitoring of your enterprise application deployments. JBoss Subscriptions allow you to reduce business, legal, and technical risks while enabling you to more effectively utilize your team's resources. A JBoss Subscription will ensure that you achieve a much greater success rate for all of your JEMS-based projects.
+</font></td>
+</tr>
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/consulting" target="_blank">Consulting Services</a>
+<br/>
+JBoss offers short-term on-site JEMS consulting engagements that provide you expert assistance at various stages of the application lifecycle. All engagements are delivered by certified JEMS consultants.
+</font></td>
+</tr>
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/training" target="_blank">Training and Certification</a>
+<br/>
+A Certified JBoss Web Developer is capable of implementing presentation tier components for J2EE applications. They have the base knowledge on Servlet and JSP technology, Portlet specification, Tomcat Servlet container and JBoss Portal. A Certified JBoss Developer for web tier is able to implement and deploy presentation components (Web Archives) on Tomcat server and Portlet components on JBoss Portal implementation.
+</font></td>
+</tr>
+</table>
+</table>
+<br/>
+<a href="default/index.html"><img src="default/images/back.gif" border="0" alt="back"></a>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/project.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/project.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/project.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<table width="100%" border="0" cellpadding="2">
+   <tr>
+      <td valign="top" align="left" class="portlet-section-body" colspan="2"><font class="portlet-font">JBoss Inc. delivers the
+         Professional Support, Consulting, and Training that you need whether you are testing a proof of concept,
+         deploying a mission-critical application, or rolling out JEMS across your enterprise. </font></td>
+   </tr>
+   <tr>
+      <td colspan="2">
+      <table width="100%" border="0" cellpadding="2">
+         <tr>
+            <td class="portlet-section-alternate" width="16" valign="top" align="left"><img
+                  src="default/images/check.gif"></td>
+            <td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+               <a href="http://labs.jboss.com/portal/jbossportal/index.html" target="_blank">JBoss Portal Home</a>
+               <br/>
+               The Epicenter of everything JBoss Portal.</font></td>
+         </tr>
+         <tr>
+            <td class="portlet-section-alternate" width="16" valign="top" align="left"><img
+                  src="default/images/check.gif"></td>
+            <td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+               <a href="http://labs.jboss.com/portal/jbossportal/docs/index.html" target="_blank">Documentation</a>
+               <br/>
+               Here you will find user documentation, reference documentation, tutorials, and javadoc.</font></td>
+         </tr>
+         <tr>
+            <td class="portlet-section-alternate" width="16" valign="top" align="left"><img
+                  src="default/images/check.gif"></td>
+            <td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+               <a href="http://www.jboss.com/index.html?module=bb&op=viewforum&f=215" target="_blank">Forums</a>
+               <br/>
+               Our forums are the main channel of communication between all community
+               members. If you have any questions or concerns, please use
+               our <a href="http://www.jboss.org/index.html?module=bb&amp;op=viewforum&amp;f=215" target="_blank">User
+               Forums</a>, <a href="/index.html?module=bb&amp;op=viewforum&amp;f=205" target="_blank">Developer
+               Forums</a>, or <a href="http://jboss.org/index.html?module=bb&op=viewforum&f=232" target="_blank">WSRP Forums</a> to voice them. Project developers and community members are always there to help.
+            </font></td>
+         </tr>
+         <tr>
+            <td class="portlet-section-alternate" width="16" valign="top" align="left"><img
+                  src="default/images/check.gif"></td>
+            <td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+               <a href="http://www.jboss.com/wiki/Wiki.jsp?page=JBossPortal" target="_blank">Wiki</a>
+               <br/>
+               Our wiki knowledge base is a user and developer contributed collection of important resources regarding
+               JBoss Portal.</font></td>
+         </tr>
+         <tr>
+            <td class="portlet-section-alternate" width="16" valign="top" align="left"><img
+                  src="default/images/check.gif"></td>
+            <td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+               <a href="http://jira.jboss.com/jira/secure/BrowseProject.jspa?id=10050" target="_blank">Jira</a>
+               <br/>
+               JBoss Portal uses the JIRA tracking and project management system to organize and prioritize tasks.<br>
+               <a href="http://jira.jboss.com/jira/secure/BrowseProject.jspa?id=10050" target="_blank">JBoss Portal</a>
+               &nbsp;|&nbsp;<a
+                  href="http://jira.jboss.com/jira/browse/JBPORTAL?report=com.atlassian.jira.plugin.system.project:openissues-panel"
+                  target="_blank">Open Issues</a>
+               &nbsp;|&nbsp;<a
+                  href="http://jira.jboss.com/jira/browse/JBPORTAL?report=com.atlassian.jira.plugin.system.project:roadmap-panel"
+                  target="_blank">Roadmap</a></font></td>
+         </tr>
+      </table>
+</table>
+<br/>
+<a href="default/index.html"><img src="default/images/back.gif" border="0" alt="back"></a>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/support.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/support.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/support.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<table width="100%" border="0" cellpadding="2">
+<tr>
+<td valign="top" align="left" class="portlet-section-body"><font class="portlet-font">JBoss Inc. delivers the Professional Support, Consulting, and Training that you need whether you are testing a proof of concept, deploying a mission-critical application, or rolling out JEMS across your enterprise. </font></td>
+<td valign="top" align="right"><img src="default/images/jboss_logo.gif"></td>
+</tr>
+<tr>
+<td colspan="2">
+<table width="100%" border="0" cellpadding="2">
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/profsupport" target="_blank">Professional Support</a>
+<br/>
+The JBoss Subscription is a set of services and tools that assist you during every stage of the application lifecycle - from design and development, thru testing and deployment, to on-going management and monitoring of your enterprise application deployments. JBoss Subscriptions allow you to reduce business, legal, and technical risks while enabling you to more effectively utilize your team's resources. A JBoss Subscription will ensure that you achieve a much greater success rate for all of your JEMS-based projects.
+</font></td>
+</tr>
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/consulting" target="_blank">Consulting Services</a>
+<br/>
+JBoss offers short-term on-site JEMS consulting engagements that provide you expert assistance at various stages of the application lifecycle. All engagements are delivered by certified JEMS consultants.
+</font></td>
+</tr>
+<tr>
+<td class="portlet-section-alternate" width="16" valign="top" align="left"><img src="default/images/check.gif"></td>
+<td align="left" valign="top" class="portlet-section-alternate"><font class="portlet-font">
+<a href="http://www.jboss.com/services/training" target="_blank">Training and Certification</a>
+<br/>
+A Certified JBoss Web Developer is capable of implementing presentation tier components for J2EE applications. They have the base knowledge on Servlet and JSP technology, Portlet specification, Tomcat Servlet container and JBoss Portal. A Certified JBoss Developer for web tier is able to implement and deploy presentation components (Web Archives) on Tomcat server and Portlet components on JBoss Portal implementation.
+</font></td>
+</tr>
+</table>
+</table>
+<br/>
+<a href="default/index.html"><img src="default/images/back.gif" border="0" alt="back"></a>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,96 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+## CMS ADMIN PORTLET
+TITLE_HEAD=CMS Admin
+TITLE_BROWSE=Directory Browser
+TITLE_FILEBROWSE=File Browser
+TITLE_DELETECONFIRM=Confirm Delete
+TITLE_CREATECOLLCONFIRM=Confirm Directory Creation
+TITLE_COPYCONFIRM=Confirm Resource Copy
+TITLE_MOVECONFIRM=Confirm Resource Move
+TITLE_VIEWFILE=Viewing File Properties
+TITLE_EDIT=Edit File
+TITLE_CREATE=Create File
+TITLE_UPLOAD=Upload File
+TITLE_SECURECONFIRM=Secure Node
+
+CMS_SEARCH=Search
+CMS_SEARCHNORESULT=No result for this search
+CMS_MENU=Action Menu
+CMS_ACTION=Action
+CMS_NAME=Name
+CMS_TYPE=Type
+CMS_CREATED=Created
+CMS_MODIFIED=Modified
+CMS_DESCRIPTION=Description
+CMS_VIEW=View
+CMS_COPY=Copy
+CMS_MOVE=Move
+CMS_DELETE=Delete
+CMS_FOLDER=Folder
+CMS_FILE=File
+CMS_CREATE=Create
+CMS_CANCEL=Cancel
+CMS_EDIT=Edit
+CMS_UPLOAD=Upload
+CMS_MODIFY=Modify
+CMS_CREATEFOLDER= Create Folder
+CMS_CREATEFILE=Create File
+CMS_UPLOADARCHIVE=Upload Archive
+CMS_BACKTOBROWSER=Back to Directory Browser
+CMS_TRANSFER=Import/Export
+CMS_EXPORTARCHIVE=Export Folder
+CMS_SECURE=Secure
+
+CMS_CREATEFILEINDIR=Creating File in Directory
+CMS_FILENAME=FileName
+CMS_TITLE=Title
+CMS_LANGUAGE=Language
+
+CMS_DELETEPATH=Confirm Deletion of
+CMS_DELETEWARN1=WARNING! You will not be able to undo these change\!
+CMS_DELETEWARN2=Are you sure you want to delete this resource\?
+
+CMS_DESTINATION=Destination
+CMS_SOURCE=Source
+
+CMS_EDITING=Editing File
+CMS_LIVE=Make \"Live\"
+CMS_VERSION=Version
+CMS_WYSIWYG=WYSIWYG Editor
+
+CMS_LIVEVERSION=Live Version
+CMS_SIZE=Size
+
+CMS_CONTENT_DIR=Content Directory
+CMS_CONTENT_DIR_USE=Use the directory tree to navigate the portal folder structure.
+CMS_MAIN_USE=Use the CMS Administration portlet to manage the content of your portal.
+CMS_MANAGE=Manage Content
+
+CMS_CREATED_BY=Created By
+CMS_APPROVE=Approve
+CMS_DENY=Deny
+CMS_APPROVAL=Pending Items
+CMS_PATH=Location
+ 
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_es.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_es.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_es.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+# CMS ADMIN PORTLET
+TITLE_HEAD=Administraci�n de CMS
+TITLE_BROWSE=Explorador de directorios
+TITLE_DELETECONFIRM=Confirmar el borrado
+TITLE_CREATECOLLCONFIRM=Confirmar la creaci�n de directorio
+TITLE_COPYCONFIRM=Confirmar la copia del recurso
+TITLE_MOVECONFIRM=Confirmar el movimiento del recurso
+TITLE_VIEWFILE=Viendo las propiedades del fichero
+TITLE_EDIT=Editar fichero
+TITLE_CREATE=Crear fichero
+TITLE_UPLOAD=Subir fichero
+
+CMS_SEARCH=B�squeda

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_fr.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_fr.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_fr.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,37 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+# CMS ADMIN PORTLET
+TITLE_HEAD=Administration CMS
+TITLE_BROWSE=Navigation r\u00E9pertoires
+TITLE_DELETECONFIRM=Confirmer la suppression
+TITLE_CREATECOLLCONFIRM=Confirmer la cr\u00E9ation de r\u00E9pertoire
+TITLE_COPYCONFIRM=Confirmer la copie de fichier
+TITLE_MOVECONFIRM=Confirmer le d\u00E9placement de fichier
+TITLE_VIEWFILE=Voir les propri\u00E9t\u00E9s du fichier
+TITLE_EDIT=Editer le fichier
+TITLE_CREATE=Cr\u00E9er le fichier
+TITLE_UPLOAD=Charger le fichier
+TITLE_SECURECONFIRM=S\u00E9curiser le noeud
+CMS_SEARCH=Chercher
+CMS_SEARCHNORESULT=Aucun r\u00E9sultat pour cette recherche
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_it.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_it.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_it.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,96 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+## CMS ADMIN PORTLET
+TITLE_HEAD=Amministrazione CMS
+TITLE_BROWSE=Navigatore delle Directory
+TITLE_FILEBROWSE=Navigatore dei File
+TITLE_DELETECONFIRM=Conferma di Cancellazione
+TITLE_CREATECOLLCONFIRM=Conferma di creazione della Directory
+TITLE_COPYCONFIRM=Conferma di Copia della Risorsa
+TITLE_MOVECONFIRM=Conferma di Spostamento della Risorsa
+TITLE_VIEWFILE=Visualizzazione delle Proprieta' dei File
+TITLE_EDIT=Modifica File
+TITLE_CREATE=Creazione File
+TITLE_UPLOAD=Caricamento File
+TITLE_SECURECONFIRM=Nodo sicuro
+
+CMS_SEARCH=Ricerca
+CMS_SEARCHNORESULT=Nessun risultato per questa ricerca
+CMS_MENU=Menu delle Azioni
+CMS_ACTION=Azione
+CMS_NAME=Nome
+CMS_TYPE=Tipo
+CMS_CREATED=Creato
+CMS_MODIFIED=Modificato
+CMS_DESCRIPTION=Descrizione
+CMS_VIEW=Visualizza
+CMS_COPY=Copia
+CMS_MOVE=Sposta
+CMS_DELETE=Cancella
+CMS_FOLDER=Cartella
+CMS_FILE=File
+CMS_CREATE=Crea
+CMS_CANCEL=annullamento
+CMS_EDIT=Edita
+CMS_UPLOAD=Caricamento
+CMS_MODIFY=Modifica
+CMS_CREATEFOLDER= Crea Cartella
+CMS_CREATEFILE=Crea File
+CMS_UPLOADARCHIVE=Carica Archivio
+CMS_BACKTOBROWSER=Torna al Navigatore delle Directory
+CMS_TRANSFER=Importa/Esporta
+CMS_EXPORTARCHIVE=Esporta Cartella
+CMS_SECURE=Sicuro
+
+CMS_CREATEFILEINDIR=Crea File nella Directory
+CMS_FILENAME=Nome del File
+CMS_TITLE=Titolo
+CMS_LANGUAGE=Lingua
+
+CMS_DELETEPATH=Conferma la Cancellazione di
+CMS_DELETEWARN1=ATTENZIONE! Non ti e\' permesso tornare alla vecchia configurazione\!
+CMS_DELETEWARN2=Sei sicuro di voler cancellare questa risorsa\?
+
+CMS_DESTINATION=Destinazione
+CMS_SOURCE=Sorgente
+
+CMS_EDITING=Editaggio del File
+CMS_LIVE=Rendi \"Dal Vivo\"
+CMS_VERSION=Versione
+CMS_WYSIWYG=Editor WYSIWYG
+
+CMS_LIVEVERSION=Versione dal vivo
+CMS_SIZE=Grandezza
+
+CMS_CONTENT_DIR=Contenuto della Directory
+CMS_CONTENT_DIR_USE=Usa l\'albero delle directory per navigare nella struttura a cartelle del portale.
+CMS_MAIN_USE=Usa la portlet di Amministrazione CMS per gestire il contenuto del tuo portale.
+CMS_MANAGE=Controllare il soddisfare
+
+CMS_CREATED_BY=Creato da
+CMS_APPROVE=Approva
+CMS_DENY=Nega
+CMS_APPROVAL=Oggetti in sospeso
+CMS_PATH=Localita\'
+ 
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_pt_BR.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_pt_BR.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/classes/Resource_pt_BR.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,89 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+## CMS ADMIN PORTLET
+TITLE_HEAD=CMS Admin
+TITLE_BROWSE=Navegador de Diret�rios
+TITLE_FILEBROWSE=Navegador de Arquivos
+TITLE_DELETECONFIRM=Confirmar remo��o
+TITLE_CREATECOLLCONFIRM=Confirmar cria��o de diret�rio
+TITLE_COPYCONFIRM=Confirm Resource Copy
+TITLE_MOVECONFIRM=Confirm Resource Move
+TITLE_VIEWFILE=Visualizando Propriedades de Arquivo
+TITLE_EDIT=Editar Arquivo
+TITLE_CREATE=Criar Arquivo
+TITLE_UPLOAD=Enviar Arquivo
+
+CMS_SEARCH=Pesquisar
+CMS_MENU=Menu de A��es
+CMS_ACTION=A��o
+CMS_NAME=Nome
+CMS_TYPE=Tipo
+CMS_CREATED=Criado
+CMS_MODIFIED=Modificado
+CMS_DESCRIPTION=Descri��o
+CMS_VIEW=Visualizar
+CMS_COPY=Copiar
+CMS_MOVE=Mover
+CMS_DELETE=Remover
+CMS_FOLDER=Pasta
+CMS_FILE=Arquivo
+CMS_CREATE=Criar
+CMS_CANCEL=Cancel
+CMS_RESET=Resetar
+CMS_EDIT=Editar
+CMS_UPLOAD=Enviar
+CMS_MODIFY=Modificar
+CMS_CREATEFOLDER=Criar Pasta
+CMS_CREATEFILE=Criar Diret�rio
+CMS_UPLOADARCHIVE=Enviar Arquivo
+CMS_BACKTOBROWSER=Voltar ao Navegador de Diret�rios
+
+CMS_CREATEFILEINDIR=Criando Arquivo em Diret�rio
+CMS_FILENAME=Nome do Arquivo
+CMS_TITLE=T�tulo
+CMS_LANGUAGE=L�ngua
+
+CMS_DELETEPATH=Confirmar remo��o de
+CMS_DELETEWARN1=ATEN��O\! Voc� n�o poderar desfazer estas altera��es\!
+CMS_DELETEWARN2=Voc� tem certeza que deseja remover\?
+
+CMS_DESTINATION=Destino
+CMS_SOURCE=Fonte
+
+CMS_EDITING=Editando Arquivo
+CMS_LIVE=Tornar \"Ativo\"
+CMS_VERSION=Vers�o
+
+CMS_LIVEVERSION=Vers�o \"Ativa\"
+CMS_SIZE=Tamanho
+
+CMS_CONTENT_DIR=Content Directory
+CMS_CONTENT_DIR_USE=Use the directory tree to navigate the portal folder structure.
+CMS_MAIN_USE=Use the CMS Administration portlet to manage the content of your portal.
+CMS_MANAGE=Manage Content
+
+CMS_CREATED_BY=Created By
+CMS_APPROVE=Approve
+CMS_DENY=Deny
+CMS_APPROVAL=Pending Items

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/default-object.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/default-object.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/default-object.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portal Object 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
+   
+<deployments>
+   <deployment>
+      <parent-ref>admin</parent-ref>
+      <page>
+         <page-name>CMS</page-name>
+         <window>
+            <window-name>CMSAdminPortletWindow</window-name>
+            <instance-ref>CMSAdminPortletInstance</instance-ref>
+            <region>center</region>
+            <height>0</height>
+            <properties>
+               <property>
+                  <name>theme.renderSetId</name>
+                  <value>emptyRenderer</value>
+               </property>
+            </properties>
+         </window>
+         <properties>
+            <property>
+               <name>layout.id</name>
+               <value>1column</value>
+            </property>
+         </properties>
+      </page>
+   </deployment>
+</deployments>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jboss-portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jboss-portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jboss-portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,109 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE portlet-app PUBLIC
+   "-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
+   "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd">
+
+<portlet-app>
+   <portlet>
+      <portlet-name>CMSAdminPortlet</portlet-name>
+      <transaction>
+         <trans-attribute>Required</trans-attribute>
+      </transaction>
+      <header-content>
+         <link rel="stylesheet" type="text/css" href="/images/cms/admin/style.css" media="screen"/>
+      </header-content>
+   </portlet>
+   <!-- Service injected in the portlet context. -->
+   <service>
+      <service-name>PortalObjectContainer</service-name>
+      <service-class>org.jboss.portal.core.model.portal.PortalObjectContainer</service-class>
+      <service-ref>:container=PortalObject</service-ref>
+   </service>
+   <service>
+      <service-name>InstanceContainer</service-name>
+      <service-class>org.jboss.portal.core.model.instance.InstanceContainer</service-class>
+      <service-ref>:container=Instance</service-ref>
+   </service>
+   <service>
+      <service-name>ThemeService</service-name>
+      <service-class>org.jboss.portal.theme.ThemeService</service-class>
+      <service-ref>:service=ThemeService</service-ref>
+   </service>
+   <service>
+      <service-name>LayoutService</service-name>
+      <service-class>org.jboss.portal.theme.LayoutService</service-class>
+      <service-ref>:service=LayoutService</service-ref>
+   </service>
+   <service>
+      <service-name>CMS</service-name>
+      <service-class>org.jboss.portal.cms.CMS</service-class>
+      <service-ref>:service=CMS</service-ref>
+   </service>
+   <service>
+      <service-name>UserModule</service-name>
+      <service-class>org.jboss.portal.identity.UserModule</service-class>
+      <service-ref>:service=Module,type=User</service-ref>
+   </service>
+   <service>
+      <service-name>RoleModule</service-name>
+      <service-class>org.jboss.portal.identity.RoleModule</service-class>
+      <service-ref>:service=Module,type=Role</service-ref>
+   </service>
+   <service>
+      <service-name>UserProfileModule</service-name>
+      <service-class>org.jboss.portal.identity.UserProfileModule</service-class>
+      <service-ref>:service=Module,type=UserProfile</service-ref>
+   </service>
+   <service>
+      <service-name>MembershipModule</service-name>
+      <service-class>org.jboss.portal.identity.MembershipModule</service-class>
+      <service-ref>:service=Module,type=Membership</service-ref>
+   </service>
+   <service>
+      <service-name>MailModule</service-name>
+      <service-class>org.jboss.portal.core.modules.MailModule</service-class>
+      <service-ref>:service=Module,type=Mail</service-ref>
+   </service>
+   <service>
+      <service-name>PortalAuthorizationManagerFactory</service-name>
+      <service-class>org.jboss.portal.security.spi.auth.PortalAuthorizationManagerFactory</service-class>
+      <service-ref>:service=PortalAuthorizationManagerFactory</service-ref>
+   </service>
+   <service>
+      <service-name>AuthorizationDomainRegistry</service-name>
+      <service-class>org.jboss.portal.security.AuthorizationDomainRegistry</service-class>
+      <service-ref>:service=AuthorizationDomainRegistry</service-ref>
+   </service>
+   <service>
+      <service-name>FederatingPortletInvoker</service-name>
+      <service-class>org.jboss.portal.portlet.federation.FederatingPortletInvoker</service-class>
+      <service-ref>:service=PortletInvoker,type=Federating</service-ref>
+   </service>
+   <service>
+      <service-name>SearchFederationService</service-name>
+      <service-class>org.jboss.portal.search.federation.SearchFederation</service-class>
+      <service-ref>:service=SearchFederationService</service-ref>
+   </service>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<jboss-web>
+</jboss-web>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmcopy.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmcopy.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmcopy.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,50 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<%
+   String sCurrPath = (String) request.getAttribute("currpath");
+   String OP = CMSAdminConstants.OP_CONFIRMCOPY;
+   String sType = (String) request.getAttribute("type");
+   String sBackPath = NodeUtil.getParentPath(sCurrPath);
+%>
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<div class="admin-ui">
+<div class=" cms-tab-container">
+<table width="100%">
+   <th colspan="2"><h3 class="sectionTitle">${n:i18n("TITLE_COPYCONFIRM")}</h3></th>
+   <tr>
+      <td class="portlet-section-body" align="left">
+         <form name="pickform" action="<portlet:actionURL>
+    <portlet:param name="op" value="<%= CMSAdminConstants.OP_COPY %>"/>
+    <portlet:param name="source" value="<%= sCurrPath %>"/>
+    <portlet:param name="type" value="<%= sType %>"/>
+    </portlet:actionURL>" method="post">
+            <input type="hidden" name="destination" value="/">
+            <table>
+               <tr>
+                  <td>${n:i18n("CMS_SOURCE")}:</td>
+                  <td><%= sCurrPath %></td>
+               </tr>
+               <tr>
+                  <td height="25" valign="bottom">${n:i18n("CMS_DESTINATION")}:</td><td><input DISABLED type="text" size="40"
+                                                                              name="showdestination" value="/"
+                                                                              class="portlet-form-input-field"/></td>
+               </tr>
+               <tr><td></td><td valign="top"><input class="portlet-form-input-field" type="submit" value="${n:i18n("CMS_COPY")}"
+                                                          name="submit">
+                  <input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="<%= sBackPath %>"/></portlet:renderURL>'">
+               </td>
+               </tr>
+            </table>
+         </form>
+      </td>
+      <td valign="top" class="portlet-section-alternate">
+         <%@ include file="folderlist.jsp" %>
+      </td>
+   </tr>
+</table>
+</div>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmcreatecollection.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmcreatecollection.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmcreatecollection.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,66 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<%
+   String sCurrPath = (String)request.getAttribute("createpath");
+   String OP = CMSAdminConstants.OP_CONFIRM_CREATE_COLLECTION;
+%>
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<div class="admin-ui">
+<div class=" cms-tab-container">
+<table width="100%">
+   <th colspan="2"><h3 class="sectionTitle">${n:i18n("TITLE_CREATECOLLCONFIRM")}</h3></th>
+   <tr>
+      <td valign="top" width="250" class="portlet-section-alternate">
+         <%@ include file="folderlist.jsp" %>
+      </td>
+      <td class="portlet-section-body" align="left">
+         <form name="pickform" action="<portlet:actionURL>
+    <portlet:param name="op" value="<%= CMSAdminConstants.OP_CREATE_COLLECTION %>"/>
+    <portlet:param name="createpath" value="<%= sCurrPath %>"/>
+    </portlet:actionURL>" method="post">
+            <input type="hidden" name="destination" value="<%= sCurrPath %>">
+            <table>
+               <tr>
+                  <td valign="bottom">
+                     Destination:
+                  </td>
+                  <td>
+                     <input DISABLED type="text" size="40" name="showdestination" value="<%= sCurrPath %>"
+                            class="portlet-form-input-field"/></td>
+               </tr>
+               <tr>
+                  <td valign="bottom">${n:i18n("CMS_NAME")}:</td>
+                  <td align="left"><input class="portlet-form-input-field" type="text"
+                                          name="newcollectionname" size="40" maxlength="50">
+                  </td>
+               </tr>
+               <tr>
+                  <td valign="bottom">${n:i18n("CMS_DESCRIPTION")}:</td>
+                  <td align="left"><input class="portlet-form-input-field" type="text"
+                                          name="newcollectiondescription"
+                                          size="40" maxlength="80">
+                  </td>
+               </tr>
+               <tr>
+                  <td></td>
+                  <td>
+                     <input class="portlet-form-button" type="submit" value="${n:i18n("CMS_CREATE")}" name="submit">
+                     <input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="<%= sCurrPath %>"/></portlet:renderURL>'">
+                  </td>
+               </tr>
+            </table>
+         </form>
+      </td>
+   </tr>
+</table>
+<br/><br/>
+</div>
+</div>
+
+
+
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmdelete.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmdelete.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmdelete.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,42 @@
+<%@ page import="org.jboss.portal.cms.util.NodeUtil" %>
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<div class="admin-ui">
+   <div class=" cms-tab-container">
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+   String sBackPath = NodeUtil.getParentPath(sCurrPath);
+%>
+
+<form action="<portlet:actionURL>
+ <portlet:param name="op" value="<%= CMSAdminConstants.OP_DELETE %>"/>
+ <portlet:param name="path" value="<%= sCurrPath %>"/>
+ </portlet:actionURL>" method="post">
+   <table width="100%">
+      <th><h3 class="sectionTitle">${n:i18n("TITLE_DELETECONFIRM")}</h3></th>
+      <tr>
+         <td align="center">
+            <font class="portlet-font">${n:i18n("CMS_DELETEPATH")} <%= sCurrPath %>
+            </font>
+            <br><br>
+            <font class="portlet-font" style="color:red"><b>${n:i18n("CMS_DELETEWARN1")}</b></font>
+            <br><br>
+            <font class="portlet-font">${n:i18n("CMS_DELETEWARN2")}</font><br>
+         </td>
+      </tr>
+      <tr>
+         <td align="center"><input type="submit" value="${n:i18n("CMS_DELETE")}" name="submit"
+                                   class="portlet-form-button">
+            <input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="<%= sBackPath %>"/></portlet:renderURL>'">
+                                   </td>
+      </tr>
+   </table>
+</form>
+</div>
+   </div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmmove.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmmove.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/confirmmove.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,60 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+   String OP = CMSAdminConstants.OP_CONFIRMMOVE;
+   String sType = (String)request.getAttribute("type");
+   String sBackPath = NodeUtil.getParentPath(sCurrPath);
+%>
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<div class="admin-ui">
+   <div class=" cms-tab-container">
+<table width="100%">
+   <th colspan="2"><h3 class="sectionTitle">${n:i18n("TITLE_MOVECONFIRM")}</h3></th>
+   <tr>
+      <td valign="top" width="250" class="portlet-section-alternate">
+         <%@ include file="folderlist.jsp" %>
+      </td>
+      <td class="portlet-section-body" align="left">
+         <form name="pickform" action="<portlet:actionURL>
+    <portlet:param name="op" value="<%= CMSAdminConstants.OP_MOVE %>"/>
+    <portlet:param name="source" value="<%= sCurrPath %>"/>
+    <portlet:param name="type" value="<%= sType %>"/>
+    </portlet:actionURL>" method="post">
+            <input type="hidden" name="destination" value="/">
+            <table>
+               <tr>
+                  <td>${n:i18n("CMS_SOURCE")}:</td>
+                  <td><%= sCurrPath %>
+                  </td>
+               </tr>
+               <tr>
+                  <td valign="bottom">
+                     ${n:i18n("CMS_DESTINATION")}:
+                  </td>
+                  <td>
+                     <input DISABLED type="text" size="40" name="showdestination" value="/"
+                            class="portlet-form-input-field"/>
+                  </td>
+               </tr>
+               <tr>
+                  <td></td>
+                  <td>
+                     <input class="portlet-form-button" type="submit" value="${n:i18n("CMS_MOVE")}" name="submit">
+                     <input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="<%= sBackPath %>"/></portlet:renderURL>'">
+                  </td>
+               </tr>
+            </table>
+         </form>
+      </td>
+   </tr>
+</table>
+<br/><br/>
+
+
+</div>
+   </div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/create.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/create.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/create.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,206 @@
+<%@ page import="
+                 org.jboss.portal.core.cms.ui.admin.CMSAdminConstants,
+                 java.util.Locale" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+   String[] langs = Locale.getISOLanguages();
+   String sDocBase = (String)request.getAttribute("document_base_url");
+   String sCSSURL = (String)request.getAttribute("css_url");
+   
+   //validation handling related data
+   String sContent = (String)request.getAttribute("error:content");
+   String description = (String)request.getAttribute("error:description");
+   String title = (String)request.getAttribute("error:title");
+   String language = (String)request.getAttribute("error:language");
+   if(sContent == null)
+   {
+   		sContent = "";
+   }
+   if(description == null)
+   {
+   		description = "";
+   }
+   if(title == null)
+   {
+   		title = "";
+   }
+   if(language == null)
+   {
+   		language = "";
+   }
+%>
+
+<!-- tinyMCE -->
+<script language="javascript" type="text/javascript"
+        src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH %>/tiny_mce/tiny_mce_src.js"></script>
+<script language="javascript" type="text/javascript">
+   tinyMCE.init({
+      mode : "textareas",
+      theme : "advanced",
+      theme_advanced_disable : "styleselect",
+      plugins : "advhr,advimage,advlink,emotions,insertdatetime,preview,zoom,flash",
+      theme_advanced_buttons1_add : "fontselect,fontsizeselect,forecolor",
+      theme_advanced_buttons2_add_before: "cut,copy,paste,separator",
+      theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom",
+      theme_advanced_buttons3_add : "flash,advhr",
+      content_css : "<%= sCSSURL %>",
+      plugin_insertdate_dateFormat : "%Y-%m-%d",
+      plugin_insertdate_timeFormat : "%H:%M:%S",
+      relative_urls : "false",
+      document_base_url : "<%= sDocBase %>",
+      extended_valid_elements : "style[type],a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],font[face|size|color],hr[class|width|size|noshade]"
+   });
+   
+   var status = true;
+   function toggleEditor()
+   {
+	   if(status)
+	   {
+           	tinyMCE.execCommand("mceRemoveControl", false, "elm1");
+            status = false;
+       }
+       else
+	   {
+            tinyMCE.execCommand("mceAddControl", false, "elm1");
+            status = true;
+       }
+   }
+</script>
+<!-- /tinyMCE -->
+
+<!-- data validation -->
+<script language="javascript" type="text/javascript">
+	function validateAndSubmit()
+	{
+		if(document.pickform.filename.value.length == 0)
+		{
+			alert("${n:i18n("CMS_FILENAME")} is required.");
+		}
+		else
+		{
+			document.pickform.submit();
+		}
+	}
+</script>
+<div class="admin-ui">
+<div class=" cms-tab-container">
+<form name="pickform" method="post" action="<portlet:actionURL>
+    <portlet:param name="op" value="<%= CMSAdminConstants.OP_SAVENEWTEXT %>"/>
+    <portlet:param name="path" value=""/>
+    </portlet:actionURL>">
+   <input type="hidden" name="savetopath" value="<%= sCurrPath %>">
+
+   <table width="100%">
+      <th ><h3 class="sectionTitle">${n:i18n("TITLE_CREATE")}</h3></th>
+      <tr>
+         <td height="10"></td>
+      </tr>
+      <tr>
+         <td>
+            <table>
+               <tr>
+                  <td>${n:i18n("CMS_CREATEFILEINDIR")}:
+                  </td>
+                  <td><%= sCurrPath %>
+                  </td>
+               </tr>
+               <tr>
+                  <td>${n:i18n("CMS_FILENAME")}:</td>
+                  <td>
+                  	<input
+                     type="text" name="filename"
+                     class="portlet-form-input-field"/>
+                     : Required
+                  </td>
+               </tr>
+               <tr>
+                  <td>${n:i18n("CMS_DESCRIPTION")}:</td>
+         <td><input type="text" size="40" maxlength="80"
+                    name="description" value="<%=description%>"
+                    class="portlet-form-input-field"/></td>
+      </tr>
+      <tr>
+         <td>
+            ${n:i18n("CMS_TITLE")}:
+         </td>
+         <td><input type="text" size="40" maxlength="80"
+                    name="title" value="<%=title%>"
+                    class="portlet-form-input-field"/>
+         </td>
+      </tr>
+      <tr>
+         <td>
+            ${n:i18n("CMS_LANGUAGE")}:
+         </td>
+         <td><select name="language"
+                     class="portlet-form-input-field">
+            
+            <%if(language.equals("")){%>            
+            <%
+               for (int i = 0; i < langs.length; i++)
+               {
+            %>
+            <option value="<%= langs[i] %>" <%if(langs[i].equals(Locale.getDefault().getLanguage())){%>selected<%}%>><%= new Locale(langs[i]).getDisplayLanguage() %></option>
+            <%
+               }
+            %>
+            <%}else{%>
+            <%
+               for (int i = 0; i < langs.length; i++)
+               {
+            %>
+            <option value="<%= langs[i] %>" <%if(langs[i].equals(language)){%>selected<%}%>><%= new Locale(langs[i]).getDisplayLanguage() %></option>
+            <%
+               }
+            %>
+            <%}%>
+         </select>
+         </td>
+      </tr>
+      <tr>
+         <td class="portlet-section-header" valign="bottom">
+            ${n:i18n("CMS_WYSIWYG")}:
+         </td>
+         <td>
+         	<input type="checkbox" name="wysiwyg" class="portlet-form-input-field" checked onclick="javascript:toggleEditor();"/>
+         </td>
+      </tr>
+   </table>
+</td>
+</tr>
+<tr>
+   <td height="10"></td>
+</tr>
+<tr>
+   <td class="portlet-section-alternate">
+      <img src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/info.gif" border="0"
+           alt="Info"> Links to resources within this portal should be absolute. For example: A link to an image
+      located in default/images/back.gif
+      should be typed in exactly as shown here.
+      Do not prefix a slash (/) to the path of the resource. You can verify the link is correct by clicking on the
+      preview button in the editor.
+   </td>
+</tr>
+<tr>
+   <td height="10"></td>
+</tr>
+<tr>
+   <td align="center">
+      <textarea id="elm1" name="elm1" rows="20" cols="80" style="width: 100%"><%= sContent %></textarea>
+      <br>
+      <input type="button" name="save" value="${n:i18n("CMS_CREATE")}" class="portlet-form-button" onclick="javascript:validateAndSubmit();"/>
+      <input type="reset" name="reset" value="Reset" class="portlet-form-button"/>
+      <input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="<%= sCurrPath %>"/></portlet:renderURL>'">
+   </td>
+</tr>
+</table>
+</form>
+</div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/edit.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/edit.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/edit.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,174 @@
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants" %>
+<%@ page import="java.util.Locale" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<div class="admin-ui">
+<div class=" cms-tab-container">
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+   String sContent = (String)request.getAttribute("content");
+   String sDocBase = (String)request.getAttribute("document_base_url");
+   String sCSSURL = (String)request.getAttribute("css_url");
+   String sLanguage = (String)request.getAttribute("language");
+   String sVersion = (String)request.getAttribute("version");
+   String sTitle = (String)request.getAttribute("title");
+   String sDescription = (String)request.getAttribute("description");
+%>
+
+<!-- tinyMCE -->
+<script language="javascript" type="text/javascript"
+        src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH %>/tiny_mce/tiny_mce_src.js"></script>
+<script language="javascript" type="text/javascript">   
+   tinyMCE.init({
+      mode : "textareas",
+      theme : "advanced",
+      theme_advanced_disable : "styleselect",
+      plugins : "advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash",
+      theme_advanced_buttons1_add : "fontselect,fontsizeselect,forecolor",
+      theme_advanced_buttons2_add_before: "cut,copy,paste,separator",
+      theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom",
+      theme_advanced_buttons3_add : "iespell,flash,advhr",
+      content_css : "<%= sCSSURL %>",
+      plugin_insertdate_dateFormat : "%Y-%m-%d",
+      plugin_insertdate_timeFormat : "%H:%M:%S",
+      relative_urls : "false",
+      document_base_url : "<%= sDocBase %>",
+      extended_valid_elements : "style[type],a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],font[face|size|color],hr[class|width|size|noshade]"
+   });
+   
+   var status = true;
+   function toggleEditor()
+   	{
+	   if(status)
+	   {
+           	tinyMCE.execCommand("mceRemoveControl", false, "elm1");
+            status = false;
+       }
+       else
+	   {
+            tinyMCE.execCommand("mceAddControl", false, "elm1");
+            status = true;
+       }
+   	}
+</script>
+<!-- /tinyMCE -->
+
+<form method="post" action="<portlet:actionURL>
+    <portlet:param name="op" value="<%= CMSAdminConstants.OP_SAVETEXT %>"/>
+    <portlet:param name="savetopath" value="<%= sCurrPath %>"/>
+    <portlet:param name="language" value="<%= sLanguage %>"/>
+    </portlet:actionURL>">
+
+<table width="100%">
+   <th><h3 class="sectionTitle">${n:i18n("TITLE_EDIT")}</h3></th>
+   <tr>
+      <td height="10"></td>
+   </tr>
+   <tr>
+      <td>
+         <tr>
+            <td>
+               <table>
+                  <tr>
+                     <td>${n:i18n("CMS_EDITING")}:
+                     </td>
+                     <td><%= sCurrPath %>
+                     </td>
+                  </tr>
+                  <tr>
+                     <td>
+                        ${n:i18n("CMS_DESCRIPTION")}:
+                     </td>
+                     <td><input type="text"
+                                size="40"
+                                maxlength="80"
+                                name="description"
+                                value="<%= sDescription %>"
+                                class="portlet-form-input-field"/>
+                     </td>
+                  </tr>
+                  <tr>
+                     <td>
+                        ${n:i18n("CMS_TITLE")}:
+                     </td>
+                     <td><input type="text" size="40"
+                                maxlength="80"
+                                name="title"
+                                value="<%= sTitle %>"
+                                class="portlet-form-input-field"/>
+                     </td>
+                  </tr>
+                  <tr>
+                     <td>
+                        ${n:i18n("CMS_LANGUAGE")}:
+                     </td>
+                     <td><%= new Locale(sLanguage).getDisplayLanguage() %>
+                     </td>
+                  </tr>
+                  <tr>
+                     <td>
+                        ${n:i18n("CMS_LIVE")}:
+                     </td>
+                     <td><input type="checkbox" name="makelive" checked
+                                class="portlet-form-input-field"/>
+                     </td>
+                  </tr>
+                  <tr>
+                     <td>
+                        ${n:i18n("CMS_VERSION")}:
+                     </td>
+                     <td><%= sVersion %>
+                     </td>
+                  </tr>
+                  <tr>
+                     <td class="portlet-section-header" valign="bottom">
+                        ${n:i18n("CMS_WYSIWYG")}:
+                     </td>
+                     <td>
+                     	<input type="checkbox" name="wysiwyg" class="portlet-form-input-field" checked onclick="javascript:toggleEditor();"/>
+                     </td>
+                  </tr>
+               </table>
+            </td>
+         </tr>
+         <tr>
+            <td height="10"></td>
+         </tr>
+         <tr>
+            <td class="portlet-section-alternate">
+               <img src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/info.gif"
+                    border="0"
+                    alt="Info"> Links to resources within this portal should be absolute. For example: A link to an
+               image
+               located in default/images/back.gif
+               should be typed in exactly as shown here.
+               Do not prefix a slash (/) to the path of the resource. You can verify the link is correct by clicking
+               on
+               the
+               preview button in the editor.
+            </td>
+         </tr>
+         <tr>
+            <td height="10"></td>
+         </tr>
+         <tr>
+            <td align="center">
+               <textarea id="elm1" name="elm1" rows="20" cols="80" style="width: 100%" class="textarea">
+                         <%= sContent %>
+               </textarea>
+               <br>
+               <input type="submit" name="save" value="${n:i18n("CMS_CREATE")}" class="portlet-form-button"/>
+               <input type="reset" name="reset" value="Reset" class="portlet-form-button"/>
+               <input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_VIEWFILE %>"/><portlet:param name="path" value="<%= sCurrPath %>"/></portlet:renderURL>'">
+            </td>
+         </tr>
+</table>
+</form>
+
+</div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/editbinary.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/editbinary.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/editbinary.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<div class="admin-ui">
+   <div class=" cms-tab-container">
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+   String sLanguage = (String)request.getAttribute("language");
+%>
+
+<form name="pickform" method="post" enctype="multipart/form-data" action="<portlet:actionURL>
+    <portlet:param name="op" value="<%= CMSAdminConstants.OP_EDIT_BINARY %>"/>
+    </portlet:actionURL>">
+   <input type="hidden" name="destination" value="<%= sCurrPath %>">
+   <input type="hidden" name="language" value="<%= sLanguage %>">
+   <table width="100%">
+      <th colspan="2"><h3 class="sectionTitle">${n:i18n("TITLE_UPLOAD")}</h3></th>
+      <tr>
+         <td align="left">
+            <table>
+               <tr>
+                  <td valign="top" width="150">
+                     ${n:i18n("CMS_EDITING")}:
+                  </td>
+                  <td valign="top"><%= sCurrPath %>
+                  </td>
+               </tr>
+               <tr>
+                  <td valign="top">
+                     ${n:i18n("CMS_DESCRIPTION")}:
+                  </td>
+                  <td valign="top"><input type="text" size="40" maxlength="80" name="description" value=""
+                             class="portlet-form-input-field"/></td>
+               </tr>
+               <tr>
+                  <td valign="top">
+                     ${n:i18n("CMS_TITLE")}:
+                  </td>
+                  <td valign="top"><input type="text" size="40" maxlength="80" name="title" value=""
+                             class="portlet-form-input-field"/></td>
+               </tr>
+               <tr>
+                  <td valign="top">${n:i18n("CMS_LIVE")}:</td>
+                  <td valign="top"><input type="checkbox" name="makelive" checked
+                                          class="portlet-form-input-field"/></td>
+               </tr>
+               <tr>
+                  <td colspan="2">
+                     <input type="file" size="32" name="response" value="" class="portlet-form-input-field"/>
+                     <br>
+                     <input type="submit" name="submit" value="${n:i18n("CMS_UPLOAD")}" class="portlet-form-button"/>
+                     <input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="<%= sCurrPath %>"/></portlet:renderURL>'">
+                  </td>
+               </tr>
+            </table>
+         </td>
+      </tr>
+   </table>
+</form>
+
+</div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,70 @@
+<%@ page import="java.util.Locale" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+   String OP = CMSAdminConstants.OP_EXPORTARCHIVE;
+   String[] langs = Locale.getISOLanguages();
+%>
+<div class="admin-ui">
+   <div class=" cms-tab-container">
+<form name="pickform" method="post" action="<portlet:actionURL>
+    <portlet:param name="op" value="<%= CMSAdminConstants.OP_EXPORTARCHIVE %>"/>
+    </portlet:actionURL>">
+   <input type="hidden" name="destination" value="<%= sCurrPath %>">
+   <table width="100%">
+      <th colspan="2"><h3 class="sectionTitle">${n:i18n("CMS_EXPORTARCHIVE")}</h3></th>
+      <tr>
+         <td valign="top" width="250" class="portlet-section-alternate">
+            <%@ include file="folderlist.jsp" %>
+         </td>
+         <td align="left">
+            <table>
+               <tr>
+                  <td valign="bottom">
+                     ${n:i18n("CMS_EXPORTARCHIVE")}:
+                  </td>
+                  <td>
+                     <input DISABLED type="text" size="40" name="showdestination" value="<%= sCurrPath %>"
+                            class="portlet-form-input-field"/></td>
+               </tr>
+               <tr>
+                  <td valign="bottom">
+                     ${n:i18n("CMS_LANGUAGE")}:
+                  </td>
+                  <td><select name="language" class="portlet-form-input-field">
+                     <option selected
+                             value="<%= Locale.getDefault().getLanguage() %>"><%= Locale.getDefault().getDisplayLanguage() %>
+                     </option>
+                     <%
+                        for (int i = 0; i < langs.length; i++)
+                        {
+                     %>
+                     <option value="<%= langs[i] %>"><%= new Locale(langs[i]).getDisplayLanguage() %>
+                     </option>
+                     <%
+                        }
+                     %>
+                  </select>
+                  </td>
+               </tr>
+               <tr>
+                  <td colspan="2">
+                     <br><br>
+                     <input type="submit" name="submit" value="${n:i18n("CMS_EXPORTARCHIVE")}"
+                            class="portlet-form-button"/>
+                     <input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="<%= sCurrPath %>"/></portlet:renderURL>'">
+                  </td>
+               </tr>
+            </table>
+         </td>
+      </tr>
+   </table>
+</form>
+</div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive_pickup.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive_pickup.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive_pickup.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<div class="admin-ui">
+   <div class=" cms-tab-container">
+<%
+   String sCurrPath = (String) request.getAttribute("currpath");
+%>
+
+<table width="100%">
+   <th ><h3 class="sectionTitle">${n:i18n("CMS_EXPORTARCHIVE")}</h3></th>
+   <tr>
+      <td align="left">
+         <table width="100%">
+            <tr>
+               <td align="center">
+                  Your export of <b><%= sCurrPath %></b> is ready for download.
+               </td>
+            </tr>
+            <tr><td height="10">&nbsp;</td></tr>
+            <tr>
+               <td align="center">
+                  <a href="<%= request.getContextPath() %>/cmsexport?og" target="_blank"><img
+                        src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/export_pickup.gif"
+                        alt="${n:i18n("CMS_DELETE")}" border="0"></a><br/>
+                  <a href="<%= request.getContextPath() %>/cmsexport?og" target="_blank">Click to Download</a>
+                  <br/>
+                  <input class="portlet-form-button" type="button" value="${n:i18n("CMS_BACKTOBROWSER")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="<%= sCurrPath %>"/></portlet:renderURL>'">
+               </td>
+            </tr>
+         </table>
+      </td>
+   </tr>
+</table>
+</div>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive_pickup_error.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive_pickup_error.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/exportarchive_pickup_error.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,31 @@
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<div class="admin-ui">
+   <div class=" cms-tab-container">
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+%>
+
+<table width="100%">
+   <th ><h3 class="sectionTitle">${n:i18n("CMS_EXPORTARCHIVE")}</h3></th>
+   <tr>
+      <td align="left">
+         <table width="100%">
+            <tr>
+               <td align="center"><font color="red">ERROR processing export request!</font></td>
+            </tr>
+            <tr>
+               <td align="center"><input class="portlet-form-button" type="button" value="${n:i18n("CMS_BACKTOBROWSER")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="<%= sCurrPath %>"/></portlet:renderURL>'"></td>
+            </tr>
+         </table>
+      </td>
+   </tr>
+</table>
+</div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/folderlist.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/folderlist.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/folderlist.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,127 @@
+<%@ page import="org.jboss.portal.cms.model.Folder" %>
+<%@ page import="org.jboss.portal.cms.util.NodeUtil" %>
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.StringTokenizer" %>
+<%@ page isELIgnored="false" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+
+<%
+   // needed for copy/move type: fi(file) or fo(folder).
+   String sCMType = (String)request.getAttribute("type");
+%>
+
+<script language="JavaScript" type="text/javascript">
+   function fillform(val)
+   {
+      this.document.pickform.destination.value = val;
+      this.document.pickform.showdestination.value = val;
+   }
+</script>
+
+<h6>${n:i18n("CMS_CONTENT_DIR")}</h6>
+${n:i18n("CMS_CONTENT_DIR_USE")}
+<hr/>
+
+<a href="<portlet:renderURL>
+   <portlet:param name="op" value="<%= OP %>"/>
+   <portlet:param name="path" value="/"/>
+   <portlet:param name="navpath" value="/"/>
+   <%
+      if (sCMType != null)
+      {
+   %>
+   <portlet:param name="type" value="<%= sCMType %>"/>
+   <%
+      }
+   %>
+   </portlet:renderURL>">
+   <img src="<%= request.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH %>/plus.gif" border="0"
+        alt="Expand"/></a>
+&nbsp;
+<a href="javascript:fillform('/')">Root Folder</a><br>
+
+<%
+   String sNavPath = (String)request.getAttribute("navpath");
+   List NAVfolders = (List)request.getAttribute("folders");
+   if (NAVfolders != null && NAVfolders.size() > 0)
+   {
+      Folder trailFolder = (Folder)NAVfolders.get(0);
+      String sSomePath = trailFolder.getBasePath();
+      int firstSlash = sSomePath.indexOf("/");
+      int lastSlash = sSomePath.lastIndexOf("/");
+      sSomePath = sSomePath.substring(firstSlash, lastSlash);
+      StringTokenizer parser = new StringTokenizer(sSomePath, "/");
+      String sPathBuilder = "";
+      while (parser.hasMoreTokens())
+      {
+         String sPathChunk = parser.nextToken();
+         sPathBuilder += "/" + sPathChunk;
+%>
+&nbsp;
+<a href="<portlet:renderURL>
+   <portlet:param name="op" value="<%= OP %>"/>
+   <portlet:param name="path" value="<%= sCurrPath %>"/>
+   <portlet:param name="navpath" value="<%= sPathBuilder %>"/>
+   <%
+      if (sCMType != null)
+      {
+   %>
+   <portlet:param name="type" value="<%= sCMType %>"/>
+   <%
+      }
+   %>
+   </portlet:renderURL>">
+   <img src="<%= request.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH %>/plus.gif" border="0"
+        alt="Expand"/></a>&nbsp;<a href="javascript:fillform('<%= sPathBuilder %>')"><%= sPathBuilder %></a><br>
+
+<%
+   }
+
+   for (int i = 0; i < NAVfolders.size(); i++)
+   {
+      Folder folder = (Folder)NAVfolders.get(i);
+%>
+
+&nbsp;&nbsp;&nbsp;<a href="
+<portlet:renderURL>
+   <portlet:param name="op" value="<%= OP %>"/>
+   <portlet:param name="path" value="<%= sCurrPath %>"/>
+   <portlet:param name="navpath" value="<%= folder.getBasePath() %>"/>
+   <%
+      if (sCMType != null)
+      {
+   %>
+   <portlet:param name="type" value="<%= sCMType %>"/>
+   <%
+      }
+   %>
+</portlet:renderURL>
+"><img src="<%= request.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH %>/plus.gif" border="0"
+alt="Expand"/></a>&nbsp;<a href="javascript:fillform('<%= folder.getBasePath() %>')"><%=
+   folder.getBasePath().substring(folder.getBasePath().lastIndexOf("/") + 1, folder.getBasePath().length()) %></a>
+<br>
+
+<%
+   }
+}
+else
+{
+%>
+<a href="<portlet:renderURL>
+   <portlet:param name="op" value="<%= OP %>"/>
+   <portlet:param name="path" value="<%= sCurrPath %>"/>
+   <portlet:param name="navpath" value="<%= NodeUtil.getParentPath(sNavPath) %>"/>
+   <%
+      if(sCMType != null)
+      {
+   %>
+   <portlet:param name="type" value="<%= sCMType %>"/>
+   <%
+      }
+   %>
+</portlet:renderURL>">Up</a>
+<%
+   }
+%>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/help.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/help.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/help.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Help page - nothing to see hear. Move along.
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/main.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/main.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/main.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,301 @@
+<%@ page import="org.jboss.portal.cms.model.File" %>
+<%@ page import="org.jboss.portal.cms.model.Folder" %>
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants" %>
+<%@ page import="java.text.Format" %>
+<%@ page import="java.text.SimpleDateFormat" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.StringTokenizer" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+   List folders = (List)request.getAttribute("folders");
+   List files = (List)request.getAttribute("files");
+   String createDate = "";
+   String modifiedDate = "";
+   Boolean manageWorkflowAccessible = (Boolean)request.getAttribute("manageWorkflowAccessible");
+%>
+
+<div class="admin-ui">
+<div class=" cms-tab-container">
+<h3 class="sectionTitle">
+${n:i18n("CMS_MANAGE")}
+</h3>
+
+<!-- Currently browsing -->
+<ul class="objectpath">
+   <li class="pathItem"><a href="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/>
+      <portlet:param name="path" value="/"/>
+      </portlet:renderURL>">Home</a></li>
+
+
+<%
+   StringTokenizer parser = new StringTokenizer(sCurrPath, "/");
+   String sPathBuilder = "";
+   while (parser.hasMoreTokens())
+   {
+      String sPathChunk = parser.nextToken();
+      sPathBuilder += "/" + sPathChunk;
+      if (parser.hasMoreTokens())
+      {
+%>
+   <li class="pathSeperator"><img src="/portal-admin/img/pathSeparator.png" alt=">"></li>
+ <li class="pathItem"><a href="
+<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/>
+   <portlet:param name="path" value="<%= sPathBuilder %>"/>
+</portlet:renderURL>
+"><%= sPathChunk %>
+</a>
+    </li>
+<%
+}
+else
+{
+%>
+<li class="pathSeperator"><img src="/portal-admin/img/pathSeparator.png" alt=">"></li>
+ <li class="selected"><%= sPathChunk %></li>
+<%
+      }
+   }
+%>
+</ul>
+<br/>
+<!-- folder-level action dropdown -->
+<div class="menu-container">
+   <div class="menu">
+<select onchange="window.open(this.options[this.selectedIndex].value,'_top')">
+    <option value="">Select Action...</option>
+    <option value="<portlet:renderURL>
+                     <portlet:param name="op" value="<%= CMSAdminConstants.OP_CONFIRM_CREATE_COLLECTION %>"/>
+                     <portlet:param name="path" value="<%= sCurrPath %>"/>
+                     </portlet:renderURL>">${n:i18n("CMS_CREATEFOLDER")}</option>
+    <option value="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_CREATENEWTEXT %>"/>
+      <portlet:param name="path" value="<%= sCurrPath %>"/>
+      </portlet:renderURL>">${n:i18n("CMS_CREATEFILE")}</option>
+    <option value="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_UPLOADCONFIRM %>"/>
+      <portlet:param name="path" value="<%= sCurrPath %>"/>
+      </portlet:renderURL>">${n:i18n("TITLE_UPLOAD")}</option>
+    <option value="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_UPLOADARCHIVECONFIRM %>"/>
+      <portlet:param name="path" value="<%= sCurrPath %>"/>
+      </portlet:renderURL>">${n:i18n("CMS_UPLOADARCHIVE")}</option>
+    <option value="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_EXPORTARCHIVE %>"/>
+      <portlet:param name="path" value="<%= sCurrPath %>"/>
+      </portlet:renderURL>">${n:i18n("CMS_EXPORTARCHIVE")}</option>
+   <option value="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_CONFIRMSECURE %>"/>
+      <portlet:param name="path" value="<%= sCurrPath %>"/>
+      <portlet:param name="returnOp" value="<%= CMSAdminConstants.OP_MAIN %>"/>
+      </portlet:renderURL>">${n:i18n("CMS_SECURE")}</option>
+   <%if(manageWorkflowAccessible.booleanValue()){%>
+   <option value="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_VIEWPENDING %>"/>
+      <portlet:param name="path" value="<%= sCurrPath %>"/>
+      </portlet:renderURL>">${n:i18n("CMS_APPROVAL")}</option>
+   <%}%>
+               <%
+                  if (!"/".equals(sCurrPath))
+                  {
+               %>
+   <option value="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_CONFIRMCOPY %>"/>
+      <portlet:param name="path" value="<%= sCurrPath %>"/>
+      <portlet:param name="type" value="fo"/>
+      </portlet:renderURL>">${n:i18n("CMS_COPY")}</option>
+   <option value="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_CONFIRMMOVE %>"/>
+      <portlet:param name="path" value="<%= sCurrPath %>"/>
+      <portlet:param name="type" value="fo"/>
+      </portlet:renderURL>">${n:i18n("CMS_MOVE")}</option>
+   <option value="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_CONFIRMDELETE %>"/>
+      <portlet:param name="path" value="<%= sCurrPath %>"/>
+      </portlet:renderURL>">${n:i18n("CMS_DELETE")}</option>
+   <% } %>
+</select>
+
+   </div>
+
+</div>
+
+<div class="search-container">
+   <form method="post" action="<portlet:actionURL>
+    <portlet:param name="op" value="<%= CMSAdminConstants.OP_DOSEARCH %>"/>
+    </portlet:actionURL>">
+
+    <input type="text"
+           size="15"
+           maxlength="80"
+           name="search"
+           class="portlet-form-input-field"/>
+    <input type="submit" name="search" value="${n:i18n("CMS_SEARCH")}" class="portlet-form-button"/>
+
+   </form>
+</div>
+<br style="clear:both"/>
+<div class="file-table-container">
+<%
+
+   if (folders.size() > 0 || files.size() > 0)
+   {
+
+%>
+
+<table width="100%" border="0" cellspacing="2" cellpadding="2">
+<tr>
+   <td class="portlet-section-header">${n:i18n("CMS_NAME")}</td>
+   <td class="portlet-section-header">${n:i18n("CMS_ACTION")}</td>
+   <td class="portlet-section-header">${n:i18n("CMS_CREATED")}</td>
+   <td class="portlet-section-header">${n:i18n("CMS_MODIFIED")}</td>
+</tr>
+
+<%
+   if (folders.size() > 0)
+   {
+      for (int i = 0; i < folders.size(); i++)
+      {
+         Folder folder = (Folder)folders.get(i);
+%>
+<tr onmouseover="this.className='portlet-section-alternate';" onmouseout="this.className='portlet-section-body';">
+   <td><img
+      src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/folder.gif"
+      alt="${n:i18n("CMS_FOLDER")}"
+      border="0">&nbsp;<a href="<portlet:renderURL>
+          <portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/>
+          <portlet:param name="path" value="<%= folder.getBasePath() %>"/>
+        </portlet:renderURL>"><%=
+   folder.getBasePath().substring(folder.getBasePath().lastIndexOf("/") + 1, folder.getBasePath().length()) %>
+   </a>
+   </td>
+   <td>
+      <form method="POST" style="padding:0;margin:0;" action="<portlet:actionURL>
+    <portlet:param name="path" value="<%= folder.getBasePath() %>"/>
+    <portlet:param name="type" value="fo"/>
+    <portlet:param name="dispatch" value="1"/>
+   </portlet:actionURL>">
+         <select name="op">
+            <option value="<%= CMSAdminConstants.OP_MAIN %>">${n:i18n("CMS_VIEW")}</option>
+            <option value="<%= CMSAdminConstants.OP_CONFIRMCOPY %>">${n:i18n("CMS_COPY")}</option>
+            <option value="<%= CMSAdminConstants.OP_CONFIRMMOVE %>">${n:i18n("CMS_MOVE")}</option>
+            <option value="<%= CMSAdminConstants.OP_CONFIRMDELETE %>">${n:i18n("CMS_DELETE")}</option>
+         </select>
+         <input type="submit" value="Go" name="Go" class="portlet-form-button"/>
+      </form>
+   </td>
+   <td>
+      <%
+         if (folder.getCreationDate() != null)
+         {
+            Format formatter;
+            formatter = new SimpleDateFormat("MM/dd/yy HH:mm");
+            createDate = formatter.format(folder.getCreationDate());
+         }
+      %>
+      <%= createDate %>
+   </td>
+   <td>
+      <%
+         if (folder.getLastModified() != null)
+         {
+            Format formatter;
+            formatter = new SimpleDateFormat("MM/dd/yy HH:mm");
+            modifiedDate = formatter.format(folder.getLastModified());
+         }
+      %>
+      <%= modifiedDate %>
+   </td>
+</tr>
+<%
+      }
+   }
+%>
+
+<%
+   if (files.size() > 0)
+   {
+      for (int j = 0; j < files.size(); j++)
+      {
+         File file = (File)files.get(j);
+%>
+<tr onmouseover="this.className='portlet-section-alternate';" onmouseout="this.className='portlet-section-body';">
+   <td><img src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/file.gif"
+            alt="${n:i18n("CMS_FILE")}"
+            border="0">&nbsp;<a href="<portlet:renderURL>
+          <portlet:param name="op" value="<%= CMSAdminConstants.OP_VIEWFILE %>"/>
+          <portlet:param name="path"
+            value="<%= file.getBasePath() %>"/>
+        </portlet:renderURL>"><%=
+   file.getBasePath().substring(file.getBasePath().lastIndexOf("/") + 1, file.getBasePath().length()) %>
+   </a>
+   </td>
+   <td>
+      <form method="POST" style="padding:0;margin:0;" action="<portlet:actionURL>
+    <portlet:param name="path" value="<%= file.getBasePath() %>"/>
+    <portlet:param name="type" value="fi"/>
+    <portlet:param name="dispatch" value="1"/>
+   </portlet:actionURL>">
+         <select name="op">
+            <option value="<%= CMSAdminConstants.OP_VIEWFILE %>">${n:i18n("CMS_VIEW")}</option>
+            <option value="<%= CMSAdminConstants.OP_CONFIRMCOPY %>">${n:i18n("CMS_COPY")}</option>
+            <option value="<%= CMSAdminConstants.OP_CONFIRMMOVE %>">${n:i18n("CMS_MOVE")}</option>
+            <option value="<%= CMSAdminConstants.OP_CONFIRMDELETE %>">${n:i18n("CMS_DELETE")}</option>
+         </select>
+         <input type="submit" value="Go" name="Go" class="portlet-form-button"/>
+      </form>
+   </td>
+   <td>
+      <%
+         if (file.getCreationDate() != null)
+         {
+            Format formatter;
+            formatter = new SimpleDateFormat("MM/dd/yy HH:mm");
+            createDate = formatter.format(file.getCreationDate());
+         }
+      %>
+      <%= createDate %>
+   </td>
+   <td>
+      <%
+         if (file.getLastModified() != null)
+         {
+            Format formatter;
+            formatter = new SimpleDateFormat("MM/dd/yy HH:mm");
+            modifiedDate = formatter.format(file.getLastModified());
+         }
+      %>
+      <%= modifiedDate %>
+   </td>
+</tr>
+<%
+      }
+   }else{%>
+
+   <tr>
+      <td>
+         <p>This folder is empty.</p>
+      </td>
+   </tr>
+
+<%
+   }
+%>
+</table>
+<%
+
+   }
+
+%>
+</div>
+</div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/pending_items.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/pending_items.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/pending_items.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,152 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants,
+                 java.util.Collection" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="java.util.StringTokenizer" %>
+
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<div class="admin-ui">
+<div class=" cms-tab-container">
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+   Collection pendingQueue = (Collection)request.getAttribute("pendingQueue");
+   String exception = request.getParameter("exception");
+
+   String rowClass = "portlet-section-body";
+%>
+
+
+<h3 class="sectionTitle">
+${n:i18n("CMS_MAIN_USE")}
+</h3>
+
+
+<!-- Currently browsing -->
+<ul class="objectpath">
+   <li class="pathItem"><a href="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/>
+      <portlet:param name="path" value="/"/>
+      </portlet:renderURL>">Home</a></li>
+
+
+<%
+   StringTokenizer parser = new StringTokenizer(sCurrPath, "/");
+   String sPathBuilder = "";
+   while (parser.hasMoreTokens())
+   {
+      String sPathChunk = parser.nextToken();
+      sPathBuilder += "/" + sPathChunk;
+      if (parser.hasMoreTokens())
+      {
+%>
+   <li class="pathSeperator"><img src="/portal-admin/img/pathSeparator.png" alt=">"></li>
+ <li class="pathItem"><a href="
+<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/>
+   <portlet:param name="path" value="<%= sPathBuilder %>"/>
+</portlet:renderURL>
+"><%= sPathChunk %>
+</a>
+    </li>
+<%
+}
+else
+{
+%>
+<li class="pathSeperator"><img src="/portal-admin/img/pathSeparator.png" alt=">"></li>
+ <li class="selected"><%= sPathChunk %></li>
+<%
+      }
+   }
+%>
+</ul>
+<br/>
+<!-- show any errors here -->
+<%if(exception!=null && exception.trim().length()>0){%>
+<table width="100%">
+<th colspan="2"><h3 class="sectionTitle">Error:</h3></th>
+<tr colspan="2" align="center">
+   <td colspan="2">
+      <font color="red">
+      		<%=exception%>
+      </font>
+   </td>
+</tr>
+</table>
+<br/><br/>
+<input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="/"/></portlet:renderURL>'">
+<%}%>
+
+<!-- the table listing the pending queue items -->
+<div align="center"><font class="portlet-font-dim"><b>Pending Approval Queue</b></font></div>
+<br/>
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+   <tr>
+      <td class="portlet-table-text"><b>${n:i18n("CMS_PATH")}</b></td>
+      <td class="portlet-table-text"><b>${n:i18n("CMS_TYPE")}</b></td>
+      <td class="portlet-table-text"><b>${n:i18n("CMS_CREATED")}</b></td>
+      <td class="portlet-table-text"><b>${n:i18n("CMS_CREATED_BY")}</b></td>
+      <td class="portlet-table-text"><b>${n:i18n("CMS_ACTION")}</b></td>
+   </tr>
+   <%int i = 0;%>
+   <%
+      for (Iterator itr = pendingQueue.iterator(); itr.hasNext();)
+      {
+   %>
+   <%      
+      org.jboss.portal.cms.workflow.Content cour = (org.jboss.portal.cms.workflow.Content)itr.next();
+
+      String linkPath = cour.getPath().substring(0, cour.getPath().lastIndexOf("/"));
+
+      if (i % 2 == 0)
+      {
+         rowClass = "portlet-section-body";
+      }
+      else
+      {
+         rowClass = "portlet-section-alternate";
+      }
+      i++;
+   %>
+   <tr class="<%= rowClass %>">
+      <!-- Path -->
+      <td><a href="<portlet:renderURL>
+          <portlet:param name="op" value="<%= CMSAdminConstants.OP_VIEWFILE %>"/>
+          <portlet:param name="path"
+            value="<%= linkPath %>"/>
+        </portlet:renderURL>"><%= linkPath %>
+      </a>
+      </td>
+      <!-- Mime Type -->
+      <td><%= cour.getMimeType() %>
+      </td>
+      <!-- Creation Date -->
+      <td>
+         <%= cour.getCreationDateStr() %>
+      </td>
+      <!-- User who requested approval -->
+      <td><%= cour.getUserName() %>
+      </td>
+      <td>
+         <a href="<portlet:actionURL>
+         		<portlet:param name="op" value="<%= CMSAdminConstants.OP_APPROVE %>"/>
+         		<portlet:param name="pid" value="<%=cour.getProcessId()%>"/>
+         		<portlet:param name="path" value="<%=linkPath%>"/>
+         </portlet:actionURL>">${n:i18n("CMS_APPROVE")}</a>
+         &nbsp;
+         <a href="<portlet:actionURL>
+         <portlet:param name="op" value="<%= CMSAdminConstants.OP_DENY %>"/>
+         <portlet:param name="pid" value="<%=cour.getProcessId()%>"/>
+         <portlet:param name="path" value="<%=linkPath%>"/>
+         </portlet:actionURL>">${n:i18n("CMS_DENY")}</a>
+      </td>
+   </tr>
+   <%}%>
+</table>
+</div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/searchResults.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/searchResults.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/searchResults.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,125 @@
+<%@ page import="org.jboss.portal.cms.model.File" %>
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants" %>
+<%@ page import="java.text.Format" %>
+<%@ page import="java.text.SimpleDateFormat" %>
+<%@ page import="java.util.List" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+
+<div class="admin-ui">
+<div class=" cms-tab-container">
+<h3 class="sectionTitle">
+${n:i18n("CMS_MANAGE")}
+</h3>
+<!-- Currently browsing -->
+<ul class="objectpath">
+   <li class="pathItem"><a href="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/>
+      <portlet:param name="path" value="/"/>
+      </portlet:renderURL>">Home</a></li>
+</ul>
+<br/>
+
+<div class="search-container">
+<form method="post" action="<portlet:actionURL>
+    <portlet:param name="op" value="<%= CMSAdminConstants.OP_DOSEARCH %>"/>
+    </portlet:actionURL>">
+    <input type="text"
+                                size="15"
+                                maxlength="80"
+                                name="search"
+                                class="portlet-form-input-field"
+                                value="<%= request.getAttribute("textQuery") %>"
+                                />
+    <input type="submit" name="search" value="${n:i18n("CMS_SEARCH")}" class="portlet-form-button"/>
+</form>
+</div>
+
+
+
+<%
+   List files = (List)request.getAttribute("files");
+   String createDate = "";
+   String modifiedDate = "";
+
+   if (files.size() > 0)
+   {
+%>
+<table>
+<%
+      for (int i = 0; i < files.size(); i++)
+      {
+         File file = (File)files.get(i);
+%>
+<tr onmouseover="this.className='portlet-section-alternate';" onmouseout="this.className='portlet-section-body';">
+   <td><img src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/file.gif"
+            alt="${n:i18n("CMS_FILE")}"
+            border="0">&nbsp;<a href="<portlet:renderURL>
+          <portlet:param name="op" value="<%= CMSAdminConstants.OP_VIEWFILE %>"/>
+          <portlet:param name="path"
+            value="<%= file.getBasePath() %>"/>
+        </portlet:renderURL>"><%=
+   file.getBasePath().substring(file.getBasePath().lastIndexOf("/") + 1, file.getBasePath().length()) %>
+   </a>
+   </td>
+   <td>
+      <form method="POST" style="padding:0;margin:0;" action="<portlet:actionURL>
+    <portlet:param name="path" value="<%= file.getBasePath() %>"/>
+    <portlet:param name="type" value="fi"/>
+    <portlet:param name="dispatch" value="1"/>
+   </portlet:actionURL>">
+         <select name="op">
+            <option value="<%= CMSAdminConstants.OP_VIEWFILE %>">${n:i18n("CMS_VIEW")}</option>
+            <option value="<%= CMSAdminConstants.OP_CONFIRMCOPY %>">${n:i18n("CMS_COPY")}</option>
+            <option value="<%= CMSAdminConstants.OP_CONFIRMMOVE %>">${n:i18n("CMS_MOVE")}</option>
+            <option value="<%= CMSAdminConstants.OP_CONFIRMDELETE %>">${n:i18n("CMS_DELETE")}</option>
+         </select>
+         <input type="submit" value="Go" name="Go" class="portlet-form-button"/>
+      </form>
+   </td>
+   <td>
+      <%
+         if (file.getCreationDate() != null)
+         {
+            Format formatter;
+            formatter = new SimpleDateFormat("MM/dd/yy HH:mm");
+            createDate = formatter.format(file.getCreationDate());
+         }
+      %>
+      <%= createDate %>
+   </td>
+   <td>
+      <%
+         if (file.getLastModified() != null)
+         {
+            Format formatter;
+            formatter = new SimpleDateFormat("MM/dd/yy HH:mm");
+            modifiedDate = formatter.format(file.getLastModified());
+         }
+      %>
+      <%= modifiedDate %>
+   </td>
+</tr>
+<%
+      }
+%>
+</table>
+<%
+   }
+   else
+   {
+%>      
+  <h2>${n:i18n("CMS_SEARCHNORESULT")}</h2>
+<%      
+   }
+%>
+<input class="portlet-form-button" type="button" value="Cancel" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="/"/></portlet:renderURL>'">
+
+</div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/securenode.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/securenode.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/securenode.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,248 @@
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants" %>
+<%@ page import="org.jboss.portal.identity.Role" %>
+<%@ page import="org.jboss.portal.identity.User" %>
+<%@ page import="org.jboss.portal.cms.security.AuthorizationManager" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="java.util.Set" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+ <link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+   Set roleSet = (Set)request.getAttribute("roles");
+   Set userSet = (Set)request.getAttribute("users");
+   String sConfirm = (String)request.getAttribute("confirm");
+   String returnOp = (String)request.getAttribute("returnOp");
+   
+   Set readRoleSet = (Set)request.getAttribute("readRoleSet");
+   Set readUserSet = (Set)request.getAttribute("readUserSet");
+   Set writeRoleSet = (Set)request.getAttribute("writeRoleSet");
+   Set writeUserSet = (Set)request.getAttribute("writeUserSet");
+   Set manageRoleSet = (Set)request.getAttribute("manageRoleSet");
+   Set manageUserSet = (Set)request.getAttribute("manageUserSet");
+%>
+<div class="admin-ui">
+<div class=" cms-tab-container">
+<form action="<portlet:actionURL>
+ <portlet:param name="op" value="<%= CMSAdminConstants.OP_SECURE %>"/>
+ <portlet:param name="path" value="<%= sCurrPath %>"/>
+ <portlet:param name="returnOp" value="<%= returnOp %>"/>
+ </portlet:actionURL>" method="post">
+<table width="100%">
+<th colspan="2"><h3 class="sectionTitle">${n:i18n("TITLE_SECURECONFIRM")}</h3></th>
+<%
+   if (sConfirm != null && !"".equals(sConfirm))
+   {
+%>
+<tr>
+   <td colspan="2">
+      <font color="red"><%= sConfirm %>
+      </font>
+   </td>
+</tr>
+<%
+   }
+%>
+<tr>
+   <td colspan="2">
+      <font class="portlet-font">Configure security restrictions on node: <%= sCurrPath %>
+      </font>
+   </td>
+</tr>
+<tr>
+   <td colspan="2" height="10"></td>
+</tr>
+<tr>
+   <td class="portlet-section-alternate" colspan="2">
+      <table>
+         <tr>
+            <td colspan="2" class="portlet-section-header" align="center">Set Read Permissions</td>
+         </tr>
+         <tr>
+            <td>
+               <select name="secureroles:read" multiple="multiple">
+                  <option value="<%=AuthorizationManager.Anonymous%>" <%if(readRoleSet.contains(AuthorizationManager.Anonymous)){%>selected<%}%>>
+                  	Anonymous
+                  </option>
+                  <%
+                     Iterator iterator = roleSet.iterator();
+                     while (iterator.hasNext())
+                     {
+                        Role role = (Role)iterator.next();
+                  %>
+                  <option value="<%= role.getName() %>" <%if(readRoleSet.contains(role.getName())){%>selected<%}%>>
+                  	<%= role.getDisplayName() %>
+                  </option>
+                  <%
+                     }
+                  %>
+               </select>
+            </td>
+            <td>Select Roles that have access to this node.<br/>
+               (You may select multiple roles by using CTRL+click on the role names.)
+            </td>
+         </tr>
+         <tr>
+            <td colspan="2" height="10"></td>
+         </tr>
+         <tr>
+            <td>
+               <select name="secureusers:read" multiple="multiple">
+                  <%
+                     Iterator iteratorUser = userSet.iterator();
+                     while (iteratorUser.hasNext())
+                     {
+                        User user = (User)iteratorUser.next();
+                  %>
+                  <option value="<%= user.getUserName() %>" <%if(readUserSet.contains(user.getUserName())){%>selected<%}%>>
+                  	<%= user.getUserName() %>
+                  </option>
+                  <%
+                     }
+                  %>
+               </select>
+            </td>
+            <td>Select Users that have access to this node.<br/>
+               (You may select multiple users by using CTRL+click on the user names.)
+            </td>
+         </tr>
+      </table>
+   </td>
+</tr>
+<tr>
+   <td colspan="2" height="10"></td>
+</tr>
+<tr>
+   <td class="portlet-section-alternate" colspan="2">
+      <table>
+         <tr>
+            <td colspan="2" class="portlet-section-header" align="center">Set Write Permissions</td>
+         </tr>
+         <tr>
+            <td>
+               <select name="secureroles:write" multiple="multiple">
+                  <option value="<%=AuthorizationManager.Anonymous%>" <%if(writeRoleSet.contains(AuthorizationManager.Anonymous)){%>selected<%}%>>
+                  	Anonymous
+                  </option>
+                  <%
+                     iterator = roleSet.iterator();
+                     while (iterator.hasNext())
+                     {
+                        Role role = (Role)iterator.next();
+                  %>
+                  <option value="<%= role.getName() %>" <%if(writeRoleSet.contains(role.getName())){%>selected<%}%>>
+                  	<%= role.getDisplayName() %>
+                  </option>
+                  <%
+                     }
+                  %>
+               </select>
+            </td>
+            <td>Select Roles that have access to this node.<br/>
+               (You may select multiple roles by using CTRL+click on the role names.)
+            </td>
+         </tr>
+         <tr>
+            <td colspan="2" height="10"></td>
+         </tr>
+         <tr>
+            <td>
+               <select name="secureusers:write" multiple="multiple">
+                  <%
+                     iteratorUser = userSet.iterator();
+                     while (iteratorUser.hasNext())
+                     {
+                        User user = (User)iteratorUser.next();
+                  %>
+                  <option value="<%= user.getUserName() %>" <%if(writeUserSet.contains(user.getUserName())){%>selected<%}%>>
+                  	<%= user.getUserName() %>
+                  </option>
+                  <%
+                     }
+                  %>
+               </select>
+            </td>
+            <td>Select Users that have access to this node.<br/>
+               (You may select multiple users by using CTRL+click on the user names.)
+            </td>
+         </tr>
+      </table>
+   </td>
+</tr>
+<tr>
+   <td colspan="2" height="10"></td>
+</tr>
+<tr>
+   <td class="portlet-section-alternate" colspan="2">
+      <table>
+         <tr>
+            <td colspan="2" class="portlet-section-header" align="center">Set Manage Permissions</td>
+         </tr>
+         <tr>
+            <td>
+               <select name="secureroles:manage" multiple="multiple">
+                  <option value="<%=AuthorizationManager.Anonymous%>" <%if(manageRoleSet.contains(AuthorizationManager.Anonymous)){%>selected<%}%>>
+                  	Anonymous
+                  </option>
+                  <%
+                     iterator = roleSet.iterator();
+                     while (iterator.hasNext())
+                     {
+                        Role role = (Role)iterator.next();
+                  %>
+                  <option value="<%= role.getName() %>" <%if(manageRoleSet.contains(role.getName())){%>selected<%}%>>
+                  	<%= role.getDisplayName() %>
+                  </option>
+                  <%
+                     }
+                  %>
+               </select>
+            </td>
+            <td>Select Roles that have access to this node.<br/>
+               (You may select multiple roles by using CTRL+click on the role names.)
+            </td>
+         </tr>
+         <tr>
+            <td colspan="2" height="10"></td>
+         </tr>
+         <tr>
+            <td>
+               <select name="secureusers:manage" multiple="multiple">
+                  <%
+                     iteratorUser = userSet.iterator();
+                     while (iteratorUser.hasNext())
+                     {
+                        User user = (User)iteratorUser.next();
+                  %>
+                  <option value="<%= user.getUserName() %>" <%if(manageUserSet.contains(user.getUserName())){%>selected<%}%>>
+                  	<%= user.getUserName() %>
+                  </option>
+                  <%
+                     }
+                  %>
+               </select>
+            </td>
+            <td>Select Users that have access to this node.<br/>
+               (You may select multiple users by using CTRL+click on the user names.)
+            </td>
+         </tr>
+      </table>
+   </td>
+</tr>
+<tr>
+   <td colspan="2" height="10"></td>
+</tr>
+<tr>
+   <td align="center" colspan="2"><input type="submit" value="${n:i18n("CMS_SECURE")}" name="submit"
+                                         class="portlet-form-button">
+      <input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= returnOp %>"/><portlet:param name="path" value="<%= sCurrPath %>"/></portlet:renderURL>'">
+                                         </td>
+</tr>
+</table>
+</form>
+</div>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/upload.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/upload.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/upload.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,84 @@
+<%@ page import="java.util.Locale" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+   String OP = CMSAdminConstants.OP_UPLOADCONFIRM;
+   String[] langs = Locale.getISOLanguages();
+%>
+<div class="admin-ui">
+   <div class=" cms-tab-container">
+<form name="pickform" method="post" enctype="multipart/form-data" action="<portlet:actionURL>
+    <portlet:param name="op" value="<%= CMSAdminConstants.OP_UPLOADCONTENT %>"/>
+    </portlet:actionURL>">
+   <input type="hidden" name="destination" value="<%= sCurrPath %>">
+   <table width="100%">
+      <th colspan="2"><h3 class="sectionTitle">${n:i18n("TITLE_UPLOAD")}</h3></th>
+      <tr>
+         <td valign="top" width="250" class="portlet-section-alternate">
+            <%@ include file="folderlist.jsp" %>
+         </td>
+         <td align="left">
+            <table>
+               <tr>
+                  <td valign="bottom">
+                     ${n:i18n("CMS_DESTINATION")}:
+                  </td>
+                  <td>
+                     <input DISABLED type="text" size="40" name="showdestination" value="<%= sCurrPath %>"
+                            class="portlet-form-input-field"/></td>
+               </tr>
+               <tr>
+                  <td valign="bottom">
+                     ${n:i18n("CMS_DESCRIPTION")}:
+                  </td>
+                  <td><input type="text" size="40" maxlength="80" name="description" value=""
+                             class="portlet-form-input-field"/></td>
+               </tr>
+               <tr>
+                  <td valign="bottom">
+                     ${n:i18n("CMS_TITLE")}:
+                  </td>
+                  <td><input type="text" size="40" maxlength="80" name="title" value=""
+                             class="portlet-form-input-field"/></td>
+               </tr>
+               <tr>
+                  <td valign="bottom">
+                     ${n:i18n("CMS_LANGUAGE")}:
+                  </td>
+                  <td><select name="language" class="portlet-form-input-field">
+                     <option selected
+                             value="<%= Locale.getDefault().getLanguage() %>"><%= Locale.getDefault().getDisplayLanguage() %>
+                     </option>
+                     <%
+                        for (int i = 0; i < langs.length; i++)
+                        {
+                     %>
+                     <option value="<%= langs[i] %>"><%= new Locale(langs[i]).getDisplayLanguage() %>
+                     </option>
+                     <%
+                        }
+                     %>
+                  </select>
+                  </td>
+               </tr>
+               <tr>
+                  <td colspan="2" align="left">
+                     <input type="file" size="32" name="response" value="" class="portlet-form-input-field"/>
+                     <br><br>
+                     <input type="submit" name="submit" value="${n:i18n("CMS_UPLOAD")}" class="portlet-form-button"/>
+                     <input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel" onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="<%= sCurrPath %>"/></portlet:renderURL>'">
+                  </td>
+               </tr>
+            </table>
+         </td>
+      </tr>
+   </table>
+</form>
+</div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/uploadarchive.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/uploadarchive.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/uploadarchive.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,73 @@
+<%@ page import="java.util.Locale" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+<div class="admin-ui">
+   <div class=" cms-tab-container">
+      <%
+         String sCurrPath = (String) request.getAttribute("currpath");
+         String OP = CMSAdminConstants.OP_UPLOADARCHIVECONFIRM;
+         String[] langs = Locale.getISOLanguages();
+      %>
+
+      <form name="pickform" method="post" enctype="multipart/form-data" action="<portlet:actionURL>
+    <portlet:param name="op" value="<%= CMSAdminConstants.OP_UPLOADARCHIVE %>"/>
+    </portlet:actionURL>">
+         <input type="hidden" name="destination" value="<%= sCurrPath %>">
+         <table width="100%">
+            <th colspan="2"><h3 class="sectionTitle">${n:i18n("CMS_UPLOADARCHIVE")}</h3></th>
+            <tr>
+               <td valign="top" width="250" class="portlet-section-alternate">
+                  <%@ include file="folderlist.jsp" %>
+               </td>
+               <td align="left">
+                  <table>
+                     <tr>
+                        <td valign="bottom">
+                           ${n:i18n("CMS_DESTINATION")}:
+                        </td>
+                        <td>
+                           <input DISABLED type="text" size="40" name="showdestination" value="<%= sCurrPath %>"
+                                  class="portlet-form-input-field"/></td>
+                     </tr>
+                     <tr>
+                        <td valign="bottom">
+                           ${n:i18n("CMS_LANGUAGE")}:
+                        </td>
+                        <td><select name="language" class="portlet-form-input-field">
+                           <option selected
+                                   value="<%= Locale.getDefault().getLanguage() %>"><%= Locale.getDefault().getDisplayLanguage() %>
+                           </option>
+                           <%
+                              for (int i = 0; i < langs.length; i++) {
+                           %>
+                           <option value="<%= langs[i] %>"><%= new Locale(langs[i]).getDisplayLanguage() %>
+                           </option>
+                           <%
+                              }
+                           %>
+                        </select>
+                        </td>
+                     </tr>
+                     <tr>
+                        <td colspan="2">
+                           <input type="file" size="32" name="response" value="" class="portlet-form-input-field"/>
+                           <br><br>
+                           <input type="submit" name="submit" value="${n:i18n("CMS_UPLOAD")}"
+                                  class="portlet-form-button"/>
+                           <input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}"
+                                  name="cancel"
+                                  onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="<%= sCurrPath %>"/></portlet:renderURL>'">
+                        </td>
+                     </tr>
+                  </table>
+               </td>
+            </tr>
+         </table>
+      </form>
+   </div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/viewfile.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/viewfile.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/admin/viewfile.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,376 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<%@ page import="org.jboss.portal.cms.model.Content,
+                 org.jboss.portal.cms.util.NodeUtil" %>
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants" %>
+<%@ page import="java.text.Format" %>
+<%@ page import="java.text.SimpleDateFormat" %>
+<%@ page import="java.util.Collection" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.StringTokenizer" %>
+<%@ page import="java.util.Vector" %>
+
+<portlet:defineObjects/>
+<link rel="stylesheet" type="text/css" href="/portal-admin/style.css" media="screen"/>
+
+<div class="admin-ui">
+<div class=" cms-tab-container">
+<%
+   String sCurrPath = (String) request.getAttribute("currpath");
+   Vector vContents = (Vector) request.getAttribute("contents");
+   Collection pendingQueue = (Collection) request.getAttribute("pendingQueue");
+
+   String sType = "";
+   if (vContents.size() > 0) {
+      List contentList = (List) vContents.elementAt(0);
+      if (contentList.size() > 0) {
+         Content content = (Content) contentList.get(0);
+         sType = content.getMimeType();
+      }
+   }
+   String sPreviewPath = (String) request.getAttribute("previewpath");
+
+   String createDate = "";
+   String modifiedDate = "";
+
+   String rowClass = "portlet-section-body";
+
+   String exception = request.getParameter("exception");
+   Boolean manageWorkflowAccessible = (Boolean) request.getAttribute("manageWorkflowAccessible");
+%>
+
+<h3 class="sectionTitle">
+   ${n:i18n("CMS_MANAGE")}
+</h3>
+
+
+<ul class="objectpath">
+   <li class="pathItem"><a href="<portlet:renderURL>
+      <portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/>
+      <portlet:param name="path" value="/"/>
+      </portlet:renderURL>">Home</a></li>
+
+
+   <%
+      StringTokenizer parser = new StringTokenizer(sCurrPath, "/");
+      String sPathBuilder = "";
+      while (parser.hasMoreTokens()) {
+         String sPathChunk = parser.nextToken();
+         sPathBuilder += "/" + sPathChunk;
+         if (parser.hasMoreTokens()) {
+   %>
+   <li class="pathSeperator"><img src="/portal-admin/img/pathSeparator.png" alt=">"></li>
+   <li class="pathItem"><a href="
+<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/>
+   <portlet:param name="path" value="<%= sPathBuilder %>"/>
+</portlet:renderURL>
+"><%= sPathChunk %>
+   </a>
+   </li>
+   <%
+   } else {
+   %>
+   <li class="pathSeperator"><img src="/portal-admin/img/pathSeparator.png" alt=">"></li>
+   <li class="selected"><%= sPathChunk %>
+   </li>
+   <%
+         }
+      }
+   %>
+</ul>
+<br/>
+<!-- file-level action dropdown -->
+<div class="menu-container" style="width:100%">
+   <div class="menu">
+
+      <select onchange="window.open(this.options[this.selectedIndex].value,'_top')">
+         <option value="">Select Action...</option>
+         <%
+            if (sType.equals("text/html") || sType.equals("text/plain")) {
+         %>
+         <option value="<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_CREATENEWTEXT %>"/>
+   <portlet:param name="path" value="<%= NodeUtil.getParentPath(sCurrPath) %>"/>
+   </portlet:renderURL>">${n:i18n("CMS_CREATE")}</option>
+         <%
+         } else {
+         %>
+         <option value="<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_UPLOADCONFIRM %>"/>
+   <portlet:param name="path" value="<%= NodeUtil.getParentPath(sCurrPath) %>"/>
+   </portlet:renderURL>">${n:i18n("CMS_EDIT")}</option>
+         <%
+            }
+         %>
+         <option value="<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_CONFIRMCOPY %>"/>
+   <portlet:param name="path" value="<%= sCurrPath %>"/>
+   <portlet:param name="type" value="fi"/>
+   </portlet:renderURL>">${n:i18n("CMS_COPY")}</option>
+         <option value="<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_CONFIRMMOVE %>"/>
+   <portlet:param name="path" value="<%= sCurrPath %>"/>
+   <portlet:param name="type" value="fi"/>
+   </portlet:renderURL>">${n:i18n("CMS_MOVE")}</option>
+         <option value="<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_CONFIRMDELETE %>"/>
+   <portlet:param name="path" value="<%= sCurrPath %>"/>
+   </portlet:renderURL>">${n:i18n("CMS_DELETE")}</option>
+         <option value="<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_CONFIRMSECURE %>"/>
+   <portlet:param name="path" value="<%= sCurrPath %>"/>
+   <portlet:param name="returnOp" value="<%= CMSAdminConstants.OP_VIEWFILE %>"/>
+   </portlet:renderURL>">${n:i18n("CMS_SECURE")}</option>
+         <%if (manageWorkflowAccessible.booleanValue()) {%>
+         <option value="<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_VIEWPENDING %>"/>
+   <portlet:param name="path" value="<%= sCurrPath %>"/>
+   </portlet:renderURL>">${n:i18n("CMS_APPROVAL")}</option>
+         <%}%>
+      </select>
+
+   </div>
+</div>
+<br style="clear:both"/>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+<%
+   if (vContents.size() > 0) {
+      for (int j = 0; j < vContents.size(); j++) // cycle thru list of content nodes
+      {
+         List contentList = (List) vContents.elementAt(j);
+         if (contentList.size() > 0) {
+            Content content = (Content) contentList.get(0);
+%>
+<tr>
+   <td height="15"></td>
+</tr>
+<tr>
+   <td colspan="6">
+      <%
+         if (sType.equals("text/html") || sType.equals("text/plain")) {
+      %>
+      <img src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/edit.gif"
+           alt="${n:i18n("CMS_EDIT")}" border="0">&nbsp;<a href="<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_EDIT %>"/>
+   <portlet:param name="path" value="<%= sCurrPath %>"/>
+   <portlet:param name="language" value="<%= content.getLocale().getLanguage() %>" />
+   </portlet:renderURL>"><%= content.getLocale().getDisplayLanguage() %>
+   </a>
+      <%
+      } else {
+      %>
+      <img src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/edit.gif"
+           alt="${n:i18n("CMS_EDIT")}" border="0">&nbsp;<a href="<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_EDIT_BINARY %>"/>
+   <portlet:param name="path" value="<%= sCurrPath %>"/>
+   <portlet:param name="language" value="<%= content.getLocale().getLanguage() %>"/>
+   </portlet:renderURL>"><%= content.getLocale().getDisplayLanguage() %>
+   </a>
+      <%
+         }
+      %>
+   </td>
+</tr>
+<tr>
+   <td class="portlet-table-text"><b>${n:i18n("CMS_TYPE")}</b></td>
+   <td class="portlet-table-text"><b>${n:i18n("CMS_SIZE")}</b></td>
+   <td class="portlet-table-text"><b>${n:i18n("CMS_VERSION")}</b></td>
+   <td class="portlet-table-text"><b>${n:i18n("CMS_CREATED")}</b></td>
+   <td class="portlet-table-text"><b>${n:i18n("CMS_MODIFIED")}</b></td>
+   <td class="portlet-table-text"><b>${n:i18n("CMS_TITLE")}</b></td>
+</tr>
+<%
+   for (int i = 0; i < contentList.size(); i++) // cycle thru list of version nodes
+   {
+      Content version = (Content) contentList.get(i);
+
+      if (version.isWaitingForPublishApproval()) {
+         continue;
+      }
+
+      if (i % 2 == 0) {
+         rowClass = "portlet-section-body";
+      } else {
+         rowClass = "portlet-section-alternate";
+      }
+%>
+<tr onmouseover="this.className='portlet-section-selected';" onmouseout="this.className='<%= rowClass %>';"
+    class="<%= rowClass %>">
+   <td><%
+      if (sType.equals("text/html") || sType.equals("text/plain")) {
+   %>
+
+      <img src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/edit.gif"
+           alt="${n:i18n("CMS_EDIT")}" border="0">&nbsp;<a href="<portlet:renderURL>
+   <portlet:param name="op" value="<%= CMSAdminConstants.OP_EDIT %>"/>
+   <portlet:param name="path" value="<%= sCurrPath %>"/>
+   <portlet:param name="language" value="<%= content.getLocale().getLanguage() %>" />
+   <portlet:param name="version" value="<%= version.getVersionNumber() %>"/>
+   </portlet:renderURL>"><%= version.getMimeType() %>
+   </a>
+      <%
+      } else {
+      %>
+      <%= version.getMimeType() %>
+      <%
+         }
+      %>
+   </td>
+   <td><%= version.getSize() / 1024 %>kb</td>
+   <td>
+      <%
+         if (sType.equals("text/html") || sType.equals("text/plain")) {
+      %>
+      <%= version.getVersionNumber() %>
+      <% } else {
+         //save the principal for the preview servlet
+         String remoteUser = request.getRemoteUser();
+         request.getSession().setAttribute("remoteUser", remoteUser);
+      %>
+      <a target="_blank"
+         href="<%= request.getContextPath() %>/cmspreview?v=<%= version.getVersionNumber() %>&l=<%= content.getLocale().getLanguage() %>&p=<%= sCurrPath %>"><%=
+      version.getVersionNumber() %>
+      </a>
+      <%
+         }
+         if (version.isLive()) {
+      %>
+      <img src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/actionIcon_IsDefault.gif"
+           alt="${n:i18n("CMS_LIVEVERSION")}" border="0"/>
+      <%
+      } else {
+      %>
+      <a href="<portlet:actionURL>
+      	         <portlet:param name="op" value="<%= CMSAdminConstants.OP_MAKELIVE %>"/>
+      	         <portlet:param name="path" value="<%= sCurrPath %>"/>
+      	         <portlet:param name="language" value="<%= content.getLocale().getLanguage() %>"/>
+   		         <portlet:param name="version" value="<%= version.getVersionNumber() %>"/>
+   		         </portlet:actionURL>"
+              >
+         <img src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/actionIcon_MakeDefault.gif"
+              alt="${n:i18n("CMS_LIVEVERSION")}" border="0"/>
+      </a>
+      <%}%>
+   </td>
+   <td>
+      <%
+         if (version.getCreationDate() != null) {
+            Format formatter;
+            formatter = new SimpleDateFormat("MM/dd/yy HH:mm");
+            createDate = formatter.format(version.getCreationDate());
+         }
+      %>
+      <%= createDate %>
+   </td>
+   <td>
+      <%
+         if (version.getLastModified() != null) {
+            Format formatter;
+            formatter = new SimpleDateFormat("MM/dd/yy HH:mm");
+            modifiedDate = formatter.format(version.getLastModified());
+         }
+      %>
+      <%= modifiedDate %>
+   </td>
+   <td><%= version.getTitle() %>
+   </td>
+</tr>
+<%
+            }
+         }
+      }
+   }
+%>
+</table>
+
+<!-- the approval queue, content waiting for managers to signoff on -->
+<%
+   if (pendingQueue != null && !pendingQueue.isEmpty()) {
+%>
+<br/><br/>
+
+<!-- show any errors here -->
+<%if (exception != null && exception.trim().length() > 0) {%>
+<table width="100%">
+   <th colspan="2"><h3 class="sectionTitle">Error:</h3></th>
+   <tr colspan="2" align="center">
+      <td colspan="2">
+         <font color="red">
+            <%=exception%>
+         </font>
+      </td>
+   </tr>
+</table>
+<br/><br/>
+<input class="portlet-form-button" type="button" value="${n:i18n("CMS_CANCEL")}" name="cancel"
+       onclick="window.location='<portlet:renderURL><portlet:param name="op" value="<%= CMSAdminConstants.OP_MAIN %>"/><portlet:param name="path" value="/"/></portlet:renderURL>'">
+<%}%>
+
+<div align="center"><font class="portlet-font-dim"><b>Pending Approval Queue</b></font></div>
+<br/>
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+   <tr>
+      <td class="portlet-table-text"><b>${n:i18n("CMS_TYPE")}</b></td>
+      <td class="portlet-table-text"><b>${n:i18n("CMS_SIZE")}</b></td>
+      <td class="portlet-table-text"><b>${n:i18n("CMS_CREATED")}</b></td>
+      <td class="portlet-table-text"><b>${n:i18n("CMS_CREATED_BY")}</b></td>
+      <%if (manageWorkflowAccessible.booleanValue()) {%>
+      <td class="portlet-table-text"><b>${n:i18n("CMS_ACTION")}</b></td>
+      <%}%>
+   </tr>
+   <%int i = 0;%>
+   <%
+      for (Iterator itr = pendingQueue.iterator(); itr.hasNext();) {
+   %>
+   <%
+      org.jboss.portal.cms.workflow.Content cour = (org.jboss.portal.cms.workflow.Content) itr.next();
+      if (i % 2 == 0) {
+         rowClass = "portlet-section-body";
+      } else {
+         rowClass = "portlet-section-alternate";
+      }
+      i++;
+   %>
+   <tr class="<%= rowClass %>">
+      <!-- Mime Type -->
+      <td><%= cour.getMimeType() %>
+      </td>
+      <!-- Size -->
+      <td><%= cour.getSizeStr() %>
+      </td>
+      <!-- Creation Date -->
+      <td>
+         <%= cour.getCreationDateStr() %>
+      </td>
+      <!-- User who requested approval -->
+      <td><%= cour.getUserName() %>
+      </td>
+      <%if (manageWorkflowAccessible.booleanValue()) {%>
+      <td>
+         <a href="<portlet:actionURL>
+         <portlet:param name="op" value="<%=CMSAdminConstants.OP_APPROVE%>"/>
+         <portlet:param name="pid" value="<%=cour.getProcessId()%>"/>
+         <portlet:param name="path" value="<%=sCurrPath%>"/>
+         <portlet:param name="from" value="<%=CMSAdminConstants.OP_VIEWFILE%>"/>
+         </portlet:actionURL>">${n:i18n("CMS_APPROVE")}</a>
+         &nbsp;
+         <a href="<portlet:actionURL>
+         <portlet:param name="op" value="<%=CMSAdminConstants.OP_DENY%>"/>
+         <portlet:param name="pid" value="<%=cour.getProcessId()%>"/>
+         <portlet:param name="path" value="<%=sCurrPath%>"/>
+         <portlet:param name="from" value="<%=CMSAdminConstants.OP_VIEWFILE%>"/>
+         </portlet:actionURL>">${n:i18n("CMS_DENY")}</a>
+      </td>
+      <%}%>
+   </tr>
+   <%}%>
+</table>
+<%}%>
+</div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/edit.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/edit.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/edit.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,8 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+
+TODO: Allow for modification of preferences.
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/editor/main.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/editor/main.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/editor/main.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,141 @@
+<%@ page import="org.jboss.portal.cms.model.File" %>
+<%@ page import="org.jboss.portal.cms.model.Folder" %>
+<%@ page import="org.jboss.portal.cms.model.Content" %>
+<%@ page import="org.jboss.portal.core.cms.ui.admin.CMSAdminConstants" %>
+<%@ page import="java.text.Format" %>
+<%@ page import="java.text.SimpleDateFormat" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.StringTokenizer" %>
+<%@ page import="javax.portlet.PortletURL" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+
+<%
+   String sCurrPath = (String)request.getAttribute("currpath");
+   List folders = (List)request.getAttribute("folders");
+   List files = (List)request.getAttribute("files");
+   String uri = (String)renderRequest.getParameter("content.uri");
+   PortletURL url = renderResponse.createRenderURL();
+   url.setParameter("op", CMSAdminConstants.OP_MAIN);
+   url.setParameter("path", "/");
+%>
+
+<!-- Currently browsing -->
+Browsing: <a href="<%= url %>">Home</a>
+<%
+   StringTokenizer parser = new StringTokenizer(sCurrPath, "/");
+   String sPathBuilder = "";
+   while (parser.hasMoreTokens())
+   {
+      String sPathChunk = parser.nextToken();
+      sPathBuilder += "/" + sPathChunk;
+      if (parser.hasMoreTokens())
+      {
+         url.setParameter("path", sPathBuilder);
+%>
+>&nbsp;<a href="<%= url %>"><%= sPathChunk %>
+</a>
+<%
+      }
+      else
+      {
+%>
+>&nbsp;<%= sPathChunk %>
+<%
+      }
+   }
+%>
+
+<br/><br/>
+
+<%
+
+   if (folders.size() > 0 || files.size() > 0)
+   {
+
+%>
+
+<table width="100%" border="0" cellspacing="2" cellpadding="2">
+<tr>
+   <td class="portlet-section-header">${n:i18n("CMS_NAME")}</td>
+</tr>
+
+<%
+   if (folders.size() > 0)
+   {
+      for (int i = 0; i < folders.size(); i++)
+      {
+         Folder folder = (Folder)folders.get(i);
+         url.setParameter("path", folder.getBasePath());
+%>
+<tr onmouseover="this.className='portlet-section-alternate';" onmouseout="this.className='portlet-section-body';">
+   <td><img
+      src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/folder.gif"
+      alt="${n:i18n("CMS_FOLDER")}"
+      border="0">&nbsp;<a href="<%= url %>"><%=
+   folder.getBasePath().substring(folder.getBasePath().lastIndexOf("/") + 1, folder.getBasePath().length()) %>
+   </a>
+   </td>
+</tr>
+<%
+      }
+   }
+   if (files.size() > 0)
+   {
+      for (int j = 0; j < files.size(); j++)
+      {
+         File file = (File)files.get(j);
+
+         PortletURL metaURL = renderResponse.createActionURL();
+         metaURL.setParameter("content.action.select", "select");
+         metaURL.setParameter("content.uri", file.getBasePath());
+         metaURL.setParameter("path", sCurrPath);
+
+         if ((uri!=null) && (uri.equals(file.getBasePath())))
+         {
+            out.println("<tr class=\"portlet-section-selected\">");
+         }
+         else
+         {
+            out.println("<tr onmouseover=\"this.className='portlet-section-alternate';\" onmouseout=\"this.className='portlet-section-body';\">");
+         }
+%>
+<tr>
+   <td><img src="<%= renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/file.gif"
+            alt="${n:i18n("CMS_FILE")}"
+            border="0">&nbsp;<a href="<%= metaURL %>"><%=
+   file.getBasePath().substring(file.getBasePath().lastIndexOf("/") + 1, file.getBasePath().length()) %>
+   </a>
+   </td>
+</tr>
+<%
+      }
+   }
+%>
+</table>
+<%
+if (uri != null)
+{
+         Content content = (Content)renderRequest.getAttribute("content");
+%>
+         <p class="portlet-font">
+         Selected file: <%= uri %><br />
+<%
+         if (content.getTitle() != null)
+         {
+            out.println("File title: " + content.getTitle() + "<br />");
+         }
+         if (content.getDescription() != null)
+         {
+            out.println("File description: " + content.getDescription() + "<br />");
+         }
+%>
+         </p>
+<%
+}
+}
+%>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/help.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/help.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/jsp/cms/help.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+
+<h2>CMS Portlet - Help</h2>
+
+<h2>Introduction</h2>
+
+<p class="portlet-font">The CMS Portlet displays content from the file store inside a portlet window, or, in the case of
+   binary content, outside of the portlet
+   window altogether.</p>
+
+<p class="portlet-font">To modify how this portlet behaves, please
+   <a href="<portlet:renderURL portletMode="edit"></portlet:renderURL>">click here.</a></p>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portal-lib.tld
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portal-lib.tld	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portal-lib.tld	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,104 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
+        version="2.0">
+   <tlib-version>1.1</tlib-version>
+   <short-name>JBoss-Portal-tags</short-name>
+
+   <tag>
+      <name>if</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.IfTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>ctx</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>iterate</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.IterateTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>ctx</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>include</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.IncludeTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>page</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>error</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.ErrorTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>key</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>errors</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.ErrorsTag</tag-class>
+      <body-content>JSP</body-content>
+   </tag>
+
+   <tag>
+      <name>success</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.SuccessTag</tag-class>
+      <body-content>JSP</body-content>
+   </tag>
+   <function>
+      <name>i18n</name>
+      <function-class>org.jboss.portal.core.servlet.jsp.taglib.PortalLib</function-class>
+      <function-signature>java.lang.String getMessage(java.lang.String)</function-signature>
+   </function>
+
+   <function>
+      <name>out</name>
+      <function-class>org.jboss.portal.core.servlet.jsp.taglib.PortalLib</function-class>
+      <function-signature>java.lang.String out(java.lang.String)</function-signature>
+   </function>
+
+   <function>
+      <name>i18nout</name>
+      <function-class>org.jboss.portal.core.servlet.jsp.taglib.PortalLib</function-class>
+      <function-signature>java.lang.String i18nOut(java.lang.String)</function-signature>
+   </function>
+
+</taglib>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portlet-instances.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portlet-instances.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portlet-instances.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,50 @@
+<?xml version="1.0" standalone="yes"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portlet Instances 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
+
+<deployments>
+   <deployment>
+      <instance>
+         <instance-id>CMSPortletInstance</instance-id>
+         <portlet-ref>CMSPortlet</portlet-ref>
+      </instance>
+   </deployment>
+   <deployment>
+      <instance>
+         <instance-id>CMSAdminPortletInstance</instance-id>
+         <portlet-ref>CMSAdminPortlet</portlet-ref>
+
+         <!--security-constraint>
+            <policy-permission>
+               <role-name>Admin</role-name>
+               <action-name>view</action-name>
+            </policy-permission>
+         </security-constraint-->
+
+      </instance>
+   </deployment>
+</deployments>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<portlet-app
+   xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   version="1.0">
+   <portlet>
+      <description>Content Management System Portlet</description>
+      <portlet-name>CMSPortlet</portlet-name>
+      <display-name>Content Management System Portlet</display-name>
+
+      <portlet-class>org.jboss.portal.core.cms.ui.CMSPortlet</portlet-class>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+         <portlet-mode>EDIT_CONTENT</portlet-mode>
+      </supports>
+      <supported-locale>en</supported-locale>
+      <supported-locale>fr</supported-locale>
+      <supported-locale>es</supported-locale>
+      <resource-bundle>Resource</resource-bundle>
+      <portlet-info>
+         <title>CMS</title>
+      </portlet-info>
+      <portlet-preferences>
+         <preference>
+            <name>indexpage</name>
+            <value>/default/index.html</value>
+         </preference>
+      </portlet-preferences>
+   </portlet>
+   <portlet>
+      <description>Administration Portlet for CMS</description>
+      <portlet-name>CMSAdminPortlet</portlet-name>
+      <display-name>Content Management System Administration Portlet</display-name>
+      <portlet-class>org.jboss.portal.core.cms.ui.admin.CMSAdminPortlet</portlet-class>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <supported-locale>en</supported-locale>
+      <supported-locale>fr</supported-locale>
+      <supported-locale>es</supported-locale>
+      <resource-bundle>Resource</resource-bundle>
+      <portlet-info>
+         <title>CMS Administration</title>
+      </portlet-info>
+   </portlet>
+   
+   <!-- portlet>
+      <description>CMS Content Editor</description>
+      <portlet-name>CMSContentEditorPortlet</portlet-name>
+      <display-name>CMS Content Editor</display-name>
+
+      <portlet-class>org.jboss.portal.core.cms.ui.admin.CMSContentEditorPortlet</portlet-class>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <supported-locale>en</supported-locale>
+      <supported-locale>fr</supported-locale>
+      <supported-locale>es</supported-locale>
+      <resource-bundle>Resource</resource-bundle>
+      <portlet-info>
+         <title>CMS Content Type</title>
+      </portlet-info>
+   </portlet-->
+   
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+   <!-- TODO: secure with portal permissions -->
+   <servlet>
+      <servlet-name>CMSPreviewServlet</servlet-name>
+      <servlet-class>org.jboss.portal.core.cms.servlet.CMSPreviewServlet</servlet-class>
+      <load-on-startup>0</load-on-startup>
+   </servlet>
+   <servlet>
+      <servlet-name>CMSExportServlet</servlet-name>
+      <servlet-class>org.jboss.portal.core.cms.servlet.CMSExportServlet</servlet-class>
+      <load-on-startup>0</load-on-startup>
+   </servlet>
+   <servlet-mapping>
+      <servlet-name>CMSPreviewServlet</servlet-name>
+      <url-pattern>/cmspreview/*</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>CMSExportServlet</servlet-name>
+      <url-pattern>/cmsexport/*</url-pattern>
+   </servlet-mapping>
+   
+   <servlet>
+      <servlet-name>ApprovePublishServlet</servlet-name>
+      <servlet-class>org.jboss.portal.cms.workflow.ApprovePublishServlet</servlet-class>
+   </servlet>      
+   <servlet-mapping>
+      <servlet-name>ApprovePublishServlet</servlet-name>
+      <url-pattern>/approve/*</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>ApprovePublishServlet</servlet-name>
+      <url-pattern>/reject/*</url-pattern>
+   </servlet-mapping>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/actionIcon_IsDefault.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/actionIcon_IsDefault.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/actionIcon_MakeDefault.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/actionIcon_MakeDefault.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/binaryfile.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/binaryfile.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/browse.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/browse.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/copy.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/copy.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/createfile.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/createfile.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/createfolder.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/createfolder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/delete.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/delete.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/downarrow.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/downarrow.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/edit.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/edit.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/export_archive.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/export_archive.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/export_pickup.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/export_pickup.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/file.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/file.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/folder.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/folder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/folder_home.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/folder_home.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/info.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/info.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/live.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/live.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/move.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/move.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/plus.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/plus.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/reload.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/reload.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,151 @@
+
+div.menu-container {
+   float:left;
+   width: 300px;
+   padding: 5px 0 10px 10px;
+}
+
+div.admin-ui div.cms-tab-container {
+   border-bottom:1px solid #B3C0C7;
+   border-right:1px solid #B3C0C7;
+   border-left:1px solid #B3C0C7;
+   padding: 0 0 10px 0;
+   margin: 10px 0 0 0;
+}
+
+.menu {
+   width: 150px;
+   font-size: 0.85em;
+   position: relative;
+   z-index: 100;
+}
+
+/* remove all the bullets, borders and padding from the default list styling */
+.menu ul {
+   padding: 0;
+   margin: 0;
+   list-style-type: none;
+}
+
+.menu ul ul {
+   width: 150px;
+   list-style-type: none;
+}
+
+/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
+.menu li {
+   float: left;
+   width: 150px;
+   position: relative;
+   list-style: none;
+}
+
+/* style the links for the top level */
+.menu a, .menu a:visited {
+   display: block;
+   font-size: 11px;
+   text-decoration: none;
+   width: 139px;
+   height: 20px;
+   border: 1px solid #98b7c6;
+   border-width: 1px 1px 1px 1px;
+   padding-left: 5px;
+   line-height: 20px;
+}
+
+* html .menu a, * html .menu a:visited {
+   width: 150px;
+   w\idth: 139px;
+}
+
+.menu ul ul a.drop, .menu ul ul a.drop:visited {
+   background: #DFE8ED;
+}
+
+.menu ul ul a.drop:hover {
+   background: #C0D3DC;
+}
+
+.menu ul ul :hover > a.drop {
+   background: #C0D3DC;
+}
+
+.menu ul ul {
+   visibility: hidden;
+   position: absolute;
+   height: 0;
+   top: 20px;
+   left: 0;
+   width: 150px;
+}
+
+* html .menu ul ul {
+   top: 20px;
+   t\op: 20px;
+}
+
+/* not used */
+.menu table {
+   position: absolute;
+   top: 0;
+   left: 0;
+}
+
+.menu ul ul a, .menu ul ul a:visited {
+   background: #DFE8ED;
+   height: auto;
+   line-height: 20px;
+   padding: 5px 10px;
+   width: 129px
+}
+
+* html .menu ul ul a {
+   width: 150px;
+   w\idth: 129px;
+}
+
+.menu a:hover, .menu ul ul a:hover {
+   visibility: visible;
+}
+
+.menu :hover > a, .menu ul ul :hover > a {
+   background: #C0D3DC;
+}
+
+.menu ul li:hover ul,
+   .menu ul a:hover ul {
+   visibility: visible;
+   background: #C0D3DC;
+}
+
+div.search-container {
+   float:right;
+   padding: 5px 15px 10px 0;
+}
+
+div.search-container form{
+   margin:0;
+   padding:0;
+}
+
+h3.sectionTitle{
+
+}
+
+div.file-table-container{
+   width: 100%;
+}
+
+h3.sectionTitle {
+   margin:0;
+}
+
+div.admin-ui table{
+   margin:0;
+   border-collapse:collapse;
+}
+
+div.admin-ui th{
+   padding:0;
+}
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/blank.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/blank.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/blank.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,9 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>blank_page</title>
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+</head>
+<body class="mceContentBody">
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ar.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ar.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ar.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+// arabic lang variables
+// Toolbar Items and Context Menu
+tinyMCELang['lang_dir'] = 'rtl';
+tinyMCELang['lang_bold_desc'] = '&#1594;&#1575;&#1605;&#1602;';
+tinyMCELang['lang_italic_desc'] = '&#1605;&#1575;&#1574;&#1604;';
+tinyMCELang['lang_underline_desc'] = '&#1578;&#1587;&#1591;&#1610;&#1585;';
+tinyMCELang['lang_striketrough_desc'] = '&#1610;&#1578;&#1608;&#1587;&#1591;&#1607; &#1582;&#1591;';
+tinyMCELang['lang_justifyleft_desc'] = '&#1605;&#1581;&#1575;&#1584;&#1575;&#1577; &#1573;&#1604;&#1609; &#1575;&#1604;&#1610;&#1587;&#1575;&#1585;';
+tinyMCELang['lang_justifycenter_desc'] = '&#1578;&#1608;&#1587;&#1610;&#1591;';
+tinyMCELang['lang_justifyright_desc'] = '&#1605;&#1581;&#1575;&#1584;&#1575;&#1577; &#1573;&#1604;&#1609; &#1575;&#1604;&#1610;&#1605;&#1610;&#1606;';
+tinyMCELang['lang_justifyfull_desc'] = '&#1590;&#1576;&#1591;';
+tinyMCELang['lang_bullist_desc'] = '&#1578;&#1593;&#1583;&#1575;&#1583; &#1606;&#1602;&#1591;&#1610;';
+tinyMCELang['lang_numlist_desc'] = '&#1578;&#1593;&#1583;&#1575;&#1583; &#1585;&#1602;&#1605;&#1610;';
+tinyMCELang['lang_outdent_desc'] = '&#1573;&#1606;&#1602;&#1575;&#1589; &#1575;&#1604;&#1605;&#1587;&#1575;&#1601;&#1577; &#1575;&#1604;&#1576;&#1575;&#1583;&#1574;&#1577;';
+tinyMCELang['lang_indent_desc'] = '&#1586;&#1610;&#1575;&#1583;&#1577; &#1575;&#1604;&#1605;&#1587;&#1575;&#1601;&#1577; &#1575;&#1604;&#1576;&#1575;&#1583;&#1574;&#1577;';
+tinyMCELang['lang_undo_desc'] = '&#1578;&#1585;&#1575;&#1580;&#1593;';
+tinyMCELang['lang_redo_desc'] = '&#1573;&#1593;&#1575;&#1583;&#1577;';
+tinyMCELang['lang_link_desc'] = '&#1573;&#1583;&#1585;&#1575;&#1580;/&#1578;&#1581;&#1585;&#1610;&#1585; &#1585;&#1575;&#1576;&#1591;';
+tinyMCELang['lang_unlink_desc'] = '&#1573;&#1586;&#1575;&#1604;&#1577; &#1585;&#1575;&#1576;&#1591;';
+tinyMCELang['lang_image_desc'] = '&#1573;&#1583;&#1585;&#1575;&#1580;/&#1578;&#1581;&#1585;&#1610;&#1585; &#1589;&#1608;&#1585;&#1577;';
+tinyMCELang['lang_cleanup_desc'] = 'Cleanup messy code';
+tinyMCELang['lang_focus_alert'] = 'A editor instance must be focused before using this command.';
+tinyMCELang['lang_edit_confirm'] = 'Do you want to use the WYSIWYG mode for this textarea?';
+tinyMCELang['lang_insert_link_title'] = '&#1573;&#1583;&#1585;&#1575;&#1580;/&#1578;&#1581;&#1585;&#1610;&#1585; &#1585;&#1575;&#1576;&#1591;';
+tinyMCELang['lang_insert'] = '&#1573;&#1583;&#1585;&#1575;&#1580;';
+tinyMCELang['lang_update'] = '&#1573;&#1583;&#1585;&#1575;&#1580;';
+tinyMCELang['lang_cancel'] = '&#1571;&#1604;&#1594;&#1610;';
+tinyMCELang['lang_insert_link_url'] = '&#1585;&#1575;&#1576;&#1591; URL';
+tinyMCELang['lang_insert_link_target'] = '&#1575;&#1604;&#1607;&#1583;&#1601;';
+tinyMCELang['lang_insert_link_target_same'] = '&#1606;&#1601;&#1587; &#1575;&#1604;&#1573;&#1591;&#1575;&#1585;';
+tinyMCELang['lang_insert_link_target_blank'] = '&#1573;&#1591;&#1575;&#1585; &#1580;&#1583;&#1610;&#1583; (_blank)';
+tinyMCELang['lang_insert_image_title'] = '&#1573;&#1583;&#1585;&#1575;&#1580;/&#1578;&#1581;&#1585;&#1610;&#1585; &#1589;&#1608;&#1585;&#1577;';
+tinyMCELang['lang_insert_image_src'] = '&#1589;&#1608;&#1585;&#1577; URL';
+tinyMCELang['lang_insert_image_alt'] = '&#1575;&#1604;&#1608;&#1589;&#1601;';
+tinyMCELang['lang_help_desc'] = '&#1575;&#1604;&#1605;&#1587;&#1575;&#1593;&#1583;&#1577;';
+tinyMCELang['lang_bold_img'] = 'bold.gif';
+tinyMCELang['lang_italic_img'] = 'italic.gif';
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ca_fr.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ca_fr.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ca_fr.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// Canadian French lang variables by Virtuelcom
+
+tinyMCELang['lang_bold_desc'] = 'Gras';
+tinyMCELang['lang_italic_desc'] = 'Italique';
+tinyMCELang['lang_underline_desc'] = 'Souligner';
+tinyMCELang['lang_striketrough_desc'] = 'Barrer';
+tinyMCELang['lang_justifyleft_desc'] = 'Aligner &agrave; gauche';
+tinyMCELang['lang_justifycenter_desc'] = 'Aligner au centre';
+tinyMCELang['lang_justifyright_desc'] = 'Aligner &agrave; droite';
+tinyMCELang['lang_justifyfull_desc'] = 'Justifier';
+tinyMCELang['lang_bullist_desc'] = 'Puces';
+tinyMCELang['lang_numlist_desc'] = 'Num&eacute;rotation';
+tinyMCELang['lang_outdent_desc'] = 'R&eacute;duire le retrait';
+tinyMCELang['lang_indent_desc'] = 'Augmenter le retrait';
+tinyMCELang['lang_undo_desc'] = 'Annuler la derni&egrave;re action';
+tinyMCELang['lang_redo_desc'] = 'Refaire la derni&egrave;re action annul&eacute;e';
+tinyMCELang['lang_link_desc'] = 'Ins&eacute;rer un hyperlien';
+tinyMCELang['lang_unlink_desc'] = 'Supprimer un hyperlien';
+tinyMCELang['lang_image_desc'] = 'Ins&eacute;rer une image';
+tinyMCELang['lang_cleanup_desc'] = 'Nettoyer le code';
+tinyMCELang['lang_focus_alert'] = 'Un &eacute;diteur doit &ecirc;tre s&eacute;lectionn&eacute; pour utiliser cette fonction.';
+tinyMCELang['lang_edit_confirm'] = 'D&eacute;sirez-vous utiliser l\'&eacute;diteur pour modifier cette zone?';
+tinyMCELang['lang_insert_link_title'] = 'Ins&eacute;rer/modifier un hyperlien';
+tinyMCELang['lang_insert'] = 'Ins&eacute;rer';
+tinyMCELang['lang_update'] = 'Ins&eacute;rer';
+tinyMCELang['lang_cancel'] = 'Annuler';
+tinyMCELang['lang_insert_link_url'] = 'Adresse URL';
+tinyMCELang['lang_insert_link_target'] = 'Destination';
+tinyMCELang['lang_insert_link_target_same'] = 'Ouvrir dans la m&ecirc;me fen&ecirc;tre';
+tinyMCELang['lang_insert_link_target_blank'] = 'Ouvrir dans une nouvelle fen&ecirc;tre';
+tinyMCELang['lang_insert_image_title'] = 'Ins&eacute;rer/modifier une image';
+tinyMCELang['lang_insert_image_src'] = 'Adresse de l\'image';
+tinyMCELang['lang_insert_image_alt'] = 'Description de l\'image';
+tinyMCELang['lang_help_desc'] = 'Aide';
+tinyMCELang['lang_bold_img'] = "bold_fr.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/cz.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/cz.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/cz.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// CZ lang variables thanks to "Pavel Novák"
+
+tinyMCELang['lang_bold_desc'] = 'Tu&#232;n&#236;';
+tinyMCELang['lang_italic_desc'] = 'Kurz&#237;va';
+tinyMCELang['lang_underline_desc'] = 'Podtr&#190;en&#237;';
+tinyMCELang['lang_striketrough_desc'] = 'P&#248;e&#185;krtnut&#237;';
+tinyMCELang['lang_justifyleft_desc'] = 'Zarovn&#225;n&#237; vlevo';
+tinyMCELang['lang_justifycenter_desc'] = 'Zarovn&#225;n&#237; na st&#248;ed';
+tinyMCELang['lang_justifyright_desc'] = 'Zarovn&#225;n&#237; vpravo';
+tinyMCELang['lang_justifyfull_desc'] = 'Zarovn&#225;n&#237; do bloku';
+tinyMCELang['lang_bullist_desc'] = 'Seznam s odr&#225;&#190;ky';
+tinyMCELang['lang_numlist_desc'] = '&#200;&#237;slovan&#253; seznam';
+tinyMCELang['lang_outdent_desc'] = 'Sn&#237;&#190;it odsazen&#237;';
+tinyMCELang['lang_indent_desc'] = 'Zv&#253;&#185;it odsazen&#237;';
+tinyMCELang['lang_undo_desc'] = 'Zp&#236;t';
+tinyMCELang['lang_redo_desc'] = 'Znovu';
+tinyMCELang['lang_link_desc'] = 'Vlo&#190;it odkaz';
+tinyMCELang['lang_unlink_desc'] = 'Zru&#185;it odkaz';
+tinyMCELang['lang_image_desc'] = 'Vlo&#190;it obr&#225;zek';
+tinyMCELang['lang_cleanup_desc'] = 'Vy&#232;istit k&#243;d';
+tinyMCELang['lang_focus_alert'] = 'P\u00F8ed pou\u00BEit\u00EDm tohoto p\u00F8\u00EDkazu mus\u00ED b\u00FDt kurzor v okn\u00EC editoru.';
+tinyMCELang['lang_edit_confirm'] = 'Chcete pou\u00BE\u00EDt WYSIWYG m\u00F3d pro tuto textareu?';
+tinyMCELang['lang_insert_link_title'] = 'Vlo&#190;it/upravit odkaz';
+tinyMCELang['lang_insert'] = 'Vlo&#190;it';
+tinyMCELang['lang_update'] = 'Vlo&#190;it';
+tinyMCELang['lang_cancel'] = 'Zru&#185;it';
+tinyMCELang['lang_insert_link_url'] = 'URL odkazu';
+tinyMCELang['lang_insert_link_target'] = 'C&#237;l';
+tinyMCELang['lang_insert_link_target_same'] = 'Otev&#248;&#237;t odkaz v sam&#233;m okn&#236;';
+tinyMCELang['lang_insert_link_target_blank'] = 'Otev&#248;&#237;t odkaz v nov&#233;m okn&#236;';
+tinyMCELang['lang_insert_image_title'] = 'Vlo&#190;it/upravit obr&#225;zek';
+tinyMCELang['lang_insert_image_src'] = 'URL obr&#225;zku';
+tinyMCELang['lang_insert_image_alt'] = 'Popis obr&#225;zku';
+tinyMCELang['lang_help_desc'] = 'N&#225;pov&#236;da';
+tinyMCELang['lang_bold_img'] = 'bold.gif';
+tinyMCELang['lang_italic_img'] = 'italic.gif';
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/de.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/de.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/de.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,73 @@
+// DE lang variables
+// Translated 2004 by Crazy Chrissi
+// Edited 2004 by Krokogras
+
+tinyMCELang['lang_theme_style_select']                 = 'Styles';
+tinyMCELang['lang_theme_code_desc']                    = 'HTML-Modus';
+tinyMCELang['lang_theme_code_title']                   = 'HTML-Code Editor';
+tinyMCELang['lang_theme_code_wordwrap']                = 'Zeilenumbruch';
+tinyMCELang['lang_theme_code_save']                    = 'Speichern';
+tinyMCELang['lang_theme_sub_desc']                     = 'Tiefergestellt';
+tinyMCELang['lang_theme_sup_desc']                     = 'H&ouml;hergestellt';
+tinyMCELang['lang_theme_hr_desc']                      = 'Horizontale Linie einf&uuml;gen';
+tinyMCELang['lang_theme_removeformat_desc']            = 'Formatierung l&ouml;schen';
+tinyMCELang['lang_theme_table_desc']                   = 'Neue Tabelle einf&uuml;gen / Tabelle bearbeiten';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Zeile vor aktueller einf&uuml;gen';
+tinyMCELang['lang_theme_table_insert_row_after_desc']  = 'Zeile nach aktueller einf&uuml;gen';
+tinyMCELang['lang_theme_table_delete_row_desc']        = 'Aktuelle Zeile l&ouml;schen';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Spalte vor aktueller einf&uuml;gen';
+tinyMCELang['lang_theme_table_insert_col_after_desc']  = 'Spalte nach aktueller einf&uuml;gen';
+tinyMCELang['lang_theme_table_delete_col_desc']        = 'Aktuelle Spalte l&ouml;schen';
+tinyMCELang['lang_theme_custom1_desc']                 = 'Beschreibung eingeben';
+tinyMCELang['lang_insert_image_border']                = 'Rahmen';
+tinyMCELang['lang_insert_image_dimensions']            = 'Gr&ouml;&szlig;e';
+tinyMCELang['lang_insert_image_vspace']                = 'Vertikal einr&uuml;cken';
+tinyMCELang['lang_insert_image_hspace']                = 'Horizontal einr&uuml;cken';
+tinyMCELang['lang_insert_image_align']                 = 'Ausrichten';
+tinyMCELang['lang_insert_image_align_default']         = 'Normal';
+tinyMCELang['lang_insert_image_align_baseline']        = 'Grundlinie';
+tinyMCELang['lang_insert_image_align_top']             = 'Oben';
+tinyMCELang['lang_insert_image_align_middle']          = 'Mitte';
+tinyMCELang['lang_insert_image_align_bottom']          = 'Unten';
+tinyMCELang['lang_insert_image_align_texttop']         = 'Textoberkante';
+tinyMCELang['lang_insert_image_align_absmiddle']       = 'Absolute Mitte';
+tinyMCELang['lang_insert_image_align_absbottom']       = 'Absolut unten';
+tinyMCELang['lang_insert_image_align_left']            = 'Links';
+tinyMCELang['lang_insert_image_align_right']           = 'Rechts';
+tinyMCELang['lang_insert_table_title']                 = 'Tabelle einf&uuml;gen / bearbeiten';
+tinyMCELang['lang_insert_table_width']                 = 'Breite';
+tinyMCELang['lang_insert_table_height']                = 'H&ouml;he';
+tinyMCELang['lang_insert_table_cols']                  = 'Spalten';
+tinyMCELang['lang_insert_table_rows']                  = 'Zeilen';
+tinyMCELang['lang_insert_table_cellspacing']           = 'Zellabstand';
+tinyMCELang['lang_insert_table_cellpadding']           = 'Zellauff&uuml;llung';
+tinyMCELang['lang_insert_table_border']                = 'Rahmen';
+tinyMCELang['lang_insert_table_align']                 = 'Ausrichten';
+tinyMCELang['lang_insert_table_align_default']         = 'Normal';
+tinyMCELang['lang_insert_table_align_left']            = 'Links';
+tinyMCELang['lang_insert_table_align_right']           = 'Rechts';
+tinyMCELang['lang_insert_table_align_middle']          = 'Zentriert';
+tinyMCELang['lang_insert_table_class']                 = 'Klasse';
+tinyMCELang['lang_insert_table_delta_width']           = 30;
+tinyMCELang['lang_theme_fontdefault']                  = 'Normal';
+tinyMCELang['lang_theme_paragraph']                    = 'Standard-Text';
+tinyMCELang['lang_theme_div']                          = 'Div';
+tinyMCELang['lang_theme_address']                      = 'Addresse';
+tinyMCELang['lang_theme_pre']                          = 'Vorformatiert (pre)';
+tinyMCELang['lang_theme_h1']                           = '&Uuml;berschrift 1';
+tinyMCELang['lang_theme_h2']                           = '&Uuml;berschrift 2';
+tinyMCELang['lang_theme_h3']                           = '&Uuml;berschrift 3';
+tinyMCELang['lang_theme_h4']                           = '&Uuml;berschrift 4';
+tinyMCELang['lang_theme_h5']                           = '&Uuml;berschrift 5';
+tinyMCELang['lang_theme_h6']                           = '&Uuml;berschrift 6';
+tinyMCELang['lang_theme_colorpicker_title']            = 'Farbe ausw&auml;hlen';
+tinyMCELang['lang_theme_colorpicker_apply']            = '&Uuml;bernehmen';
+tinyMCELang['lang_theme_forecolor_desc']               = 'Schriftfarbe ausw„hlen';
+tinyMCELang['lang_theme_charmap_title']                = 'Sonderzeichen einf&uuml;gen';
+tinyMCELang['lang_theme_charmap_desc']                 = 'Sonderzeichen einf&uuml;gen';
+tinyMCELang['lang_theme_visualaid_desc']               = 'Anzeige von Hilfslinien / unsichtbaren Elementen an/aus';
+tinyMCELang['lang_insert_anchor_title']                = 'Anker einf&uuml;gen / bearbeiten';
+tinyMCELang['lang_insert_anchor_name']                 = 'Ankername';
+tinyMCELang['lang_theme_anchor_desc']                  = 'Anker einf&uuml;gen / bearbeiten';
+tinyMCELang['lang_theme_insert_link_titlefield']       = 'Title';
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/dk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/dk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/dk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// DK lang variables contributed by Jan Moelgaard
+
+tinyMCELang['lang_bold_desc'] = 'Fed';
+tinyMCELang['lang_italic_desc'] = 'Kursiv';
+tinyMCELang['lang_underline_desc'] = 'Understreg';
+tinyMCELang['lang_striketrough_desc'] = 'Gennemstreg';
+tinyMCELang['lang_justifyleft_desc'] = 'Venstrestil';
+tinyMCELang['lang_justifycenter_desc'] = 'Centrer';
+tinyMCELang['lang_justifyright_desc'] = 'H&#248;jrestil';
+tinyMCELang['lang_justifyfull_desc'] = 'Lige margin';
+tinyMCELang['lang_bullist_desc'] = 'Bulletliste';
+tinyMCELang['lang_numlist_desc'] = 'Nummerliste';
+tinyMCELang['lang_outdent_desc'] = 'Ryk til venstre';
+tinyMCELang['lang_indent_desc'] = 'Ryk til h&#248;jre';
+tinyMCELang['lang_undo_desc'] = 'Fortryd';
+tinyMCELang['lang_redo_desc'] = 'G&#248;r igen';
+tinyMCELang['lang_link_desc'] = 'Inds&#230;t link';
+tinyMCELang['lang_unlink_desc'] = 'Fjern link';
+tinyMCELang['lang_image_desc'] = 'Inds&#230;t billede';
+tinyMCELang['lang_cleanup_desc'] = 'Ryd op i koden';
+tinyMCELang['lang_focus_alert'] = 'Der skal s&#230;ttes fokus p&#229; sessionen, f&#248;r man kan bruge denne kommando';
+tinyMCELang['lang_edit_confirm'] = 'Vil du bruge WYSIWYG mode til dette textomr&#229;de?';
+tinyMCELang['lang_insert_link_title'] = 'Inds&#230;t eller rediger link';
+tinyMCELang['lang_insert'] = 'Inds&#230;t';
+tinyMCELang['lang_update'] = 'Inds&#230;t';
+tinyMCELang['lang_cancel'] = 'Fortryd';
+tinyMCELang['lang_insert_link_url'] = 'Linkadresse';
+tinyMCELang['lang_insert_link_target'] = 'Target';
+tinyMCELang['lang_insert_link_target_same'] = 'Luk linket op i samme vindue';
+tinyMCELang['lang_insert_link_target_blank'] = 'Luk linket op i et nyt vindue';
+tinyMCELang['lang_insert_image_title'] = 'Inds&#230;t / rediger billede';
+tinyMCELang['lang_insert_image_src'] = 'Billedets adresse';
+tinyMCELang['lang_insert_image_alt'] = 'Alternativ tekst';
+tinyMCELang['lang_help_desc'] = 'Hj&#230;lp';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/el.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/el.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/el.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// Greek lang variables by Jacaranda Bill
+
+tinyMCELang['lang_bold_desc'] = '¸íôïíç ãñáöÞ';
+tinyMCELang['lang_italic_desc'] = 'ÐëÜãéá ãñáöÞ';
+tinyMCELang['lang_underline_desc'] = 'ÕðïãñÜììéóç';
+tinyMCELang['lang_striketrough_desc'] = 'ÄéáêñéôÞ äéáãñáöÞ';
+tinyMCELang['lang_justifyleft_desc'] = 'Óôïß÷éóç áñéóôåñÜ';
+tinyMCELang['lang_justifycenter_desc'] = 'Óôïß÷éóç óôï êÝíôñï';
+tinyMCELang['lang_justifyright_desc'] = 'Óôïß÷éóç äåîéÜ';
+tinyMCELang['lang_justifyfull_desc'] = 'ÐëÞñçò óôïß÷éóç';
+tinyMCELang['lang_bullist_desc'] = 'Êïõêêßäåò';
+tinyMCELang['lang_numlist_desc'] = 'Áñßèìçóç';
+tinyMCELang['lang_outdent_desc'] = 'Ìåßùóç åóï÷Þò';
+tinyMCELang['lang_indent_desc'] = 'Áýîçóç åóï÷Þò';
+tinyMCELang['lang_undo_desc'] = 'Áíáßñåóç';
+tinyMCELang['lang_redo_desc'] = 'Áêýñùóç áíáßñåóçò';
+tinyMCELang['lang_link_desc'] = 'Äçìéïõñãßá/Äéüñèùóç õðåñ-óýíäåóçò';
+tinyMCELang['lang_unlink_desc'] = 'ÄéáãñáöÞ õðåñ-óýíäåóçò';
+tinyMCELang['lang_image_desc'] = 'ÅéóáãùãÞ/Äéüñèùóç åéêüíáò';
+tinyMCELang['lang_cleanup_desc'] = 'ÊáèÜñéóìá êþäéêá';
+tinyMCELang['lang_focus_alert'] = 'ÐñÝðåé íá õðÜñ÷åé åíåñãüò êÜðïéïò åðåîåñãáóôÞò êåéìÝíïõ ðñéí íá ÷ñçóéìïðïéÞóåôå áõôÞ ôçí åíôïëÞ.';
+tinyMCELang['lang_edit_confirm'] = 'ÈÝëåôå íá ÷ñçóéìïðïéÞóåôå ôçí êáôÜóôáóç WYSIWYG ãéá ôï óõãêåêñéìÝíï ðëáßóéï êåéìÝíïõ;';
+tinyMCELang['lang_insert_link_title'] = 'Äçìéïõñãßá/Äéüñèùóç õðåñ-óýíäåóçò';
+tinyMCELang['lang_insert'] = 'ÅéóáãùãÞ';
+tinyMCELang['lang_update'] = 'ÅéóáãùãÞ';
+tinyMCELang['lang_cancel'] = 'Áêýñùóç';
+tinyMCELang['lang_insert_link_url'] = 'Äéåýèõíóç';
+tinyMCELang['lang_insert_link_target'] = 'Óôü÷ïò';
+tinyMCELang['lang_insert_link_target_same'] = '¢íïéãìá ôçò äéåýèõíóçò óôï ßäéï ðáñÜèõñï';
+tinyMCELang['lang_insert_link_target_blank'] = '¢íïéãìá ôçò äéåýèõíóçò óå íÝï ðáñÜèõñï';
+tinyMCELang['lang_insert_image_title'] = 'ÅéóáãùãÞ/Äéüñèùóç åéêüíáò';
+tinyMCELang['lang_insert_image_src'] = 'Äéåýèõíóç';
+tinyMCELang['lang_insert_image_alt'] = 'ÐåñéãñáöÞ';
+tinyMCELang['lang_help_desc'] = 'ÂïÞèåéá';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+bold_desc : 'Bold (Ctrl+B)',
+italic_desc : 'Italic (Ctrl+I)',
+underline_desc : 'Underline (Ctrl+U)',
+striketrough_desc : 'Strikethrough',
+justifyleft_desc : 'Align left',
+justifycenter_desc : 'Align center',
+justifyright_desc : 'Align right',
+justifyfull_desc : 'Align full',
+bullist_desc : 'Unordered list',
+numlist_desc : 'Ordered list',
+outdent_desc : 'Outdent',
+indent_desc : 'Indent',
+undo_desc : 'Undo (Ctrl+Z)',
+redo_desc : 'Redo (Ctrl+Y)',
+link_desc : 'Insert/edit link',
+unlink_desc : 'Unlink',
+image_desc : 'Insert/edit image',
+cleanup_desc : 'Cleanup messy code',
+focus_alert : 'A editor instance must be focused before using this command.',
+edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?',
+insert_link_title : 'Insert/edit link',
+insert : 'Insert',
+update : 'Update',
+cancel : 'Cancel',
+insert_link_url : 'Link URL',
+insert_link_target : 'Target',
+insert_link_target_same : 'Open link in the same window',
+insert_link_target_blank : 'Open link in a new window',
+insert_image_title : 'Insert/edit image',
+insert_image_src : 'Image URL',
+insert_image_alt : 'Image description',
+help_desc : 'Help',
+bold_img : "bold.gif",
+italic_img : "italic.gif",
+underline_img : "underline.gif",
+clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?',
+popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/es.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/es.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/es.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// ES lang variables by Alvaro Velasco
+
+tinyMCELang['lang_bold_desc'] = 'Negrita';
+tinyMCELang['lang_italic_desc'] = 'Cursiva';
+tinyMCELang['lang_underline_desc'] = 'Subrayado';
+tinyMCELang['lang_striketrough_desc'] = 'Tachado';
+tinyMCELang['lang_justifyleft_desc'] = 'Alinear a la izquierda';
+tinyMCELang['lang_justifycenter_desc'] = 'Alinear al centro';
+tinyMCELang['lang_justifyright_desc'] = 'Alinear a la derecha';
+tinyMCELang['lang_justifyfull_desc'] = 'Alinear justificado';
+tinyMCELang['lang_bullist_desc'] = 'Lista sin ordenar';
+tinyMCELang['lang_numlist_desc'] = 'Lista ordenada';
+tinyMCELang['lang_outdent_desc'] = 'Disminuye sangria';
+tinyMCELang['lang_indent_desc'] = 'Aumentar sangria';
+tinyMCELang['lang_undo_desc'] = 'Deshacer';
+tinyMCELang['lang_redo_desc'] = 'Rehacer';
+tinyMCELang['lang_link_desc'] = 'Insertar enlace';
+tinyMCELang['lang_unlink_desc'] = 'Quitar enlace';
+tinyMCELang['lang_image_desc'] = 'Insertar imagen';
+tinyMCELang['lang_cleanup_desc'] = 'Limpiar codigo';
+tinyMCELang['lang_focus_alert'] = 'Una instanacia del editor debe ser enfocada antes de usar este comando.';
+tinyMCELang['lang_edit_confirm'] = 'Quieres usar el modo WYSIWYG para esta area de texto?';
+tinyMCELang['lang_insert_link_title'] = 'Insertar/editar enlace';
+tinyMCELang['lang_insert'] = 'Insertar';
+tinyMCELang['lang_update'] = 'Insertar';
+tinyMCELang['lang_cancel'] = 'Cancelar';
+tinyMCELang['lang_insert_link_url'] = 'Direccion del enlace';
+tinyMCELang['lang_insert_link_target'] = 'Destino';
+tinyMCELang['lang_insert_link_target_same'] = 'Abrir enlace en la misma ventana';
+tinyMCELang['lang_insert_link_target_blank'] = 'Abrir enlace en una ventana nueva';
+tinyMCELang['lang_insert_image_title'] = 'Insertar/editar imagen';
+tinyMCELang['lang_insert_image_src'] = 'URL de la imagen';
+tinyMCELang['lang_insert_image_alt'] = 'Descripcion de la imagen';
+tinyMCELang['lang_help_desc'] = 'Ayuda';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/fi.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/fi.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/fi.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// FI lang variables by Urho Konttori from Absolutions
+
+tinyMCELang['lang_bold_desc'] = 'Lihavoi';
+tinyMCELang['lang_italic_desc'] = 'Kursivoi';
+tinyMCELang['lang_underline_desc'] = 'Alleviivaa';
+tinyMCELang['lang_striketrough_desc'] = 'Yliviivaa';
+tinyMCELang['lang_justifyleft_desc'] = 'Vasen tasaus';
+tinyMCELang['lang_justifycenter_desc'] = 'Keskitys';
+tinyMCELang['lang_justifyright_desc'] = 'Oikea tasaus';
+tinyMCELang['lang_justifyfull_desc'] = 'Pakotettu tasaus';
+tinyMCELang['lang_bullist_desc'] = 'Numeroimaton lista';
+tinyMCELang['lang_numlist_desc'] = 'Numeroitu lista';
+tinyMCELang['lang_outdent_desc'] = 'Poista sisennyt';
+tinyMCELang['lang_indent_desc'] = 'Sisennys';
+tinyMCELang['lang_undo_desc'] = 'Peruuta';
+tinyMCELang['lang_redo_desc'] = 'Suorita uudelleen';
+tinyMCELang['lang_link_desc'] = 'Lisää linkki';
+tinyMCELang['lang_unlink_desc'] = 'Poista linkki';
+tinyMCELang['lang_image_desc'] = 'Lisää kuva';
+tinyMCELang['lang_cleanup_desc'] = 'Siisti koodi';
+tinyMCELang['lang_focus_alert'] = 'Teksinkäsittelyalueella täytyy olla fokus ennen tämän komennon suorittamista.';
+tinyMCELang['lang_edit_confirm'] = 'Haluatko käyttää WYSIWYG moodia tähän tekstialueeseen?';
+tinyMCELang['lang_insert_link_title'] = 'Lisää/muokkaa linkkiä';
+tinyMCELang['lang_insert'] = 'Lisää';
+tinyMCELang['lang_update'] = 'Lisää';
+tinyMCELang['lang_cancel'] = 'Peruuta';
+tinyMCELang['lang_insert_link_url'] = 'Linkin URL';
+tinyMCELang['lang_insert_link_target'] = 'Kohde';
+tinyMCELang['lang_insert_link_target_same'] = 'Avaa linkki samassa ikkunassa';
+tinyMCELang['lang_insert_link_target_blank'] = 'Avaa linkki uudessa ikkunassa';
+tinyMCELang['lang_insert_image_title'] = 'Lisää/muokkaa kuvaa';
+tinyMCELang['lang_insert_image_src'] = 'Kuvan URL';
+tinyMCELang['lang_insert_image_alt'] = 'Kuvan selite';
+tinyMCELang['lang_help_desc'] = 'Apua';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/fr.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/fr.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/fr.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// FR lang variables by Pat Boens
+
+tinyMCELang['lang_bold_desc'] = 'Gras';
+tinyMCELang['lang_italic_desc'] = 'Italique';
+tinyMCELang['lang_underline_desc'] = 'Soulign&eacute;';
+tinyMCELang['lang_striketrough_desc'] = 'Barré';
+tinyMCELang['lang_justifyleft_desc'] = 'Aligner &agrave; gauche';
+tinyMCELang['lang_justifycenter_desc'] = 'Aligner au centre';
+tinyMCELang['lang_justifyright_desc'] = 'Aligner &agrave; droite';
+tinyMCELang['lang_justifyfull_desc'] = 'Justifier';
+tinyMCELang['lang_bullist_desc'] = 'Liste désordonn&eacute;e (puces)';
+tinyMCELang['lang_numlist_desc'] = 'Liste ordonn&eacute;e (num&eacute;ros)';
+tinyMCELang['lang_outdent_desc'] = 'Diminuer le retrait';
+tinyMCELang['lang_indent_desc'] = 'Augmenter le retrait';
+tinyMCELang['lang_undo_desc'] = 'D&eacute;faire';
+tinyMCELang['lang_redo_desc'] = 'Refaire';
+tinyMCELang['lang_link_desc'] = 'Ins&eacute;rer/éditer le lien';
+tinyMCELang['lang_unlink_desc'] = 'Enlever le lien';
+tinyMCELang['lang_image_desc'] = 'Ins&eacute;rer/éditer une image';
+tinyMCELang['lang_cleanup_desc'] = 'Nettoyer le code';
+tinyMCELang['lang_focus_alert'] = 'Une instance de l\&eacute;diteur doit avoir le focus avant d\'utiliser cette commande.';
+tinyMCELang['lang_edit_confirm'] = 'Voulez-vous utiliser le mode WYSIWYG pour cette zone de texte (textarea) ?';
+tinyMCELang['lang_insert_link_title'] = 'Insertion/&eacute;dition lien';
+tinyMCELang['lang_insert'] = 'Insertion';
+tinyMCELang['lang_update'] = 'Insertion';
+tinyMCELang['lang_cancel'] = 'Annuler';
+tinyMCELang['lang_insert_link_url'] = 'Lien URL';
+tinyMCELang['lang_insert_link_target'] = 'Cible';
+tinyMCELang['lang_insert_link_target_same'] = 'Ouvrir le lien dans la même fen&ecirc;tre';
+tinyMCELang['lang_insert_link_target_blank'] = 'Ouvrir le lien dans une nouvelle fen&ecirc;tre';
+tinyMCELang['lang_insert_image_title'] = 'Insertion/&eacute;dition d\'une image';
+tinyMCELang['lang_insert_image_src'] = 'URL de l\'image';
+tinyMCELang['lang_insert_image_alt'] = 'Description de l\'image';
+tinyMCELang['lang_help_desc'] = 'Aide';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/hu.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/hu.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/hu.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+// HU lang variables
+// Edited by 2XP (2xp at dino.hu)
+
+tinyMCELang['lang_bold_desc'] = 'F&#233;lk&#246;v&#233;r';
+tinyMCELang['lang_italic_desc'] = 'D&#245;lt';
+tinyMCELang['lang_underline_desc'] = 'Al&#225;h&#250;zott';
+tinyMCELang['lang_striketrough_desc'] = '&#193;th&#250;zott';
+tinyMCELang['lang_justifyleft_desc'] = 'Balra igaz&#237;t&#225;s';
+tinyMCELang['lang_justifycenter_desc'] = 'K&#246;z&#233;pre igaz&#237;t&#225;s';
+tinyMCELang['lang_justifyright_desc'] = 'Jobbra igaz&#237;t&#225;s';
+tinyMCELang['lang_justifyfull_desc'] = 'Sorkiz&#225;rt';
+tinyMCELang['lang_bullist_desc'] = 'Felsorol&#225;s';
+tinyMCELang['lang_numlist_desc'] = 'Sz&#225;mozott lista';
+tinyMCELang['lang_outdent_desc'] = 'Beh&#250;z&#225;s balra';
+tinyMCELang['lang_indent_desc'] = 'Beh&#250;z&#225;s jobbra';
+tinyMCELang['lang_undo_desc'] = 'Visszavon&#225;s';
+tinyMCELang['lang_redo_desc'] = 'Ism&#233;tl&#233;s';
+tinyMCELang['lang_link_desc'] = 'Link felv&#233;tele';
+tinyMCELang['lang_unlink_desc'] = 'Link t&#246;rl&#233;se';
+tinyMCELang['lang_image_desc'] = 'K&#233;p beilleszt&#233;se';
+tinyMCELang['lang_cleanup_desc'] = 'K&#243;d tiszt&#237;t&#225;sa';
+tinyMCELang['lang_focus_alert'] = 'Miel\u00F5tt haszn\u00E1lja ezt a funkci\u00F3t, ki kell jel\u00F6lnie a szerkeszteni k\u00EDv\u00E1nt ter\u00FCletet.';
+tinyMCELang['lang_edit_confirm'] = 'K\u00EDv\u00E1nja a WYSIWYG m\u00F3dot erre a sz\u00F6vegter\u00FCletre alkalmazni??';
+tinyMCELang['lang_insert_link_title'] = 'Link beilleszt&#233;se/szerkeszt&#233;se';
+tinyMCELang['lang_insert'] = 'Beilleszt&#233;s';
+tinyMCELang['lang_update'] = 'Beilleszt&#233;s';
+tinyMCELang['lang_cancel'] = 'M&#233;gsem';
+tinyMCELang['lang_insert_link_url'] = 'Link URL';
+tinyMCELang['lang_insert_link_target'] = 'C&#233;l';
+tinyMCELang['lang_insert_link_target_same'] = 'Link megnyit&#225;sa azonos ablakban';
+tinyMCELang['lang_insert_link_target_blank'] = 'Link megnyit&#225;sa &#250;j ablakban';
+tinyMCELang['lang_insert_image_title'] = 'K&#233;p beilleszt&#233;se/szerkeszt&#233;se';
+tinyMCELang['lang_insert_image_src'] = 'K&#233;p URL';
+tinyMCELang['lang_insert_image_alt'] = 'K&#233;ple&#237;r&#225;s';
+tinyMCELang['lang_help_desc'] = 'Seg&#237;t&#233;g';
+tinyMCELang['lang_bold_img'] = 'bold.gif';
+tinyMCELang['lang_italic_img'] = 'italic.gif';
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/it.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/it.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/it.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// Variabili lingua IT - fabrix.xm at lombardiacom.it
+
+tinyMCELang['lang_bold_desc'] = 'Grassetto';
+tinyMCELang['lang_italic_desc'] = 'Corsivo';
+tinyMCELang['lang_underline_desc'] = 'Sottolineato';
+tinyMCELang['lang_striketrough_desc'] = 'Barrato';
+tinyMCELang['lang_justifyleft_desc'] = 'Allinea a sinistra';
+tinyMCELang['lang_justifycenter_desc'] = 'Allinea centrato';
+tinyMCELang['lang_justifyright_desc'] = 'Allinea a destra';
+tinyMCELang['lang_justifyfull_desc'] = 'Giustifica';
+tinyMCELang['lang_bullist_desc'] = 'Lista non ordinata';
+tinyMCELang['lang_numlist_desc'] = 'Lista ordinata';
+tinyMCELang['lang_outdent_desc'] = 'Rientra';
+tinyMCELang['lang_indent_desc'] = 'Indenta';
+tinyMCELang['lang_undo_desc'] = 'Annulla';
+tinyMCELang['lang_redo_desc'] = 'Ripeti';
+tinyMCELang['lang_link_desc'] = 'Inserisci link';
+tinyMCELang['lang_unlink_desc'] = 'Elimina link';
+tinyMCELang['lang_image_desc'] = 'Inserisci immagine';
+tinyMCELang['lang_cleanup_desc'] = 'Pulisci il  codice';
+tinyMCELang['lang_focus_alert'] = 'Una istanza dell\' editor deve essere selezionata prima di usare questo comando.';
+tinyMCELang['lang_edit_confirm'] = 'Vuoi usare la modalit\u00E0 WYSIWYG per questa textarea?';
+tinyMCELang['lang_insert_link_title'] = 'Inserisci/modifica link';
+tinyMCELang['lang_insert'] = 'Inserisci';
+tinyMCELang['lang_update'] = 'Inserisci';
+tinyMCELang['lang_cancel'] = 'Cancella';
+tinyMCELang['lang_insert_link_url'] = 'Link URL';
+tinyMCELang['lang_insert_link_target'] = 'Target';
+tinyMCELang['lang_insert_link_target_same'] = 'Apri il link nella stessa finestra';
+tinyMCELang['lang_insert_link_target_blank'] = 'Apri il link in una nuova finestra';
+tinyMCELang['lang_insert_image_title'] = 'Inserisci/modifica immagine';
+tinyMCELang['lang_insert_image_src'] = 'URL immagine';
+tinyMCELang['lang_insert_image_alt'] = 'Descrizione dell\'immagine';
+tinyMCELang['lang_help_desc'] = 'Guida';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/jp.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/jp.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/jp.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// JP lang variables
+
+tinyMCELang['lang_bold_desc'] = '$BB@;z(B';
+tinyMCELang['lang_italic_desc'] = '$B<PBN(B';
+tinyMCELang['lang_underline_desc'] = '$B2<@~(B';
+tinyMCELang['lang_striketrough_desc'] = '$BKu>C@~(B';
+tinyMCELang['lang_justifyleft_desc'] = '$B:85M$a(B';
+tinyMCELang['lang_justifycenter_desc'] = '$BCf1{9g$o$;(B';
+tinyMCELang['lang_justifyright_desc'] = '$B1&5M$a(B';
+tinyMCELang['lang_justifyfull_desc'] = '$B9TB7$((B';
+tinyMCELang['lang_bullist_desc'] = '$B2U>r=q(B';
+tinyMCELang['lang_numlist_desc'] = '$BHV9fIU$-2U>r=q(B';
+tinyMCELang['lang_outdent_desc'] = '$B;z>e$2(B';
+tinyMCELang['lang_indent_desc'] = '$B;z2<$2(B';
+tinyMCELang['lang_undo_desc'] = '$B$d$j$J$*$7(B';
+tinyMCELang['lang_redo_desc'] = '$B:F<B9T(B';
+tinyMCELang['lang_link_desc'] = '$B%j%s%/$NA^F~(B/$BJT=8(B';
+tinyMCELang['lang_unlink_desc'] = '$B%j%s%/$N:o=|(B';
+tinyMCELang['lang_image_desc'] = '$B2hA|$NA^F~(B/$BJT=8(B';
+tinyMCELang['lang_cleanup_desc'] = '$B%3!<%I at 0M}(B';
+tinyMCELang['lang_focus_alert'] = '$B$3$N%3%^%s%I$r;H$&A0$K%(%G%#%?>e$N$I$3$+$rA*Br$9$kI,MW$,$"$j$^$9!#(B';
+tinyMCELang['lang_edit_confirm'] = 'WYSIWYG$B%b!<%I$G$3$N%F%-%9%H%(%j%"$rJT=8$7$^$9$+!)(B';
+tinyMCELang['lang_insert_link_title'] = '$B%j%s%/$NA^F~(B/$BJT=8(B';
+tinyMCELang['lang_insert'] = '$BA^F~(B';
+tinyMCELang['lang_update'] = '$BA^F~(B';
+tinyMCELang['lang_cancel'] = '$B<h$j>C$7(B';
+tinyMCELang['lang_insert_link_url'] = '$B%j%s%/@h(BURL';
+tinyMCELang['lang_insert_link_target'] = '$B%?!<%2%C%H(B';
+tinyMCELang['lang_insert_link_target_same'] = '$BF1$8Ak$G%j%s%/$r3+$/(B';
+tinyMCELang['lang_insert_link_target_blank'] = '$B?7$7$$Ak$G%j%s%/$r3+$/(B';
+tinyMCELang['lang_insert_image_title'] = '$B2hA|$NA^F~(B/$BJT=8(B';
+tinyMCELang['lang_insert_image_src'] = '$B2hA|$N(BURL';
+tinyMCELang['lang_insert_image_alt'] = '$B2hA|$N at bL@(B';
+tinyMCELang['lang_help_desc'] = '$B%X%k%W(B';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ko.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ko.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ko.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,37 @@
+// KO lang variables by Setzer Gabbiani
+
+tinyMCELang['lang_bold_desc'] = 'ÁøÇÏ°Ô';
+tinyMCELang['lang_italic_desc'] = '±â¿ïÀÓ';
+tinyMCELang['lang_underline_desc'] = '¹ØÁÙ';
+tinyMCELang['lang_striketrough_desc'] = '°¡·ÎÁÙ';
+tinyMCELang['lang_justifyleft_desc'] = '¿ÞÂÊ Á¤·Ä';
+tinyMCELang['lang_justifycenter_desc'] = '°¡¿îµ¥ Á¤·Ä';
+tinyMCELang['lang_justifyright_desc'] = '¿À¸¥ÂÊ Á¤·Ä';
+tinyMCELang['lang_justifyfull_desc'] = '¾çÂÊ Á¤·Ä';
+tinyMCELang['lang_bullist_desc'] = '¸ñÂ÷ ¸Å±â±â';
+tinyMCELang['lang_numlist_desc'] = '¹øÈ£ ¸Å±â±â';
+tinyMCELang['lang_outdent_desc'] = '³»¾î¾²±â';
+tinyMCELang['lang_indent_desc'] = 'µé¿©¾²±â';
+tinyMCELang['lang_undo_desc'] = '½ÇÇàÃë¼Ò';
+tinyMCELang['lang_redo_desc'] = 'Àç½ÇÇà';
+tinyMCELang['lang_link_desc'] = '¸µÅ© ³Ö±â/°íÄ¡±â';
+tinyMCELang['lang_unlink_desc'] = '¸µÅ© ÇØÁ¦';
+tinyMCELang['lang_image_desc'] = '±×¸² ³Ö±â/°íÄ¡±â';
+tinyMCELang['lang_cleanup_desc'] = 'Äڵ带 ±ò²ûÇÏ°Ô';
+tinyMCELang['lang_focus_alert'] = 'ÀÌ ¸í·ÉÀ» ½ÇÇàÇϱâ Àü¿¡ ¹Ýµå½Ã ¿¡µðÅÍ ³»ÀÇ ¾îµò°¡¿¡ Ä¿¼­°¡ ÀÖ¾î¾ß ÇÕ´Ï´Ù.';
+tinyMCELang['lang_edit_confirm'] = 'ÀÌ ÅؽºÆ® ¹Ú½º¿¡¼­ HTML ¿¡µðÅ͸¦ »ç¿ëÇÏ±æ ¿øÇϽʴϱî?';
+tinyMCELang['lang_insert_link_title'] = '¸µÅ© ³Ö±â/°íÄ¡±â';
+tinyMCELang['lang_insert'] = '»ðÀÔ';
+tinyMCELang['lang_update'] = '»ðÀÔ';
+tinyMCELang['lang_cancel'] = 'Ãë¼Ò';
+tinyMCELang['lang_insert_link_url'] = 'URL ¸µÅ©';
+tinyMCELang['lang_insert_link_target'] = 'Ÿ°Ù';
+tinyMCELang['lang_insert_link_target_same'] = '°°Àº â¿¡¼­ ¸µÅ© ¿­±â';
+tinyMCELang['lang_insert_link_target_blank'] = '»õ â¿¡¼­ ¸µÅ© ¿­±â';
+tinyMCELang['lang_insert_image_title'] = '±×¸² ³Ö±â/°íÄ¡±â';
+tinyMCELang['lang_insert_image_src'] = '±×¸² URL';
+tinyMCELang['lang_insert_image_alt'] = '±×¸² ¼³¸í';
+tinyMCELang['lang_help_desc'] = 'µµ¿ò¸»';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/nl.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/nl.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/nl.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// NL lang variables thanks to "Meint Post"
+
+tinyMCELang['lang_bold_desc'] = 'Vet';
+tinyMCELang['lang_italic_desc'] = 'Schuin';
+tinyMCELang['lang_underline_desc'] = 'Onderstrepen';
+tinyMCELang['lang_striketrough_desc'] = 'Doorhalen';
+tinyMCELang['lang_justifyleft_desc'] = 'Links uitlijnen';
+tinyMCELang['lang_justifycenter_desc'] = 'Centreren';
+tinyMCELang['lang_justifyright_desc'] = 'Rechts uitlijnen';
+tinyMCELang['lang_justifyfull_desc'] = 'Volledig uitlijnen';
+tinyMCELang['lang_bullist_desc'] = 'Ongeordende lijst';
+tinyMCELang['lang_numlist_desc'] = 'Geordende lijst';
+tinyMCELang['lang_outdent_desc'] = 'Uitspringen';
+tinyMCELang['lang_indent_desc'] = 'Inspringen';
+tinyMCELang['lang_undo_desc'] = 'Ongedaan maken';
+tinyMCELang['lang_redo_desc'] = 'Opnieuw uitvoeren';
+tinyMCELang['lang_link_desc'] = 'Link invoegen';
+tinyMCELang['lang_unlink_desc'] = 'Link verwijderen';
+tinyMCELang['lang_image_desc'] = 'Afbeelding invoegen';
+tinyMCELang['lang_cleanup_desc'] = 'Slordige code verbeteren';
+tinyMCELang['lang_focus_alert'] = 'Verplaats de focus naar de editor voor het uitvoeren van dit commado.';
+tinyMCELang['lang_edit_confirm'] = 'Wilt u de WYSIWYG mode voor deze textarea gebruiken?';
+tinyMCELang['lang_insert_link_title'] = 'Link invoegen/bewerken';
+tinyMCELang['lang_insert'] = 'Invoegen';
+tinyMCELang['lang_update'] = 'Bewerken';
+tinyMCELang['lang_cancel'] = 'Afbreken';
+tinyMCELang['lang_insert_link_url'] = 'URL link';
+tinyMCELang['lang_insert_link_target'] = 'Bestemming';
+tinyMCELang['lang_insert_link_target_same'] = 'Open link in hetzelfde venster';
+tinyMCELang['lang_insert_link_target_blank'] = 'Open link in een nieuw venster';
+tinyMCELang['lang_insert_image_title'] = 'Afbeelding invoegen/bewerken';
+tinyMCELang['lang_insert_image_src'] = 'Afbeelding';
+tinyMCELang['lang_insert_image_alt'] = 'Beschrijving';
+tinyMCELang['lang_help_desc'] = 'Help';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/no.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/no.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/no.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,37 @@
+// NO lang variables made by Sten Aksel Heien
+
+tinyMCELang['lang_bold_desc'] = 'Uthevet';
+tinyMCELang['lang_italic_desc'] = 'Kursiv';
+tinyMCELang['lang_underline_desc'] = 'Understreket';
+tinyMCELang['lang_striketrough_desc'] = 'Gjennomstreket';
+tinyMCELang['lang_justifyleft_desc'] = 'Vensterestille';
+tinyMCELang['lang_justifycenter_desc'] = 'Sentrere';
+tinyMCELang['lang_justifyright_desc'] = 'Høyerestille';
+tinyMCELang['lang_justifyfull_desc'] = 'Fyll';
+tinyMCELang['lang_bullist_desc'] = 'Punktliste';
+tinyMCELang['lang_numlist_desc'] = 'Nummerliste';
+tinyMCELang['lang_outdent_desc'] = 'Undrag';
+tinyMCELang['lang_indent_desc'] = 'Indrag';
+tinyMCELang['lang_undo_desc'] = 'Angre';
+tinyMCELang['lang_redo_desc'] = 'Gjør om';
+tinyMCELang['lang_link_desc'] = 'Opprett/endre lenke';
+tinyMCELang['lang_unlink_desc'] = 'Fjern lenke';
+tinyMCELang['lang_image_desc'] = 'Sett inn/endre bilde';
+tinyMCELang['lang_cleanup_desc'] = 'Rens grisete kode';
+tinyMCELang['lang_focus_alert'] = 'Editoren må være i fokus før du benytter denne kommando.';
+tinyMCELang['lang_edit_confirm'] = 'Vil du benytte WYSIWYG editoren for dette tekstfelt?';
+tinyMCELang['lang_insert_link_title'] = 'Opprett/endre lenke';
+tinyMCELang['lang_insert'] = 'Opprett';
+tinyMCELang['lang_update'] = 'Opprett';
+tinyMCELang['lang_cancel'] = 'Avbryt';
+tinyMCELang['lang_insert_link_url'] = 'Lenkens URL';
+tinyMCELang['lang_insert_link_target'] = 'Vindu';
+tinyMCELang['lang_insert_link_target_same'] = 'Åpne i samme vindu';
+tinyMCELang['lang_insert_link_target_blank'] = 'Åpne i nytt vindu';
+tinyMCELang['lang_insert_image_title'] = 'Opprett/endre bilde';
+tinyMCELang['lang_insert_image_src'] = 'Bildets URL';
+tinyMCELang['lang_insert_image_alt'] = 'Bildets beskrivelse';
+tinyMCELang['lang_help_desc'] = 'Hjelp';
+tinyMCELang['lang_bold_img'] = 'bold_de_se.gif';
+tinyMCELang['lang_italic_img'] = 'italic_de_se.gif';
+tinyMCELang['lang_underline_img'] = 'underline.gif';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/pl.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/pl.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/pl.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// PL lang variables
+
+tinyMCELang['lang_bold_desc'] = 'Pogrubienie';
+tinyMCELang['lang_italic_desc'] = 'Pochylenie';
+tinyMCELang['lang_underline_desc'] = 'Podkre¶lenie';
+tinyMCELang['lang_striketrough_desc'] = 'Przekre¶lenie';
+tinyMCELang['lang_justifyleft_desc'] = 'Wyrównaj do lewej';
+tinyMCELang['lang_justifycenter_desc'] = 'Wy¶rodkowanie';
+tinyMCELang['lang_justifyright_desc'] = 'Wyrównaj do prawej';
+tinyMCELang['lang_justifyfull_desc'] = 'Wyjustowanie';
+tinyMCELang['lang_bullist_desc'] = 'Lista nieuporz±dkowana';
+tinyMCELang['lang_numlist_desc'] = 'Lista uporz±dkowana';
+tinyMCELang['lang_outdent_desc'] = 'Wysuniêcie';
+tinyMCELang['lang_indent_desc'] = 'Wciêcie';
+tinyMCELang['lang_undo_desc'] = 'Cofnij';
+tinyMCELang['lang_redo_desc'] = 'Ponów';
+tinyMCELang['lang_link_desc'] = 'Wstaw ³±cze';
+tinyMCELang['lang_unlink_desc'] = 'Usuñ ³±cze';
+tinyMCELang['lang_image_desc'] = 'Wstaw obrazek';
+tinyMCELang['lang_cleanup_desc'] = 'Oczy¶æ kod';
+tinyMCELang['lang_focus_alert'] = 'Pole edytora musi byæ aktywne zanim ta funkcja zostanie u¿yta.';
+tinyMCELang['lang_edit_confirm'] = 'Czy chcesz u¿yæ trybu WYSIWYG dla tego pola tekstowego ?';
+tinyMCELang['lang_insert_link_title'] = 'Wstaw/edtytuj ³±cze';
+tinyMCELang['lang_insert'] = 'Wstaw';
+tinyMCELang['lang_update'] = 'Wstaw';
+tinyMCELang['lang_cancel'] = 'Anuluj';
+tinyMCELang['lang_insert_link_url'] = 'Adres URL';
+tinyMCELang['lang_insert_link_target'] = 'Cel';
+tinyMCELang['lang_insert_link_target_same'] = 'Otwórze ³±cze w tym samym oknie';
+tinyMCELang['lang_insert_link_target_blank'] = 'Otwórz ³±cze w nowym oknie';
+tinyMCELang['lang_insert_image_title'] = 'Wstaw/Edytuj zdjêcie';
+tinyMCELang['lang_insert_image_src'] = 'Adres zdjêcia';
+tinyMCELang['lang_insert_image_alt'] = 'Opis zdjêcia';
+tinyMCELang['lang_help_desc'] = 'Pomoc';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,9 @@
+Beginning with version 2.0.5 the language packs are no
+longer included with the core distribution.
+Language packs can be downloaded from the TinyMCE website:
+http://tinymce.moxiecode.com/download.php
+
+The language pack codes are based on ISO-639-1:
+http://www.loc.gov/standards/iso639-2/englangn.html
+
+Plrease try using entities if possible. Like &aring; etc for non a-z characters.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ru.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ru.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/ru.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+// Russian translation by Roman Filippov
+// romanf at terrahost.ca
+// www.hunox.ca
+
+tinyMCELang['lang_bold_desc'] = 'Ïîëóæèðíûé';
+tinyMCELang['lang_italic_desc'] = 'Êóðñèâ';
+tinyMCELang['lang_underline_desc'] = 'Ïîä÷åðêèâàíèå';
+tinyMCELang['lang_striketrough_desc'] = 'Ïåðå÷åðêèâàíèå';
+tinyMCELang['lang_justifyleft_desc'] = 'Âûðâíèâàíèå âëåâî';
+tinyMCELang['lang_justifycenter_desc'] = 'Âûðâíèâàíèå ïî öåíòðó';
+tinyMCELang['lang_justifyright_desc'] = 'Âûðâíèâàíèå âïðàâî';
+tinyMCELang['lang_justifyfull_desc'] = 'Âûðâíèâàíèå ðàâíîìåðíî';
+tinyMCELang['lang_bullist_desc'] = 'Ìàðêèðîâàííûé ñïèñîê';
+tinyMCELang['lang_numlist_desc'] = 'Íóìåðîâàííûé ñïèñîê';
+tinyMCELang['lang_outdent_desc'] = 'Óìåíüøèòü îòñòóï';
+tinyMCELang['lang_indent_desc'] = 'Óâåëè÷èòü îòñïóò';
+tinyMCELang['lang_undo_desc'] = 'Îòìåíèòü';
+tinyMCELang['lang_redo_desc'] = 'Âåðíóòü';
+tinyMCELang['lang_link_desc'] = 'Âñòàâèòü/èçìåíèòü ññûëêó';
+tinyMCELang['lang_unlink_desc'] = 'Óáðàòü ññûëêó';
+tinyMCELang['lang_image_desc'] = 'Âñòàâèòü/èçìåíèòü èçîáðàæåíèå';
+tinyMCELang['lang_cleanup_desc'] = 'Âû÷èñòèòü ãðÿçíûé êîä';
+tinyMCELang['lang_focus_alert'] = 'Âû äîëæíû íàõîäèòñÿ â ïîëå ðåäàêòîðà ïåðåä èñïîëüçîâàíèåì äàííîé êîìàíäû.';
+tinyMCELang['lang_edit_confirm'] = 'Õîòèòå ëè Âû âîñïîëüçîâàòüñÿ WYSIWYG ðåäàêòîðîì äëÿ ýòîãî ïîëÿ ââîäà?';
+tinyMCELang['lang_insert_link_title'] = 'Âñòàâèòü/èçìåíèòü ññûëêó';
+tinyMCELang['lang_insert'] = 'Âñòàâèòü';
+tinyMCELang['lang_update'] = 'Âñòàâèòü';
+tinyMCELang['lang_cancel'] = 'Îòìåíèòü';
+tinyMCELang['lang_insert_link_url'] = 'Àäðåñ';
+tinyMCELang['lang_insert_link_target'] = 'Îòêðûòü â...:';
+tinyMCELang['lang_insert_link_target_same'] = 'òîì æå îêíå';
+tinyMCELang['lang_insert_link_target_blank'] = 'íîâîì îêíå';
+tinyMCELang['lang_insert_image_title'] = 'Âñòàâèòü/èçìåíèòü èçîáðàæåíèå';
+tinyMCELang['lang_insert_image_src'] = 'Àäðåñ';
+tinyMCELang['lang_insert_image_alt'] = 'Îïèñàíèå';
+tinyMCELang['lang_help_desc'] = 'Ïîìîùü';
+tinyMCELang['lang_bold_img'] = "bold_ru.gif";
+tinyMCELang['lang_italic_img'] = "italic_ru.gif";
+tinyMCELang['lang_underline_img'] = "underline_ru.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/se.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/se.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/se.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+// SE lang variables
+
+tinyMCELang['lang_bold_desc'] = 'Fetstil';
+tinyMCELang['lang_italic_desc'] = 'Kursivstil';
+tinyMCELang['lang_underline_desc'] = 'Understruken';
+tinyMCELang['lang_striketrough_desc'] = 'Genomstruken';
+tinyMCELang['lang_justifyleft_desc'] = 'V&#228;nsterst&#228;ll';
+tinyMCELang['lang_justifycenter_desc'] = 'Centrera';
+tinyMCELang['lang_justifyright_desc'] = 'H&#246;gerst&#228;ll';
+tinyMCELang['lang_justifyfull_desc'] = 'Fyll';
+tinyMCELang['lang_bullist_desc'] = 'Punktlista';
+tinyMCELang['lang_numlist_desc'] = 'Nummerlista';
+tinyMCELang['lang_outdent_desc'] = 'Utdrag';
+tinyMCELang['lang_indent_desc'] = 'Indrag';
+tinyMCELang['lang_undo_desc'] = '&#197;ngra';
+tinyMCELang['lang_redo_desc'] = 'G&#246;r om';
+tinyMCELang['lang_link_desc'] = 'Skapa l&#228;nk';
+tinyMCELang['lang_unlink_desc'] = 'Tabort l&#228;nk';
+tinyMCELang['lang_image_desc'] = 'Skapa/redigera bild';
+tinyMCELang['lang_cleanup_desc'] = 'Rensa skr&#228;p k&#229;d';
+tinyMCELang['lang_focus_alert'] = 'Flytta mark\u00F6ren till en text yta innan du anv\u00E4nder detta kommando.';
+tinyMCELang['lang_edit_confirm'] = 'Vill du andv&#228;nda WYSIWYG editorn f&#246;r detta textf&#228;lt?';
+tinyMCELang['lang_insert_link_title'] = 'Skapa/redigera l&#228;nk';
+tinyMCELang['lang_insert'] = 'Skapa';
+tinyMCELang['lang_update'] = 'Uppdatera';
+tinyMCELang['lang_cancel'] = 'Avbryt';
+tinyMCELang['lang_insert_link_url'] = 'L&#228;nkens URL';
+tinyMCELang['lang_insert_link_target'] = 'F&#246;nster';
+tinyMCELang['lang_insert_link_target_same'] = '&#214;ppna l&#228;nken i samma f&#246;nster';
+tinyMCELang['lang_insert_link_target_blank'] = '&#214;ppna l&#228;nken i ett nytt f&#246;nster';
+tinyMCELang['lang_insert_link_delta_width'] = 20;
+tinyMCELang['lang_insert_link_delta_height'] = 10;
+tinyMCELang['lang_insert_image_title'] = 'Skapa/redigera bild';
+tinyMCELang['lang_insert_image_src'] = 'Bildens URL';
+tinyMCELang['lang_insert_image_alt'] = 'Bildens beskrivning';
+tinyMCELang['lang_insert_image_alt'] = 'Bildens beskrivning';
+tinyMCELang['lang_bold_img'] = 'bold_de_se.gif';
+tinyMCELang['lang_italic_img'] = 'italic_de_se.gif';
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Klipput/Kopiera/Klistra fungerar inte Mozilla och Firefox. Vill du veta mer om detta?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/uk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/uk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/langs/uk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+// UK lang variables
+
+tinyMCELang['lang_bold_desc'] = 'Bold';
+tinyMCELang['lang_italic_desc'] = 'Italic';
+tinyMCELang['lang_underline_desc'] = 'Underline';
+tinyMCELang['lang_striketrough_desc'] = 'Striketrough';
+tinyMCELang['lang_justifyleft_desc'] = 'Align left';
+tinyMCELang['lang_justifycenter_desc'] = 'Align center';
+tinyMCELang['lang_justifyright_desc'] = 'Align right';
+tinyMCELang['lang_justifyfull_desc'] = 'Align full';
+tinyMCELang['lang_bullist_desc'] = 'Unordered list';
+tinyMCELang['lang_numlist_desc'] = 'Ordered list';
+tinyMCELang['lang_outdent_desc'] = 'Outdent';
+tinyMCELang['lang_indent_desc'] = 'Indent';
+tinyMCELang['lang_undo_desc'] = 'Undo';
+tinyMCELang['lang_redo_desc'] = 'Redo';
+tinyMCELang['lang_link_desc'] = 'Insert/edit link';
+tinyMCELang['lang_unlink_desc'] = 'Unlink';
+tinyMCELang['lang_image_desc'] = 'Insert/edit image';
+tinyMCELang['lang_cleanup_desc'] = 'Cleanup messy code';
+tinyMCELang['lang_focus_alert'] = 'A editor instance must be focused before using this command.';
+tinyMCELang['lang_edit_confirm'] = 'Do you want to use the WYSIWYG mode for this textarea?';
+tinyMCELang['lang_insert_link_title'] = 'Insert/edit link';
+tinyMCELang['lang_insert'] = 'Insert';
+tinyMCELang['lang_update'] = 'Update';
+tinyMCELang['lang_cancel'] = 'Cancel';
+tinyMCELang['lang_insert_link_url'] = 'Link URL';
+tinyMCELang['lang_insert_link_target'] = 'Target';
+tinyMCELang['lang_insert_link_target_same'] = 'Open link in the same window';
+tinyMCELang['lang_insert_link_target_blank'] = 'Open link in a new window';
+tinyMCELang['lang_insert_image_title'] = 'Insert/edit image';
+tinyMCELang['lang_insert_image_src'] = 'Image URL';
+tinyMCELang['lang_insert_image_alt'] = 'Image description';
+tinyMCELang['lang_help_desc'] = 'Help';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/css/advhr.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/css/advhr.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/css/advhr.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,23 @@
+input.radio {
+	border: 1px none #000000;
+	background-color: transparent;
+	vertical-align: middle;
+}
+
+.panel_wrapper div.current {
+	height: 80px;
+}
+
+#width {
+	width: 50px;
+	vertical-align: middle;
+}
+
+#width2 {
+	width: 50px;
+	vertical-align: middle;
+}
+
+#size {
+	width: 100px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('advhr');var TinyMCE_AdvancedHRPlugin={getInfo:function(){return{longname:'Advanced HR',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_advhr.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"advhr":return tinyMCE.getButtonHTML(cn,'lang_insert_advhr_desc','{$pluginurl}/images/advhr.gif','mceAdvancedHr')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceAdvancedHr":var template=new Array();template['file']='../../plugins/advhr/rule.htm';template['width']=250;template['height']=160;template['width']+=tinyMCE.getLang('lang_advhr_delta_width',0);template['height']+=tinyMCE.getLang('lang_advhr_delta_height',0);var size="",width="",noshade="";if(tinyMCE.selectedElement!=null&&tinyMCE.selectedElement.nodeName.toLowerCase()=="hr"){tinyMCE.hrElement=tinyMCE.select!
 edElement;if(tinyMCE.hrElement){size=tinyMCE.hrElement.getAttribute('size')?tinyMCE.hrElement.getAttribute('size'):"";width=tinyMCE.hrElement.getAttribute('width')?tinyMCE.hrElement.getAttribute('width'):"";noshade=tinyMCE.hrElement.getAttribute('noshade')?tinyMCE.hrElement.getAttribute('noshade'):""}tinyMCE.openWindow(template,{editor_id:editor_id,size:size,width:width,noshade:noshade,mceDo:'update'})}else{if(tinyMCE.isMSIE){tinyMCE.execInstanceCommand(editor_id,'mceInsertContent',false,'<hr />')}else{tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes",size:size,width:width,noshade:noshade,mceDo:'insert'})}}return true}return false},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node==null)return;do{if(node.nodeName=="HR"){tinyMCE.switchClass(editor_id+'_advhr','mceButtonSelected');return true}}while((node=node.parentNode));tinyMCE.switchClass(editor_id+'_advhr','mceButtonNormal');return true}};tinyMCE.addPlugin("advh!
 r",TinyMCE_AdvancedHRPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,90 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('advhr');
+
+var TinyMCE_AdvancedHRPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Advanced HR',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_advhr.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		}
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "advhr":
+				return tinyMCE.getButtonHTML(cn, 'lang_insert_advhr_desc', '{$pluginurl}/images/advhr.gif', 'mceAdvancedHr');
+		}
+
+		return "";
+	},
+
+	/**
+	 * Executes the mceAdvanceHr command.
+	 */
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceAdvancedHr":
+				var template = new Array();
+
+				template['file']   = '../../plugins/advhr/rule.htm'; // Relative to theme
+				template['width']  = 250;
+				template['height'] = 160;
+
+				template['width']  += tinyMCE.getLang('lang_advhr_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_advhr_delta_height', 0);
+
+				var size = "", width = "", noshade = "";
+				if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "hr") {
+					tinyMCE.hrElement = tinyMCE.selectedElement;
+
+					if (tinyMCE.hrElement) {
+						size    = tinyMCE.hrElement.getAttribute('size') ? tinyMCE.hrElement.getAttribute('size') : "";
+						width   = tinyMCE.hrElement.getAttribute('width') ? tinyMCE.hrElement.getAttribute('width') : "";
+						noshade = tinyMCE.hrElement.getAttribute('noshade') ? tinyMCE.hrElement.getAttribute('noshade') : "";
+					}
+
+					tinyMCE.openWindow(template, {editor_id : editor_id, size : size, width : width, noshade : noshade, mceDo : 'update'});
+				} else {
+					if (tinyMCE.isMSIE) {
+						tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false,'<hr />');
+					} else {
+						tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes", size : size, width : width, noshade : noshade, mceDo : 'insert'});
+					}
+				}
+
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		if (node == null)
+			return;
+
+		do {
+			if (node.nodeName == "HR") {
+				tinyMCE.switchClass(editor_id + '_advhr', 'mceButtonSelected');
+				return true;
+			}
+		} while ((node = node.parentNode));
+
+		tinyMCE.switchClass(editor_id + '_advhr', 'mceButtonNormal');
+
+		return true;
+	}
+};
+
+tinyMCE.addPlugin("advhr", TinyMCE_AdvancedHRPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/images/advhr.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/images/advhr.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/jscripts/rule.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/jscripts/rule.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/jscripts/rule.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,43 @@
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	var formObj = document.forms[0];
+	formObj.width.value  = tinyMCE.getWindowArg('width');
+	formObj.size.value   = tinyMCE.getWindowArg('size');
+	formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('mceDo'),'Insert',true);
+	if (tinyMCE.getWindowArg('noshade')) {
+		formObj.noshade.checked = true;
+	}
+	if (tinyMCE.getWindowArg('width').lastIndexOf('%')!=-1) {
+		formObj.width2.value = "%";
+		formObj.width.value  = formObj.width.value.substring(0,formObj.width.value.length-1);
+	}
+}
+
+function insertHR() {
+	var formObj = document.forms[0];
+	var width   = formObj.width.value;
+	var size    = formObj.size.value;
+	var html = '<hr';
+	if (size!='' && size!=0) {
+		html += ' size="' + size + '"';
+	}
+	if (width!='' && width!=0) {
+		html += ' width="' + width;
+		if (formObj.width2.value=='%') {
+			html += '%';
+		}
+		html += '"';
+	}
+	if (formObj.noshade.checked==true) {
+		html += ' noshade="noshade"';
+	}
+	html += ' />';
+
+	tinyMCEPopup.execCommand("mceInsertContent", true, html);
+	tinyMCEPopup.close();
+}
+
+function cancelAction() {
+	tinyMCEPopup.close();
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/de.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/de.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/de.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+// DE lang variables
+
+tinyMCELang['lang_insert_advhr_desc']    = 'Horizontale Linie einf&uuml;gen / bearbeiten'
+tinyMCELang['lang_insert_advhr_width']   = 'Breite';
+tinyMCELang['lang_insert_advhr_size']    = 'H&ouml;he';
+tinyMCELang['lang_insert_advhr_noshade'] = 'Keinen Schatten';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,8 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+insert_advhr_desc : 'Horizontale rule',
+insert_advhr_width : 'Width',
+insert_advhr_size : 'Height',
+insert_advhr_noshade : 'No shadow'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/se.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/se.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/se.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+// SE lang variables
+
+tinyMCELang['lang_insert_advhr_desc']    = 'Skapa / uppdatera Horizontell linie'
+tinyMCELang['lang_insert_advhr_width']   = 'Bredd';
+tinyMCELang['lang_insert_advhr_size']    = 'Höjd';
+tinyMCELang['lang_insert_advhr_noshade'] = 'Ingen skugga';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/uk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/uk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/langs/uk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_advhr_desc']    = 'Insert / edit Horizontale Rule'
+tinyMCELang['lang_insert_advhr_width']   = 'Width';
+tinyMCELang['lang_insert_advhr_size']    = 'Height';
+tinyMCELang['lang_insert_advhr_noshade'] = 'No shadow';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/rule.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/rule.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advhr/rule.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,61 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_insert_advhr_desc}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/rule.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<link href="css/advhr.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');">
+<form onsubmit="insertHR();return false;" action="#">
+	<div class="tabs">
+		<ul>
+			<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_insert_advhr_desc}</a></span></li>
+		</ul>
+	</div>
+
+	<div class="panel_wrapper">
+		<div id="general_panel" class="panel current">
+			<table border="0" cellpadding="4" cellspacing="0">
+                    <tr>
+                        <td><label for="width">{$lang_insert_advhr_width}</label></td>
+                        <td nowrap="nowrap">
+                            <input id="width" name="width" type="text" value="" />
+                            <select name="width2" id="width2">
+                                <option value="">px</option>
+                                <option value="%">%</option>
+                            </select>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td><label for="size">{$lang_insert_advhr_size}</label></td>
+                        <td><select id="size" name="size">
+                            <option value="">Normal</option>
+                            <option value="1">1</option>
+                            <option value="2">2</option>
+                            <option value="3">3</option>
+                            <option value="4">4</option>
+                            <option value="5">5</option>
+                        </select></td>
+                    </tr>
+                    <tr>
+                        <td><label for="noshade">{$lang_insert_advhr_noshade}</label></td>
+                        <td><input type="checkbox" name="noshade" id="noshade" class="radio" /></td>
+                    </tr>
+            </table>
+		</div>
+	</div>
+
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertHR();" />
+		</div>
+
+		<div style="float: right">
+			<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/css/advimage.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/css/advimage.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/css/advimage.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,66 @@
+/* CSS file for advimage plugin popup */
+
+.mceImageList {
+	width: 280px;
+}
+
+.mceActionPanel {
+	margin-top: 7px;
+}
+
+.alignPreview {
+	border: 1px solid black;
+	width: 140px;
+	height: 140px;
+	overflow: hidden;
+	padding: 5px;
+}
+
+.checkbox {
+	border: 0;
+}
+
+.panel_wrapper div.current {
+	height: 305px;
+}
+
+#prev {
+	margin: 0;
+	border: 1px
+	solid black;
+	width: 99%;
+	height: 150px;
+	overflow: auto;
+}
+
+#align, #classlist {
+	width: 150px;
+}
+
+#width, #height {
+	vertical-align: middle;
+	width: 50px;
+	text-align: center;
+}
+
+#vspace, #hspace, #border {
+	vertical-align: middle;
+	width: 30px;
+	text-align: center;
+}
+
+#classlist {
+	width: 180px;
+}
+
+input {
+	width: 280px;
+}
+
+#constrain, #onmousemovecheck {
+	width: auto;
+}
+
+#id, #dir, #lang, #usemap, #longdesc {
+	width: 200px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('advimage');var TinyMCE_AdvancedImagePlugin={getInfo:function(){return{longname:'Advanced image',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_advimage.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"image":return tinyMCE.getButtonHTML(cn,'lang_image_desc','{$themeurl}/images/image.gif','mceAdvImage')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceAdvImage":var template=new Array();template['file']='../../plugins/advimage/image.htm';template['width']=480;template['height']=380;template['width']+=tinyMCE.getLang('lang_advimage_delta_width',0);template['height']+=tinyMCE.getLang('lang_advimage_delta_height',0);var inst=tinyMCE.getInstanceById(editor_id);var elm=inst.getFocusElement();if(elm!=null&&tinyMCE.getAttrib(elm,'class').indexOf('mceItem')!=-1!
 )return true;tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true}return false},cleanup:function(type,content){switch(type){case"insert_to_editor_dom":var imgs=content.getElementsByTagName("img"),src,i;for(i=0;i<imgs.length;i++){var onmouseover=tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i],'onmouseover'));var onmouseout=tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i],'onmouseout'));if((src=this._getImageSrc(onmouseover))!=""){if(tinyMCE.getParam('convert_urls'))src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],src);imgs[i].setAttribute('onmouseover',"this.src='"+src+"';")}if((src=this._getImageSrc(onmouseout))!=""){if(tinyMCE.getParam('convert_urls'))src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],src);imgs[i].setAttribute('onmouseout',"this.src='"+src+"';")}}break;case"get_from_editor_dom":var imgs=content.getElementsByTagName("img");for(var i=0;i<imgs.length;i++){var onmouseover=tinyMCE.cleanupEventS!
 tr(tinyMCE.getAttrib(imgs[i],'onmouseover'));var onmouseout=tinyMCE.cl
eanupEventStr(tinyMCE.getAttrib(imgs[i],'onmouseout'));if((src=this._getImageSrc(onmouseover))!=""){if(tinyMCE.getParam('convert_urls'))src=eval(tinyMCE.settings['urlconverter_callback']+"(src, null, true);");imgs[i].setAttribute('onmouseover',"this.src='"+src+"';")}if((src=this._getImageSrc(onmouseout))!=""){if(tinyMCE.getParam('convert_urls'))src=eval(tinyMCE.settings['urlconverter_callback']+"(src, null, true);");imgs[i].setAttribute('onmouseout',"this.src='"+src+"';")}}break}return content},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node==null)return;do{if(node.nodeName=="IMG"&&tinyMCE.getAttrib(node,'class').indexOf('mceItem')==-1){tinyMCE.switchClass(editor_id+'_advimage','mceButtonSelected');return true}}while((node=node.parentNode));tinyMCE.switchClass(editor_id+'_advimage','mceButtonNormal');return true},_getImageSrc:function(s){var sr,p=-1;if(!s)return"";if((p=s.indexOf('this.src='))!=-1){sr=s.substring(p+10);sr=sr.!
 substring(0,sr.indexOf('\''));return sr}return""}};tinyMCE.addPlugin("advimage",TinyMCE_AdvancedImagePlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,148 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('advimage');
+
+var TinyMCE_AdvancedImagePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Advanced image',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_advimage.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "image":
+				return tinyMCE.getButtonHTML(cn, 'lang_image_desc', '{$themeurl}/images/image.gif', 'mceAdvImage');
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		switch (command) {
+			case "mceAdvImage":
+				var template = new Array();
+
+				template['file']   = '../../plugins/advimage/image.htm';
+				template['width']  = 480;
+				template['height'] = 380;
+
+				// Language specific width and height addons
+				template['width']  += tinyMCE.getLang('lang_advimage_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_advimage_delta_height', 0);
+
+				var inst = tinyMCE.getInstanceById(editor_id);
+				var elm = inst.getFocusElement();
+
+				if (elm != null && tinyMCE.getAttrib(elm, 'class').indexOf('mceItem') != -1)
+					return true;
+
+				tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"});
+
+				return true;
+		}
+
+		return false;
+	},
+
+	cleanup : function(type, content) {
+		switch (type) {
+			case "insert_to_editor_dom":
+				var imgs = content.getElementsByTagName("img"), src, i;
+				for (i=0; i<imgs.length; i++) {
+					var onmouseover = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseover'));
+					var onmouseout = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseout'));
+
+					if ((src = this._getImageSrc(onmouseover)) != "") {
+						if (tinyMCE.getParam('convert_urls'))
+							src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src);
+
+						imgs[i].setAttribute('onmouseover', "this.src='" + src + "';");
+					}
+
+					if ((src = this._getImageSrc(onmouseout)) != "") {
+						if (tinyMCE.getParam('convert_urls'))
+							src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src);
+
+						imgs[i].setAttribute('onmouseout', "this.src='" + src + "';");
+					}
+				}
+				break;
+
+			case "get_from_editor_dom":
+				var imgs = content.getElementsByTagName("img");
+				for (var i=0; i<imgs.length; i++) {
+					var onmouseover = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseover'));
+					var onmouseout = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseout'));
+
+					if ((src = this._getImageSrc(onmouseover)) != "") {
+						if (tinyMCE.getParam('convert_urls'))
+							src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, null, true);");
+
+						imgs[i].setAttribute('onmouseover', "this.src='" + src + "';");
+					}
+
+					if ((src = this._getImageSrc(onmouseout)) != "") {
+						if (tinyMCE.getParam('convert_urls'))
+							src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, null, true);");
+
+						imgs[i].setAttribute('onmouseout', "this.src='" + src + "';");
+					}
+				}
+				break;
+		}
+
+		return content;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		if (node == null)
+			return;
+
+		do {
+			if (node.nodeName == "IMG" && tinyMCE.getAttrib(node, 'class').indexOf('mceItem') == -1) {
+				tinyMCE.switchClass(editor_id + '_advimage', 'mceButtonSelected');
+				return true;
+			}
+		} while ((node = node.parentNode));
+
+		tinyMCE.switchClass(editor_id + '_advimage', 'mceButtonNormal');
+
+		return true;
+	},
+
+	/**
+	 * Returns the image src from a scripted mouse over image str.
+	 *
+	 * @param {string} s String to get real src from.
+	 * @return Image src from a scripted mouse over image str.
+	 * @type string
+	 */
+	_getImageSrc : function(s) {
+		var sr, p = -1;
+
+		if (!s)
+			return "";
+
+		if ((p = s.indexOf('this.src=')) != -1) {
+			sr = s.substring(p + 10);
+			sr = sr.substring(0, sr.indexOf('\''));
+
+			return sr;
+		}
+
+		return "";
+	}
+};
+
+tinyMCE.addPlugin("advimage", TinyMCE_AdvancedImagePlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/image.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/image.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/image.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,241 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_insert_image_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/functions.js"></script>
+	<link href="css/advimage.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body id="advimage" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+    <form onsubmit="insertAction();return false;" action="#"> 
+		<div class="tabs">
+			<ul>
+				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_advimage_tab_general}</a></span></li>
+				<li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{$lang_advimage_tab_appearance}</a></span></li>
+				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_advimage_tab_advanced}</a></span></li>
+			</ul>
+		</div>
+
+		<div class="panel_wrapper">
+			<div id="general_panel" class="panel current">
+				<fieldset>
+						<legend>{$lang_advimage_general}</legend>
+
+						<table class="properties">
+							<tr>
+								<td class="column1"><label id="srclabel" for="src">{$lang_insert_image_src}</label></td>
+								<td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
+									<tr> 
+									  <td><input name="src" type="text" id="src" value="" onchange="showPreviewImage(this.value);" /></td> 
+									  <td id="srcbrowsercontainer">&nbsp;</td>
+									</tr>
+								  </table></td>
+							</tr>
+							<tr id="imagelistsrcrow">
+								<td class="column1"><label for="imagelistsrc">{$lang_image_list}</label></td>
+								<td colspan="2" id="imagelistsrccontainer">&nbsp;</td>
+							</tr>
+							<tr> 
+								<td class="column1"><label id="altlabel" for="alt">{$lang_insert_image_alt}</label></td> 
+								<td colspan="2"><input id="alt" name="alt" type="text" value="" /></td> 
+							</tr> 
+							<tr> 
+								<td class="column1"><label id="titlelabel" for="title">{$lang_advimage_title}</label></td> 
+								<td colspan="2"><input id="title" name="title" type="text" value="" /></td> 
+							</tr>
+						</table>
+				</fieldset>
+
+				<fieldset>
+					<legend>{$lang_advimage_preview}</legend>
+					<div id="prev"></div>
+				</fieldset>
+			</div>
+
+			<div id="appearance_panel" class="panel">
+				<fieldset>
+					<legend>{$lang_advimage_tab_appearance}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr> 
+							<td class="column1"><label id="alignlabel" for="align">{$lang_insert_image_align}</label></td> 
+							<td><select id="align" name="align" onchange="changeAppearance();"> 
+									<option value="">{$lang_insert_image_align_default}</option> 
+									<option value="baseline">{$lang_insert_image_align_baseline}</option> 
+									<option value="top">{$lang_insert_image_align_top}</option> 
+									<option value="middle">{$lang_insert_image_align_middle}</option> 
+									<option value="bottom">{$lang_insert_image_align_bottom}</option> 
+									<option value="texttop">{$lang_insert_image_align_texttop}</option> 
+									<option value="absmiddle">{$lang_insert_image_align_absmiddle}</option> 
+									<option value="absbottom">{$lang_insert_image_align_absbottom}</option> 
+									<option value="left">{$lang_insert_image_align_left}</option> 
+									<option value="right">{$lang_insert_image_align_right}</option> 
+								</select> 
+							</td>
+							<td rowspan="6" valign="top">
+								<div class="alignPreview">
+									<img id="alignSampleImg" src="images/sample.gif" alt="{$lang_advimage_example_img}" />
+									Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam
+									nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum
+									edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam
+									erat volutpat.
+								</div>
+							</td>
+						</tr>
+
+						<tr>
+							<td class="column1"><label id="widthlabel" for="width">{$lang_insert_image_dimensions}</label></td>
+							<td nowrap="nowrap">
+								<input name="width" type="text" id="width" value="" size="5" maxlength="5" class="size" onchange="changeHeight();" /> x 
+								<input name="height" type="text" id="height" value="" size="5" maxlength="5" class="size" onchange="changeWidth();" /> px
+							</td>
+						</tr>
+
+						<tr>
+							<td>&nbsp;</td>
+							<td><table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
+										<td><label id="constrainlabel" for="constrain">{$lang_advimage_constrain_proportions}</label></td>
+									</tr>
+								</table></td>
+						</tr>
+
+						<tr>
+							<td class="column1"><label id="vspacelabel" for="vspace">{$lang_insert_image_vspace}</label></td> 
+							<td><input name="vspace" type="text" id="vspace" value="" size="3" maxlength="3" class="number" onchange="changeAppearance();updateStyle();" />
+							</td>
+						</tr>
+
+						<tr> 
+							<td class="column1"><label id="hspacelabel" for="hspace">{$lang_insert_image_hspace}</label></td> 
+							<td><input name="hspace" type="text" id="hspace" value="" size="3" maxlength="3" class="number" onchange="changeAppearance();updateStyle();" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label id="borderlabel" for="border">{$lang_insert_image_border}</label></td> 
+							<td><input id="border" name="border" type="text" value="" size="3" maxlength="3" class="number" onchange="changeAppearance();updateStyle();" /></td> 
+						</tr>
+
+						<tr>
+							<td><label id="classlabel" for="classlist">{$lang_class_name}</label></td>
+							<td colspan="2">
+								 <select id="classlist" name="classlist">
+									<option value="" selected>{$lang_not_set}</option>
+								 </select>
+							</td>
+						</tr>
+
+						<tr>
+							<td class="column1"><label id="stylelabel" for="style">{$lang_advimage_style}</label></td> 
+							<td colspan="2"><input id="style" name="style" type="text" value="" onchange="styleUpdated();" /></td> 
+						</tr>
+
+						<!-- <tr>
+							<td class="column1"><label id="classeslabel" for="classes">{$lang_advimage_classes}</label></td> 
+							<td colspan="2"><input id="classes" name="classes" type="text" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td> 
+						</tr> -->
+					</table>
+				</fieldset>
+			</div>
+
+			<div id="advanced_panel" class="panel">
+				<fieldset>
+					<legend>{$lang_advimage_swap_image}</legend>
+
+					<input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="changeMouseMove();" />
+					<label id="onmousemovechecklabel" for="onmousemovecheck">{$lang_advimage_alt_image}</label>
+
+					<table border="0" cellpadding="4" cellspacing="0" width="100%">
+							<tr>
+								<td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{$lang_advimage_mouseover}</label></td> 
+								<td><table border="0" cellspacing="0" cellpadding="0"> 
+									<tr> 
+									  <td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td> 
+									  <td id="onmouseoversrccontainer">&nbsp;</td>
+									</tr>
+								  </table></td>
+							</tr>
+							<tr id="imagelistoverrow">
+								<td class="column1"><label for="imagelistover">{$lang_image_list}</label></td>
+								<td id="imagelistovercontainer">&nbsp;</td>
+							</tr>
+							<tr> 
+								<td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{$lang_advimage_mouseout}</label></td> 
+								<td class="column2"><table border="0" cellspacing="0" cellpadding="0"> 
+									<tr> 
+									  <td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td> 
+									  <td id="onmouseoutsrccontainer">&nbsp;</td>
+									</tr> 
+								  </table></td> 
+							</tr>
+							<tr id="imagelistoutrow">
+								<td class="column1"><label for="imagelistout">{$lang_image_list}</label></td>
+								<td id="imagelistoutcontainer">&nbsp;</td>
+							</tr>
+					</table>
+				</fieldset>
+
+				<fieldset>
+					<legend>{$lang_advimage_misc}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td class="column1"><label id="idlabel" for="id">{$lang_advimage_id}</label></td> 
+							<td><input id="id" name="id" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label id="dirlabel" for="dir">{$lang_advimage_langdir}</label></td> 
+							<td>
+								<select id="dir" name="dir" onchange="changeAppearance();"> 
+										<option value="">{$lang_not_set}</option> 
+										<option value="ltr">{$lang_advimage_ltr}</option> 
+										<option value="rtl">{$lang_advimage_rtl}</option> 
+								</select>
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label id="langlabel" for="lang">{$lang_advimage_langcode}</label></td> 
+							<td>
+								<input id="lang" name="lang" type="text" value="" />
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label id="usemaplabel" for="usemap">{$lang_advimage_image_map}</label></td> 
+							<td>
+								<input id="usemap" name="usemap" type="text" value="" />
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label id="longdesclabel" for="longdesc">{$lang_advimage_long_desc}</label></td>
+							<td><table border="0" cellspacing="0" cellpadding="0">
+									<tr>
+									  <td><input id="longdesc" name="longdesc" type="text" value="" /></td>
+									  <td id="longdesccontainer">&nbsp;</td>
+									</tr>
+								</table></td> 
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+		</div>
+
+		<div class="mceActionPanel">
+			<div style="float: left">
+				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertAction();" />
+			</div>
+
+			<div style="float: right">
+				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="cancelAction();" />
+			</div>
+		</div>
+    </form>
+</body> 
+</html> 

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/images/sample.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/images/sample.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/jscripts/functions.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/jscripts/functions.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/jscripts/functions.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,550 @@
+/* Functions for the advimage plugin popup */
+
+var preloadImg = null;
+var orgImageWidth, orgImageHeight;
+
+function preinit() {
+	// Initialize
+	tinyMCE.setWindowArg('mce_windowresize', false);
+
+	// Import external list url javascript
+	var url = tinyMCE.getParam("external_image_list_url");
+	if (url != null) {
+		// Fix relative
+		if (url.charAt(0) != '/' && url.indexOf('://') == -1)
+			url = tinyMCE.documentBasePath + "/" + url;
+
+		document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></sc'+'ript>');
+	}
+}
+
+function convertURL(url, node, on_save) {
+	return eval("tinyMCEPopup.windowOpener." + tinyMCE.settings['urlconverter_callback'] + "(url, node, on_save);");
+}
+
+function getImageSrc(str) {
+	var pos = -1;
+
+	if (!str)
+		return "";
+
+	if ((pos = str.indexOf('this.src=')) != -1) {
+		var src = str.substring(pos + 10);
+
+		src = src.substring(0, src.indexOf('\''));
+
+		if (tinyMCE.getParam('convert_urls'))
+			src = convertURL(src, null, true);
+
+		return src;
+	}
+
+	return "";
+}
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	var formObj = document.forms[0];
+	var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
+	var elm = inst.getFocusElement();
+	var action = "insert";
+	var html = "";
+
+	// Image list src
+	html = getImageListHTML('imagelistsrc','src','onSelectMainImage');
+	if (html == "")
+		document.getElementById("imagelistsrcrow").style.display = 'none';
+	else
+		document.getElementById("imagelistsrccontainer").innerHTML = html;
+
+	// Image list oversrc
+	html = getImageListHTML('imagelistover','onmouseoversrc');
+	if (html == "")
+		document.getElementById("imagelistoverrow").style.display = 'none';
+	else
+		document.getElementById("imagelistovercontainer").innerHTML = html;
+
+	// Image list outsrc
+	html = getImageListHTML('imagelistout','onmouseoutsrc');
+	if (html == "")
+		document.getElementById("imagelistoutrow").style.display = 'none';
+	else
+		document.getElementById("imagelistoutcontainer").innerHTML = html;
+
+	// Src browser
+	html = getBrowserHTML('srcbrowser','src','image','advimage');
+	document.getElementById("srcbrowsercontainer").innerHTML = html;
+
+	// Over browser
+	html = getBrowserHTML('oversrcbrowser','onmouseoversrc','image','advimage');
+	document.getElementById("onmouseoversrccontainer").innerHTML = html;
+
+	// Out browser
+	html = getBrowserHTML('outsrcbrowser','onmouseoutsrc','image','advimage');
+	document.getElementById("onmouseoutsrccontainer").innerHTML = html;
+
+	// Longdesc browser
+	html = getBrowserHTML('longdescbrowser','longdesc','file','advimage');
+	document.getElementById("longdesccontainer").innerHTML = html;
+
+	// Resize some elements
+	if (isVisible('srcbrowser'))
+		document.getElementById('src').style.width = '260px';
+
+	if (isVisible('oversrcbrowser'))
+		document.getElementById('onmouseoversrc').style.width = '260px';
+
+	if (isVisible('outsrcbrowser'))
+		document.getElementById('onmouseoutsrc').style.width = '260px';
+
+	if (isVisible('longdescbrowser'))
+		document.getElementById('longdesc').style.width = '180px';
+
+	// Check action
+	if (elm != null && elm.nodeName == "IMG")
+		action = "update";
+
+	formObj.insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); 
+
+	if (action == "update") {
+		var src = tinyMCE.getAttrib(elm, 'src');
+		var onmouseoversrc = getImageSrc(tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseover')));
+		var onmouseoutsrc = getImageSrc(tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseout')));
+
+		src = convertURL(src, elm, true);
+
+		// Use mce_src if found
+		var mceRealSrc = tinyMCE.getAttrib(elm, 'mce_src');
+		if (mceRealSrc != "") {
+			src = mceRealSrc;
+
+			if (tinyMCE.getParam('convert_urls'))
+				src = convertURL(src, elm, true);
+		}
+
+		if (onmouseoversrc != "" && tinyMCE.getParam('convert_urls'))
+			onmouseoversrc = convertURL(onmouseoversrc, elm, true);
+
+		if (onmouseoutsrc != "" && tinyMCE.getParam('convert_urls'))
+			onmouseoutsrc = convertURL(onmouseoutsrc, elm, true);
+
+		// Setup form data
+		var style = tinyMCE.parseStyle(tinyMCE.getAttrib(elm, "style"));
+
+		// Store away old size
+		orgImageWidth = trimSize(getStyle(elm, 'width'))
+		orgImageHeight = trimSize(getStyle(elm, 'height'));
+
+		formObj.src.value    = src;
+		formObj.alt.value    = tinyMCE.getAttrib(elm, 'alt');
+		formObj.title.value  = tinyMCE.getAttrib(elm, 'title');
+		formObj.border.value = trimSize(getStyle(elm, 'border', 'borderWidth'));
+		formObj.vspace.value = tinyMCE.getAttrib(elm, 'vspace');
+		formObj.hspace.value = tinyMCE.getAttrib(elm, 'hspace');
+		formObj.width.value  = orgImageWidth;
+		formObj.height.value = orgImageHeight;
+		formObj.onmouseoversrc.value = onmouseoversrc;
+		formObj.onmouseoutsrc.value  = onmouseoutsrc;
+		formObj.id.value  = tinyMCE.getAttrib(elm, 'id');
+		formObj.dir.value  = tinyMCE.getAttrib(elm, 'dir');
+		formObj.lang.value  = tinyMCE.getAttrib(elm, 'lang');
+		formObj.longdesc.value  = tinyMCE.getAttrib(elm, 'longdesc');
+		formObj.usemap.value  = tinyMCE.getAttrib(elm, 'usemap');
+		formObj.style.value  = tinyMCE.serializeStyle(style);
+
+		// Select by the values
+		if (tinyMCE.isMSIE)
+			selectByValue(formObj, 'align', getStyle(elm, 'align', 'styleFloat'));
+		else
+			selectByValue(formObj, 'align', getStyle(elm, 'align', 'cssFloat'));
+
+		addClassesToList('classlist', 'advimage_styles');
+
+		selectByValue(formObj, 'classlist', tinyMCE.getAttrib(elm, 'class'));
+		selectByValue(formObj, 'imagelistsrc', src);
+		selectByValue(formObj, 'imagelistover', onmouseoversrc);
+		selectByValue(formObj, 'imagelistout', onmouseoutsrc);
+
+		updateStyle();
+		showPreviewImage(src, true);
+		changeAppearance();
+
+		window.focus();
+	} else
+		addClassesToList('classlist', 'advimage_styles');
+
+	// If option enabled default contrain proportions to checked
+	if (tinyMCE.getParam("advimage_constrain_proportions", true))
+		formObj.constrain.checked = true;
+
+	// Check swap image if valid data
+	if (formObj.onmouseoversrc.value != "" || formObj.onmouseoutsrc.value != "")
+		setSwapImageDisabled(false);
+	else
+		setSwapImageDisabled(true);
+}
+
+function setSwapImageDisabled(state) {
+	var formObj = document.forms[0];
+
+	formObj.onmousemovecheck.checked = !state;
+
+	setBrowserDisabled('overbrowser', state);
+	setBrowserDisabled('outbrowser', state);
+
+	if (formObj.imagelistover)
+		formObj.imagelistover.disabled = state;
+
+	if (formObj.imagelistout)
+		formObj.imagelistout.disabled = state;
+
+	formObj.onmouseoversrc.disabled = state;
+	formObj.onmouseoutsrc.disabled  = state;
+}
+
+function setAttrib(elm, attrib, value) {
+	var formObj = document.forms[0];
+	var valueElm = formObj.elements[attrib];
+
+	if (typeof(value) == "undefined" || value == null) {
+		value = "";
+
+		if (valueElm)
+			value = valueElm.value;
+	}
+
+	if (value != "") {
+		elm.setAttribute(attrib, value);
+
+		if (attrib == "style")
+			attrib = "style.cssText";
+
+		if (attrib == "longdesc")
+			attrib = "longDesc";
+
+		if (attrib == "width") {
+			attrib = "style.width";
+			value = value + "px";
+		}
+
+		if (attrib == "height") {
+			attrib = "style.height";
+			value = value + "px";
+		}
+
+		if (attrib == "class")
+			attrib = "className";
+
+		eval('elm.' + attrib + "=value;");
+	} else
+		elm.removeAttribute(attrib);
+}
+
+function makeAttrib(attrib, value) {
+	var formObj = document.forms[0];
+	var valueElm = formObj.elements[attrib];
+
+	if (typeof(value) == "undefined" || value == null) {
+		value = "";
+
+		if (valueElm)
+			value = valueElm.value;
+	}
+
+	if (value == "")
+		return "";
+
+	// XML encode it
+	value = value.replace(/&/g, '&amp;');
+	value = value.replace(/\"/g, '&quot;');
+	value = value.replace(/</g, '&lt;');
+	value = value.replace(/>/g, '&gt;');
+
+	return ' ' + attrib + '="' + value + '"';
+}
+
+function insertAction() {
+	var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
+	var elm = inst.getFocusElement();
+	var formObj = document.forms[0];
+	var src = formObj.src.value;
+	var onmouseoversrc = formObj.onmouseoversrc.value;
+	var onmouseoutsrc = formObj.onmouseoutsrc.value;
+
+	if (!AutoValidator.validate(formObj)) {
+		alert(tinyMCE.getLang('lang_invalid_data'));
+		return false;
+	}
+
+	if (tinyMCE.getParam("accessibility_warnings")) {
+		if (formObj.alt.value == "") {
+			var answer = confirm(tinyMCE.getLang('lang_advimage_missing_alt', '', true));
+			if (answer == true) {
+				formObj.alt.value = " ";
+			}
+		} else {
+			var answer = true;
+		}
+
+		if (!answer)
+			return;
+	}
+
+	if (onmouseoversrc && onmouseoversrc != "")
+		onmouseoversrc = "this.src='" + convertURL(onmouseoversrc, tinyMCE.imgElement) + "';";
+
+	if (onmouseoutsrc && onmouseoutsrc != "")
+		onmouseoutsrc = "this.src='" + convertURL(onmouseoutsrc, tinyMCE.imgElement) + "';";
+
+	if (elm != null && elm.nodeName == "IMG") {
+		setAttrib(elm, 'src', convertURL(src, tinyMCE.imgElement));
+		setAttrib(elm, 'mce_src', src);
+		setAttrib(elm, 'alt');
+		setAttrib(elm, 'title');
+		setAttrib(elm, 'border');
+		setAttrib(elm, 'vspace');
+		setAttrib(elm, 'hspace');
+		setAttrib(elm, 'width');
+		setAttrib(elm, 'height');
+		setAttrib(elm, 'onmouseover', onmouseoversrc);
+		setAttrib(elm, 'onmouseout', onmouseoutsrc);
+		setAttrib(elm, 'id');
+		setAttrib(elm, 'dir');
+		setAttrib(elm, 'lang');
+		setAttrib(elm, 'longdesc');
+		setAttrib(elm, 'usemap');
+		setAttrib(elm, 'style');
+		setAttrib(elm, 'class', getSelectValue(formObj, 'classlist'));
+		setAttrib(elm, 'align', getSelectValue(formObj, 'align'));
+
+		//tinyMCEPopup.execCommand("mceRepaint");
+
+		// Repaint if dimensions changed
+		if (formObj.width.value != orgImageWidth || formObj.height.value != orgImageHeight)
+			inst.repaint();
+
+		// Refresh in old MSIE
+		if (tinyMCE.isMSIE5)
+			elm.outerHTML = elm.outerHTML;
+	} else {
+		var html = "<img";
+
+		html += makeAttrib('src', convertURL(src, tinyMCE.imgElement));
+		html += makeAttrib('mce_src', src);
+		html += makeAttrib('alt');
+		html += makeAttrib('title');
+		html += makeAttrib('border');
+		html += makeAttrib('vspace');
+		html += makeAttrib('hspace');
+		html += makeAttrib('width');
+		html += makeAttrib('height');
+		html += makeAttrib('onmouseover', onmouseoversrc);
+		html += makeAttrib('onmouseout', onmouseoutsrc);
+		html += makeAttrib('id');
+		html += makeAttrib('dir');
+		html += makeAttrib('lang');
+		html += makeAttrib('longdesc');
+		html += makeAttrib('usemap');
+		html += makeAttrib('style');
+		html += makeAttrib('class', getSelectValue(formObj, 'classlist'));
+		html += makeAttrib('align', getSelectValue(formObj, 'align'));
+		html += " />";
+
+		tinyMCEPopup.execCommand("mceInsertContent", false, html);
+	}
+
+	tinyMCE._setEventsEnabled(inst.getBody(), false);
+	tinyMCEPopup.close();
+}
+
+function cancelAction() {
+	tinyMCEPopup.close();
+}
+
+function changeAppearance() {
+	var formObj = document.forms[0];
+	var img = document.getElementById('alignSampleImg');
+
+	if (img) {
+		img.align = formObj.align.value;
+		img.border = formObj.border.value;
+		img.hspace = formObj.hspace.value;
+		img.vspace = formObj.vspace.value;
+	}
+}
+
+function changeMouseMove() {
+	var formObj = document.forms[0];
+
+	setSwapImageDisabled(!formObj.onmousemovecheck.checked);
+}
+
+function updateStyle() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	if (tinyMCE.getParam('inline_styles', false)) {
+		st['width'] = formObj.width.value == '' ? '' : formObj.width.value + "px";
+		st['height'] = formObj.height.value == '' ? '' : formObj.height.value + "px";
+		st['border-width'] = formObj.border.value == '' ? '' : formObj.border.value + "px";
+		st['margin-top'] = formObj.vspace.value == '' ? '' : formObj.vspace.value + "px";
+		st['margin-bottom'] = formObj.vspace.value == '' ? '' : formObj.vspace.value + "px";
+		st['margin-left'] = formObj.hspace.value == '' ? '' : formObj.hspace.value + "px";
+		st['margin-right'] = formObj.hspace.value == '' ? '' : formObj.hspace.value + "px";
+	} else {
+		st['width'] = st['height'] = st['border-width'] = null;
+
+		if (st['margin-top'] == st['margin-bottom'])
+			st['margin-top'] = st['margin-bottom'] = null;
+
+		if (st['margin-left'] == st['margin-right'])
+			st['margin-left'] = st['margin-right'] = null;
+	}
+
+	formObj.style.value = tinyMCE.serializeStyle(st);
+}
+
+function styleUpdated() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	if (st['width'])
+		formObj.width.value = st['width'].replace('px', '');
+
+	if (st['height'])
+		formObj.height.value = st['height'].replace('px', '');
+
+	if (st['margin-top'] && st['margin-top'] == st['margin-bottom'])
+		formObj.vspace.value = st['margin-top'].replace('px', '');
+
+	if (st['margin-left'] && st['margin-left'] == st['margin-right'])
+		formObj.hspace.value = st['margin-left'].replace('px', '');
+
+	if (st['border-width'])
+		formObj.border.value = st['border-width'].replace('px', '');
+}
+
+function changeHeight() {
+	var formObj = document.forms[0];
+
+	if (!formObj.constrain.checked || !preloadImg) {
+		updateStyle();
+		return;
+	}
+
+	if (formObj.width.value == "" || formObj.height.value == "")
+		return;
+
+	var temp = (formObj.width.value / preloadImg.width) * preloadImg.height;
+	formObj.height.value = temp.toFixed(0);
+	updateStyle();
+}
+
+function changeWidth() {
+	var formObj = document.forms[0];
+
+	if (!formObj.constrain.checked || !preloadImg) {
+		updateStyle();
+		return;
+	}
+
+	if (formObj.width.value == "" || formObj.height.value == "")
+		return;
+
+	var temp = (formObj.height.value / preloadImg.height) * preloadImg.width;
+	formObj.width.value = temp.toFixed(0);
+	updateStyle();
+}
+
+function onSelectMainImage(target_form_element, name, value) {
+	var formObj = document.forms[0];
+
+	formObj.alt.value = name;
+	formObj.title.value = name;
+
+	resetImageData();
+	showPreviewImage(formObj.elements[target_form_element].value, false);
+}
+
+function showPreviewImage(src, start) {
+	var formObj = document.forms[0];
+
+	selectByValue(document.forms[0], 'imagelistsrc', src);
+
+	var elm = document.getElementById('prev');
+	var src = src == "" ? src : tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src);
+
+	if (!start && tinyMCE.getParam("advimage_update_dimensions_onchange", true))
+		resetImageData();
+
+	if (src == "")
+		elm.innerHTML = "";
+	else
+		elm.innerHTML = '<img src="' + src + '" border="0" />'
+
+	getImageData(src);
+}
+
+function getImageData(src) {
+	preloadImg = new Image();
+
+	tinyMCE.addEvent(preloadImg, "load", updateImageData);
+	tinyMCE.addEvent(preloadImg, "error", resetImageData);
+
+	preloadImg.src = src;
+}
+
+function updateImageData() {
+	var formObj = document.forms[0];
+
+	if (formObj.width.value == "")
+		formObj.width.value = preloadImg.width;
+
+	if (formObj.height.value == "")
+		formObj.height.value = preloadImg.height;
+
+	updateStyle();
+}
+
+function resetImageData() {
+	var formObj = document.forms[0];
+	formObj.width.value = formObj.height.value = "";	
+}
+
+function getSelectValue(form_obj, field_name) {
+	var elm = form_obj.elements[field_name];
+
+	if (elm == null || elm.options == null)
+		return "";
+
+	return elm.options[elm.selectedIndex].value;
+}
+
+function getImageListHTML(elm_id, target_form_element, onchange_func) {
+	if (typeof(tinyMCEImageList) == "undefined" || tinyMCEImageList.length == 0)
+		return "";
+
+	var html = "";
+
+	html += '<select id="' + elm_id + '" name="' + elm_id + '"';
+	html += ' class="mceImageList" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.' + target_form_element + '.value=';
+	html += 'this.options[this.selectedIndex].value;';
+
+	if (typeof(onchange_func) != "undefined")
+		html += onchange_func + '(\'' + target_form_element + '\',this.options[this.selectedIndex].text,this.options[this.selectedIndex].value);';
+
+	html += '"><option value="">---</option>';
+
+	for (var i=0; i<tinyMCEImageList.length; i++)
+		html += '<option value="' + tinyMCEImageList[i][1] + '">' + tinyMCEImageList[i][0] + '</option>';
+
+	html += '</select>';
+
+	return html;
+
+	// tinyMCE.debug('-- image list start --', html, '-- image list end --');
+}
+
+// While loading
+preinit();

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/de.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/de.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/de.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+// DE lang variables
+
+tinyMCELang['lang_insert_image_alt2'] = 'Titel des Bildes';
+tinyMCELang['lang_insert_image_onmousemove'] = 'Alternatives Bild'
+tinyMCELang['lang_insert_image_mouseover'] = 'f&uuml;r Maus dar&uuml;ber';
+tinyMCELang['lang_insert_image_mouseout'] = 'f&uuml;r Maus ausserhalb';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+// UK lang variables
+
+tinyMCE.addToLang('advimage',{
+tab_general : 'General',
+tab_appearance : 'Appearance',
+tab_advanced : 'Advanced',
+general : 'General',
+title : 'Title',
+preview : 'Preview',
+constrain_proportions : 'Constrain proportions',
+langdir : 'Language direction',
+langcode : 'Language code',
+long_desc : 'Long description link',
+style : 'Style',
+classes : 'Classes',
+ltr : 'Left to right',
+rtl : 'Right to left',
+id : 'Id',
+image_map : 'Image map',
+swap_image : 'Swap image',
+alt_image : 'Alternative image',
+mouseover : 'for mouse over',
+mouseout : 'for mouse out',
+misc : 'Miscellaneous',
+example_img : 'Appearance&nbsp;preview&nbsp;image',
+missing_alt : 'Are you sure you want to continue without including an Image Description? Without  it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/ko.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/ko.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/ko.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+// KO lang variables
+
+tinyMCELang['lang_insert_image_alt2'] = '±×¸² Á¦¸ñ';
+tinyMCELang['lang_insert_image_onmousemove'] = '´ëü À̹ÌÁö'
+tinyMCELang['lang_insert_image_mouseover'] = '¸¶¿ì½º¸¦ ¿Ã·ÈÀ» ¶§';
+tinyMCELang['lang_insert_image_mouseout'] = '¸¶¿ì½º¸¦ ³»·ÈÀ» ¶§';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/se.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/se.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/se.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+// SE lang variables
+
+tinyMCELang['lang_insert_image_alt2'] = 'Bildens titel';
+tinyMCELang['lang_insert_image_onmousemove'] = 'Alternativ bild'
+tinyMCELang['lang_insert_image_mouseover'] = 'n&auml;r pekaren &auml;r &ouml;ver';
+tinyMCELang['lang_insert_image_mouseout'] = 'n&auml;r pekaren &auml;r utanf&ouml;r';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/uk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/uk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/langs/uk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_image_alt2'] = 'Image title';
+tinyMCELang['lang_insert_image_onmousemove'] = 'Alternative image'
+tinyMCELang['lang_insert_image_mouseover'] = 'for mouse over';
+tinyMCELang['lang_insert_image_mouseout'] = 'for mouse out';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advimage/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/css/advlink.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/css/advlink.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/css/advlink.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+/* CSS file for advimage plugin popup */
+
+.mceLinkList, .mceAnchorList, #targetlist {
+	width: 280px;
+}
+
+.mceActionPanel {
+	margin-top: 7px;
+}
+
+.panel_wrapper div.current {
+	height: 320px;
+}
+
+#classlist, #title, #href {
+	width: 280px;
+}
+
+#popupurl, #popupname {
+	width: 200px;
+}
+
+#popupwidth, #popupheight, #popupleft, #popuptop {
+	width: 30px;
+	vertical-align: middle;
+	text-align: center;
+}
+
+#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {
+	width: 200px;
+}
+
+#events_panel input {
+	width: 200px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('advlink');var TinyMCE_AdvancedLinkPlugin={getInfo:function(){return{longname:'Advanced link',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_advlink.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){inst.addShortcut('ctrl','k','lang_advlink_desc','mceAdvLink')},getControlHTML:function(cn){switch(cn){case"link":return tinyMCE.getButtonHTML(cn,'lang_link_desc','{$themeurl}/images/link.gif','mceAdvLink')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceAdvLink":var anySelection=false;var inst=tinyMCE.getInstanceById(editor_id);var focusElm=inst.getFocusElement();var selectedText=inst.selection.getSelectedText();if(tinyMCE.selectedElement)anySelection=(tinyMCE.selectedElement.nodeName.toLowerCase()=="img")||(selectedText&&selectedText.length>0);if(anySelection||(focusElm!=!
 null&&focusElm.nodeName=="A")){var template=new Array();template['file']='../../plugins/advlink/link.htm';template['width']=480;template['height']=400;template['width']+=tinyMCE.getLang('lang_advlink_delta_width',0);template['height']+=tinyMCE.getLang('lang_advlink_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"})}return true}return false},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node==null)return;do{if(node.nodeName=="A"&&tinyMCE.getAttrib(node,'href')!=""){tinyMCE.switchClass(editor_id+'_advlink','mceButtonSelected');return true}}while((node=node.parentNode));if(any_selection){tinyMCE.switchClass(editor_id+'_advlink','mceButtonNormal');return true}tinyMCE.switchClass(editor_id+'_advlink','mceButtonDisabled');return true}};tinyMCE.addPlugin("advlink",TinyMCE_AdvancedLinkPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,88 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('advlink');
+
+var TinyMCE_AdvancedLinkPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Advanced link',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_advlink.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		inst.addShortcut('ctrl', 'k', 'lang_advlink_desc', 'mceAdvLink');
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "link":
+				return tinyMCE.getButtonHTML(cn, 'lang_link_desc', '{$themeurl}/images/link.gif', 'mceAdvLink');
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		switch (command) {
+			case "mceAdvLink":
+				var anySelection = false;
+				var inst = tinyMCE.getInstanceById(editor_id);
+				var focusElm = inst.getFocusElement();
+				var selectedText = inst.selection.getSelectedText();
+
+				if (tinyMCE.selectedElement)
+					anySelection = (tinyMCE.selectedElement.nodeName.toLowerCase() == "img") || (selectedText && selectedText.length > 0);
+
+				if (anySelection || (focusElm != null && focusElm.nodeName == "A")) {
+					var template = new Array();
+
+					template['file']   = '../../plugins/advlink/link.htm';
+					template['width']  = 480;
+					template['height'] = 400;
+
+					// Language specific width and height addons
+					template['width']  += tinyMCE.getLang('lang_advlink_delta_width', 0);
+					template['height'] += tinyMCE.getLang('lang_advlink_delta_height', 0);
+
+					tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"});
+				}
+
+				return true;
+		}
+
+		return false;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		if (node == null)
+			return;
+
+		do {
+			if (node.nodeName == "A" && tinyMCE.getAttrib(node, 'href') != "") {
+				tinyMCE.switchClass(editor_id + '_advlink', 'mceButtonSelected');
+				return true;
+			}
+		} while ((node = node.parentNode));
+
+		if (any_selection) {
+			tinyMCE.switchClass(editor_id + '_advlink', 'mceButtonNormal');
+			return true;
+		}
+
+		tinyMCE.switchClass(editor_id + '_advlink', 'mceButtonDisabled');
+
+		return true;
+	}
+};
+
+tinyMCE.addPlugin("advlink", TinyMCE_AdvancedLinkPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/jscripts/functions.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/jscripts/functions.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/jscripts/functions.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,568 @@
+/* Functions for the advlink plugin popup */
+
+var templates = {
+	"window.open" : "window.open('${url}','${target}','${options}')"
+};
+
+function preinit() {
+	// Initialize
+	tinyMCE.setWindowArg('mce_windowresize', false);
+
+	// Import external list url javascript
+	var url = tinyMCE.getParam("external_link_list_url");
+	if (url != null) {
+		// Fix relative
+		if (url.charAt(0) != '/' && url.indexOf('://') == -1)
+			url = tinyMCE.documentBasePath + "/" + url;
+
+		document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></sc'+'ript>');
+	}
+}
+
+function changeClass() {
+	var formObj = document.forms[0];
+	formObj.classes.value = getSelectValue(formObj, 'classlist');
+}
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	var formObj = document.forms[0];
+	var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
+	var elm = inst.getFocusElement();
+	var action = "insert";
+	var html;
+
+	document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','advlink');
+	document.getElementById('popupurlbrowsercontainer').innerHTML = getBrowserHTML('popupurlbrowser','popupurl','file','advlink');
+	document.getElementById('linklisthrefcontainer').innerHTML = getLinkListHTML('linklisthref','href');
+	document.getElementById('anchorlistcontainer').innerHTML = getAnchorListHTML('anchorlist','href');
+	document.getElementById('targetlistcontainer').innerHTML = getTargetListHTML('targetlist','target');
+
+	// Link list
+	html = getLinkListHTML('linklisthref','href');
+	if (html == "")
+		document.getElementById("linklisthrefrow").style.display = 'none';
+	else
+		document.getElementById("linklisthrefcontainer").innerHTML = html;
+
+	// Resize some elements
+	if (isVisible('hrefbrowser'))
+		document.getElementById('href').style.width = '260px';
+
+	if (isVisible('popupurlbrowser'))
+		document.getElementById('popupurl').style.width = '180px';
+
+	elm = tinyMCE.getParentElement(elm, "a");
+	if (elm != null && elm.nodeName == "A")
+		action = "update";
+
+	formObj.insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); 
+
+	setPopupControlsDisabled(true);
+
+	if (action == "update") {
+		var href = tinyMCE.getAttrib(elm, 'href');
+
+		href = convertURL(href, elm, true);
+
+		// Use mce_href if found
+		var mceRealHref = tinyMCE.getAttrib(elm, 'mce_href');
+		if (mceRealHref != "") {
+			href = mceRealHref;
+
+			if (tinyMCE.getParam('convert_urls'))
+				href = convertURL(href, elm, true);
+		}
+
+		var onclick = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onclick'));
+
+		// Setup form data
+		setFormValue('href', href);
+		setFormValue('title', tinyMCE.getAttrib(elm, 'title'));
+		setFormValue('id', tinyMCE.getAttrib(elm, 'id'));
+		setFormValue('style', tinyMCE.serializeStyle(tinyMCE.parseStyle(tinyMCE.getAttrib(elm, "style"))));
+		setFormValue('rel', tinyMCE.getAttrib(elm, 'rel'));
+		setFormValue('rev', tinyMCE.getAttrib(elm, 'rev'));
+		setFormValue('charset', tinyMCE.getAttrib(elm, 'charset'));
+		setFormValue('hreflang', tinyMCE.getAttrib(elm, 'hreflang'));
+		setFormValue('dir', tinyMCE.getAttrib(elm, 'dir'));
+		setFormValue('lang', tinyMCE.getAttrib(elm, 'lang'));
+		setFormValue('tabindex', tinyMCE.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : ""));
+		setFormValue('accesskey', tinyMCE.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : ""));
+		setFormValue('type', tinyMCE.getAttrib(elm, 'type'));
+		setFormValue('onfocus', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onfocus')));
+		setFormValue('onblur', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onblur')));
+		setFormValue('onclick', onclick);
+		setFormValue('ondblclick', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'ondblclick')));
+		setFormValue('onmousedown', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmousedown')));
+		setFormValue('onmouseup', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseup')));
+		setFormValue('onmouseover', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseover')));
+		setFormValue('onmousemove', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmousemove')));
+		setFormValue('onmouseout', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseout')));
+		setFormValue('onkeypress', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onkeypress')));
+		setFormValue('onkeydown', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onkeydown')));
+		setFormValue('onkeyup', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onkeyup')));
+		setFormValue('target', tinyMCE.getAttrib(elm, 'target'));
+		setFormValue('classes', tinyMCE.getAttrib(elm, 'class'));
+
+		// Parse onclick data
+		if (onclick != null && onclick.indexOf('window.open') != -1)
+			parseWindowOpen(onclick);
+		else
+			parseFunction(onclick);
+
+		// Select by the values
+		selectByValue(formObj, 'dir', tinyMCE.getAttrib(elm, 'dir'));
+		selectByValue(formObj, 'rel', tinyMCE.getAttrib(elm, 'rel'));
+		selectByValue(formObj, 'rev', tinyMCE.getAttrib(elm, 'rev'));
+		selectByValue(formObj, 'linklisthref', href);
+
+		if (href.charAt(0) == '#')
+			selectByValue(formObj, 'anchorlist', href);
+
+		addClassesToList('classlist', 'advlink_styles');
+
+		selectByValue(formObj, 'classlist', tinyMCE.getAttrib(elm, 'class'), true);
+		selectByValue(formObj, 'targetlist', tinyMCE.getAttrib(elm, 'target'), true);
+	} else
+		addClassesToList('classlist', 'advlink_styles');
+
+	window.focus();
+}
+
+function setFormValue(name, value) {
+	document.forms[0].elements[name].value = value;
+}
+
+function convertURL(url, node, on_save) {
+	return eval("tinyMCEPopup.windowOpener." + tinyMCE.settings['urlconverter_callback'] + "(url, node, on_save);");
+}
+
+function parseWindowOpen(onclick) {
+	var formObj = document.forms[0];
+
+	// Preprocess center code
+	if (onclick.indexOf('return false;') != -1) {
+		formObj.popupreturn.checked = true;
+		onclick = onclick.replace('return false;', '');
+	} else
+		formObj.popupreturn.checked = false;
+
+	var onClickData = parseLink(onclick);
+
+	if (onClickData != null) {
+		formObj.ispopup.checked = true;
+		setPopupControlsDisabled(false);
+
+		var onClickWindowOptions = parseOptions(onClickData['options']);
+		var url = onClickData['url'];
+
+		if (tinyMCE.getParam('convert_urls'))
+			url = convertURL(url, null, true);
+
+		formObj.popupname.value = onClickData['target'];
+		formObj.popupurl.value = url;
+		formObj.popupwidth.value = getOption(onClickWindowOptions, 'width');
+		formObj.popupheight.value = getOption(onClickWindowOptions, 'height');
+
+		formObj.popupleft.value = getOption(onClickWindowOptions, 'left');
+		formObj.popuptop.value = getOption(onClickWindowOptions, 'top');
+
+		if (formObj.popupleft.value.indexOf('screen') != -1)
+			formObj.popupleft.value = "c";
+
+		if (formObj.popuptop.value.indexOf('screen') != -1)
+			formObj.popuptop.value = "c";
+
+		formObj.popuplocation.checked = getOption(onClickWindowOptions, 'location') == "yes";
+		formObj.popupscrollbars.checked = getOption(onClickWindowOptions, 'scrollbars') == "yes";
+		formObj.popupmenubar.checked = getOption(onClickWindowOptions, 'menubar') == "yes";
+		formObj.popupresizable.checked = getOption(onClickWindowOptions, 'resizable') == "yes";
+		formObj.popuptoolbar.checked = getOption(onClickWindowOptions, 'toolbar') == "yes";
+		formObj.popupstatus.checked = getOption(onClickWindowOptions, 'status') == "yes";
+		formObj.popupdependent.checked = getOption(onClickWindowOptions, 'dependent') == "yes";
+
+		buildOnClick();
+	}
+}
+
+function parseFunction(onclick) {
+	var formObj = document.forms[0];
+	var onClickData = parseLink(onclick);
+
+	// TODO: Add stuff here
+}
+
+function getOption(opts, name) {
+	return typeof(opts[name]) == "undefined" ? "" : opts[name];
+}
+
+function setPopupControlsDisabled(state) {
+	var formObj = document.forms[0];
+
+	formObj.popupname.disabled = state;
+	formObj.popupurl.disabled = state;
+	formObj.popupwidth.disabled = state;
+	formObj.popupheight.disabled = state;
+	formObj.popupleft.disabled = state;
+	formObj.popuptop.disabled = state;
+	formObj.popuplocation.disabled = state;
+	formObj.popupscrollbars.disabled = state;
+	formObj.popupmenubar.disabled = state;
+	formObj.popupresizable.disabled = state;
+	formObj.popuptoolbar.disabled = state;
+	formObj.popupstatus.disabled = state;
+	formObj.popupreturn.disabled = state;
+	formObj.popupdependent.disabled = state;
+
+	setBrowserDisabled('popupurlbrowser', state);
+}
+
+function parseLink(link) {
+	link = link.replace(new RegExp('&#39;', 'g'), "'");
+
+	var fnName = link.replace(new RegExp("\\s*([A-Za-z0-9\.]*)\\s*\\(.*", "gi"), "$1");
+
+	// Is function name a template function
+	var template = templates[fnName];
+	if (template) {
+		// Build regexp
+		var variableNames = template.match(new RegExp("'?\\$\\{[A-Za-z0-9\.]*\\}'?", "gi"));
+		var regExp = "\\s*[A-Za-z0-9\.]*\\s*\\(";
+		var replaceStr = "";
+		for (var i=0; i<variableNames.length; i++) {
+			// Is string value
+			if (variableNames[i].indexOf("'${") != -1)
+				regExp += "'(.*)'";
+			else // Number value
+				regExp += "([0-9]*)";
+
+			replaceStr += "$" + (i+1);
+
+			// Cleanup variable name
+			variableNames[i] = variableNames[i].replace(new RegExp("[^A-Za-z0-9]", "gi"), "");
+
+			if (i != variableNames.length-1) {
+				regExp += "\\s*,\\s*";
+				replaceStr += "<delim>";
+			} else
+				regExp += ".*";
+		}
+
+		regExp += "\\);?";
+
+		// Build variable array
+		var variables = new Array();
+		variables["_function"] = fnName;
+		var variableValues = link.replace(new RegExp(regExp, "gi"), replaceStr).split('<delim>');
+		for (var i=0; i<variableNames.length; i++)
+			variables[variableNames[i]] = variableValues[i];
+
+		return variables;
+	}
+
+	return null;
+}
+
+function parseOptions(opts) {
+	if (opts == null || opts == "")
+		return new Array();
+
+	// Cleanup the options
+	opts = opts.toLowerCase();
+	opts = opts.replace(/;/g, ",");
+	opts = opts.replace(/[^0-9a-z=,]/g, "");
+
+	var optionChunks = opts.split(',');
+	var options = new Array();
+
+	for (var i=0; i<optionChunks.length; i++) {
+		var parts = optionChunks[i].split('=');
+
+		if (parts.length == 2)
+			options[parts[0]] = parts[1];
+	}
+
+	return options;
+}
+
+function buildOnClick() {
+	var formObj = document.forms[0];
+
+	if (!formObj.ispopup.checked) {
+		formObj.onclick.value = "";
+		return;
+	}
+
+	var onclick = "window.open('";
+	var url = formObj.popupurl.value;
+
+	if (tinyMCE.getParam('convert_urls'))
+		url = convertURL(url, null, true);
+
+	onclick += url + "','";
+	onclick += formObj.popupname.value + "','";
+
+	if (formObj.popuplocation.checked)
+		onclick += "location=yes,";
+
+	if (formObj.popupscrollbars.checked)
+		onclick += "scrollbars=yes,";
+
+	if (formObj.popupmenubar.checked)
+		onclick += "menubar=yes,";
+
+	if (formObj.popupresizable.checked)
+		onclick += "resizable=yes,";
+
+	if (formObj.popuptoolbar.checked)
+		onclick += "toolbar=yes,";
+
+	if (formObj.popupstatus.checked)
+		onclick += "status=yes,";
+
+	if (formObj.popupdependent.checked)
+		onclick += "dependent=yes,";
+
+	if (formObj.popupwidth.value != "")
+		onclick += "width=" + formObj.popupwidth.value + ",";
+
+	if (formObj.popupheight.value != "")
+		onclick += "height=" + formObj.popupheight.value + ",";
+
+	if (formObj.popupleft.value != "") {
+		if (formObj.popupleft.value != "c")
+			onclick += "left=" + formObj.popupleft.value + ",";
+		else
+			onclick += "left='+(screen.availWidth/2-" + (formObj.popupwidth.value/2) + ")+',";
+	}
+
+	if (formObj.popuptop.value != "") {
+		if (formObj.popuptop.value != "c")
+			onclick += "top=" + formObj.popuptop.value + ",";
+		else
+			onclick += "top='+(screen.availHeight/2-" + (formObj.popupheight.value/2) + ")+',";
+	}
+
+	if (onclick.charAt(onclick.length-1) == ',')
+		onclick = onclick.substring(0, onclick.length-1);
+
+	onclick += "');";
+
+	if (formObj.popupreturn.checked)
+		onclick += "return false;";
+
+	// tinyMCE.debug(onclick);
+
+	formObj.onclick.value = onclick;
+
+	if (formObj.href.value == "")
+		formObj.href.value = url;
+}
+
+function setAttrib(elm, attrib, value) {
+	var formObj = document.forms[0];
+	var valueElm = formObj.elements[attrib.toLowerCase()];
+
+	if (typeof(value) == "undefined" || value == null) {
+		value = "";
+
+		if (valueElm)
+			value = valueElm.value;
+	}
+
+	if (value != "") {
+		elm.setAttribute(attrib.toLowerCase(), value);
+
+		if (attrib == "style")
+			attrib = "style.cssText";
+
+		if (attrib.substring(0, 2) == 'on')
+			value = 'return true;' + value;
+
+		if (attrib == "class")
+			attrib = "className";
+
+		eval('elm.' + attrib + "=value;");
+	} else
+		elm.removeAttribute(attrib);
+}
+
+function getAnchorListHTML(id, target) {
+	var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
+	var nodes = inst.getBody().getElementsByTagName("a");
+
+	var html = "";
+
+	html += '<select id="' + id + '" name="' + id + '" class="mceAnchorList" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.' + target + '.value=';
+	html += 'this.options[this.selectedIndex].value;">';
+	html += '<option value="">---</option>';
+
+	for (var i=0; i<nodes.length; i++) {
+		if ((name = tinyMCE.getAttrib(nodes[i], "name")) != "")
+			html += '<option value="#' + name + '">' + name + '</option>';
+	}
+
+	html += '</select>';
+
+	return html;
+}
+
+function insertAction() {
+	var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
+	var elm = inst.getFocusElement();
+
+	elm = tinyMCE.getParentElement(elm, "a");
+
+	tinyMCEPopup.execCommand("mceBeginUndoLevel");
+
+	// Create new anchor elements
+	if (elm == null) {
+		if (tinyMCE.isSafari)
+			tinyMCEPopup.execCommand("mceInsertContent", false, '<a href="#mce_temp_url#">' + inst.selection.getSelectedHTML() + '</a>');
+		else
+			tinyMCEPopup.execCommand("createlink", false, "#mce_temp_url#");
+
+		var elementArray = tinyMCE.getElementsByAttributeValue(inst.getBody(), "a", "href", "#mce_temp_url#");
+		for (var i=0; i<elementArray.length; i++) {
+			var elm = elementArray[i];
+
+			// Move cursor behind the new anchor
+			if (tinyMCE.isGecko) {
+				var sp = inst.getDoc().createTextNode(" ");
+
+				if (elm.nextSibling)
+					elm.parentNode.insertBefore(sp, elm.nextSibling);
+				else
+					elm.parentNode.appendChild(sp);
+
+				// Set range after link
+				var rng = inst.getDoc().createRange();
+				rng.setStartAfter(elm);
+				rng.setEndAfter(elm);
+
+				// Update selection
+				var sel = inst.getSel();
+				sel.removeAllRanges();
+				sel.addRange(rng);
+			}
+
+			setAllAttribs(elm);
+		}
+	} else
+		setAllAttribs(elm);
+
+	tinyMCE._setEventsEnabled(inst.getBody(), false);
+	tinyMCEPopup.execCommand("mceEndUndoLevel");
+	tinyMCEPopup.close();
+}
+
+function setAllAttribs(elm) {
+	var formObj = document.forms[0];
+	var href = formObj.href.value;
+	var target = getSelectValue(formObj, 'targetlist');
+
+	// Make anchors absolute
+	if (href.charAt(0) == '#' && tinyMCE.getParam('convert_urls'))
+		href = tinyMCE.settings['document_base_url'] + href;
+
+	setAttrib(elm, 'href', convertURL(href, elm));
+	setAttrib(elm, 'mce_href', href);
+	setAttrib(elm, 'title');
+	setAttrib(elm, 'target', target == '_self' ? '' : target);
+	setAttrib(elm, 'id');
+	setAttrib(elm, 'style');
+	setAttrib(elm, 'class', getSelectValue(formObj, 'classlist'));
+	setAttrib(elm, 'rel');
+	setAttrib(elm, 'rev');
+	setAttrib(elm, 'charset');
+	setAttrib(elm, 'hreflang');
+	setAttrib(elm, 'dir');
+	setAttrib(elm, 'lang');
+	setAttrib(elm, 'tabindex');
+	setAttrib(elm, 'accesskey');
+	setAttrib(elm, 'type');
+	setAttrib(elm, 'onfocus');
+	setAttrib(elm, 'onblur');
+	setAttrib(elm, 'onclick');
+	setAttrib(elm, 'ondblclick');
+	setAttrib(elm, 'onmousedown');
+	setAttrib(elm, 'onmouseup');
+	setAttrib(elm, 'onmouseover');
+	setAttrib(elm, 'onmousemove');
+	setAttrib(elm, 'onmouseout');
+	setAttrib(elm, 'onkeypress');
+	setAttrib(elm, 'onkeydown');
+	setAttrib(elm, 'onkeyup');
+
+	// Refresh in old MSIE
+	if (tinyMCE.isMSIE5)
+		elm.outerHTML = elm.outerHTML;
+}
+
+function getSelectValue(form_obj, field_name) {
+	var elm = form_obj.elements[field_name];
+
+	if (elm == null || elm.options == null)
+		return "";
+
+	return elm.options[elm.selectedIndex].value;
+}
+
+function getLinkListHTML(elm_id, target_form_element, onchange_func) {
+	if (typeof(tinyMCELinkList) == "undefined" || tinyMCELinkList.length == 0)
+		return "";
+
+	var html = "";
+
+	html += '<select id="' + elm_id + '" name="' + elm_id + '"';
+	html += ' class="mceLinkList" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.' + target_form_element + '.value=';
+	html += 'this.options[this.selectedIndex].value;';
+
+	if (typeof(onchange_func) != "undefined")
+		html += onchange_func + '(\'' + target_form_element + '\',this.options[this.selectedIndex].text,this.options[this.selectedIndex].value);';
+
+	html += '"><option value="">---</option>';
+
+	for (var i=0; i<tinyMCELinkList.length; i++)
+		html += '<option value="' + tinyMCELinkList[i][1] + '">' + tinyMCELinkList[i][0] + '</option>';
+
+	html += '</select>';
+
+	return html;
+
+	// tinyMCE.debug('-- image list start --', html, '-- image list end --');
+}
+
+function getTargetListHTML(elm_id, target_form_element) {
+	var targets = tinyMCE.getParam('theme_advanced_link_targets', '').split(';');
+	var html = '';
+
+	html += '<select id="' + elm_id + '" name="' + elm_id + '" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.' + target_form_element + '.value=';
+	html += 'this.options[this.selectedIndex].value;">';
+
+	html += '<option value="_self">' + tinyMCE.getLang('lang_advlink_target_same') + '</option>';
+	html += '<option value="_blank">' + tinyMCE.getLang('lang_advlink_target_blank') + ' (_blank)</option>';
+	html += '<option value="_parent">' + tinyMCE.getLang('lang_advlink_target_parent') + ' (_parent)</option>';
+	html += '<option value="_top">' + tinyMCE.getLang('lang_advlink_target_top') + ' (_top)</option>';
+
+	for (var i=0; i<targets.length; i++) {
+		var key, value;
+
+		if (targets[i] == "")
+			continue;
+
+		key = targets[i].split('=')[0];
+		value = targets[i].split('=')[1];
+
+		html += '<option value="' + key + '">' + value + ' (' + key + ')</option>';
+	}
+
+	html += '</select>';
+
+	return html;
+}
+
+// While loading
+preinit();

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/de.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/de.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/de.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,20 @@
+// DE lang variables
+
+tinyMCELang['lang_insert_link_target_same'] = 'Im selben Frame &ouml;ffnen';
+tinyMCELang['lang_insert_link_target_parent'] = 'Im dar&uuml;ber liegenden Frame &ouml;ffnen';
+tinyMCELang['lang_insert_link_target_top']= 'Im obersten Frame &ouml;ffnen';
+tinyMCELang['lang_insert_link_target_blank']= 'In einem neuen Fenster &ouml;ffnen';
+tinyMCELang['lang_insert_link_target_named']= '&Ouml;ffnen im Fenster/Frame';
+tinyMCELang['lang_insert_link_popup'] = 'JS-Popup';
+tinyMCELang['lang_insert_link_popup_url'] = 'Popup URL';
+tinyMCELang['lang_insert_link_popup_name']= 'Fenstername';
+tinyMCELang['lang_insert_link_popup_return']= 'mit \'return false\'';
+tinyMCELang['lang_insert_link_popup_scrollbars']= 'Scrollbars anzeigen';
+tinyMCELang['lang_insert_link_popup_statusbar'] = 'Statusbar anzeigen';
+tinyMCELang['lang_insert_link_popup_toolbar'] = 'Toolbars anzeigen';
+tinyMCELang['lang_insert_link_popup_menubar'] = 'Menu anzeigen';
+tinyMCELang['lang_insert_link_popup_location']= 'Adresszeile anzeigen';
+tinyMCELang['lang_insert_link_popup_resizable'] = 'Gr&ouml;&szlig;e &auml;nderbar';
+tinyMCELang['lang_insert_link_popup_size']= 'Gr&ouml;&szlig;e';
+tinyMCELang['lang_insert_link_popup_position']= 'Position (X/Y)';
+tinyMCELang['lang_insert_link_popup_missingtarget'] = 'Please insert a name for the target or choose another option.';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,46 @@
+// UK lang variables
+
+tinyMCE.addToLang('advlink',{
+general_tab : 'General',
+popup_tab : 'Popup',
+events_tab : 'Events',
+advanced_tab : 'Advanced',
+general_props : 'General properties',
+popup_props : 'Popup properties',
+event_props : 'Events',
+advanced_props : 'Advanced properties',
+popup_opts : 'Options',
+anchor_names : 'Anchors',
+target_same : 'Open in this window / frame',
+target_parent : 'Open in parent window / frame',
+target_top : 'Open in top frame (replaces all frames)',
+target_blank : 'Open in new window',
+popup : 'Javascript popup',
+popup_url : 'Popup URL',
+popup_name : 'Window name',
+popup_return : 'Insert \'return false\'',
+popup_scrollbars : 'Show scrollbars',
+popup_statusbar : 'Show status bar',
+popup_toolbar : 'Show toolbars',
+popup_menubar : 'Show menu bar',
+popup_location : 'Show location bar',
+popup_resizable : 'Make window resizable',
+popup_dependent : 'Dependent (Mozilla/Firefox only)',
+popup_size : 'Size',
+popup_position : 'Position (X/Y)',
+id : 'Id',
+style: 'Style',
+classes : 'Classes',
+target_name : 'Target name',
+langdir : 'Language direction',
+target_langcode : 'Target language',
+langcode : 'Language code',
+encoding : 'Target character encoding',
+mime : 'Target MIME type',
+rel : 'Relationship page to target',
+rev : 'Relationship target to page',
+tabindex : 'Tabindex',
+accesskey : 'Accesskey',
+ltr : 'Left to right',
+rtl : 'Right to left'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/ko.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/ko.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/ko.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,19 @@
+// KO lang variables
+
+tinyMCELang['lang_insert_link_target_same'] = '°°Àº â¿¡¼­ ¸µÅ©/ÇÁ·¹ÀÓ ¿­±â';
+tinyMCELang['lang_insert_link_target_parent'] = 'ºÎ¸ð â¿¡¼­ ¸µÅ©/ÇÁ·¹ÀÓ ¿­±â';
+tinyMCELang['lang_insert_link_target_top'] = 'TOP ÇÁ·¹ÀÓ¿¡¼­ ¿­±â (¸ðµç ÇÁ·¹ÀÓÀ» ´ëü)';
+tinyMCELang['lang_insert_link_target_blank'] = '»õ â¿¡¼­ ¿­±â';
+tinyMCELang['lang_insert_link_target_named'] = '»õ â¿¡¼­ ¿­±â';
+tinyMCELang['lang_insert_link_popup'] = 'JS-Popup';
+tinyMCELang['lang_insert_link_popup_url'] = 'Æ˾÷ URL';
+tinyMCELang['lang_insert_link_popup_name'] = 'â À̸§';
+tinyMCELang['lang_insert_link_popup_return'] = '\'return false\' ³Ö±â';
+tinyMCELang['lang_insert_link_popup_scrollbars'] = '½ºÅ©·Ñ¹Ù¸¦ º¸¿©ÁÜ';
+tinyMCELang['lang_insert_link_popup_statusbar'] = '»óÅÂâÀ» º¸¿©ÁÜ';
+tinyMCELang['lang_insert_link_popup_toolbar'] = 'Åø¹Ù¸¦ º¸¿©ÁÜ';
+tinyMCELang['lang_insert_link_popup_menubar'] = '¸Þ´º¹Ù¸¦ º¸¿©ÁÜ';
+tinyMCELang['lang_insert_link_popup_location'] = 'À§Ä¡ Ç¥½ÃÁÙÀ» º¸¿©ÁÜ';
+tinyMCELang['lang_insert_link_popup_resizable'] = 'Å©±â Á¶Àý °¡´ÉÇÑ À©µµ¿ì »ý¼º';
+tinyMCELang['lang_insert_link_popup_size'] = 'Å©±â';
+tinyMCELang['lang_insert_link_popup_position'] = 'À§Ä¡ (X/Y)';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/se.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/se.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/se.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,20 @@
+// SE lang variables
+
+tinyMCELang['lang_insert_link_target_same'] = '&Ouml;ppna i samma f&ouml;nster / ram';
+tinyMCELang['lang_insert_link_target_parent'] = '&Ouml;ppna i underliggande f&ouml;nster / ram';
+tinyMCELang['lang_insert_link_target_top'] = '&Ouml;ppna i topp ramen (ers&auml;tter alla ramar)';
+tinyMCELang['lang_insert_link_target_blank'] = '&Ouml;ppna i ett nytt f&ouml;nster';
+tinyMCELang['lang_insert_link_target_named'] = '&Ouml;ppna i ett specifikt f&ouml;nster';
+tinyMCELang['lang_insert_link_popup'] = 'JS-Popup';
+tinyMCELang['lang_insert_link_popup_url'] = 'Popup URL';
+tinyMCELang['lang_insert_link_popup_name'] = 'F&ouml;nstrets namn';
+tinyMCELang['lang_insert_link_popup_return'] = 'S&auml;ttin \'return false\'';
+tinyMCELang['lang_insert_link_popup_scrollbars'] = 'Visa scrollbars';
+tinyMCELang['lang_insert_link_popup_statusbar'] = 'Visa statusbar';
+tinyMCELang['lang_insert_link_popup_toolbar'] = 'Visa toolbars';
+tinyMCELang['lang_insert_link_popup_menubar'] = 'Visa menubar';
+tinyMCELang['lang_insert_link_popup_location'] = 'Visa locationbar';
+tinyMCELang['lang_insert_link_popup_resizable'] = 'G&ouml;r f&ouml;nstret skalbart';
+tinyMCELang['lang_insert_link_popup_size'] = 'Storlek';
+tinyMCELang['lang_insert_link_popup_position'] = 'Position (X/Y)';
+tinyMCELang['lang_insert_link_popup_missingtarget'] = 'Var god skriv ett namn för målet eller välj ett annat val.';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/uk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/uk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/langs/uk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,20 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_link_target_same'] = 'Open in this window / frame';
+tinyMCELang['lang_insert_link_target_parent'] = 'Open in parent window / frame';
+tinyMCELang['lang_insert_link_target_top'] = 'Open in top frame (replaces all frames)';
+tinyMCELang['lang_insert_link_target_blank'] = 'Open in new window';
+tinyMCELang['lang_insert_link_target_named'] = 'Open in the window';
+tinyMCELang['lang_insert_link_popup'] = 'JS-Popup';
+tinyMCELang['lang_insert_link_popup_url'] = 'Popup URL';
+tinyMCELang['lang_insert_link_popup_name'] = 'Window name';
+tinyMCELang['lang_insert_link_popup_return'] = 'insert \'return false\'';
+tinyMCELang['lang_insert_link_popup_scrollbars'] = 'Show scrollbars';
+tinyMCELang['lang_insert_link_popup_statusbar'] = 'Show statusbar';
+tinyMCELang['lang_insert_link_popup_toolbar'] = 'Show toolbars';
+tinyMCELang['lang_insert_link_popup_menubar'] = 'Show menubar';
+tinyMCELang['lang_insert_link_popup_location'] = 'Show locationbar';
+tinyMCELang['lang_insert_link_popup_resizable'] = 'Make window resizable';
+tinyMCELang['lang_insert_link_popup_size'] = 'Size';
+tinyMCELang['lang_insert_link_popup_position'] = 'Position (X/Y)';
+tinyMCELang['lang_insert_link_popup_missingtarget'] = 'Please insert a name for the target or choose another option.';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/link.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/link.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/link.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,337 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_insert_link_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/functions.js"></script>
+	<link href="css/advlink.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body id="advlink" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+    <form onsubmit="insertAction();return false;" action="#">
+		<div class="tabs">
+			<ul>
+				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_advlink_general_tab}</a></span></li>
+				<li id="popup_tab"><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{$lang_advlink_popup_tab}</a></span></li>
+				<li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{$lang_advlink_events_tab}</a></span></li>
+				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_advlink_advanced_tab}</a></span></li>
+			</ul>
+		</div>
+
+		<div class="panel_wrapper">
+			<div id="general_panel" class="panel current">
+				<fieldset>
+					<legend>{$lang_advlink_general_props}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+						  <td nowrap="nowrap"><label id="hreflabel" for="href">{$lang_insert_link_url}</label></td>
+						  <td><table border="0" cellspacing="0" cellpadding="0">
+								<tr>
+								  <td><input id="href" name="href" type="text" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" /></td>
+								  <td id="hrefbrowsercontainer">&nbsp;</td>
+								</tr>
+							  </table></td>
+						</tr>
+						<tr id="linklisthrefrow">
+							<td class="column1"><label for="linklisthref">{$lang_link_list}</label></td>
+							<td colspan="2" id="linklisthrefcontainer">&nbsp;</td>
+						</tr>
+						<tr>
+							<td class="column1"><label for="anchorlist">{$lang_advlink_anchor_names}</label></td>
+							<td colspan="2" id="anchorlistcontainer">&nbsp;</td>
+						</tr>
+						<tr>
+							<td><label id="targetlistlabel" for="targetlist">{$lang_insert_link_target}</label></td>
+							<td id="targetlistcontainer">&nbsp;</td>
+						</tr>
+						<tr>
+							<td nowrap="nowrap"><label id="titlelabel" for="title">{$lang_theme_insert_link_titlefield}</label></td>
+							<td><input id="title" name="title" type="text" value="" /></td>
+						</tr>
+						<tr>
+							<td><label id="classlabel" for="classlist">{$lang_class_name}</label></td>
+							<td>
+								 <select id="classlist" name="classlist" onchange="changeClass();">
+									<option value="" selected>{$lang_not_set}</option>
+								 </select>
+							</td>
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+
+			<div id="popup_panel" class="panel">
+				<fieldset>
+					<legend>{$lang_advlink_popup_props}</legend>
+
+					<input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" />
+					<label id="ispopuplabel" for="ispopup">{$lang_advlink_popup}</label>
+
+					<table border="0" cellpadding="0" cellspacing="4">
+						<tr>
+							<td nowrap="nowrap"><label for="popupurl">{$lang_advlink_popup_url}</label>&nbsp;</td>
+							<td>
+								<table border="0" cellspacing="0" cellpadding="0">
+									<tr>
+										<td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td>
+										<td id="popupurlbrowsercontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+						<tr>
+							<td nowrap="nowrap"><label for="popupname">{$lang_advlink_popup_name}</label>&nbsp;</td>
+							<td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td>
+						</tr>
+						<tr>
+							<td nowrap="nowrap"><label>{$lang_advlink_popup_size}</label>&nbsp;</td>
+							<td nowrap="nowrap">
+								<input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" /> x
+								<input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" /> px
+							</td>
+						</tr>
+						<tr>
+							<td nowrap="nowrap" id="labelleft"><label>{$lang_advlink_popup_position}</label>&nbsp;</td>
+							<td nowrap="nowrap">
+								<input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" /> /                                
+								<input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" /> (c /c = center)
+							</td>
+						</tr>
+					</table>
+
+					<fieldset>
+						<legend>{$lang_advlink_popup_opts}</legend>
+
+						<table border="0" cellpadding="0" cellspacing="4">
+							<tr>
+								<td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td>
+								<td nowrap="nowrap"><label id="popuplocationlabel" for="popuplocation">{$lang_advlink_popup_location}</label></td>
+								<td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td>
+								<td nowrap="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{$lang_advlink_popup_scrollbars}</label></td>
+							</tr>
+							<tr>
+								<td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td>
+								<td nowrap="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{$lang_advlink_popup_menubar}</label></td>
+								<td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td>
+								<td nowrap="nowrap"><label id="popupresizablelabel" for="popupresizable">{$lang_advlink_popup_resizable}</label></td>
+							</tr>
+							<tr>
+								<td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td>
+								<td nowrap="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{$lang_advlink_popup_toolbar}</label></td>
+								<td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td>
+								<td nowrap="nowrap"><label id="popupdependentlabel" for="popupdependent">{$lang_advlink_popup_dependent}</label></td>
+							</tr>
+							<tr>
+								<td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td>
+								<td nowrap="nowrap"><label id="popupstatuslabel" for="popupstatus">{$lang_advlink_popup_statusbar}</label></td>
+								<td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td>
+								<td nowrap="nowrap"><label id="popupreturnlabel" for="popupreturn">{$lang_advlink_popup_return}</label></td>
+							</tr>
+						</table>
+					</fieldset>
+				</fieldset>
+			</div>
+
+			<div id="advanced_panel" class="panel">
+			<fieldset>
+					<legend>{$lang_advlink_advanced_props}</legend>
+
+					<table border="0" cellpadding="0" cellspacing="4">
+						<tr>
+							<td class="column1"><label id="idlabel" for="id">{$lang_advlink_id}</label></td> 
+							<td><input id="id" name="id" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td><label id="stylelabel" for="style">{$lang_advlink_style}</label></td>
+							<td><input type="text" id="style" name="style" value="" /></td>
+						</tr>
+
+						<tr>
+							<td><label id="classeslabel" for="classes">{$lang_advlink_classes}</label></td>
+							<td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td>
+						</tr>
+
+						<tr>
+							<td><label id="targetlabel" for="target">{$lang_advlink_target_name}</label></td>
+							<td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td>
+						</tr>
+
+						<tr>
+							<td class="column1"><label id="dirlabel" for="dir">{$lang_advlink_langdir}</label></td> 
+							<td>
+								<select id="dir" name="dir"> 
+										<option value="">{$lang_not_set}</option> 
+										<option value="ltr">{$lang_advlink_ltr}</option> 
+										<option value="rtl">{$lang_advlink_rtl}</option> 
+								</select>
+							</td> 
+						</tr>
+
+						<tr>
+							<td><label id="hreflanglabel" for="hreflang">{$lang_advlink_target_langcode}</label></td>
+							<td><input type="text" id="hreflang" name="hreflang" value="" /></td>
+						</tr>
+
+						<tr>
+							<td class="column1"><label id="langlabel" for="lang">{$lang_advlink_langcode}</label></td> 
+							<td>
+								<input id="lang" name="lang" type="text" value="" />
+							</td> 
+						</tr>
+
+						<tr>
+							<td><label id="charsetlabel" for="charset">{$lang_advlink_encoding}</label></td>
+							<td><input type="text" id="charset" name="charset" value="" /></td>
+						</tr>
+
+						<tr>
+							<td><label id="typelabel" for="type">{$lang_advlink_mime}</label></td>
+							<td><input type="text" id="type" name="type" value="" /></td>
+						</tr>
+
+						<tr>
+							<td><label id="rellabel" for="rel">{$lang_advlink_rel}</label></td>
+							<td><select id="rel" name="rel"> 
+									<option value="">{$lang_not_set}</option> 
+									<option value="lightbox">Lightbox</option> 
+									<option value="alternate">Alternate</option> 
+									<option value="designates">Designates</option> 
+									<option value="stylesheet">Stylesheet</option> 
+									<option value="start">Start</option> 
+									<option value="next">Next</option> 
+									<option value="prev">Prev</option> 
+									<option value="contents">Contents</option> 
+									<option value="index">Index</option> 
+									<option value="glossary">Glossary</option> 
+									<option value="copyright">Copyright</option> 
+									<option value="chapter">Chapter</option> 
+									<option value="subsection">Subsection</option> 
+									<option value="appendix">Appendix</option> 
+									<option value="help">Help</option> 
+									<option value="bookmark">Bookmark</option>
+									<option value="nofollow">No Follow</option>
+									<option value="tag">Tag</option>
+								</select> 
+							</td>
+						</tr>
+
+						<tr>
+							<td><label id="revlabel" for="rev">{$lang_advlink_rev}</label></td>
+							<td><select id="rev" name="rev"> 
+									<option value="">{$lang_not_set}</option> 
+									<option value="alternate">Alternate</option> 
+									<option value="designates">Designates</option> 
+									<option value="stylesheet">Stylesheet</option> 
+									<option value="start">Start</option> 
+									<option value="next">Next</option> 
+									<option value="prev">Prev</option> 
+									<option value="contents">Contents</option> 
+									<option value="index">Index</option> 
+									<option value="glossary">Glossary</option> 
+									<option value="copyright">Copyright</option> 
+									<option value="chapter">Chapter</option> 
+									<option value="subsection">Subsection</option> 
+									<option value="appendix">Appendix</option> 
+									<option value="help">Help</option> 
+									<option value="bookmark">Bookmark</option> 
+								</select> 
+							</td>
+						</tr>
+
+						<tr>
+							<td><label id="tabindexlabel" for="tabindex">{$lang_advlink_tabindex}</label></td>
+							<td><input type="text" id="tabindex" name="tabindex" value="" /></td>
+						</tr>
+
+						<tr>
+							<td><label id="accesskeylabel" for="accesskey">{$lang_advlink_accesskey}</label></td>
+							<td><input type="text" id="accesskey" name="accesskey" value="" /></td>
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+
+			<div id="events_panel" class="panel">
+			<fieldset>
+					<legend>{$lang_advlink_event_props}</legend>
+
+					<table border="0" cellpadding="0" cellspacing="4">
+						<tr>
+							<td class="column1"><label for="onfocus">onfocus</label></td> 
+							<td><input id="onfocus" name="onfocus" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="onblur">onblur</label></td> 
+							<td><input id="onblur" name="onblur" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="onclick">onclick</label></td> 
+							<td><input id="onclick" name="onclick" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="ondblclick">ondblclick</label></td> 
+							<td><input id="ondblclick" name="ondblclick" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="onmousedown">onmousedown</label></td> 
+							<td><input id="onmousedown" name="onmousedown" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="onmouseup">onmouseup</label></td> 
+							<td><input id="onmouseup" name="onmouseup" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="onmouseover">onmouseover</label></td> 
+							<td><input id="onmouseover" name="onmouseover" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="onmousemove">onmousemove</label></td> 
+							<td><input id="onmousemove" name="onmousemove" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="onmouseout">onmouseout</label></td> 
+							<td><input id="onmouseout" name="onmouseout" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="onkeypress">onkeypress</label></td> 
+							<td><input id="onkeypress" name="onkeypress" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="onkeydown">onkeydown</label></td> 
+							<td><input id="onkeydown" name="onkeydown" type="text" value="" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="onkeyup">onkeyup</label></td> 
+							<td><input id="onkeyup" name="onkeyup" type="text" value="" /></td> 
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+		</div>
+
+		<div class="mceActionPanel">
+			<div style="float: left">
+				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertAction();" />
+			</div>
+
+			<div style="float: right">
+				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+			</div>
+		</div>
+    </form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/advlink/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('autosave');var TinyMCE_AutoSavePlugin={getInfo:function(){return{longname:'Auto save',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_autosave.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},_beforeUnloadHandler:function(){var n,inst,anyDirty=false,msg=tinyMCE.getLang("lang_autosave_unload_msg");if(tinyMCE.getParam("fullscreen_is_enabled"))return;for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;if(inst.isDirty())return msg}return}};window.onbeforeunload=TinyMCE_AutoSavePlugin._beforeUnloadHandler;tinyMCE.addPlugin("autosave",TinyMCE_AutoSavePlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,46 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('autosave');
+
+var TinyMCE_AutoSavePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Auto save',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_autosave.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	// Private plugin internal methods
+
+	_beforeUnloadHandler : function() {
+		var n, inst, anyDirty = false, msg = tinyMCE.getLang("lang_autosave_unload_msg");
+
+		if (tinyMCE.getParam("fullscreen_is_enabled"))
+			return;
+
+		for (n in tinyMCE.instances) {
+			inst = tinyMCE.instances[n];
+
+			if (!tinyMCE.isInstance(inst))
+				continue;
+
+			if (inst.isDirty())
+				return msg;
+		}
+
+		return;
+	}
+};
+
+window.onbeforeunload = TinyMCE_AutoSavePlugin._beforeUnloadHandler;
+
+tinyMCE.addPlugin("autosave", TinyMCE_AutoSavePlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// EN lang variables
+
+tinyMCE.addToLang('',{
+autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/autosave/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/cleanup/editor_plugin.js
===================================================================

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/cleanup/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/cleanup/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/cleanup/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,10 @@
+/**
+ * $Id: editor_plugin_src.js 18 2006-06-29 14:11:23Z spocke $
+ *
+ * Experimental plugin for new Cleanup routine, this logic will be moved into the core ones it's stable enougth.
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Dummy file since cleanup is now moved to core */

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/cleanup/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/cleanup/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/cleanup/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Dummy plugin since cleanup is now moved into core.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/css/contextmenu.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/css/contextmenu.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/css/contextmenu.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,74 @@
+.contextMenuIEPopup {
+	padding: 0;
+	margin: 0;
+	border: 0;
+	overflow: hidden;
+}
+
+.contextMenu {
+	position: absolute;
+	cursor: default;
+	z-index: 1000;
+	border: 1px solid #D4D0C8;
+	background-color: #FFFFFF;
+}
+
+.contextMenuItem, .contextMenuItemOver {
+}
+
+.contextMenuSeparator {
+	width: 100%;
+	background-color: #D4D0C8;
+	border: 0;
+}
+
+.contextMenuImage, .contextMenuItemDisabled {
+	border: 0;
+}
+
+.contextMenuIcon {
+	background-color: #F0F0EE;
+}
+
+.contextMenuItemOver .contextMenuIcon {
+	background-color: #B6BDD2;
+}
+
+.contextMenuIcon {
+	background-color: #F0F0EE;
+}
+
+.contextMenuItemDisabled img {
+	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);
+	-moz-opacity:0.3;
+	opacity: 0.3;
+}
+
+.contextMenuText {
+	font-family: Tahoma, Verdana, Arial, Helvetica;
+	font-size: 11px;
+	line-height: 20px;
+}
+
+.contextMenuItemDisabled {
+	color: #AAAAAA;
+}
+
+.contextMenuText a {
+	display: block;
+	line-height: 20px;
+	width: 100%;
+	text-decoration: none;
+	color: black;
+	font-weight: normal;
+	margin: 0;
+	padding: 0;
+}
+
+.contextMenuText a:hover {
+	background-color: #B6BDD2;
+	text-decoration: none !important;
+	font-weight: normal;
+	margin: 0;
+	padding: 0;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+if(!tinyMCE.settings['contextmenu_skip_plugin_css']){tinyMCE.loadCSS(tinyMCE.baseURL+"/plugins/contextmenu/css/contextmenu.css")}var TinyMCE_ContextMenuPlugin={_contextMenu:null,getInfo:function(){return{longname:'Context menus',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_contextmenu.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){if(tinyMCE.isMSIE5_0&&tinyMCE.isOpera)return;TinyMCE_ContextMenuPlugin._contextMenu=new TinyMCE_ContextMenu({commandhandler:"TinyMCE_ContextMenuPlugin._commandHandler",spacer_image:tinyMCE.baseURL+"/plugins/contextmenu/images/spacer.gif"});tinyMCE.addEvent(inst.getDoc(),"click",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(inst.getDoc(),"keypress",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(inst.getDoc(),"keydown",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(document,"click",!
 TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(document,"keypress",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(document,"keydown",TinyMCE_ContextMenuPlugin._hideContextMenu);if(tinyMCE.isGecko){tinyMCE.addEvent(inst.getDoc(),"contextmenu",function(e){TinyMCE_ContextMenuPlugin._showContextMenu(tinyMCE.isMSIE?inst.contentWindow.event:e,inst)})}else tinyMCE.addEvent(inst.getDoc(),"contextmenu",TinyMCE_ContextMenuPlugin._onContextMenu)},_onContextMenu:function(e){var elm=tinyMCE.isMSIE?e.srcElement:e.target;var targetInst,body;if((body=tinyMCE.getParentElement(elm,"body"))!=null){for(var n in tinyMCE.instances){var inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;if(body==inst.getBody()){targetInst=inst;break}}return TinyMCE_ContextMenuPlugin._showContextMenu(tinyMCE.isMSIE?targetInst.contentWindow.event:e,targetInst)}},_showContextMenu:function(e,inst){function getAttrib(elm,name){return elm.getAttribute(name)?elm.getAttribute(name!
 ):""}var x,y,elm,contextMenu;var pos=tinyMCE.getAbsPosition(inst.ifram
eElement);x=tinyMCE.isMSIE?e.screenX:pos.absLeft+(e.pageX-inst.getBody().scrollLeft);y=tinyMCE.isMSIE?e.screenY:pos.absTop+(e.pageY-inst.getBody().scrollTop);elm=tinyMCE.isMSIE?e.srcElement:e.target;contextMenu=this._contextMenu;contextMenu.inst=inst;window.setTimeout(function(){var theme=tinyMCE.getParam("theme");contextMenu.clearAll();var sel=inst.selection.getSelectedText().length!=0||elm.nodeName=="IMG";contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/cut.gif","$lang_cut_desc","Cut","",!sel);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/copy.gif","$lang_copy_desc","Copy","",!sel);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_paste_desc","Paste","",false);if(sel||(elm?(elm.nodeName=='A')||(elm.nodeName=='IMG'):false)){contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/themes/advanced/images/link.gif","$lang_link_desc",inst.hasPlugin("advlink")?"mceAdvLink":"mceLink");contextMenu.addItem(tinyMCE.b!
 aseURL+"/themes/advanced/images/unlink.gif","$lang_unlink_desc","unlink","",(elm?(elm.nodeName!='A')&&(elm.nodeName!='IMG'):true))}elm=tinyMCE.getParentElement(elm,"img,table,td"+(inst.hasPlugin("advhr")?',hr':''));if(elm){switch(elm.nodeName){case"IMG":contextMenu.addSeparator();if(tinyMCE.hasPlugin('flash')&&tinyMCE.getAttrib(elm,'class').indexOf('mceItemFlash')!=-1)contextMenu.addItem(tinyMCE.baseURL+"/plugins/flash/images/flash.gif","$lang_flash_props","mceFlash");else if(tinyMCE.hasPlugin('media')&&/mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(tinyMCE.getAttrib(elm,'class')))contextMenu.addItem(tinyMCE.baseURL+"/plugins/flash/images/flash.gif","$lang_media_title","mceMedia");else contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/image.gif","$lang_image_props_desc",inst.hasPlugin("advimage")?"mceAdvImage":"mceImage");break;case"HR":contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/advhr/images/advhr.gif","$lang_inser!
 t_advhr_desc","mceAdvancedHr");break;case"TABLE":case"TD":if(inst.hasP
lugin("table")){var colspan=(elm.nodeName=="TABLE")?"":getAttrib(elm,"colspan");var rowspan=(elm.nodeName=="TABLE")?"":getAttrib(elm,"rowspan");colspan=colspan==""?"1":colspan;rowspan=rowspan==""?"1":rowspan;contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/cut.gif","$lang_table_cut_row_desc","mceTableCutRow");contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/copy.gif","$lang_table_copy_row_desc","mceTableCopyRow");contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_table_paste_row_before_desc","mceTablePasteRowBefore","",inst.tableRowClipboard==null);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_table_paste_row_after_desc","mceTablePasteRowAfter","",inst.tableRowClipboard==null);contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table.gif","$lang_table_desc","mceInsertTable","insert");contextMenu.addItem(tinyMCE.baseURL+"/plugin!
 s/table/images/table.gif","$lang_table_props_desc","mceInsertTable");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_cell_props.gif","$lang_table_cell_desc","mceTableCellProps");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete.gif","$lang_table_del","mceTableDelete");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_row_props.gif","$lang_table_row_desc","mceTableRowProps");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_row_before.gif","$lang_table_row_before_desc","mceTableInsertRowBefore");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_row_after.gif","$lang_table_row_after_desc","mceTableInsertRowAfter");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete_row.gif","$lang_table_delete_row_desc","mceTableDeleteRow");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_col_before.g!
 if","$lang_table_col_before_desc","mceTableInsertColBefore");contextMe
nu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_col_after.gif","$lang_table_col_after_desc","mceTableInsertColAfter");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete_col.gif","$lang_table_delete_col_desc","mceTableDeleteCol");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_split_cells.gif","$lang_table_split_cells_desc","mceTableSplitCells","",(colspan=="1"&&rowspan=="1"));contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_merge_cells.gif","$lang_table_merge_cells_desc","mceTableMergeCells","",false)}break}}else{if(inst.hasPlugin("table")){contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table.gif","$lang_table_desc","mceInsertTable","insert")}}contextMenu.show(x,y)},10);tinyMCE.cancelEvent(e);return false},_hideContextMenu:function(){if(TinyMCE_ContextMenuPlugin._contextMenu)TinyMCE_ContextMenuPlugin._contextMenu.hide()},_commandHandler:funct!
 ion(command,value){var cm=TinyMCE_ContextMenuPlugin._contextMenu;cm.hide();var ui=false;if(command=="mceInsertTable"||command=="mceTableCellProps"||command=="mceTableRowProps"||command=="mceTableMergeCells")ui=true;if(command=="Paste")value=null;if(tinyMCE.getParam("dialog_type")=="modal"&&tinyMCE.isMSIE){window.setTimeout(function(){cm.inst.execCommand(command,ui,value)},100)}else cm.inst.execCommand(command,ui,value)}};tinyMCE.addPlugin("contextmenu",TinyMCE_ContextMenuPlugin);function TinyMCE_ContextMenu(settings){var doc,self=this;function defParam(key,def_val){settings[key]=typeof(settings[key])!="undefined"?settings[key]:def_val}this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.contextMenuDiv=document.createElement("div");this.contextMenuDiv.className="contextMenu";this.contextMenuDiv.setAttribute("class","contextMenu");this.contextMenuDiv.style.display="none";this.contextMenuDiv.style.position='absolute';this.contextMenuDiv.style.zindex=1000;this.co!
 ntextMenuDiv.style.left='0';this.contextMenuDiv.style.top='0';this.con
textMenuDiv.unselectable="on";document.body.appendChild(this.contextMenuDiv);defParam("commandhandler","");defParam("spacer_image","images/spacer.gif");this.items=new Array();this.settings=settings;this.html="";if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0&&!tinyMCE.isOpera){this.pop=window.createPopup();doc=this.pop.document;doc.open();doc.write('<html><head><link href="'+tinyMCE.baseURL+'/plugins/contextmenu/css/contextmenu.css" rel="stylesheet" type="text/css" /></head><body unselectable="yes" class="contextMenuIEPopup"></body></html>');doc.close()}};TinyMCE_ContextMenu.prototype={clearAll:function(){this.html="";this.contextMenuDiv.innerHTML=""},addSeparator:function(){this.html+='<tr class="contextMenuItem"><td class="contextMenuIcon"><img src="'+this.settings['spacer_image']+'" width="20" height="1" class="contextMenuImage" /></td><td><img class="contextMenuSeparator" width="1" height="1" src="'+this.settings['spacer_image']+'" /></td></tr>'},addItem:function(icon,title,comman!
 d,value,disabled){if(title.charAt(0)=='$')title=tinyMCE.getLang(title.substring(1));var onMouseDown='';var html='';if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0)onMouseDown='contextMenu.execCommand(\''+command+'\', \''+value+'\');return false;';else onMouseDown=this.settings['commandhandler']+'(\''+command+'\', \''+value+'\');return false;';if(icon=="")icon=this.settings['spacer_image'];if(!disabled)html+='<tr class="contextMenuItem">';else html+='<tr class="contextMenuItemDisabled">';html+='<td class="contextMenuIcon"><img src="'+icon+'" width="20" height="20" class="contextMenuImage" /></td>';html+='<td><div class="contextMenuText">';html+='<a href="javascript:void(0);" onclick="'+onMouseDown+'" onmousedown="return false;">&#160;';html+=title;html+='&#160;</a>';html+='</div></td>';html+='</tr>';this.html+=html},show:function(x,y){var vp,width,height,yo;if(this.html=="")return;var html='';html+='<a href="#"></a><table border="0" cellpadding="0" cellspacing="0">';html+=this.html;ht!
 ml+='</table>';this.contextMenuDiv.innerHTML=html;this.contextMenuDiv.
style.display="block";width=this.contextMenuDiv.offsetWidth;height=this.contextMenuDiv.offsetHeight;this.contextMenuDiv.style.display="none";if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0&&!tinyMCE.isOpera){this.pop.document.body.innerHTML='<div class="contextMenu">'+html+"</div>";this.pop.document.tinyMCE=tinyMCE;this.pop.document.contextMenu=this;this.pop.show(x,y,width,height)}else{vp=this.getViewPort();yo=tinyMCE.isMSIE5_0?document.body.scrollTop:self.pageYOffset;this.contextMenuDiv.style.left=(x>vp.left+vp.width-width?vp.left+vp.width-width:x)+'px';this.contextMenuDiv.style.top=(y>vp.top+vp.height-height?vp.top+vp.height-height:y)+'px';this.contextMenuDiv.style.display="block"}},getViewPort:function(){return{left:self.pageXOffset||self.document.documentElement.scrollLeft||self.document.body.scrollLeft,top:self.pageYOffset||self.document.documentElement.scrollTop||self.document.body.scrollTop,width:document.documentElement.offsetWidth||document.body.offsetWidth,height:self.innerH!
 eight||document.documentElement.clientHeight||document.body.clientHeight}},hide:function(){if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0&&!tinyMCE.isOpera)this.pop.hide();else this.contextMenuDiv.style.display="none"},execCommand:function(command,value){eval(this.settings['commandhandler']+"(command, value);")}};
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,357 @@
+/**
+ * $Id: editor_plugin_src.js 129 2006-10-23 09:45:17Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+if (!tinyMCE.settings['contextmenu_skip_plugin_css']) {
+	tinyMCE.loadCSS(tinyMCE.baseURL + "/plugins/contextmenu/css/contextmenu.css");
+}
+
+var TinyMCE_ContextMenuPlugin = {
+	// Private fields
+	_contextMenu : null,
+
+	getInfo : function() {
+		return {
+			longname : 'Context menus',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_contextmenu.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		// Is not working on MSIE 5.0 or Opera no contextmenu event
+		if (tinyMCE.isMSIE5_0 && tinyMCE.isOpera)
+			return;
+
+		TinyMCE_ContextMenuPlugin._contextMenu = new TinyMCE_ContextMenu({
+			commandhandler : "TinyMCE_ContextMenuPlugin._commandHandler",
+			spacer_image : tinyMCE.baseURL + "/plugins/contextmenu/images/spacer.gif"
+		});
+
+		// Add hide event handles
+		tinyMCE.addEvent(inst.getDoc(), "click", TinyMCE_ContextMenuPlugin._hideContextMenu);
+		tinyMCE.addEvent(inst.getDoc(), "keypress", TinyMCE_ContextMenuPlugin._hideContextMenu);
+		tinyMCE.addEvent(inst.getDoc(), "keydown", TinyMCE_ContextMenuPlugin._hideContextMenu);
+		tinyMCE.addEvent(document, "click", TinyMCE_ContextMenuPlugin._hideContextMenu);
+		tinyMCE.addEvent(document, "keypress", TinyMCE_ContextMenuPlugin._hideContextMenu);
+		tinyMCE.addEvent(document, "keydown", TinyMCE_ContextMenuPlugin._hideContextMenu);
+
+		// Attach contextmenu event
+		if (tinyMCE.isGecko) {
+			tinyMCE.addEvent(inst.getDoc(), "contextmenu", function(e) {TinyMCE_ContextMenuPlugin._showContextMenu(tinyMCE.isMSIE ? inst.contentWindow.event : e, inst);});
+		} else
+			tinyMCE.addEvent(inst.getDoc(), "contextmenu", TinyMCE_ContextMenuPlugin._onContextMenu);
+	},
+
+	// Private plugin internal methods
+
+	_onContextMenu : function(e) {
+		var elm = tinyMCE.isMSIE ? e.srcElement : e.target;
+		var targetInst, body;
+
+		// Find instance
+		if ((body = tinyMCE.getParentElement(elm, "body")) != null) {
+			for (var n in tinyMCE.instances) {
+				var inst = tinyMCE.instances[n];
+				if (!tinyMCE.isInstance(inst))
+					continue;
+
+				if (body == inst.getBody()) {
+					targetInst = inst;
+					break;
+				}
+			}
+
+			return TinyMCE_ContextMenuPlugin._showContextMenu(tinyMCE.isMSIE ? targetInst.contentWindow.event : e, targetInst);
+		}
+	},
+
+	_showContextMenu : function(e, inst) {
+		function getAttrib(elm, name) {
+			return elm.getAttribute(name) ? elm.getAttribute(name) : "";
+		}
+
+		var x, y, elm, contextMenu;
+		var pos = tinyMCE.getAbsPosition(inst.iframeElement);
+
+		x = tinyMCE.isMSIE ? e.screenX : pos.absLeft + (e.pageX - inst.getBody().scrollLeft);
+		y = tinyMCE.isMSIE ? e.screenY : pos.absTop + (e.pageY - inst.getBody().scrollTop);
+		elm = tinyMCE.isMSIE ? e.srcElement : e.target;
+
+		contextMenu = this._contextMenu;
+		contextMenu.inst = inst;
+
+		// Mozilla needs some time
+		window.setTimeout(function () {
+			var theme = tinyMCE.getParam("theme");
+
+			contextMenu.clearAll();
+			var sel = inst.selection.getSelectedText().length != 0 || elm.nodeName == "IMG";
+
+			// Default items
+			contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/cut.gif", "$lang_cut_desc", "Cut", "", !sel);
+			contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/copy.gif", "$lang_copy_desc", "Copy", "", !sel);
+			contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/paste.gif", "$lang_paste_desc", "Paste", "", false);
+
+			if (sel || (elm ? (elm.nodeName == 'A') || (elm.nodeName == 'IMG') : false)) {
+				contextMenu.addSeparator();
+				contextMenu.addItem(tinyMCE.baseURL + "/themes/advanced/images/link.gif", "$lang_link_desc", inst.hasPlugin("advlink") ? "mceAdvLink" : "mceLink");
+				contextMenu.addItem(tinyMCE.baseURL + "/themes/advanced/images/unlink.gif", "$lang_unlink_desc", "unlink", "", (elm ? (elm.nodeName != 'A') && (elm.nodeName != 'IMG') : true));
+			}
+
+			// Get element
+			elm = tinyMCE.getParentElement(elm, "img,table,td" + (inst.hasPlugin("advhr") ? ',hr' : ''));
+			if (elm) {
+				switch (elm.nodeName) {
+					case "IMG":
+						contextMenu.addSeparator();
+
+						// If flash
+						if (tinyMCE.hasPlugin('flash') && tinyMCE.getAttrib(elm, 'class').indexOf('mceItemFlash') != -1)
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/flash/images/flash.gif", "$lang_flash_props", "mceFlash");
+						else if (tinyMCE.hasPlugin('media') && /mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(tinyMCE.getAttrib(elm, 'class')))
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/flash/images/flash.gif", "$lang_media_title", "mceMedia");
+						else
+							contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/image.gif", "$lang_image_props_desc", inst.hasPlugin("advimage") ? "mceAdvImage" : "mceImage");
+						break;
+
+					case "HR":
+						contextMenu.addSeparator();
+						contextMenu.addItem(tinyMCE.baseURL + "/plugins/advhr/images/advhr.gif", "$lang_insert_advhr_desc", "mceAdvancedHr");
+						break;
+
+					case "TABLE":
+					case "TD":
+						// Is table plugin loaded
+						if (inst.hasPlugin("table")) {
+							var colspan = (elm.nodeName == "TABLE") ? "" : getAttrib(elm, "colspan");
+							var rowspan = (elm.nodeName == "TABLE") ? "" : getAttrib(elm, "rowspan");
+
+							colspan = colspan == "" ? "1" : colspan;
+							rowspan = rowspan == "" ? "1" : rowspan;
+
+							contextMenu.addSeparator();
+							contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/cut.gif", "$lang_table_cut_row_desc", "mceTableCutRow");
+							contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/copy.gif", "$lang_table_copy_row_desc", "mceTableCopyRow");
+							contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/paste.gif", "$lang_table_paste_row_before_desc", "mceTablePasteRowBefore", "", inst.tableRowClipboard == null);
+							contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/paste.gif", "$lang_table_paste_row_after_desc", "mceTablePasteRowAfter", "", inst.tableRowClipboard == null);
+
+	/*						contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/justifyleft.gif", "$lang_justifyleft_desc", "JustifyLeft", "", false);
+							contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/justifycenter.gif", "$lang_justifycenter_desc", "JustifyCenter", "", false);
+							contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/justifyright.gif", "$lang_justifyright_desc", "JustifyRight", "", false);
+							contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/justifyfull.gif", "$lang_justifyfull_desc", "JustifyFull", "", false);*/
+							contextMenu.addSeparator();
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table.gif", "$lang_table_desc", "mceInsertTable", "insert");
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table.gif", "$lang_table_props_desc", "mceInsertTable");
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_cell_props.gif", "$lang_table_cell_desc", "mceTableCellProps");
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_delete.gif", "$lang_table_del", "mceTableDelete");
+							contextMenu.addSeparator();
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_row_props.gif", "$lang_table_row_desc", "mceTableRowProps");
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_row_before.gif", "$lang_table_row_before_desc", "mceTableInsertRowBefore");
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_row_after.gif", "$lang_table_row_after_desc", "mceTableInsertRowAfter");
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_delete_row.gif", "$lang_table_delete_row_desc", "mceTableDeleteRow");
+							contextMenu.addSeparator();
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_col_before.gif", "$lang_table_col_before_desc", "mceTableInsertColBefore");
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_col_after.gif", "$lang_table_col_after_desc", "mceTableInsertColAfter");
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_delete_col.gif", "$lang_table_delete_col_desc", "mceTableDeleteCol");
+							contextMenu.addSeparator();
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_split_cells.gif", "$lang_table_split_cells_desc", "mceTableSplitCells", "", (colspan == "1" && rowspan == "1"));
+							contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_merge_cells.gif", "$lang_table_merge_cells_desc", "mceTableMergeCells", "", false);
+						}
+						break;
+				}
+			}  else {
+				// Add table specific
+				if (inst.hasPlugin("table")) {
+					contextMenu.addSeparator();
+					contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table.gif", "$lang_table_desc", "mceInsertTable", "insert");
+				}
+			}
+
+			contextMenu.show(x, y);
+		}, 10);
+
+		// Cancel default handeling
+		tinyMCE.cancelEvent(e);
+		return false;
+	},
+
+	_hideContextMenu : function() {
+		if (TinyMCE_ContextMenuPlugin._contextMenu)
+			TinyMCE_ContextMenuPlugin._contextMenu.hide();
+	},
+
+	_commandHandler : function(command, value) {
+		var cm = TinyMCE_ContextMenuPlugin._contextMenu;
+
+		cm.hide();
+
+		// UI must be true on these
+		var ui = false;
+		if (command == "mceInsertTable" || command == "mceTableCellProps" || command == "mceTableRowProps" || command == "mceTableMergeCells")
+			ui = true;
+
+		if (command == "Paste")
+			value = null;
+
+		if (tinyMCE.getParam("dialog_type") == "modal" && tinyMCE.isMSIE) {
+			// Cell properties will generate access denied error is this isn't done?!
+			window.setTimeout(function() {
+				cm.inst.execCommand(command, ui, value);
+			}, 100);
+		} else
+			cm.inst.execCommand(command, ui, value);
+	}
+};
+
+tinyMCE.addPlugin("contextmenu", TinyMCE_ContextMenuPlugin);
+
+// Context menu class
+
+function TinyMCE_ContextMenu(settings) {
+	var doc, self = this;
+
+	// Default value function
+	function defParam(key, def_val) {
+		settings[key] = typeof(settings[key]) != "undefined" ? settings[key] : def_val;
+	}
+
+	this.isMSIE = (navigator.appName == "Microsoft Internet Explorer");
+
+	// Setup contextmenu div
+	this.contextMenuDiv = document.createElement("div");
+	this.contextMenuDiv.className = "contextMenu";
+	this.contextMenuDiv.setAttribute("class", "contextMenu");
+	this.contextMenuDiv.style.display = "none";
+	this.contextMenuDiv.style.position = 'absolute';
+	this.contextMenuDiv.style.zindex = 1000;
+	this.contextMenuDiv.style.left = '0';
+	this.contextMenuDiv.style.top = '0';
+	this.contextMenuDiv.unselectable = "on";
+
+	document.body.appendChild(this.contextMenuDiv);
+
+	// Setup default values
+	defParam("commandhandler", "");
+	defParam("spacer_image", "images/spacer.gif");
+
+	this.items = new Array();
+	this.settings = settings;
+	this.html = "";
+
+	// IE Popup
+	if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0 && !tinyMCE.isOpera) {
+		this.pop = window.createPopup();
+		doc = this.pop.document;
+		doc.open();
+		doc.write('<html><head><link href="' + tinyMCE.baseURL + '/plugins/contextmenu/css/contextmenu.css" rel="stylesheet" type="text/css" /></head><body unselectable="yes" class="contextMenuIEPopup"></body></html>');
+		doc.close();
+	}
+};
+
+TinyMCE_ContextMenu.prototype = {
+	clearAll : function() {
+		this.html = "";
+		this.contextMenuDiv.innerHTML = "";
+	},
+
+	addSeparator : function() {
+		this.html += '<tr class="contextMenuItem"><td class="contextMenuIcon"><img src="' + this.settings['spacer_image'] + '" width="20" height="1" class="contextMenuImage" /></td><td><img class="contextMenuSeparator" width="1" height="1" src="' + this.settings['spacer_image'] + '" /></td></tr>';
+	},
+
+	addItem : function(icon, title, command, value, disabled) {
+		if (title.charAt(0) == '$')
+			title = tinyMCE.getLang(title.substring(1));
+
+		var onMouseDown = '';
+		var html = '';
+
+		if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0)
+			onMouseDown = 'contextMenu.execCommand(\'' + command + '\', \'' + value + '\');return false;';
+		else
+			onMouseDown = this.settings['commandhandler'] + '(\'' + command + '\', \'' + value + '\');return false;';
+
+		if (icon == "")
+			icon = this.settings['spacer_image'];
+
+		if (!disabled)
+			html += '<tr class="contextMenuItem">';
+		else
+			html += '<tr class="contextMenuItemDisabled">';
+
+		html += '<td class="contextMenuIcon"><img src="' + icon + '" width="20" height="20" class="contextMenuImage" /></td>';
+		html += '<td><div class="contextMenuText">';
+		html += '<a href="javascript:void(0);" onclick="' + onMouseDown + '" onmousedown="return false;">&#160;';
+
+		// Add text
+		html += title;
+
+		html += '&#160;</a>';
+		html += '</div></td>';
+		html += '</tr>';
+
+		// Add to main
+		this.html += html;
+	},
+
+	show : function(x, y) {
+		var vp, width, height, yo;
+
+		if (this.html == "")
+			return;
+
+		var html = '';
+
+		html += '<a href="#"></a><table border="0" cellpadding="0" cellspacing="0">';
+		html += this.html;
+		html += '</table>';
+
+		this.contextMenuDiv.innerHTML = html;
+
+		// Get dimensions
+		this.contextMenuDiv.style.display = "block";
+		width = this.contextMenuDiv.offsetWidth;
+		height = this.contextMenuDiv.offsetHeight;
+		this.contextMenuDiv.style.display = "none";
+
+		if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0 && !tinyMCE.isOpera) {
+			// Setup popup and show
+			this.pop.document.body.innerHTML = '<div class="contextMenu">' + html + "</div>";
+			this.pop.document.tinyMCE = tinyMCE;
+			this.pop.document.contextMenu = this;
+			this.pop.show(x, y, width, height);
+		} else {
+			vp = this.getViewPort();
+			yo = tinyMCE.isMSIE5_0 ? document.body.scrollTop : self.pageYOffset;
+			this.contextMenuDiv.style.left = (x > vp.left + vp.width - width ? vp.left + vp.width - width : x) + 'px';
+			this.contextMenuDiv.style.top = (y > vp.top + vp.height - height ? vp.top + vp.height - height : y) + 'px';
+			this.contextMenuDiv.style.display = "block";
+		}
+	},
+
+	getViewPort : function() {
+		return {
+			left : self.pageXOffset || self.document.documentElement.scrollLeft || self.document.body.scrollLeft,
+			top: self.pageYOffset || self.document.documentElement.scrollTop || self.document.body.scrollTop,
+			width : document.documentElement.offsetWidth || document.body.offsetWidth,
+			height : self.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
+		};
+	},
+
+	hide : function() {
+		if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0 && !tinyMCE.isOpera)
+			this.pop.hide();
+		else
+			this.contextMenuDiv.style.display = "none";
+	},
+
+	execCommand : function(command, value) {
+		eval(this.settings['commandhandler'] + "(command, value);");
+	}
+};

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/images/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/images/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/contextmenu/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/css/devkit.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/css/devkit.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/css/devkit.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,117 @@
+body {
+	overflow: hidden;
+}
+
+h1 {
+	font-size: 14px;
+	margin: 0 0 10px 0;
+}
+
+h2 {
+	font-size: 12px;
+	margin: 3px 0 3px 0;
+}
+
+h3 {
+	font-size: 11px;
+	margin: 3px 0 3px 0;
+}
+
+#log {
+	font-family: Verdana;
+	border: 1px solid gray;
+	width: 100%; height: 240px;
+	overflow: scroll;
+	white-space: nowrap;
+}
+
+#log span {
+	display: block;
+}
+
+#log span.msg {
+	float: left;
+}
+
+#log span.time {
+	float: left;
+}
+
+#log br {
+	clear: both;
+}
+
+#logfilter {
+	width: 350px;
+}
+
+#logenabled {
+	border: 0;
+}
+
+#settings_panel span, #info_panel span, #content_panel span, #command_states_panel span, #undo_redo_panel span {
+	display: block;
+	margin: 5px 0 5px 0;
+}
+
+div.data {
+	width: 100%; height: 240px;
+	overflow: scroll;
+	border: 1px solid gray;
+}
+
+#misc_panel div.data {
+	height: 270px;
+}
+
+.data input {
+	width: 265px;
+	border: 0;
+}
+
+.data h2 {
+	margin-left: 5px;
+}
+
+.data h3 {
+	margin-left: 7px;
+}
+
+.data div {
+	margin-left: 7px;
+}
+
+.data table {
+	margin: 0 0 15px 15px;
+}
+
+.data p {
+	margin: 0; padding: 0;
+	margin-top: 5px;
+	margin-left: 5px;
+}
+
+table, td {
+	border: 1px solid gray;
+	border-collapse: collapse;
+}
+
+#flip {
+	position: absolute;
+	left: 295; top: 384px;
+}
+
+.bspec {
+	color: gray;
+}
+
+.dep {
+	color: #880000;
+}
+
+.col1 {
+	width: 265px;
+}
+
+div.undodata {
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/css/devkit_ui.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/css/devkit_ui.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/css/devkit_ui.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+#devkit {
+	position: absolute;
+	top: -385px; right: 0;
+	width: 640px; height: 390px;
+	border: 1px solid black;
+	z-index: 10000;
+}
+
+.devkitup {
+	top: -385px !important;
+}
+
+.devkitdown {
+	top: 0 !important;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/devkit.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/devkit.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/devkit.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,140 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_devkit_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/devkit.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/diff.js"></script>
+	<link href="css/devkit.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body id="devkit" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+    <form action="#">
+		<h1>{$lang_devkit_title}</h1>
+
+		<div class="tabs">
+			<ul>
+				<li id="log_tab" class="current"><span><a href="javascript:mcTabs.displayTab('log_tab','log_panel');" onmousedown="return false;">{$lang_devkit_log_tab}</a></span></li>
+				<li id="info_tab"><span><a href="javascript:mcTabs.displayTab('info_tab','info_panel');" onmousedown="return false;">{$lang_devkit_info_tab}</a></span></li>
+				<li id="settings_tab"><span><a href="javascript:mcTabs.displayTab('settings_tab','settings_panel');" onmousedown="return false;">{$lang_devkit_settings_tab}</a></span></li>
+				<li id="content_tab"><span><a href="javascript:mcTabs.displayTab('content_tab','content_panel');" onmousedown="return false;">{$lang_devkit_content_tab}</a></span></li>
+				<!-- <li id="command_states_tab"><span><a href="javascript:mcTabs.displayTab('command_states_tab','command_states_panel');" onmousedown="return false;">{$lang_devkit_command_states_tab}</a></span></li> -->
+				<li id="undo_redo_tab"><span><a href="javascript:mcTabs.displayTab('undo_redo_tab','undo_redo_panel');" onmousedown="return false;">{$lang_devkit_undo_redo_tab}</a></span></li>
+				<li id="misc_tab"><span><a href="javascript:mcTabs.displayTab('misc_tab','misc_panel');" onmousedown="return false;">{$lang_devkit_misc_tab}</a></span></li>
+			</ul>
+		</div>
+
+		<div class="panel_wrapper">
+			<div id="log_panel" class="panel current">
+				<fieldset>
+					<legend>{$lang_devkit_log_tab}</legend>
+
+					<div style="float: left">
+						<label>{$lang_devkit_filter} </label><input type="text" id="logfilter" name="logfilter" value="" onchange="changeFilter(this.value);" />
+					</div>
+
+					<div style="float: left">
+						<input type="checkbox" id="logenabled" name="logenabled" value="true" checked="checked" onclick="toggleLog(this.checked);" />
+					</div>
+
+					<div style="float: right">
+						<a href="javascript:clearLog();">[{$lang_devkit_clear_log}]</a>
+					</div>
+
+					<br style="clear: both" />
+
+					<div id="log">
+					</div>
+
+					<input type="checkbox" id="debug_events" name="debug_events" class="checkbox" onclick="toggleDebugEvents(this.checked);" /><label for="debug_events" onclick="toggleDebugEvents(this.form.debug_events.checked);">{$lang_devkit_debug_events}</label>
+				</fieldset>
+			</div>
+
+			<div id="info_panel" class="panel">
+				<fieldset>
+					<legend>{$lang_devkit_info_tab}</legend>
+
+					<span><a href="javascript:renderInfo();">[{$lang_devkit_refresh}]</a></span>
+
+					<div id="info" class="data">
+						<p>{$lang_devkit_info_help}</p>
+					</div>
+				</fieldset>
+			</div>
+
+			<div id="settings_panel" class="panel">
+			<fieldset>
+					<legend>{$lang_devkit_settings_tab}</legend>
+
+					<span><a href="javascript:renderSettings();">[{$lang_devkit_refresh}]</a></span>
+
+					<div id="settings" class="data">
+						<p>{$lang_devkit_settings_help}</p>
+					</div>
+				</fieldset>
+			</div>
+
+			<div id="content_panel" class="panel">
+			<fieldset>
+					<legend>{$lang_devkit_content_tab}</legend>
+
+					<span><a href="javascript:renderContent();">[{$lang_devkit_refresh}]</a></span>
+
+					<div id="content" class="data">
+						<p>{$lang_devkit_content_help}</p>
+					</div>
+				</fieldset>
+			</div>
+
+			<div id="command_states_panel" class="panel">
+			<fieldset>
+					<legend>{$lang_devkit_command_states_tab}</legend>
+
+					<span><a href="javascript:renderCommandStates();">[{$lang_devkit_refresh}]</a></span>
+
+					<div id="command_states" class="data">
+						<p>{$lang_devkit_command_states_help}</p>
+					</div>
+				</fieldset>
+			</div>
+
+			<div id="undo_redo_panel" class="panel">
+				<fieldset>
+					<legend>{$lang_devkit_undo_redo_tab}</legend>
+
+					<span><a href="javascript:renderUndoRedo();">[{$lang_devkit_refresh}]</a></span>
+
+					<div id="undo_redo" class="data">
+						<p>{$lang_devkit_undo_redo_help}</p>
+					</div>
+
+					<input type="checkbox" id="undo_diff" name="undo_diff" class="checkbox" /><label for="undo_diff">{$lang_devkit_undo_diff}</label>
+				</fieldset>
+			</div>
+
+			<div id="misc_panel" class="panel">
+				<fieldset>
+					<legend>{$lang_devkit_misc_tab}</legend>
+
+					<div class="data">
+						<p>{$lang_devkit_misc_help}</p>
+						<hr />
+						<p>Selection: <a href="#" onmousedown="return storeSelection();">[Store selection]</a> <a href="#" onmousedown="return restoreSelection();">[Restore selection]</a></p>
+						<hr />
+						<div><strong>Insert custom HTML content</strong></div>
+						<div><textarea id="htmlcont" name="htmlcont" style="width: 90%" rows="5"></textarea></div>
+						<div><a href="#" onclick="return tinyMCE.execCommand('mceInsertContent',false,document.getElementById('htmlcont').value);">[Insert content]</a></div>
+						<hr />
+						<div><strong>Eval JS:</strong></div>
+						<div><textarea id="jscont" name="jscont" style="width: 90%" rows="5">tinyMCE.execCommand('Bold',false,null);</textarea></div>
+						<div><a href="#" onclick="return parent.window.eval(document.getElementById('jscont').value);">[Evaluate]</a></div>
+					</div>
+				</fieldset>
+			</div>
+		</div>
+    </form>
+
+	<div id="flip"><a href="javascript:toggleFlip();" onmousedown="return false;"><img id="flipbtn" src="images/flip_down.gif" border="0" /></a></div>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('devkit');var TinyMCE_DevKitPlugin={_logFilter:'\\[(importCSS|execCommand|execInstanceCommand|debug)\\]',_logPadding:'',_startTime:null,_benchMark:false,_winLoaded:false,_isDebugEvents:false,getInfo:function(){return{longname:'Development Kit',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_devkit.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){this._setup()},_setup:function(){if(this._loaded)return;this._loaded=true;document.___TinyMCE=tinyMCE;this._logFilter=tinyMCE.getParam('devkit_log_filter',this._logFilter);this._benchMark=tinyMCE.getParam('devkit_bench_mark',false);var ifr=document.createElement('iframe');ifr.setAttribute("id","devkit");ifr.setAttribute("frameBorder","0");ifr.setAttribute("src",tinyMCE.baseURL+'/plugins/devkit/devkit.htm');document.body.appendChild(ifr);tinyMCE.importCSS(document,tinyMCE.baseURL+'!
 /plugins/devkit/css/devkit_ui.css')},_start:function(){this._logPadding+='\u00a0';return new Date().getTime()},_end:function(st){if(this._logPadding.length>0)this._logPadding=this._logPadding.substring(0,this._logPadding.length-1);if(this._benchMark)this._log("benchmark","Execution time: "+(new Date().getTime()-st))},_log:function(t){var m,a,i,e=document.getElementById('devkit'),now=new Date().getTime();if(!this._startTime)this._startTime=now;m=(this._logPadding.length>1?this._logPadding:'')+'['+(now-this._startTime)+'] ['+t+'] ';a=this._log.arguments;for(i=1;i<a.length;i++){if(typeof(a[i])=='undefined')continue;if(i>1)m+=', ';m+=a[i]}if(!new RegExp(this._logFilter,'gi').test(m)){if(this._logPadding.length>0)this._logPadding=this._logPadding.substring(0,this._logPadding.length-1);return}if(!this._winLoaded)tinyMCE.log[tinyMCE.log.length]=m;else e.contentWindow.debug(m)},_debugEvents:function(s){var i,ld,inst,n,ev=['CheckboxStateChange','DOMAttrModified','DOMMenuItemActive',!
 'DOMMenuItemInactive','DOMMouseScroll','DOMNodeInserted','DOMNodeRemov
ed','RadioStateChange','blur','broadcast','change','click','close','command','commandupdate','contextmenu','dblclick','dragdrop','dragenter','dragexit','draggesture','dragover','focus','input','keydown','keypress','keyup','load','mousedown','mouseout','mouseover','mouseup','overflow','overflowchanged','popuphidden','popuphiding','popupshowing','popupshown','select','syncfrompreference','synctopreference','underflow','unload','abort','activate','afterprint','afterupdate','beforeactivate','beforecopy','beforecut','beforedeactivate','beforeeditfocus','beforepaste','beforeprint','beforeunload','beforeupdate','bounce','cellchange','controlselect','copy','cut','dataavailable','datasetchanged','datasetcomplete','deactivate','dragend','dragleave','dragstart','drop','error','errorupdate','filterchange','finish','focusin','focusout','help','layoutcomplete','losecapture','mouseenter','mouseleave','mousewheel','move','moveend','movestart','paste','propertychange','readystatechange','res!
 et','resize','resizeend','resizestart','rowenter','rowexit','rowsdelete','rowsinserted','scroll','selectionchange','selectstart','start','stop','submit'];if(TinyMCE_DevKitPlugin._isDebugEvents==s)return;TinyMCE_DevKitPlugin._isDebugEvents=s;for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst)||inst.getDoc()==ld)continue;ld=inst.getDoc();for(i=0;i<ev.length;i++){if(s)tinyMCE.addEvent(ld,ev[i],TinyMCE_DevKitPlugin._debugEvent);else tinyMCE.removeEvent(ld,ev[i],TinyMCE_DevKitPlugin._debugEvent)}}},_debugEvent:function(e){var t;e=e?e:tinyMCE.selectedInstance.getWin().event;t=e.srcElement?e.srcElement:e.target;tinyMCE.debug(e.type,t?t.nodeName:'')},_serialize:function(o){var i,v,s=TinyMCE_DevKitPlugin._serialize;if(o==null)return'null';switch(typeof o){case'string':v='\bb\tt\nn\ff\rr\""\'\'\\\\';return'"'+o.replace(new RegExp('([\u0080-\uFFFF\\x00-\\x1f\\"])','g'),function(a,b){i=v.indexOf(b);if(i+1)return'\\'+v.charAt(i+1);a=b.charCodeAt().toString!
 (16);return'\\u'+'0000'.substring(a.length)+a})+'"';case'object':if(o 
instanceof Array){for(i=0,v='[';i<o.length;i++)v+=(i>0?',':'')+s(o[i]);return v+']'}v='{';for(i in o)v+=typeof o[i]!='function'?(v.length>1?',"':'"')+i+'":'+s(o[i]):'';return v+'}'}return''+o}};tinyMCE.__debug=tinyMCE.debug;tinyMCE.debug=function(){var a,i,m='',now=new Date().getTime(),start=TinyMCE_DevKitPlugin._startTime;if(!start)TinyMCE_DevKitPlugin._startTime=start=now;a=this.debug.arguments;for(i=0;i<a.length;i++){if(typeof(a[i])=='undefined')continue;if(i>0)m+=', ';m+=a[i]}TinyMCE_DevKitPlugin._log('debug',m)};tinyMCE.dump=function(o){tinyMCE.debug(TinyMCE_DevKitPlugin._serialize(o))};tinyMCE.sleep=function(t){var s=new Date().getTime(),b;while(new Date().getTime()-s<t)b=1};tinyMCE.__execCommand=tinyMCE.execCommand;tinyMCE.execCommand=function(command,user_interface,value){var r,st,dk=TinyMCE_DevKitPlugin;st=dk._start();dk._log('execCommand',command,user_interface,value);r=tinyMCE.__execCommand(command,user_interface,value);dk._end(st);return r};tinyMCE.__execInstance!
 Command=tinyMCE.execInstanceCommand;tinyMCE.execInstanceCommand=function(editor_id,command,user_interface,value,focus){var r,st,dk=TinyMCE_DevKitPlugin;st=dk._start();dk._log('execInstanceCommand',editor_id,command,user_interface,value);r=tinyMCE.__execInstanceCommand(editor_id,command,user_interface,value);dk._end(st);return r};TinyMCE_Engine.prototype.__handleEvent=TinyMCE_Engine.prototype.handleEvent;TinyMCE_Engine.prototype.handleEvent=function(e){var r,st,dk=TinyMCE_DevKitPlugin;st=dk._start();dk._log('handleEvent',e.type);r=tinyMCE.__handleEvent(e);dk._end(st);return r};tinyMCE.__importCSS=tinyMCE.importCSS;tinyMCE.importCSS=function(doc,css){var r,st,dk=TinyMCE_DevKitPlugin;st=dk._start();dk._log('importCSS',doc,css);r=tinyMCE.__importCSS(doc,css);dk._end(st);return r};tinyMCE.__triggerNodeChange=tinyMCE.triggerNodeChange;tinyMCE.triggerNodeChange=function(focus,setup_content){var r,st,dk=TinyMCE_DevKitPlugin;st=dk._start();dk._log('triggerNodeChange',focus,setup_con!
 tent);r=tinyMCE.__triggerNodeChange(focus,setup_content);dk._end(st);r
eturn r};tinyMCE.__dispatchCallback=tinyMCE.dispatchCallback;tinyMCE.dispatchCallback=function(i,p,n){var r,st,dk=TinyMCE_DevKitPlugin;st=dk._start();dk._log('dispatchCallback',i,p,n);r=tinyMCE.__dispatchCallback(i,p,n);dk._end(st);return r};tinyMCE.__executeCallback=tinyMCE.executeCallback;tinyMCE.executeCallback=function(i,p,n){var r,st,dk=TinyMCE_DevKitPlugin;st=dk._start();dk._log('executeCallback',i,p,n);r=tinyMCE.__executeCallback(i,p,n);dk._end(st);return r};tinyMCE.__execCommandCallback=tinyMCE.execCommandCallback;tinyMCE.execCommandCallback=function(i,p,n){var r,st,dk=TinyMCE_DevKitPlugin;st=dk._start();dk._log('execCommandCallback',i,p,n);r=tinyMCE.__execCommandCallback(i,p,n);dk._end(st);return r};tinyMCE.addPlugin("devkit",TinyMCE_DevKitPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,325 @@
+/**
+ * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+tinyMCE.importPluginLanguagePack('devkit');
+
+var TinyMCE_DevKitPlugin = {
+	_logFilter : '\\[(importCSS|execCommand|execInstanceCommand|debug)\\]',
+	_logPadding : '',
+	_startTime : null,
+	_benchMark : false,
+	_winLoaded : false,
+	_isDebugEvents : false,
+
+	getInfo : function() {
+		return {
+			longname : 'Development Kit',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_devkit.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		this._setup();
+	},
+
+	_setup : function() {
+		if (this._loaded)
+			return;
+
+		this._loaded = true;
+
+		// Register a document reference for more easy access in the FF DOM inspector
+		document.___TinyMCE = tinyMCE;
+
+		// Setup devkit by settings
+		this._logFilter = tinyMCE.getParam('devkit_log_filter', this._logFilter);
+		this._benchMark = tinyMCE.getParam('devkit_bench_mark', false);
+
+		var ifr = document.createElement('iframe');
+
+		ifr.setAttribute("id", "devkit");
+		ifr.setAttribute("frameBorder", "0");
+		ifr.setAttribute("src", tinyMCE.baseURL + '/plugins/devkit/devkit.htm');
+
+		document.body.appendChild(ifr);
+
+		// Workaround for strange IE reload bug
+		//if (tinyMCE.isRealIE)
+		//	document.getElementById('devkit').outerHTML = document.getElementById('devkit').outerHTML;
+
+		tinyMCE.importCSS(document, tinyMCE.baseURL + '/plugins/devkit/css/devkit_ui.css');
+	},
+
+	_start : function() {
+		this._logPadding += '\u00a0';
+
+		return new Date().getTime();
+	},
+
+	_end : function(st) {
+		if (this._logPadding.length > 0)
+			this._logPadding = this._logPadding.substring(0, this._logPadding.length - 1);
+
+		if (this._benchMark)
+			this._log("benchmark", "Execution time: " + (new Date().getTime() - st));
+	},
+
+	_log : function(t) {
+		var m, a, i, e = document.getElementById('devkit'), now = new Date().getTime();
+
+		if (!this._startTime)
+			this._startTime = now;
+
+		m = (this._logPadding.length > 1 ? this._logPadding : '') + '[' + (now - this._startTime) + '] [' + t + '] ';
+
+		a = this._log.arguments;
+		for (i=1; i<a.length; i++) {
+			if (typeof(a[i]) == 'undefined')
+				continue;
+
+			if (i > 1)
+				m += ', ';
+
+			m += a[i];
+		}
+
+		if (!new RegExp(this._logFilter, 'gi').test(m)) {
+			if (this._logPadding.length > 0)
+				this._logPadding = this._logPadding.substring(0, this._logPadding.length - 1);
+
+			return;
+		}
+
+		if (!this._winLoaded)
+			tinyMCE.log[tinyMCE.log.length] = m;
+		else
+			e.contentWindow.debug(m);
+	},
+
+	_debugEvents : function(s) {
+		var i, ld, inst, n, ev = ['CheckboxStateChange','DOMAttrModified','DOMMenuItemActive',
+				'DOMMenuItemInactive','DOMMouseScroll','DOMNodeInserted','DOMNodeRemoved',
+				'RadioStateChange','blur','broadcast','change','click','close','command',
+				'commandupdate','contextmenu','dblclick','dragdrop','dragenter','dragexit',
+				'draggesture','dragover','focus','input','keydown','keypress','keyup','load',
+				'mousedown','mouseout','mouseover','mouseup','overflow','overflowchanged','popuphidden',
+				'popuphiding','popupshowing','popupshown','select','syncfrompreference','synctopreference',
+				'underflow','unload','abort','activate','afterprint','afterupdate','beforeactivate',
+				'beforecopy','beforecut','beforedeactivate','beforeeditfocus','beforepaste','beforeprint',
+				'beforeunload','beforeupdate','bounce','cellchange','controlselect','copy','cut',
+				'dataavailable','datasetchanged','datasetcomplete','deactivate','dragend','dragleave',
+				'dragstart','drop','error','errorupdate','filterchange','finish','focusin','focusout',
+				'help','layoutcomplete','losecapture','mouseenter','mouseleave','mousewheel',
+				'move','moveend','movestart','paste','propertychange','readystatechange','reset','resize',
+				'resizeend','resizestart','rowenter','rowexit','rowsdelete','rowsinserted','scroll',
+				'selectionchange','selectstart','start','stop','submit'];
+		// mousemove
+
+		if (TinyMCE_DevKitPlugin._isDebugEvents == s)
+			return;
+
+		TinyMCE_DevKitPlugin._isDebugEvents = s;
+
+		for (n in tinyMCE.instances) {
+			inst = tinyMCE.instances[n];
+
+			if (!tinyMCE.isInstance(inst) || inst.getDoc() == ld)
+				continue;
+
+			ld = inst.getDoc();
+
+			for (i=0; i<ev.length; i++) {
+				if (s)
+					tinyMCE.addEvent(ld, ev[i], TinyMCE_DevKitPlugin._debugEvent);
+				else
+					tinyMCE.removeEvent(ld, ev[i], TinyMCE_DevKitPlugin._debugEvent);
+			}
+		}
+	},
+
+	_debugEvent : function(e) {
+		var t;
+
+		e = e ? e : tinyMCE.selectedInstance.getWin().event;
+		t = e.srcElement ? e.srcElement : e.target;
+
+		tinyMCE.debug(e.type, t ? t.nodeName : '');
+	},
+
+	_serialize : function(o) {
+		var i, v, s = TinyMCE_DevKitPlugin._serialize;
+
+		if (o == null)
+			return 'null';
+
+		switch (typeof o) {
+			case 'string':
+				v = '\bb\tt\nn\ff\rr\""\'\'\\\\';
+
+				return '"' + o.replace(new RegExp('([\u0080-\uFFFF\\x00-\\x1f\\"])', 'g'), function(a, b) {
+					i = v.indexOf(b);
+
+					if (i+1)
+						return '\\' + v.charAt(i + 1);
+
+					a = b.charCodeAt().toString(16);
+
+					return '\\u' + '0000'.substring(a.length) + a;
+				}) + '"';
+
+			case 'object':
+				if (o instanceof Array) {
+					for (i=0, v = '['; i<o.length; i++)
+						v += (i > 0 ? ',' : '') + s(o[i]);
+
+					return v + ']';
+				}
+
+				v = '{';
+
+				for (i in o)
+					v += typeof o[i] != 'function' ? (v.length > 1 ? ',"' : '"') + i + '":' + s(o[i]) : '';
+
+				return v + '}';
+		}
+
+		return '' + o;
+	}
+};
+
+// Patch and piggy back functions
+tinyMCE.__debug = tinyMCE.debug;
+tinyMCE.debug = function() {
+	var a, i, m = '', now = new Date().getTime(), start = TinyMCE_DevKitPlugin._startTime;
+
+	if (!start)
+		TinyMCE_DevKitPlugin._startTime = start = now;
+
+	a = this.debug.arguments;
+	for (i=0; i<a.length; i++) {
+		if (typeof(a[i]) == 'undefined')
+			continue;
+
+		if (i > 0)
+			m += ', ';
+
+		m += a[i];
+	}
+
+	TinyMCE_DevKitPlugin._log('debug', m);
+};
+
+tinyMCE.dump = function(o) {
+	tinyMCE.debug(TinyMCE_DevKitPlugin._serialize(o));
+};
+
+tinyMCE.sleep = function(t) {
+	var s = new Date().getTime(), b;
+
+	while (new Date().getTime() - s < t) b=1;
+};
+
+tinyMCE.__execCommand = tinyMCE.execCommand;
+tinyMCE.execCommand = function(command, user_interface, value) {
+	var r, st, dk = TinyMCE_DevKitPlugin;
+
+	st = dk._start();
+	dk._log('execCommand', command, user_interface, value);
+	r = tinyMCE.__execCommand(command, user_interface, value);
+	dk._end(st);
+
+	return r;
+};
+
+tinyMCE.__execInstanceCommand = tinyMCE.execInstanceCommand;
+tinyMCE.execInstanceCommand = function(editor_id, command, user_interface, value, focus) {
+	var r, st, dk = TinyMCE_DevKitPlugin;
+
+	st = dk._start();
+	dk._log('execInstanceCommand', editor_id, command, user_interface, value);
+	r = tinyMCE.__execInstanceCommand(editor_id, command, user_interface, value);
+	dk._end(st);
+
+	return r;
+};
+
+TinyMCE_Engine.prototype.__handleEvent = TinyMCE_Engine.prototype.handleEvent;
+TinyMCE_Engine.prototype.handleEvent = function(e) {
+	var r, st, dk = TinyMCE_DevKitPlugin;
+
+	st = dk._start();
+	dk._log('handleEvent', e.type);
+	r = tinyMCE.__handleEvent(e);
+	dk._end(st);
+
+	return r;
+};
+
+tinyMCE.__importCSS = tinyMCE.importCSS;
+tinyMCE.importCSS = function(doc, css) {
+	var r, st, dk = TinyMCE_DevKitPlugin;
+
+	st = dk._start();
+	dk._log('importCSS', doc, css);
+	r = tinyMCE.__importCSS(doc, css);
+	dk._end(st);
+
+	return r;
+};
+
+tinyMCE.__triggerNodeChange = tinyMCE.triggerNodeChange;
+tinyMCE.triggerNodeChange = function(focus, setup_content) {
+	var r, st, dk = TinyMCE_DevKitPlugin;
+
+	st = dk._start();
+	dk._log('triggerNodeChange', focus, setup_content);
+	r = tinyMCE.__triggerNodeChange(focus, setup_content);
+	dk._end(st);
+
+	return r;
+};
+
+tinyMCE.__dispatchCallback = tinyMCE.dispatchCallback;
+tinyMCE.dispatchCallback = function(i, p, n) {
+	var r, st, dk = TinyMCE_DevKitPlugin;
+
+	st = dk._start();
+	dk._log('dispatchCallback', i, p, n);
+	r = tinyMCE.__dispatchCallback(i, p, n);
+	dk._end(st);
+
+	return r;
+};
+
+tinyMCE.__executeCallback = tinyMCE.executeCallback;
+tinyMCE.executeCallback = function(i, p, n) {
+	var r, st, dk = TinyMCE_DevKitPlugin;
+
+	st = dk._start();
+	dk._log('executeCallback', i, p, n);
+	r = tinyMCE.__executeCallback(i, p, n);
+	dk._end(st);
+
+	return r;
+};
+
+tinyMCE.__execCommandCallback = tinyMCE.execCommandCallback;
+tinyMCE.execCommandCallback = function(i, p, n) {
+	var r, st, dk = TinyMCE_DevKitPlugin;
+
+	st = dk._start();
+	dk._log('execCommandCallback', i, p, n);
+	r = tinyMCE.__execCommandCallback(i, p, n);
+	dk._end(st);
+
+	return r;
+};
+
+tinyMCE.addPlugin("devkit", TinyMCE_DevKitPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/images/flip_down.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/images/flip_down.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/images/flip_up.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/images/flip_up.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/jscripts/devkit.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/jscripts/devkit.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/jscripts/devkit.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,328 @@
+var devkit = parent.tinyMCE.plugins['devkit'], logEnabled = true, flip = false, book = null;
+
+function init() {
+	var log, i, f = document.forms[0];
+
+	devkit._winLoaded = true;
+
+	log = tinyMCE.log;
+
+	for (i=0; i<log.length; i++)
+		debug(log[i]);
+
+	f.logfilter.value = devkit._logFilter;
+}
+
+function changeFilter(f) {
+	devkit._logFilter = f;
+}
+
+function toggleLog(s) {
+	logEnabled = s;
+}
+
+function toggleFlip() {
+	document.getElementById('flipbtn').src = flip ? 'images/flip_down.gif' : 'images/flip_up.gif';
+
+	if (flip)
+		parent.document.getElementById('devkit').className = 'devkitup';
+	else
+		parent.document.getElementById('devkit').className = 'devkitdown';
+
+	flip = !flip;
+}
+
+function debug(s) {
+	var d, l, n;
+
+	if (!logEnabled || !new RegExp(devkit._logFilter, 'gi').test(s))
+		return;
+
+	d = document;
+	l = d.getElementById('log');
+	n = d.createElement('span');
+
+	n.innerHTML = tinyMCE.xmlEncode(s);
+
+	l.appendChild(n);
+	l.scrollTop = l.scrollHeight;
+}
+
+function renderInfo() {
+	var se = document.getElementById('info'), n, sn, inst, h = '', sel, rng, instCount = 0, rc;
+
+	h += '<h2>Browser info:</h2>';
+
+	h += '<table border="0" cellpadding="0" cellspacing="0" class="data">';
+	h += addRenderInfo('navigator.userAgent', navigator.userAgent);
+	h += addRenderInfo('navigator.appName', navigator.appName);
+	h += addRenderInfo('navigator.platform', navigator.platform);
+	h += addRenderInfo('navigator.language', navigator.language, 'bspec');
+	h += addRenderInfo('navigator.browserLanguage', navigator.browserLanguage, 'bspec');
+	h += addRenderInfo('navigator.systemLanguage', navigator.systemLanguage, 'bspec');
+	h += addRenderInfo('navigator.userLanguage', navigator.userLanguage, 'bspec');
+	h += addRenderInfo('opera.buildNumber("inconspicuous")', typeof(opera) != 'undefined' && opera.buildNumber ? opera.buildNumber('inconspicuous') : null, 'bspec');
+	h += addRenderInfo('window.innerWidth', parent.window.innerWidth, 'bspec');
+	h += addRenderInfo('window.innerHeight', parent.window.innerHeight, 'bspec');
+	h += addRenderInfo('document.body.offsetWidth', parent.document.body.offsetWidth);
+	h += addRenderInfo('document.body.offsetHeight', parent.document.body.offsetHeight);
+	h += addRenderInfo('screen.width', screen.width);
+	h += addRenderInfo('screen.height', screen.height);
+	h += addRenderInfo('screen.availWidth', screen.availWidth);
+	h += addRenderInfo('screen.availHeight', screen.availHeight);
+	h += addRenderInfo('screen.colorDepth', screen.colorDepth);
+	h += addRenderInfo('screen.pixelDepth', screen.pixelDepth, 'bspec');
+	h += addRenderInfo('document.contentType', document.contentType, 'bspec');
+	h += '</table>';
+
+	h += '<h2>TinyMCE_Engine info:</h2>';
+
+	h += '<table border="0" cellpadding="0" cellspacing="0" class="data">';
+	h += addRenderInfo('baseURL', tinyMCE.baseURL);
+	h += addRenderInfo('selectedInstance.editorId', tinyMCE.selectedInstance ? tinyMCE.selectedInstance.editorId : null);
+	h += addRenderInfo('selectedElement.nodeName', tinyMCE.selectedElement ? tinyMCE.selectedElement.nodeName : null, 'dep');
+	h += addRenderInfo('loadedFiles',tinyMCE.loadedFiles.join(','));
+	h += addRenderInfo('isMSIE', tinyMCE.isMSIE);
+	h += addRenderInfo('isMSIE5', tinyMCE.isMSIE5);
+	h += addRenderInfo('isMSIE5_0', tinyMCE.isMSIE5_0);
+	h += addRenderInfo('isMSIE7', tinyMCE.isMSIE7);
+	h += addRenderInfo('isGecko', tinyMCE.isGecko);
+	h += addRenderInfo('isSafari', tinyMCE.isSafari);
+	h += addRenderInfo('isOpera', tinyMCE.isOpera);
+	h += addRenderInfo('isMac', tinyMCE.isMac);
+	h += addRenderInfo('isNS7', tinyMCE.isNS7);
+	h += addRenderInfo('isNS71', tinyMCE.isNS71);
+	h += addRenderInfo('idCounter', tinyMCE.idCounter);
+	h += addRenderInfo('currentConfig', tinyMCE.currentConfig);
+	h += addRenderInfo('majorVersion', tinyMCE.majorVersion);
+	h += addRenderInfo('minorVersion', tinyMCE.minorVersion);
+	h += addRenderInfo('releaseDate', tinyMCE.releaseDate);
+	h += addRenderInfo('documentBasePath', tinyMCE.documentBasePath);
+	h += addRenderInfo('documentURL', tinyMCE.documentURL);
+	h += '</table>';
+
+	for (n in tinyMCE.instances) {
+		inst = tinyMCE.instances[n];
+
+		if (!tinyMCE.isInstance(inst))
+			continue;
+
+		sel = inst.selection.getSel();
+		rng = inst.selection.getRng();
+
+		h += '<h2>TinyMCE_Control(' + (instCount++) + ') id: ' + inst.editorId + '</h2>';
+		h += '<table border="0" cellpadding="0" cellspacing="0" class="data">';
+
+		h += addRenderInfo('editorId', inst.editorId);
+		h += addRenderInfo('visualAid', inst.visualAid);
+		h += addRenderInfo('foreColor', inst.foreColor);
+		h += addRenderInfo('backColor', inst.backColor);
+		h += addRenderInfo('formTargetElementId', inst.formTargetElementId);
+		h += addRenderInfo('linkElement', inst.linkElement ? inst.linkElement.nodeName : null, 'dep');
+		h += addRenderInfo('imgElement', inst.imgElement ? inst.imgElement.nodeName : null, 'dep');
+		h += addRenderInfo('selectedNode', inst.selectedNode ? inst.selectedNode.nodeName : null, 'dep');
+		h += addRenderInfo('targetElement', inst.targetElement ? inst.targetElement.nodeName : null);
+		h += addRenderInfo('getBody().nodeName', inst.getBody() ? inst.getBody().nodeName : null);
+		h += addRenderInfo('getBody().getAttribute("id")', inst.getBody() ? inst.getBody().getAttribute("id") : null);
+		h += addRenderInfo('getDoc().location', inst.getDoc() ? inst.getDoc().location : null);
+		h += addRenderInfo('startContent', inst.startContent);
+		h += addRenderInfo('isHidden()', inst.isHidden());
+		h += addRenderInfo('isDirty()', inst.isDirty());
+		h += addRenderInfo('undoRedo.undoLevels.length', inst.undoRedo.undoLevels.length);
+		h += addRenderInfo('undoRedo.undoIndex', inst.undoRedo.undoIndex);
+		h += addRenderInfo('selection.getSelectedHTML()', inst.selection.getSelectedHTML());
+		h += addRenderInfo('selection.getSelectedText()', inst.selection.getSelectedText());
+		h += addRenderInfo('selection.getFocusElement().nodeName', inst.selection.getFocusElement().nodeName);
+		h += addRenderInfo('selection.getFocusElement().outerHTML', tinyMCE.getOuterHTML(inst.selection.getFocusElement()));
+
+		if ((tinyMCE.isGecko || tinyMCE.isOpera) && sel && rng) {
+			h += addRenderInfo('selection.getSel().anchorNode.nodeName', sel.anchorNode ? sel.anchorNode.nodeName : null, 'bspec');
+			h += addRenderInfo('selection.getSel().anchorOffset', sel.anchorOffset, 'bspec');
+			h += addRenderInfo('selection.getSel().focusNode.nodeName', sel.focusNode ? sel.focusNode.nodeName : null, 'bspec');
+			h += addRenderInfo('selection.getSel().focusOffset', sel.focusOffset, 'bspec');
+			h += addRenderInfo('selection.getRng().startContainer.nodeName', rng.startContainer ? rng.startContainer.nodeName : null, 'bspec');
+			h += addRenderInfo('selection.getRng().startOffset', rng.startOffset, 'bspec');
+			h += addRenderInfo('selection.getRng().endContainer.nodeName', rng.endContainer ? rng.endContainer.nodeName : null, 'bspec');
+			h += addRenderInfo('selection.getRng().endOffset', rng.endOffset, 'bspec');
+		}
+
+		if (typeof(rng.item) != 'undefined' || typeof(rng.htmlText) != 'undefined') {
+			if (!rng.item) {
+				h += addRenderInfo('selection.getSel().type', sel.type, 'bspec');
+				h += addRenderInfo('selection.getRng().htmlText', rng.htmlText, 'bspec');
+				h += addRenderInfo('selection.getRng().text', rng.text, 'bspec');
+			} else
+				h += addRenderInfo('selection.getRng().item(0).nodeName', rng.item(0).nodeName, 'bspec');
+		}
+
+		h += '</table>';
+	}
+
+	h += '<p>Fields marked in <strong class="bspec">gray</strong> is not cross browser and should be used with care.</p>';
+	h += '<p>Fields marked <strong class="dep">red</strong> are marked deprecated and will be removed in the future.</p><br />';
+
+	se.innerHTML = h;
+}
+
+function addRenderInfo(n, v, c) {
+	return '<tr><td' + (c ? ' class="' + c + '"' : '')+ '>' + n + '</td><td><input type="text" value="' + tinyMCE.xmlEncode(v != null ? ('' + v).replace(/[\r\n]/g, '') : 'null') + '" /></td></tr>';
+}
+
+function renderSettings() {
+	var se = document.getElementById('settings'), n, sn, inst, h = '', v;
+
+	for (n in tinyMCE.instances) {
+		inst = tinyMCE.instances[n];
+
+		if (!tinyMCE.isInstance(inst))
+			continue;
+
+		h += '<h2>Instance id: ' + inst.editorId + '</h2>';
+		h += '<table border="0" cellpadding="0" cellspacing="0" class="data">';
+
+		for (sn in inst.settings) {
+			v = inst.settings[sn];
+
+			h += '<tr><td class="col1">' + tinyMCE.xmlEncode(sn) + '</td><td><input type="text" value="' + tinyMCE.xmlEncode(v) + '" /></td></tr>';
+		}
+
+		h += '</table>';
+	}
+
+	se.innerHTML = h;
+}
+
+function renderContent() {
+	var se = document.getElementById('content'), n, inst, h = '';
+
+	for (n in tinyMCE.instances) {
+		inst = tinyMCE.instances[n];
+
+		if (!tinyMCE.isInstance(inst))
+			continue;
+
+		h += '<h2>Instance id: ' + inst.editorId + '</h2>';
+
+		h += '<h3>Start content - inst.startContent:</h3>';
+		h += '<div>' + tinyMCE.xmlEncode(inst.startContent) + '</div>';
+
+		h += '<h3>Raw content - inst.getBody().innerHTML or inst.getHTML(true):</h3>';
+		h += '<div>' + tinyMCE.xmlEncode(inst.getHTML(true)) + '</div>';
+
+		h += '<h3>Cleaned content - inst.getHTML():</h3>';
+		h += '<div>' + tinyMCE.xmlEncode(inst.getHTML()) + '</div>';
+
+		if (inst.serializedHTML) {
+			h += '<h3>Serialized HTML content - inst.serializedHTML:</h3>';
+			h += '<div>' + tinyMCE.xmlEncode(inst.serializedHTML) + '</div>';
+		}
+	}
+
+	se.innerHTML = h;
+}
+
+function renderCommandStates() {
+	var se = document.getElementById('command_states'), n, inst, h = '', v, ex;
+	var cmds = new Array('2D-Position','AbsolutePosition','BackColor','BlockDirLTR','BlockDirRTL','Bold','BrowseMode','Copy','CreateBookmark','CreateLink','Cut','Delete','DirLTR','DirRTL','EditMode','enableInlineTableEditing','enableObjectResizing','FontName','FontSize','ForeColor','FormatBlock','Indent','InsertButton','InsertFieldset','InsertHorizontalRule','InsertIFrame','InsertImage','InsertInputButton','InsertInputCheckbox','InsertInputFileUpload','InsertInputHidden','InsertInputImage','InsertInputPassword','InsertInputRadio','InsertInputReset','InsertInputSubmit','InsertInputText','InsertMarquee','InsertOrderedList','InsertParagraph','InsertSelectDropdown','InsertSelectListbox','InsertTextArea','InsertUnorderedList','Italic','JustifyCenter','JustifyFull','JustifyLeft','JustifyNone','JustifyRight','LiveResize','MultipleSelection','Open','Outdent','OverWrite','Paste','PlayImage','Redo','Refresh','RemoveFormat','SaveAs','SelectAll','SizeToControl','SizeToControlHeight','Size!
 ToControlWidth','Stop','StopImage','StrikeThrough','styleWithCSS','Subscript','Superscript','UnBookmark','Underline','Undo','Unlink','Unselect'), i;
+
+	for (n in tinyMCE.instances) {
+		inst = tinyMCE.instances[n];
+
+		if (!tinyMCE.isInstance(inst))
+			continue;
+
+		h += '<h2>Instance id: ' + inst.editorId + '</h2>';
+		h += '<table border="0" cellpadding="0" cellspacing="0" class="data">';
+
+		for (i=0; i<cmds.length; i++) {
+			v = null;
+
+			try {
+				v = tinyMCE.isGecko || inst.getDoc().queryCommandSupported(cmds[i]);
+				v = v ? inst.queryCommandState(cmds[i]) : 'Not supported';
+			} catch (ex) {
+				v = 'Not supported';
+			}
+
+			h += '<tr><td><input type="text" value="' + tinyMCE.xmlEncode(cmds[i]) + '" /></td><td><input type="text" value="' + tinyMCE.xmlEncode(v) + '" /></td></tr>';
+		}
+
+		h += '</table>';
+	}
+
+	se.innerHTML = h;
+}
+
+function renderUndoRedo() {
+	var se = document.getElementById('undo_redo'), inst, n, h = '', i, le, id, d, ur;
+	var f = document.forms[0];	
+
+	if (tinyMCE.undoLevels) {
+		le = tinyMCE.undoLevels;
+
+		h += '<h2>Global undo/redo</h2>';
+		h += '<table border="0" cellpadding="0" cellspacing="0" width="50%" class="data">';
+		h += '<tr><td>undoLevels.length</td><td>' + le.length + '</td></tr>';
+		h += '<tr><td>undoIndex</td><td>' + tinyMCE.undoIndex + '</td></tr>';
+		h += '</table>';
+
+		for (i=0; i<le.length; i++)
+			h += '<h3>Level: ' + i + ', Instance: ' + (le[i] ? le[i].editorId : 'null') + '</h3>';
+	}
+
+	for (n in tinyMCE.instances) {
+		inst = tinyMCE.instances[n];
+
+		if (!tinyMCE.isInstance(inst))
+			continue;
+
+		ur = inst.undoRedo;
+		le = ur.undoLevels;
+
+		h += '<hr /><h2>Instance id: ' + inst.editorId + '</h2>';
+		h += '<table border="0" cellpadding="0" cellspacing="0" width="50%" class="data">';
+		h += '<tr><td>undoLevels.length</td><td>' + le.length + '</td></tr>';
+		h += '<tr><td>undoIndex</td><td>' + ur.undoIndex + '</td></tr>';
+		h += '<tr><td>typingUndoIndex</td><td>' + ur.typingUndoIndex + '</td></tr>';
+		h += '<tr><td>undoRedo</td><td>' + ur.undoRedo + '</td></tr>';
+		h += '</table>';
+
+		for (i=0; i<le.length; i++) {
+			h += '<h3>Level: ' + i + (!le[i].bookmark ? "" : " [bookmark]") + '</h3>';
+			h += '<div class="undodata">' + tinyMCE.xmlEncode(le[i].content) + '</div>';
+
+			if (i > 0 && f.undo_diff.checked) {
+				d = diff_main(i > 0 ? le[i-1].content.replace(/[\r\n]+/g, '') : null, le[i].content.replace(/[\r\n]+/g, ''), false);
+				diff_cleanup_semantic(d);
+				h += '<h3>Diff ' + (i-1) + ',' + i + '</h3><div class="undodata">' + diff_prettyhtml(d) + '</div>';
+			}
+		}
+	}
+
+	se.innerHTML = h;
+}
+
+function clearLog() {
+	document.getElementById('log').innerHTML = '';
+	devkit._startTime = null;
+}
+
+function cancelAction() {
+	parent.document.getElementById('devkit').style.display = 'none';
+}
+
+function toggleDebugEvents(s) {
+	devkit._debugEvents(s);
+}
+
+function storeSelection() {
+	book = tinyMCE.selectedInstance.selection.getBookmark();
+
+	return false;
+}
+
+function restoreSelection() {
+	tinyMCE.selectedInstance.selection.moveToBookmark(book);
+
+	return false;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/jscripts/diff.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/jscripts/diff.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/jscripts/diff.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1192 @@
+// Diff_Match_Patch v1.3
+// Computes the difference between two texts to create a patch.
+// Applies the patch onto another text, allowing for errors.
+// Copyright (C) 2006 Neil Fraser
+// http://neil.fraser.name/software/diff_match_patch/
+
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License (www.gnu.org) for more details.
+
+
+// Constants.
+// Redefine these in your program to override the defaults.
+
+// Number of seconds to map a diff before giving up.  (0 for infinity)
+var DIFF_TIMEOUT = 1.0;
+// Cost of an empty edit operation in terms of edit characters.
+var DIFF_EDIT_COST = 4;
+// Tweak the relative importance (0.0 = accuracy, 1.0 = proximity)
+var MATCH_BALANCE = 0.5;
+// At what point is no match declared (0.0 = perfection, 1.0 = very loose)
+var MATCH_THRESHOLD = 0.5;
+// The min and max cutoffs used when computing text lengths.
+var MATCH_MINLENGTH = 100;
+var MATCH_MAXLENGTH = 1000;
+// Chunk size for context length.
+var PATCH_MARGIN = 4;
+
+
+  //////////////////////////////////////////////////////////////////////
+ //  Diff                                                            //
+//////////////////////////////////////////////////////////////////////
+
+// The data structure representing a diff is an array of tuples:
+// [[-1, "Hello"], [1, "Goodbye"], [0, " world."]]
+// which means: delete "Hello", add "Goodbye" and keep " world."
+
+
+function diff_main(text1, text2, checklines) {
+  // Find the differences between two texts.  Return an array of changes.
+  // If checklines is present and false, then don't run a line-level diff first to identify the changed areas.
+  // Check for equality (speedup)
+  if (text1 == text2)
+    return [[0, text1]];
+
+  if (typeof checklines == 'undefined')
+    checklines = true;
+
+  var a;
+  // Trim off common prefix (speedup)
+  a = diff_prefix(text1, text2);
+  text1 = a[0];
+  text2 = a[1];
+  var commonprefix = a[2];
+
+  // Trim off common suffix (speedup)
+  a = diff_suffix(text1, text2);
+  text1 = a[0];
+  text2 = a[1];
+  var commonsuffix = a[2];
+
+  var diff, i;
+  var longtext = text1.length > text2.length ? text1 : text2;
+  var shorttext = text1.length > text2.length ? text2 : text1;
+
+  if (!text1) {  // Just add some text (speedup)
+    diff = [[1, text2]];
+  } else if (!text2) { // Just delete some text (speedup)
+    diff = [[-1, text1]];
+  } else if ((i = longtext.indexOf(shorttext)) != -1) {
+    // Shorter text is inside the longer text (speedup)
+    diff = [[1, longtext.substring(0, i)], [0, shorttext], [1, longtext.substring(i+shorttext.length)]];
+    // Swap insertions for deletions if diff is reversed.
+    if (text1.length > text2.length)
+      diff[0][0] = diff[2][0] = -1;
+  } else {
+    longtext = shorttext = null; // Garbage collect
+    // Check to see if the problem can be split in two.
+    var hm = diff_halfmatch(text1, text2);
+    if (hm) {
+      // A half-match was found, sort out the return data.
+      var text1_a = hm[0];
+      var text1_b = hm[1];
+      var text2_a = hm[2];
+      var text2_b = hm[3];
+      var mid_common = hm[4];
+      // Send both pairs off for separate processing.
+      var diff_a = diff_main(text1_a, text2_a, checklines);
+      var diff_b = diff_main(text1_b, text2_b, checklines);
+      // Merge the results.
+      diff = diff_a.concat([[0, mid_common]], diff_b);
+    } else {
+      // Perform a real diff.
+      if (checklines && text1.length + text2.length < 250)
+        checklines = false; // Too trivial for the overhead.
+      if (checklines) {
+        // Scan the text on a line-by-line basis first.
+        a = diff_lines2chars(text1, text2);
+        text1 = a[0];
+        text2 = a[1];
+        var linearray = a[2];
+      }
+      diff = diff_map(text1, text2);
+      if (!diff) // No acceptable result.
+        diff = [[-1, text1], [1, text2]];
+      if (checklines) {
+        diff_chars2lines(diff, linearray); // Convert the diff back to original text.
+        diff_cleanup_semantic(diff); // Eliminate freak matches (e.g. blank lines)
+
+        // Rediff any replacement blocks, this time on character-by-character basis.
+        diff.push([0, '']);  // Add a dummy entry at the end.
+        var pointer = 0;
+        var count_delete = 0;
+        var count_insert = 0;
+        var text_delete = '';
+        var text_insert = '';
+        while(pointer < diff.length) {
+          if (diff[pointer][0] == 1) {
+            count_insert++;
+            text_insert += diff[pointer][1];
+          } else if (diff[pointer][0] == -1) {
+            count_delete++;
+            text_delete += diff[pointer][1];
+          } else {  // Upon reaching an equality, check for prior redundancies.
+            if (count_delete >= 1 && count_insert >= 1) {
+              // Delete the offending records and add the merged ones.
+              a = diff_main(text_delete, text_insert, false);
+              diff.splice(pointer - count_delete - count_insert, count_delete + count_insert);
+              pointer = pointer - count_delete - count_insert;
+              for (i=a.length-1; i>=0; i--)
+                diff.splice(pointer, 0, a[i]);
+              pointer = pointer + a.length;
+            }
+            count_insert = 0;
+            count_delete = 0;
+            text_delete = '';
+            text_insert = '';
+          }
+          pointer++;
+        }
+        diff.pop();  // Remove the dummy entry at the end.
+
+      }
+    }
+  }
+
+  if (commonprefix)
+    diff.unshift([0, commonprefix]);
+  if (commonsuffix)
+    diff.push([0, commonsuffix]);
+  diff_cleanup_merge(diff);
+  return diff;
+}
+
+
+function diff_lines2chars(text1, text2) {
+  // Split text into an array of strings.
+  // Reduce the texts to a string of hashes where each character represents one line.
+  var linearray = new Array();  // linearray[4] == "Hello\n"
+  var linehash = new Object();  // linehash["Hello\n"] == 4
+
+  // "\x00" is a valid JavaScript character, but the Venkman debugger doesn't like it (bug 335098)
+  // So we'll insert a junk entry to avoid generating a null character.
+  linearray.push('');
+
+  function diff_lines2chars_munge(text) {
+    // My first ever closure!
+    var i, line;
+    var chars = '';
+    while (text) {
+      i = text.indexOf('\n');
+      if (i == -1)
+        i = text.length;
+      line = text.substring(0, i+1);
+      text = text.substring(i+1);
+      if (linehash.hasOwnProperty ? linehash.hasOwnProperty(line) : (linehash[line] !== undefined)) {
+        chars += String.fromCharCode(linehash[line]);
+      } else {
+        linearray.push(line);
+        linehash[line] = linearray.length - 1;
+        chars += String.fromCharCode(linearray.length - 1);
+      }
+    }
+    return chars;
+  }
+
+  var chars1 = diff_lines2chars_munge(text1);
+  var chars2 = diff_lines2chars_munge(text2);
+  return [chars1, chars2, linearray];
+}
+
+
+function diff_chars2lines(diff, linearray) {
+  // Rehydrate the text in a diff from a string of line hashes to real lines of text.
+  var chars, text;
+  for (var x=0; x<diff.length; x++) {
+    chars = diff[x][1];
+    text = '';
+    for (var y=0; y<chars.length; y++)
+      text += linearray[chars.charCodeAt(y)];
+    diff[x][1] = text;
+  }
+}
+
+
+function diff_map(text1, text2) {
+  // Explore the intersection points between the two texts.
+  var now = new Date();
+  var ms_end = now.getTime() + DIFF_TIMEOUT * 1000; // Don't run for too long.
+  var max = (text1.length + text2.length) / 2;
+  var v_map1 = new Array();
+  var v_map2 = new Array();
+  var v1 = new Object();
+  var v2 = new Object();
+  v1[1] = 0;
+  v2[1] = 0;
+  var x, y;
+  var footstep; // Used to track overlapping paths.
+  var footsteps = new Object();
+  var done = false;
+  var hasOwnProperty = !!(footsteps.hasOwnProperty);
+  // If the total number of characters is odd, then the front path will collide with the reverse path.
+  var front = (text1.length + text2.length) % 2;
+  for (var d=0; d<max; d++) {
+    now = new Date();
+    if (DIFF_TIMEOUT > 0 && now.getTime() > ms_end) // Timeout reached
+      return null;
+
+    // Walk the front path one step.
+    v_map1[d] = new Object();
+    for (var k=-d; k<=d; k+=2) {
+      if (k == -d || k != d && v1[k-1] < v1[k+1])
+        x = v1[k+1];
+      else
+        x = v1[k-1]+1;
+      y = x - k;
+      footstep = x+","+y;
+      if (front && (hasOwnProperty ? footsteps.hasOwnProperty(footstep) : (footsteps[footstep] !== undefined)))
+        done = true;
+      if (!front)
+        footsteps[footstep] = d;
+      while (!done && x < text1.length && y < text2.length && text1.charAt(x) == text2.charAt(y)) {
+        x++; y++;
+        footstep = x+","+y;
+        if (front && (hasOwnProperty ? footsteps.hasOwnProperty(footstep) : (footsteps[footstep] !== undefined)))
+          done = true;
+        if (!front)
+          footsteps[footstep] = d;
+      }
+      v1[k] = x;
+      v_map1[d][x+","+y] = true;
+      if (done) {
+        // Front path ran over reverse path.
+        v_map2 = v_map2.slice(0, footsteps[footstep]+1);
+        var a = diff_path1(v_map1, text1.substring(0, x), text2.substring(0, y));
+        return a.concat(diff_path2(v_map2, text1.substring(x), text2.substring(y)));
+      }
+    }
+
+    // Walk the reverse path one step.
+    v_map2[d] = new Object();
+    for (var k=-d; k<=d; k+=2) {
+      if (k == -d || k != d && v2[k-1] < v2[k+1])
+        x = v2[k+1];
+      else
+        x = v2[k-1]+1;
+      y = x - k;
+      footstep = (text1.length-x)+","+(text2.length-y);
+      if (!front && (hasOwnProperty ? footsteps.hasOwnProperty(footstep) : (footsteps[footstep] !== undefined)))
+        done = true;
+      if (front)
+        footsteps[footstep] = d;
+      while (!done && x < text1.length && y < text2.length && text1.charAt(text1.length-x-1) == text2.charAt(text2.length-y-1)) {
+        x++; y++;
+        footstep = (text1.length-x)+","+(text2.length-y);
+        if (!front && (hasOwnProperty ? footsteps.hasOwnProperty(footstep) : (footsteps[footstep] !== undefined)))
+          done = true;
+        if (front)
+          footsteps[footstep] = d;
+      }
+      v2[k] = x;
+      v_map2[d][x+","+y] = true;
+      if (done) {
+        // Reverse path ran over front path.
+        v_map1 = v_map1.slice(0, footsteps[footstep]+1);
+        var a = diff_path1(v_map1, text1.substring(0, text1.length-x), text2.substring(0, text2.length-y));
+        return a.concat(diff_path2(v_map2, text1.substring(text1.length-x), text2.substring(text2.length-y)));
+      }
+    }
+  }
+  // Number of diffs equals number of characters, no commonality at all.
+  return null;
+}
+
+
+function diff_path1(v_map, text1, text2) {
+  // Work from the middle back to the start to determine the path.
+  var path = [];
+  var x = text1.length;
+  var y = text2.length;
+  var last_op = null;
+  for (var d=v_map.length-2; d>=0; d--) {
+    while(1) {
+      if (v_map[d].hasOwnProperty ? v_map[d].hasOwnProperty((x-1)+","+y) : (v_map[d][(x-1)+","+y] !== undefined)) {
+        x--;
+        if (last_op === -1)
+          path[0][1] = text1.charAt(x) + path[0][1];
+        else
+          path.unshift([-1, text1.charAt(x)]);
+        last_op = -1;
+        break;
+      } else if (v_map[d].hasOwnProperty ? v_map[d].hasOwnProperty(x+","+(y-1)) : (v_map[d][x+","+(y-1)] !== undefined)) {
+        y--;
+        if (last_op === 1)
+          path[0][1] = text2.charAt(y) + path[0][1];
+        else
+          path.unshift([1, text2.charAt(y)]);
+        last_op = 1;
+        break;
+      } else {
+        x--;
+        y--;
+        //if (text1.charAt(x) != text2.charAt(y))
+        //  return alert("No diagonal.  Can't happen. (diff_path1)");
+        if (last_op === 0)
+          path[0][1] = text1.charAt(x) + path[0][1];
+        else
+          path.unshift([0, text1.charAt(x)]);
+        last_op = 0;
+      }
+    }
+  }
+  return path;
+}
+
+
+function diff_path2(v_map, text1, text2) {
+  // Work from the middle back to the end to determine the path.
+  var path = [];
+  var x = text1.length;
+  var y = text2.length;
+  var last_op = null;
+  for (var d=v_map.length-2; d>=0; d--) {
+    while(1) {
+      if (v_map[d].hasOwnProperty ? v_map[d].hasOwnProperty((x-1)+","+y) : (v_map[d][(x-1)+","+y] !== undefined)) {
+        x--;
+        if (last_op === -1)
+          path[path.length-1][1] += text1.charAt(text1.length-x-1);
+        else
+          path.push([-1, text1.charAt(text1.length-x-1)]);
+        last_op = -1;
+        break;
+      } else if (v_map[d].hasOwnProperty ? v_map[d].hasOwnProperty(x+","+(y-1)) : (v_map[d][x+","+(y-1)] !== undefined)) {
+        y--;
+        if (last_op === 1)
+          path[path.length-1][1] += text2.charAt(text2.length-y-1);
+        else
+          path.push([1, text2.charAt(text2.length-y-1)]);
+        last_op = 1;
+        break;
+      } else {
+        x--;
+        y--;
+        //if (text1.charAt(text1.length-x-1) != text2.charAt(text2.length-y-1))
+        //  return alert("No diagonal.  Can't happen. (diff_path2)");
+        if (last_op === 0)
+          path[path.length-1][1] += text1.charAt(text1.length-x-1);
+        else
+          path.push([0, text1.charAt(text1.length-x-1)]);
+        last_op = 0;
+      }
+    }
+  }
+  return path;
+}
+
+
+function diff_prefix(text1, text2) {
+  // Trim off common prefix
+  var pointermin = 0;
+  var pointermax = Math.min(text1.length, text2.length);
+  var pointermid = pointermax;
+  while(pointermin < pointermid) {
+    if (text1.substring(0, pointermid) == text2.substring(0, pointermid))
+      pointermin = pointermid;
+    else
+      pointermax = pointermid;
+    pointermid = Math.floor((pointermax - pointermin) / 2 + pointermin);
+  }
+  var commonprefix = text1.substring(0, pointermid);
+  text1 = text1.substring(pointermid);
+  text2 = text2.substring(pointermid);
+  return [text1, text2, commonprefix];
+}
+
+
+function diff_suffix(text1, text2) {
+  // Trim off common suffix
+  var pointermin = 0;
+  var pointermax = Math.min(text1.length, text2.length);
+  var pointermid = pointermax;
+  while(pointermin < pointermid) {
+    if (text1.substring(text1.length-pointermid) == text2.substring(text2.length-pointermid))
+      pointermin = pointermid;
+    else
+      pointermax = pointermid;
+    pointermid = Math.floor((pointermax - pointermin) / 2 + pointermin);
+  }
+  var commonsuffix = text1.substring(text1.length-pointermid);
+  text1 = text1.substring(0, text1.length-pointermid);
+  text2 = text2.substring(0, text2.length-pointermid);
+  return [text1, text2, commonsuffix];
+}
+
+
+function diff_halfmatch(text1, text2) {
+  // Do the two texts share a substring which is at least half the length of the longer text?
+  var longtext = text1.length > text2.length ? text1 : text2;
+  var shorttext = text1.length > text2.length ? text2 : text1;
+  if (longtext.length < 10 || shorttext.length < 1)
+    return null; // Pointless.
+
+  function diff_halfmatch_i(longtext, shorttext, i) {
+    // Start with a 1/4 length substring at position i as a seed.
+    var seed = longtext.substring(i, i+Math.floor(longtext.length/4));
+    var j = -1;
+    var best_common = '';
+    var best_longtext_a, best_longtext_b, best_shorttext_a, best_shorttext_b;
+    while ((j = shorttext.indexOf(seed, j+1)) != -1) {
+      var my_prefix = diff_prefix(longtext.substring(i), shorttext.substring(j));
+      var my_suffix = diff_suffix(longtext.substring(0, i), shorttext.substring(0, j));
+      if (best_common.length < (my_suffix[2] + my_prefix[2]).length) {
+        best_common = my_suffix[2] + my_prefix[2];
+        best_longtext_a = my_suffix[0];
+        best_longtext_b = my_prefix[0];
+        best_shorttext_a = my_suffix[1];
+        best_shorttext_b = my_prefix[1];
+      }
+    }
+    if (best_common.length >= longtext.length/2)
+      return [best_longtext_a, best_longtext_b, best_shorttext_a, best_shorttext_b, best_common];
+    else
+      return null;
+  }
+
+  // First check if the second quarter is the seed for a half-match.
+  var hm1 = diff_halfmatch_i(longtext, shorttext, Math.ceil(longtext.length/4));
+  // Check again based on the third quarter.
+  var hm2 = diff_halfmatch_i(longtext, shorttext, Math.ceil(longtext.length/2));
+  var hm;
+  if (!hm1 && !hm2)
+    return null;
+  else if (!hm2)
+    hm = hm1;
+  else if (!hm1)
+    hm = hm2;
+  else // Both matched.  Select the longest.
+    hm = hm1[4].length > hm2[4].length ? hm1 : hm2;
+
+  // A half-match was found, sort out the return data.
+  if (text1.length > text2.length) {
+    var text1_a = hm[0];
+    var text1_b = hm[1];
+    var text2_a = hm[2];
+    var text2_b = hm[3];
+  } else {
+    var text2_a = hm[0];
+    var text2_b = hm[1];
+    var text1_a = hm[2];
+    var text1_b = hm[3];
+  }
+  var mid_common = hm[4];
+  return [text1_a, text1_b, text2_a, text2_b, mid_common];
+}
+
+
+function diff_cleanup_semantic(diff) {
+  // Reduce the number of edits by eliminating semantically trivial equalities.
+  var changes = false;
+  var equalities = []; // Stack of indices where equalities are found.
+  var lastequality = null; // Always equal to equalities[equalities.length-1][1]
+  var pointer = 0; // Index of current position.
+  var length_changes1 = 0; // Number of characters that changed prior to the equality.
+  var length_changes2 = 0; // Number of characters that changed after the equality.
+  while (pointer < diff.length) {
+    if (diff[pointer][0] == 0) { // equality found
+      equalities.push(pointer);
+      length_changes1 = length_changes2;
+      length_changes2 = 0;
+      lastequality = diff[pointer][1];
+    } else { // an insertion or deletion
+      length_changes2 += diff[pointer][1].length;
+      if (lastequality != null && (lastequality.length <= length_changes1) && (lastequality.length <= length_changes2)) {
+        //alert("Splitting: '"+lastequality+"'");
+        diff.splice(equalities[equalities.length-1], 0, [-1, lastequality]); // Duplicate record
+        diff[equalities[equalities.length-1]+1][0] = 1; // Change second copy to insert.
+        equalities.pop();  // Throw away the equality we just deleted;
+        equalities.pop();  // Throw away the previous equality;
+        pointer = equalities.length ? equalities[equalities.length-1] : -1;
+        length_changes1 = 0; // Reset the counters.
+        length_changes2 = 0;
+        lastequality = null;
+        changes = true;
+      }
+    }
+    pointer++;
+  }
+
+  if (changes)
+    diff_cleanup_merge(diff);
+}
+
+
+function diff_cleanup_efficiency(diff) {
+  // Reduce the number of edits by eliminating operationally trivial equalities.
+  var changes = false;
+  var equalities = []; // Stack of indices where equalities are found.
+  var lastequality = ''; // Always equal to equalities[equalities.length-1][1]
+  var pointer = 0; // Index of current position.
+  var pre_ins = false; // Is there an insertion operation before the last equality.
+  var pre_del = false; // Is there an deletion operation before the last equality.
+  var post_ins = false; // Is there an insertion operation after the last equality.
+  var post_del = false; // Is there an deletion operation after the last equality.
+  while (pointer < diff.length) {
+    if (diff[pointer][0] == 0) { // equality found
+      if (diff[pointer][1].length < DIFF_EDIT_COST && (post_ins || post_del)) {
+        // Candidate found.
+        equalities.push(pointer);
+        pre_ins = post_ins;
+        pre_del = post_del;
+        lastequality = diff[pointer][1];
+      } else {
+        // Not a candidate, and can never become one.
+        equalities = [];
+        lastequality = '';
+      }
+      post_ins = post_del = false;
+    } else { // an insertion or deletion
+      if (diff[pointer][0] == -1)
+        post_del = true;
+      else
+        post_ins = true;
+      // Five types to be split:
+      // <ins>A</ins><del>B</del>XY<ins>C</ins><del>D</del>
+      // <ins>A</ins>X<ins>C</ins><del>D</del>
+      // <ins>A</ins><del>B</del>X<ins>C</ins>
+      // <ins>A</del>X<ins>C</ins><del>D</del>
+      // <ins>A</ins><del>B</del>X<del>C</del>
+      if (lastequality && ((pre_ins && pre_del && post_ins && post_del) || ((lastequality.length < DIFF_EDIT_COST/2) && (pre_ins + pre_del + post_ins + post_del) == 3))) {
+        //alert("Splitting: '"+lastequality+"'");
+        diff.splice(equalities[equalities.length-1], 0, [-1, lastequality]); // Duplicate record
+        diff[equalities[equalities.length-1]+1][0] = 1; // Change second copy to insert.
+        equalities.pop();  // Throw away the equality we just deleted;
+        lastequality = '';
+        if (pre_ins && pre_del) {
+          // No changes made which could affect previous entry, keep going.
+          post_ins = post_del = true;
+          equalities = [];
+        } else {
+          equalities.pop();  // Throw away the previous equality;
+          pointer = equalities.length ? equalities[equalities.length-1] : -1;
+          post_ins = post_del = false;
+        }
+        changes = true;
+      }
+    }
+    pointer++;
+  }
+
+  if (changes)
+    diff_cleanup_merge(diff);
+}
+
+
+function diff_cleanup_merge(diff) {
+  // Reorder and merge like edit sections.  Merge equalities.
+  // Any edit section can move as long as it doesn't cross an equality.
+  diff.push([0, '']);  // Add a dummy entry at the end.
+  var pointer = 0;
+  var count_delete = 0;
+  var count_insert = 0;
+  var text_delete = '';
+  var text_insert = '';
+  var record_insert, record_delete;
+  var my_xfix;
+  while(pointer < diff.length) {
+    if (diff[pointer][0] == 1) {
+      count_insert++;
+      text_insert += diff[pointer][1];
+      pointer++;
+    } else if (diff[pointer][0] == -1) {
+      count_delete++;
+      text_delete += diff[pointer][1];
+      pointer++;
+    } else {  // Upon reaching an equality, check for prior redundancies.
+      if (count_delete > 1 || count_insert > 1) {
+        if (count_delete > 1 && count_insert > 1) {
+          // Factor out any common prefixies.
+          my_xfix = diff_prefix(text_insert, text_delete);
+          if (my_xfix[2] != '') {
+            if ((pointer - count_delete - count_insert) > 0 && diff[pointer - count_delete - count_insert - 1][0] == 0) {
+              text_insert = my_xfix[0];
+              text_delete = my_xfix[1];
+              diff[pointer - count_delete - count_insert - 1][1] += my_xfix[2];
+            }
+          }
+          // Factor out any common suffixies.
+          my_xfix = diff_suffix(text_insert, text_delete);
+          if (my_xfix[2] != '') {
+            text_insert = my_xfix[0];
+            text_delete = my_xfix[1];
+            diff[pointer][1] = my_xfix[2] + diff[pointer][1];
+          }
+        }
+        // Delete the offending records and add the merged ones.
+        if (count_delete == 0)
+          diff.splice(pointer - count_delete - count_insert, count_delete + count_insert, [1, text_insert]);
+        else if (count_insert == 0)
+          diff.splice(pointer - count_delete - count_insert, count_delete + count_insert, [-1, text_delete]);
+        else
+          diff.splice(pointer - count_delete - count_insert, count_delete + count_insert, [-1, text_delete], [1, text_insert]);
+        pointer = pointer - count_delete - count_insert + (count_delete ? 1 : 0) + (count_insert ? 1 : 0) + 1;
+      } else if (pointer != 0 && diff[pointer-1][0] == 0) {
+        // Merge this equality with the previous one.
+        diff[pointer-1][1] += diff[pointer][1];
+        diff.splice(pointer, 1);
+      } else {
+        pointer++;
+      }
+      count_insert = 0;
+      count_delete = 0;
+      text_delete = '';
+      text_insert = '';
+    }
+  }
+  if (diff[diff.length-1][1] == '')
+    diff.pop();  // Remove the dummy entry at the end.
+}
+
+
+function diff_addindex(diff) {
+  // Add an index to each tuple, represents where the tuple is located in text2.
+  // e.g. [[-1, 'h', 0], [1, 'c', 0], [0, 'at', 1]]
+  var i = 0;
+  for (var x=0; x<diff.length; x++) {
+    diff[x].push(i);
+    if (diff[x][0] != -1)
+      i += diff[x][1].length;
+  }
+}
+
+
+function diff_xindex(diff, loc) {
+  // loc is a location in text1, compute and return the equivalent location in text2.
+  // e.g. "The cat" vs "The big cat", 1->1, 5->8
+  var chars1 = 0;
+  var chars2 = 0;
+  var last_chars1 = 0;
+  var last_chars2 = 0;
+  for (var x=0; x<diff.length; x++) {
+    if (diff[x][0] != 1) // Equality or deletion.
+      chars1 += diff[x][1].length;
+    if (diff[x][0] != -1) // Equality or insertion.
+      chars2 += diff[x][1].length;
+    if (chars1 > loc) // Overshot the location.
+      break;
+    last_chars1 = chars1;
+    last_chars2 = chars2;
+  }
+  if (diff.length != x && diff[x][0] == -1) // The location was deleted.
+    return last_chars2;
+  // Add the remaining character length.
+  return last_chars2 + (loc - last_chars1);
+}
+
+
+function diff_prettyhtml(diff) {
+  // Convert a diff array into a pretty HTML report.
+  diff_addindex(diff);
+  var html = '';
+  for (var x=0; x<diff.length; x++) {
+    var m = diff[x][0]; // Mode (-1=delete, 0=copy, 1=add)
+    var t = diff[x][1]; // Text of change.
+    var i = diff[x][2]; // Index of change.
+    t = t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
+    t = t.replace(/\n/g, "&para;<BR>");
+    if (m == -1)
+      html += "<DEL STYLE='background:#FFE6E6;' TITLE='i="+i+"'>"+t+"</DEL>";
+    else if (m == 1)
+      html += "<INS STYLE='background:#E6FFE6;' TITLE='i="+i+"'>"+t+"</INS>";
+    else
+      html += "<SPAN TITLE='i="+i+"'>"+t+"</SPAN>";
+  }
+  return html;
+}
+
+
+  //////////////////////////////////////////////////////////////////////
+ //  Match                                                           //
+//////////////////////////////////////////////////////////////////////
+
+
+function match_getmaxbits() {
+  // Compute the number of bits in an int.
+  // The normal answer for JavaScript is 32.
+  var maxbits = 0;
+  var oldi = 1;
+  var newi = 2;
+  while (oldi != newi) {
+    maxbits++;
+    oldi = newi;
+    newi = newi << 1;
+  }
+  return maxbits;
+}
+var MATCH_MAXBITS = match_getmaxbits();
+
+
+function match_main(text, pattern, loc) {
+  // Locate the best instance of 'pattern' in 'text' near 'loc'.
+  loc = Math.max(0, Math.min(loc, text.length-pattern.length));
+  if (text == pattern) {
+    // Shortcut (potentially not guaranteed by the algorithm)
+    return 0;
+  } else if (text.length == 0) {
+    // Nothing to match.
+    return null;
+  } else if (text.substring(loc, loc + pattern.length) == pattern) {
+    // Perfect match at the perfect spot!  (Includes case of null pattern)
+    return loc;
+  } else {
+    // Do a fuzzy compare.
+    var match = match_bitap(text, pattern, loc);
+    return match;
+  }
+}
+
+
+function match_bitap(text, pattern, loc) {
+  // Locate the best instance of 'pattern' in 'text' near 'loc' using the Bitap algorithm.
+  if (pattern.length > MATCH_MAXBITS)
+    return alert("Pattern too long for this browser.");
+
+  // Initialise the alphabet.
+  var s = match_alphabet(pattern);
+
+  var score_text_length = text.length;
+  // Coerce the text length between reasonable maximums and minimums.
+  score_text_length = Math.max(score_text_length, MATCH_MINLENGTH);
+  score_text_length = Math.min(score_text_length, MATCH_MAXLENGTH);
+
+  function match_bitap_score (e, x) {
+    // Compute and return the score for a match with e errors and x location.
+    var d = Math.abs(loc-x);
+    return (e / pattern.length / MATCH_BALANCE) + (d / score_text_length / (1.0 - MATCH_BALANCE));
+  }
+
+  // Highest score beyond which we give up.
+  var score_threshold = MATCH_THRESHOLD;
+  // Is there a nearby exact match? (speedup)
+  var best_loc = text.indexOf(pattern, loc);
+  if (best_loc != -1)
+    score_threshold = Math.min(match_bitap_score(0, best_loc), score_threshold);
+  // What about in the other direction? (speedup)
+  best_loc = text.lastIndexOf(pattern, loc+pattern.length);
+  if (best_loc != -1)
+    score_threshold = Math.min(match_bitap_score(0, best_loc), score_threshold);
+
+  // Initialise the bit arrays.
+  var r = Array();
+  var d = -1;
+  var matchmask = Math.pow(2, pattern.length-1);
+  best_loc = null;
+
+  var bin_min, bin_mid;
+  var bin_max = Math.max(loc+loc, text.length);
+  var last_rd;
+  for (var d=0; d<pattern.length; d++) {
+    // Scan for the best match; each iteration allows for one more error.
+    var rd = Array(text.length);
+
+    // Run a binary search to determine how far from 'loc' we can stray at this error level.
+    bin_min = loc;
+    bin_mid = bin_max;
+    while(bin_min < bin_mid) {
+      if (match_bitap_score(d, bin_mid) < score_threshold)
+        bin_min = bin_mid;
+      else
+        bin_max = bin_mid;
+      bin_mid = Math.floor((bin_max - bin_min) / 2 + bin_min);
+    }
+    bin_max = bin_mid; // Use the result from this iteration as the maximum for the next.
+    var start = Math.max(0, loc - (bin_mid - loc) - 1);
+    var finish = Math.min(text.length-1, pattern.length + bin_mid);
+
+    if (text.charAt(finish) == pattern.charAt(pattern.length-1))
+      rd[finish] = Math.pow(2, d+1)-1;
+    else
+      rd[finish] = Math.pow(2, d)-1;
+    for (var j=finish-1; j>=start; j--) {
+      // The alphabet (s) is a sparse hash, so the following lines generate warnings.
+      if (d == 0) // First pass: exact match.
+        rd[j] = ((rd[j+1] << 1) | 1) & s[text.charAt(j)];
+      else // Subsequent passes: fuzzy match.
+        rd[j] = ((rd[j+1] << 1) | 1) & s[text.charAt(j)] | ((last_rd[j+1] << 1) | 1) | ((last_rd[j] << 1) | 1) | last_rd[j+1];
+      if (rd[j] & matchmask) {
+        var score = match_bitap_score(d, j);
+        // This match will almost certainly be better than any existing match.  But check anyway.
+        if (score <= score_threshold) {
+          // Told you so.
+          score_threshold = score;
+          best_loc = j;
+          if (j > loc) {
+            // When passing loc, don't exceed our current distance from loc.
+            start = Math.max(0, loc - (j - loc));
+          } else {
+            // Already passed loc, downhill from here on in.
+            break;
+          }
+        }
+      }
+    }
+    if (match_bitap_score(d+1, loc) > score_threshold) // No hope for a (better) match at greater error levels.
+      break;
+    last_rd = rd;
+  }
+  return best_loc;
+}
+
+
+function match_alphabet(pattern) {
+  // Initialise the alphabet for the Bitap algorithm.
+  var s = Object();
+  for (var i=0; i<pattern.length; i++)
+    s[pattern.charAt(i)] = 0;
+  for (var i=0; i<pattern.length; i++)
+    s[pattern.charAt(i)] |= Math.pow(2, pattern.length-i-1);
+  return s;
+}
+
+
+  //////////////////////////////////////////////////////////////////////
+ //  Patch                                                           //
+//////////////////////////////////////////////////////////////////////
+
+
+function patch_obj() {
+  // Constructor for a patch object.
+  this.diffs = [];
+  this.start1 = null;
+  this.start2 = null;
+  this.length1 = 0;
+  this.length2 = 0;
+
+  this.toString = function() {
+    // Emmulate GNU diff's format.
+    // Header: @@ -382,8 +481,9 @@
+    // Indicies are printed as 1-based, not 0-based.
+    var coords1, coords2;
+    if (this.length1 == 0)
+      coords1 = this.start1+",0";
+    else if (this.length1 == 1)
+      coords1 = this.start1+1;
+    else
+      coords1 = (this.start1+1)+","+this.length1;
+    if (this.length2 == 0)
+      coords2 = this.start2+",0";
+    else if (this.length2 == 1)
+      coords2 = this.start2+1;
+    else
+      coords2 = (this.start2+1)+","+this.length2;
+    var txt = "@@ -"+coords1+" +"+coords2+" @@\n";
+    // Escape the body of the patch with %xx notation.
+    for (var x=0; x<this.diffs.length; x++)
+      txt += ("- +".charAt(this.diffs[x][0]+1)) + encodeURI(this.diffs[x][1]) + "\n";
+    return txt.replace(/%20/g, ' ');
+  }
+
+  this.text1 = function() {
+    // Compute and return the source text (all equalities and deletions).
+    var txt = '';
+    for (var x=0; x<this.diffs.length; x++)
+      if (this.diffs[x][0] == 0 || this.diffs[x][0] == -1)
+        txt += this.diffs[x][1];
+    return txt;
+  }
+
+  this.text2 = function() {
+    // Compute and return the destination text (all equalities and insertions).
+    var txt = '';
+    for (var x=0; x<this.diffs.length; x++)
+      if (this.diffs[x][0] == 0 || this.diffs[x][0] == 1)
+        txt += this.diffs[x][1];
+    return txt;
+  }
+}
+
+
+function patch_addcontext(patch, text) {
+  var pattern = text.substring(patch.start2, patch.start2+patch.length1);
+  var padding = 0;
+  // Increase the context until we're unique (but don't let the pattern expand beyond MATCH_MAXBITS).
+  while (text.indexOf(pattern) != text.lastIndexOf(pattern) && pattern.length < MATCH_MAXBITS-PATCH_MARGIN-PATCH_MARGIN) {
+    padding += PATCH_MARGIN;
+    pattern = text.substring(patch.start2 - padding, patch.start2+patch.length1 + padding);
+  }
+  // Add one chunk for good luck.
+  padding += PATCH_MARGIN;
+  // Add the prefix.
+  var prefix = text.substring(patch.start2 - padding, patch.start2);
+  if (prefix != '')
+    patch.diffs.unshift([0, prefix]);
+  // Add the suffix
+  var suffix = text.substring(patch.start2+patch.length1, patch.start2+patch.length1 + padding);
+  if (suffix != '')
+    patch.diffs.push([0, suffix]);
+
+  // Roll back the start points.
+  patch.start1 -= prefix.length;
+  patch.start2 -= prefix.length;
+  // Extend the lengths.
+  patch.length1 += prefix.length + suffix.length;
+  patch.length2 += prefix.length + suffix.length;
+}
+
+
+function patch_make(text1, text2, diff) {
+  // Compute a list of patches to turn text1 into text2.
+  // Use diff if provided, otherwise compute it ourselves.
+  if (typeof diff == 'undefined') {
+    diff = diff_main(text1, text2, true);
+    if (diff.length > 2) {
+      diff_cleanup_semantic(diff);
+      diff_cleanup_efficiency(diff);
+    }
+  }
+  if (diff.length == 0)
+    return []; // Get rid of the null case.
+  var patches = [];
+  var patch = new patch_obj();
+  var char_count1 = 0; // Number of characters into the text1 string.
+  var char_count2 = 0; // Number of characters into the text2 string.
+  var last_type = null;
+  var prepatch_text = text1; // Recreate the patches to determine context info.
+  var postpatch_text = text1;
+  for (var x=0; x<diff.length; x++) {
+    var diff_type = diff[x][0];
+    var diff_text = diff[x][1];
+
+    if (patch.diffs.length == 0 && diff_type != 0) {
+      // A new patch starts here.
+      patch.start1 = char_count1;
+      patch.start2 = char_count2;
+    }
+
+    if (diff_type == 1) {
+      // Insertion
+      patch.diffs.push(diff[x]);
+      patch.length2 += diff_text.length;
+      postpatch_text = postpatch_text.substring(0, char_count2) + diff_text + postpatch_text.substring(char_count2);
+    } else if (diff_type == -1) {
+      // Deletion.
+      patch.length1 += diff_text.length;
+      patch.diffs.push(diff[x]);
+      postpatch_text = postpatch_text.substring(0, char_count2) + postpatch_text.substring(char_count2 + diff_text.length);
+    } else if (diff_type == 0 && diff_text.length <= 2*PATCH_MARGIN && patch.diffs.length != 0 && diff.length != x+1) {
+      // Small equality inside a patch.
+      patch.diffs.push(diff[x]);
+      patch.length1 += diff_text.length;
+      patch.length2 += diff_text.length;
+    }
+
+    last_type = diff_type;
+    if (diff_type == 0 && diff_text.length >= 2*PATCH_MARGIN) {
+      // Time for a new patch.
+      if (patch.diffs.length != 0) {
+        patch_addcontext(patch, prepatch_text);
+        patches.push(patch);
+        var patch = new patch_obj();
+        last_type = null;
+        prepatch_text = postpatch_text;
+      }
+    }
+
+    // Update the current character count.
+    if (diff_type != 1)
+      char_count1 += diff_text.length;
+    if (diff_type != -1)
+      char_count2 += diff_text.length;
+  }
+  // Pick up the leftover patch if not empty.
+  if (patch.diffs.length != 0) {
+    patch_addcontext(patch, prepatch_text);
+    patches.push(patch);
+  }
+
+  return patches;
+}
+
+
+function patch_apply(patches, text) {
+  // Merge a set of patches onto the text.
+  // Return a patched text, as well as a list of true/false values indicating which patches were applied.
+  patch_splitmax(patches);
+  var results = [];
+  var delta = 0;
+  var expected_loc, start_loc;
+  var text1, text2;
+  var diff, mod, index1, index2;
+  for (var x=0; x<patches.length; x++) {
+    expected_loc = patches[x].start2 + delta;
+    text1 = patches[x].text1();
+    start_loc = match_main(text, text1, expected_loc);
+    if (start_loc == null) {
+      // No match found.  :(
+      results.push(false);
+    } else {
+      // Found a match.  :)
+      results.push(true);
+      delta = start_loc - expected_loc;
+      text2 = text.substring(start_loc, start_loc + text1.length);
+      if (text1 == text2) {
+        // Perfect match, just shove the replacement text in.
+        text = text.substring(0, start_loc) + patches[x].text2() + text.substring(start_loc + text1.length);
+      } else {
+        // Imperfect match.  Run a diff to get a framework of equivalent indicies.
+        diff = diff_main(text1, text2, false);
+        index1 = 0;
+        for (var y=0; y<patches[x].diffs.length; y++) {
+          mod = patches[x].diffs[y];
+          if (mod[0] != 0)
+            index2 = diff_xindex(diff, index1);
+          if (mod[0] == 1) // Insertion
+            text = text.substring(0, start_loc + index2) + mod[1] + text.substring(start_loc + index2);
+          else if (mod[0] == -1) // Deletion
+            text = text.substring(0, start_loc + index2) + text.substring(start_loc + diff_xindex(diff, index1 + mod[1].length));
+          if (mod[0] != -1)
+            index1 += mod[1].length;
+        }
+      }
+    }
+  }
+  return [text, results];
+}
+
+
+function patch_splitmax(patches) {
+  // Look through the patches and break up any which are longer than the maximum limit of the match algorithm.
+  var bigpatch, patch, patch_size, start1, start2, diff_type, diff_text, precontext, postcontext, empty;
+  for (var x=0; x<patches.length; x++) {
+    if (patches[x].length1 > MATCH_MAXBITS) {
+      bigpatch = patches[x];
+      // Remove the big old patch.
+      patches.splice(x, 1);
+      patch_size = MATCH_MAXBITS;
+      start1 = bigpatch.start1;
+      start2 = bigpatch.start2;
+      precontext = '';
+      while (bigpatch.diffs.length != 0) {
+        // Create one of several smaller patches.
+        patch = new patch_obj();
+        empty = true;
+        patch.start1 = start1 - precontext.length;
+        patch.start2 = start2 - precontext.length;
+        if (precontext  != '') {
+          patch.length1 = patch.length2 = precontext.length;
+          patch.diffs.push([0, precontext]);
+        }
+        while (bigpatch.diffs.length != 0 && patch.length1 < patch_size - PATCH_MARGIN) {
+          diff_type = bigpatch.diffs[0][0];
+          diff_text = bigpatch.diffs[0][1];
+          if (diff_type == 1) {
+            // Insertions are harmless.
+            patch.length2 += diff_text.length;
+            start2 += diff_text.length;
+            patch.diffs.push(bigpatch.diffs.shift());
+            empty = false;
+          } else {
+            // Deletion or equality.  Only take as much as we can stomach.
+            diff_text = diff_text.substring(0, patch_size - patch.length1 - PATCH_MARGIN);
+            patch.length1 += diff_text.length;
+            start1 += diff_text.length;
+            if (diff_type == 0) {
+              patch.length2 += diff_text.length;
+              start2 += diff_text.length;
+            } else {
+              empty = false;
+            }
+            patch.diffs.push([diff_type, diff_text]);
+            if (diff_text == bigpatch.diffs[0][1])
+              bigpatch.diffs.shift();
+            else
+              bigpatch.diffs[0][1] = bigpatch.diffs[0][1].substring(diff_text.length);
+          }
+        }
+        // Compute the head context for the next patch.
+        precontext = patch.text2();
+        precontext = precontext.substring(precontext.length - PATCH_MARGIN);
+        // Append the end context for this patch.
+        postcontext = bigpatch.text1().substring(0, PATCH_MARGIN);
+        if (postcontext  != '') {
+          patch.length1 += postcontext.length;
+          patch.length2 += postcontext.length;
+          if (patch.diffs.length > 0 && patch.diffs[patch.diffs.length-1][0] == 0)
+            patch.diffs[patch.diffs.length-1][1] += postcontext;
+          else
+            patch.diffs.push([0, postcontext]);
+        }
+        if (!empty)
+          patches.splice(x++, 0, patch);
+      }
+    }
+  }
+}
+
+
+function patch_totext(patches) {
+  // Take a list of patches and return a textual representation.
+  var text = '';
+  for (var x=0; x<patches.length; x++)
+    text += patches[x];
+  return text;
+}
+
+
+function patch_fromtext(text) {
+  // Take a textual representation of patches and return a list of patch objects.
+  var patches = [];
+  text = text.split('\n');
+  var patch, m, chars1, chars2, sign, line;
+  while (text.length != 0) {
+    m = text[0].match(/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/);
+    if (!m)
+      return alert("Invalid patch string:\n"+text[0]);
+    patch = new patch_obj();
+    patches.push(patch);
+    patch.start1 = parseInt(m[1]);
+    if (m[2] == '') {
+      patch.start1--;
+      patch.length1 = 1;
+    } else if (m[2] == '0') {
+      patch.length1 = 0;
+    } else {
+      patch.start1--;
+      patch.length1 = parseInt(m[2]);
+    }
+
+    patch.start2 = parseInt(m[3]);
+    if (m[4] == '') {
+      patch.start2--;
+      patch.length2 = 1;
+    } else if (m[4] == '0') {
+      patch.length2 = 0;
+    } else {
+      patch.start2--;
+      patch.length2 = parseInt(m[4]);
+    }
+    text.shift();
+
+    while (text.length != 0) {
+      sign = text[0].charAt(0);
+      line = decodeURIComponent(text[0].substring(1));
+      if (sign == '-') {
+        // Deletion.
+        patch.diffs.push([-1, line]);
+      } else if (sign == '+') {
+        // Insertion.
+        patch.diffs.push([1, line]);
+      } else if (sign == ' ') {
+        // Minor equality.
+        patch.diffs.push([0, line]);
+      } else if (sign == '@') {
+        // Start of next patch.
+        break;
+      } else if (sign == '') {
+        // Blank line?  Whatever.
+      } else {
+        // WTF?
+        return alert("Invalid patch mode: '"+sign+"'\n"+line);
+      }
+      text.shift();
+    }
+  }
+  return patches;
+}
+
+// EOF

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/devkit/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,23 @@
+// UK lang variables
+
+tinyMCE.addToLang('devkit',{
+title : 'TinyMCE Development Kit',
+info_tab : 'Info',
+settings_tab : 'Settings',
+log_tab : 'Log',
+content_tab : 'Content',
+command_states_tab : 'Commands',
+undo_redo_tab : 'Undo/Redo',
+misc_tab : 'Misc',
+filter : 'Filter:',
+clear_log : 'Clear log',
+refresh : 'Refresh',
+info_help : 'Press Refresh to view info.',
+settings_help : 'Press Refresh to display the settings array for each TinyMCE_Control instance.',
+content_help : 'Press Refresh to display the raw and cleaned HTML content for each TinyMCE_Control instance.',
+command_states_help : 'Press Refresh to display the current command states from inst.queryCommandState. This list will also mark unsupported commands.',
+undo_redo_help : 'Press Refresh to display the global and instance undo/redo levels.',
+misc_help : 'Here are various tools for debugging and development purposes.',
+debug_events : 'Debug events',
+undo_diff : 'Diff undo levels'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('directionality');var TinyMCE_DirectionalityPlugin={getInfo:function(){return{longname:'Directionality',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_directionality.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"ltr":return tinyMCE.getButtonHTML(cn,'lang_directionality_ltr_desc','{$pluginurl}/images/ltr.gif','mceDirectionLTR');case"rtl":return tinyMCE.getButtonHTML(cn,'lang_directionality_rtl_desc','{$pluginurl}/images/rtl.gif','mceDirectionRTL')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceDirectionLTR":var inst=tinyMCE.getInstanceById(editor_id);var elm=tinyMCE.getParentElement(inst.getFocusElement(),"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(elm)elm.setAttribute("dir","ltr");tinyMCE.triggerNodeChange(false);return true;case"mceDirectionRTL"!
 :var inst=tinyMCE.getInstanceById(editor_id);var elm=tinyMCE.getParentElement(inst.getFocusElement(),"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(elm)elm.setAttribute("dir","rtl");tinyMCE.triggerNodeChange(false);return true}return false},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){function getAttrib(elm,name){return elm.getAttribute(name)?elm.getAttribute(name):""}if(node==null)return;var elm=tinyMCE.getParentElement(node,"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(!elm){tinyMCE.switchClass(editor_id+'_ltr','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_rtl','mceButtonDisabled');return true}tinyMCE.switchClass(editor_id+'_ltr','mceButtonNormal');tinyMCE.switchClass(editor_id+'_rtl','mceButtonNormal');var dir=getAttrib(elm,"dir");if(dir=="ltr"||dir=="")tinyMCE.switchClass(editor_id+'_ltr','mceButtonSelected');else tinyMCE.switchClass(editor_id+'_rtl','mceButtonSelected');return true}};tinyMCE.addPlugin("directionality",Ti!
 nyMCE_DirectionalityPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,90 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('directionality');
+
+var TinyMCE_DirectionalityPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Directionality',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_directionality.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "ltr":
+				return tinyMCE.getButtonHTML(cn, 'lang_directionality_ltr_desc', '{$pluginurl}/images/ltr.gif', 'mceDirectionLTR');
+
+			case "rtl":
+				return tinyMCE.getButtonHTML(cn, 'lang_directionality_rtl_desc', '{$pluginurl}/images/rtl.gif', 'mceDirectionRTL');
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceDirectionLTR":
+				var inst = tinyMCE.getInstanceById(editor_id);
+				var elm = tinyMCE.getParentElement(inst.getFocusElement(), "p,div,td,h1,h2,h3,h4,h5,h6,pre,address");
+
+				if (elm)
+					elm.setAttribute("dir", "ltr");
+
+				tinyMCE.triggerNodeChange(false);
+				return true;
+
+			case "mceDirectionRTL":
+				var inst = tinyMCE.getInstanceById(editor_id);
+				var elm = tinyMCE.getParentElement(inst.getFocusElement(), "p,div,td,h1,h2,h3,h4,h5,h6,pre,address");
+
+				if (elm)
+					elm.setAttribute("dir", "rtl");
+
+				tinyMCE.triggerNodeChange(false);
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		function getAttrib(elm, name) {
+			return elm.getAttribute(name) ? elm.getAttribute(name) : "";
+		}
+
+		if (node == null)
+			return;
+
+		var elm = tinyMCE.getParentElement(node, "p,div,td,h1,h2,h3,h4,h5,h6,pre,address");
+		if (!elm) {
+			tinyMCE.switchClass(editor_id + '_ltr', 'mceButtonDisabled');
+			tinyMCE.switchClass(editor_id + '_rtl', 'mceButtonDisabled');
+			return true;
+		}
+
+		tinyMCE.switchClass(editor_id + '_ltr', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_rtl', 'mceButtonNormal');
+
+		var dir = getAttrib(elm, "dir");
+		if (dir == "ltr" || dir == "")
+			tinyMCE.switchClass(editor_id + '_ltr', 'mceButtonSelected');
+		else
+			tinyMCE.switchClass(editor_id + '_rtl', 'mceButtonSelected');
+
+		return true;
+	}
+};
+
+tinyMCE.addPlugin("directionality", TinyMCE_DirectionalityPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/images/ltr.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/images/ltr.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/images/rtl.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/images/rtl.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+directionality_ltr_desc : 'Direction left to right',
+directionality_rtl_desc : 'Direction right to left'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/directionality/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('emotions');var TinyMCE_EmotionsPlugin={getInfo:function(){return{longname:'Emotions',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_emotions.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"emotions":return tinyMCE.getButtonHTML(cn,'lang_emotions_desc','{$pluginurl}/images/emotions.gif','mceEmotion')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceEmotion":var template=new Array();template['file']='../../plugins/emotions/emotions.htm';template['width']=160;template['height']=160;template['width']+=tinyMCE.getLang('lang_emotions_delta_width',0);template['height']+=tinyMCE.getLang('lang_emotions_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true}return false}};tinyMCE.addPlugin('emotions',TinyMCE_EmotionsPlugin!
 );
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,63 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('emotions');
+
+// Plucin static class
+var TinyMCE_EmotionsPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Emotions',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_emotions.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	/**
+	 * Returns the HTML contents of the emotions control.
+	 */
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "emotions":
+				return tinyMCE.getButtonHTML(cn, 'lang_emotions_desc', '{$pluginurl}/images/emotions.gif', 'mceEmotion');
+		}
+
+		return "";
+	},
+
+	/**
+	 * Executes the mceEmotion command.
+	 */
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceEmotion":
+				var template = new Array();
+
+				template['file'] = '../../plugins/emotions/emotions.htm'; // Relative to theme
+				template['width'] = 160;
+				template['height'] = 160;
+
+				// Language specific width and height addons
+				template['width'] += tinyMCE.getLang('lang_emotions_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_emotions_delta_height', 0);
+
+				tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"});
+
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	}
+};
+
+// Register plugin
+tinyMCE.addPlugin('emotions', TinyMCE_EmotionsPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/emotions.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/emotions.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/emotions.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_emotions_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/functions.js"></script>
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+	<div align="center">
+		<div class="title">{$lang_emotions_title}:<br /><br /></div>
+
+		<table border="0" cellspacing="0" cellpadding="4">
+		  <tr>
+			<td><a href="javascript:insertEmotion('smiley-cool.gif','lang_emotions_cool');"><img src="images/smiley-cool.gif" width="18" height="18" border="0" alt="{$lang_emotions_cool}" title="{$lang_emotions_cool}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-cry.gif','lang_emotions_cry');"><img src="images/smiley-cry.gif" width="18" height="18" border="0" alt="{$lang_emotions_cry}" title="{$lang_emotions_cry}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-embarassed.gif','lang_emotions_embarassed');"><img src="images/smiley-embarassed.gif" width="18" height="18" border="0" alt="{$lang_emotions_embarassed}" title="{$lang_emotions_embarassed}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-foot-in-mouth.gif','lang_emotions_foot_in_mouth');"><img src="images/smiley-foot-in-mouth.gif" width="18" height="18" border="0" alt="{$lang_emotions_foot_in_mouth}" title="{$lang_emotions_foot_in_mouth}" /></a></td>
+		  </tr>
+		  <tr>
+			<td><a href="javascript:insertEmotion('smiley-frown.gif','lang_emotions_frown');"><img src="images/smiley-frown.gif" width="18" height="18" border="0" alt="{$lang_emotions_frown}" title="{$lang_emotions_frown}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-innocent.gif','lang_emotions_innocent');"><img src="images/smiley-innocent.gif" width="18" height="18" border="0" alt="{$lang_emotions_innocent}" title="{$lang_emotions_innocent}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-kiss.gif','lang_emotions_kiss');"><img src="images/smiley-kiss.gif" width="18" height="18" border="0" alt="{$lang_emotions_kiss}" title="{$lang_emotions_kiss}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-laughing.gif','lang_emotions_laughing');"><img src="images/smiley-laughing.gif" width="18" height="18" border="0" alt="{$lang_emotions_laughing}" title="{$lang_emotions_laughing}" /></a></td>
+		  </tr>
+		  <tr>
+			<td><a href="javascript:insertEmotion('smiley-money-mouth.gif','lang_emotions_money_mouth');"><img src="images/smiley-money-mouth.gif" width="18" height="18" border="0" alt="{$lang_emotions_money_mouth}" title="{$lang_emotions_money_mouth}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-sealed.gif','lang_emotions_sealed');"><img src="images/smiley-sealed.gif" width="18" height="18" border="0" alt="{$lang_emotions_sealed}" title="{$lang_emotions_sealed}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-smile.gif','lang_emotions_smile');"><img src="images/smiley-smile.gif" width="18" height="18" border="0" alt="{$lang_emotions_smile}" title="{$lang_emotions_smile}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-surprised.gif','lang_emotions_surprised');"><img src="images/smiley-surprised.gif" width="18" height="18" border="0" alt="{$lang_emotions_surprised}" title="{$lang_emotions_surprised}" /></a></td>
+		  </tr>
+		  <tr>
+			<td><a href="javascript:insertEmotion('smiley-tongue-out.gif','lang_emotions_tongue_out');"><img src="images/smiley-tongue-out.gif" width="18" height="18" border="0" alt="{$lang_emotions_tongue-out}" title="{$lang_emotions_tongue_out}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-undecided.gif','lang_emotions_undecided');"><img src="images/smiley-undecided.gif" width="18" height="18" border="0" alt="{$lang_emotions_undecided}" title="{$lang_emotions_undecided}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-wink.gif','lang_emotions_wink');"><img src="images/smiley-wink.gif" width="18" height="18" border="0" alt="{$lang_emotions_wink}" title="{$lang_emotions_wink}" /></a></td>
+			<td><a href="javascript:insertEmotion('smiley-yell.gif','lang_emotions_yell');"><img src="images/smiley-yell.gif" width="18" height="18" border="0" alt="{$lang_emotions_yell}" title="{$lang_emotions_yell}" /></a></td>
+		  </tr>
+		</table>
+	</div>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/emotions.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/emotions.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,2 @@
+These emotions where taken from Mozilla Thunderbird.
+I hope they don't get angry if I use them here after all this is a open source project aswell.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-cool.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-cool.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-cry.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-cry.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-embarassed.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-embarassed.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-foot-in-mouth.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-foot-in-mouth.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-frown.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-frown.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-innocent.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-innocent.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-kiss.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-kiss.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-laughing.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-laughing.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-money-mouth.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-money-mouth.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-sealed.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-sealed.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-smile.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-smile.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-surprised.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-surprised.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-tongue-out.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-tongue-out.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-undecided.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-undecided.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-wink.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-wink.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-yell.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/images/smiley-yell.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/jscripts/functions.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/jscripts/functions.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/jscripts/functions.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,21 @@
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+}
+
+function insertEmotion(file_name, title) {
+	title = tinyMCE.getLang(title);
+
+	if (title == null)
+		title = "";
+
+	// XML encode
+	title = title.replace(/&/g, '&amp;');
+	title = title.replace(/\"/g, '&quot;');
+	title = title.replace(/</g, '&lt;');
+	title = title.replace(/>/g, '&gt;');
+
+	var html = '<img src="' + tinyMCE.baseURL + "/plugins/emotions/images/" + file_name + '" mce_src="' + tinyMCE.baseURL + "/plugins/emotions/images/" + file_name + '" border="0" alt="' + title + '" title="' + title + '" />';
+
+	tinyMCE.execCommand('mceInsertContent', false, html);
+	tinyMCEPopup.close();
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/ca_fr.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/ca_fr.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/ca_fr.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// CAN_FR lang variables
+
+tinyMCELang['lang_insert_emotions_title'] = 'Ins&egrave;rer un &eacute;moticon';
+tinyMCELang['lang_emotions_desc'] = '&Eacute;moticons';
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/el.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/el.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/el.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// Greek lang variables by Jacaranda Bill
+
+tinyMCELang['lang_insert_emotions_title'] = 'ÅéóáãùãÞ åíüò åéêïíéäßïõ emoticon';
+tinyMCELang['lang_emotions_desc'] = 'Åéêïíßäéá emoticons';
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,22 @@
+// UK lang variables
+
+tinyMCE.addToLang('emotions',{
+title : 'Insert emotion',
+desc : 'Emotions',
+cool : 'Cool',
+cry : 'Cry',
+embarassed : 'Embarassed',
+foot_in_mouth : 'Foot in mouth',
+frown : 'Frown',
+innocent : 'Innocent',
+kiss : 'Kiss',
+laughing : 'Laughing',
+money_mouth : 'Money mouth',
+sealed : 'Sealed',
+smile : 'Smile',
+surprised : 'Surprised',
+tongue_out : 'Tongue out',
+undecided : 'Undecided',
+wink : 'Wink',
+yell : 'Yell'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/it.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/it.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/it.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+//IT lang variables
+
+tinyMCELang['lang_insert_emotions_title'] = 'Inserisci una emoticon';
+tinyMCELang['lang_emotions_desc'] = 'Emoticon';
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/ko.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/ko.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/ko.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// KO lang variables
+
+tinyMCELang['lang_insert_emotions_title'] = 'À̸ðƼÄÜ ³Ö±â';
+tinyMCELang['lang_emotions_desc'] = 'À̸ðƼÄÜ';
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/se.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/se.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/se.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// SE lang variables
+
+tinyMCELang['lang_insert_emotions_title'] = 'Klistain kännsla';
+tinyMCELang['lang_emotions_desc'] = 'Kännslor';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/uk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/uk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/langs/uk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_emotions_title'] = 'Insert emotion';
+tinyMCELang['lang_emotions_desc'] = 'Emotions';
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/emotions/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/css/content.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/css/content.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/css/content.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,7 @@
+.mceItemFlash {
+	border: 1px dotted #cc0000;
+	background-image: url('../images/flash.gif');
+	background-position: center;
+	background-repeat: no-repeat;
+	background-color: #ffffcc;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/css/flash.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/css/flash.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/css/flash.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,11 @@
+.panel_wrapper div.current {
+	height: 100px;
+}
+
+#width, #height {
+	width: 50px;
+}
+
+#file {
+	width: 250px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('flash');var TinyMCE_FlashPlugin={getInfo:function(){return{longname:'Flash',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_flash.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){if(!tinyMCE.settings['flash_skip_plugin_css'])tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/plugins/flash/css/content.css")},getControlHTML:function(cn){switch(cn){case"flash":return tinyMCE.getButtonHTML(cn,'lang_flash_desc','{$pluginurl}/images/flash.gif','mceFlash')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceFlash":var name="",swffile="",swfwidth="",swfheight="",action="insert";var template=new Array();var inst=tinyMCE.getInstanceById(editor_id);var focusElm=inst.getFocusElement();template['file']='../../plugins/flash/flash.htm';template['width']=430;template['height']=175;templa!
 te['width']+=tinyMCE.getLang('lang_flash_delta_width',0);template['height']+=tinyMCE.getLang('lang_flash_delta_height',0);if(focusElm!=null&&focusElm.nodeName.toLowerCase()=="img"){name=tinyMCE.getAttrib(focusElm,'class');if(name.indexOf('mceItemFlash')==-1)return true;swffile=tinyMCE.getAttrib(focusElm,'alt');if(tinyMCE.getParam('convert_urls'))swffile=eval(tinyMCE.settings['urlconverter_callback']+"(swffile, null, true);");swfwidth=tinyMCE.getAttrib(focusElm,'width');swfheight=tinyMCE.getAttrib(focusElm,'height');action="update"}tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes",swffile:swffile,swfwidth:swfwidth,swfheight:swfheight,action:action});return true}return false},cleanup:function(type,content){switch(type){case"insert_to_editor_dom":if(tinyMCE.getParam('convert_urls')){var imgs=content.getElementsByTagName("img");for(var i=0;i<imgs.length;i++){if(tinyMCE.getAttrib(imgs[i],"class")=="mceItemFlash"){var src=tinyMCE.getAttrib(imgs[i],"alt");if(tinyMCE.ge!
 tParam('convert_urls'))src=eval(tinyMCE.settings['urlconverter_callbac
k']+"(src, null, true);");imgs[i].setAttribute('alt',src);imgs[i].setAttribute('title',src)}}}break;case"get_from_editor_dom":var imgs=content.getElementsByTagName("img");for(var i=0;i<imgs.length;i++){if(tinyMCE.getAttrib(imgs[i],"class")=="mceItemFlash"){var src=tinyMCE.getAttrib(imgs[i],"alt");if(tinyMCE.getParam('convert_urls'))src=eval(tinyMCE.settings['urlconverter_callback']+"(src, null, true);");imgs[i].setAttribute('alt',src);imgs[i].setAttribute('title',src)}}break;case"insert_to_editor":var startPos=0;var embedList=new Array();content=content.replace(new RegExp('<[ ]*embed','gi'),'<embed');content=content.replace(new RegExp('<[ ]*/embed[ ]*>','gi'),'</embed>');content=content.replace(new RegExp('<[ ]*object','gi'),'<object');content=content.replace(new RegExp('<[ ]*/object[ ]*>','gi'),'</object>');while((startPos=content.indexOf('<embed',startPos+1))!=-1){var endPos=content.indexOf('>',startPos);var attribs=TinyMCE_FlashPlugin._parseAttributes(content.substring(st!
 artPos+6,endPos));embedList[embedList.length]=attribs}var index=0;while((startPos=content.indexOf('<object',startPos))!=-1){if(index>=embedList.length)break;var attribs=embedList[index];endPos=content.indexOf('</object>',startPos);endPos+=9;var contentAfter=content.substring(endPos);content=content.substring(0,startPos);content+='<img width="'+attribs["width"]+'" height="'+attribs["height"]+'"';content+=' src="'+(tinyMCE.getParam("theme_href")+'/images/spacer.gif')+'" title="'+attribs["src"]+'"';content+=' alt="'+attribs["src"]+'" class="mceItemFlash" />'+content.substring(endPos);content+=contentAfter;index++;startPos++}var index=0;while((startPos=content.indexOf('<embed',startPos))!=-1){if(index>=embedList.length)break;var attribs=embedList[index];endPos=content.indexOf('>',startPos);endPos+=9;var contentAfter=content.substring(endPos);content=content.substring(0,startPos);content+='<img width="'+attribs["width"]+'" height="'+attribs["height"]+'"';content+=' src="'+(tinyM!
 CE.getParam("theme_href")+'/images/spacer.gif')+'" title="'+attribs["s
rc"]+'"';content+=' alt="'+attribs["src"]+'" class="mceItemFlash" />'+content.substring(endPos);content+=contentAfter;index++;startPos++}break;case"get_from_editor":var startPos=-1;while((startPos=content.indexOf('<img',startPos+1))!=-1){var endPos=content.indexOf('/>',startPos);var attribs=TinyMCE_FlashPlugin._parseAttributes(content.substring(startPos+4,endPos));if(attribs['class']!="mceItemFlash")continue;endPos+=2;var embedHTML='';var wmode=tinyMCE.getParam("flash_wmode","");var quality=tinyMCE.getParam("flash_quality","high");var menu=tinyMCE.getParam("flash_menu","false");embedHTML+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';embedHTML+=' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"';embedHTML+=' width="'+attribs["width"]+'" height="'+attribs["height"]+'">';embedHTML+='<param name="movie" value="'+attribs["title"]+'" />';embedHTML+='<param name="quality" value="'+quality+'" />';embedHTML+='<param nam!
 e="menu" value="'+menu+'" />';embedHTML+='<param name="wmode" value="'+wmode+'" />';embedHTML+='<embed src="'+attribs["title"]+'" wmode="'+wmode+'" quality="'+quality+'" menu="'+menu+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+attribs["width"]+'" height="'+attribs["height"]+'"></embed></object>';chunkBefore=content.substring(0,startPos);chunkAfter=content.substring(endPos);content=chunkBefore+embedHTML+chunkAfter}break}return content},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node==null)return;do{if(node.nodeName=="IMG"&&tinyMCE.getAttrib(node,'class').indexOf('mceItemFlash')==0){tinyMCE.switchClass(editor_id+'_flash','mceButtonSelected');return true}}while((node=node.parentNode));tinyMCE.switchClass(editor_id+'_flash','mceButtonNormal');return true},_parseAttributes:function(attribute_string){var attributeName="";var attributeValue="";var withInName;var withInV!
 alue;var attributes=new Array();var whiteSpaceRegExp=new RegExp('^[ \n
\r\t]+','g');if(attribute_string==null||attribute_string.length<2)return null;withInName=withInValue=false;for(var i=0;i<attribute_string.length;i++){var chr=attribute_string.charAt(i);if((chr=='"'||chr=="'")&&!withInValue)withInValue=true;else if((chr=='"'||chr=="'")&&withInValue){withInValue=false;var pos=attributeName.lastIndexOf(' ');if(pos!=-1)attributeName=attributeName.substring(pos+1);attributes[attributeName.toLowerCase()]=attributeValue.substring(1);attributeName="";attributeValue=""}else if(!whiteSpaceRegExp.test(chr)&&!withInName&&!withInValue)withInName=true;if(chr=='='&&withInName)withInName=false;if(withInName)attributeName+=chr;if(withInValue)attributeValue+=chr}return attributes}};tinyMCE.addPlugin("flash",TinyMCE_FlashPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,285 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('flash');
+
+var TinyMCE_FlashPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Flash',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_flash.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		if (!tinyMCE.settings['flash_skip_plugin_css'])
+			tinyMCE.importCSS(inst.getDoc(), tinyMCE.baseURL + "/plugins/flash/css/content.css");
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "flash":
+				return tinyMCE.getButtonHTML(cn, 'lang_flash_desc', '{$pluginurl}/images/flash.gif', 'mceFlash');
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceFlash":
+				var name = "", swffile = "", swfwidth = "", swfheight = "", action = "insert";
+				var template = new Array();
+				var inst = tinyMCE.getInstanceById(editor_id);
+				var focusElm = inst.getFocusElement();
+
+				template['file']   = '../../plugins/flash/flash.htm'; // Relative to theme
+				template['width']  = 430;
+				template['height'] = 175;
+
+				template['width'] += tinyMCE.getLang('lang_flash_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_flash_delta_height', 0);
+
+				// Is selection a image
+				if (focusElm != null && focusElm.nodeName.toLowerCase() == "img") {
+					name = tinyMCE.getAttrib(focusElm, 'class');
+
+					if (name.indexOf('mceItemFlash') == -1) // Not a Flash
+						return true;
+
+					// Get rest of Flash items
+					swffile = tinyMCE.getAttrib(focusElm, 'alt');
+
+					if (tinyMCE.getParam('convert_urls'))
+						swffile = eval(tinyMCE.settings['urlconverter_callback'] + "(swffile, null, true);");
+
+					swfwidth = tinyMCE.getAttrib(focusElm, 'width');
+					swfheight = tinyMCE.getAttrib(focusElm, 'height');
+					action = "update";
+				}
+
+				tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes", swffile : swffile, swfwidth : swfwidth, swfheight : swfheight, action : action});
+			return true;
+	   }
+
+	   // Pass to next handler in chain
+	   return false;
+	},
+
+	cleanup : function(type, content) {
+		switch (type) {
+			case "insert_to_editor_dom":
+				// Force relative/absolute
+				if (tinyMCE.getParam('convert_urls')) {
+					var imgs = content.getElementsByTagName("img");
+					for (var i=0; i<imgs.length; i++) {
+						if (tinyMCE.getAttrib(imgs[i], "class") == "mceItemFlash") {
+							var src = tinyMCE.getAttrib(imgs[i], "alt");
+
+							if (tinyMCE.getParam('convert_urls'))
+								src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, null, true);");
+
+							imgs[i].setAttribute('alt', src);
+							imgs[i].setAttribute('title', src);
+						}
+					}
+				}
+				break;
+
+			case "get_from_editor_dom":
+				var imgs = content.getElementsByTagName("img");
+				for (var i=0; i<imgs.length; i++) {
+					if (tinyMCE.getAttrib(imgs[i], "class") == "mceItemFlash") {
+						var src = tinyMCE.getAttrib(imgs[i], "alt");
+
+						if (tinyMCE.getParam('convert_urls'))
+							src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, null, true);");
+
+						imgs[i].setAttribute('alt', src);
+						imgs[i].setAttribute('title', src);
+					}
+				}
+				break;
+
+			case "insert_to_editor":
+				var startPos = 0;
+				var embedList = new Array();
+
+				// Fix the embed and object elements
+				content = content.replace(new RegExp('<[ ]*embed','gi'),'<embed');
+				content = content.replace(new RegExp('<[ ]*/embed[ ]*>','gi'),'</embed>');
+				content = content.replace(new RegExp('<[ ]*object','gi'),'<object');
+				content = content.replace(new RegExp('<[ ]*/object[ ]*>','gi'),'</object>');
+
+				// Parse all embed tags
+				while ((startPos = content.indexOf('<embed', startPos+1)) != -1) {
+					var endPos = content.indexOf('>', startPos);
+					var attribs = TinyMCE_FlashPlugin._parseAttributes(content.substring(startPos + 6, endPos));
+					embedList[embedList.length] = attribs;
+				}
+
+				// Parse all object tags and replace them with images from the embed data
+				var index = 0;
+				while ((startPos = content.indexOf('<object', startPos)) != -1) {
+					if (index >= embedList.length)
+						break;
+
+					var attribs = embedList[index];
+
+					// Find end of object
+					endPos = content.indexOf('</object>', startPos);
+					endPos += 9;
+
+					// Insert image
+					var contentAfter = content.substring(endPos);
+					content = content.substring(0, startPos);
+					content += '<img width="' + attribs["width"] + '" height="' + attribs["height"] + '"';
+					content += ' src="' + (tinyMCE.getParam("theme_href") + '/images/spacer.gif') + '" title="' + attribs["src"] + '"';
+					content += ' alt="' + attribs["src"] + '" class="mceItemFlash" />' + content.substring(endPos);
+					content += contentAfter;
+					index++;
+
+					startPos++;
+				}
+
+				// Parse all embed tags and replace them with images from the embed data
+				var index = 0;
+				while ((startPos = content.indexOf('<embed', startPos)) != -1) {
+					if (index >= embedList.length)
+						break;
+
+					var attribs = embedList[index];
+
+					// Find end of embed
+					endPos = content.indexOf('>', startPos);
+					endPos += 9;
+
+					// Insert image
+					var contentAfter = content.substring(endPos);
+					content = content.substring(0, startPos);
+					content += '<img width="' + attribs["width"] + '" height="' + attribs["height"] + '"';
+					content += ' src="' + (tinyMCE.getParam("theme_href") + '/images/spacer.gif') + '" title="' + attribs["src"] + '"';
+					content += ' alt="' + attribs["src"] + '" class="mceItemFlash" />' + content.substring(endPos);
+					content += contentAfter;
+					index++;
+
+					startPos++;
+				}
+
+				break;
+
+			case "get_from_editor":
+				// Parse all img tags and replace them with object+embed
+				var startPos = -1;
+
+				while ((startPos = content.indexOf('<img', startPos+1)) != -1) {
+					var endPos = content.indexOf('/>', startPos);
+					var attribs = TinyMCE_FlashPlugin._parseAttributes(content.substring(startPos + 4, endPos));
+
+					// Is not flash, skip it
+					if (attribs['class'] != "mceItemFlash")
+						continue;
+
+					endPos += 2;
+
+					var embedHTML = '';
+					var wmode = tinyMCE.getParam("flash_wmode", "");
+					var quality = tinyMCE.getParam("flash_quality", "high");
+					var menu = tinyMCE.getParam("flash_menu", "false");
+
+					// Insert object + embed
+					embedHTML += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
+					embedHTML += ' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"';
+					embedHTML += ' width="' + attribs["width"] + '" height="' + attribs["height"] + '">';
+					embedHTML += '<param name="movie" value="' + attribs["title"] + '" />';
+					embedHTML += '<param name="quality" value="' + quality + '" />';
+					embedHTML += '<param name="menu" value="' + menu + '" />';
+					embedHTML += '<param name="wmode" value="' + wmode + '" />';
+					embedHTML += '<embed src="' + attribs["title"] + '" wmode="' + wmode + '" quality="' + quality + '" menu="' + menu + '" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + attribs["width"] + '" height="' + attribs["height"] + '"></embed></object>';
+
+					// Insert embed/object chunk
+					chunkBefore = content.substring(0, startPos);
+					chunkAfter = content.substring(endPos);
+					content = chunkBefore + embedHTML + chunkAfter;
+				}
+				break;
+		}
+
+		// Pass through to next handler in chain
+		return content;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		if (node == null)
+			return;
+
+		do {
+			if (node.nodeName == "IMG" && tinyMCE.getAttrib(node, 'class').indexOf('mceItemFlash') == 0) {
+				tinyMCE.switchClass(editor_id + '_flash', 'mceButtonSelected');
+				return true;
+			}
+		} while ((node = node.parentNode));
+
+		tinyMCE.switchClass(editor_id + '_flash', 'mceButtonNormal');
+
+		return true;
+	},
+
+	// Private plugin internal functions
+
+	_parseAttributes : function(attribute_string) {
+		var attributeName = "";
+		var attributeValue = "";
+		var withInName;
+		var withInValue;
+		var attributes = new Array();
+		var whiteSpaceRegExp = new RegExp('^[ \n\r\t]+', 'g');
+
+		if (attribute_string == null || attribute_string.length < 2)
+			return null;
+
+		withInName = withInValue = false;
+
+		for (var i=0; i<attribute_string.length; i++) {
+			var chr = attribute_string.charAt(i);
+
+			if ((chr == '"' || chr == "'") && !withInValue)
+				withInValue = true;
+			else if ((chr == '"' || chr == "'") && withInValue) {
+				withInValue = false;
+
+				var pos = attributeName.lastIndexOf(' ');
+				if (pos != -1)
+					attributeName = attributeName.substring(pos+1);
+
+				attributes[attributeName.toLowerCase()] = attributeValue.substring(1);
+
+				attributeName = "";
+				attributeValue = "";
+			} else if (!whiteSpaceRegExp.test(chr) && !withInName && !withInValue)
+				withInName = true;
+
+			if (chr == '=' && withInName)
+				withInName = false;
+
+			if (withInName)
+				attributeName += chr;
+
+			if (withInValue)
+				attributeValue += chr;
+		}
+
+		return attributes;
+	}
+};
+
+tinyMCE.addPlugin("flash", TinyMCE_FlashPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/flash.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/flash.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/flash.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,70 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_flash_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/flash.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<link href="css/flash.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+    <form onsubmit="insertFlash();return false;" action="#">
+		<div class="tabs">
+			<ul>
+				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_flash_general}</a></span></li>
+			</ul>
+		</div>
+
+		<div class="panel_wrapper">
+			<div id="general_panel" class="panel current">
+				<fieldset>
+					<legend>{$lang_flash_general}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+							<tr>
+							<td nowrap="nowrap"><label for="file">{$lang_flash_file}</label></td>
+							  <td nowrap="nowrap">
+									<table border="0" cellspacing="0" cellpadding="0">
+									  <tr>
+										<td><input id="file" name="file" type="text" value="" onfocus="this.select();" /></td>
+										<td id="filebrowsercontainer">&nbsp;</td>
+									  </tr>
+									</table>
+								</td>
+							</tr>
+							<tr id="linklistrow">
+								<td><label for="linklist">{$lang_flash_list}</label></td>
+								<td id="linklistcontainer">&nbsp;</td>
+							</tr>
+							<tr>
+								<td nowrap="nowrap"><label>{$lang_flash_size}</label></td>
+								<td nowrap="nowrap">
+									<input type="text" id="width" name="width" value="" onfocus="this.select();" />
+									<select name="width2" id="width2" style="width: 50px">
+										<option value="">px</option>
+										<option value="%">%</option>
+									</select>&nbsp;x&nbsp;<input id="height" name="height" type="text"  value="" onfocus="this.select();" />
+									<select name="height2" id="height2" style="width: 50px">
+										<option value="">px</option>
+										<option value="%">%</option>
+									</select>
+								</td>
+							</tr>
+					</table>
+				</fieldset>
+			</div>
+		</div>
+
+		<div class="mceActionPanel">
+			<div style="float: left">
+				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertFlash();" />
+			</div>
+
+			<div style="float: right">
+				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+			</div>
+		</div>
+	</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/images/flash.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/images/flash.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/jscripts/flash.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/jscripts/flash.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/jscripts/flash.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,107 @@
+var url = tinyMCE.getParam("flash_external_list_url");
+if (url != null) {
+	// Fix relative
+	if (url.charAt(0) != '/' && url.indexOf('://') == -1)
+		url = tinyMCE.documentBasePath + "/" + url;
+
+	document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></sc'+'ript>');
+}
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	document.getElementById("filebrowsercontainer").innerHTML = getBrowserHTML('filebrowser','file','flash','flash');
+
+	// Image list outsrc
+	var html = getFlashListHTML('filebrowser','file','flash','flash');
+	if (html == "")
+		document.getElementById("linklistrow").style.display = 'none';
+	else
+		document.getElementById("linklistcontainer").innerHTML = html;
+
+	var formObj = document.forms[0];
+	var swffile   = tinyMCE.getWindowArg('swffile');
+	var swfwidth  = '' + tinyMCE.getWindowArg('swfwidth');
+	var swfheight = '' + tinyMCE.getWindowArg('swfheight');
+
+	if (swfwidth.indexOf('%')!=-1) {
+		formObj.width2.value = "%";
+		formObj.width.value  = swfwidth.substring(0,swfwidth.length-1);
+	} else {
+		formObj.width2.value = "px";
+		formObj.width.value  = swfwidth;
+	}
+
+	if (swfheight.indexOf('%')!=-1) {
+		formObj.height2.value = "%";
+		formObj.height.value  = swfheight.substring(0,swfheight.length-1);
+	} else {
+		formObj.height2.value = "px";
+		formObj.height.value  = swfheight;
+	}
+
+	formObj.file.value = swffile;
+	formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'), 'Insert', true);
+
+	selectByValue(formObj, 'linklist', swffile);
+
+	// Handle file browser
+	if (isVisible('filebrowser'))
+		document.getElementById('file').style.width = '230px';
+
+	// Auto select flash in list
+	if (typeof(tinyMCEFlashList) != "undefined" && tinyMCEFlashList.length > 0) {
+		for (var i=0; i<formObj.linklist.length; i++) {
+			if (formObj.linklist.options[i].value == tinyMCE.getWindowArg('swffile'))
+				formObj.linklist.options[i].selected = true;
+		}
+	}
+}
+
+function getFlashListHTML() {
+	if (typeof(tinyMCEFlashList) != "undefined" && tinyMCEFlashList.length > 0) {
+		var html = "";
+
+		html += '<select id="linklist" name="linklist" style="width: 250px" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.file.value=this.options[this.selectedIndex].value;">';
+		html += '<option value="">---</option>';
+
+		for (var i=0; i<tinyMCEFlashList.length; i++)
+			html += '<option value="' + tinyMCEFlashList[i][1] + '">' + tinyMCEFlashList[i][0] + '</option>';
+
+		html += '</select>';
+
+		return html;
+	}
+
+	return "";
+}
+
+function insertFlash() {
+	var formObj = document.forms[0];
+	var html      = '';
+	var file      = formObj.file.value;
+	var width     = formObj.width.value;
+	var height    = formObj.height.value;
+	if (formObj.width2.value=='%') {
+		width = width + '%';
+	}
+	if (formObj.height2.value=='%') {
+		height = height + '%';
+	}
+
+	if (width == "")
+		width = 100;
+
+	if (height == "")
+		height = 100;
+
+	html += ''
+		+ '<img src="' + (tinyMCE.getParam("theme_href") + "/images/spacer.gif") + '" mce_src="' + (tinyMCE.getParam("theme_href") + "/images/spacer.gif") + '" '
+		+ 'width="' + width + '" height="' + height + '" '
+		+ 'border="0" alt="' + file + '" title="' + file + '" class="mceItemFlash" />';
+
+	tinyMCEPopup.execCommand("mceInsertContent", true, html);
+	tinyMCE.selectedInstance.repaint();
+
+	tinyMCEPopup.close();
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/de.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/de.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/de.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// DE lang variables
+tinyMCELang['lang_insert_flash']      = 'Flash Movie einf&uuml;gen / bearbeiten';
+tinyMCELang['lang_insert_flash_file'] = 'Flash-Datei';
+tinyMCELang['lang_insert_flash_size'] = 'Gr&ouml;&szlig;e';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,11 @@
+// UK lang variables
+
+tinyMCE.addToLang('flash',{
+title : 'Insert / edit Flash Movie',
+desc : 'Insert / edit Flash Movie',
+file : 'Flash-File (.swf)',
+size : 'Size',
+list : 'Flash files',
+props : 'Flash properties',
+general : 'General'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/se.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/se.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/se.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// SE lang variables
+
+tinyMCELang['lang_insert_flash']      = 'Skapa / uppdatera flash film';
+tinyMCELang['lang_insert_flash_file'] = 'Flash film (.swf)';
+tinyMCELang['lang_insert_flash_size'] = 'Storlek';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/uk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/uk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/langs/uk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_flash']      = 'Insert / edit Flash Movie';
+tinyMCELang['lang_insert_flash_file'] = 'Flash-File (.swf)';
+tinyMCELang['lang_insert_flash_size'] = 'Size';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/flash/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/blank.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/blank.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/blank.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,9 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>blank_page</title>
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+</head>
+<body onload="parent.setupIframe(document);">
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/css/fullpage.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/css/fullpage.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/css/fullpage.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,172 @@
+/* Hide the advanced tab */
+#advanced_tab {
+	display: none;
+}
+
+#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright {
+	width: 280px;
+}
+
+#doctype, #docencoding {
+	width: 200px;
+}
+
+#langcode {
+	width: 30px;
+}
+
+#bgimage {
+	width: 220px;	
+}
+
+#fontface {
+	width: 240px;
+}
+
+#leftmargin, #rightmargin, #topmargin, #bottommargin {
+	width: 50px;
+}
+
+.panel_wrapper div.current {
+	height: 400px;
+}
+
+#stylesheet, #style {
+	width: 240px;
+}
+
+/* Head list classes */
+
+.headlistwrapper {
+	width: 100%;
+}
+
+.addbutton, .removebutton, .moveupbutton, .movedownbutton {
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-color: #F0F0EE;
+	cursor: default;
+	display: block;
+	width: 20px;
+	height: 20px;
+}
+
+.addbutton:hover, .removebutton:hover, .moveupbutton:hover, .movedownbutton:hover {
+	border: 1px solid #0A246A;
+	background-color: #B6BDD2;
+}
+
+.addbutton {
+	background-image: url('../images/add.gif');
+	float: left;
+	margin-right: 3px;
+}
+
+.removebutton {
+	background-image: url('../images/remove.gif');
+	float: left;
+}
+
+.moveupbutton {
+	background-image: url('../images/move_up.gif');
+	float: left;
+	margin-right: 3px;
+}
+
+.movedownbutton {
+	background-image: url('../images/move_down.gif');
+	float: left;
+}
+
+.selected {
+	border: 1px solid #0A246A;
+	background-color: #B6BDD2;
+}
+
+.toolbar {
+	width: 100%;
+}
+
+#headlist {
+	width: 100%;
+	margin-top: 3px;
+	font-size: 11px;
+}
+
+#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element {
+	display: none;
+}
+
+#addmenu {
+	position: absolute;
+	border: 1px solid gray;
+	display: none;
+	z-index: 100;
+	background-color: white;
+}
+
+#addmenu a {
+	display: block;
+	width: 100%;
+	line-height: 20px;
+	text-decoration: none;
+	background-color: white;
+}
+
+#addmenu a:hover {
+	background-color: #B6BDD2;
+	color: black;
+}
+
+#addmenu span {
+	padding-left: 10px;
+	padding-right: 10px;
+}
+
+#updateElementPanel {
+	display: none;
+}
+
+#script_element .panel_wrapper div.current {
+	height: 108px;
+}
+
+#style_element .panel_wrapper div.current {
+	height: 108px;
+}
+
+#link_element  .panel_wrapper div.current {
+	height: 140px;
+}
+
+#element_script_value {
+	width: 100%;
+	height: 100px;
+}
+
+#element_comment_value {
+	width: 100%;
+	height: 120px;
+}
+
+#element_style_value {
+	width: 100%;
+	height: 100px;
+}
+
+#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title {
+	width: 250px;
+}
+
+.updateElementButton {
+	margin-top: 3px;
+}
+
+/* MSIE specific styles */
+
+* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton {
+	width: 22px;
+	height: 22px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('fullpage');var TinyMCE_FullPagePlugin={getInfo:function(){return{longname:'Fullpage',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_fullpage.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"fullpage":return tinyMCE.getButtonHTML(cn,'lang_fullpage_desc','{$pluginurl}/images/fullpage.gif','mceFullPageProperties')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceFullPageProperties":var template=new Array();template['file']='../../plugins/fullpage/fullpage.htm';template['width']=430;template['height']=485+(tinyMCE.isOpera?5:0);template['width']+=tinyMCE.getLang('lang_fullpage_delta_width',0);template['height']+=tinyMCE.getLang('lang_fullpage_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case"mceFullPageUpdate!
 ":TinyMCE_FullPagePlugin._addToHead(tinyMCE.getInstanceById(editor_id));return true}return false},cleanup:function(type,content,inst){switch(type){case"insert_to_editor":var tmp=content.toLowerCase();var pos=tmp.indexOf('<body'),pos2;if(pos!=-1){pos=tmp.indexOf('>',pos);pos2=tmp.lastIndexOf('</body>');inst.fullpageTopContent=content.substring(0,pos+1);content=content.substring(pos+1,pos2);}else{if(!inst.fullpageTopContent){var docType=tinyMCE.getParam("fullpage_default_doctype",'<!DOCTYPE html PUBLIC "-/'+'/W3C//DTD XHTML 1.0 Transitional/'+'/EN" "http:/'+'/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');var enc=tinyMCE.getParam("fullpage_default_encoding",'utf-8');var title=tinyMCE.getParam("fullpage_default_title",'Untitled document');var lang=tinyMCE.getParam("fullpage_default_langcode",'en');var pi=tinyMCE.getParam("fullpage_default_xml_pi",true);var ff=tinyMCE.getParam("fullpage_default_font_family","");var fz=tinyMCE.getParam("fullpage_default_font_size","");var !
 ds=tinyMCE.getParam("fullpage_default_style","");var dtc=tinyMCE.getPa
ram("fullpage_default_text_color","");title=title.replace(/&/g,'&amp;');title=title.replace(/\"/g,'&quot;');title=title.replace(/</g,'&lt;');title=title.replace(/>/g,'&gt;');tmp='';if(pi)tmp+='<?xml version="1.0" encoding="'+enc+'"?>\n';tmp+=docType+'\n';tmp+='<html xmlns="http:/'+'/www.w3.org/1999/xhtml" lang="'+lang+'" xml:lang="'+lang+'">\n';tmp+='<head>\n';tmp+='\t<title>'+title+'</title>\n';tmp+='\t<meta http-equiv="Content-Type" content="text/html; charset='+enc+'" />\n';tmp+='</head>\n';tmp+='<body';if(ff!=''||fz!=''){tmp+=' style="';if(ds!='')tmp+=ds+";";if(ff!='')tmp+='font-family: '+ff+";";if(fz!='')tmp+='font-size: '+fz+";";tmp+='"'}if(dtc!='')tmp+=' text="'+dtc+'"';tmp+='>\n';inst.fullpageTopContent=tmp}}this._addToHead(inst);break;case"get_from_editor":if(inst.fullpageTopContent)content=inst.fullpageTopContent+content+"\n</body>\n</html>";break}return content},_addToHead:function(inst){var doc=inst.getDoc();var head=doc.getElementsByTagName("head")[0];var body=d!
 oc.body;var h=inst.fullpageTopContent;var e=doc.createElement("body");var nl,i,le,tmp;h=h.replace(/(\r|\n)/gi,'');h=h.replace(/<\?[^\>]*\>/gi,'');h=h.replace(/<\/?(!DOCTYPE|head|html)[^\>]*\>/gi,'');h=h.replace(/<script(.*?)<\/script>/gi,'');h=h.replace(/<title(.*?)<\/title>/gi,'');h=h.replace(/<(meta|base)[^>]*>/gi,'');h=h.replace(/<link([^>]*)\/>/gi,'<pre mce_type="link" $1></pre>');h=h.replace(/<body/gi,'<div mce_type="body"');h+='</div>';e.innerHTML=h;body.vLink=body.aLink=body.link=body.text='';body.style.cssText='';nl=head.getElementsByTagName('link');for(i=0;i<nl.length;i++){if(tinyMCE.getAttrib(nl[i],'mce_head')=="true")nl[i].parentNode.removeChild(nl[i])}nl=e.getElementsByTagName('pre');for(i=0;i<nl.length;i++){tmp=tinyMCE.getAttrib(nl[i],'media');if(tinyMCE.getAttrib(nl[i],'mce_type')=="link"&&(tmp==""||tmp=="screen"||tmp=="all")&&tinyMCE.getAttrib(nl[i],'rel')=="stylesheet"){le=doc.createElement("link");le.rel="stylesheet";le.href=tinyMCE.getAttrib(nl[i],'href');!
 le.setAttribute("mce_head","true");head.appendChild(le)}}nl=e.getEleme
ntsByTagName('div');if(nl.length>0){body.style.cssText=tinyMCE.getAttrib(nl[0],'style');if((tmp=tinyMCE.getAttrib(nl[0],'leftmargin'))!=''&&body.style.marginLeft=='')body.style.marginLeft=tmp+"px";if((tmp=tinyMCE.getAttrib(nl[0],'rightmargin'))!=''&&body.style.marginRight=='')body.style.marginRight=tmp+"px";if((tmp=tinyMCE.getAttrib(nl[0],'topmargin'))!=''&&body.style.marginTop=='')body.style.marginTop=tmp+"px";if((tmp=tinyMCE.getAttrib(nl[0],'bottommargin'))!=''&&body.style.marginBottom=='')body.style.marginBottom=tmp+"px";body.dir=tinyMCE.getAttrib(nl[0],'dir');body.vLink=tinyMCE.getAttrib(nl[0],'vlink');body.aLink=tinyMCE.getAttrib(nl[0],'alink');body.link=tinyMCE.getAttrib(nl[0],'link');body.text=tinyMCE.getAttrib(nl[0],'text');if((tmp=tinyMCE.getAttrib(nl[0],'background'))!='')body.style.backgroundImage="url('"+tmp+"')";if((tmp=tinyMCE.getAttrib(nl[0],'bgcolor'))!='')body.style.backgroundColor=tmp}}};tinyMCE.addPlugin("fullpage",TinyMCE_FullPagePlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,227 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('fullpage');
+
+var TinyMCE_FullPagePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Fullpage',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_fullpage.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "fullpage":
+				return tinyMCE.getButtonHTML(cn, 'lang_fullpage_desc', '{$pluginurl}/images/fullpage.gif', 'mceFullPageProperties');
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceFullPageProperties":
+				var template = new Array();
+
+				template['file']   = '../../plugins/fullpage/fullpage.htm';
+				template['width']  = 430;
+				template['height'] = 485 + (tinyMCE.isOpera ? 5 : 0);
+
+				template['width'] += tinyMCE.getLang('lang_fullpage_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_fullpage_delta_height', 0);
+
+				tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"});
+			return true;
+
+			case "mceFullPageUpdate":
+				TinyMCE_FullPagePlugin._addToHead(tinyMCE.getInstanceById(editor_id));
+				return true;
+	   }
+
+	   // Pass to next handler in chain
+	   return false;
+	},
+
+	cleanup : function(type, content, inst) {
+		switch (type) {
+			case "insert_to_editor":
+				var tmp = content.toLowerCase();
+				var pos = tmp.indexOf('<body'), pos2;
+
+				// Split page in header and body chunks
+				if (pos != -1) {
+					pos = tmp.indexOf('>', pos);
+					pos2 = tmp.lastIndexOf('</body>');
+					inst.fullpageTopContent = content.substring(0, pos + 1);
+					content = content.substring(pos + 1, pos2);
+					// tinyMCE.debug(inst.fullpageTopContent, content);
+				} else {
+					if (!inst.fullpageTopContent) {
+						var docType = tinyMCE.getParam("fullpage_default_doctype", '<!DOCTYPE html PUBLIC "-/'+'/W3C//DTD XHTML 1.0 Transitional/'+'/EN" "http:/'+'/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
+						var enc = tinyMCE.getParam("fullpage_default_encoding", 'utf-8');
+						var title = tinyMCE.getParam("fullpage_default_title", 'Untitled document');
+						var lang = tinyMCE.getParam("fullpage_default_langcode", 'en');
+						var pi = tinyMCE.getParam("fullpage_default_xml_pi", true);
+						var ff = tinyMCE.getParam("fullpage_default_font_family", "");
+						var fz = tinyMCE.getParam("fullpage_default_font_size", "");
+						var ds = tinyMCE.getParam("fullpage_default_style", "");
+						var dtc = tinyMCE.getParam("fullpage_default_text_color", "");
+
+						// Xml encode it
+						title = title.replace(/&/g, '&amp;');
+						title = title.replace(/\"/g, '&quot;');
+						title = title.replace(/</g, '&lt;');
+						title = title.replace(/>/g, '&gt;');
+
+						tmp = '';
+
+						// Make default chunk
+						if (pi)
+							tmp += '<?xml version="1.0" encoding="' + enc + '"?>\n';
+
+						tmp += docType + '\n';
+						tmp += '<html xmlns="http:/'+'/www.w3.org/1999/xhtml" lang="' + lang + '" xml:lang="' + lang + '">\n';
+						tmp += '<head>\n';
+						tmp += '\t<title>' + title + '</title>\n';
+						tmp += '\t<meta http-equiv="Content-Type" content="text/html; charset=' + enc + '" />\n';
+						tmp += '</head>\n';
+						tmp += '<body';
+
+						if (ff != '' || fz != '') {
+							tmp += ' style="';
+
+							if (ds != '')
+								tmp += ds + ";";
+
+							if (ff != '')
+								tmp += 'font-family: ' + ff + ";";
+
+							if (fz != '')
+								tmp += 'font-size: ' + fz + ";";
+
+							tmp += '"';
+						}
+
+						if (dtc != '')
+							tmp += ' text="' + dtc + '"';
+
+						tmp += '>\n';
+
+						inst.fullpageTopContent = tmp;
+					}
+				}
+
+				this._addToHead(inst);
+
+				break;
+
+			case "get_from_editor":
+				if (inst.fullpageTopContent)
+					content = inst.fullpageTopContent + content + "\n</body>\n</html>";
+
+				break;
+		}
+
+		// Pass through to next handler in chain
+		return content;
+	},
+
+	// Private plugin internal methods
+
+	_addToHead : function(inst) {
+		var doc = inst.getDoc();
+		var head = doc.getElementsByTagName("head")[0];
+		var body = doc.body;
+		var h = inst.fullpageTopContent;
+		var e = doc.createElement("body");
+		var nl, i, le, tmp;
+
+		// Remove stuff we don't want
+		h = h.replace(/(\r|\n)/gi, '');
+		h = h.replace(/<\?[^\>]*\>/gi, '');
+		h = h.replace(/<\/?(!DOCTYPE|head|html)[^\>]*\>/gi, '');
+		h = h.replace(/<script(.*?)<\/script>/gi, '');
+		h = h.replace(/<title(.*?)<\/title>/gi, '');
+		h = h.replace(/<(meta|base)[^>]*>/gi, '');
+
+		// Make link and style elements into pre
+		h = h.replace(/<link([^>]*)\/>/gi, '<pre mce_type="link" $1></pre>');
+		//h = h.replace(/<style([^>]*)>(.*?)<\/style>/gi, '<pre mce_type="style" $1>$2</pre>');
+
+		// Make body a div
+		h = h.replace(/<body/gi, '<div mce_type="body"');
+		h += '</div>';
+
+		// Now crapy MSIE can parse it
+		e.innerHTML = h;
+
+		// Reset all body attributes
+		body.vLink = body.aLink = body.link = body.text = '';
+		body.style.cssText = '';
+
+		// Delete all old links
+		nl = head.getElementsByTagName('link');
+		for (i=0; i<nl.length; i++) {
+			if (tinyMCE.getAttrib(nl[i], 'mce_head') == "true")
+				nl[i].parentNode.removeChild(nl[i]);
+		}
+
+		// Add link elements
+		nl = e.getElementsByTagName('pre');
+		for (i=0; i<nl.length; i++) {
+			tmp = tinyMCE.getAttrib(nl[i], 'media');
+			if (tinyMCE.getAttrib(nl[i], 'mce_type') == "link" && (tmp == "" || tmp == "screen" || tmp == "all") && tinyMCE.getAttrib(nl[i], 'rel') == "stylesheet") {
+				le = doc.createElement("link");
+
+				le.rel = "stylesheet";
+				le.href = tinyMCE.getAttrib(nl[i], 'href');
+				le.setAttribute("mce_head", "true");
+
+				head.appendChild(le);
+			}
+		}
+
+		// Add body attributes
+		nl = e.getElementsByTagName('div');
+		if (nl.length > 0) {
+			body.style.cssText = tinyMCE.getAttrib(nl[0], 'style');
+
+			if ((tmp = tinyMCE.getAttrib(nl[0], 'leftmargin')) != '' && body.style.marginLeft == '')
+				body.style.marginLeft = tmp + "px";
+
+			if ((tmp = tinyMCE.getAttrib(nl[0], 'rightmargin')) != '' && body.style.marginRight == '')
+				body.style.marginRight = tmp + "px";
+
+			if ((tmp = tinyMCE.getAttrib(nl[0], 'topmargin')) != '' && body.style.marginTop == '')
+				body.style.marginTop = tmp + "px";
+
+			if ((tmp = tinyMCE.getAttrib(nl[0], 'bottommargin')) != '' && body.style.marginBottom == '')
+				body.style.marginBottom = tmp + "px";
+
+			body.dir = tinyMCE.getAttrib(nl[0], 'dir');
+			body.vLink = tinyMCE.getAttrib(nl[0], 'vlink');
+			body.aLink = tinyMCE.getAttrib(nl[0], 'alink');
+			body.link = tinyMCE.getAttrib(nl[0], 'link');
+			body.text = tinyMCE.getAttrib(nl[0], 'text');
+
+			if ((tmp = tinyMCE.getAttrib(nl[0], 'background')) != '')
+				body.style.backgroundImage = "url('" + tmp + "')";
+
+			if ((tmp = tinyMCE.getAttrib(nl[0], 'bgcolor')) != '')
+				body.style.backgroundColor = tmp;
+		}
+	}
+};
+
+tinyMCE.addPlugin("fullpage", TinyMCE_FullPagePlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/fullpage.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/fullpage.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/fullpage.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,577 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_fullpage_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mclayer.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/fullpage.js"></script>
+	<link href="css/fullpage.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body id="advlink" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+    <form onsubmit="updateAction();return false;" name="fullpage" action="#">
+		<div class="tabs">
+			<ul>
+				<li id="meta_tab" class="current"><span><a href="javascript:mcTabs.displayTab('meta_tab','meta_panel');" onmousedown="return false;">{$lang_fullpage_meta_tab}</a></span></li>
+				<li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{$lang_fullpage_appearance_tab}</a></span></li>
+				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_fullpage_advanced_tab}</a></span></li>
+			</ul>
+		</div>
+
+		<div class="panel_wrapper">
+			<div id="meta_panel" class="panel current">
+				<fieldset>
+					<legend>{$lang_fullpage_meta_props}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td nowrap="nowrap"><label for="metatitle">{$lang_fullpage_meta_title}</label>&nbsp;</td>
+							<td><input type="text" id="metatitle" name="metatitle" value="" /></td>
+						</tr>
+						<tr>
+							<td nowrap="nowrap"><label for="metakeywords">{$lang_fullpage_meta_keywords}</label>&nbsp;</td>
+							<td><textarea id="metakeywords" name="metakeywords" rows="3"></textarea></td>
+						</tr>
+						<tr>
+							<td nowrap="nowrap"><label for="metadescription">{$lang_fullpage_meta_description}</label>&nbsp;</td>
+							<td><textarea id="metadescription" name="metadescription" rows="3"></textarea></td>
+						</tr>
+						<tr>
+							<td nowrap="nowrap"><label for="metaauthor">{$lang_fullpage_author}</label>&nbsp;</td>
+							<td><input type="text" id="metaauthor" name="metaauthor" value="" /></td>
+						</tr>
+						<tr>
+							<td nowrap="nowrap"><label for="metacopyright">{$lang_fullpage_copyright}</label>&nbsp;</td>
+							<td><input type="text" id="metacopyright" name="metacopyright" value="" /></td>
+						</tr>
+						<tr>
+							<td nowrap="nowrap"><label for="metarobots">{$lang_fullpage_meta_robots}</label>&nbsp;</td>
+							<td>
+<select id="metarobots" name="metarobots">
+			<option value="">{$lang_not_set}</option> 
+			<option value="index,follow">{$lang_fullpage_meta_index_follow}</option>
+			<option value="index,nofollow">{$lang_fullpage_meta_index_nofollow}</option>
+			<option value="noindex,follow">{$lang_fullpage_meta_noindex_follow}</option>
+			<option value="noindex,nofollow">{$lang_fullpage_meta_noindex_nofollow}</option>
+</select>
+							</td>
+						</tr>
+					</table>
+				</fieldset>
+
+				<fieldset>
+					<legend>{$lang_fullpage_langprops}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td class="column1"><label for="docencoding">{$lang_fullpage_encoding}</label></td> 
+							<td>
+								<select id="docencoding" name="docencoding"> 
+										<option value="">{$lang_not_set}</option>
+								</select>
+							</td> 
+						</tr>
+						<tr>
+							<td nowrap="nowrap"><label for="doctypes">{$lang_fullpage_doctypes}</label>&nbsp;</td>
+							<td>
+								<select id="doctypes" name="doctypes">
+										<option value="">{$lang_not_set}</option>
+								</select>
+							</td>
+						</tr>
+						<tr>
+							<td nowrap="nowrap"><label for="langcode">{$lang_fullpage_langcode}</label>&nbsp;</td>
+							<td><input type="text" id="langcode" name="langcode" value="" /></td>
+						</tr>
+						<tr>
+							<td class="column1"><label for="langdir">{$lang_fullpage_langdir}</label></td> 
+							<td>
+								<select id="langdir" name="langdir"> 
+										<option value="">{$lang_not_set}</option> 
+										<option value="ltr">{$lang_fullpage_ltr}</option> 
+										<option value="rtl">{$lang_fullpage_rtl}</option> 
+								</select>
+							</td> 
+						</tr>
+						<tr>
+							<td nowrap="nowrap"><label for="xml_pi">{$lang_fullpage_xml_pi}</label>&nbsp;</td>
+							<td><input type="checkbox" id="xml_pi" name="xml_pi" class="checkbox" /></td>
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+
+			<div id="appearance_panel" class="panel">
+				<fieldset>
+					<legend>{$lang_fullpage_appearance_textprops}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td class="column1"><label for="fontface">{$lang_fullpage_fontface}</label></td> 
+							<td>
+								<select id="fontface" name="fontface" onchange="changedStyleField(this);">
+										<option value="">{$lang_not_set}</option>
+								</select>
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="fontsize">{$lang_fullpage_fontsize}</label></td> 
+							<td>
+								<select id="fontsize" name="fontsize" onchange="changedStyleField(this);">
+										<option value="">{$lang_not_set}</option>
+								</select>
+							</td>
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="textcolor">{$lang_fullpage_textcolor}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="textcolor" name="textcolor" type="text" value="" size="9" onchange="updateColor('textcolor_pick','textcolor');changedStyleField(this);" /></td>
+										<td id="textcolor_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+					</table>
+				</fieldset>
+
+				<fieldset>
+					<legend>{$lang_fullpage_appearance_bgprops}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td class="column1"><label for="bgimage">{$lang_fullpage_bgimage}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="bgimage" name="bgimage" type="text" value="" onchange="changedStyleField(this);" /></td>
+										<td id="bgimage_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+						<tr>
+							<td class="column1"><label for="bgcolor">{$lang_fullpage_bgcolor}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedStyleField(this);" /></td>
+										<td id="bgcolor_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td> 
+						</tr>
+					</table>
+				</fieldset>
+
+				<fieldset>
+					<legend>{$lang_fullpage_appearance_marginprops}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td class="column1"><label for="leftmargin">{$lang_fullpage_left_margin}</label></td> 
+							<td><input id="leftmargin" name="leftmargin" type="text" value="" onchange="changedStyleField(this);" /></td>
+							<td class="column1"><label for="rightmargin">{$lang_fullpage_right_margin}</label></td> 
+							<td><input id="rightmargin" name="rightmargin" type="text" value="" onchange="changedStyleField(this);" /></td>
+						</tr>
+						<tr>
+							<td class="column1"><label for="topmargin">{$lang_fullpage_top_margin}</label></td> 
+							<td><input id="topmargin" name="topmargin" type="text" value="" onchange="changedStyleField(this);" /></td>
+							<td class="column1"><label for="bottommargin">{$lang_fullpage_bottom_margin}</label></td> 
+							<td><input id="bottommargin" name="bottommargin" type="text" value="" onchange="changedStyleField(this);" /></td>
+						</tr>
+					</table>
+				</fieldset>
+
+				<fieldset>
+					<legend>{$lang_fullpage_appearance_linkprops}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td class="column1"><label for="link_color">{$lang_fullpage_link_color}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="link_color" name="link_color" type="text" value="" size="9" onchange="updateColor('link_color_pick','link_color');changedStyleField(this);" /></td>
+										<td id="link_color_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td>
+
+							<td class="column1"><label for="visited_color">{$lang_fullpage_visited_color}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="visited_color" name="visited_color" type="text" value="" size="9" onchange="updateColor('visited_color_pick','visited_color');changedStyleField(this);" /></td>
+										<td id="visited_color_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="active_color">{$lang_fullpage_active_color}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="active_color" name="active_color" type="text" value="" size="9" onchange="updateColor('active_color_pick','active_color');changedStyleField(this);" /></td>
+										<td id="active_color_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td>
+
+							<td>&nbsp;</td>
+							<td>&nbsp;</td>
+
+<!--							<td class="column1"><label for="hover_color">{$lang_fullpage_hover_color}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="hover_color" name="hover_color" type="text" value="" size="9" onchange="changedStyleField(this);" /></td>
+										<td id="hover_color_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td> -->
+						</tr>
+					</table>
+				</fieldset>
+
+				<fieldset>
+					<legend>{$lang_fullpage_appearance_style}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td class="column1"><label for="stylesheet">{$lang_fullpage_stylesheet}</label></td> 
+							<td><table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="stylesheet" name="stylesheet" type="text" value="" /></td>
+										<td id="stylesheet_browsercontainer">&nbsp;</td>
+									</tr>
+								</table></td>
+						</tr>
+						<tr>
+							<td class="column1"><label for="style">{$lang_fullpage_style}</label></td> 
+							<td><input id="style" name="style" type="text" value="" onchange="changedStyleField(this);" /></td>
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+
+			<div id="advanced_panel" class="panel">
+				<div id="addmenu">
+					<table border="0" cellpadding="0" cellspacing="0">
+						<tr><td><a href="javascript:addHeadElm('title');" onmousedown="return false;"><span>{$lang_fullpage_add_title}</span></a></td></tr>
+						<tr><td><a href="javascript:addHeadElm('meta');" onmousedown="return false;"><span>{$lang_fullpage_add_meta}</span></a></td></tr>
+						<tr><td><a href="javascript:addHeadElm('script');" onmousedown="return false;"><span>{$lang_fullpage_add_script}</span></a></td></tr>
+						<tr><td><a href="javascript:addHeadElm('style');" onmousedown="return false;"><span>{$lang_fullpage_add_style}</span></a></td></tr>
+						<tr><td><a href="javascript:addHeadElm('link');" onmousedown="return false;"><span>{$lang_fullpage_add_link}</span></a></td></tr>
+						<tr><td><a href="javascript:addHeadElm('base');" onmousedown="return false;"><span>{$lang_fullpage_add_base}</span></a></td></tr>
+						<tr><td><a href="javascript:addHeadElm('comment');" onmousedown="return false;"><span>{$lang_fullpage_add_comment}</span></a></td></tr>
+					</table>
+				</div>
+
+				<fieldset>
+					<legend>{$lang_fullpage_head_elements}</legend>
+
+					<div class="headlistwrapper">
+						<div class="toolbar">
+							<div style="float: left">
+								<a id="addbutton" href="javascript:showAddMenu();" onmousedown="return false;" class="addbutton" title="{$lang_fullpage_add}"></a>
+								<a href="#" onmousedown="return false;" class="removebutton" title="{$lang_fullpage_remove}"></a>
+							</div>
+							<div style="float: right">
+								<a href="#" onmousedown="return false;" class="moveupbutton" title="{$lang_fullpage_moveup}"></a>
+								<a href="#" onmousedown="return false;" class="movedownbutton" title="{$lang_fullpage_movedown}"></a>
+							</div>
+							<br style="clear: both" />
+						</div>
+						<select id="headlist" size="26" onchange="updateHeadElm(this.options[this.selectedIndex].value);">
+							<option value="title_0">&lt;title&gt;Some title bla bla bla&lt;/title&gt;</option>
+							<option value="meta_1">&lt;meta name="keywords"&gt;Some bla bla bla&lt;/meta&gt;</option>
+							<option value="meta_2">&lt;meta name="description"&gt;Some bla bla bla bla bla bla bla bla bla&lt;/meta&gt;</option>
+							<option value="script_3">&lt;script language=&quot;javascript&quot;&gt;...&lt;/script&gt;</option>
+							<option value="style_4">&lt;style&gt;...&lt;/style&gt;</option>
+							<option value="base_5">&lt;base href="." /&gt;</option>
+							<option value="comment_6">&lt;!-- ... --&gt;</option>
+							<option value="link_7">&lt;link href="." /&gt;</option>
+						</select>
+					</div>
+				</fieldset>
+
+				<fieldset id="meta_element">
+					<legend>{$lang_fullpage_meta_element}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td class="column1"><label for="element_meta_type">{$lang_fullpage_type}</label></td> 
+							<td><select id="element_meta_type">
+										<option value="name">name</option>
+										<option value="http-equiv">http-equiv</option>
+								</select></td>
+						</tr>
+						<tr>
+							<td class="column1"><label for="element_meta_name">{$lang_fullpage_name}</label></td> 
+							<td><input id="element_meta_name" name="element_meta_name" type="text" value="" /></td>
+						</tr>
+						<tr>
+							<td class="column1"><label for="element_meta_content">{$lang_fullpage_content}</label></td> 
+							<td><input id="element_meta_content" name="element_meta_content" type="text" value="" /></td>
+						</tr>
+					</table>
+
+					<input type="button" id="meta_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
+				</fieldset>
+
+				<fieldset id="title_element">
+					<legend>{$lang_fullpage_title_element}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td class="column1"><label for="element_title">{$lang_fullpage_meta_title}</label></td> 
+							<td><input id="element_title" name="element_title" type="text" value="" /></td>
+						</tr>
+					</table>
+
+					<input type="button" id="title_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
+				</fieldset>
+
+				<fieldset id="script_element">
+					<legend>{$lang_fullpage_script_element}</legend>
+
+					<div class="tabs">
+						<ul>
+							<li id="script_props_tab" class="current"><span><a href="javascript:mcTabs.displayTab('script_props_tab','script_props_panel');" onmousedown="return false;">{$lang_fullpage_properties}</a></span></li>
+							<li id="script_value_tab"><span><a href="javascript:mcTabs.displayTab('script_value_tab','script_value_panel');" onmousedown="return false;">{$lang_fullpage_value}</a></span></li>
+						</ul>
+					</div>
+
+					<br style="clear: both" />
+
+					<div class="panel_wrapper">
+						<div id="script_props_panel" class="panel current">
+							<table border="0" cellpadding="4" cellspacing="0">
+								<tr>
+									<td class="column1"><label for="element_script_type">{$lang_fullpage_type}</label></td> 
+									<td><select id="element_script_type">
+										<option value="text/javascript">text/javascript</option>
+										<option value="text/jscript">text/jscript</option>
+										<option value="text/vbscript">text/vbscript</option>
+										<option value="text/vbs">text/vbs</option>
+										<option value="text/ecmascript">text/ecmascript</option>
+										<option value="text/xml">text/xml</option>
+									</select></td>
+								</tr>
+								<tr>
+									<td class="column1"><label for="element_script_src">{$lang_fullpage_src}</label></td> 
+									<td><table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="element_script_src" name="element_script_src" type="text" value="" /></td>
+										<td id="script_src_pickcontainer">&nbsp;</td>
+									</tr>
+								</table></td>
+								</tr>
+								<tr>
+									<td class="column1"><label for="element_script_charset">{$lang_fullpage_charset}</label></td> 
+									<td><select id="element_script_charset"><option value="">{$lang_not_set}</option></select></td>
+								</tr>
+								<tr>
+									<td class="column1"><label for="element_script_defer">{$lang_fullpage_defer}</label></td> 
+									<td><input type="checkbox" id="element_script_defer" name="element_script_defer" class="checkbox" /></td>
+								</tr>
+							</table>
+						</div>
+
+						<div id="script_value_panel" class="panel">
+							<textarea id="element_script_value"></textarea>
+						</div>
+					</div>
+
+					<input type="button" id="script_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
+				</fieldset>
+
+				<fieldset id="style_element">
+					<legend>{$lang_fullpage_style_element}</legend>
+
+					<div class="tabs">
+						<ul>
+							<li id="style_props_tab" class="current"><span><a href="javascript:mcTabs.displayTab('style_props_tab','style_props_panel');" onmousedown="return false;">{$lang_fullpage_properties}</a></span></li>
+							<li id="style_value_tab"><span><a href="javascript:mcTabs.displayTab('style_value_tab','style_value_panel');" onmousedown="return false;">{$lang_fullpage_value}</a></span></li>
+						</ul>
+					</div>
+
+					<br style="clear: both" />
+
+					<div class="panel_wrapper">
+						<div id="style_props_panel" class="panel current">
+							<table border="0" cellpadding="4" cellspacing="0">
+								<tr>
+									<td class="column1"><label for="element_style_type">{$lang_fullpage_type}</label></td> 
+									<td><select id="element_style_type">
+										<option value="text/css">text/css</option>
+									</select></td>
+								</tr>
+								<tr>
+									<td class="column1"><label for="element_style_media">{$lang_fullpage_media}</label></td> 
+									<td><select id="element_style_media"></select></td>
+								</tr>
+							</table>
+						</div>
+
+						<div id="style_value_panel" class="panel">
+							<textarea id="element_style_value"></textarea>
+						</div>
+					</div>
+
+					<input type="button" id="style_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
+				</fieldset>
+
+				<fieldset id="base_element">
+					<legend>{$lang_fullpage_base_element}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td class="column1"><label for="element_base_href">{$lang_fullpage_href}</label></td> 
+							<td><input id="element_base_href" name="element_base_href" type="text" value="" /></td>
+						</tr>
+						<tr>
+							<td class="column1"><label for="element_base_target">{$lang_fullpage_target}</label></td> 
+							<td><input id="element_base_target" name="element_base_target" type="text" value="" /></td>
+						</tr>
+					</table>
+
+					<input type="button" id="base_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
+				</fieldset>
+
+				<fieldset id="link_element">
+					<legend>{$lang_fullpage_link_element}</legend>
+
+					<div class="tabs">
+						<ul>
+							<li id="link_general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('link_general_tab','link_general_panel');" onmousedown="return false;">{$lang_fullpage_general_props}</a></span></li>
+							<li id="link_advanced_tab"><span><a href="javascript:mcTabs.displayTab('link_advanced_tab','link_advanced_panel');" onmousedown="return false;">{$lang_fullpage_advanced_props}</a></span></li>
+						</ul>
+					</div>
+
+					<br style="clear: both" />
+
+					<div class="panel_wrapper">
+						<div id="link_general_panel" class="panel current">
+							<table border="0" cellpadding="4" cellspacing="0">
+								<tr>
+									<td class="column1"><label for="element_link_href">{$lang_fullpage_href}</label></td> 
+									<td><table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="element_link_href" name="element_link_href" type="text" value="" /></td>
+										<td id="link_href_pickcontainer">&nbsp;</td>
+									</tr>
+								</table></td>
+								</tr>
+								<tr>
+									<td class="column1"><label for="element_link_title">{$lang_fullpage_meta_title}</label></td> 
+									<td><input id="element_link_title" name="element_link_title" type="text" value="" /></td>
+								</tr>
+								<tr>
+									<td class="column1"><label for="element_link_type">{$lang_fullpage_type}</label></td> 
+									<td><select id="element_link_type" name="element_link_type">
+										<option value="text/css">text/css</option>
+										<option value="text/javascript">text/javascript</option>
+									</select></td>
+								</tr>
+								<tr>
+									<td class="column1"><label for="element_link_media">{$lang_fullpage_media}</label></td> 
+									<td><select id="element_link_media" name="element_link_media"></select></td>
+								</tr>
+								<tr>
+									<td><label for="element_style_rel">{$lang_fullpage_rel}</label></td>
+									<td><select id="element_style_rel" name="element_style_rel"> 
+											<option value="">{$lang_not_set}</option> 
+											<option value="stylesheet">Stylesheet</option>
+											<option value="alternate">Alternate</option>
+											<option value="designates">Designates</option>
+											<option value="start">Start</option>
+											<option value="next">Next</option>
+											<option value="prev">Prev</option>
+											<option value="contents">Contents</option>
+											<option value="index">Index</option>
+											<option value="glossary">Glossary</option>
+											<option value="copyright">Copyright</option>
+											<option value="chapter">Chapter</option>
+											<option value="subsection">Subsection</option>
+											<option value="appendix">Appendix</option>
+											<option value="help">Help</option>
+											<option value="bookmark">Bookmark</option>
+										</select> 
+									</td>
+								</tr>
+							</table>
+						</div>
+
+						<div id="link_advanced_panel" class="panel">
+							<table border="0" cellpadding="4" cellspacing="0">
+								<tr>
+									<td class="column1"><label for="element_link_charset">{$lang_fullpage_charset}</label></td> 
+									<td><select id="element_link_charset"><option value="">{$lang_not_set}</option></select></td>
+								</tr>
+								<tr>
+									<td class="column1"><label for="element_link_hreflang">{$lang_fullpage_hreflang}</label></td> 
+									<td><input id="element_link_hreflang" name="element_link_hreflang" type="text" value="" /></td>
+								</tr>
+								<tr>
+									<td class="column1"><label for="element_link_target">{$lang_fullpage_target}</label></td> 
+									<td><input id="element_link_target" name="element_link_target" type="text" value="" /></td>
+								</tr>
+								<tr>
+									<td><label for="element_style_rev">{$lang_fullpage_rev}</label></td>
+									<td><select id="element_style_rev" name="element_style_rev"> 
+											<option value="">{$lang_not_set}</option> 
+											<option value="alternate">Alternate</option> 
+											<option value="designates">Designates</option> 
+											<option value="stylesheet">Stylesheet</option> 
+											<option value="start">Start</option> 
+											<option value="next">Next</option> 
+											<option value="prev">Prev</option> 
+											<option value="contents">Contents</option> 
+											<option value="index">Index</option> 
+											<option value="glossary">Glossary</option> 
+											<option value="copyright">Copyright</option> 
+											<option value="chapter">Chapter</option> 
+											<option value="subsection">Subsection</option> 
+											<option value="appendix">Appendix</option> 
+											<option value="help">Help</option> 
+											<option value="bookmark">Bookmark</option> 
+										</select> 
+									</td>
+								</tr>
+							</table>
+						</div>
+					</div>
+
+					<input type="button" id="link_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
+				</fieldset>
+
+				<fieldset id="comment_element">
+					<legend>{$lang_fullpage_comment_element}</legend>
+
+					<textarea id="element_comment_value"></textarea>
+
+					<input type="button" id="comment_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" />
+				</fieldset>
+			</div>
+		</div>
+
+		<div class="mceActionPanel">
+			<div style="float: left">
+				<input type="button" id="insert" name="update" value="{$lang_update}" onclick="updateAction();" />
+			</div>
+
+			<div style="float: right">
+				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+			</div>
+		</div>
+    </form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/add.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/add.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/fullpage.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/fullpage.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/move_down.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/move_down.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/move_up.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/move_up.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/remove.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/images/remove.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/jscripts/fullpage.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/jscripts/fullpage.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/jscripts/fullpage.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,580 @@
+//
+
+var defaultDocTypes = 
+	'XHTML 1.0 Transitional=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">,' +
+	'XHTML 1.0 Frameset=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">,' +
+	'XHTML 1.0 Strict=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">,' +
+	'XHTML 1.1=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">">,' +
+	'HTML 4.01 Transitional=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">,' +
+	'HTML 4.01 Strict=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">,' +
+	'HTML 4.01 Frameset=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">';
+
+var defaultEncodings = 
+	'Western european (iso-8859-1)=iso-8859-1,' +
+	'Central European (iso-8859-2)=iso-8859-2,' +
+	'Unicode (UTF-8)=utf-8,' +
+	'Chinese traditional (Big5)=big5,' +
+	'Cyrillic (iso-8859-5)=iso-8859-5,' +
+	'Japanese (iso-2022-jp)=iso-2022-jp,' +
+	'Greek (iso-8859-7)=iso-8859-7,' +
+	'Korean (iso-2022-kr)=iso-2022-kr,' +
+	'ASCII (us-ascii)=us-ascii';
+
+var defaultMediaTypes = 
+	'all=all,' +
+	'screen=screen,' +
+	'print=print,' +
+	'tty=tty,' +
+	'tv=tv,' +
+	'projection=projection,' +
+	'handheld=handheld,' +
+	'braille=braille,' +
+	'aural=aural';
+
+var defaultFontNames = 'Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings';
+var defaultFontSizes = '10px,11px,12px,13px,14px,15px,16px';
+
+var addMenuLayer = new MCLayer("addmenu");
+var lastElementType = null;
+var topDoc;
+
+function init() {
+	var f = document.forms['fullpage'];
+	var i, p, doctypes, encodings, mediaTypes, fonts;
+	var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
+
+	// Setup doctype select box
+	doctypes = tinyMCE.getParam("fullpage_doctypes", defaultDocTypes).split(',');
+	for (i=0; i<doctypes.length; i++) {
+		p = doctypes[i].split('=');
+
+		if (p.length > 1)
+			addSelectValue(f, 'doctypes', p[0], p[1]);
+	}
+
+	// Setup fonts select box
+	fonts = tinyMCE.getParam("fullpage_fonts", defaultFontNames).split(';');
+	for (i=0; i<fonts.length; i++) {
+		p = fonts[i].split('=');
+
+		if (p.length > 1)
+			addSelectValue(f, 'fontface', p[0], p[1]);
+	}
+
+	// Setup fontsize select box
+	fonts = tinyMCE.getParam("fullpage_fontsizes", defaultFontSizes).split(',');
+	for (i=0; i<fonts.length; i++)
+		addSelectValue(f, 'fontsize', fonts[i], fonts[i]);
+
+	// Setup mediatype select boxs
+	mediaTypes = tinyMCE.getParam("fullpage_media_types", defaultMediaTypes).split(',');
+	for (i=0; i<mediaTypes.length; i++) {
+		p = mediaTypes[i].split('=');
+
+		if (p.length > 1) {
+			addSelectValue(f, 'element_style_media', p[0], p[1]);
+			addSelectValue(f, 'element_link_media', p[0], p[1]);
+		}
+	}
+
+	// Setup encodings select box
+	encodings = tinyMCE.getParam("fullpage_encodings", defaultEncodings).split(',');
+	for (i=0; i<encodings.length; i++) {
+		p = encodings[i].split('=');
+
+		if (p.length > 1) {
+			addSelectValue(f, 'docencoding', p[0], p[1]);
+			addSelectValue(f, 'element_script_charset', p[0], p[1]);
+			addSelectValue(f, 'element_link_charset', p[0], p[1]);
+		}
+	}
+
+	document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
+	document.getElementById('link_color_pickcontainer').innerHTML = getColorPickerHTML('link_color_pick','link_color');
+	//document.getElementById('hover_color_pickcontainer').innerHTML = getColorPickerHTML('hover_color_pick','hover_color');
+	document.getElementById('visited_color_pickcontainer').innerHTML = getColorPickerHTML('visited_color_pick','visited_color');
+	document.getElementById('active_color_pickcontainer').innerHTML = getColorPickerHTML('active_color_pick','active_color');
+	document.getElementById('textcolor_pickcontainer').innerHTML = getColorPickerHTML('textcolor_pick','textcolor');
+	document.getElementById('stylesheet_browsercontainer').innerHTML = getBrowserHTML('stylesheetbrowser','stylesheet','file','fullpage');
+	document.getElementById('link_href_pickcontainer').innerHTML = getBrowserHTML('link_href_browser','element_link_href','file','fullpage');
+	document.getElementById('script_src_pickcontainer').innerHTML = getBrowserHTML('script_src_browser','element_script_src','file','fullpage');
+	document.getElementById('bgimage_pickcontainer').innerHTML = getBrowserHTML('bgimage_browser','bgimage','image','fullpage');
+
+	// Resize some elements
+	if (isVisible('stylesheetbrowser'))
+		document.getElementById('stylesheet').style.width = '220px';
+
+	if (isVisible('link_href_browser'))
+		document.getElementById('element_link_href').style.width = '230px';
+
+	if (isVisible('bgimage_browser'))
+		document.getElementById('bgimage').style.width = '210px';
+
+	// Create iframe
+	var iframe = document.createElement('iframe');
+
+	iframe.id = 'tempFrame';
+	iframe.style.display = 'none';
+	iframe.src = tinyMCE.baseURL + "/plugins/fullpage/blank.htm";
+
+	document.body.appendChild(iframe);
+
+	tinyMCEPopup.resizeToInnerSize();
+}
+
+function setupIframe(doc) {
+	var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
+	var hc = inst.fullpageTopContent;
+	var f = document.forms[0];
+	var xmlVer, xmlEnc, docType;
+	var nodes, i, x, name, value, tmp, l;
+
+	// Keep it from not loading/executing stuff
+	hc = hc.replace(/<script>/gi, '<script type="text/javascript">');
+	hc = hc.replace(/\ssrc=/gi, " mce_src=");
+	hc = hc.replace(/\shref=/gi, " mce_href=");
+	hc = hc.replace(/\stype=/gi, " mce_type=");
+	hc = hc.replace(/<script/gi, '<script type="text/unknown" ');
+
+	// Add end to make it DOM parseable
+	hc += '</body></html>';
+
+	topDoc = doc;
+	doc.open();
+	doc.write(hc);
+	doc.close();
+
+	// ------- Setup options for genral tab
+
+	// Parse xml and doctype
+	xmlVer = getReItem(/<\?\s*?xml.*?version\s*?=\s*?"(.*?)".*?\?>/gi, hc, 1);
+	xmlEnc = getReItem(/<\?\s*?xml.*?encoding\s*?=\s*?"(.*?)".*?\?>/gi, hc, 1);
+	docType = getReItem(/<\!DOCTYPE.*?>/gi, hc, 0);
+	f.langcode.value = getReItem(/lang="(.*?)"/gi, hc, 1);
+
+	// Get title
+	f.metatitle.value = tinyMCE.entityDecode(getReItem(/<title>(.*?)<\/title>/gi, hc, 1));
+
+	// Check for meta encoding
+	nodes = doc.getElementsByTagName("meta");
+	for (i=0; i<nodes.length; i++) {
+		name = tinyMCE.getAttrib(nodes[i], 'name');
+		value = tinyMCE.getAttrib(nodes[i], 'content');
+		httpEquiv = tinyMCE.getAttrib(nodes[i], 'httpEquiv');
+
+		switch (name.toLowerCase()) {
+			case "keywords":
+				f.metakeywords.value = value;
+				break;
+
+			case "description":
+				f.metadescription.value = value;
+				break;
+
+			case "author":
+				f.metaauthor.value = value;
+				break;
+
+			case "copyright":
+				f.metacopyright.value = value;
+				break;
+
+			case "robots":
+				selectByValue(f, 'metarobots', value, true, true);
+				break;
+		}
+
+		switch (httpEquiv.toLowerCase()) {
+			case "content-type":
+				tmp = getReItem(/charset\s*=\s*(.*)\s*/gi, value, 1);
+
+				// Override XML encoding
+				if (tmp != "")
+					xmlEnc = tmp;
+
+				break;
+		}
+	}
+
+	selectByValue(f, 'doctypes', docType, true, true);
+	selectByValue(f, 'docencoding', xmlEnc, true, true);
+	selectByValue(f, 'langdir', tinyMCE.getAttrib(doc.body, 'dir'), true, true);
+
+	if (xmlVer != '')
+		f.xml_pi.checked = true;
+
+	// ------- Setup options for appearance tab
+
+	// Get primary stylesheet
+	nodes = doc.getElementsByTagName("link");
+	for (i=0; i<nodes.length; i++) {
+		l = nodes[i];
+		tmp = tinyMCE.getAttrib(l, 'media');
+
+		if (tinyMCE.getAttrib(l, 'mce_type') == "text/css" && (tmp == "" || tmp == "screen" || tmp == "all") && tinyMCE.getAttrib(l, 'rel') == "stylesheet") {
+			f.stylesheet.value = tinyMCE.getAttrib(l, 'mce_href');
+			break;
+		}
+	}
+
+	// Get from style elements
+	nodes = doc.getElementsByTagName("style");
+	for (i=0; i<nodes.length; i++) {
+		tmp = parseStyleElement(nodes[i]);
+
+		for (x=0; x<tmp.length; x++) {
+		//	if (tmp[x].rule.indexOf('a:hover') != -1 && tmp[x].data['color'])
+		//		f.hover_color.value = tmp[x].data['color'];
+
+			if (tmp[x].rule.indexOf('a:visited') != -1 && tmp[x].data['color'])
+				f.visited_color.value = tmp[x].data['color'];
+
+			if (tmp[x].rule.indexOf('a:link') != -1 && tmp[x].data['color'])
+				f.link_color.value = tmp[x].data['color'];
+
+			if (tmp[x].rule.indexOf('a:active') != -1 && tmp[x].data['color'])
+				f.active_color.value = tmp[x].data['color'];
+		}
+	}
+
+	// Get from body attribs
+
+/*	f.leftmargin.value = tinyMCE.getAttrib(doc.body, "leftmargin");
+	f.rightmargin.value = tinyMCE.getAttrib(doc.body, "rightmargin");
+	f.topmargin.value = tinyMCE.getAttrib(doc.body, "topmargin");
+	f.bottommargin.value = tinyMCE.getAttrib(doc.body, "bottommargin");*/
+	f.textcolor.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "text"));
+	f.active_color.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "alink"));
+	f.link_color.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "link"));
+	f.visited_color.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "vlink"));
+	f.bgcolor.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "bgcolor"));
+	f.bgimage.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "background"));
+
+	// Get from style info
+	var style = tinyMCE.parseStyle(tinyMCE.getAttrib(doc.body, 'style'));
+
+	if (style['font-family'])
+		selectByValue(f, 'fontface', style['font-family'], true, true);
+	else
+		selectByValue(f, 'fontface', tinyMCE.getParam("fullpage_default_fontface", ""), true, true);
+
+	if (style['font-size'])
+		selectByValue(f, 'fontsize', style['font-size'], true, true);
+	else
+		selectByValue(f, 'fontsize', tinyMCE.getParam("fullpage_default_fontsize", ""), true, true);
+
+	if (style['color'])
+		f.textcolor.value = convertRGBToHex(style['color']);
+
+	if (style['background-image'])
+		f.bgimage.value = style['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+
+	if (style['background-color'])
+		f.bgcolor.value = convertRGBToHex(style['background-color']);
+
+	if (style['margin']) {
+		tmp = style['margin'].replace(/[^0-9 ]/g, '');
+		tmp = tmp.split(/ +/);
+		f.topmargin.value = tmp.length > 0 ? tmp[0] : '';
+		f.rightmargin.value = tmp.length > 1 ? tmp[1] : tmp[0];
+		f.bottommargin.value = tmp.length > 2 ? tmp[2] : tmp[0];
+		f.leftmargin.value = tmp.length > 3 ? tmp[3] : tmp[0];
+	}
+
+	if (style['margin-left'])
+		f.leftmargin.value = style['margin-left'].replace(/[^0-9]/g, '');
+
+	if (style['margin-right'])
+		f.rightmargin.value = style['margin-right'].replace(/[^0-9]/g, '');
+
+	if (style['margin-top'])
+		f.topmargin.value = style['margin-top'].replace(/[^0-9]/g, '');
+
+	if (style['margin-bottom'])
+		f.bottommargin.value = style['margin-bottom'].replace(/[^0-9]/g, '');
+
+	f.style.value = tinyMCE.serializeStyle(style);
+
+	updateColor('textcolor_pick', 'textcolor');
+	updateColor('bgcolor_pick', 'bgcolor');
+	updateColor('visited_color_pick', 'visited_color');
+	updateColor('active_color_pick', 'active_color');
+	updateColor('link_color_pick', 'link_color');
+	//updateColor('hover_color_pick', 'hover_color');
+}
+
+function updateAction() {
+	var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
+	var f = document.forms[0];
+	var nl, i, h, v, s, head, html, l, tmp, addlink = true;
+
+	head = topDoc.getElementsByTagName('head')[0];
+
+	// Fix scripts without a type
+	nl = topDoc.getElementsByTagName('script');
+	for (i=0; i<nl.length; i++) {
+		if (tinyMCE.getAttrib(nl[i], 'mce_type') == '')
+			nl[i].setAttribute('mce_type', 'text/javascript');
+	}
+
+	// Get primary stylesheet
+	nl = topDoc.getElementsByTagName("link");
+	for (i=0; i<nl.length; i++) {
+		l = nl[i];
+
+		tmp = tinyMCE.getAttrib(l, 'media');
+
+		if (tinyMCE.getAttrib(l, 'mce_type') == "text/css" && (tmp == "" || tmp == "screen" || tmp == "all") && tinyMCE.getAttrib(l, 'rel') == "stylesheet") {
+			addlink = false;
+
+			if (f.stylesheet.value == '')
+				l.parentNode.removeChild(l);
+			else
+				l.setAttribute('mce_href', f.stylesheet.value);
+
+			break;
+		}
+	}
+
+	// Add new link
+	if (f.stylesheet.value != '') {
+		l = topDoc.createElement('link');
+
+		l.setAttribute('mce_type', 'text/css');
+		l.setAttribute('mce_href', f.stylesheet.value);
+		l.setAttribute('rel', 'stylesheet');
+
+		head.appendChild(l);
+	}
+
+	setMeta(head, 'keywords', f.metakeywords.value);
+	setMeta(head, 'description', f.metadescription.value);
+	setMeta(head, 'author', f.metaauthor.value);
+	setMeta(head, 'copyright', f.metacopyright.value);
+	setMeta(head, 'robots', getSelectValue(f, 'metarobots'));
+	setMeta(head, 'Content-Type', getSelectValue(f, 'docencoding'));
+
+	topDoc.body.dir = getSelectValue(f, 'langdir');
+	topDoc.body.style.cssText = f.style.value;
+
+	topDoc.body.setAttribute('vLink', f.visited_color.value);
+	topDoc.body.setAttribute('link', f.link_color.value);
+	topDoc.body.setAttribute('text', f.textcolor.value);
+	topDoc.body.setAttribute('aLink', f.active_color.value);
+
+	topDoc.body.style.fontFamily = getSelectValue(f, 'fontface');
+	topDoc.body.style.fontSize = getSelectValue(f, 'fontsize');
+	topDoc.body.style.backgroundColor = f.bgcolor.value;
+
+	if (f.leftmargin.value != '')
+		topDoc.body.style.marginLeft = f.leftmargin.value + 'px';
+
+	if (f.rightmargin.value != '')
+		topDoc.body.style.marginRight = f.rightmargin.value + 'px';
+
+	if (f.bottommargin.value != '')
+		topDoc.body.style.marginBottom = f.bottommargin.value + 'px';
+
+	if (f.topmargin.value != '')
+		topDoc.body.style.marginTop = f.topmargin.value + 'px';
+
+	html = topDoc.getElementsByTagName('html')[0];
+	html.setAttribute('lang', f.langcode.value);
+	html.setAttribute('xml:lang', f.langcode.value);
+
+	if (f.bgimage.value != '')
+		topDoc.body.style.backgroundImage = "url('" + f.bgimage.value + "')";
+	else
+		topDoc.body.style.backgroundImage = '';
+
+	inst.cleanup.addRuleStr('-title,meta[http-equiv|name|content],base[href|target],link[href|rel|type|title|media],style[type],script[type|language|src],html[lang|xml:lang|xmlns],body[style|dir|vlink|link|text|alink],head');
+
+	h = inst.cleanup.serializeNodeAsHTML(topDoc.documentElement);
+
+	h = h.substring(0, h.lastIndexOf('</body>'));
+
+	if (h.indexOf('<title>') == -1)
+		h = h.replace(/<head.*?>/, '$&\n' + '<title>' + inst.cleanup.xmlEncode(f.metatitle.value) + '</title>');
+	else
+		h = h.replace(/<title>(.*?)<\/title>/, '<title>' + inst.cleanup.xmlEncode(f.metatitle.value) + '</title>');
+
+	if ((v = getSelectValue(f, 'doctypes')) != '')
+		h = v + '\n' + h;
+
+	if (f.xml_pi.checked) {
+		s = '<?xml version="1.0"';
+
+		if ((v = getSelectValue(f, 'docencoding')) != '')
+			s += ' encoding="' + v + '"';
+
+		s += '?>\n';
+		h = s + h;
+	}
+
+	inst.fullpageTopContent = h;
+
+	tinyMCEPopup.execCommand('mceFullPageUpdate', false, '');
+	tinyMCEPopup.close();
+}
+
+function setMeta(he, k, v) {
+	var nl, i, m;
+
+	nl = he.getElementsByTagName('meta');
+	for (i=0; i<nl.length; i++) {
+		if (k == 'Content-Type' && tinyMCE.getAttrib(nl[i], 'http-equiv') == k) {
+			if (v == '')
+				nl[i].parentNode.removeChild(nl[i]);
+			else
+				nl[i].setAttribute('content', "text/html; charset=" + v);
+
+			return;
+		}
+
+		if (tinyMCE.getAttrib(nl[i], 'name') == k) {
+			if (v == '')
+				nl[i].parentNode.removeChild(nl[i]);
+			else
+				nl[i].setAttribute('content', v);
+			return;
+		}
+	}
+
+	if (v == '')
+		return;
+
+	m = topDoc.createElement('meta');
+
+	if (k == 'Content-Type')
+		m.httpEquiv = k;
+	else
+		m.setAttribute('name', k);
+
+	m.setAttribute('content', v);
+	he.appendChild(m);
+}
+
+function parseStyleElement(e) {
+	var v = e.innerHTML;
+	var p, i, r;
+
+	v = v.replace(/<!--/gi, '');
+	v = v.replace(/-->/gi, '');
+	v = v.replace(/[\n\r]/gi, '');
+	v = v.replace(/\s+/gi, ' ');
+
+	r = new Array();
+	p = v.split(/{|}/);
+
+	for (i=0; i<p.length; i+=2) {
+		if (p[i] != "")
+			r[r.length] = {rule : tinyMCE.trim(p[i]), data : tinyMCE.parseStyle(p[i+1])};
+	}
+
+	return r;
+}
+
+function serializeStyleElement(d) {
+	var i, s, st;
+
+	s = '<!--\n';
+
+	for (i=0; i<d.length; i++) {
+		s += d[i].rule + ' {\n';
+
+		st = tinyMCE.serializeStyle(d[i].data);
+
+		if (st != '')
+			st += ';';
+
+		s += st.replace(/;/g, ';\n');
+		s += '}\n';
+
+		if (i != d.length - 1)
+			s += '\n';
+	}
+
+	s += '\n-->';
+
+	return s;
+}
+
+function getReItem(r, s, i) {
+	var c = r.exec(s);
+
+	if (c && c.length > i)
+		return c[i];
+
+	return '';
+}
+
+function changedStyleField(field) {
+	//alert(field.id);
+}
+
+function showAddMenu() {
+	var re = document.getElementById('addbutton');
+
+	addMenuLayer.moveRelativeTo(re, 'tr');
+	if (addMenuLayer.isMSIE)
+		addMenuLayer.moveBy(2, 0);
+
+	addMenuLayer.show();
+	addMenuLayer.setAutoHide(true, hideAddMenu);
+	addMenuLayer.addCSSClass(re, 'selected');
+}
+
+function hideAddMenu(l, e, mx, my) {
+	var re = document.getElementById('addbutton');
+	addMenuLayer.removeCSSClass(re, 'selected');
+}
+
+function addHeadElm(type) {
+	var le = document.getElementById('headlist');
+	var re = document.getElementById('addbutton');
+	var te = document.getElementById(type + '_element');
+
+	if (lastElementType)
+		lastElementType.style.display = 'none';
+
+	te.style.display = 'block';
+
+	lastElementType = te;
+
+	addMenuLayer.hide();
+	addMenuLayer.removeCSSClass(re, 'selected');
+
+	document.getElementById(type + '_updateelement').value = tinyMCE.getLang('lang_insert', 'Insert', true);
+
+	le.size = 10;
+}
+
+function updateHeadElm(item) {
+	var type = item.substring(0, item.indexOf('_'));
+	var le = document.getElementById('headlist');
+	var re = document.getElementById('addbutton');
+	var te = document.getElementById(type + '_element');
+
+	if (lastElementType)
+		lastElementType.style.display = 'none';
+
+	te.style.display = 'block';
+
+	lastElementType = te;
+
+	addMenuLayer.hide();
+	addMenuLayer.removeCSSClass(re, 'selected');
+
+	document.getElementById(type + '_updateelement').value = tinyMCE.getLang('lang_update', 'Update', true);
+
+	le.size = 10;
+}
+
+function cancelElementUpdate() {
+	var le = document.getElementById('headlist');
+
+	if (lastElementType)
+		lastElementType.style.display = 'none';
+
+	le.size = 26;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullpage/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,92 @@
+// UK lang variables
+
+tinyMCE.addToLang('fullpage',{
+	title : 'Document properties',
+	desc : 'Document properties',
+	meta_tab : 'General',
+	appearance_tab : 'Appearance',
+	advanced_tab : 'Advanced',
+	meta_props : 'Meta information',
+	langprops : 'Language and encoding',
+	meta_title : 'Title',
+	meta_keywords : 'Keywords',
+	meta_description : 'Description',
+	meta_robots : 'Robots',
+	doctypes : 'Doctype',
+	langcode : 'Language code',
+	langdir : 'Language direction',
+	ltr : 'Left to right',
+	rtl : 'Right to left',
+	xml_pi : 'XML declaration',
+	encoding : 'Character encoding',
+	appearance_bgprops : 'Background properties',
+	appearance_marginprops : 'Body margins',
+	appearance_linkprops : 'Link colors',
+	appearance_textprops : 'Text properties',
+	bgcolor : 'Background color',
+	bgimage : 'Background image',
+	left_margin : 'Left margin',
+	right_margin : 'Right margin',
+	top_margin : 'Top margin',
+	bottom_margin : 'Bottom margin',
+	text_color : 'Text color',
+	font_size : 'Font size',
+	font_face : 'Font face',
+	link_color : 'Link color',
+	hover_color : 'Hover color',
+	visited_color : 'Visited color',
+	active_color : 'Active color',
+	textcolor : 'Color',
+	fontsize : 'Font size',
+	fontface : 'Font family',
+	meta_index_follow : 'Index and follow the links',
+	meta_index_nofollow : 'Index and don\'t follow the links',
+	meta_noindex_follow : 'Do not index but follow the links',
+	meta_noindex_nofollow : 'Do not index and don\'t follow the links',
+	appearance_style : 'Stylesheet and style properties',
+	stylesheet : 'Stylesheet',
+	style : 'Style',
+	author : 'Author',
+	copyright : 'Copyright',
+	add : 'Add new element',
+	remove : 'Remove selected element',
+	moveup : 'Move selected element up',
+	movedown : 'Move selected element down',
+	head_elements : 'Head elements',
+	info : 'Information',
+	info_text : '',
+	add_title : 'Title element',
+	add_meta : 'Meta element',
+	add_script : 'Script element',
+	add_style : 'Style element',
+	add_link : 'Link element',
+	add_base : 'Base element',
+	add_comment : 'Comment node',
+	title_element : 'Title element',
+	script_element : 'Script element',
+	style_element : 'Style element',
+	base_element : 'Base element',
+	link_element : 'Link element',
+	meta_element : 'Meta element',
+	comment_element : 'Comment',
+	src : 'Src',
+	language : 'Language',
+	href : 'Href',
+	target : 'Target',
+	rel : 'Rel',
+	type : 'Type',
+	charset : 'Charset',
+	defer : 'Defer',
+	media : 'Media',
+	properties : 'Properties',
+	name : 'Name',
+	value : 'Value',
+	content : 'Content',
+	rel : 'Rel',
+	rev : 'Rev',
+	hreflang : 'Href lang',
+	general_props : 'General',
+	advanced_props : 'Advanced',
+	delta_width : 0,
+	delta_height : 0
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/css/content.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/css/content.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/css/content.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+.mceItemFullScreenHidden {
+	display: none !important;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('fullscreen');var TinyMCE_FullScreenPlugin={getInfo:function(){return{longname:'Fullscreen',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_fullscreen.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){if(!tinyMCE.settings['fullscreen_skip_plugin_css'])tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/plugins/fullscreen/css/content.css")},getControlHTML:function(cn){switch(cn){case"fullscreen":return tinyMCE.getButtonHTML(cn,'lang_fullscreen_desc','{$pluginurl}/images/fullscreen.gif','mceFullScreen')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceFullScreen":this._toggleFullscreen(tinyMCE.getInstanceById(editor_id));return true}return false},_toggleFullscreen:function(inst){var ds=inst.getData('fullscreen'),editorContainer,tableElm,iframe,vp,cw,cd,re,w,h,si;cw=inst.get!
 ContainerWin();cd=cw.document;editorContainer=cd.getElementById(inst.editorId+'_parent');tableElm=editorContainer.firstChild;iframe=inst.iframeElement;re=cd.getElementById(inst.editorId+'_resize');if(!ds.enabled){ds.parents=[];tinyMCE.getParentNode(tableElm.parentNode,function(n){var st=n.style;if(n.nodeType==1&&st){if(n.nodeName=='BODY')return true;ds.parents.push({el:n,position:st.position,left:st.left,top:st.top,right:st.right,bottom:st.bottom,width:st.width,height:st.height,margin:st.margin,padding:st.padding,border:st.border});st.position='static';st.left=st.top=st.margin=st.padding=st.border='0';st.width=st.height=st.right=st.bottom='auto'}return false});ds.oldOverflow=cd.body.style.overflow;cd.body.style.overflow='hidden';if(re)re.style.display='none';vp=tinyMCE.getViewPort(cw);ds.oldWidth=iframe.style.width?iframe.style.width:iframe.offsetWidth;ds.oldHeight=iframe.style.height?iframe.style.height:iframe.offsetHeight;ds.oldTWidth=tableElm.style.width?tableElm.style.w!
 idth:tableElm.offsetWidth;ds.oldTHeight=tableElm.style.height?tableElm
.style.height:tableElm.offsetHeight;if(ds.oldWidth&&ds.oldWidth.indexOf)ds.oldTWidth=ds.oldWidth.indexOf('%')!=-1?ds.oldWidth:ds.oldTWidth;tableElm.style.position='absolute';tableElm.style.zIndex=1000;tableElm.style.left=tableElm.style.top='0';tableElm.style.width=vp.width+'px';tableElm.style.height=vp.height+'px';if(tinyMCE.isRealIE){iframe.style.width=vp.width+'px';iframe.style.height=vp.height+'px';w=iframe.parentNode.clientWidth-(tableElm.offsetWidth-vp.width);h=iframe.parentNode.clientHeight-(tableElm.offsetHeight-vp.height)}else{w=iframe.parentNode.clientWidth;h=iframe.parentNode.clientHeight}iframe.style.width=w+"px";iframe.style.height=h+"px";tinyMCE.selectElements(cd,'SELECT,INPUT,BUTTON,TEXTAREA',function(n){tinyMCE.addCSSClass(n,'mceItemFullScreenHidden');return false});tinyMCE.switchClass(inst.editorId+'_fullscreen','mceButtonSelected');ds.enabled=true}else{si=0;tinyMCE.getParentNode(tableElm.parentNode,function(n){var st=n.style,s=ds.parents[si++];if(n.nodeName=!
 ='BODY')return true;if(st){st.position=s.position;st.left=s.left;st.top=s.top;st.bottom=s.bottom;st.right=s.right;st.width=s.width;st.height=s.height;st.margin=s.margin;st.padding=s.padding;st.border=s.border}});ds.parents=[];cd.body.style.overflow=ds.oldOverflow?ds.oldOverflow:'';if(re&&tinyMCE.getParam("theme_advanced_resizing",false))re.style.display='block';tableElm.style.position='static';tableElm.style.zIndex='';tableElm.style.width='';tableElm.style.height='';tableElm.style.width=ds.oldTWidth?ds.oldTWidth:'';tableElm.style.height=ds.oldTHeight?ds.oldTHeight:'';iframe.style.width=ds.oldWidth?ds.oldWidth:'';iframe.style.height=ds.oldHeight?ds.oldHeight:'';tinyMCE.selectElements(cd,'SELECT,INPUT,BUTTON,TEXTAREA',function(n){tinyMCE.removeCSSClass(n,'mceItemFullScreenHidden');return false});tinyMCE.switchClass(inst.editorId+'_fullscreen','mceButtonNormal');ds.enabled=false}}};tinyMCE.addPlugin("fullscreen",TinyMCE_FullScreenPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,189 @@
+/**
+ * $Id: editor_plugin_src.js 128 2006-10-22 19:55:28Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('fullscreen');
+
+var TinyMCE_FullScreenPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Fullscreen',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_fullscreen.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		if (!tinyMCE.settings['fullscreen_skip_plugin_css'])
+			tinyMCE.importCSS(inst.getDoc(), tinyMCE.baseURL + "/plugins/fullscreen/css/content.css");
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "fullscreen":
+				return tinyMCE.getButtonHTML(cn, 'lang_fullscreen_desc', '{$pluginurl}/images/fullscreen.gif', 'mceFullScreen');
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceFullScreen":
+				this._toggleFullscreen(tinyMCE.getInstanceById(editor_id));
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	},
+
+	_toggleFullscreen : function(inst) {
+		var ds = inst.getData('fullscreen'), editorContainer, tableElm, iframe, vp, cw, cd, re, w, h, si;
+
+		cw = inst.getContainerWin();
+		cd = cw.document;
+		editorContainer = cd.getElementById(inst.editorId + '_parent');
+		tableElm = editorContainer.firstChild;
+		iframe = inst.iframeElement;
+		re = cd.getElementById(inst.editorId + '_resize');
+
+		if (!ds.enabled) {
+			ds.parents = [];
+
+			tinyMCE.getParentNode(tableElm.parentNode, function (n) {
+				var st = n.style;
+
+				if (n.nodeType == 1 && st) {
+					if (n.nodeName == 'BODY')
+						return true;
+
+					ds.parents.push({
+						el : n,
+						position : st.position,
+						left : st.left,
+						top : st.top,
+						right : st.right,
+						bottom : st.bottom,
+						width : st.width,
+						height : st.height,
+						margin : st.margin,
+						padding : st.padding,
+						border : st.border
+					});
+
+					st.position = 'static';
+					st.left = st.top = st.margin = st.padding = st.border = '0';
+					st.width = st.height = st.right = st.bottom = 'auto';
+				}
+
+				return false;
+			});
+
+			ds.oldOverflow = cd.body.style.overflow;
+			cd.body.style.overflow = 'hidden';
+
+			if (re)
+				re.style.display = 'none';
+
+			vp = tinyMCE.getViewPort(cw);
+
+			ds.oldWidth = iframe.style.width ? iframe.style.width : iframe.offsetWidth;
+			ds.oldHeight = iframe.style.height ? iframe.style.height : iframe.offsetHeight;
+			ds.oldTWidth = tableElm.style.width ? tableElm.style.width : tableElm.offsetWidth;
+			ds.oldTHeight = tableElm.style.height ? tableElm.style.height : tableElm.offsetHeight;
+
+			// Handle % width
+			if (ds.oldWidth && ds.oldWidth.indexOf)
+				ds.oldTWidth = ds.oldWidth.indexOf('%') != -1 ? ds.oldWidth : ds.oldTWidth;
+
+			tableElm.style.position = 'absolute';
+			tableElm.style.zIndex = 1000;
+			tableElm.style.left = tableElm.style.top = '0';
+
+			tableElm.style.width = vp.width + 'px';
+			tableElm.style.height = vp.height + 'px';
+
+			if (tinyMCE.isRealIE) {
+				iframe.style.width = vp.width + 'px';
+				iframe.style.height = vp.height + 'px';
+
+				// Calc new width/height based on overflow
+				w = iframe.parentNode.clientWidth - (tableElm.offsetWidth - vp.width);
+				h = iframe.parentNode.clientHeight - (tableElm.offsetHeight - vp.height);
+			} else {
+				w = iframe.parentNode.clientWidth;
+				h = iframe.parentNode.clientHeight;
+			}
+
+			iframe.style.width = w + "px";
+			iframe.style.height = h + "px";
+
+			tinyMCE.selectElements(cd, 'SELECT,INPUT,BUTTON,TEXTAREA', function (n) {
+				tinyMCE.addCSSClass(n, 'mceItemFullScreenHidden');
+
+				return false;
+			});
+
+			tinyMCE.switchClass(inst.editorId + '_fullscreen', 'mceButtonSelected');
+			ds.enabled = true;
+		} else {
+			si = 0;
+			tinyMCE.getParentNode(tableElm.parentNode, function (n) {
+				var st = n.style, s = ds.parents[si++];
+
+				if (n.nodeName == 'BODY')
+					return true;
+
+				if (st) {
+					st.position = s.position;
+					st.left = s.left;
+					st.top = s.top;
+					st.bottom = s.bottom;
+					st.right = s.right;
+					st.width = s.width;
+					st.height = s.height;
+					st.margin = s.margin;
+					st.padding = s.padding;
+					st.border = s.border;
+				}
+			});
+
+			ds.parents = [];
+
+			cd.body.style.overflow = ds.oldOverflow ? ds.oldOverflow : '';
+
+			if (re && tinyMCE.getParam("theme_advanced_resizing", false))
+				re.style.display = 'block';
+
+			tableElm.style.position = 'static';
+			tableElm.style.zIndex = '';
+			tableElm.style.width = '';
+			tableElm.style.height = '';
+
+			tableElm.style.width = ds.oldTWidth ? ds.oldTWidth : '';
+			tableElm.style.height = ds.oldTHeight ? ds.oldTHeight : '';
+
+			iframe.style.width = ds.oldWidth ? ds.oldWidth : '';
+			iframe.style.height = ds.oldHeight ? ds.oldHeight : '';
+
+			tinyMCE.selectElements(cd, 'SELECT,INPUT,BUTTON,TEXTAREA', function (n) {
+				tinyMCE.removeCSSClass(n, 'mceItemFullScreenHidden');
+
+				return false;
+			});
+
+			tinyMCE.switchClass(inst.editorId + '_fullscreen', 'mceButtonNormal');
+			ds.enabled = false;
+		}
+	}
+};
+
+tinyMCE.addPlugin("fullscreen", TinyMCE_FullScreenPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/images/fullscreen.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/images/fullscreen.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+fullscreen_desc : 'Toggle fullscreen mode'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/fullscreen/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('iespell');var TinyMCE_IESpellPlugin={getInfo:function(){return{longname:'IESpell (MSIE Only)',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_iespell.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){if(cn=="iespell"&&(tinyMCE.isMSIE&&!tinyMCE.isOpera))return tinyMCE.getButtonHTML(cn,'lang_iespell_desc','{$pluginurl}/images/iespell.gif','mceIESpell');return""},execCommand:function(editor_id,element,command,user_interface,value){if(command=="mceIESpell"){try{var ieSpell=new ActiveXObject("ieSpell.ieSpellExtension");ieSpell.CheckDocumentNode(tinyMCE.getInstanceById(editor_id).contentDocument.documentElement)}catch(e){if(e.number==-2146827859){if(confirm(tinyMCE.getLang("lang_iespell_download","",true)))window.open('http://www.iespell.com/download.php','ieSpellDownload','')}else alert("Error Loading ieSpell: Exception "+e.nu!
 mber)}return true}return false}};tinyMCE.addPlugin("iespell",TinyMCE_IESpellPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,58 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('iespell');
+
+var TinyMCE_IESpellPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'IESpell (MSIE Only)',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_iespell.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	/**
+	 * Returns the HTML contents of the iespell control.
+	 */
+	getControlHTML : function(cn) {
+		// Is it the iespell control and is the brower MSIE.
+		if (cn == "iespell" && (tinyMCE.isMSIE && !tinyMCE.isOpera))
+			return tinyMCE.getButtonHTML(cn, 'lang_iespell_desc', '{$pluginurl}/images/iespell.gif', 'mceIESpell');
+
+		return "";
+	},
+
+	/**
+	 * Executes the mceIESpell command.
+	 */
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle ieSpellCommand
+		if (command == "mceIESpell") {
+			try {
+				var ieSpell = new ActiveXObject("ieSpell.ieSpellExtension");
+				ieSpell.CheckDocumentNode(tinyMCE.getInstanceById(editor_id).contentDocument.documentElement);
+			} catch (e) {
+				if (e.number == -2146827859) {
+					if (confirm(tinyMCE.getLang("lang_iespell_download", "", true)))
+						window.open('http://www.iespell.com/download.php', 'ieSpellDownload', '');
+				} else
+					alert("Error Loading ieSpell: Exception " + e.number);
+			}
+
+			return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	}
+};
+
+tinyMCE.addPlugin("iespell", TinyMCE_IESpellPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/images/iespell.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/images/iespell.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/ca_fr.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/ca_fr.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/ca_fr.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// CAN_FR lang variables
+
+tinyMCELang['lang_iespell_desc'] = 'Executer le v&eacute;rificateur d\'orthographe';
+tinyMCELang['lang_iespell_download'] = "ieSpell n\'a pas &eacute;t&eacute; trouv&eacute;. Cliquez sur OK pour aller au site de t&eacute;l&eacute;chargement."

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/el.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/el.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/el.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// Greek lang variables by Jacaranda Bill
+
+tinyMCELang['lang_iespell_desc'] = 'Ïñèïãñáöéêüò Ýëåã÷ïò';
+tinyMCELang['lang_iespell_download'] = "Ôï ðñüãñáììá ieSpell äåí âñÝèçêå. ÐáôÞóôå OK ãéá íá ìåôáâåßôå óôçí éóôïóåëßäá ëÞøçò ôïõ ðñïãñÜììáôïò."

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,7 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+iespell_desc : 'Run spell checking',
+iespell_download : "ieSpell not detected. Click OK to go to download page."
+});
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/it.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/it.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/it.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// IT lang variables
+
+tinyMCELang['lang_iespell_desc'] = 'Avvia il controllo ortografico';
+tinyMCELang['lang_iespell_download'] = "ieSpell non trovato. Clicca OK per andare alla pagina di download."

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/ko.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/ko.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/ko.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// KO lang variables
+
+tinyMCELang['lang_iespell_desc'] = '¸ÂÃã¹ý °Ë»ç ½ÇÇà';
+tinyMCELang['lang_iespell_download'] = "ieSpellÀ» ãÀ» ¼ö ¾ø½À´Ï´Ù. OK¸¦ ´©¸£¸é ´Ù¿î·Îµå ÆäÀÌÁö·Î À̵¿ÇÕ´Ï´Ù."

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/se.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/se.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/se.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// SE lang variables
+
+tinyMCELang['lang_iespell_desc'] = 'Kör rättstavningskontroll';
+tinyMCELang['lang_iespell_download'] = "ieSpell verkar inte vara installerad. Klicka OK f&ouml;r att ladda hem."

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/uk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/uk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/langs/uk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// UK lang variables
+
+tinyMCELang['lang_iespell_desc'] = 'Run spell checking';
+tinyMCELang['lang_iespell_download'] = "ieSpell not detected. Click OK to go to download page."

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/iespell/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/css/inlinepopup.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/css/inlinepopup.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/css/inlinepopup.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,69 @@
+/* Window classes */
+
+.mceWindow {
+	position: absolute;
+	left: 0;
+	top: 0;
+	border: 1px solid black;
+	background-color: #D4D0C8;
+}
+
+.mceWindowHead {
+	background-color: #334F8D;
+	width: 100%;
+	height: 18px;
+	cursor: move;
+	overflow: hidden;
+}
+
+.mceWindowBody {
+	clear: both;
+	background-color: white;
+}
+
+.mceWindowStatusbar {
+	background-color: #D4D0C8;
+	height: 12px;
+	border-top: 1px solid black;
+}
+
+.mceWindowTitle {
+	float: left;
+	font-family: "MS Sans Serif";
+	font-size: 9pt;
+	font-weight: bold;
+	line-height: 18px;
+	color: white;
+	margin-left: 2px;
+	overflow: hidden;
+}
+
+.mceWindowHeadTools {
+	margin-right: 2px;
+}
+
+.mceWindowClose, .mceWindowMinimize, .mceWindowMaximize {
+	display: block;
+	float: right;
+	overflow: hidden;
+	margin-top: 2px;
+}
+
+.mceWindowClose {
+	margin-left: 2px;
+}
+
+.mceWindowMinimize {
+}
+
+.mceWindowMaximize {
+}
+
+.mceWindowResize {
+	display: block;
+	float: right;
+	overflow: hidden;
+	cursor: se-resize;
+	width: 12px;
+	height: 12px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+var TinyMCE_InlinePopupsPlugin={getInfo:function(){return{longname:'Inline Popups',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_inlinepopups.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}}};tinyMCE.addPlugin("inlinepopups",TinyMCE_InlinePopupsPlugin);TinyMCE_Engine.prototype.orgOpenWindow=TinyMCE_Engine.prototype.openWindow;TinyMCE_Engine.prototype.openWindow=function(template,args){if(args['inline']!="yes"||tinyMCE.isOpera||tinyMCE.getParam("plugins").indexOf('inlinepopups')==-1){mcWindows.selectedWindow=null;args['mce_inside_iframe']=false;this.orgOpenWindow(template,args);return}var url,resizable,scrollbars;args['mce_inside_iframe']=true;tinyMCE.windowArgs=args;if(template['file'].charAt(0)!='/'&&template['file'].indexOf('://')==-1)url=tinyMCE.baseURL+"/themes/"+tinyMCE.getParam("theme")+"/"+template['file'];else url=template['file'];if(!(width=parseInt(template['width'])))w!
 idth=320;if(!(height=parseInt(template['height'])))height=200;resizable=(args&&args['resizable'])?args['resizable']:"no";scrollbars=(args&&args['scrollbars'])?args['scrollbars']:"no";height+=18;for(var name in args){if(typeof(args[name])=='function')continue;url=tinyMCE.replaceVar(url,name,escape(args[name]))}var elm=document.getElementById(this.selectedInstance.editorId+'_parent');var pos=tinyMCE.getAbsPosition(elm);pos.absLeft+=Math.round((elm.firstChild.clientWidth/ 2) - (width /2));pos.absTop+=Math.round((elm.firstChild.clientHeight/ 2) - (height /2));mcWindows.open(url,mcWindows.idCounter++,"modal=yes,width="+width+",height="+height+",resizable="+resizable+",scrollbars="+scrollbars+",statusbar="+resizable+",left="+pos.absLeft+",top="+pos.absTop)};TinyMCE_Engine.prototype.orgCloseWindow=TinyMCE_Engine.prototype.closeWindow;TinyMCE_Engine.prototype.closeWindow=function(win){if(mcWindows.selectedWindow!=null)mcWindows.selectedWindow.close();else this.orgCloseWindow(win)};!
 TinyMCE_Engine.prototype.setWindowTitle=function(win_ref,title){for(va
r n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(win_ref.name==win.id+"_iframe")window.frames[win.id+"_iframe"].document.getElementById(win.id+'_title').innerHTML=title}};function TinyMCE_Windows(){this.settings=new Array();this.windows=new Array();this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.isGecko=navigator.userAgent.indexOf('Gecko')!=-1;this.isSafari=navigator.userAgent.indexOf('Safari')!=-1;this.isMac=navigator.userAgent.indexOf('Mac')!=-1;this.isMSIE5_0=this.isMSIE&&(navigator.userAgent.indexOf('MSIE 5.0')!=-1);this.action="none";this.selectedWindow=null;this.lastSelectedWindow=null;this.zindex=100;this.mouseDownScreenX=0;this.mouseDownScreenY=0;this.mouseDownLayerX=0;this.mouseDownLayerY=0;this.mouseDownWidth=0;this.mouseDownHeight=0;this.idCounter=0};TinyMCE_Windows.prototype.init=function(settings){this.settings=settings;if(this.isMSIE)this.addEvent(document,"mousemove",mcWindows.eventDispatcher);el!
 se this.addEvent(window,"mousemove",mcWindows.eventDispatcher);this.addEvent(document,"mouseup",mcWindows.eventDispatcher);this.doc=document};TinyMCE_Windows.prototype.getParam=function(name,default_value){var value=null;value=(typeof(this.settings[name])=="undefined")?default_value:this.settings[name];if(value=="true"||value=="false")return(value=="true");return value};TinyMCE_Windows.prototype.eventDispatcher=function(e){e=typeof(e)=="undefined"?window.event:e;if(mcWindows.selectedWindow==null)return;if(mcWindows.isGecko&&e.type=="mousedown"){var elm=e.currentTarget;for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(win.headElement==elm||win.resizeElement==elm){win.focus();break}}}switch(e.type){case"mousemove":mcWindows.selectedWindow.onMouseMove(e);break;case"mouseup":mcWindows.selectedWindow.onMouseUp(e);break;case"mousedown":mcWindows.selectedWindow.onMouseDown(e);break;case"focus":mcWindows.selectedWindow.onFocus(e);break}};TinyMCE_Windows.prototype.addE!
 vent=function(obj,name,handler){if(this.isMSIE)obj.attachEvent("on"+na
me,handler);else obj.addEventListener(name,handler,true)};TinyMCE_Windows.prototype.cancelEvent=function(e){if(this.isMSIE){e.returnValue=false;e.cancelBubble=true}else e.preventDefault()};TinyMCE_Windows.prototype.parseFeatures=function(opts){opts=opts.toLowerCase();opts=opts.replace(/;/g,",");opts=opts.replace(/[^0-9a-z=,]/g,"");var optionChunks=opts.split(',');var options=new Array();options['left']="10";options['top']="10";options['width']="300";options['height']="300";options['resizable']="yes";options['minimizable']="yes";options['maximizable']="yes";options['close']="yes";options['movable']="yes";options['statusbar']="yes";options['scrollbars']="auto";options['modal']="no";if(opts=="")return options;for(var i=0;i<optionChunks.length;i++){var parts=optionChunks[i].split('=');if(parts.length==2)options[parts[0]]=parts[1]}options['left']=parseInt(options['left']);options['top']=parseInt(options['top']);options['width']=parseInt(options['width']);options['height']=parseIn!
 t(options['height']);return options};TinyMCE_Windows.prototype.open=function(url,name,features){this.lastSelectedWindow=this.selectedWindow;var win=new TinyMCE_Window();var winDiv,html="",id;var imgPath=this.getParam("images_path");features=this.parseFeatures(features);id="mcWindow_"+name;win.deltaHeight=18;if(features['statusbar']=="yes"){win.deltaHeight+=13;if(this.isMSIE)win.deltaHeight+=1}width=parseInt(features['width']);height=parseInt(features['height'])-win.deltaHeight;if(this.isMSIE)width-=2;win.id=id;win.url=url;win.name=name;win.features=features;this.windows[name]=win;iframeWidth=width;iframeHeight=height;html+='<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';html+='<html>';html+='<head>';html+='<title>Wrapper iframe</title>';html+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">';html+='<link href="'+this.getParam("css_file")+'" rel="stylesheet" type="text/css" />';html+='</head>';html+='<body onload="parent.mcWindows.onLoad(!
 \''+name+'\');">';html+='<div id="'+id+'_container" class="mceWindow">
';html+='<div id="'+id+'_head" class="mceWindowHead" onmousedown="parent.mcWindows.windows[\''+name+'\'].focus();">';html+='  <div id="'+id+'_title" class="mceWindowTitle"';html+='  onselectstart="return false;" unselectable="on" style="-moz-user-select: none !important;"></div>';html+='    <div class="mceWindowHeadTools">';html+='      <a href="javascript:parent.mcWindows.windows[\''+name+'\'].close();" target="_self" onmousedown="return false;" class="mceWindowClose"><img border="0" src="'+imgPath+'/window_close.gif" /></a>';html+='    </div>';html+='</div><div id="'+id+'_body" class="mceWindowBody" style="width: '+width+'px; height: '+height+'px;">';html+='<iframe id="'+id+'_iframe" name="'+id+'_iframe" frameborder="0" width="'+iframeWidth+'" height="'+iframeHeight+'" src="'+url+'" class="mceWindowBodyIframe" scrolling="'+features['scrollbars']+'"></iframe></div>';if(features['statusbar']=="yes"){html+='<div id="'+id+'_statusbar" class="mceWindowStatusbar" onmousedown="pa!
 rent.mcWindows.windows[\''+name+'\'].focus();">';if(features['resizable']=="yes"){if(this.isGecko)html+='<div id="'+id+'_resize" class="mceWindowResize"><div style="background-image: url(\''+imgPath+'/window_resize.gif\'); width: 12px; height: 12px;"></div></div>';else html+='<div id="'+id+'_resize" class="mceWindowResize"><img onmousedown="parent.mcWindows.windows[\''+name+'\'].focus();" border="0" src="'+imgPath+'/window_resize.gif" /></div>'}html+='</div>'}html+='</div>';html+='</body>';html+='</html>';this.createFloatingIFrame(id,features['left'],features['top'],features['width'],features['height'],html)};TinyMCE_Windows.prototype.setDocumentLock=function(state){if(state){var elm=document.getElementById('mcWindowEventBlocker');if(elm==null){elm=document.createElement("div");elm.id="mcWindowEventBlocker";elm.style.position="absolute";elm.style.left="0";elm.style.top="0";document.body.appendChild(elm)}elm.style.display="none";var imgPath=this.getParam("images_path");var w!
 idth=document.body.clientWidth;var height=document.body.clientHeight;e
lm.style.width=width;elm.style.height=height;elm.innerHTML='<img src="'+imgPath+'/spacer.gif" width="'+width+'" height="'+height+'" />';elm.style.zIndex=mcWindows.zindex-1;elm.style.display="block"}else{var elm=document.getElementById('mcWindowEventBlocker');if(mcWindows.windows.length==0)elm.parentNode.removeChild(elm);else elm.style.zIndex=mcWindows.zindex-1}};TinyMCE_Windows.prototype.onLoad=function(name){var win=mcWindows.windows[name];var id="mcWindow_"+name;var wrapperIframe=window.frames[id+"_iframe"].frames[0];var wrapperDoc=window.frames[id+"_iframe"].document;var doc=window.frames[id+"_iframe"].document;var winDiv=document.getElementById("mcWindow_"+name+"_div");var realIframe=window.frames[id+"_iframe"].frames[0];win.id="mcWindow_"+name;win.winElement=winDiv;win.bodyElement=doc.getElementById(id+'_body');win.iframeElement=doc.getElementById(id+'_iframe');win.headElement=doc.getElementById(id+'_head');win.titleElement=doc.getElementById(id+'_title');win.resizeElem!
 ent=doc.getElementById(id+'_resize');win.containerElement=doc.getElementById(id+'_container');win.left=win.features['left'];win.top=win.features['top'];win.frame=window.frames[id+'_iframe'].frames[0];win.wrapperFrame=window.frames[id+'_iframe'];win.wrapperIFrameElement=document.getElementById(id+"_iframe");mcWindows.addEvent(win.headElement,"mousedown",mcWindows.eventDispatcher);if(win.resizeElement!=null)mcWindows.addEvent(win.resizeElement,"mousedown",mcWindows.eventDispatcher);if(mcWindows.isMSIE){mcWindows.addEvent(realIframe.document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe.document,"mouseup",mcWindows.eventDispatcher)}else{mcWindows.addEvent(realIframe,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"mouseup",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"focus",mcWindows.eventDispatcher)}for(var i=0;i<window.frames.length;i++){if(!window.frames[i]._hasMouseHandlers){if(mcWindows.isMSIE){mcWindows.addEvent(wi!
 ndow.frames[i].document,"mousemove",mcWindows.eventDispatcher);mcWindo
ws.addEvent(window.frames[i].document,"mouseup",mcWindows.eventDispatcher)}else{mcWindows.addEvent(window.frames[i],"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(window.frames[i],"mouseup",mcWindows.eventDispatcher)}window.frames[i]._hasMouseHandlers=true}}if(mcWindows.isMSIE){mcWindows.addEvent(win.frame.document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame.document,"mouseup",mcWindows.eventDispatcher)}else{mcWindows.addEvent(win.frame,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame,"mouseup",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame,"focus",mcWindows.eventDispatcher)}var func=this.getParam("on_open_window","");if(func!="")eval(func+"(win);");win.focus();if(win.features['modal']=="yes")mcWindows.setDocumentLock(true)};TinyMCE_Windows.prototype.createFloatingIFrame=function(id_prefix,left,top,width,height,html){var iframe=document.createElement("iframe");var div=document.createElement("div"),doc;width=parse!
 Int(width);height=parseInt(height)+1;div.setAttribute("id",id_prefix+"_div");div.setAttribute("width",width);div.setAttribute("height",(height));div.style.position="absolute";div.style.left=left+"px";div.style.top=top+"px";div.style.width=width+"px";div.style.height=(height)+"px";div.style.backgroundColor="white";div.style.display="none";if(this.isGecko){iframeWidth=width+2;iframeHeight=height+2}else{iframeWidth=width;iframeHeight=height+1}iframe.setAttribute("id",id_prefix+"_iframe");iframe.setAttribute("name",id_prefix+"_iframe");iframe.setAttribute("border","0");iframe.setAttribute("frameBorder","0");iframe.setAttribute("marginWidth","0");iframe.setAttribute("marginHeight","0");iframe.setAttribute("leftMargin","0");iframe.setAttribute("topMargin","0");iframe.setAttribute("width",iframeWidth);iframe.setAttribute("height",iframeHeight);iframe.setAttribute("scrolling","no");iframe.style.width=iframeWidth+"px";iframe.style.height=iframeHeight+"px";iframe.style.backgroundColo!
 r="white";div.appendChild(iframe);document.body.appendChild(div);div.i
nnerHTML=div.innerHTML;if(this.isSafari){window.setTimeout(function(){var doc=window.frames[id_prefix+'_iframe'].document;doc.open();doc.write(html);doc.close()},10)}else{doc=window.frames[id_prefix+'_iframe'].window.document;doc.open();doc.write(html);doc.close()}div.style.display="block";return div};function TinyMCE_Window(){};TinyMCE_Window.prototype.focus=function(){if(this!=mcWindows.selectedWindow){this.winElement.style.zIndex=++mcWindows.zindex;mcWindows.lastSelectedWindow=mcWindows.selectedWindow;mcWindows.selectedWindow=this}};TinyMCE_Window.prototype.minimize=function(){};TinyMCE_Window.prototype.maximize=function(){};TinyMCE_Window.prototype.startResize=function(){mcWindows.action="resize"};TinyMCE_Window.prototype.startMove=function(e){mcWindows.action="move"};TinyMCE_Window.prototype.close=function(){if(this.frame&&this.frame['tinyMCEPopup'])this.frame['tinyMCEPopup'].restoreSelection();if(mcWindows.lastSelectedWindow!=null)mcWindows.lastSelectedWindow.focus();v!
 ar mcWindowsNew=new Array();for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(win.name!=this.name)mcWindowsNew[n]=win}mcWindows.windows=mcWindowsNew;var e=mcWindows.doc.getElementById(this.id+"_iframe");e.parentNode.removeChild(e);var e=mcWindows.doc.getElementById(this.id+"_div");e.parentNode.removeChild(e);mcWindows.setDocumentLock(false)};TinyMCE_Window.prototype.onMouseMove=function(e){var scrollX=0;var scrollY=0;var dx=e.screenX-mcWindows.mouseDownScreenX;var dy=e.screenY-mcWindows.mouseDownScreenY;switch(mcWindows.action){case"resize":width=mcWindows.mouseDownWidth+(e.screenX-mcWindows.mouseDownScreenX);height=mcWindows.mouseDownHeight+(e.screenY-mcWindows.mouseDownScreenY);width=width<100?100:width;height=height<100?100:height;this.wrapperIFrameElement.style.width=width+2;this.wrapperIFrameElement.style.height=height+2;this.wrapperIFrameElement.width=width+2;this.wrapperIFrameElement.height=height+2;this.winElement.st!
 yle.width=width;this.winElement.style.height=height;height=height-this
.deltaHeight;this.containerElement.style.width=width;this.iframeElement.style.width=width;this.iframeElement.style.height=height;this.bodyElement.style.width=width;this.bodyElement.style.height=height;this.headElement.style.width=width;mcWindows.cancelEvent(e);break;case"move":this.left=mcWindows.mouseDownLayerX+(e.screenX-mcWindows.mouseDownScreenX);this.top=mcWindows.mouseDownLayerY+(e.screenY-mcWindows.mouseDownScreenY);this.winElement.style.left=this.left+"px";this.winElement.style.top=this.top+"px";mcWindows.cancelEvent(e);break}};function debug(msg){document.getElementById('debug').value+=msg+"\n"}TinyMCE_Window.prototype.onMouseUp=function(e){mcWindows.action="none"};TinyMCE_Window.prototype.onFocus=function(e){var winRef=e.currentTarget;for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(winRef.name==win.id+"_iframe"){win.focus();return}}};TinyMCE_Window.prototype.onMouseDown=function(e){var elm=mcWindows.isMSIE?this.wr!
 apperFrame.event.srcElement:e.target;var scrollX=0;var scrollY=0;mcWindows.mouseDownScreenX=e.screenX;mcWindows.mouseDownScreenY=e.screenY;mcWindows.mouseDownLayerX=this.left;mcWindows.mouseDownLayerY=this.top;mcWindows.mouseDownWidth=parseInt(this.winElement.style.width);mcWindows.mouseDownHeight=parseInt(this.winElement.style.height);if(this.resizeElement!=null&&elm==this.resizeElement.firstChild)this.startResize(e);else this.startMove(e);mcWindows.cancelEvent(e)};var mcWindows=new TinyMCE_Windows();mcWindows.init({images_path:tinyMCE.baseURL+"/plugins/inlinepopups/images",css_file:tinyMCE.baseURL+"/plugins/inlinepopups/css/inlinepopup.css"});
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,660 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * Moxiecode DHTML Windows script.
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+// Patch openWindow, closeWindow TinyMCE functions
+
+var TinyMCE_InlinePopupsPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Inline Popups',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_inlinepopups.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	}
+};
+
+tinyMCE.addPlugin("inlinepopups", TinyMCE_InlinePopupsPlugin);
+
+// Patch openWindow, closeWindow TinyMCE functions
+
+TinyMCE_Engine.prototype.orgOpenWindow = TinyMCE_Engine.prototype.openWindow;
+
+TinyMCE_Engine.prototype.openWindow = function(template, args) {
+	// Does the caller support inline
+	if (args['inline'] != "yes" || tinyMCE.isOpera || tinyMCE.getParam("plugins").indexOf('inlinepopups') == -1) {
+		mcWindows.selectedWindow = null;
+		args['mce_inside_iframe'] = false;
+		this.orgOpenWindow(template, args);
+		return;
+	}
+
+	var url, resizable, scrollbars;
+
+	args['mce_inside_iframe'] = true;
+	tinyMCE.windowArgs = args;
+
+	if (template['file'].charAt(0) != '/' && template['file'].indexOf('://') == -1)
+		url = tinyMCE.baseURL + "/themes/" + tinyMCE.getParam("theme") + "/" + template['file'];
+	else
+		url = template['file'];
+
+	if (!(width = parseInt(template['width'])))
+		width = 320;
+
+	if (!(height = parseInt(template['height'])))
+		height = 200;
+
+	resizable = (args && args['resizable']) ? args['resizable'] : "no";
+	scrollbars = (args && args['scrollbars']) ? args['scrollbars'] : "no";
+
+	height += 18;
+
+	// Replace all args as variables in URL
+	for (var name in args) {
+		if (typeof(args[name]) == 'function')
+			continue;
+
+		url = tinyMCE.replaceVar(url, name, escape(args[name]));
+	}
+
+	var elm = document.getElementById(this.selectedInstance.editorId + '_parent');
+	var pos = tinyMCE.getAbsPosition(elm);
+
+	// Center div in editor area
+	pos.absLeft += Math.round((elm.firstChild.clientWidth / 2) - (width / 2));
+	pos.absTop += Math.round((elm.firstChild.clientHeight / 2) - (height / 2));
+
+	mcWindows.open(url, mcWindows.idCounter++, "modal=yes,width=" + width+ ",height=" + height + ",resizable=" + resizable + ",scrollbars=" + scrollbars + ",statusbar=" + resizable + ",left=" + pos.absLeft + ",top=" + pos.absTop);
+};
+
+TinyMCE_Engine.prototype.orgCloseWindow = TinyMCE_Engine.prototype.closeWindow;
+
+TinyMCE_Engine.prototype.closeWindow = function(win) {
+	if (mcWindows.selectedWindow != null)
+		mcWindows.selectedWindow.close();
+	else
+		this.orgCloseWindow(win);
+};
+
+TinyMCE_Engine.prototype.setWindowTitle = function(win_ref, title) {
+	for (var n in mcWindows.windows) {
+		var win = mcWindows.windows[n];
+		if (typeof(win) == 'function')
+			continue;
+
+		if (win_ref.name == win.id + "_iframe")
+			window.frames[win.id + "_iframe"].document.getElementById(win.id + '_title').innerHTML = title;
+	}
+};
+
+// * * * * * TinyMCE_Windows classes below
+
+// Windows handler
+function TinyMCE_Windows() {
+	this.settings = new Array();
+	this.windows = new Array();
+	this.isMSIE = (navigator.appName == "Microsoft Internet Explorer");
+	this.isGecko = navigator.userAgent.indexOf('Gecko') != -1;
+	this.isSafari = navigator.userAgent.indexOf('Safari') != -1;
+	this.isMac = navigator.userAgent.indexOf('Mac') != -1;
+	this.isMSIE5_0 = this.isMSIE && (navigator.userAgent.indexOf('MSIE 5.0') != -1);
+	this.action = "none";
+	this.selectedWindow = null;
+	this.lastSelectedWindow = null;
+	this.zindex = 100;
+	this.mouseDownScreenX = 0;
+	this.mouseDownScreenY = 0;
+	this.mouseDownLayerX = 0;
+	this.mouseDownLayerY = 0;
+	this.mouseDownWidth = 0;
+	this.mouseDownHeight = 0;
+	this.idCounter = 0;
+};
+
+TinyMCE_Windows.prototype.init = function(settings) {
+	this.settings = settings;
+
+	if (this.isMSIE)
+		this.addEvent(document, "mousemove", mcWindows.eventDispatcher);
+	else
+		this.addEvent(window, "mousemove", mcWindows.eventDispatcher);
+
+	this.addEvent(document, "mouseup", mcWindows.eventDispatcher);
+
+	this.doc = document;
+};
+
+TinyMCE_Windows.prototype.getParam = function(name, default_value) {
+	var value = null;
+
+	value = (typeof(this.settings[name]) == "undefined") ? default_value : this.settings[name];
+
+	// Fix bool values
+	if (value == "true" || value == "false")
+		return (value == "true");
+
+	return value;
+};
+
+TinyMCE_Windows.prototype.eventDispatcher = function(e) {
+	e = typeof(e) == "undefined" ? window.event : e;
+
+	if (mcWindows.selectedWindow == null)
+		return;
+
+	// Switch focus
+	if (mcWindows.isGecko && e.type == "mousedown") {
+		var elm = e.currentTarget;
+
+		for (var n in mcWindows.windows) {
+			var win = mcWindows.windows[n];
+
+			if (win.headElement == elm || win.resizeElement == elm) {
+				win.focus();
+				break;
+			}
+		}
+	}
+
+	switch (e.type) {
+		case "mousemove":
+			mcWindows.selectedWindow.onMouseMove(e);
+			break;
+
+		case "mouseup":
+			mcWindows.selectedWindow.onMouseUp(e);
+			break;
+
+		case "mousedown":
+			mcWindows.selectedWindow.onMouseDown(e);
+			break;
+
+		case "focus":
+			mcWindows.selectedWindow.onFocus(e);
+			break;
+	}
+};
+
+TinyMCE_Windows.prototype.addEvent = function(obj, name, handler) {
+	if (this.isMSIE)
+		obj.attachEvent("on" + name, handler);
+	else
+		obj.addEventListener(name, handler, true);
+};
+
+TinyMCE_Windows.prototype.cancelEvent = function(e) {
+	if (this.isMSIE) {
+		e.returnValue = false;
+		e.cancelBubble = true;
+	} else
+		e.preventDefault();
+};
+
+TinyMCE_Windows.prototype.parseFeatures = function(opts) {
+	// Cleanup the options
+	opts = opts.toLowerCase();
+	opts = opts.replace(/;/g, ",");
+	opts = opts.replace(/[^0-9a-z=,]/g, "");
+
+	var optionChunks = opts.split(',');
+	var options = new Array();
+
+	options['left'] = "10";
+	options['top'] = "10";
+	options['width'] = "300";
+	options['height'] = "300";
+	options['resizable'] = "yes";
+	options['minimizable'] = "yes";
+	options['maximizable'] = "yes";
+	options['close'] = "yes";
+	options['movable'] = "yes";
+	options['statusbar'] = "yes";
+	options['scrollbars'] = "auto";
+	options['modal'] = "no";
+
+	if (opts == "")
+		return options;
+
+	for (var i=0; i<optionChunks.length; i++) {
+		var parts = optionChunks[i].split('=');
+
+		if (parts.length == 2)
+			options[parts[0]] = parts[1];
+	}
+
+	options['left'] = parseInt(options['left']);
+	options['top'] = parseInt(options['top']);
+	options['width'] = parseInt(options['width']);
+	options['height'] = parseInt(options['height']);
+
+	return options;
+};
+
+TinyMCE_Windows.prototype.open = function(url, name, features) {
+	this.lastSelectedWindow = this.selectedWindow;
+
+	var win = new TinyMCE_Window();
+	var winDiv, html = "", id;
+	var imgPath = this.getParam("images_path");
+
+	features = this.parseFeatures(features);
+
+	// Create div
+	id = "mcWindow_" + name;
+	win.deltaHeight = 18;
+
+	if (features['statusbar'] == "yes") {
+		win.deltaHeight += 13;
+
+		if (this.isMSIE)
+			win.deltaHeight += 1;
+	}
+
+	width = parseInt(features['width']);
+	height = parseInt(features['height'])-win.deltaHeight;
+
+	if (this.isMSIE)
+		width -= 2;
+
+	// Setup first part of window
+	win.id = id;
+	win.url = url;
+	win.name = name;
+	win.features = features;
+	this.windows[name] = win;
+
+	iframeWidth = width;
+	iframeHeight = height;
+
+	// Create inner content
+	html += '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
+	html += '<html>';
+	html += '<head>';
+	html += '<title>Wrapper iframe</title>';
+	html += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">';
+	html += '<link href="' + this.getParam("css_file") + '" rel="stylesheet" type="text/css" />';
+	html += '</head>';
+	html += '<body onload="parent.mcWindows.onLoad(\'' + name + '\');">';
+
+	html += '<div id="' + id + '_container" class="mceWindow">';
+	html += '<div id="' + id + '_head" class="mceWindowHead" onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();">';
+	html += '  <div id="' + id + '_title" class="mceWindowTitle"';
+	html += '  onselectstart="return false;" unselectable="on" style="-moz-user-select: none !important;"></div>';
+	html += '    <div class="mceWindowHeadTools">';
+	html += '      <a href="javascript:parent.mcWindows.windows[\'' + name + '\'].close();" target="_self" onmousedown="return false;" class="mceWindowClose"><img border="0" src="' + imgPath + '/window_close.gif" /></a>';
+//	html += '      <a href="javascript:mcWindows.windows[\'' + name + '\'].maximize();" target="_self" onmousedown="return false;" class="mceWindowMaximize"></a>';
+//	html += '      <a href="javascript:mcWindows.windows[\'' + name + '\'].minimize();" target="_self" onmousedown="return false;" class="mceWindowMinimize"></a>';
+	html += '    </div>';
+	html += '</div><div id="' + id + '_body" class="mceWindowBody" style="width: ' + width + 'px; height: ' + height + 'px;">';
+	html += '<iframe id="' + id + '_iframe" name="' + id + '_iframe" frameborder="0" width="' + iframeWidth + '" height="' + iframeHeight + '" src="' + url + '" class="mceWindowBodyIframe" scrolling="' + features['scrollbars'] + '"></iframe></div>';
+
+	if (features['statusbar'] == "yes") {
+		html += '<div id="' + id + '_statusbar" class="mceWindowStatusbar" onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();">';
+
+		if (features['resizable'] == "yes") {
+			if (this.isGecko)
+				html += '<div id="' + id + '_resize" class="mceWindowResize"><div style="background-image: url(\'' + imgPath + '/window_resize.gif\'); width: 12px; height: 12px;"></div></div>';
+			else
+				html += '<div id="' + id + '_resize" class="mceWindowResize"><img onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();" border="0" src="' + imgPath + '/window_resize.gif" /></div>';
+		}
+
+		html += '</div>';
+	}
+
+	html += '</div>';
+
+	html += '</body>';
+	html += '</html>';
+
+	// Create iframe
+	this.createFloatingIFrame(id, features['left'], features['top'], features['width'], features['height'], html);
+};
+
+// Blocks the document events by placing a image over the whole document
+TinyMCE_Windows.prototype.setDocumentLock = function(state) {
+	if (state) {
+		var elm = document.getElementById('mcWindowEventBlocker');
+		if (elm == null) {
+			elm = document.createElement("div");
+
+			elm.id = "mcWindowEventBlocker";
+			elm.style.position = "absolute";
+			elm.style.left = "0";
+			elm.style.top = "0";
+
+			document.body.appendChild(elm);
+		}
+
+		elm.style.display = "none";
+
+		var imgPath = this.getParam("images_path");
+		var width = document.body.clientWidth;
+		var height = document.body.clientHeight;
+
+		elm.style.width = width;
+		elm.style.height = height;
+		elm.innerHTML = '<img src="' + imgPath + '/spacer.gif" width="' + width + '" height="' + height + '" />';
+
+		elm.style.zIndex = mcWindows.zindex-1;
+		elm.style.display = "block";
+	} else {
+		var elm = document.getElementById('mcWindowEventBlocker');
+
+		if (mcWindows.windows.length == 0)
+			elm.parentNode.removeChild(elm);
+		else
+			elm.style.zIndex = mcWindows.zindex-1;
+	}
+};
+
+// Gets called when wrapper iframe is initialized
+TinyMCE_Windows.prototype.onLoad = function(name) {
+	var win = mcWindows.windows[name];
+	var id = "mcWindow_" + name;
+	var wrapperIframe = window.frames[id + "_iframe"].frames[0];
+	var wrapperDoc = window.frames[id + "_iframe"].document;
+	var doc = window.frames[id + "_iframe"].document;
+	var winDiv = document.getElementById("mcWindow_" + name + "_div");
+	var realIframe = window.frames[id + "_iframe"].frames[0];
+
+	// Set window data
+	win.id = "mcWindow_" + name;
+	win.winElement = winDiv;
+	win.bodyElement = doc.getElementById(id + '_body');
+	win.iframeElement = doc.getElementById(id + '_iframe');
+	win.headElement = doc.getElementById(id + '_head');
+	win.titleElement = doc.getElementById(id + '_title');
+	win.resizeElement = doc.getElementById(id + '_resize');
+	win.containerElement = doc.getElementById(id + '_container');
+	win.left = win.features['left'];
+	win.top = win.features['top'];
+	win.frame = window.frames[id + '_iframe'].frames[0];
+	win.wrapperFrame = window.frames[id + '_iframe'];
+	win.wrapperIFrameElement = document.getElementById(id + "_iframe");
+
+	// Add event handlers
+	mcWindows.addEvent(win.headElement, "mousedown", mcWindows.eventDispatcher);
+
+	if (win.resizeElement != null)
+		mcWindows.addEvent(win.resizeElement, "mousedown", mcWindows.eventDispatcher);
+
+	if (mcWindows.isMSIE) {
+		mcWindows.addEvent(realIframe.document, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(realIframe.document, "mouseup", mcWindows.eventDispatcher);
+	} else {
+		mcWindows.addEvent(realIframe, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(realIframe, "mouseup", mcWindows.eventDispatcher);
+		mcWindows.addEvent(realIframe, "focus", mcWindows.eventDispatcher);
+	}
+
+	for (var i=0; i<window.frames.length; i++) {
+		if (!window.frames[i]._hasMouseHandlers) {
+			if (mcWindows.isMSIE) {
+				mcWindows.addEvent(window.frames[i].document, "mousemove", mcWindows.eventDispatcher);
+				mcWindows.addEvent(window.frames[i].document, "mouseup", mcWindows.eventDispatcher);
+			} else {
+				mcWindows.addEvent(window.frames[i], "mousemove", mcWindows.eventDispatcher);
+				mcWindows.addEvent(window.frames[i], "mouseup", mcWindows.eventDispatcher);
+			}
+
+			window.frames[i]._hasMouseHandlers = true;
+		}
+	}
+
+	if (mcWindows.isMSIE) {
+		mcWindows.addEvent(win.frame.document, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(win.frame.document, "mouseup", mcWindows.eventDispatcher);
+	} else {
+		mcWindows.addEvent(win.frame, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(win.frame, "mouseup", mcWindows.eventDispatcher);
+		mcWindows.addEvent(win.frame, "focus", mcWindows.eventDispatcher);
+	}
+
+	// Dispatch open window event
+	var func = this.getParam("on_open_window", "");
+	if (func != "")
+		eval(func + "(win);");
+
+	win.focus();
+
+	if (win.features['modal'] == "yes")
+		mcWindows.setDocumentLock(true);
+};
+
+TinyMCE_Windows.prototype.createFloatingIFrame = function(id_prefix, left, top, width, height, html) {
+	var iframe = document.createElement("iframe");
+	var div = document.createElement("div"), doc;
+
+	width = parseInt(width);
+	height = parseInt(height)+1;
+
+	// Create wrapper div
+	div.setAttribute("id", id_prefix + "_div");
+	div.setAttribute("width", width);
+	div.setAttribute("height", (height));
+	div.style.position = "absolute";
+	div.style.left = left + "px";
+	div.style.top = top + "px";
+	div.style.width = width + "px";
+	div.style.height = (height) + "px";
+	div.style.backgroundColor = "white";
+	div.style.display = "none";
+
+	if (this.isGecko) {
+		iframeWidth = width + 2;
+		iframeHeight = height + 2;
+	} else {
+		iframeWidth = width;
+		iframeHeight = height + 1;
+	}
+
+	// Create iframe
+	iframe.setAttribute("id", id_prefix + "_iframe");
+	iframe.setAttribute("name", id_prefix + "_iframe");
+	iframe.setAttribute("border", "0");
+	iframe.setAttribute("frameBorder", "0");
+	iframe.setAttribute("marginWidth", "0");
+	iframe.setAttribute("marginHeight", "0");
+	iframe.setAttribute("leftMargin", "0");
+	iframe.setAttribute("topMargin", "0");
+	iframe.setAttribute("width", iframeWidth);
+	iframe.setAttribute("height", iframeHeight);
+//	iframe.setAttribute("src", "../jscripts/tiny_mce/blank.htm");
+	// iframe.setAttribute("allowtransparency", "false");
+	iframe.setAttribute("scrolling", "no");
+	iframe.style.width = iframeWidth + "px";
+	iframe.style.height = iframeHeight + "px";
+	iframe.style.backgroundColor = "white";
+	div.appendChild(iframe);
+
+	document.body.appendChild(div);
+
+	// Fixed MSIE 5.0 issue
+	div.innerHTML = div.innerHTML;
+
+	if (this.isSafari) {
+		// Give Safari some time to setup
+		window.setTimeout(function() {
+			var doc = window.frames[id_prefix + '_iframe'].document;
+			doc.open();
+			doc.write(html);
+			doc.close();
+		}, 10);
+	} else {
+		doc = window.frames[id_prefix + '_iframe'].window.document;
+		doc.open();
+		doc.write(html);
+		doc.close();
+	}
+
+	div.style.display = "block";
+
+	return div;
+};
+
+// Window instance
+function TinyMCE_Window() {
+};
+
+TinyMCE_Window.prototype.focus = function() {
+	if (this != mcWindows.selectedWindow) {
+		this.winElement.style.zIndex = ++mcWindows.zindex;
+		mcWindows.lastSelectedWindow = mcWindows.selectedWindow;
+		mcWindows.selectedWindow = this;
+	}
+};
+
+TinyMCE_Window.prototype.minimize = function() {
+};
+
+TinyMCE_Window.prototype.maximize = function() {
+	
+};
+
+TinyMCE_Window.prototype.startResize = function() {
+	mcWindows.action = "resize";
+};
+
+TinyMCE_Window.prototype.startMove = function(e) {
+	mcWindows.action = "move";
+};
+
+TinyMCE_Window.prototype.close = function() {
+	if (this.frame && this.frame['tinyMCEPopup'])
+		this.frame['tinyMCEPopup'].restoreSelection();
+
+	if (mcWindows.lastSelectedWindow != null)
+		mcWindows.lastSelectedWindow.focus();
+
+	var mcWindowsNew = new Array();
+	for (var n in mcWindows.windows) {
+		var win = mcWindows.windows[n];
+		if (typeof(win) == 'function')
+			continue;
+
+		if (win.name != this.name)
+			mcWindowsNew[n] = win;
+	}
+
+	mcWindows.windows = mcWindowsNew;
+
+//	alert(mcWindows.doc.getElementById(this.id + "_iframe"));
+
+	var e = mcWindows.doc.getElementById(this.id + "_iframe");
+	e.parentNode.removeChild(e);
+
+	var e = mcWindows.doc.getElementById(this.id + "_div");
+	e.parentNode.removeChild(e);
+
+	mcWindows.setDocumentLock(false);
+};
+
+TinyMCE_Window.prototype.onMouseMove = function(e) {
+	var scrollX = 0;//this.doc.body.scrollLeft;
+	var scrollY = 0;//this.doc.body.scrollTop;
+
+	// Calculate real X, Y
+	var dx = e.screenX - mcWindows.mouseDownScreenX;
+	var dy = e.screenY - mcWindows.mouseDownScreenY;
+
+	switch (mcWindows.action) {
+		case "resize":
+			width = mcWindows.mouseDownWidth + (e.screenX - mcWindows.mouseDownScreenX);
+			height = mcWindows.mouseDownHeight + (e.screenY - mcWindows.mouseDownScreenY);
+
+			width = width < 100 ? 100 : width;
+			height = height < 100 ? 100 : height;
+
+			this.wrapperIFrameElement.style.width = width+2;
+			this.wrapperIFrameElement.style.height = height+2;
+			this.wrapperIFrameElement.width = width+2;
+			this.wrapperIFrameElement.height = height+2;
+			this.winElement.style.width = width;
+			this.winElement.style.height = height;
+
+			height = height - this.deltaHeight;
+
+			this.containerElement.style.width = width;
+
+			this.iframeElement.style.width = width;
+			this.iframeElement.style.height = height;
+			this.bodyElement.style.width = width;
+			this.bodyElement.style.height = height;
+			this.headElement.style.width = width;
+			//this.statusElement.style.width = width;
+
+			mcWindows.cancelEvent(e);
+			break;
+
+		case "move":
+			this.left = mcWindows.mouseDownLayerX + (e.screenX - mcWindows.mouseDownScreenX);
+			this.top = mcWindows.mouseDownLayerY + (e.screenY - mcWindows.mouseDownScreenY);
+			this.winElement.style.left = this.left + "px";
+			this.winElement.style.top = this.top + "px";
+
+			mcWindows.cancelEvent(e);
+			break;
+	}
+};
+
+function debug(msg) {
+	document.getElementById('debug').value += msg + "\n";
+}
+
+TinyMCE_Window.prototype.onMouseUp = function(e) {
+	mcWindows.action = "none";
+};
+
+TinyMCE_Window.prototype.onFocus = function(e) {
+	// Gecko only handler
+	var winRef = e.currentTarget;
+
+	for (var n in mcWindows.windows) {
+		var win = mcWindows.windows[n];
+		if (typeof(win) == 'function')
+			continue;
+
+		if (winRef.name == win.id + "_iframe") {
+			win.focus();
+			return;
+		}
+	}
+};
+
+TinyMCE_Window.prototype.onMouseDown = function(e) {
+	var elm = mcWindows.isMSIE ? this.wrapperFrame.event.srcElement : e.target;
+
+	var scrollX = 0;//this.doc.body.scrollLeft;
+	var scrollY = 0;//this.doc.body.scrollTop;
+
+	mcWindows.mouseDownScreenX = e.screenX;
+	mcWindows.mouseDownScreenY = e.screenY;
+	mcWindows.mouseDownLayerX = this.left;
+	mcWindows.mouseDownLayerY = this.top;
+	mcWindows.mouseDownWidth = parseInt(this.winElement.style.width);
+	mcWindows.mouseDownHeight = parseInt(this.winElement.style.height);
+
+	if (this.resizeElement != null && elm == this.resizeElement.firstChild)
+		this.startResize(e);
+	else
+		this.startMove(e);
+
+	mcWindows.cancelEvent(e);
+};
+
+// Global instance
+var mcWindows = new TinyMCE_Windows();
+
+// Initialize windows
+mcWindows.init({
+	images_path : tinyMCE.baseURL + "/plugins/inlinepopups/images",
+	css_file : tinyMCE.baseURL + "/plugins/inlinepopups/css/inlinepopup.css"
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_close.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_close.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_maximize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_maximize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_minimize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_minimize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_resize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/images/window_resize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/jscripts/mcwindows.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/jscripts/mcwindows.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/jscripts/mcwindows.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,453 @@
+/**
+ * $Id: mcwindows.js 18 2006-06-29 14:11:23Z spocke $
+ *
+ * Moxiecode DHTML Windows script.
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004, Moxiecode Systems AB, All rights reserved.
+ */
+
+// Windows handler
+function MCWindows() {
+	this.settings = new Array();
+	this.windows = new Array();
+	this.isMSIE = (navigator.appName == "Microsoft Internet Explorer");
+	this.isGecko = navigator.userAgent.indexOf('Gecko') != -1;
+	this.isSafari = navigator.userAgent.indexOf('Safari') != -1;
+	this.isMac = navigator.userAgent.indexOf('Mac') != -1;
+	this.isMSIE5_0 = this.isMSIE && (navigator.userAgent.indexOf('MSIE 5.0') != -1);
+	this.action = "none";
+	this.selectedWindow = null;
+	this.zindex = 100;
+	this.mouseDownScreenX = 0;
+	this.mouseDownScreenY = 0;
+	this.mouseDownLayerX = 0;
+	this.mouseDownLayerY = 0;
+	this.mouseDownWidth = 0;
+	this.mouseDownHeight = 0;
+};
+
+MCWindows.prototype.init = function(settings) {
+	this.settings = settings;
+
+	if (this.isMSIE)
+		this.addEvent(document, "mousemove", mcWindows.eventDispatcher);
+	else
+		this.addEvent(window, "mousemove", mcWindows.eventDispatcher);
+
+	this.addEvent(document, "mouseup", mcWindows.eventDispatcher);
+};
+
+MCWindows.prototype.getParam = function(name, default_value) {
+	var value = null;
+
+	value = (typeof(this.settings[name]) == "undefined") ? default_value : this.settings[name];
+
+	// Fix bool values
+	if (value == "true" || value == "false")
+		return (value == "true");
+
+	return value;
+};
+
+MCWindows.prototype.eventDispatcher = function(e) {
+	e = typeof(e) == "undefined" ? window.event : e;
+
+	if (mcWindows.selectedWindow == null)
+		return;
+
+	// Switch focus
+	if (mcWindows.isGecko && e.type == "mousedown") {
+		var elm = e.currentTarget;
+
+		for (var n in mcWindows.windows) {
+			var win = mcWindows.windows[n];
+			if (typeof(win) == 'function')
+				continue;
+
+			if (win.headElement == elm || win.resizeElement == elm) {
+				win.focus();
+				break;
+			}
+		}
+	}
+
+	switch (e.type) {
+		case "mousemove":
+			mcWindows.selectedWindow.onMouseMove(e);
+			break;
+
+		case "mouseup":
+			mcWindows.selectedWindow.onMouseUp(e);
+			break;
+
+		case "mousedown":
+			mcWindows.selectedWindow.onMouseDown(e);
+			break;
+
+		case "focus":
+			mcWindows.selectedWindow.onFocus(e);
+			break;
+	}
+}
+
+MCWindows.prototype.addEvent = function(obj, name, handler) {
+	if (this.isMSIE)
+		obj.attachEvent("on" + name, handler);
+	else
+		obj.addEventListener(name, handler, true);
+};
+
+MCWindows.prototype.cancelEvent = function(e) {
+	if (this.isMSIE) {
+		e.returnValue = false;
+		e.cancelBubble = true;
+	} else
+		e.preventDefault();
+};
+
+MCWindows.prototype.parseFeatures = function(opts) {
+	// Cleanup the options
+	opts = opts.toLowerCase();
+	opts = opts.replace(/;/g, ",");
+	opts = opts.replace(/[^0-9a-z=,]/g, "");
+
+	var optionChunks = opts.split(',');
+	var options = new Array();
+
+	options['left'] = 10;
+	options['top'] = 10;
+	options['width'] = 300;
+	options['height'] = 300;
+	options['resizable'] = true;
+	options['minimizable'] = true;
+	options['maximizable'] = true;
+	options['close'] = true;
+	options['movable'] = true;
+
+	if (opts == "")
+		return options;
+
+	for (var i=0; i<optionChunks.length; i++) {
+		var parts = optionChunks[i].split('=');
+
+		if (parts.length == 2)
+			options[parts[0]] = parts[1];
+	}
+
+	return options;
+};
+
+MCWindows.prototype.open = function(url, name, features) {
+	var win = new MCWindow();
+	var winDiv, html = "", id;
+
+	features = this.parseFeatures(features);
+
+	// Create div
+	id = "mcWindow_" + name;
+
+	width = parseInt(features['width']);
+	height = parseInt(features['height'])-12-19;
+
+	if (this.isMSIE)
+		width -= 2;
+
+	// Setup first part of window
+	win.id = id;
+	win.url = url;
+	win.name = name;
+	win.features = features;
+	this.windows[name] = win;
+
+	iframeWidth = width;
+	iframeHeight = height;
+
+	// Create inner content
+	html += '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
+	html += '<html>';
+	html += '<head>';
+	html += '<title>Wrapper iframe</title>';
+	html += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">';
+	html += '<link href="../jscripts/tiny_mce/themes/advanced/css/editor_ui.css" rel="stylesheet" type="text/css" />';
+	html += '</head>';
+	html += '<body onload="parent.mcWindows.onLoad(\'' + name + '\');">';
+
+	html += '<div id="' + id + '_container" class="mceWindow">';
+	html += '<div id="' + id + '_head" class="mceWindowHead" onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();">';
+	html += '  <div id="' + id + '_title" class="mceWindowTitle"';
+	html += '  onselectstart="return false;" unselectable="on" style="-moz-user-select: none !important;">No name window</div>';
+	html += '    <div class="mceWindowHeadTools">';
+	html += '      <a href="javascript:parent.mcWindows.windows[\'' + name + '\'].close();" onmousedown="return false;" class="mceWindowClose"><img border="0" src="../jscripts/tiny_mce/themes/advanced/images/window_close.gif" /></a>';
+//	html += '      <a href="javascript:mcWindows.windows[\'' + name + '\'].maximize();" onmousedown="return false;" class="mceWindowMaximize"></a>';
+//	html += '      <a href="javascript:mcWindows.windows[\'' + name + '\'].minimize();" onmousedown="return false;" class="mceWindowMinimize"></a>';
+	html += '    </div>';
+	html += '</div><div id="' + id + '_body" class="mceWindowBody" style="width: ' + width + 'px; height: ' + height + 'px;">';
+	html += '<iframe id="' + id + '_iframe" name="' + id + '_iframe" onfocus="parent.mcWindows.windows[\'' + name + '\'].focus();" frameborder="0" width="' + iframeWidth + '" height="' + iframeHeight + '" src="' + url + '" class="mceWindowBodyIframe"></iframe></div>';
+	html += '<div id="' + id + '_statusbar" class="mceWindowStatusbar" onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();">';
+	html += '<div id="' + id + '_resize" class="mceWindowResize"><img onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();" border="0" src="../jscripts/tiny_mce/themes/advanced/images/window_resize.gif" /></div>';
+	html += '</div>';
+	html += '</div>';
+
+	html += '</body>';
+	html += '</html>';
+
+	// Create iframe
+	this.createFloatingIFrame(id, features['left'], features['top'], features['width'], features['height'], html);
+};
+
+// Gets called when wrapper iframe is initialized
+MCWindows.prototype.onLoad = function(name) {
+	var win = mcWindows.windows[name];
+	var id = "mcWindow_" + name;
+	var wrapperIframe = window.frames[id + "_iframe"].frames[0];
+	var wrapperDoc = window.frames[id + "_iframe"].document;
+	var doc = window.frames[id + "_iframe"].document;
+	var winDiv = document.getElementById("mcWindow_" + name + "_div");
+	var realIframe = window.frames[id + "_iframe"].frames[0];
+
+	// Set window data
+	win.id = "mcWindow_" + name + "_iframe";
+	win.winElement = winDiv;
+	win.bodyElement = doc.getElementById(id + '_body');
+	win.iframeElement = doc.getElementById(id + '_iframe');
+	win.headElement = doc.getElementById(id + '_head');
+	win.titleElement = doc.getElementById(id + '_title');
+	win.resizeElement = doc.getElementById(id + '_resize');
+	win.containerElement = doc.getElementById(id + '_container');
+	win.left = win.features['left'];
+	win.top = win.features['top'];
+	win.frame = window.frames[id + '_iframe'].frames[0];
+	win.wrapperFrame = window.frames[id + '_iframe'];
+	win.wrapperIFrameElement = document.getElementById(id + "_iframe");
+
+	// Add event handlers
+	mcWindows.addEvent(win.headElement, "mousedown", mcWindows.eventDispatcher);
+	mcWindows.addEvent(win.resizeElement, "mousedown", mcWindows.eventDispatcher);
+
+	if (mcWindows.isMSIE) {
+		mcWindows.addEvent(realIframe.document, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(realIframe.document, "mouseup", mcWindows.eventDispatcher);
+	} else {
+		mcWindows.addEvent(realIframe, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(realIframe, "mouseup", mcWindows.eventDispatcher);
+		mcWindows.addEvent(realIframe, "focus", mcWindows.eventDispatcher);
+	}
+
+	for (var i=0; i<window.frames.length; i++) {
+		if (!window.frames[i]._hasMouseHandlers) {
+			if (mcWindows.isMSIE) {
+				mcWindows.addEvent(window.frames[i].document, "mousemove", mcWindows.eventDispatcher);
+				mcWindows.addEvent(window.frames[i].document, "mouseup", mcWindows.eventDispatcher);
+			} else {
+				mcWindows.addEvent(window.frames[i], "mousemove", mcWindows.eventDispatcher);
+				mcWindows.addEvent(window.frames[i], "mouseup", mcWindows.eventDispatcher);
+			}
+
+			window.frames[i]._hasMouseHandlers = true;
+		}
+	}
+
+	if (mcWindows.isMSIE) {
+		mcWindows.addEvent(win.frame.document, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(win.frame.document, "mouseup", mcWindows.eventDispatcher);
+	} else {
+		mcWindows.addEvent(win.frame, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(win.frame, "mouseup", mcWindows.eventDispatcher);
+		mcWindows.addEvent(win.frame, "focus", mcWindows.eventDispatcher);
+	}
+
+	this.selectedWindow = win;
+};
+
+MCWindows.prototype.createFloatingIFrame = function(id_prefix, left, top, width, height, html) {
+	var iframe = document.createElement("iframe");
+	var div = document.createElement("div");
+
+	width = parseInt(width);
+	height = parseInt(height)+1;
+
+	// Create wrapper div
+	div.setAttribute("id", id_prefix + "_div");
+	div.setAttribute("width", width);
+	div.setAttribute("height", (height));
+	div.style.position = "absolute";
+	div.style.left = left + "px";
+	div.style.top = top + "px";
+	div.style.width = width + "px";
+	div.style.height = (height) + "px";
+	div.style.backgroundColor = "white";
+	div.style.display = "none";
+
+	if (this.isGecko) {
+		iframeWidth = width + 2;
+		iframeHeight = height + 2;
+	} else {
+		iframeWidth = width;
+		iframeHeight = height + 1;
+	}
+
+	// Create iframe
+	iframe.setAttribute("id", id_prefix + "_iframe");
+	iframe.setAttribute("name", id_prefix + "_iframe");
+	iframe.setAttribute("border", "0");
+	iframe.setAttribute("frameBorder", "0");
+	iframe.setAttribute("marginWidth", "0");
+	iframe.setAttribute("marginHeight", "0");
+	iframe.setAttribute("leftMargin", "0");
+	iframe.setAttribute("topMargin", "0");
+	iframe.setAttribute("width", iframeWidth);
+	iframe.setAttribute("height", iframeHeight);
+//	iframe.setAttribute("src", "../jscripts/tiny_mce/blank.htm");
+	// iframe.setAttribute("allowtransparency", "false");
+	iframe.setAttribute("scrolling", "no");
+	iframe.style.width = iframeWidth + "px";
+	iframe.style.height = iframeHeight + "px";
+	iframe.style.backgroundColor = "white";
+	div.appendChild(iframe);
+
+	document.body.appendChild(div);
+
+	// Fixed MSIE 5.0 issue
+	div.innerHTML = div.innerHTML;
+
+	if (this.isSafari) {
+		// Give Safari some time to setup
+		window.setTimeout(function() {
+			doc = window.frames[id_prefix + '_iframe'].document;
+			doc.open();
+			doc.write(html);
+			doc.close();
+		}, 10);
+	} else {
+		doc = window.frames[id_prefix + '_iframe'].window.document
+		doc.open();
+		doc.write(html);
+		doc.close();
+	}
+
+	div.style.display = "block";
+
+	return div;
+};
+
+// Window instance
+function MCWindow() {
+};
+
+MCWindow.prototype.focus = function() {
+	this.winElement.style.zIndex = mcWindows.zindex++;
+	mcWindows.selectedWindow = this;
+};
+
+MCWindow.prototype.minimize = function() {
+};
+
+MCWindow.prototype.maximize = function() {
+	
+};
+
+MCWindow.prototype.startResize = function() {
+	mcWindows.action = "resize";
+};
+
+MCWindow.prototype.startMove = function(e) {
+	mcWindows.action = "move";
+};
+
+MCWindow.prototype.close = function() {
+	document.body.removeChild(this.winElement);
+	mcWindows.windows[this.name] = null;
+};
+
+MCWindow.prototype.onMouseMove = function(e) {
+	var scrollX = 0;//this.doc.body.scrollLeft;
+	var scrollY = 0;//this.doc.body.scrollTop;
+
+	// Calculate real X, Y
+	var dx = e.screenX - mcWindows.mouseDownScreenX;
+	var dy = e.screenY - mcWindows.mouseDownScreenY;
+
+	switch (mcWindows.action) {
+		case "resize":
+			width = mcWindows.mouseDownWidth + (e.screenX - mcWindows.mouseDownScreenX);
+			height = mcWindows.mouseDownHeight + (e.screenY - mcWindows.mouseDownScreenY);
+
+			width = width < 100 ? 100 : width;
+			height = height < 100 ? 100 : height;
+
+			this.wrapperIFrameElement.style.width = width+2;
+			this.wrapperIFrameElement.style.height = height+2;
+			this.wrapperIFrameElement.width = width+2;
+			this.wrapperIFrameElement.height = height+2;
+			this.winElement.style.width = width;
+			this.winElement.style.height = height;
+
+			height = height-12-19;
+
+			this.containerElement.style.width = width;
+
+			this.iframeElement.style.width = width;
+			this.iframeElement.style.height = height;
+			this.bodyElement.style.width = width;
+			this.bodyElement.style.height = height;
+			this.headElement.style.width = width;
+			//this.statusElement.style.width = width;
+
+			mcWindows.cancelEvent(e);
+			break;
+
+		case "move":
+			this.left = mcWindows.mouseDownLayerX + (e.screenX - mcWindows.mouseDownScreenX);
+			this.top = mcWindows.mouseDownLayerY + (e.screenY - mcWindows.mouseDownScreenY);
+			this.winElement.style.left = this.left + "px";
+			this.winElement.style.top = this.top + "px";
+
+			mcWindows.cancelEvent(e);
+			break;
+	}
+};
+
+MCWindow.prototype.onMouseUp = function(e) {
+	mcWindows.action = "none";
+};
+
+MCWindow.prototype.onFocus = function(e) {
+	// Gecko only handler
+	var winRef = e.currentTarget;
+
+	for (var n in mcWindows.windows) {
+		var win = mcWindows.windows[n];
+		if (typeof(win) == 'function')
+			continue;
+
+		if (winRef.name == win.id) {
+			win.focus();
+			return;
+		}
+	}
+};
+
+MCWindow.prototype.onMouseDown = function(e) {
+	var elm = mcWindows.isMSIE ? this.wrapperFrame.event.srcElement : e.target;
+
+	var scrollX = 0;//this.doc.body.scrollLeft;
+	var scrollY = 0;//this.doc.body.scrollTop;
+
+	mcWindows.mouseDownScreenX = e.screenX;
+	mcWindows.mouseDownScreenY = e.screenY;
+	mcWindows.mouseDownLayerX = this.left;
+	mcWindows.mouseDownLayerY = this.top;
+	mcWindows.mouseDownWidth = parseInt(this.winElement.style.width);
+	mcWindows.mouseDownHeight = parseInt(this.winElement.style.height);
+
+	if (elm == this.resizeElement.firstChild)
+		this.startResize(e);
+	else
+		this.startMove(e);
+
+	mcWindows.cancelEvent(e);
+};
+
+// Global instance
+var mcWindows = new MCWindows();

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/inlinepopups/readme.txt
===================================================================

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('insertdatetime');var TinyMCE_InsertDateTimePlugin={getInfo:function(){return{longname:'Insert date/time',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_insertdatetime.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"insertdate":return tinyMCE.getButtonHTML(cn,'lang_insertdate_desc','{$pluginurl}/images/insertdate.gif','mceInsertDate');case"inserttime":return tinyMCE.getButtonHTML(cn,'lang_inserttime_desc','{$pluginurl}/images/inserttime.gif','mceInsertTime')}return""},execCommand:function(editor_id,element,command,user_interface,value){function addZeros(value,len){value=""+value;if(value.length<len){for(var i=0;i<(len-value.length);i++)value="0"+value}return value}function getDateTime(d,fmt){fmt=fmt.replace("%D","%m/%d/%y");fmt=fmt.replace("%r","%I:%M:%S %p");fmt=fmt.replace("%Y",""+d.getFullYear());fmt=!
 fmt.replace("%y",""+d.getYear());fmt=fmt.replace("%m",addZeros(d.getMonth()+1,2));fmt=fmt.replace("%d",addZeros(d.getDate(),2));fmt=fmt.replace("%H",""+addZeros(d.getHours(),2));fmt=fmt.replace("%M",""+addZeros(d.getMinutes(),2));fmt=fmt.replace("%S",""+addZeros(d.getSeconds(),2));fmt=fmt.replace("%I",""+((d.getHours()+11)%12+1));fmt=fmt.replace("%p",""+(d.getHours()<12?"AM":"PM"));fmt=fmt.replace("%B",""+tinyMCE.getLang("lang_inserttime_months_long")[d.getMonth()]);fmt=fmt.replace("%b",""+tinyMCE.getLang("lang_inserttime_months_short")[d.getMonth()]);fmt=fmt.replace("%A",""+tinyMCE.getLang("lang_inserttime_day_long")[d.getDay()]);fmt=fmt.replace("%a",""+tinyMCE.getLang("lang_inserttime_day_short")[d.getDay()]);fmt=fmt.replace("%%","%");return fmt}switch(command){case"mceInsertDate":tinyMCE.execInstanceCommand(editor_id,'mceInsertContent',false,getDateTime(new Date(),tinyMCE.getParam("plugin_insertdate_dateFormat",tinyMCE.getLang('lang_insertdate_def_fmt'))));return true;ca!
 se"mceInsertTime":tinyMCE.execInstanceCommand(editor_id,'mceInsertCont
ent',false,getDateTime(new Date(),tinyMCE.getParam("plugin_insertdate_timeFormat",tinyMCE.getLang('lang_inserttime_def_fmt'))));return true}return false}};tinyMCE.addPlugin("insertdatetime",TinyMCE_InsertDateTimePlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,90 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('insertdatetime');
+
+var TinyMCE_InsertDateTimePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Insert date/time',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_insertdatetime.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	/**
+	 * Returns the HTML contents of the insertdate, inserttime controls.
+	 */
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "insertdate":
+				return tinyMCE.getButtonHTML(cn, 'lang_insertdate_desc', '{$pluginurl}/images/insertdate.gif', 'mceInsertDate');
+
+			case "inserttime":
+				return tinyMCE.getButtonHTML(cn, 'lang_inserttime_desc', '{$pluginurl}/images/inserttime.gif', 'mceInsertTime');
+		}
+
+		return "";
+	},
+
+	/**
+	 * Executes the mceInsertDate command.
+	 */
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		/* Adds zeros infront of value */
+		function addZeros(value, len) {
+			value = "" + value;
+
+			if (value.length < len) {
+				for (var i=0; i<(len-value.length); i++)
+					value = "0" + value;
+			}
+
+			return value;
+		}
+
+		function getDateTime(d, fmt) {
+			fmt = fmt.replace("%D", "%m/%d/%y");
+			fmt = fmt.replace("%r", "%I:%M:%S %p");
+			fmt = fmt.replace("%Y", "" + d.getFullYear());
+			fmt = fmt.replace("%y", "" + d.getYear());
+			fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2));
+			fmt = fmt.replace("%d", addZeros(d.getDate(), 2));
+			fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2));
+			fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2));
+			fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2));
+			fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1));
+			fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM"));
+			fmt = fmt.replace("%B", "" + tinyMCE.getLang("lang_inserttime_months_long")[d.getMonth()]);
+			fmt = fmt.replace("%b", "" + tinyMCE.getLang("lang_inserttime_months_short")[d.getMonth()]);
+			fmt = fmt.replace("%A", "" + tinyMCE.getLang("lang_inserttime_day_long")[d.getDay()]);
+			fmt = fmt.replace("%a", "" + tinyMCE.getLang("lang_inserttime_day_short")[d.getDay()]);
+			fmt = fmt.replace("%%", "%");
+
+			return fmt;
+		}
+
+		// Handle commands
+		switch (command) {
+			case "mceInsertDate":
+				tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, getDateTime(new Date(), tinyMCE.getParam("plugin_insertdate_dateFormat", tinyMCE.getLang('lang_insertdate_def_fmt'))));
+				return true;
+
+			case "mceInsertTime":
+				tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, getDateTime(new Date(), tinyMCE.getParam("plugin_insertdate_timeFormat", tinyMCE.getLang('lang_inserttime_def_fmt'))));
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	}
+};
+
+tinyMCE.addPlugin("insertdatetime", TinyMCE_InsertDateTimePlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/images/insertdate.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/images/insertdate.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/images/inserttime.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/images/inserttime.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/ca_fr.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/ca_fr.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/ca_fr.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// CAN_FR lang variables
+
+tinyMCELang['lang_insertdate_desc'] = 'Ins&egrave;rer la date';
+tinyMCELang['lang_inserttime_desc'] = 'Ins&egrave;rer l\'heure';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/el.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/el.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/el.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// Greek lang variables by Jacaranda Bill
+
+tinyMCELang['lang_insertdate_desc'] = 'ÅéóáãùãÞ çìåñïìçíßáò';
+tinyMCELang['lang_inserttime_desc'] = 'ÅéóáãùãÞ þñáò';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,12 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+insertdate_def_fmt : '%Y-%m-%d',
+inserttime_def_fmt : '%H:%M:%S',
+insertdate_desc : 'Insert date',
+inserttime_desc : 'Insert time',
+inserttime_months_long : new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"),
+inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"),
+inserttime_day_long : new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"),
+inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun")
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/it.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/it.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/it.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// IT lang variables
+
+tinyMCELang['lang_insertdate_desc'] = 'Inserisci data';
+tinyMCELang['lang_inserttime_desc'] = 'Inserisci ora';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/ko.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/ko.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/ko.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// KO lang variables
+
+tinyMCELang['lang_insertdate_desc'] = '³¯Â¥ ³Ö±â';
+tinyMCELang['lang_inserttime_desc'] = '½Ã°£ ³Ö±â';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/se.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/se.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/se.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// SE lang variables
+
+tinyMCELang['lang_insertdate_desc'] = 'Klistra in datum';
+tinyMCELang['lang_inserttime_desc'] = 'Klistra in tid';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/uk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/uk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/langs/uk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+// UK lang variables
+
+tinyMCELang['lang_insertdate_desc'] = 'Insert date';
+tinyMCELang['lang_inserttime_desc'] = 'Insert time';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/insertdatetime/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('layer');var TinyMCE_LayerPlugin={getInfo:function(){return{longname:'Layer',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_layer.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){if(tinyMCE.isMSIE&&!tinyMCE.isOpera)inst.getDoc().execCommand('2D-Position')},handleEvent:function(e){var inst=tinyMCE.selectedInstance;var w=inst.getWin(),le=inst._lastStyleElm,e;if(tinyMCE.isGecko){e=this._getParentLayer(inst.getFocusElement());if(e){if(!inst._lastStyleElm){e.style.overflow='auto';inst._lastStyleElm=e}}else if(le){le=inst._lastStyleElm;le.style.width=le.scrollWidth+'px';le.style.height=le.scrollHeight+'px';le.style.overflow='';inst._lastStyleElm=null}}return true},handleVisualAid:function(el,deep,state,inst){var nl=inst.getDoc().getElementsByTagName("div"),i;for(i=0;i<nl.length;i++){if(new RegExp('absolute|relative|static','gi!
 ').test(nl[i].style.position)){if(state)tinyMCE.addCSSClass(nl[i],'mceVisualAid');else tinyMCE.removeCSSClass(nl[i],'mceVisualAid')}}},getControlHTML:function(cn){switch(cn){case"moveforward":return tinyMCE.getButtonHTML(cn,'lang_layer_forward_desc','{$pluginurl}/images/moveforward.gif','mceMoveForward',true);case"movebackward":return tinyMCE.getButtonHTML(cn,'lang_layer_backward_desc','{$pluginurl}/images/movebackward.gif','mceMoveBackward',true);case"absolute":return tinyMCE.getButtonHTML(cn,'lang_layer_absolute_desc','{$pluginurl}/images/absolute.gif','mceMakeAbsolute',true);case"insertlayer":return tinyMCE.getButtonHTML(cn,'lang_layer_insertlayer_desc','{$pluginurl}/images/insertlayer.gif','mceInsertLayer',true)}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceInsertLayer":this._insertLayer();return true;case"mceMoveForward":this._move(1);return true;case"mceMoveBackward":this._move(-1);return true;case"mceMakeAbsolu!
 te":this._toggleAbsolute();return true}return false},handleNodeChange:
function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){var inst=tinyMCE.getInstanceById(editor_id);var le=this._getParentLayer(inst.getFocusElement());var p=tinyMCE.getParentElement(inst.getFocusElement(),'div,p,img');tinyMCE.switchClass(editor_id+'_absolute','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_moveforward','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_movebackward','mceButtonDisabled');if(p)tinyMCE.switchClass(editor_id+'_absolute','mceButtonNormal');if(le&&le.style.position.toLowerCase()=="absolute"){tinyMCE.switchClass(editor_id+'_absolute','mceButtonSelected');tinyMCE.switchClass(editor_id+'_moveforward','mceButtonNormal');tinyMCE.switchClass(editor_id+'_movebackward','mceButtonNormal')}},_move:function(d){var inst=tinyMCE.selectedInstance,i,z=new Array();var le=this._getParentLayer(inst.getFocusElement()),ci=-1,fi=-1;var nl=tinyMCE.selectNodes(inst.getBody(),function(n){return n.nodeType==1&&new RegExp('absolute|relative|static'!
 ,'gi').test(n.style.position)});for(i=0;i<nl.length;i++){z[i]=nl[i].style.zIndex?parseInt(nl[i].style.zIndex):0;if(ci<0&&nl[i]==le)ci=i}if(d<0){for(i=0;i<z.length;i++){if(z[i]<z[ci]){fi=i;break}}if(fi>-1){nl[ci].style.zIndex=z[fi];nl[fi].style.zIndex=z[ci]}else{if(z[ci]>0)nl[ci].style.zIndex=z[ci]-1}}else{for(i=0;i<z.length;i++){if(z[i]>z[ci]){fi=i;break}}if(fi>-1){nl[ci].style.zIndex=z[fi];nl[fi].style.zIndex=z[ci]}else nl[ci].style.zIndex=z[ci]+1}inst.repaint()},_getParentLayer:function(n){return tinyMCE.getParentNode(n,function(n){return n.nodeType==1&&new RegExp('absolute|relative|static','gi').test(n.style.position)})},_insertLayer:function(){var inst=tinyMCE.selectedInstance;var e=tinyMCE.getParentElement(inst.getFocusElement());var p=tinyMCE.getAbsPosition(e);var d=inst.getDoc();var ne=d.createElement('div');var h=inst.selection.getSelectedHTML();ne.style.position='absolute';ne.style.left=p.absLeft+'px';ne.style.top=(p.absTop>20?p.absTop:20)+'px';ne.style.width='100p!
 x';ne.style.height='100px';ne.className='mceVisualAid';if(!h)h=tinyMCE
.getLang('lang_layer_content');ne.innerHTML=h;d.body.appendChild(ne)},_toggleAbsolute:function(){var inst=tinyMCE.selectedInstance;var le=this._getParentLayer(inst.getFocusElement());if(le==null)le=tinyMCE.getParentElement(inst.getFocusElement(),'div,p,img');if(le){if(le.style.position.toLowerCase()=="absolute"){le.style.position="";le.style.left="";le.style.top=""}else{le.style.position="absolute";if(le.style.left=="")le.style.left=20+'px';if(le.style.top=="")le.style.top=20+'px';if(le.style.width=="")le.style.width=le.width?(le.width+'px'):'100px';if(le.style.height=="")le.style.height=le.height?(le.height+'px'):'100px';tinyMCE.handleVisualAid(inst.getBody(),true,inst.visualAid,inst)}inst.repaint();tinyMCE.triggerNodeChange()}}};tinyMCE.addPlugin("layer",TinyMCE_LayerPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,248 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('layer');
+
+var TinyMCE_LayerPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Layer',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_layer.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		if (tinyMCE.isMSIE && !tinyMCE.isOpera)
+			inst.getDoc().execCommand('2D-Position');
+	},
+
+	handleEvent : function(e) {
+		var inst = tinyMCE.selectedInstance;
+		var w = inst.getWin(), le = inst._lastStyleElm, e;
+
+		if (tinyMCE.isGecko) {
+			e = this._getParentLayer(inst.getFocusElement());
+
+			if (e) {
+				if (!inst._lastStyleElm) {
+					e.style.overflow = 'auto';
+					inst._lastStyleElm = e;
+				}
+			} else if (le) {
+				le = inst._lastStyleElm;
+				le.style.width = le.scrollWidth + 'px';
+				le.style.height = le.scrollHeight + 'px';
+				le.style.overflow = '';
+				inst._lastStyleElm = null;
+			}
+		}
+
+		return true;
+	},
+
+	handleVisualAid : function(el, deep, state, inst) {
+		var nl = inst.getDoc().getElementsByTagName("div"), i;
+
+		for (i=0; i<nl.length; i++) {
+			if (new RegExp('absolute|relative|static', 'gi').test(nl[i].style.position)) {
+				if (state)
+					tinyMCE.addCSSClass(nl[i], 'mceVisualAid');
+				else
+					tinyMCE.removeCSSClass(nl[i], 'mceVisualAid');					
+			}
+		}
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "moveforward":
+				return tinyMCE.getButtonHTML(cn, 'lang_layer_forward_desc', '{$pluginurl}/images/moveforward.gif', 'mceMoveForward', true);
+
+			case "movebackward":
+				return tinyMCE.getButtonHTML(cn, 'lang_layer_backward_desc', '{$pluginurl}/images/movebackward.gif', 'mceMoveBackward', true);
+
+			case "absolute":
+				return tinyMCE.getButtonHTML(cn, 'lang_layer_absolute_desc', '{$pluginurl}/images/absolute.gif', 'mceMakeAbsolute', true);
+
+			case "insertlayer":
+				return tinyMCE.getButtonHTML(cn, 'lang_layer_insertlayer_desc', '{$pluginurl}/images/insertlayer.gif', 'mceInsertLayer', true);
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceInsertLayer":
+				this._insertLayer();
+				return true;
+
+			case "mceMoveForward":
+				this._move(1);
+				return true;
+
+			case "mceMoveBackward":
+				this._move(-1);
+				return true;
+
+			case "mceMakeAbsolute":
+				this._toggleAbsolute();
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		var inst = tinyMCE.getInstanceById(editor_id);
+		var le = this._getParentLayer(inst.getFocusElement());
+		var p = tinyMCE.getParentElement(inst.getFocusElement(), 'div,p,img');
+
+		tinyMCE.switchClass(editor_id + '_absolute', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_moveforward', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_movebackward', 'mceButtonDisabled');
+
+		if (p)
+			tinyMCE.switchClass(editor_id + '_absolute', 'mceButtonNormal');
+
+		if (le && le.style.position.toLowerCase() == "absolute") {
+			tinyMCE.switchClass(editor_id + '_absolute', 'mceButtonSelected');
+			tinyMCE.switchClass(editor_id + '_moveforward', 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_movebackward', 'mceButtonNormal');
+		}
+	},
+
+	// Private plugin specific methods
+
+	_move : function(d) {
+		var inst = tinyMCE.selectedInstance, i, z = new Array();
+		var le = this._getParentLayer(inst.getFocusElement()), ci = -1, fi = -1;
+		var nl = tinyMCE.selectNodes(inst.getBody(), function(n) {
+			return n.nodeType == 1 && new RegExp('absolute|relative|static', 'gi').test(n.style.position);
+		});
+
+		// Find z-indexes
+		for (i=0; i<nl.length; i++) {
+			z[i] = nl[i].style.zIndex ? parseInt(nl[i].style.zIndex) : 0;
+
+			if (ci < 0 && nl[i] == le)
+				ci = i;
+		}
+
+		if (d < 0) {
+			// Move back
+
+			// Try find a lower one
+			for (i=0; i<z.length; i++) {
+				if (z[i] < z[ci]) {
+					fi = i;
+					break;
+				}
+			}
+
+			if (fi > -1) {
+				nl[ci].style.zIndex = z[fi];
+				nl[fi].style.zIndex = z[ci];
+			} else {
+				if (z[ci] > 0)
+					nl[ci].style.zIndex = z[ci] - 1;
+			}
+		} else {
+			// Move forward
+
+			// Try find a higher one
+			for (i=0; i<z.length; i++) {
+				if (z[i] > z[ci]) {
+					fi = i;
+					break;
+				}
+			}
+
+			if (fi > -1) {
+				nl[ci].style.zIndex = z[fi];
+				nl[fi].style.zIndex = z[ci];
+			} else
+				nl[ci].style.zIndex = z[ci] + 1;
+		}
+
+		inst.repaint();
+	},
+
+	_getParentLayer : function(n) {
+		return tinyMCE.getParentNode(n, function(n) {
+			return n.nodeType == 1 && new RegExp('absolute|relative|static', 'gi').test(n.style.position);
+		});
+	},
+
+	_insertLayer : function() {
+		var inst = tinyMCE.selectedInstance;
+		var e = tinyMCE.getParentElement(inst.getFocusElement());
+		var p = tinyMCE.getAbsPosition(e);
+		var d = inst.getDoc();
+		var ne = d.createElement('div');
+		var h = inst.selection.getSelectedHTML();
+
+		// Move div
+		ne.style.position = 'absolute';
+		ne.style.left = p.absLeft + 'px';
+		ne.style.top = (p.absTop > 20 ? p.absTop : 20) + 'px';
+		ne.style.width = '100px';
+		ne.style.height = '100px';
+		ne.className = 'mceVisualAid';
+
+		if (!h)
+			h = tinyMCE.getLang('lang_layer_content');
+
+		ne.innerHTML = h;
+
+		// Add it
+		d.body.appendChild(ne);
+	},
+
+	_toggleAbsolute : function() {
+		var inst = tinyMCE.selectedInstance;
+		var le = this._getParentLayer(inst.getFocusElement());
+
+		if (le == null)
+			le = tinyMCE.getParentElement(inst.getFocusElement(), 'div,p,img');
+
+		if (le) {
+			if (le.style.position.toLowerCase() == "absolute") {
+				le.style.position = "";
+				le.style.left = "";
+				le.style.top = "";
+			} else {
+				le.style.position = "absolute";
+
+				if (le.style.left == "")
+					le.style.left = 20 + 'px';
+
+				if (le.style.top == "")
+					le.style.top = 20 + 'px';
+
+				if (le.style.width == "")
+					le.style.width = le.width ? (le.width + 'px') : '100px';
+
+				if (le.style.height == "")
+					le.style.height = le.height ? (le.height + 'px') : '100px';
+
+				tinyMCE.handleVisualAid(inst.getBody(), true, inst.visualAid, inst);
+			}
+
+			inst.repaint();
+			tinyMCE.triggerNodeChange();
+		}
+	}
+};
+
+tinyMCE.addPlugin("layer", TinyMCE_LayerPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/absolute.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/absolute.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/backward.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/backward.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/forward.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/forward.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/insert_layer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/insert_layer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/insertlayer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/insertlayer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/movebackward.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/movebackward.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/moveforward.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/images/moveforward.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,9 @@
+// UK lang variables
+
+tinyMCE.addToLang('layer',{
+insertlayer_desc : 'Insert new layer',
+forward_desc : 'Move forward',
+backward_desc : 'Move backward',
+absolute_desc : 'Toggle absolute positioning',
+content : 'New layer...'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/layer/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/css/content.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/css/content.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/css/content.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+.mceItemFlash, .mceItemShockWave, .mceItemQuickTime, .mceItemWindowsMedia, .mceItemRealMedia {
+	border: 1px dotted #cc0000;
+	background-position: center;
+	background-repeat: no-repeat;
+	background-color: #ffffcc;
+}
+
+.mceItemShockWave {
+	background-image: url('../images/shockwave.gif');
+}
+
+.mceItemFlash {
+	background-image: url('../images/flash.gif');
+}
+
+.mceItemQuickTime {
+	background-image: url('../images/quicktime.gif');
+}
+
+.mceItemWindowsMedia {
+	background-image: url('../images/windowsmedia.gif');
+}
+
+.mceItemRealMedia {
+	background-image: url('../images/realmedia.gif');
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/css/media.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/css/media.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/css/media.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,68 @@
+#id, #name, #hspace, #vspace, #class_name, #align {
+	width: 100px;
+}
+
+#hspace, #vspace {
+	width: 50px;
+}
+
+#flash_quality, #flash_align, #flash_scale, #flash_salign, #flash_wmode {
+	width: 100px;
+}
+
+#flash_base, #flash_flashvars {
+	width: 240px;
+}
+
+#width, #height {
+	width: 40px;
+}
+
+#src, #media_type {
+	width: 250px;
+}
+
+#class {
+	width: 120px;
+}
+
+#prev {
+	margin: 0;
+	border: 1px solid black;
+	width: 99%;
+	height: 230px;
+	overflow: auto;
+}
+
+.panel_wrapper div.current {
+	height: 390px;
+	overflow: auto;
+}
+
+#flash_options, #shockwave_options, #qt_options, #wmp_options, #rmp_options {
+	display: none;
+}
+
+.mceAddSelectValue {
+	background-color: #DDDDDD;
+}
+
+#qt_starttime, #qt_endtime, #qt_fov, #qt_href, #qt_moveid, #qt_moviename, #qt_node, #qt_pan, #qt_qtsrc, #qt_qtsrcchokespeed, #qt_target, #qt_tilt, #qt_urlsubstituten, #qt_volume {
+	width: 70px;
+}
+
+#wmp_balance, #wmp_baseurl, #wmp_captioningid, #wmp_currentmarker, #wmp_currentposition, #wmp_defaultframe, #wmp_playcount, #wmp_rate, #wmp_uimode, #wmp_volume {
+	width: 70px;
+}
+
+#rmp_console, #rmp_numloop, #rmp_controls, #rmp_scriptcallbacks {
+	width: 70px;
+}
+
+#shockwave_swvolume, #shockwave_swframe, #shockwave_swurl, #shockwave_swstretchvalign, #shockwave_swstretchhalign, #shockwave_swstretchstyle {
+	width: 90px;
+}
+
+#qt_qtsrc {
+	width: 200px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('media');var TinyMCE_MediaPlugin={getInfo:function(){return{longname:'Media',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_media.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){if(!tinyMCE.settings['media_skip_plugin_css'])tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/plugins/media/css/content.css")},getControlHTML:function(cn){switch(cn){case"media":return tinyMCE.getButtonHTML(cn,'lang_media_desc','{$pluginurl}/images/media.gif','mceMedia')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceMedia":tinyMCE.openWindow({file:'../../plugins/media/media.htm',width:430+tinyMCE.getLang('lang_media_delta_width',0),height:470+tinyMCE.getLang('lang_media_delta_height',0)},{editor_id:editor_id,inline:"yes"});return true}return false},cleanup:function(type,content,inst){var!
  nl,img,i,ne,d,s,ci;switch(type){case"insert_to_editor":img=tinyMCE.getParam("theme_href")+'/images/spacer.gif';content=content.replace(/<script[^>]*>\s*write(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)\(\{([^\)]*)\}\);\s*<\/script>/gi,'<img class="mceItem$1" title="$2" src="'+img+'" />');content=content.replace(/<object([^>]*)>/gi,'<div class="mceItemObject" $1>');content=content.replace(/<embed([^>]*)>/gi,'<div class="mceItemObjectEmbed" $1>');content=content.replace(/<\/(object|embed)([^>]*)>/gi,'</div>');content=content.replace(/<param([^>]*)>/gi,'<div $1 class="mceItemParam"></div>');content=content.replace(new RegExp('\\/ class="mceItemParam"><\\/div>','gi'),'class="mceItemParam"></div>');break;case"insert_to_editor_dom":d=inst.getDoc();nl=content.getElementsByTagName("img");for(i=0;i<nl.length;i++){if(/mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(nl[i].className)){nl[i].width=nl[i].title.replace(/.*width:[^0-9]?([0-9]+)%?.*/g,'$1');nl[i].heig!
 ht=nl[i].title.replace(/.*height:[^0-9]?([0-9]+)%?.*/g,'$1');}}nl=tiny
MCE.selectElements(content,'DIV',function(n){return tinyMCE.hasCSSClass(n,'mceItemObject')});for(i=0;i<nl.length;i++){ci=tinyMCE.getAttrib(nl[i],"classid").toLowerCase().replace(/\s+/g,'');switch(ci){case'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000':nl[i].parentNode.replaceChild(TinyMCE_MediaPlugin._createImg('mceItemFlash',d,nl[i]),nl[i]);break;case'clsid:166b1bca-3f9c-11cf-8075-444553540000':nl[i].parentNode.replaceChild(TinyMCE_MediaPlugin._createImg('mceItemShockWave',d,nl[i]),nl[i]);break;case'clsid:6bf52a52-394a-11d3-b153-00c04f79faa6':nl[i].parentNode.replaceChild(TinyMCE_MediaPlugin._createImg('mceItemWindowsMedia',d,nl[i]),nl[i]);break;case'clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b':nl[i].parentNode.replaceChild(TinyMCE_MediaPlugin._createImg('mceItemQuickTime',d,nl[i]),nl[i]);break;case'clsid:cfcdaa03-8be4-11cf-b84b-0020afbbccfa':case'clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95':case'clsid:05589fa1-c356-11ce-bf01-00aa0055595a':nl[i].parentNode.replaceChild(TinyMCE_M!
 ediaPlugin._createImg('mceItemRealMedia',d,nl[i]),nl[i]);break}}nl=tinyMCE.selectNodes(content,function(n){return n.className=='mceItemObjectEmbed'});for(i=0;i<nl.length;i++){switch(tinyMCE.getAttrib(nl[i],'type')){case'application/x-shockwave-flash':TinyMCE_MediaPlugin._createImgFromEmbed(nl[i],d,'mceItemFlash');break;case'application/x-director':TinyMCE_MediaPlugin._createImgFromEmbed(nl[i],d,'mceItemShockWave');break;case'application/x-mplayer2':TinyMCE_MediaPlugin._createImgFromEmbed(nl[i],d,'mceItemWindowsMedia');break;case'video/quicktime':TinyMCE_MediaPlugin._createImgFromEmbed(nl[i],d,'mceItemQuickTime');break;case'audio/x-pn-realaudio-plugin':TinyMCE_MediaPlugin._createImgFromEmbed(nl[i],d,'mceItemRealMedia');break}}break;case"get_from_editor":var startPos=-1,endPos,attribs,chunkBefore,chunkAfter,embedHTML,at,pl,cb,mt,ex;while((startPos=content.indexOf('<img',startPos+1))!=-1){endPos=content.indexOf('/>',startPos);attribs=TinyMCE_MediaPlugin._parseAttributes(conten!
 t.substring(startPos+4,endPos));if(!/mceItem(Flash|ShockWave|WindowsMe
dia|QuickTime|RealMedia)/.test(attribs['class']))continue;endPos+=2;at=attribs['title'];if(at){at=at.replace(/&#39;/g,"'");at=at.replace(/&#quot;/g,'"');try{pl=eval('x={'+at+'};')}catch(ex){pl={}}}if(!tinyMCE.getParam('media_use_script',false)){switch(attribs['class']){case'mceItemFlash':ci='d27cdb6e-ae6d-11cf-96b8-444553540000';cb='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0';mt='application/x-shockwave-flash';break;case'mceItemShockWave':ci='166B1BCA-3F9C-11CF-8075-444553540000';cb='http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0';mt='application/x-director';break;case'mceItemWindowsMedia':ci=tinyMCE.getParam('media_wmp6_compatible')?'05589FA1-C356-11CE-BF01-00AA0055595A':'6BF52A52-394A-11D3-B153-00C04F79FAA6';cb='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701';mt='application/x-mplayer2';break;case'mceItemQuickTime':ci='02BF25D5-8C17-4B23-BC80-D3488ABDDC6B'!
 ;cb='http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0';mt='video/quicktime';break;case'mceItemRealMedia':ci='CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA';cb='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0';mt='audio/x-pn-realaudio-plugin';break}if(!tinyMCE.getParam("relative_urls"))pl.src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],pl.src);embedHTML=TinyMCE_MediaPlugin._getEmbed(ci,cb,mt,pl,attribs)}else{switch(attribs['class']){case'mceItemFlash':s='writeFlash';break;case'mceItemShockWave':s='writeShockWave';break;case'mceItemWindowsMedia':s='writeWindowsMedia';break;case'mceItemQuickTime':s='writeQuickTime';break;case'mceItemRealMedia':s='writeRealMedia';break}if(attribs.width)at=at.replace(/width:[^0-9]?[0-9]+%?[^0-9]?/g,"width:'"+attribs.width+"'");if(attribs.height)at=at.replace(/height:[^0-9]?[0-9]+%?[^0-9]?/g,"height:'"+attribs.height+"'");if(!tinyMCE.getParam("relative_urls")){pl.src=tinyMCE.convertRel!
 ativeToAbsoluteURL(tinyMCE.settings['base_href'],pl.src);at=at.replace
(new RegExp("src:'[^']*'","g"),"src:'"+pl.src+"'")}embedHTML='<script type="text/javascript">'+s+'({'+at+'});</script>'}chunkBefore=content.substring(0,startPos);chunkAfter=content.substring(endPos);content=chunkBefore+embedHTML+chunkAfter}break}return content},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node==null)return;do{if(node.nodeName=="IMG"&&/mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(tinyMCE.getAttrib(node,'class'))){tinyMCE.switchClass(editor_id+'_media','mceButtonSelected');return true}}while((node=node.parentNode));tinyMCE.switchClass(editor_id+'_media','mceButtonNormal');return true},_createImgFromEmbed:function(n,d,cl){var ne,at,i,ti='',an;ne=d.createElement('img');ne.src=tinyMCE.getParam("theme_href")+'/images/spacer.gif';ne.width=tinyMCE.getAttrib(n,'width');ne.height=tinyMCE.getAttrib(n,'height');ne.className=cl;at=n.attributes;for(i=0;i<at.length;i++){if(at[i].specified&&at[i].nodeValue){!
 an=at[i].nodeName.toLowerCase();if(an=='src')continue;if(an=='mce_src')an='src';if(an.indexOf('mce_')==-1&&!new RegExp('^(class|type)$').test(an))ti+=an.toLowerCase()+':\''+at[i].nodeValue+"',"}}ti=ti.length>0?ti.substring(0,ti.length-1):ti;ne.title=ti;n.parentNode.replaceChild(ne,n)},_createImg:function(cl,d,n){var i,nl,ti="",an,av,al=new Array();ne=d.createElement('img');ne.src=tinyMCE.getParam("theme_href")+'/images/spacer.gif';ne.width=tinyMCE.getAttrib(n,'width');ne.height=tinyMCE.getAttrib(n,'height');ne.className=cl;al.id=tinyMCE.getAttrib(n,'id');al.name=tinyMCE.getAttrib(n,'name');al.width=tinyMCE.getAttrib(n,'width');al.height=tinyMCE.getAttrib(n,'height');al.bgcolor=tinyMCE.getAttrib(n,'bgcolor');al.align=tinyMCE.getAttrib(n,'align');al.class_name=tinyMCE.getAttrib(n,'mce_class');nl=n.getElementsByTagName('div');for(i=0;i<nl.length;i++){av=tinyMCE.getAttrib(nl[i],'value');av=av.replace(new RegExp('\\\\','g'),'\\\\');av=av.replace(new RegExp('"','g'),'\\"');av=av.!
 replace(new RegExp("'",'g'),"\\'");an=tinyMCE.getAttrib(nl[i],'name');
al[an]=av}if(al.movie){al.src=al.movie;al.movie=null}for(an in al){if(al[an]!=null&&typeof(al[an])!="function"&&al[an]!='')ti+=an.toLowerCase()+':\''+al[an]+"',"}ti=ti.length>0?ti.substring(0,ti.length-1):ti;ne.title=ti;return ne},_getEmbed:function(cls,cb,mt,p,at){var h='',n;p.width=at.width?at.width:p.width;p.height=at.height?at.height:p.height;h+='<object classid="clsid:'+cls+'" codebase="'+cb+'"';h+=typeof(p.id)!="undefined"?' id="'+p.id+'"':'';h+=typeof(p.name)!="undefined"?' name="'+p.name+'"':'';h+=typeof(p.width)!="undefined"?' width="'+p.width+'"':'';h+=typeof(p.height)!="undefined"?' height="'+p.height+'"':'';h+=typeof(p.align)!="undefined"?' align="'+p.align+'"':'';h+='>';for(n in p){if(p[n]&&typeof(p[n])!="function"){h+='<param name="'+n+'" value="'+p[n]+'" />';if(n=='src'&&p[n].indexOf('://')!=-1&&mt=='application/x-mplayer2')h+='<param name="url" value="'+p[n]+'" />'}}h+='<embed type="'+mt+'"';for(n in p){if(typeof(p[n])=="function")continue;if(!(n=='url'&&mt==!
 'application/x-mplayer2'))h+=' '+n+'="'+p[n]+'"'}h+='></embed></object>';return h},_parseAttributes:function(attribute_string){var attributeName="";var attributeValue="";var withInName;var withInValue;var attributes=new Array();var whiteSpaceRegExp=new RegExp('^[ \n\r\t]+','g');if(attribute_string==null||attribute_string.length<2)return null;withInName=withInValue=false;for(var i=0;i<attribute_string.length;i++){var chr=attribute_string.charAt(i);if((chr=='"'||chr=="'")&&!withInValue)withInValue=true;else if((chr=='"'||chr=="'")&&withInValue){withInValue=false;var pos=attributeName.lastIndexOf(' ');if(pos!=-1)attributeName=attributeName.substring(pos+1);attributes[attributeName.toLowerCase()]=attributeValue.substring(1);attributeName="";attributeValue=""}else if(!whiteSpaceRegExp.test(chr)&&!withInName&&!withInValue)withInName=true;if(chr=='='&&withInName)withInName=false;if(withInName)attributeName+=chr;if(withInValue)attributeValue+=chr}return attributes}};tinyMCE.addPlug!
 in("media",TinyMCE_MediaPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,428 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('media');
+
+var TinyMCE_MediaPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Media',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_media.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		if (!tinyMCE.settings['media_skip_plugin_css'])
+			tinyMCE.importCSS(inst.getDoc(), tinyMCE.baseURL + "/plugins/media/css/content.css");
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "media":
+				return tinyMCE.getButtonHTML(cn, 'lang_media_desc', '{$pluginurl}/images/media.gif', 'mceMedia');
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceMedia":
+				tinyMCE.openWindow({
+						file : '../../plugins/media/media.htm',
+						width : 430 + tinyMCE.getLang('lang_media_delta_width', 0),
+						height : 470 + tinyMCE.getLang('lang_media_delta_height', 0)
+					}, {
+						editor_id : editor_id,
+						inline : "yes"
+				});
+
+				return true;
+	   }
+
+	   // Pass to next handler in chain
+	   return false;
+	},
+
+	cleanup : function(type, content, inst) {
+		var nl, img, i, ne, d, s, ci;
+
+		switch (type) {
+			case "insert_to_editor":
+				img = tinyMCE.getParam("theme_href") + '/images/spacer.gif';
+				content = content.replace(/<script[^>]*>\s*write(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)\(\{([^\)]*)\}\);\s*<\/script>/gi, '<img class="mceItem$1" title="$2" src="' + img + '" />');
+				content = content.replace(/<object([^>]*)>/gi, '<div class="mceItemObject" $1>');
+				content = content.replace(/<embed([^>]*)>/gi, '<div class="mceItemObjectEmbed" $1>');
+				content = content.replace(/<\/(object|embed)([^>]*)>/gi, '</div>');
+				content = content.replace(/<param([^>]*)>/gi, '<div $1 class="mceItemParam"></div>');
+				content = content.replace(new RegExp('\\/ class="mceItemParam"><\\/div>', 'gi'), 'class="mceItemParam"></div>');
+				break;
+
+			case "insert_to_editor_dom":
+				d = inst.getDoc();
+				nl = content.getElementsByTagName("img");
+				for (i=0; i<nl.length; i++) {
+					if (/mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(nl[i].className)) {
+						nl[i].width = nl[i].title.replace(/.*width:[^0-9]?([0-9]+)%?.*/g, '$1');
+						nl[i].height = nl[i].title.replace(/.*height:[^0-9]?([0-9]+)%?.*/g, '$1');
+						//nl[i].align = nl[i].title.replace(/.*align:([a-z]+).*/gi, '$1');
+					}
+				}
+
+				nl = tinyMCE.selectElements(content, 'DIV', function (n) {return tinyMCE.hasCSSClass(n, 'mceItemObject');});
+				for (i=0; i<nl.length; i++) {
+					ci = tinyMCE.getAttrib(nl[i], "classid").toLowerCase().replace(/\s+/g, '');
+
+					switch (ci) {
+						case 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000':
+							nl[i].parentNode.replaceChild(TinyMCE_MediaPlugin._createImg('mceItemFlash', d, nl[i]), nl[i]);
+							break;
+
+						case 'clsid:166b1bca-3f9c-11cf-8075-444553540000':
+							nl[i].parentNode.replaceChild(TinyMCE_MediaPlugin._createImg('mceItemShockWave', d, nl[i]), nl[i]);
+							break;
+
+						case 'clsid:6bf52a52-394a-11d3-b153-00c04f79faa6':
+							nl[i].parentNode.replaceChild(TinyMCE_MediaPlugin._createImg('mceItemWindowsMedia', d, nl[i]), nl[i]);
+							break;
+
+						case 'clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b':
+							nl[i].parentNode.replaceChild(TinyMCE_MediaPlugin._createImg('mceItemQuickTime', d, nl[i]), nl[i]);
+							break;
+
+						case 'clsid:cfcdaa03-8be4-11cf-b84b-0020afbbccfa':
+						case 'clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95':
+						case 'clsid:05589fa1-c356-11ce-bf01-00aa0055595a':
+							nl[i].parentNode.replaceChild(TinyMCE_MediaPlugin._createImg('mceItemRealMedia', d, nl[i]), nl[i]);
+							break;
+					}
+				}
+
+				// Handle embed (if any)
+				nl = tinyMCE.selectNodes(content, function (n) {return n.className == 'mceItemObjectEmbed';});
+				for (i=0; i<nl.length; i++) {
+					switch (tinyMCE.getAttrib(nl[i], 'type')) {
+						case 'application/x-shockwave-flash':
+							TinyMCE_MediaPlugin._createImgFromEmbed(nl[i], d, 'mceItemFlash');
+							break;
+
+						case 'application/x-director':
+							TinyMCE_MediaPlugin._createImgFromEmbed(nl[i], d, 'mceItemShockWave');
+							break;
+
+						case 'application/x-mplayer2':
+							TinyMCE_MediaPlugin._createImgFromEmbed(nl[i], d, 'mceItemWindowsMedia');
+							break;
+
+						case 'video/quicktime':
+							TinyMCE_MediaPlugin._createImgFromEmbed(nl[i], d, 'mceItemQuickTime');
+							break;
+
+						case 'audio/x-pn-realaudio-plugin':
+							TinyMCE_MediaPlugin._createImgFromEmbed(nl[i], d, 'mceItemRealMedia');
+							break;
+					}
+				}
+				break;
+
+			case "get_from_editor":
+				var startPos = -1, endPos, attribs, chunkBefore, chunkAfter, embedHTML, at, pl, cb, mt, ex;
+
+				while ((startPos = content.indexOf('<img', startPos+1)) != -1) {
+					endPos = content.indexOf('/>', startPos);
+					attribs = TinyMCE_MediaPlugin._parseAttributes(content.substring(startPos + 4, endPos));
+
+					// Is not flash, skip it
+					if (!/mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(attribs['class']))
+						continue;
+
+					endPos += 2;
+
+					// Parse attributes
+					at = attribs['title'];
+					if (at) {
+						at = at.replace(/&#39;/g, "'");
+						at = at.replace(/&#quot;/g, '"');
+
+						try {
+							pl = eval('x={' + at + '};');
+						} catch (ex) {
+							pl = {};
+						}
+					}
+
+					// Use object/embed
+					if (!tinyMCE.getParam('media_use_script', false)) {
+						switch (attribs['class']) {
+							case 'mceItemFlash':
+								ci = 'd27cdb6e-ae6d-11cf-96b8-444553540000';
+								cb = 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0';
+								mt = 'application/x-shockwave-flash';
+								break;
+
+							case 'mceItemShockWave':
+								ci = '166B1BCA-3F9C-11CF-8075-444553540000';
+								cb = 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0';
+								mt = 'application/x-director';
+								break;
+
+							case 'mceItemWindowsMedia':
+								ci = tinyMCE.getParam('media_wmp6_compatible') ? '05589FA1-C356-11CE-BF01-00AA0055595A' : '6BF52A52-394A-11D3-B153-00C04F79FAA6';
+								cb = 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701';
+								mt = 'application/x-mplayer2';
+								break;
+
+							case 'mceItemQuickTime':
+								ci = '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B';
+								cb = 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0';
+								mt = 'video/quicktime';
+								break;
+
+							case 'mceItemRealMedia':
+								ci = 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA';
+								cb = 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0';
+								mt = 'audio/x-pn-realaudio-plugin';
+								break;
+						}
+
+						// Force absolute URL
+						if (!tinyMCE.getParam("relative_urls"))
+							pl.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], pl.src);
+
+						embedHTML = TinyMCE_MediaPlugin._getEmbed(ci, cb, mt, pl, attribs);
+					} else {
+						// Use script version
+						switch (attribs['class']) {
+							case 'mceItemFlash':
+								s = 'writeFlash';
+								break;
+
+							case 'mceItemShockWave':
+								s = 'writeShockWave';
+								break;
+
+							case 'mceItemWindowsMedia':
+								s = 'writeWindowsMedia';
+								break;
+
+							case 'mceItemQuickTime':
+								s = 'writeQuickTime';
+								break;
+
+							case 'mceItemRealMedia':
+								s = 'writeRealMedia';
+								break;
+						}
+
+						if (attribs.width)
+							at = at.replace(/width:[^0-9]?[0-9]+%?[^0-9]?/g, "width:'" + attribs.width + "'");
+
+						if (attribs.height)
+							at = at.replace(/height:[^0-9]?[0-9]+%?[^0-9]?/g, "height:'" + attribs.height + "'");
+
+						// Force absolute URL
+						if (!tinyMCE.getParam("relative_urls")) {
+							pl.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], pl.src);
+							at = at.replace(new RegExp("src:'[^']*'", "g"), "src:'" + pl.src + "'");
+						}
+
+						embedHTML = '<script type="text/javascript">' + s + '({' + at + '});</script>';
+					}
+
+					// Insert embed/object chunk
+					chunkBefore = content.substring(0, startPos);
+					chunkAfter = content.substring(endPos);
+					content = chunkBefore + embedHTML + chunkAfter;
+				}
+				break;
+		}
+
+		return content;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		if (node == null)
+			return;
+
+		do {
+			if (node.nodeName == "IMG" && /mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(tinyMCE.getAttrib(node, 'class'))) {
+				tinyMCE.switchClass(editor_id + '_media', 'mceButtonSelected');
+				return true;
+			}
+		} while ((node = node.parentNode));
+
+		tinyMCE.switchClass(editor_id + '_media', 'mceButtonNormal');
+
+		return true;
+	},
+
+	_createImgFromEmbed : function(n, d, cl) {
+		var ne, at, i, ti = '', an;
+
+		ne = d.createElement('img');
+		ne.src = tinyMCE.getParam("theme_href") + '/images/spacer.gif';
+		ne.width = tinyMCE.getAttrib(n, 'width');
+		ne.height = tinyMCE.getAttrib(n, 'height');
+		ne.className = cl;
+
+		at = n.attributes;
+		for (i=0; i<at.length; i++) {
+			if (at[i].specified && at[i].nodeValue) {
+				an = at[i].nodeName.toLowerCase();
+
+				if (an == 'src')
+					continue;
+
+				if (an == 'mce_src')
+					an = 'src';
+
+				if (an.indexOf('mce_') == -1 && !new RegExp('^(class|type)$').test(an))
+					ti += an.toLowerCase() + ':\'' + at[i].nodeValue + "',";
+			}
+		}
+
+		ti = ti.length > 0 ? ti.substring(0, ti.length - 1) : ti;
+		ne.title = ti;
+
+		n.parentNode.replaceChild(ne, n);
+	},
+
+	_createImg : function(cl, d, n) {
+		var i, nl, ti = "", an, av, al = new Array();
+
+		ne = d.createElement('img');
+		ne.src = tinyMCE.getParam("theme_href") + '/images/spacer.gif';
+		ne.width = tinyMCE.getAttrib(n, 'width');
+		ne.height = tinyMCE.getAttrib(n, 'height');
+		ne.className = cl;
+
+		al.id = tinyMCE.getAttrib(n, 'id');
+		al.name = tinyMCE.getAttrib(n, 'name');
+		al.width = tinyMCE.getAttrib(n, 'width');
+		al.height = tinyMCE.getAttrib(n, 'height');
+		al.bgcolor = tinyMCE.getAttrib(n, 'bgcolor');
+		al.align = tinyMCE.getAttrib(n, 'align');
+		al.class_name = tinyMCE.getAttrib(n, 'mce_class');
+
+		nl = n.getElementsByTagName('div');
+		for (i=0; i<nl.length; i++) {
+			av = tinyMCE.getAttrib(nl[i], 'value');
+			av = av.replace(new RegExp('\\\\', 'g'), '\\\\');
+			av = av.replace(new RegExp('"', 'g'), '\\"');
+			av = av.replace(new RegExp("'", 'g'), "\\'");
+			an = tinyMCE.getAttrib(nl[i], 'name');
+			al[an] = av;
+		}
+
+		if (al.movie) {
+			al.src = al.movie;
+			al.movie = null;
+		}
+
+		for (an in al) {
+			if (al[an] != null && typeof(al[an]) != "function" && al[an] != '')
+				ti += an.toLowerCase() + ':\'' + al[an] + "',";
+		}
+
+		ti = ti.length > 0 ? ti.substring(0, ti.length - 1) : ti;
+		ne.title = ti;
+
+		return ne;
+	},
+
+	_getEmbed : function(cls, cb, mt, p, at) {
+		var h = '', n;
+
+		p.width = at.width ? at.width : p.width;
+		p.height = at.height ? at.height : p.height;
+
+		h += '<object classid="clsid:' + cls + '" codebase="' + cb + '"';
+		h += typeof(p.id) != "undefined" ? ' id="' + p.id + '"' : '';
+		h += typeof(p.name) != "undefined" ? ' name="' + p.name + '"' : '';
+		h += typeof(p.width) != "undefined" ? ' width="' + p.width + '"' : '';
+		h += typeof(p.height) != "undefined" ? ' height="' + p.height + '"' : '';
+		h += typeof(p.align) != "undefined" ? ' align="' + p.align + '"' : '';
+		h += '>';
+
+		for (n in p) {
+			if (p[n] && typeof(p[n]) != "function") {
+				h += '<param name="' + n + '" value="' + p[n] + '" />';
+
+				// Add extra url parameter if it's an absolute URL on WMP
+				if (n == 'src' && p[n].indexOf('://') != -1 && mt == 'application/x-mplayer2')
+					h += '<param name="url" value="' + p[n] + '" />';
+			}
+		}
+
+		h += '<embed type="' + mt + '"';
+
+		for (n in p) {
+			if (typeof(p[n]) == "function")
+				continue;
+
+			// Skip url parameter for embed tag on WMP
+			if (!(n == 'url' && mt == 'application/x-mplayer2'))
+				h += ' ' + n + '="' + p[n] + '"';
+		}
+
+		h += '></embed></object>';
+
+		return h;
+	},
+
+	_parseAttributes : function(attribute_string) {
+		var attributeName = "";
+		var attributeValue = "";
+		var withInName;
+		var withInValue;
+		var attributes = new Array();
+		var whiteSpaceRegExp = new RegExp('^[ \n\r\t]+', 'g');
+
+		if (attribute_string == null || attribute_string.length < 2)
+			return null;
+
+		withInName = withInValue = false;
+
+		for (var i=0; i<attribute_string.length; i++) {
+			var chr = attribute_string.charAt(i);
+
+			if ((chr == '"' || chr == "'") && !withInValue)
+				withInValue = true;
+			else if ((chr == '"' || chr == "'") && withInValue) {
+				withInValue = false;
+
+				var pos = attributeName.lastIndexOf(' ');
+				if (pos != -1)
+					attributeName = attributeName.substring(pos+1);
+
+				attributes[attributeName.toLowerCase()] = attributeValue.substring(1);
+
+				attributeName = "";
+				attributeValue = "";
+			} else if (!whiteSpaceRegExp.test(chr) && !withInName && !withInValue)
+				withInName = true;
+
+			if (chr == '=' && withInName)
+				withInName = false;
+
+			if (withInName)
+				attributeName += chr;
+
+			if (withInValue)
+				attributeValue += chr;
+		}
+
+		return attributes;
+	}
+};
+
+tinyMCE.addPlugin("media", TinyMCE_MediaPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/flash.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/flash.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/media.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/media.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/quicktime.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/quicktime.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/realmedia.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/realmedia.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/shockwave.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/shockwave.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/windowsmedia.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/images/windowsmedia.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/jscripts/embed.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/jscripts/embed.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/jscripts/embed.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,73 @@
+/**
+ * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose.
+ */
+
+function writeFlash(p) {
+	writeEmbed(
+		'D27CDB6E-AE6D-11cf-96B8-444553540000',
+		'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
+		'application/x-shockwave-flash',
+		p
+	);
+}
+
+function writeShockWave(p) {
+	writeEmbed(
+	'166B1BCA-3F9C-11CF-8075-444553540000',
+	'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0',
+	'application/x-director',
+		p
+	);
+}
+
+function writeQuickTime(p) {
+	writeEmbed(
+		'02BF25D5-8C17-4B23-BC80-D3488ABDDC6B',
+		'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0',
+		'video/quicktime',
+		p
+	);
+}
+
+function writeRealMedia(p) {
+	writeEmbed(
+		'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA',
+		'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
+		'audio/x-pn-realaudio-plugin',
+		p
+	);
+}
+
+function writeWindowsMedia(p) {
+	p.url = p.src;
+	writeEmbed(
+		'6BF52A52-394A-11D3-B153-00C04F79FAA6',
+		'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701',
+		'application/x-mplayer2',
+		p
+	);
+}
+
+function writeEmbed(cls, cb, mt, p) {
+	var h = '', n;
+
+	h += '<object classid="clsid:' + cls + '" codebase="' + cb + '"';
+	h += typeof(p.id) != "undefined" ? 'id="' + p.id + '"' : '';
+	h += typeof(p.name) != "undefined" ? 'name="' + p.name + '"' : '';
+	h += typeof(p.width) != "undefined" ? 'width="' + p.width + '"' : '';
+	h += typeof(p.height) != "undefined" ? 'height="' + p.height + '"' : '';
+	h += typeof(p.align) != "undefined" ? 'align="' + p.align + '"' : '';
+	h += '>';
+
+	for (n in p)
+		h += '<param name="' + n + '" value="' + p[n] + '">';
+
+	h += '<embed type="' + mt + '"';
+
+	for (n in p)
+		h += n + '="' + p[n] + '" ';
+
+	h += '></embed></object>';
+
+	document.write(h);
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/jscripts/media.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/jscripts/media.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/jscripts/media.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,572 @@
+var oldWidth, oldHeight;
+var url = tinyMCE.getParam("media_external_list_url");
+if (url != null) {
+	// Fix relative
+	if (url.charAt(0) != '/' && url.indexOf('://') == -1)
+		url = tinyMCE.documentBasePath + "/" + url;
+
+	document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></sc'+'ript>');
+}
+
+function init() {
+	var pl = "", f, val;
+	var type = "flash", fe, i;
+
+	tinyMCEPopup.resizeToInnerSize();
+	f = document.forms[0]
+
+	fe = tinyMCE.selectedInstance.getFocusElement();
+	if (/mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(tinyMCE.getAttrib(fe, 'class'))) {
+		pl = "x={" + fe.title + "};";
+
+		switch (tinyMCE.getAttrib(fe, 'class')) {
+			case 'mceItemFlash':
+				type = 'flash';
+				break;
+
+			case 'mceItemShockWave':
+				type = 'shockwave';
+				break;
+
+			case 'mceItemWindowsMedia':
+				type = 'wmp';
+				break;
+
+			case 'mceItemQuickTime':
+				type = 'qt';
+				break;
+
+			case 'mceItemRealMedia':
+				type = 'rmp';
+				break;
+		}
+
+		document.forms[0].insert.value = tinyMCE.getLang('lang_update', 'Insert', true); 
+	}
+
+	document.getElementById('filebrowsercontainer').innerHTML = getBrowserHTML('filebrowser','src','media','media');
+	document.getElementById('qtsrcfilebrowsercontainer').innerHTML = getBrowserHTML('qtsrcfilebrowser','qt_qtsrc','media','media');
+	document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
+
+	var html = getMediaListHTML('filebrowser','src','media','media');
+	if (html == "")
+		document.getElementById("linklistrow").style.display = 'none';
+	else
+		document.getElementById("linklistcontainer").innerHTML = html;
+
+	// Resize some elements
+	if (isVisible('filebrowsercontainer'))
+		document.getElementById('src').style.width = '230px';
+
+	// Setup form
+	if (pl != "") {
+		pl = eval(pl);
+
+		switch (type) {
+			case "flash":
+				setBool(pl, 'flash', 'play');
+				setBool(pl, 'flash', 'loop');
+				setBool(pl, 'flash', 'menu');
+				setBool(pl, 'flash', 'swliveconnect');
+				setStr(pl, 'flash', 'quality');
+				setStr(pl, 'flash', 'scale');
+				setStr(pl, 'flash', 'salign');
+				setStr(pl, 'flash', 'wmode');
+				setStr(pl, 'flash', 'base');
+				setStr(pl, 'flash', 'flashvars');
+			break;
+
+			case "qt":
+				setBool(pl, 'qt', 'loop');
+				setBool(pl, 'qt', 'autoplay');
+				setBool(pl, 'qt', 'cache');
+				setBool(pl, 'qt', 'controller');
+				setBool(pl, 'qt', 'correction');
+				setBool(pl, 'qt', 'enablejavascript');
+				setBool(pl, 'qt', 'kioskmode');
+				setBool(pl, 'qt', 'autohref');
+				setBool(pl, 'qt', 'playeveryframe');
+				setBool(pl, 'qt', 'tarsetcache');
+				setStr(pl, 'qt', 'scale');
+				setStr(pl, 'qt', 'starttime');
+				setStr(pl, 'qt', 'endtime');
+				setStr(pl, 'qt', 'tarset');
+				setStr(pl, 'qt', 'qtsrcchokespeed');
+				setStr(pl, 'qt', 'volume');
+				setStr(pl, 'qt', 'qtsrc');
+			break;
+
+			case "shockwave":
+				setBool(pl, 'shockwave', 'sound');
+				setBool(pl, 'shockwave', 'progress');
+				setBool(pl, 'shockwave', 'autostart');
+				setBool(pl, 'shockwave', 'swliveconnect');
+				setStr(pl, 'shockwave', 'swvolume');
+				setStr(pl, 'shockwave', 'swstretchstyle');
+				setStr(pl, 'shockwave', 'swstretchhalign');
+				setStr(pl, 'shockwave', 'swstretchvalign');
+			break;
+
+			case "wmp":
+				setBool(pl, 'wmp', 'autostart');
+				setBool(pl, 'wmp', 'enabled');
+				setBool(pl, 'wmp', 'enablecontextmenu');
+				setBool(pl, 'wmp', 'fullscreen');
+				setBool(pl, 'wmp', 'invokeurls');
+				setBool(pl, 'wmp', 'mute');
+				setBool(pl, 'wmp', 'stretchtofit');
+				setBool(pl, 'wmp', 'windowlessvideo');
+				setStr(pl, 'wmp', 'balance');
+				setStr(pl, 'wmp', 'baseurl');
+				setStr(pl, 'wmp', 'captioningid');
+				setStr(pl, 'wmp', 'currentmarker');
+				setStr(pl, 'wmp', 'currentposition');
+				setStr(pl, 'wmp', 'defaultframe');
+				setStr(pl, 'wmp', 'playcount');
+				setStr(pl, 'wmp', 'rate');
+				setStr(pl, 'wmp', 'uimode');
+				setStr(pl, 'wmp', 'volume');
+			break;
+
+			case "rmp":
+				setBool(pl, 'rmp', 'autostart');
+				setBool(pl, 'rmp', 'loop');
+				setBool(pl, 'rmp', 'autogotourl');
+				setBool(pl, 'rmp', 'center');
+				setBool(pl, 'rmp', 'imagestatus');
+				setBool(pl, 'rmp', 'maintainaspect');
+				setBool(pl, 'rmp', 'nojava');
+				setBool(pl, 'rmp', 'prefetch');
+				setBool(pl, 'rmp', 'shuffle');
+				setStr(pl, 'rmp', 'console');
+				setStr(pl, 'rmp', 'controls');
+				setStr(pl, 'rmp', 'numloop');
+				setStr(pl, 'rmp', 'scriptcallbacks');
+			break;
+		}
+
+		setStr(pl, null, 'src');
+		setStr(pl, null, 'id');
+		setStr(pl, null, 'name');
+		setStr(pl, null, 'vspace');
+		setStr(pl, null, 'hspace');
+		setStr(pl, null, 'bgcolor');
+		setStr(pl, null, 'align');
+		setStr(pl, null, 'width');
+		setStr(pl, null, 'height');
+
+		if ((val = tinyMCE.getAttrib(fe, "width")) != "")
+			pl.width = f.width.value = val;
+
+		if ((val = tinyMCE.getAttrib(fe, "height")) != "")
+			pl.height = f.height.value = val;
+
+		oldWidth = pl.width ? parseInt(pl.width) : 0;
+		oldHeight = pl.height ? parseInt(pl.height) : 0;
+	} else
+		oldWidth = oldHeight = 0;
+
+	selectByValue(f, 'media_type', type);
+	changedType(type);
+	updateColor('bgcolor_pick', 'bgcolor');
+
+	TinyMCE_EditableSelects.init();
+	generatePreview();
+}
+
+function insertMedia() {
+	var fe, f = document.forms[0], h;
+
+	if (!AutoValidator.validate(f)) {
+		alert(tinyMCE.getLang('lang_invalid_data'));
+		return false;
+	}
+
+	f.width.value = f.width.value == "" ? 100 : f.width.value;
+	f.height.value = f.height.value == "" ? 100 : f.height.value;
+
+	fe = tinyMCE.selectedInstance.getFocusElement();
+	if (fe != null && /mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(tinyMCE.getAttrib(fe, 'class'))) {
+		switch (f.media_type.options[f.media_type.selectedIndex].value) {
+			case "flash":
+				fe.className = "mceItemFlash";
+				break;
+
+			case "shockwave":
+				fe.className = "mceItemShockWave";
+				break;
+
+			case "qt":
+				fe.className = "mceItemQuickTime";
+				break;
+
+			case "wmp":
+				fe.className = "mceItemWindowsMedia";
+				break;
+
+			case "rmp":
+				fe.className = "mceItemRealMedia";
+				break;
+		}
+
+		if (fe.width != f.width.value || fe.height != f.width.height)
+			tinyMCE.selectedInstance.repaint();
+
+		fe.title = serializeParameters();
+		fe.width = f.width.value;
+		fe.height = f.height.value;
+		fe.style.width = f.width.value + (f.width.value.indexOf('%') == -1 ? 'px' : '');
+		fe.style.height = f.height.value + (f.height.value.indexOf('%') == -1 ? 'px' : '');
+		fe.align = f.align.options[f.align.selectedIndex].value;
+	} else {
+		h = '<img src="' + tinyMCE.getParam("theme_href") + '/images/spacer.gif"' ;
+
+		switch (f.media_type.options[f.media_type.selectedIndex].value) {
+			case "flash":
+				h += ' class="mceItemFlash"';
+				break;
+
+			case "shockwave":
+				h += ' class="mceItemShockWave"';
+				break;
+
+			case "qt":
+				h += ' class="mceItemQuickTime"';
+				break;
+
+			case "wmp":
+				h += ' class="mceItemWindowsMedia"';
+				break;
+
+			case "rmp":
+				h += ' class="mceItemRealMedia"';
+				break;
+		}
+
+		h += ' title="' + serializeParameters() + '"';
+		h += ' width="' + f.width.value + '"';
+		h += ' height="' + f.height.value + '"';
+		h += ' align="' + f.align.options[f.align.selectedIndex].value + '"';
+
+		h += ' />';
+
+		tinyMCE.selectedInstance.execCommand('mceInsertContent', false, h);
+	}
+
+	tinyMCEPopup.close();
+}
+
+function getMediaListHTML() {
+	if (typeof(tinyMCEMediaList) != "undefined" && tinyMCEMediaList.length > 0) {
+		var html = "";
+
+		html += '<select id="linklist" name="linklist" style="width: 250px" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.src.value=this.options[this.selectedIndex].value;">';
+		html += '<option value="">---</option>';
+
+		for (var i=0; i<tinyMCEMediaList.length; i++)
+			html += '<option value="' + tinyMCEMediaList[i][1] + '">' + tinyMCEMediaList[i][0] + '</option>';
+
+		html += '</select>';
+
+		return html;
+	}
+
+	return "";
+}
+
+function getType(v) {
+	var fo = tinyMCE.getParam("media_types", "flash=swf;shockwave=dcr;qt=mov,qt,mpg,mp3,mp4,mpeg;shockwave=dcr;wmp=avi,wmv,wm,asf,asx,wmx,wvx;rmp=rm,ra,ram").split(';'), i, c, el, x;
+
+	for (i=0; i<fo.length; i++) {
+		c = fo[i].split('=');
+
+		el = c[1].split(',');
+		for (x=0; x<el.length; x++)
+		if (v.indexOf('.' + el[x]) != -1)
+			return c[0];
+	}
+
+	return null;
+}
+
+function switchType(v) {
+	var t = getType(v), d = document, f = d.forms[0];
+
+	if (!t)
+		return;
+
+	selectByValue(d.forms[0], 'media_type', t);
+	changedType(t);
+
+	// Update qtsrc also
+	if (t == 'qt' && f.src.value.toLowerCase().indexOf('rtsp://') != -1) {
+		alert(tinyMCE.getLang("lang_media_qt_stream_warn"));
+
+		if (f.qt_qtsrc.value == '')
+			f.qt_qtsrc.value = f.src.value;
+	}
+}
+
+function changedType(t) {
+	var d = document;
+
+	d.getElementById('flash_options').style.display = 'none';
+	d.getElementById('qt_options').style.display = 'none';
+	d.getElementById('shockwave_options').style.display = 'none';
+	d.getElementById('wmp_options').style.display = 'none';
+	d.getElementById('rmp_options').style.display = 'none';
+	d.getElementById(t + '_options').style.display = 'block';
+}
+
+function serializeParameters() {
+	var d = document, f = d.forms[0], s = '';
+
+	switch (f.media_type.options[f.media_type.selectedIndex].value) {
+		case "flash":
+			s += getBool('flash', 'play', true);
+			s += getBool('flash', 'loop', true);
+			s += getBool('flash', 'menu', true);
+			s += getBool('flash', 'swliveconnect', false);
+			s += getStr('flash', 'quality');
+			s += getStr('flash', 'scale');
+			s += getStr('flash', 'salign');
+			s += getStr('flash', 'wmode');
+			s += getStr('flash', 'base');
+			s += getStr('flash', 'flashvars');
+		break;
+
+		case "qt":
+			s += getBool('qt', 'loop', false);
+			s += getBool('qt', 'autoplay', false);
+			s += getBool('qt', 'cache', false);
+			s += getBool('qt', 'controller', true);
+			s += getBool('qt', 'correction', false, 'none', 'full');
+			s += getBool('qt', 'enablejavascript', false);
+			s += getBool('qt', 'kioskmode', false);
+			s += getBool('qt', 'autohref', false);
+			s += getBool('qt', 'playeveryframe', false);
+			s += getBool('qt', 'targetcache', false);
+			s += getStr('qt', 'scale');
+			s += getStr('qt', 'starttime');
+			s += getStr('qt', 'endtime');
+			s += getStr('qt', 'target');
+			s += getStr('qt', 'qtsrcchokespeed');
+			s += getStr('qt', 'volume');
+			s += getStr('qt', 'qtsrc');
+		break;
+
+		case "shockwave":
+			s += getBool('shockwave', 'sound');
+			s += getBool('shockwave', 'progress');
+			s += getBool('shockwave', 'autostart');
+			s += getBool('shockwave', 'swliveconnect');
+			s += getStr('shockwave', 'swvolume');
+			s += getStr('shockwave', 'swstretchstyle');
+			s += getStr('shockwave', 'swstretchhalign');
+			s += getStr('shockwave', 'swstretchvalign');
+		break;
+
+		case "wmp":
+			s += getBool('wmp', 'autostart', true);
+			s += getBool('wmp', 'enabled', false);
+			s += getBool('wmp', 'enablecontextmenu', true);
+			s += getBool('wmp', 'fullscreen', false);
+			s += getBool('wmp', 'invokeurls', true);
+			s += getBool('wmp', 'mute', false);
+			s += getBool('wmp', 'stretchtofit', false);
+			s += getBool('wmp', 'windowlessvideo', false);
+			s += getStr('wmp', 'balance');
+			s += getStr('wmp', 'baseurl');
+			s += getStr('wmp', 'captioningid');
+			s += getStr('wmp', 'currentmarker');
+			s += getStr('wmp', 'currentposition');
+			s += getStr('wmp', 'defaultframe');
+			s += getStr('wmp', 'playcount');
+			s += getStr('wmp', 'rate');
+			s += getStr('wmp', 'uimode');
+			s += getStr('wmp', 'volume');
+		break;
+
+		case "rmp":
+			s += getBool('rmp', 'autostart', false);
+			s += getBool('rmp', 'loop', false);
+			s += getBool('rmp', 'autogotourl', true);
+			s += getBool('rmp', 'center', false);
+			s += getBool('rmp', 'imagestatus', true);
+			s += getBool('rmp', 'maintainaspect', false);
+			s += getBool('rmp', 'nojava', false);
+			s += getBool('rmp', 'prefetch', false);
+			s += getBool('rmp', 'shuffle', false);
+			s += getStr('rmp', 'console');
+			s += getStr('rmp', 'controls');
+			s += getStr('rmp', 'numloop');
+			s += getStr('rmp', 'scriptcallbacks');
+		break;
+	}
+
+	s += getStr(null, 'id');
+	s += getStr(null, 'name');
+	s += getStr(null, 'src');
+	s += getStr(null, 'align');
+	s += getStr(null, 'bgcolor');
+	s += getInt(null, 'vspace');
+	s += getInt(null, 'hspace');
+	s += getStr(null, 'width');
+	s += getStr(null, 'height');
+
+	s = s.length > 0 ? s.substring(0, s.length - 1) : s;
+
+	return s;
+}
+
+function setBool(pl, p, n) {
+	if (typeof(pl[n]) == "undefined")
+		return;
+
+	document.forms[0].elements[p + "_" + n].checked = pl[n];
+}
+
+function setStr(pl, p, n) {
+	var f = document.forms[0], e = f.elements[(p != null ? p + "_" : '') + n];
+
+	if (typeof(pl[n]) == "undefined")
+		return;
+
+	if (e.type == "text")
+		e.value = pl[n];
+	else
+		selectByValue(f, (p != null ? p + "_" : '') + n, pl[n]);
+}
+
+function getBool(p, n, d, tv, fv) {
+	var v = document.forms[0].elements[p + "_" + n].checked;
+
+	tv = typeof(tv) == 'undefined' ? 'true' : "'" + jsEncode(tv) + "'";
+	fv = typeof(fv) == 'undefined' ? 'false' : "'" + jsEncode(fv) + "'";
+
+	return (v == d) ? '' : n + (v ? ':' + tv + ',' : ':' + fv + ',');
+}
+
+function getStr(p, n, d) {
+	var e = document.forms[0].elements[(p != null ? p + "_" : "") + n];
+	var v = e.type == "text" ? e.value : e.options[e.selectedIndex].value;
+
+	return ((n == d || v == '') ? '' : n + ":'" + jsEncode(v) + "',");
+}
+
+function getInt(p, n, d) {
+	var e = document.forms[0].elements[(p != null ? p + "_" : "") + n];
+	var v = e.type == "text" ? e.value : e.options[e.selectedIndex].value;
+
+	return ((n == d || v == '') ? '' : n + ":" + v.replace(/[^0-9]+/g, '') + ",");
+}
+
+function jsEncode(s) {
+	s = s.replace(new RegExp('\\\\', 'g'), '\\\\');
+	s = s.replace(new RegExp('"', 'g'), '\\"');
+	s = s.replace(new RegExp("'", 'g'), "\\'");
+
+	return s;
+}
+
+function generatePreview(c) {
+	var f = document.forms[0], p = document.getElementById('prev'), h = '', cls, pl, n, type, codebase, wp, hp, nw, nh;
+
+	p.innerHTML = '<!-- x --->';
+
+	nw = parseInt(f.width.value);
+	nh = parseInt(f.height.value);
+
+	if (f.width.value != "" && f.height.value != "") {
+		if (f.constrain.checked) {
+			if (c == 'width' && oldWidth != 0) {
+				wp = nw / oldWidth;
+				nh = Math.round(wp * nh);
+				f.height.value = nh;
+			} else if (c == 'height' && oldHeight != 0) {
+				hp = nh / oldHeight;
+				nw = Math.round(hp * nw);
+				f.width.value = nw;
+			}
+		}
+	}
+
+	if (f.width.value != "")
+		oldWidth = nw;
+
+	if (f.height.value != "")
+		oldHeight = nh;
+
+	// After constrain
+	pl = serializeParameters();
+
+	switch (f.media_type.options[f.media_type.selectedIndex].value) {
+		case "flash":
+			cls = 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000';
+			codebase = 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0';
+			type = 'application/x-shockwave-flash';
+			break;
+
+		case "shockwave":
+			cls = 'clsid:166B1BCA-3F9C-11CF-8075-444553540000';
+			codebase = 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0';
+			type = 'application/x-director';
+			break;
+
+		case "qt":
+			cls = 'clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B';
+			codebase = 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0';
+			type = 'video/quicktime';
+			break;
+
+		case "wmp":
+			cls = tinyMCE.getParam('media_wmp6_compatible') ? 'clsid:05589FA1-C356-11CE-BF01-00AA0055595A' : 'clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6';
+			codebase = 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701';
+			type = 'application/x-mplayer2';
+			break;
+
+		case "rmp":
+			cls = 'clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA';
+			codebase = 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701';
+			type = 'audio/x-pn-realaudio-plugin';
+			break;
+	}
+
+	if (pl == '') {
+		p.innerHTML = '';
+		return;
+	}
+
+	pl = eval('x={' + pl + '};');
+
+	if (!pl.src) {
+		p.innerHTML = '';
+		return;
+	}
+
+	pl.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], pl.src);
+	pl.width = !pl.width ? 100 : pl.width;
+	pl.height = !pl.height ? 100 : pl.height;
+	pl.id = !pl.id ? 'obj' : pl.id;
+	pl.name = !pl.name ? 'eobj' : pl.name;
+	pl.align = !pl.align ? '' : pl.align;
+
+	h += '<object classid="clsid:' + cls + '" codebase="' + codebase + '" width="' + pl.width + '" height="' + pl.height + '" id="' + pl.id + '" name="' + pl.name + '" align="' + pl.align + '">';
+
+	for (n in pl) {
+		h += '<param name="' + n + '" value="' + pl[n] + '">';
+
+		// Add extra url parameter if it's an absolute URL
+		if (n == 'src' && pl[n].indexOf('://') != -1)
+			h += '<param name="url" value="' + pl[n] + '" />';
+	}
+
+	h += '<embed type="' + type + '" ';
+
+	for (n in pl)
+		h += n + '="' + pl[n] + '" ';
+
+	h += '></embed></object>';
+
+	p.innerHTML = "<!-- x --->" + h;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,85 @@
+// UK lang variables
+
+tinyMCE.addToLang('media',{
+title : 'Insert / edit embedded media',
+desc : 'Insert / edit embedded media',
+general : 'General',
+advanced : 'Advanced',
+file : 'File',
+list : 'List',
+size : 'Dimensions',
+preview : 'Preview',
+constrain_proportions : 'Constrain proportions',
+type : 'Type',
+id : 'Id',
+name : 'Name',
+class_name : 'Class',
+vspace : 'V-Space',
+hspace : 'H-Space',
+play : 'Auto play',
+loop : 'Loop',
+menu : 'Show menu',
+quality : 'Quality',
+scale : 'Scale',
+align : 'Align',
+salign : 'SAlign',
+wmode : 'WMode',
+bgcolor : 'Background',
+base : 'Base',
+flashvars : 'Flashvars',
+liveconnect : 'SWLiveConnect',
+autohref : 'AutoHREF',
+cache : 'Cache',
+hidden : 'Hidden',
+controller : 'Controller',
+kioskmode : 'Kiosk mode',
+playeveryframe : 'Play every frame',
+targetcache : 'Target cache',
+correction : 'No correction',
+enablejavascript : 'Enable JavaScript',
+starttime : 'Start time',
+endtime : 'End time',
+href : 'Href',
+qtsrcchokespeed : 'Choke speed',
+target : 'Target',
+volume : 'Volume',
+autostart : 'Auto start',
+enabled : 'Enabled',
+fullscreen : 'Fullscreen',
+invokeurls : 'Invoke URLs',
+mute : 'Mute',
+stretchtofit : 'Stretch to fit',
+windowlessvideo : 'Windowless video',
+balance : 'Balance',
+baseurl : 'Base URL',
+captioningid : 'Captioning id',
+currentmarker : 'Current marker',
+currentposition : 'Current position',
+defaultframe : 'Default frame',
+playcount : 'Play count',
+rate : 'Rate',
+uimode : 'UI Mode',
+flash_options : 'Flash options',
+qt_options : 'Quicktime options',
+wmp_options : 'Windows media player options',
+rmp_options : 'Real media player options',
+shockwave_options : 'Shockwave options',
+autogotourl : 'Auto goto URL',
+center : 'Center',
+imagestatus : 'Image status',
+maintainaspect : 'Maintain aspect',
+nojava : 'No java',
+prefetch : 'Prefetch',
+shuffle : 'Shuffle',
+console : 'Console',
+numloop : 'Num loops',
+controls : 'Controls',
+scriptcallbacks : 'Script callbacks',
+swstretchstyle : 'Stretch style',
+swstretchhalign : 'Stretch H-Align',
+swstretchvalign : 'Stretch V-Align',
+sound : 'Sound',
+progress : 'Progress',
+qtsrc : 'QT Src',
+qt_stream_warn : 'Streamed rtsp resources should be added to the QT Src field under the advanced tab.\nYou should also add a non streamed version to the Src field..'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/media.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/media.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/media/media.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,723 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_media_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/media.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/editable_selects.js"></script>
+	<link href="css/media.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+    <form onsubmit="insertMedia();return false;" action="#">
+		<div class="tabs">
+			<ul>
+				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');generatePreview();" onmousedown="return false;">{$lang_media_general}</a></span></li>
+				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_media_advanced}</a></span></li>
+			</ul>
+		</div>
+
+		<div class="panel_wrapper">
+			<div id="general_panel" class="panel current">
+				<fieldset>
+					<legend>{$lang_media_general}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+							<tr>
+								<td><label for="media_type">{$lang_media_type}</label></td>
+								<td>
+									<select id="media_type" name="media_type" onchange="changedType(this.value);generatePreview();">
+										<option value="flash">Flash</option>
+										<option value="qt">Quicktime</option>
+										<option value="shockwave">Shockware</option>
+										<option value="wmp">Windows Media</option>
+										<option value="rmp">Real Media</option>
+									</select>
+								</td>
+							</tr>
+							<tr>
+							<td><label for="src">{$lang_media_file}</label></td>
+							  <td>
+									<table border="0" cellspacing="0" cellpadding="0">
+									  <tr>
+										<td><input id="src" name="src" type="text" value="" onchange="switchType(this.value);generatePreview();" /></td>
+										<td id="filebrowsercontainer">&nbsp;</td>
+									  </tr>
+									</table>
+								</td>
+							</tr>
+							<tr id="linklistrow">
+								<td><label for="linklist">{$lang_media_list}</label></td>
+								<td id="linklistcontainer">&nbsp;</td>
+							</tr>
+							<tr>
+								<td><label for="width">{$lang_media_size}</label></td>
+								<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="text" id="width" name="width" value="" class="size" onchange="generatePreview('width');" /> x <input type="text" id="height" name="height" value="" class="size"  onchange="generatePreview('height');" /></td>
+										<td>&nbsp;&nbsp;<input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
+										<td><label id="constrainlabel" for="constrain">{$lang_media_constrain_proportions}</label></td>
+									</tr>
+								</table>
+							</tr>
+					</table>
+				</fieldset>
+
+				<fieldset>
+					<legend>{$lang_media_preview}</legend>
+					<div id="prev"></div>
+				</fieldset>
+			</div>
+
+			<div id="advanced_panel" class="panel">
+				<fieldset>
+					<legend>{$lang_media_advanced}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0" width="100%">
+						<tr>
+							<td><label for="id">{$lang_media_id}</label></td>
+							<td><input type="text" id="id" name="id" onchange="generatePreview();" /></td>
+							<td><label for="name">{$lang_media_name}</label></td>
+							<td><input type="text" id="name" name="name" onchange="generatePreview();" /></td>
+						</tr>
+
+						<tr>
+							<td><label for="align">{$lang_media_align}</label></td>
+							<td>
+								<select id="align" name="align" onchange="generatePreview();">
+									<option value="">{$lang_not_set}</option> 
+									<option value="top">top</option>
+									<option value="right">right</option>
+									<option value="bottom">bottom</option>
+									<option value="left">left</option>
+								</select>
+							</td>
+
+							<td><label for="bgcolor">{$lang_media_bgcolor}</label></td>
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');generatePreview();" /></td>
+										<td id="bgcolor_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td><label for="vspace">{$lang_media_vspace}</label></td>
+							<td><input type="text" id="vspace" name="vspace" class="number" onchange="generatePreview();" /></td>
+							<td><label for="hspace">{$lang_media_hspace}</label></td>
+							<td><input type="text" id="hspace" name="hspace" class="number" onchange="generatePreview();" /></td>
+						</tr>
+					</table>
+				</fieldset>
+
+				<fieldset id="flash_options">
+					<legend>{$lang_media_flash_options}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td><label for="flash_quality">{$lang_media_quality}</label></td>
+							<td>
+								<select id="flash_quality" name="flash_quality" onchange="generatePreview();">
+									<option value="">{$lang_not_set}</option> 
+									<option value="high">high</option>
+									<option value="low">low</option>
+									<option value="autolow">autolow</option>
+									<option value="autohigh">autohigh</option>
+									<option value="best">best</option>
+								</select>
+							</td>
+
+							<td><label for="flash_scale">{$lang_media_scale}</label></td>
+							<td>
+								<select id="flash_scale" name="flash_scale" onchange="generatePreview();">
+									<option value="">{$lang_not_set}</option> 
+									<option value="showall">showall</option>
+									<option value="noborder">noborder</option>
+									<option value="exactfit">exactfit</option>
+								</select>
+							</td>
+						</tr>
+
+						<tr>
+							<td><label for="flash_wmode">{$lang_media_wmode}</label></td>
+							<td>
+								<select id="flash_wmode" name="flash_wmode" onchange="generatePreview();">
+									<option value="">{$lang_not_set}</option> 
+									<option value="window">window</option>
+									<option value="opaque">opaque</option>
+									<option value="transparent">transparent</option>
+								</select>
+							</td>
+
+							<td><label for="flash_salign">{$lang_media_salign}</label></td>
+							<td>
+								<select id="flash_salign" name="flash_salign" onchange="generatePreview();">
+									<option value="">{$lang_not_set}</option> 
+									<option value="l">left</option>
+									<option value="t">top</option>
+									<option value="r">right</option>
+									<option value="b">bottom</option>
+									<option value="tl">top-left</option>
+									<option value="tr">top_right</option>
+									<option value="bl">bottom-left</option>
+									<option value="br">bottom-right</option>
+								</select>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="flash_play" name="flash_play" checked="checked" onchange="generatePreview();" /></td>
+										<td><label for="flash_play">{$lang_media_play}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="flash_loop" name="flash_loop" checked="checked" onchange="generatePreview();" /></td>
+										<td><label for="flash_loop">{$lang_media_loop}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="flash_menu" name="flash_menu" checked="checked" onchange="generatePreview();" /></td>
+										<td><label for="flash_menu">{$lang_media_menu}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="flash_swliveconnect" name="flash_swliveconnect" onchange="generatePreview();" /></td>
+										<td><label for="flash_swliveconnect">{$lang_media_liveconnect}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+					</table>
+
+					<table>
+						<tr>
+							<td><label for="flash_base">{$lang_media_base}</label></td>
+							<td><input type="text" id="flash_base" name="flash_base" onchange="generatePreview();" /></td>
+						</tr>
+
+						<tr>
+							<td><label for="flash_flashvars">{$lang_media_flashvars}</label></td>
+							<td><input type="text" id="flash_flashvars" name="flash_flashvars" onchange="generatePreview();" /></td>
+						</tr>
+					</table>
+				</fieldset>
+
+				<fieldset id="qt_options">
+					<legend>{$lang_media_qt_options}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="qt_loop" name="qt_loop" onchange="generatePreview();" /></td>
+										<td><label for="qt_loop">{$lang_media_loop}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="qt_autoplay" name="qt_autoplay" onchange="generatePreview();" /></td>
+										<td><label for="qt_autoplay">{$lang_media_play}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="qt_cache" name="qt_cache" onchange="generatePreview();" /></td>
+										<td><label for="qt_cache">{$lang_media_cache}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="qt_controller" name="qt_controller" checked="checked" onchange="generatePreview();" /></td>
+										<td><label for="qt_controller">{$lang_media_controller}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="qt_correction" name="qt_correction" onchange="generatePreview();" /></td>
+										<td><label for="qt_correction">{$lang_media_correction}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="qt_enablejavascript" name="qt_enablejavascript" onchange="generatePreview();" /></td>
+										<td><label for="qt_enablejavascript">{$lang_media_enablejavascript}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="qt_kioskmode" name="qt_kioskmode" onchange="generatePreview();" /></td>
+										<td><label for="qt_kioskmode">{$lang_media_kioskmode}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="qt_autohref" name="qt_autohref" onchange="generatePreview();" /></td>
+										<td><label for="qt_autohref">{$lang_media_autohref}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="qt_playeveryframe" name="qt_playeveryframe" onchange="generatePreview();" /></td>
+										<td><label for="qt_playeveryframe">{$lang_media_playeveryframe}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="qt_targetcache" name="qt_targetcache" onchange="generatePreview();" /></td>
+										<td><label for="qt_targetcache">{$lang_media_targetcache}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td><label for="qt_scale">{$lang_media_scale}</label></td>
+							<td><select id="qt_scale" name="qt_scale" class="mceEditableSelect" onchange="generatePreview();">
+									<option value="">{$lang_not_set}</option> 
+									<option value="tofit">tofit</option>
+									<option value="aspect">aspect</option>
+								</select>
+							</td>
+
+							<td colspan="2">&nbsp;</td>
+						</tr>
+
+						<tr>
+							<td><label for="qt_starttime">{$lang_media_starttime}</label></td>
+							<td><input type="text" id="qt_starttime" name="qt_starttime" onchange="generatePreview();" /></td>
+
+							<td><label for="qt_endtime">{$lang_media_endtime}</label></td>
+							<td><input type="text" id="qt_endtime" name="qt_endtime" onchange="generatePreview();" /></td>
+						</tr>
+
+						<tr>
+							<td><label for="qt_target">{$lang_media_target}</label></td>
+							<td><input type="text" id="qt_target" name="qt_target" onchange="generatePreview();" /></td>
+
+							<td><label for="qt_href">{$lang_media_href}</label></td>
+							<td><input type="text" id="qt_href" name="qt_href" onchange="generatePreview();" /></td>
+						</tr>
+
+						<tr>
+							<td><label for="qt_qtsrcchokespeed">{$lang_media_qtsrcchokespeed}</label></td>
+							<td><input type="text" id="qt_qtsrcchokespeed" name="qt_qtsrcchokespeed" onchange="generatePreview();" /></td>
+
+							<td><label for="qt_volume">{$lang_media_volume}</label></td>
+							<td><input type="text" id="qt_volume" name="qt_volume" onchange="generatePreview();" /></td>
+						</tr>
+
+						<tr>
+							<td><label for="qt_qtsrc">{$lang_media_qtsrc}</label></td>
+							<td colspan="4">
+							<table border="0" cellspacing="0" cellpadding="0">
+								  <tr>
+									<td><input type="text" id="qt_qtsrc" name="qt_qtsrc" onchange="generatePreview();" /></td>
+									<td id="qtsrcfilebrowsercontainer">&nbsp;</td>
+								  </tr>
+							</table>
+							</td>
+						</tr>
+					</table>
+				</fieldset>
+
+				<fieldset id="wmp_options">
+					<legend>{$lang_media_wmp_options}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="wmp_autostart" name="wmp_autostart" checked="checked" onchange="generatePreview();" /></td>
+										<td><label for="wmp_autostart">{$lang_media_autostart}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="wmp_enabled" name="wmp_enabled" onchange="generatePreview();" /></td>
+										<td><label for="wmp_enabled">{$lang_media_enabled}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="wmp_enablecontextmenu" name="wmp_enablecontextmenu" checked="checked" onchange="generatePreview();" /></td>
+										<td><label for="wmp_enablecontextmenu">{$lang_media_menu}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="wmp_fullscreen" name="wmp_fullscreen" onchange="generatePreview();" /></td>
+										<td><label for="wmp_fullscreen">{$lang_media_fullscreen}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="wmp_invokeurls" name="wmp_invokeurls" checked="checked" onchange="generatePreview();" /></td>
+										<td><label for="wmp_invokeurls">{$lang_media_invokeurls}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="wmp_mute" name="wmp_mute" onchange="generatePreview();" /></td>
+										<td><label for="wmp_mute">{$lang_media_mute}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="wmp_stretchtofit" name="wmp_stretchtofit" onchange="generatePreview();" /></td>
+										<td><label for="wmp_stretchtofit">{$lang_media_stretchtofit}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="wmp_windowlessvideo" name="wmp_windowlessvideo" onchange="generatePreview();" /></td>
+										<td><label for="wmp_windowlessvideo">{$lang_media_windowlessvideo}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td><label for="wmp_balance">{$lang_media_balance}</label></td>
+							<td><input type="text" id="wmp_balance" name="wmp_balance" onchange="generatePreview();" /></td>
+
+							<td><label for="wmp_baseurl">{$lang_media_baseurl}</label></td>
+							<td><input type="text" id="wmp_baseurl" name="wmp_baseurl" onchange="generatePreview();" /></td>
+						</tr>
+
+						<tr>
+							<td><label for="wmp_captioningid">{$lang_media_captioningid}</label></td>
+							<td><input type="text" id="wmp_captioningid" name="wmp_captioningid" onchange="generatePreview();" /></td>
+
+							<td><label for="wmp_currentmarker">{$lang_media_currentmarker}</label></td>
+							<td><input type="text" id="wmp_currentmarker" name="wmp_currentmarker" onchange="generatePreview();" /></td>
+						</tr>
+
+						<tr>
+							<td><label for="wmp_currentposition">{$lang_media_currentposition}</label></td>
+							<td><input type="text" id="wmp_currentposition" name="wmp_currentposition" onchange="generatePreview();" /></td>
+
+							<td><label for="wmp_defaultframe">{$lang_media_defaultframe}</label></td>
+							<td><input type="text" id="wmp_defaultframe" name="wmp_defaultframe" onchange="generatePreview();" /></td>
+						</tr>
+
+						<tr>
+							<td><label for="wmp_playcount">{$lang_media_playcount}</label></td>
+							<td><input type="text" id="wmp_playcount" name="wmp_playcount" onchange="generatePreview();" /></td>
+
+							<td><label for="wmp_rate">{$lang_media_rate}</label></td>
+							<td><input type="text" id="wmp_rate" name="wmp_rate" onchange="generatePreview();" /></td>
+						</tr>
+
+						<tr>
+							<td><label for="wmp_uimode">{$lang_media_uimode}</label></td>
+							<td><input type="text" id="wmp_uimode" name="wmp_uimode" onchange="generatePreview();" /></td>
+
+							<td><label for="wmp_volume">{$lang_media_volume}</label></td>
+							<td><input type="text" id="wmp_volume" name="wmp_volume" onchange="generatePreview();" /></td>
+						</tr>
+
+					</table>
+				</fieldset>
+
+				<fieldset id="rmp_options">
+					<legend>{$lang_media_rmp_options}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="rmp_autostart" name="rmp_autostart" onchange="generatePreview();" /></td>
+										<td><label for="rmp_autostart">{$lang_media_autostart}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="rmp_loop" name="rmp_loop" onchange="generatePreview();" /></td>
+										<td><label for="rmp_loop">{$lang_media_loop}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="rmp_autogotourl" name="rmp_autogotourl" checked="checked" onchange="generatePreview();" /></td>
+										<td><label for="rmp_autogotourl">{$lang_media_autogotourl}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="rmp_center" name="rmp_center" onchange="generatePreview();" /></td>
+										<td><label for="rmp_center">{$lang_media_center}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="rmp_imagestatus" name="rmp_imagestatus" checked="checked" onchange="generatePreview();" /></td>
+										<td><label for="rmp_imagestatus">{$lang_media_imagestatus}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="rmp_maintainaspect" name="rmp_maintainaspect" onchange="generatePreview();" /></td>
+										<td><label for="rmp_maintainaspect">{$lang_media_maintainaspect}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="rmp_nojava" name="rmp_nojava" onchange="generatePreview();" /></td>
+										<td><label for="rmp_nojava">{$lang_media_nojava}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="rmp_prefetch" name="rmp_prefetch" onchange="generatePreview();" /></td>
+										<td><label for="rmp_prefetch">{$lang_media_prefetch}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="rmp_shuffle" name="rmp_shuffle" onchange="generatePreview();" /></td>
+										<td><label for="rmp_shuffle">{$lang_media_shuffle}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								&nbsp;
+							</td>
+						</tr>
+
+						<tr>
+							<td><label for="rmp_console">{$lang_media_console}</label></td>
+							<td><input type="text" id="rmp_console" name="rmp_console" onchange="generatePreview();" /></td>
+
+							<td><label for="rmp_controls">{$lang_media_controls}</label></td>
+							<td><input type="text" id="rmp_controls" name="rmp_controls" onchange="generatePreview();" /></td>
+						</tr>
+
+						<tr>
+							<td><label for="rmp_numloop">{$lang_media_numloop}</label></td>
+							<td><input type="text" id="rmp_numloop" name="rmp_numloop" onchange="generatePreview();" /></td>
+
+							<td><label for="rmp_scriptcallbacks">{$lang_media_scriptcallbacks}</label></td>
+							<td><input type="text" id="rmp_scriptcallbacks" name="rmp_scriptcallbacks" onchange="generatePreview();" /></td>
+						</tr>
+					</table>
+				</fieldset>
+
+				<fieldset id="shockwave_options">
+					<legend>{$lang_media_shockwave_options}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td><label for="shockwave_swstretchstyle">{$lang_media_swstretchstyle}</label></td>
+							<td>
+								<select id="shockwave_swstretchstyle" name="shockwave_swstretchstyle" onchange="generatePreview();">
+									<option value="none">None</option>
+									<option value="meet">Meet</option>
+									<option value="fill">Fill</option>
+									<option value="stage">Stage</option>
+								</select>
+							</td>
+
+							<td><label for="shockwave_swvolume">{$lang_media_volume}</label></td>
+							<td><input type="text" id="shockwave_swvolume" name="shockwave_swvolume" onchange="generatePreview();" /></td>
+						</tr>
+
+						<tr>
+							<td><label for="shockwave_swstretchhalign">{$lang_media_swstretchhalign}</label></td>
+							<td>
+								<select id="shockwave_swstretchhalign" name="shockwave_swstretchhalign" onchange="generatePreview();">
+									<option value="none">None</option>
+									<option value="left">left</option>
+									<option value="center">center</option>
+									<option value="right">right</option>
+								</select>
+							</td>
+
+							<td><label for="shockwave_swstretchvalign">{$lang_media_swstretchvalign}</label></td>
+							<td>
+								<select id="shockwave_swstretchvalign" name="shockwave_swstretchvalign" onchange="generatePreview();">
+									<option value="none">None</option>
+									<option value="meet">Top</option>
+									<option value="fill">Center</option>
+									<option value="stage">Bottom</option>
+								</select>
+							</td>
+						</tr>
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="shockwave_autostart" name="shockwave_autostart" onchange="generatePreview();" checked="checked" /></td>
+										<td><label for="shockwave_autostart">{$lang_media_autostart}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="shockwave_sound" name="shockwave_sound" onchange="generatePreview();" checked="checked" /></td>
+										<td><label for="shockwave_sound">{$lang_media_sound}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+
+
+						<tr>
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="shockwave_swliveconnect" name="shockwave_swliveconnect" onchange="generatePreview();" /></td>
+										<td><label for="shockwave_swliveconnect">{$lang_media_liveconnect}</label></td>
+									</tr>
+								</table>
+							</td>
+
+							<td colspan="2">
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input type="checkbox" class="checkbox" id="shockwave_progress" name="shockwave_progress" onchange="generatePreview();" checked="checked" /></td>
+										<td><label for="shockwave_progress">{$lang_media_progress}</label></td>
+									</tr>
+								</table>
+							</td>
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+		</div>
+
+		<div class="mceActionPanel">
+			<div style="float: left">
+				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertMedia();" />
+			</div>
+
+			<div style="float: right">
+				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+			</div>
+		</div>
+	</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('nonbreaking');var TinyMCE_NonBreakingPlugin={getInfo:function(){return{longname:'Nonbreaking space',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_nonbreaking.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"nonbreaking":return tinyMCE.getButtonHTML(cn,'lang_nonbreaking_desc','{$pluginurl}/images/nonbreaking.gif','mceNonBreaking',false)}return""},execCommand:function(editor_id,element,command,user_interface,value){var inst=tinyMCE.getInstanceById(editor_id),h;switch(command){case"mceNonBreaking":h=(inst.visualChars&&inst.visualChars.state)?'<span class="mceItemHiddenVisualChar">&middot;</span>':'&nbsp;';tinyMCE.execInstanceCommand(editor_id,'mceInsertContent',false,h);return true}return false},handleEvent:function(e){var inst,h;if(!tinyMCE.isOpera&&e.type=='keydown'&&e.keyCode==9&&tinyMCE.getParam('nonbr!
 eaking_force_tab',false)){inst=tinyMCE.selectedInstance;h=(inst.visualChars&&inst.visualChars.state)?'<span class="mceItemHiddenVisualChar">&middot;&middot;&middot;</span>':'&nbsp;&nbsp;&nbsp;';tinyMCE.execInstanceCommand(inst.editorId,'mceInsertContent',false,h);tinyMCE.cancelEvent(e);return false}return true}};tinyMCE.addPlugin("nonbreaking",TinyMCE_NonBreakingPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,62 @@
+/**
+ * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('nonbreaking');
+
+var TinyMCE_NonBreakingPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Nonbreaking space',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_nonbreaking.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "nonbreaking":
+				return tinyMCE.getButtonHTML(cn, 'lang_nonbreaking_desc', '{$pluginurl}/images/nonbreaking.gif', 'mceNonBreaking', false);
+		}
+
+		return "";
+	},
+
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		var inst = tinyMCE.getInstanceById(editor_id), h;
+
+		switch (command) {
+			case "mceNonBreaking":
+				h = (inst.visualChars && inst.visualChars.state) ? '<span class="mceItemHiddenVisualChar">&middot;</span>' : '&nbsp;';
+				tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, h);
+				return true;
+		}
+
+		return false;
+	},
+
+	handleEvent : function(e) {
+		var inst, h;
+
+		if (!tinyMCE.isOpera && e.type == 'keydown' && e.keyCode == 9 && tinyMCE.getParam('nonbreaking_force_tab', false)) {
+			inst = tinyMCE.selectedInstance;
+
+			h = (inst.visualChars && inst.visualChars.state) ? '<span class="mceItemHiddenVisualChar">&middot;&middot;&middot;</span>' : '&nbsp;&nbsp;&nbsp;';
+			tinyMCE.execInstanceCommand(inst.editorId, 'mceInsertContent', false, h);
+
+			tinyMCE.cancelEvent(e);
+			return false;
+		}
+
+		return true;
+	}
+};
+
+tinyMCE.addPlugin("nonbreaking", TinyMCE_NonBreakingPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/images/nonbreaking.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/images/nonbreaking.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/nonbreaking/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// UK lang variables
+
+tinyMCE.addToLang('nonbreaking',{
+desc : 'Insert non-breaking space character'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/css/noneditable.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/css/noneditable.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/css/noneditable.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,9 @@
+/* This is the CSS file for the noneditable elements plugin */
+
+.mceItemEditable {
+	/*border: 1px dotted #0000cc;*/
+}
+
+.mceItemNonEditable {
+	/*border: 1px dotted #cc0000;*/
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+var TinyMCE_NonEditablePlugin={getInfo:function(){return{longname:'Non editable elements',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_noneditable.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/plugins/noneditable/css/noneditable.css");if(tinyMCE.isMSIE5_0)tinyMCE.settings['plugins']=tinyMCE.settings['plugins'].replace(/noneditable/gi,'Noneditable')},handleEvent:function(e){return this._moveSelection(e,tinyMCE.selectedInstance)},cleanup:function(type,content,inst){if(tinyMCE.isGecko)return content;switch(type){case"insert_to_editor_dom":var nodes=tinyMCE.getNodeTree(content,new Array(),1);var editClass=tinyMCE.getParam("noneditable_editable_class","mceItemEditable");var nonEditClass=tinyMCE.getParam("noneditable_noneditable_class","mceItemNonEditable");for(var i=0;i<nodes.length;i++){var elm=nodes[i]!
 ;var editable=tinyMCE.getAttrib(elm,"contenteditable");if(new RegExp("true|false","gi").test(editable))TinyMCE_NonEditablePlugin._setEditable(elm,editable=="true");if(tinyMCE.isMSIE){var className=elm.className?elm.className:"";if(className.indexOf(editClass)!=-1)elm.contentEditable=true;if(className.indexOf(nonEditClass)!=-1)elm.contentEditable=false}}break;case"insert_to_editor":if(tinyMCE.isMSIE){var editClass=tinyMCE.getParam("noneditable_editable_class","mceItemEditable");var nonEditClass=tinyMCE.getParam("noneditable_noneditable_class","mceItemNonEditable");content=content.replace(new RegExp("class=\"(.*)("+editClass+")([^\"]*)\"","gi"),'class="$1$2$3" contenteditable="true"');content=content.replace(new RegExp("class=\"(.*)("+nonEditClass+")([^\"]*)\"","gi"),'class="$1$2$3" contenteditable="false"')}break;case"get_from_editor_dom":if(tinyMCE.getParam("noneditable_leave_contenteditable",false)){var nodes=tinyMCE.getNodeTree(content,new Array(),1);for(var i=0;i<nodes.l!
 ength;i++)nodes[i].removeAttribute("contenteditable")}break}return con
tent},_moveSelection:function(e,inst){var s,r,sc,ec,el,c=tinyMCE.getParam('noneditable_editable_class','mceItemNonEditable');if(!inst)return true;if(tinyMCE.isGecko){s=inst.selection.getSel();r=s.getRangeAt(0);sc=tinyMCE.getParentNode(r.startContainer,function(n){return tinyMCE.hasCSSClass(n,c)});ec=tinyMCE.getParentNode(r.endContainer,function(n){return tinyMCE.hasCSSClass(n,c)});sc&&r.setStartBefore(sc);ec&&r.setEndAfter(ec);if(sc||ec){if(e.type=='keypress'&&e.keyCode==39){el=sc||ec;}s.removeAllRanges();s.addRange(r);return tinyMCE.cancelEvent(e)}}return true},_setEditable:function(elm,state){var editClass=tinyMCE.getParam("noneditable_editable_class","mceItemEditable");var nonEditClass=tinyMCE.getParam("noneditable_noneditable_class","mceItemNonEditable");var className=elm.className?elm.className:"";if(className.indexOf(editClass)!=-1||className.indexOf(nonEditClass)!=-1)return;if((className=tinyMCE.getAttrib(elm,"class"))!="")className+=" ";className+=state?editClass:non!
 EditClass;elm.setAttribute("class",className);elm.className=className}};tinyMCE.addPlugin("noneditable",TinyMCE_NonEditablePlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,140 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+var TinyMCE_NonEditablePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Non editable elements',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_noneditable.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		tinyMCE.importCSS(inst.getDoc(), tinyMCE.baseURL + "/plugins/noneditable/css/noneditable.css");
+
+		// Ugly hack
+		if (tinyMCE.isMSIE5_0)
+			tinyMCE.settings['plugins'] = tinyMCE.settings['plugins'].replace(/noneditable/gi, 'Noneditable');
+	},
+
+	handleEvent : function(e) {
+		return this._moveSelection(e, tinyMCE.selectedInstance);
+	},
+
+	cleanup : function(type, content, inst) {
+		// Pass through Gecko
+		if (tinyMCE.isGecko)
+			return content;
+
+		switch (type) {
+			case "insert_to_editor_dom":
+				var nodes = tinyMCE.getNodeTree(content, new Array(), 1);
+				var editClass = tinyMCE.getParam("noneditable_editable_class", "mceItemEditable");
+				var nonEditClass = tinyMCE.getParam("noneditable_noneditable_class", "mceItemNonEditable");
+
+				for (var i=0; i<nodes.length; i++) {
+					var elm = nodes[i];
+
+					// Convert contenteditable to classes
+					var editable = tinyMCE.getAttrib(elm, "contenteditable");
+					if (new RegExp("true|false","gi").test(editable))
+						TinyMCE_NonEditablePlugin._setEditable(elm, editable == "true");
+
+					if (tinyMCE.isMSIE) {
+						var className = elm.className ? elm.className : "";
+
+						if (className.indexOf(editClass) != -1)
+							elm.contentEditable = true;
+
+						if (className.indexOf(nonEditClass) != -1)
+							elm.contentEditable = false;
+					}
+				}
+
+				break;
+
+			case "insert_to_editor":
+				if (tinyMCE.isMSIE) {
+					var editClass = tinyMCE.getParam("noneditable_editable_class", "mceItemEditable");
+					var nonEditClass = tinyMCE.getParam("noneditable_noneditable_class", "mceItemNonEditable");
+
+					content = content.replace(new RegExp("class=\"(.*)(" + editClass + ")([^\"]*)\"", "gi"), 'class="$1$2$3" contenteditable="true"');
+					content = content.replace(new RegExp("class=\"(.*)(" + nonEditClass + ")([^\"]*)\"", "gi"), 'class="$1$2$3" contenteditable="false"');
+				}
+
+				break;
+
+			case "get_from_editor_dom":
+				if (tinyMCE.getParam("noneditable_leave_contenteditable", false)) {
+					var nodes = tinyMCE.getNodeTree(content, new Array(), 1);
+
+					for (var i=0; i<nodes.length; i++)
+						nodes[i].removeAttribute("contenteditable");
+				}
+
+				break;
+		}
+
+		return content;
+	},
+
+	_moveSelection : function(e, inst) {
+		var s, r, sc, ec, el, c = tinyMCE.getParam('noneditable_editable_class', 'mceItemNonEditable');
+
+		if (!inst)
+			return true;
+
+		// Always select whole element
+		if (tinyMCE.isGecko) {
+			s = inst.selection.getSel();
+			r = s.getRangeAt(0);
+			sc = tinyMCE.getParentNode(r.startContainer, function (n) {return tinyMCE.hasCSSClass(n, c);});
+			ec = tinyMCE.getParentNode(r.endContainer, function (n) {return tinyMCE.hasCSSClass(n, c);});
+
+			sc && r.setStartBefore(sc);
+			ec && r.setEndAfter(ec);
+
+			if (sc || ec) {
+				if (e.type == 'keypress' && e.keyCode == 39) {
+					el = sc || ec;
+
+					// Try!!
+				}
+
+				s.removeAllRanges();
+				s.addRange(r);
+
+				return tinyMCE.cancelEvent(e);
+			}
+		}
+
+		return true;
+	},
+
+	_setEditable : function(elm, state) {
+		var editClass = tinyMCE.getParam("noneditable_editable_class", "mceItemEditable");
+		var nonEditClass = tinyMCE.getParam("noneditable_noneditable_class", "mceItemNonEditable");
+
+		var className = elm.className ? elm.className : "";
+
+		if (className.indexOf(editClass) != -1 || className.indexOf(nonEditClass) != -1)
+			return;
+
+		if ((className = tinyMCE.getAttrib(elm, "class")) != "")
+			className += " ";
+
+		className += state ? editClass : nonEditClass;
+
+		elm.setAttribute("class", className);
+		elm.className = className;
+	}
+};
+
+tinyMCE.addPlugin("noneditable", TinyMCE_NonEditablePlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/noneditable/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/blank.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/blank.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/blank.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,19 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>blank_page</title>
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+	<script language="javascript">
+		function init() {
+			document.body.contentEditable = true;
+			document.designMode = 'on';
+			parent.initIframe(document);
+			window.focus();
+		}
+	</script>
+	<link href="css/blank.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body onload="init();">
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/css/blank.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/css/blank.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/css/blank.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,13 @@
+body {
+	background-color: #FFFFFF;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+	scrollbar-3dlight-color: #F0F0EE;
+	scrollbar-arrow-color: #676662;
+	scrollbar-base-color: #F0F0EE;
+	scrollbar-darkshadow-color: #DDDDDD;
+	scrollbar-face-color: #E0E0DD;
+	scrollbar-highlight-color: #F0F0EE;
+	scrollbar-shadow-color: #F0F0EE;
+	scrollbar-track-color: #F5F5F5;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/css/pasteword.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/css/pasteword.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/css/pasteword.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+.sourceIframe {
+	border: 1px solid #808080;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('paste');var TinyMCE_PastePlugin={getInfo:function(){return{longname:'Paste text/word',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_paste.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){if(tinyMCE.isMSIE&&tinyMCE.getParam("paste_auto_cleanup_on_paste",false))tinyMCE.addEvent(inst.getBody(),"paste",TinyMCE_PastePlugin._handlePasteEvent)},getControlHTML:function(cn){switch(cn){case"pastetext":return tinyMCE.getButtonHTML(cn,'lang_paste_text_desc','{$pluginurl}/images/pastetext.gif','mcePasteText',true);case"pasteword":return tinyMCE.getButtonHTML(cn,'lang_paste_word_desc','{$pluginurl}/images/pasteword.gif','mcePasteWord',true);case"selectall":return tinyMCE.getButtonHTML(cn,'lang_selectall_desc','{$pluginurl}/images/selectall.gif','mceSelectAll',true)}return''},execCommand:function(editor_id,element,command,user_interf!
 ace,value){switch(command){case"mcePasteText":if(user_interface){if((tinyMCE.isMSIE&&!tinyMCE.isOpera)&&!tinyMCE.getParam('paste_use_dialog',false))TinyMCE_PastePlugin._insertText(clipboardData.getData("Text"),true);else{var template=new Array();template['file']='../../plugins/paste/pastetext.htm';template['width']=450;template['height']=400;var plain_text="";tinyMCE.openWindow(template,{editor_id:editor_id,plain_text:plain_text,resizable:"yes",scrollbars:"no",inline:"yes",mceDo:'insert'})}}else TinyMCE_PastePlugin._insertText(value['html'],value['linebreaks']);return true;case"mcePasteWord":if(user_interface){if((tinyMCE.isMSIE&&!tinyMCE.isOpera)&&!tinyMCE.getParam('paste_use_dialog',false)){TinyMCE_PastePlugin._insertWordContent(TinyMCE_PastePlugin._clipboardHTML())}else{var template=new Array();template['file']='../../plugins/paste/pasteword.htm';template['width']=450;template['height']=400;var plain_text="";tinyMCE.openWindow(template,{editor_id:editor_id,plain_text:pla!
 in_text,resizable:"yes",scrollbars:"no",inline:"yes",mceDo:'insert'})}
}else TinyMCE_PastePlugin._insertWordContent(value);return true;case"mceSelectAll":tinyMCE.execInstanceCommand(editor_id,'selectall');return true}return false},_handlePasteEvent:function(e){switch(e.type){case"paste":var html=TinyMCE_PastePlugin._clipboardHTML();var r,inst=tinyMCE.selectedInstance;if(inst&&(r=inst.getRng())&&r.text.length>0)tinyMCE.execCommand('delete');if(html&&html.length>0)tinyMCE.execCommand('mcePasteWord',false,html);tinyMCE.cancelEvent(e);return false}return true},_insertText:function(content,bLinebreaks){if(content&&content.length>0){if(bLinebreaks){if(tinyMCE.getParam("paste_create_paragraphs",true)){var rl=tinyMCE.getParam("paste_replace_list",'\u2122,<sup>TM</sup>,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(',');for(var i=0;i<rl.length;i+=2)content=content.replace(new RegExp(rl[i],'gi'),rl[i+1]);content=tinyMCE.regexpReplace(content,"\r\n\r\n","</p><p>","gi");content=tinyMCE.regexpReplace(content,"\r\r","</p><p>","gi"!
 );content=tinyMCE.regexpReplace(content,"\n\n","</p><p>","gi");if((pos=content.indexOf('</p><p>'))!=-1){tinyMCE.execCommand("Delete");var node=tinyMCE.selectedInstance.getFocusElement();var breakElms=new Array();do{if(node.nodeType==1){if(node.nodeName=="TD"||node.nodeName=="BODY")break;breakElms[breakElms.length]=node}}while(node=node.parentNode);var before="",after="</p>";before+=content.substring(0,pos);for(var i=0;i<breakElms.length;i++){before+="</"+breakElms[i].nodeName+">";after+="<"+breakElms[(breakElms.length-1)-i].nodeName+">"}before+="<p>";content=before+content.substring(pos+7)+after}}if(tinyMCE.getParam("paste_create_linebreaks",true)){content=tinyMCE.regexpReplace(content,"\r\n","<br />","gi");content=tinyMCE.regexpReplace(content,"\r","<br />","gi");content=tinyMCE.regexpReplace(content,"\n","<br />","gi")}}tinyMCE.execCommand("mceInsertRawHTML",false,content)}},_insertWordContent:function(content){if(content&&content.length>0){var bull=String.fromCharCode(82!
 26);var middot=String.fromCharCode(183);var cb;if((cb=tinyMCE.getParam
("paste_insert_word_content_callback",""))!="")content=eval(cb+"('before', content)");var rl=tinyMCE.getParam("paste_replace_list",'\u2122,<sup>TM</sup>,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(',');for(var i=0;i<rl.length;i+=2)content=content.replace(new RegExp(rl[i],'gi'),rl[i+1]);if(tinyMCE.getParam("paste_convert_headers_to_strong",false)){content=content.replace(new RegExp('<p class=MsoHeading.*?>(.*?)<\/p>','gi'),'<p><b>$1</b></p>')}content=content.replace(new RegExp('tab-stops: list [0-9]+.0pt">','gi'),'">'+"--list--");content=content.replace(new RegExp(bull+"(.*?)<BR>","gi"),"<p>"+middot+"$1</p>");content=content.replace(new RegExp('<SPAN style="mso-list: Ignore">','gi'),"<span>"+bull);content=content.replace(/<o:p><\/o:p>/gi,"");content=content.replace(new RegExp('<br style="page-break-before: always;.*>','gi'),'-- page break --');content=content.replace(new RegExp('<(!--)([^>]*)(--)>','g'),"");if(tinyMCE.getParam("paste_remove_span!
 s",true))content=content.replace(/<\/?span[^>]*>/gi,"");if(tinyMCE.getParam("paste_remove_styles",true))content=content.replace(new RegExp('<(\\w[^>]*) style="([^"]*)"([^>]*)','gi'),"<$1$3");content=content.replace(/<\/?font[^>]*>/gi,"");switch(tinyMCE.getParam("paste_strip_class_attributes","all")){case"all":content=content.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi,"<$1$3");break;case"mso":content=content.replace(new RegExp('<(\\w[^>]*) class="?mso([^ |>]*)([^>]*)','gi'),"<$1$3");break}content=content.replace(new RegExp('href="?'+TinyMCE_PastePlugin._reEscape(""+document.location)+'','gi'),'href="'+tinyMCE.settings['document_base_url']);content=content.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi,"<$1$3");content=content.replace(/<\\?\?xml[^>]*>/gi,"");content=content.replace(/<\/?\w+:[^>]*>/gi,"");content=content.replace(/-- page break --\s*<p>&nbsp;<\/p>/gi,"");content=content.replace(/-- page break --/gi,"");if(!tinyMCE.settings['force_p_newlines']){content=content.!
 replace('','','gi');content=content.replace('</p>','<br /><br />','gi'
)}if(!tinyMCE.isMSIE&&!tinyMCE.settings['force_p_newlines']){content=content.replace(/<\/?p[^>]*>/gi,"")}content=content.replace(/<\/?div[^>]*>/gi,"");if(tinyMCE.getParam("paste_convert_middot_lists",true)){var div=document.createElement("div");div.innerHTML=content;var className=tinyMCE.getParam("paste_unindented_list_class","unIndentedList");while(TinyMCE_PastePlugin._convertMiddots(div,"--list--"));while(TinyMCE_PastePlugin._convertMiddots(div,middot,className));while(TinyMCE_PastePlugin._convertMiddots(div,bull));content=div.innerHTML}if(tinyMCE.getParam("paste_convert_headers_to_strong",false)){content=content.replace(/<h[1-6]>&nbsp;<\/h[1-6]>/gi,'<p>&nbsp;&nbsp;</p>');content=content.replace(/<h[1-6]>/gi,'<p><b>');content=content.replace(/<\/h[1-6]>/gi,'</b></p>');content=content.replace(/<b>&nbsp;<\/b>/gi,'<b>&nbsp;&nbsp;</b>');content=content.replace(/^(&nbsp;)*/gi,'')}content=content.replace(/--list--/gi,"");if((cb=tinyMCE.getParam("paste_insert_word_content_callbac!
 k",""))!="")content=eval(cb+"('after', content)");tinyMCE.execCommand("mceInsertContent",false,content);if(tinyMCE.getParam('paste_force_cleanup_wordpaste',true))window.setTimeout('tinyMCE.execCommand("mceCleanup");',1);}},_reEscape:function(s){var l="?.\\*[](){}+^$:";var o="";for(var i=0;i<s.length;i++){var c=s.charAt(i);if(l.indexOf(c)!=-1)o+='\\'+c;else o+=c}return o},_convertMiddots:function(div,search,class_name){var mdot=String.fromCharCode(183);var bull=String.fromCharCode(8226);var nodes=div.getElementsByTagName("p");var prevul;for(var i=0;i<nodes.length;i++){var p=nodes[i];if(p.innerHTML.indexOf(search)==0){var ul=document.createElement("ul");if(class_name)ul.className=class_name;var li=document.createElement("li");li.innerHTML=p.innerHTML.replace(new RegExp(''+mdot+'|'+bull+'|--list--|&nbsp;',"gi"),'');ul.appendChild(li);var np=p.nextSibling;while(np){if(np.nodeType==3&&new RegExp('^\\s$','m').test(np.nodeValue)){np=np.nextSibling;continue}if(search==mdot){if(np.n!
 odeType==1&&new RegExp('^o(\\s+|&nbsp;)').test(np.innerHTML)){if(!prev
ul){prevul=ul;ul=document.createElement("ul");prevul.appendChild(ul)}np.innerHTML=np.innerHTML.replace(/^o/,'')}else{if(prevul){ul=prevul;prevul=null}if(np.nodeType!=1||np.innerHTML.indexOf(search)!=0)break}}else{if(np.nodeType!=1||np.innerHTML.indexOf(search)!=0)break}var cp=np.nextSibling;var li=document.createElement("li");li.innerHTML=np.innerHTML.replace(new RegExp(''+mdot+'|'+bull+'|--list--|&nbsp;',"gi"),'');np.parentNode.removeChild(np);ul.appendChild(li);np=cp}p.parentNode.replaceChild(ul,p);return true}}return false},_clipboardHTML:function(){var div=document.getElementById('_TinyMCE_clipboardHTML');if(!div){var div=document.createElement('DIV');div.id='_TinyMCE_clipboardHTML';with(div.style){visibility='hidden';overflow='hidden';position='absolute';width=1;height=1}document.body.appendChild(div)}div.innerHTML='';var rng=document.body.createTextRange();rng.moveToElementText(div);rng.execCommand('Paste');var html=div.innerHTML;div.innerHTML='';return html}};tinyMCE.!
 addPlugin("paste",TinyMCE_PastePlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,385 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */ 
+tinyMCE.importPluginLanguagePack('paste');
+
+var TinyMCE_PastePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Paste text/word',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_paste.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		if (tinyMCE.isMSIE && tinyMCE.getParam("paste_auto_cleanup_on_paste", false))
+			tinyMCE.addEvent(inst.getBody(), "paste", TinyMCE_PastePlugin._handlePasteEvent);
+	},
+
+	getControlHTML : function(cn) { 
+		switch (cn) { 
+			case "pastetext":
+				return tinyMCE.getButtonHTML(cn, 'lang_paste_text_desc', '{$pluginurl}/images/pastetext.gif', 'mcePasteText', true);
+
+			case "pasteword":
+				return tinyMCE.getButtonHTML(cn, 'lang_paste_word_desc', '{$pluginurl}/images/pasteword.gif', 'mcePasteWord', true);
+
+			case "selectall":
+				return tinyMCE.getButtonHTML(cn, 'lang_selectall_desc', '{$pluginurl}/images/selectall.gif', 'mceSelectAll', true);
+		} 
+
+		return ''; 
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) { 
+		switch (command) { 
+			case "mcePasteText": 
+				if (user_interface) {
+					if ((tinyMCE.isMSIE && !tinyMCE.isOpera) && !tinyMCE.getParam('paste_use_dialog', false))
+						TinyMCE_PastePlugin._insertText(clipboardData.getData("Text"), true); 
+					else { 
+						var template = new Array(); 
+						template['file']	= '../../plugins/paste/pastetext.htm'; // Relative to theme 
+						template['width']  = 450; 
+						template['height'] = 400; 
+						var plain_text = ""; 
+						tinyMCE.openWindow(template, {editor_id : editor_id, plain_text: plain_text, resizable : "yes", scrollbars : "no", inline : "yes", mceDo : 'insert'}); 
+					}
+				} else
+					TinyMCE_PastePlugin._insertText(value['html'], value['linebreaks']);
+
+				return true;
+
+			case "mcePasteWord": 
+				if (user_interface) {
+					if ((tinyMCE.isMSIE && !tinyMCE.isOpera) && !tinyMCE.getParam('paste_use_dialog', false)) {
+						TinyMCE_PastePlugin._insertWordContent(TinyMCE_PastePlugin._clipboardHTML());
+					} else { 
+						var template = new Array(); 
+						template['file']	= '../../plugins/paste/pasteword.htm'; // Relative to theme 
+						template['width']  = 450; 
+						template['height'] = 400; 
+						var plain_text = ""; 
+						tinyMCE.openWindow(template, {editor_id : editor_id, plain_text: plain_text, resizable : "yes", scrollbars : "no", inline : "yes", mceDo : 'insert'});
+					}
+				} else
+					TinyMCE_PastePlugin._insertWordContent(value);
+
+				return true;
+
+			case "mceSelectAll":
+				tinyMCE.execInstanceCommand(editor_id, 'selectall'); 
+				return true; 
+
+		} 
+
+		// Pass to next handler in chain 
+		return false; 
+	},
+
+	// Private plugin internal methods
+
+	_handlePasteEvent : function(e) {
+		switch (e.type) {
+			case "paste":
+				var html = TinyMCE_PastePlugin._clipboardHTML();
+				var r, inst = tinyMCE.selectedInstance;
+
+				// Removes italic, strong etc, the if was needed due to bug #1437114
+				if (inst && (r = inst.getRng()) && r.text.length > 0)
+					tinyMCE.execCommand('delete');
+
+				if (html && html.length > 0)
+					tinyMCE.execCommand('mcePasteWord', false, html);
+
+				tinyMCE.cancelEvent(e);
+				return false;
+		}
+
+		return true;
+	},
+
+	_insertText : function(content, bLinebreaks) { 
+		if (content && content.length > 0) {
+			if (bLinebreaks) { 
+				// Special paragraph treatment 
+				if (tinyMCE.getParam("paste_create_paragraphs", true)) {
+					var rl = tinyMCE.getParam("paste_replace_list", '\u2122,<sup>TM</sup>,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(',');
+					for (var i=0; i<rl.length; i+=2)
+						content = content.replace(new RegExp(rl[i], 'gi'), rl[i+1]);
+
+					content = tinyMCE.regexpReplace(content, "\r\n\r\n", "</p><p>", "gi"); 
+					content = tinyMCE.regexpReplace(content, "\r\r", "</p><p>", "gi"); 
+					content = tinyMCE.regexpReplace(content, "\n\n", "</p><p>", "gi"); 
+
+					// Has paragraphs 
+					if ((pos = content.indexOf('</p><p>')) != -1) { 
+						tinyMCE.execCommand("Delete"); 
+
+						var node = tinyMCE.selectedInstance.getFocusElement(); 
+
+						// Get list of elements to break 
+						var breakElms = new Array(); 
+
+						do { 
+							if (node.nodeType == 1) { 
+								// Don't break tables and break at body 
+								if (node.nodeName == "TD" || node.nodeName == "BODY") 
+									break; 
+		
+								breakElms[breakElms.length] = node; 
+							} 
+						} while(node = node.parentNode); 
+
+						var before = "", after = "</p>"; 
+						before += content.substring(0, pos); 
+
+						for (var i=0; i<breakElms.length; i++) { 
+							before += "</" + breakElms[i].nodeName + ">"; 
+							after += "<" + breakElms[(breakElms.length-1)-i].nodeName + ">"; 
+						} 
+
+						before += "<p>"; 
+						content = before + content.substring(pos+7) + after; 
+					} 
+				} 
+
+				if (tinyMCE.getParam("paste_create_linebreaks", true)) {
+					content = tinyMCE.regexpReplace(content, "\r\n", "<br />", "gi"); 
+					content = tinyMCE.regexpReplace(content, "\r", "<br />", "gi"); 
+					content = tinyMCE.regexpReplace(content, "\n", "<br />", "gi"); 
+				}
+			} 
+		
+			tinyMCE.execCommand("mceInsertRawHTML", false, content); 
+		}
+	},
+
+	_insertWordContent : function(content) { 
+		if (content && content.length > 0) {
+			// Cleanup Word content
+			var bull = String.fromCharCode(8226);
+			var middot = String.fromCharCode(183);
+			var cb;
+
+			if ((cb = tinyMCE.getParam("paste_insert_word_content_callback", "")) != "")
+				content = eval(cb + "('before', content)");
+
+			var rl = tinyMCE.getParam("paste_replace_list", '\u2122,<sup>TM</sup>,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(',');
+			for (var i=0; i<rl.length; i+=2)
+				content = content.replace(new RegExp(rl[i], 'gi'), rl[i+1]);
+
+			if (tinyMCE.getParam("paste_convert_headers_to_strong", false)) {
+				content = content.replace(new RegExp('<p class=MsoHeading.*?>(.*?)<\/p>', 'gi'), '<p><b>$1</b></p>');
+			}
+
+			content = content.replace(new RegExp('tab-stops: list [0-9]+.0pt">', 'gi'), '">' + "--list--");
+			content = content.replace(new RegExp(bull + "(.*?)<BR>", "gi"), "<p>" + middot + "$1</p>");
+			content = content.replace(new RegExp('<SPAN style="mso-list: Ignore">', 'gi'), "<span>" + bull); // Covert to bull list
+			content = content.replace(/<o:p><\/o:p>/gi, "");
+			content = content.replace(new RegExp('<br style="page-break-before: always;.*>', 'gi'), '-- page break --'); // Replace pagebreaks
+			content = content.replace(new RegExp('<(!--)([^>]*)(--)>', 'g'), "");  // Word comments
+
+			if (tinyMCE.getParam("paste_remove_spans", true))
+				content = content.replace(/<\/?span[^>]*>/gi, "");
+
+			if (tinyMCE.getParam("paste_remove_styles", true))
+				content = content.replace(new RegExp('<(\\w[^>]*) style="([^"]*)"([^>]*)', 'gi'), "<$1$3");
+
+			content = content.replace(/<\/?font[^>]*>/gi, "");
+
+			// Strips class attributes.
+			switch (tinyMCE.getParam("paste_strip_class_attributes", "all")) {
+				case "all":
+					content = content.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi, "<$1$3");
+					break;
+
+				case "mso":
+					content = content.replace(new RegExp('<(\\w[^>]*) class="?mso([^ |>]*)([^>]*)', 'gi'), "<$1$3");
+					break;
+			}
+
+			content = content.replace(new RegExp('href="?' + TinyMCE_PastePlugin._reEscape("" + document.location) + '', 'gi'), 'href="' + tinyMCE.settings['document_base_url']);
+			content = content.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi, "<$1$3");
+			content = content.replace(/<\\?\?xml[^>]*>/gi, "");
+			content = content.replace(/<\/?\w+:[^>]*>/gi, "");
+			content = content.replace(/-- page break --\s*<p>&nbsp;<\/p>/gi, ""); // Remove pagebreaks
+			content = content.replace(/-- page break --/gi, ""); // Remove pagebreaks
+
+	//		content = content.replace(/\/?&nbsp;*/gi, ""); &nbsp;
+	//		content = content.replace(/<p>&nbsp;<\/p>/gi, '');
+
+			if (!tinyMCE.settings['force_p_newlines']) {
+				content = content.replace('', '' ,'gi');
+				content = content.replace('</p>', '<br /><br />' ,'gi');
+			}
+
+			if (!tinyMCE.isMSIE && !tinyMCE.settings['force_p_newlines']) {
+				content = content.replace(/<\/?p[^>]*>/gi, "");
+			}
+
+			content = content.replace(/<\/?div[^>]*>/gi, "");
+
+			// Convert all middlot lists to UL lists
+			if (tinyMCE.getParam("paste_convert_middot_lists", true)) {
+				var div = document.createElement("div");
+				div.innerHTML = content;
+
+				// Convert all middot paragraphs to li elements
+				var className = tinyMCE.getParam("paste_unindented_list_class", "unIndentedList");
+
+				while (TinyMCE_PastePlugin._convertMiddots(div, "--list--")) ; // bull
+				while (TinyMCE_PastePlugin._convertMiddots(div, middot, className)) ; // Middot
+				while (TinyMCE_PastePlugin._convertMiddots(div, bull)) ; // bull
+
+				content = div.innerHTML;
+			}
+
+			// Replace all headers with strong and fix some other issues
+			if (tinyMCE.getParam("paste_convert_headers_to_strong", false)) {
+				content = content.replace(/<h[1-6]>&nbsp;<\/h[1-6]>/gi, '<p>&nbsp;&nbsp;</p>');
+				content = content.replace(/<h[1-6]>/gi, '<p><b>');
+				content = content.replace(/<\/h[1-6]>/gi, '</b></p>');
+				content = content.replace(/<b>&nbsp;<\/b>/gi, '<b>&nbsp;&nbsp;</b>');
+				content = content.replace(/^(&nbsp;)*/gi, '');
+			}
+
+			content = content.replace(/--list--/gi, ""); // Remove --list--
+
+			if ((cb = tinyMCE.getParam("paste_insert_word_content_callback", "")) != "")
+				content = eval(cb + "('after', content)");
+
+			// Insert cleaned content
+			tinyMCE.execCommand("mceInsertContent", false, content);
+
+			if (tinyMCE.getParam('paste_force_cleanup_wordpaste', true))
+				window.setTimeout('tinyMCE.execCommand("mceCleanup");', 1); // Do normal cleanup detached from this thread
+		}
+	},
+
+	_reEscape : function(s) {
+		var l = "?.\\*[](){}+^$:";
+		var o = "";
+
+		for (var i=0; i<s.length; i++) {
+			var c = s.charAt(i);
+
+			if (l.indexOf(c) != -1)
+				o += '\\' + c;
+			else
+				o += c;
+		}
+
+		return o;
+	},
+
+	_convertMiddots : function(div, search, class_name) {
+		var mdot = String.fromCharCode(183);
+		var bull = String.fromCharCode(8226);
+
+		var nodes = div.getElementsByTagName("p");
+		var prevul;
+		for (var i=0; i<nodes.length; i++) {
+			var p = nodes[i];
+
+			// Is middot
+			if (p.innerHTML.indexOf(search) == 0) {
+				var ul = document.createElement("ul");
+
+				if (class_name)
+					ul.className = class_name;
+
+				// Add the first one
+				var li = document.createElement("li");
+				li.innerHTML = p.innerHTML.replace(new RegExp('' + mdot + '|' + bull + '|--list--|&nbsp;', "gi"), '');
+				ul.appendChild(li);
+
+				// Add the rest
+				var np = p.nextSibling;
+				while (np) {
+			        // If the node is whitespace, then
+			        // ignore it and continue on.
+			        if (np.nodeType == 3 && new RegExp('^\\s$', 'm').test(np.nodeValue)) {
+			                np = np.nextSibling;
+			                continue;
+			        }
+
+					if (search == mdot) {
+					        if (np.nodeType == 1 && new RegExp('^o(\\s+|&nbsp;)').test(np.innerHTML)) {
+					                // Second level of nesting
+					                if (!prevul) {
+					                        prevul = ul;
+					                        ul = document.createElement("ul");
+					                        prevul.appendChild(ul);
+					                }
+					                np.innerHTML = np.innerHTML.replace(/^o/, '');
+					        } else {
+					                // Pop the stack if we're going back up to the first level
+					                if (prevul) {
+					                        ul = prevul;
+					                        prevul = null;
+					                }
+					                // Not element or middot paragraph
+					                if (np.nodeType != 1 || np.innerHTML.indexOf(search) != 0)
+					                        break;
+					        }
+					} else {
+					        // Not element or middot paragraph
+					        if (np.nodeType != 1 || np.innerHTML.indexOf(search) != 0)
+					                break;
+				        }
+
+					var cp = np.nextSibling;
+					var li = document.createElement("li");
+					li.innerHTML = np.innerHTML.replace(new RegExp('' + mdot + '|' + bull + '|--list--|&nbsp;', "gi"), '');
+					np.parentNode.removeChild(np);
+					ul.appendChild(li);
+					np = cp;
+				}
+
+				p.parentNode.replaceChild(ul, p);
+
+				return true;
+			}
+		}
+
+		return false;
+	},
+
+	_clipboardHTML : function() {
+		var div = document.getElementById('_TinyMCE_clipboardHTML');
+
+		if (!div) {
+			var div = document.createElement('DIV');
+			div.id = '_TinyMCE_clipboardHTML';
+
+			with (div.style) {
+				visibility = 'hidden';
+				overflow = 'hidden';
+				position = 'absolute';
+				width = 1;
+				height = 1;
+			}
+
+			document.body.appendChild(div);
+		}
+
+		div.innerHTML = '';
+		var rng = document.body.createTextRange();
+		rng.moveToElementText(div);
+		rng.execCommand('Paste');
+		var html = div.innerHTML;
+		div.innerHTML = '';
+		return html;
+	}
+};
+
+tinyMCE.addPlugin("paste", TinyMCE_PastePlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/images/pastetext.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/images/pastetext.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/images/pasteword.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/images/pasteword.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/images/selectall.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/images/selectall.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/jscripts/pastetext.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/jscripts/pastetext.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/jscripts/pastetext.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+function saveContent() {
+	if (document.forms[0].htmlSource.value == '') {
+		tinyMCEPopup.close();
+		return false;
+	}
+
+	tinyMCEPopup.execCommand('mcePasteText', false, {
+		html : document.forms[0].htmlSource.value,
+		linebreaks : document.forms[0].linebreaks.checked
+	});
+
+	tinyMCEPopup.close();
+}
+
+function onLoadInit() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	// Remove Gecko spellchecking
+	if (tinyMCE.isGecko)
+		document.body.spellcheck = tinyMCE.getParam("gecko_spellcheck");
+
+	resizeInputs();
+}
+
+var wHeight=0, wWidth=0, owHeight=0, owWidth=0;
+
+function resizeInputs() {
+	if (!tinyMCE.isMSIE) {
+		wHeight = self.innerHeight-80;
+		wWidth = self.innerWidth-17;
+	} else {
+		wHeight = document.body.clientHeight-80;
+		wWidth = document.body.clientWidth-17;
+	}
+
+	document.forms[0].htmlSource.style.height = Math.abs(wHeight) + 'px';
+	document.forms[0].htmlSource.style.width  = Math.abs(wWidth) + 'px';
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/jscripts/pasteword.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/jscripts/pasteword.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/jscripts/pasteword.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,52 @@
+function saveContent() {
+	var html = document.getElementById("frmData").contentWindow.document.body.innerHTML;
+
+	if (html == ''){
+		tinyMCEPopup.close();
+		return false;
+	}
+
+	tinyMCEPopup.execCommand('mcePasteWord', false, html);
+	tinyMCEPopup.close();
+}
+
+function onLoadInit() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	// Fix for endless reloading in FF
+	window.setTimeout('createIFrame();', 10);
+}
+
+function createIFrame() {
+	document.getElementById('iframecontainer').innerHTML = '<iframe id="frmData" name="frmData" class="sourceIframe" src="blank.htm" height="280" width="400" frameborder="0" style="background-color:#FFFFFF; width:100%;" dir="ltr" wrap="soft"></iframe>';
+}
+
+var wHeight=0, wWidth=0, owHeight=0, owWidth=0;
+
+function initIframe(doc) {
+	var dir = tinyMCE.selectedInstance.settings['directionality'];
+
+	doc.body.dir = dir;
+
+	// Remove Gecko spellchecking
+	if (tinyMCE.isGecko)
+		doc.body.spellcheck = tinyMCE.getParam("gecko_spellcheck");
+
+	resizeInputs();
+}
+
+function resizeInputs() {
+	if (!tinyMCE.isMSIE) {
+		wHeight = self.innerHeight - 80;
+		wWidth = self.innerWidth - 18;
+	} else {
+		wHeight = document.body.clientHeight - 80;
+		wWidth = document.body.clientWidth - 18;
+	}
+
+	var elm = document.getElementById('frmData');
+	if (elm) {
+		elm.style.height = Math.abs(wHeight) + 'px';
+		elm.style.width  = Math.abs(wWidth) + 'px';
+	}
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,10 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+paste_text_desc : 'Paste as Plain Text',
+paste_text_title : 'Use CTRL+V on your keyboard to paste the text into the window.',
+paste_text_linebreaks : 'Keep linebreaks',
+paste_word_desc : 'Paste from Word',
+paste_word_title : 'Use CTRL+V on your keyboard to paste the text into the window.',
+selectall_desc : 'Select All'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/pastetext.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/pastetext.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/pastetext.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_paste_text_desc}</title>
+	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/pastetext.js"></script>
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('onLoadInit();');" onresize="resizeInputs();" style="display: none">
+<form name="source" onsubmit="saveContent();">
+	<div style="float: left" class="title">{$lang_paste_text_desc}</div>
+
+	<div style="float: right">
+		<input type="checkbox" name="linebreaks" id="linebreaks" class="wordWrapCode" checked="checked" /><label for="linebreaks">{$lang_paste_text_linebreaks}</label>
+	</div>
+
+	<br style="clear: both" />
+
+	<div>{$lang_paste_text_title}</div>
+
+	<textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,mono; font-size: 12px;" dir="ltr" wrap="soft"></textarea>
+
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" name="insert" value="{$lang_insert}" onclick="saveContent();" id="insert" />
+		</div>
+
+		<div style="float: right">
+			<input type="button" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
+		</div>
+	</div>
+</form>
+</body> 
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/pasteword.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/pasteword.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/pasteword.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+	<title>{$lang_paste_word_desc}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/pasteword.js"></script>
+	<link href="css/pasteword.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('onLoadInit();');" onresize="resizeInputs();" style="display: none">
+	<form name="source" onsubmit="saveContent();" action="#">
+		<div class="title">{$lang_paste_word_desc}</div>
+
+		<div>{$lang_paste_word_title}</div>
+
+		<div id="iframecontainer"></div>
+
+		<div class="mceActionPanel">
+			<div style="float: left">
+				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="saveContent();" />
+			</div>
+
+			<div style="float: right">
+				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+			</div>
+		</div>
+	</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/paste/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('preview');var TinyMCE_PreviewPlugin={getInfo:function(){return{longname:'Preview',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_preview.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"preview":return tinyMCE.getButtonHTML(cn,'lang_preview_desc','{$pluginurl}/images/preview.gif','mcePreview')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mcePreview":var previewPage=tinyMCE.getParam("plugin_preview_pageurl",null);var previewWidth=tinyMCE.getParam("plugin_preview_width","550");var previewHeight=tinyMCE.getParam("plugin_preview_height","600");if(previewPage){var template=new Array();template['file']=previewPage;template['width']=previewWidth;template['height']=previewHeight;tinyMCE.openWindow(template,{editor_id:editor_id,resizable:"yes",scrollbars:"yes!
 ",inline:"yes",content:tinyMCE.getContent(),content_css:tinyMCE.getParam("content_css")})}else{var win=window.open("","mcePreview","menubar=no,toolbar=no,scrollbars=yes,resizable=yes,left=20,top=20,width="+previewWidth+",height="+previewHeight);var html="",i;var c=tinyMCE.getContent();var pos=c.indexOf('<body'),pos2,css=tinyMCE.getParam("content_css").split(',');if(pos!=-1){pos=c.indexOf('>',pos);pos2=c.lastIndexOf('</body>');c=c.substring(pos+1,pos2)}html+=tinyMCE.getParam('doctype');html+='<html xmlns="http://www.w3.org/1999/xhtml">';html+='<head>';html+='<title>'+tinyMCE.getLang('lang_preview_desc')+'</title>';html+='<base href="'+tinyMCE.settings['base_href']+'" />';html+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';for(i=0;i<css.length;i++)html+='<link href="'+css[i]+'" rel="stylesheet" type="text/css" />';html+='<script type="text/javascript">';html+='window.opener.TinyMCE_PreviewPlugin._setDoc(document);';html+='window.opener.TinyMCE_Previe!
 wPlugin._setWin(window);';html+='writeFlash = window.opener.TinyMCE_Pr
eviewPlugin._writeFlash;';html+='writeShockWave = window.opener.TinyMCE_PreviewPlugin._writeShockWave;';html+='writeQuickTime = window.opener.TinyMCE_PreviewPlugin._writeQuickTime;';html+='writeRealMedia = window.opener.TinyMCE_PreviewPlugin._writeRealMedia;';html+='writeWindowsMedia = window.opener.TinyMCE_PreviewPlugin._writeWindowsMedia;';html+='writeEmbed = window.opener.TinyMCE_PreviewPlugin._writeEmbed;';html+='</script>';html+='</head>';html+='<body dir="'+tinyMCE.getParam("directionality")+'" onload="window.opener.TinyMCE_PreviewPlugin._onLoad();">';html+=c;html+='</body>';html+='</html>';win.document.write(html);win.document.close()}return true}return false},_setDoc:function(d){TinyMCE_PreviewPlugin._doc=d;d._embeds=new Array()},_setWin:function(d){TinyMCE_PreviewPlugin._win=d},_onLoad:function(){var nl,i,el=new Array(),d=TinyMCE_PreviewPlugin._doc,sv,ne;nl=d.getElementsByTagName("script");for(i=0;i<nl.length;i++){sv=tinyMCE.isMSIE?nl[i].innerHTML:nl[i].firstChild.n!
 odeValue;if(new RegExp('write(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)\\(.*','g').test(sv))el[el.length]=nl[i]}for(i=0;i<el.length;i++){ne=d.createElement("div");ne.innerHTML=d._embeds[i];el[i].parentNode.insertBefore(ne.firstChild,el[i])}},_writeFlash:function(p){p.src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],p.src);TinyMCE_PreviewPlugin._writeEmbed('D27CDB6E-AE6D-11cf-96B8-444553540000','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0','application/x-shockwave-flash',p)},_writeShockWave:function(p){p.src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],p.src);TinyMCE_PreviewPlugin._writeEmbed('166B1BCA-3F9C-11CF-8075-444553540000','http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0','application/x-director',p)},_writeQuickTime:function(p){p.src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],p.src);TinyMCE_PreviewPlugin._writeEmbed('0!
 2BF25D5-8C17-4B23-BC80-D3488ABDDC6B','http://www.apple.com/qtactivex/q
tplugin.cab#version=6,0,2,0','video/quicktime',p)},_writeRealMedia:function(p){p.src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],p.src);TinyMCE_PreviewPlugin._writeEmbed('CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0','audio/x-pn-realaudio-plugin',p)},_writeWindowsMedia:function(p){p.src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],p.src);p.url=p.src;TinyMCE_PreviewPlugin._writeEmbed('6BF52A52-394A-11D3-B153-00C04F79FAA6','http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701','application/x-mplayer2',p)},_writeEmbed:function(cls,cb,mt,p){var h='',n,d=TinyMCE_PreviewPlugin._doc,ne,c;h+='<object classid="clsid:'+cls+'" codebase="'+cb+'"';h+=typeof(p.id)!="undefined"?'id="'+p.id+'"':'';h+=typeof(p.name)!="undefined"?'name="'+p.name+'"':'';h+=typeof(p.width)!="undefined"?'width="'+p.width+'"':'';h+=typeof(p.height)!="undef!
 ined"?'height="'+p.height+'"':'';h+=typeof(p.align)!="undefined"?'align="'+p.align+'"':'';h+='>';for(n in p)h+='<param name="'+n+'" value="'+p[n]+'">';h+='<embed type="'+mt+'"';for(n in p)h+=n+'="'+p[n]+'" ';h+='></embed></object>';d._embeds[d._embeds.length]=h}};tinyMCE.addPlugin("preview",TinyMCE_PreviewPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,205 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('preview');
+
+var TinyMCE_PreviewPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Preview',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_preview.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	/**
+	 * Returns the HTML contents of the preview control.
+	 */
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "preview":
+				return tinyMCE.getButtonHTML(cn, 'lang_preview_desc', '{$pluginurl}/images/preview.gif', 'mcePreview');
+		}
+
+		return "";
+	},
+
+	/**
+	 * Executes the mcePreview command.
+	 */
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mcePreview":
+				var previewPage = tinyMCE.getParam("plugin_preview_pageurl", null);
+				var previewWidth = tinyMCE.getParam("plugin_preview_width", "550");
+				var previewHeight = tinyMCE.getParam("plugin_preview_height", "600");
+
+				// Use a custom preview page
+				if (previewPage) {
+					var template = new Array();
+
+					template['file'] = previewPage;
+					template['width'] = previewWidth;
+					template['height'] = previewHeight;
+
+					tinyMCE.openWindow(template, {editor_id : editor_id, resizable : "yes", scrollbars : "yes", inline : "yes", content : tinyMCE.getContent(), content_css : tinyMCE.getParam("content_css")});
+				} else {
+					var win = window.open("", "mcePreview", "menubar=no,toolbar=no,scrollbars=yes,resizable=yes,left=20,top=20,width=" + previewWidth + ",height="  + previewHeight);
+					var html = "", i;
+					var c = tinyMCE.getContent();
+					var pos = c.indexOf('<body'), pos2, css = tinyMCE.getParam("content_css").split(',');
+
+					if (pos != -1) {
+						pos = c.indexOf('>', pos);
+						pos2 = c.lastIndexOf('</body>');
+						c = c.substring(pos + 1, pos2);
+					}
+
+					html += tinyMCE.getParam('doctype');
+					html += '<html xmlns="http://www.w3.org/1999/xhtml">';
+					html += '<head>';
+					html += '<title>' + tinyMCE.getLang('lang_preview_desc') + '</title>';
+					html += '<base href="' + tinyMCE.settings['base_href'] + '" />';
+					html += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
+
+					for (i=0; i<css.length; i++)
+						html += '<link href="' + css[i] + '" rel="stylesheet" type="text/css" />';
+
+					html += '<script type="text/javascript">';
+					html += 'window.opener.TinyMCE_PreviewPlugin._setDoc(document);';
+					html += 'window.opener.TinyMCE_PreviewPlugin._setWin(window);';
+					html += 'writeFlash = window.opener.TinyMCE_PreviewPlugin._writeFlash;';
+					html += 'writeShockWave = window.opener.TinyMCE_PreviewPlugin._writeShockWave;';
+					html += 'writeQuickTime = window.opener.TinyMCE_PreviewPlugin._writeQuickTime;';
+					html += 'writeRealMedia = window.opener.TinyMCE_PreviewPlugin._writeRealMedia;';
+					html += 'writeWindowsMedia = window.opener.TinyMCE_PreviewPlugin._writeWindowsMedia;';
+					html += 'writeEmbed = window.opener.TinyMCE_PreviewPlugin._writeEmbed;';
+					html += '</script>';
+					html += '</head>';
+					html += '<body dir="' + tinyMCE.getParam("directionality") + '" onload="window.opener.TinyMCE_PreviewPlugin._onLoad();">';
+					html += c;
+					html += '</body>';
+					html += '</html>';
+
+					win.document.write(html);
+					win.document.close();
+				}
+
+				return true;
+		}
+
+		return false;
+	},
+
+	_setDoc : function(d) {
+		TinyMCE_PreviewPlugin._doc = d;
+		d._embeds = new Array();
+	},
+
+	_setWin : function(d) {
+		TinyMCE_PreviewPlugin._win = d;
+	},
+
+	_onLoad : function() {
+		var nl, i, el = new Array(), d = TinyMCE_PreviewPlugin._doc, sv, ne;
+
+		nl = d.getElementsByTagName("script");
+		for (i=0; i<nl.length; i++) {
+			sv = tinyMCE.isMSIE ? nl[i].innerHTML : nl[i].firstChild.nodeValue;
+
+			if (new RegExp('write(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)\\(.*', 'g').test(sv))
+				el[el.length] = nl[i];
+		}
+
+		for (i=0; i<el.length; i++) {
+			ne = d.createElement("div");
+			ne.innerHTML = d._embeds[i];
+			el[i].parentNode.insertBefore(ne.firstChild, el[i]);
+		}
+	},
+
+	_writeFlash : function(p) {
+		p.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], p.src);
+		TinyMCE_PreviewPlugin._writeEmbed(
+			'D27CDB6E-AE6D-11cf-96B8-444553540000',
+			'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
+			'application/x-shockwave-flash',
+			p
+		);
+	},
+
+	_writeShockWave : function(p) {
+		p.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], p.src);
+		TinyMCE_PreviewPlugin._writeEmbed(
+			'166B1BCA-3F9C-11CF-8075-444553540000',
+			'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0',
+			'application/x-director',
+			p
+		);
+	},
+
+	_writeQuickTime : function(p) {
+		p.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], p.src);
+		TinyMCE_PreviewPlugin._writeEmbed(
+			'02BF25D5-8C17-4B23-BC80-D3488ABDDC6B',
+			'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0',
+			'video/quicktime',
+			p
+		);
+	},
+
+	_writeRealMedia : function(p) {
+		p.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], p.src);
+		TinyMCE_PreviewPlugin._writeEmbed(
+			'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA',
+			'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
+			'audio/x-pn-realaudio-plugin',
+			p
+		);
+	},
+
+	_writeWindowsMedia : function(p) {
+		p.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], p.src);
+		p.url = p.src;
+		TinyMCE_PreviewPlugin._writeEmbed(
+			'6BF52A52-394A-11D3-B153-00C04F79FAA6',
+			'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701',
+			'application/x-mplayer2',
+			p
+		);
+	},
+
+	_writeEmbed : function(cls, cb, mt, p) {
+		var h = '', n, d = TinyMCE_PreviewPlugin._doc, ne, c;
+
+		h += '<object classid="clsid:' + cls + '" codebase="' + cb + '"';
+		h += typeof(p.id) != "undefined" ? 'id="' + p.id + '"' : '';
+		h += typeof(p.name) != "undefined" ? 'name="' + p.name + '"' : '';
+		h += typeof(p.width) != "undefined" ? 'width="' + p.width + '"' : '';
+		h += typeof(p.height) != "undefined" ? 'height="' + p.height + '"' : '';
+		h += typeof(p.align) != "undefined" ? 'align="' + p.align + '"' : '';
+		h += '>';
+
+		for (n in p)
+			h += '<param name="' + n + '" value="' + p[n] + '">';
+
+		h += '<embed type="' + mt + '"';
+
+		for (n in p)
+			h += n + '="' + p[n] + '" ';
+
+		h += '></embed></object>';
+
+		d._embeds[d._embeds.length] = h;
+	}
+};
+
+tinyMCE.addPlugin("preview", TinyMCE_PreviewPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/example.html
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/example.html	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/example.html	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,14 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script language="javascript" src="../../tiny_mce_popup.js"></script>
+<script type="text/javascript" src="jscripts/embed.js"></script>
+<title>Example of a custom preview page</title>
+<link href="{$content_css}" rel="stylesheet" type="text/css" />
+</head>
+<body>
+
+Editor contents: <br />
+{$content}
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/images/preview.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/images/preview.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/jscripts/embed.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/jscripts/embed.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/jscripts/embed.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,73 @@
+/**
+ * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose.
+ */
+
+function writeFlash(p) {
+	writeEmbed(
+		'D27CDB6E-AE6D-11cf-96B8-444553540000',
+		'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
+		'application/x-shockwave-flash',
+		p
+	);
+}
+
+function writeShockWave(p) {
+	writeEmbed(
+	'166B1BCA-3F9C-11CF-8075-444553540000',
+	'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0',
+	'application/x-director',
+		p
+	);
+}
+
+function writeQuickTime(p) {
+	writeEmbed(
+		'02BF25D5-8C17-4B23-BC80-D3488ABDDC6B',
+		'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0',
+		'video/quicktime',
+		p
+	);
+}
+
+function writeRealMedia(p) {
+	writeEmbed(
+		'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA',
+		'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
+		'audio/x-pn-realaudio-plugin',
+		p
+	);
+}
+
+function writeWindowsMedia(p) {
+	p.url = p.src;
+	writeEmbed(
+		'6BF52A52-394A-11D3-B153-00C04F79FAA6',
+		'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701',
+		'application/x-mplayer2',
+		p
+	);
+}
+
+function writeEmbed(cls, cb, mt, p) {
+	var h = '', n;
+
+	h += '<object classid="clsid:' + cls + '" codebase="' + cb + '"';
+	h += typeof(p.id) != "undefined" ? 'id="' + p.id + '"' : '';
+	h += typeof(p.name) != "undefined" ? 'name="' + p.name + '"' : '';
+	h += typeof(p.width) != "undefined" ? 'width="' + p.width + '"' : '';
+	h += typeof(p.height) != "undefined" ? 'height="' + p.height + '"' : '';
+	h += typeof(p.align) != "undefined" ? 'align="' + p.align + '"' : '';
+	h += '>';
+
+	for (n in p)
+		h += '<param name="' + n + '" value="' + p[n] + '">';
+
+	h += '<embed type="' + mt + '"';
+
+	for (n in p)
+		h += n + '="' + p[n] + '" ';
+
+	h += '></embed></object>';
+
+	document.write(h);
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/ca_fr.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/ca_fr.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/ca_fr.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+// CAN_FR lang variables
+
+tinyMCELang['lang_preview_desc'] = 'Pr&eacute;visualisation';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/de.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/de.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/de.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+// UK lang variables
+
+tinyMCELang['lang_preview_desc'] = 'Vorschau';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/el.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/el.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/el.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+// Greek lang variables by Jacaranda Bill
+
+tinyMCELang['lang_preview_desc'] = 'Ðñïåðéóêüðçóç éóôïóåëßäáò';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+preview_desc : 'Preview'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/it.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/it.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/it.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+// IT lang variables
+
+tinyMCELang['lang_preview_desc'] = 'Anteprima';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/ko.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/ko.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/ko.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+// KO lang variables
+
+tinyMCELang['lang_preview_desc'] = '¹Ì¸®º¸±â';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/se.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/se.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/se.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+// SE lang variables
+
+tinyMCELang['lang_preview_desc'] = 'Förhandsgranska';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/uk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/uk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/langs/uk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+// UK lang variables
+
+tinyMCELang['lang_preview_desc'] = 'Preview';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/preview/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('print');var TinyMCE_PrintPlugin={getInfo:function(){return{longname:'Print',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_print.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"print":return tinyMCE.getButtonHTML(cn,'lang_print_desc','{$pluginurl}/images/print.gif','mcePrint')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mcePrint":tinyMCE.getInstanceById(editor_id).contentWindow.print();return true}return false}};tinyMCE.addPlugin("print",TinyMCE_PrintPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,47 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import theme	specific language pack */
+tinyMCE.importPluginLanguagePack('print');
+
+var TinyMCE_PrintPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Print',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_print.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	getControlHTML : function(cn)	{
+		switch (cn) {
+			case "print":
+				return tinyMCE.getButtonHTML(cn, 'lang_print_desc', '{$pluginurl}/images/print.gif', 'mcePrint');
+		}
+
+		return "";
+	},
+
+	/**
+	 * Executes	the	search/replace commands.
+	 */
+	execCommand : function(editor_id, element, command,	user_interface,	value) {
+		// Handle commands
+		switch (command) {
+			case "mcePrint":
+				tinyMCE.getInstanceById(editor_id).contentWindow.print();
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	}
+};
+
+tinyMCE.addPlugin("print", TinyMCE_PrintPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/images/print.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/images/print.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+print_desc : 'Print'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/print/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+This is the location you place TinyMCE plugins.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('save');var TinyMCE_SavePlugin={getInfo:function(){return{longname:'Save',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_save.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){inst.addShortcut('ctrl','s','lang_save_desc','mceSave')},getControlHTML:function(cn){switch(cn){case"save":return tinyMCE.getButtonHTML(cn,'lang_save_desc','{$pluginurl}/images/save.gif','mceSave')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceSave":if(tinyMCE.getParam("fullscreen_is_enabled"))return true;var inst=tinyMCE.selectedInstance;var formObj=inst.formElement.form;if(tinyMCE.getParam("save_enablewhendirty")&&!inst.isDirty())return true;if(formObj){tinyMCE.triggerSave();var os;if((os=tinyMCE.getParam("save_onsavecallback"))){if(eval(os+'(inst);')){inst.startContent=tinyMCE.trim(inst.get!
 Body().innerHTML);tinyMCE.triggerNodeChange(false,true)}return true}for(var i=0;i<formObj.elements.length;i++){var elementId=formObj.elements[i].name?formObj.elements[i].name:formObj.elements[i].id;if(elementId.indexOf('mce_editor_')==0)formObj.elements[i].disabled=true}tinyMCE.isNotDirty=true;if(formObj.onsubmit==null||formObj.onsubmit()!=false)inst.formElement.form.submit()}else alert("Error: No form element found.");return true}return false},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(tinyMCE.getParam("fullscreen_is_enabled")){tinyMCE.switchClass(editor_id+'_save','mceButtonDisabled');return true}if(tinyMCE.getParam("save_enablewhendirty")){var inst=tinyMCE.getInstanceById(editor_id);if(inst.isDirty()){tinyMCE.switchClass(editor_id+'_save','mceButtonNormal');return true}tinyMCE.switchClass(editor_id+'_save','mceButtonDisabled')}return true}};tinyMCE.addPlugin("save",TinyMCE_SavePlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,115 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('save');
+
+var TinyMCE_SavePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Save',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_save.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		inst.addShortcut('ctrl', 's', 'lang_save_desc', 'mceSave');
+	},
+
+	/**
+	 * Returns the HTML contents of the save control.
+	 */
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "save":
+				return tinyMCE.getButtonHTML(cn, 'lang_save_desc', '{$pluginurl}/images/save.gif', 'mceSave');
+		}
+
+		return "";
+	},
+
+	/**
+	 * Executes the save command.
+	 */
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceSave":
+				if (tinyMCE.getParam("fullscreen_is_enabled"))
+					return true;
+
+				var inst = tinyMCE.selectedInstance;
+				var formObj = inst.formElement.form;
+
+				if (tinyMCE.getParam("save_enablewhendirty") && !inst.isDirty())
+					return true;
+
+				if (formObj) {
+					tinyMCE.triggerSave();
+
+					// Use callback instead
+					var os;
+					if ((os = tinyMCE.getParam("save_onsavecallback"))) {
+						if (eval(os + '(inst);')) {
+							inst.startContent = tinyMCE.trim(inst.getBody().innerHTML);
+							/*inst.undoLevels = new Array();
+							inst.undoIndex = 0;
+							inst.typingUndoIndex = -1;
+							inst.undoRedo = true;
+							inst.undoLevels[inst.undoLevels.length] = inst.startContent;*/
+							tinyMCE.triggerNodeChange(false, true);
+						}
+
+						return true;
+					}
+
+					// Disable all UI form elements that TinyMCE created
+					for (var i=0; i<formObj.elements.length; i++) {
+						var elementId = formObj.elements[i].name ? formObj.elements[i].name : formObj.elements[i].id;
+
+						if (elementId.indexOf('mce_editor_') == 0)
+							formObj.elements[i].disabled = true;
+					}
+
+					tinyMCE.isNotDirty = true;
+
+					if (formObj.onsubmit == null || formObj.onsubmit() != false)
+						inst.formElement.form.submit();
+				} else
+					alert("Error: No form element found.");
+
+				return true;
+		}
+		// Pass to next handler in chain
+		return false;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		if (tinyMCE.getParam("fullscreen_is_enabled")) {
+			tinyMCE.switchClass(editor_id + '_save', 'mceButtonDisabled');
+			return true;
+		}
+
+		if (tinyMCE.getParam("save_enablewhendirty")) {
+			var inst = tinyMCE.getInstanceById(editor_id);
+
+			if (inst.isDirty()) {
+				tinyMCE.switchClass(editor_id + '_save', 'mceButtonNormal');
+				return true;
+			}
+
+			tinyMCE.switchClass(editor_id + '_save', 'mceButtonDisabled');
+		}
+
+		return true;
+	}
+};
+
+tinyMCE.addPlugin("save", TinyMCE_SavePlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/images/save.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/images/save.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+save_desc : 'Save'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/save/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/css/searchreplace.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/css/searchreplace.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/css/searchreplace.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,20 @@
+/* stylesheet for advsearchreplace plugin*/
+
+.panel_wrapper { height: 85px; }
+.panel_wrapper div.current { height: 85px; }
+
+/* MS IE only styles */
+* html .panel_wrapper { height: 100px; }
+* html .panel_wrapper div.current { height: 100px; }
+
+#replaceBtn, #replaceAllBtn {
+	padding-bottom: 2px;
+	font-weight: bold;
+	width: 90px;
+	height: 21px;
+	border: 0;
+	cursor: pointer;
+}
+
+#replaceBtn { background: url(../images/replace_button_bg.gif); }
+#replaceAllBtn { background: url(../images/replace_all_button_bg.gif); }

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('searchreplace');var TinyMCE_SearchReplacePlugin={getInfo:function(){return{longname:'Search/Replace',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_searchreplace.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){inst.addShortcut('ctrl','f','lang_searchreplace_search_desc','mceSearch',true);},getControlHTML:function(cn){switch(cn){case"search":return tinyMCE.getButtonHTML(cn,'lang_searchreplace_search_desc','{$pluginurl}/images/search.gif','mceSearch',true);case"replace":return tinyMCE.getButtonHTML(cn,'lang_searchreplace_replace_desc','{$pluginurl}/images/replace.gif','mceSearchReplace',true)}return""},execCommand:function(editor_id,element,command,user_interface,value){var inst=tinyMCE.getInstanceById(editor_id),selectedText=inst.selection.getSelectedText(),rng;function defValue(key,default_value){value[key]=typeof(valu!
 e[key])=="undefined"?default_value:value[key]}function replaceSel(search_str,str,back){inst.execCommand('mceInsertContent',false,str)}if(!value)value=[];defValue("editor_id",editor_id);defValue("searchstring",selectedText);defValue("replacestring",null);defValue("replacemode","none");defValue("casesensitive",false);defValue("backwards",false);defValue("wrap",false);defValue("wholeword",false);defValue("inline","yes");defValue("resizable","no");switch(command){case"mceResetSearch":tinyMCE.lastSearchRng=null;return true;case"mceSearch":if(user_interface){var template=new Array();template['file']='../../plugins/searchreplace/searchreplace.htm';template['width']=380;template['height']=155+(tinyMCE.isNS7?20:0)+(tinyMCE.isMSIE?15:0);template['width']+=tinyMCE.getLang('lang_searchreplace_delta_width',0);template['height']+=tinyMCE.getLang('lang_searchreplace_delta_height',0);inst.execCommand('SelectAll');if(tinyMCE.isMSIE){var r=inst.selection.getRng();r.collapse(true);r.select()}!
 else inst.selection.getSel().collapseToStart();tinyMCE.openWindow(temp
late,value)}else{var win=tinyMCE.getInstanceById(editor_id).contentWindow;var doc=tinyMCE.getInstanceById(editor_id).contentWindow.document;var body=tinyMCE.getInstanceById(editor_id).contentWindow.document.body;if(body.innerHTML==""){alert(tinyMCE.getLang('lang_searchreplace_notfound'));return true}if(value['replacemode']=="current"){replaceSel(value['string'],value['replacestring'],value['backwards']);value['replacemode']="none";tinyMCE.execInstanceCommand(editor_id,'mceSearch',user_interface,value,false);return true}if(tinyMCE.isMSIE){var rng=tinyMCE.lastSearchRng?tinyMCE.lastSearchRng:doc.selection.createRange();var flags=0;if(value['wholeword'])flags=flags|2;if(value['casesensitive'])flags=flags|4;if(!rng.findText){alert('This operation is currently not supported by this browser.');return true}if(value['replacemode']=="all"){while(rng.findText(value['string'],value['backwards']?-1:1,flags)){rng.scrollIntoView();rng.select();rng.collapse(false);replaceSel(value['string']!
 ,value['replacestring'],value['backwards'])}alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));return true}if(rng.findText(value['string'],value['backwards']?-1:1,flags)){rng.scrollIntoView();rng.select();rng.collapse(value['backwards']);tinyMCE.lastSearchRng=rng}else alert(tinyMCE.getLang('lang_searchreplace_notfound'))}else{if(value['replacemode']=="all"){while(win.find(value['string'],value['casesensitive'],value['backwards'],value['wrap'],value['wholeword'],false,false))replaceSel(value['string'],value['replacestring'],value['backwards']);alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));return true}if(!win.find(value['string'],value['casesensitive'],value['backwards'],value['wrap'],value['wholeword'],false,false))alert(tinyMCE.getLang('lang_searchreplace_notfound'))}}return true;case"mceSearchReplace":value['replacestring']="";tinyMCE.execInstanceCommand(editor_id,'mceSearch',user_interface,value,false);return true}return false}};tinyMCE.addPlugin("searchr!
 eplace",TinyMCE_SearchReplacePlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,164 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+tinyMCE.importPluginLanguagePack('searchreplace');
+
+var TinyMCE_SearchReplacePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Search/Replace',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_searchreplace.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function (inst) {
+		inst.addShortcut('ctrl', 'f', 'lang_searchreplace_search_desc', 'mceSearch', true);
+		// No CTRL+R for "replace" because browsers will reload page instead of executing plugin
+	},
+
+	getControlHTML : function (cn) {
+		switch (cn) {
+			case "search" :
+				return tinyMCE.getButtonHTML(cn, 'lang_searchreplace_search_desc', '{$pluginurl}/images/search.gif','mceSearch', true);
+
+			case "replace" :
+				return tinyMCE.getButtonHTML(cn, 'lang_searchreplace_replace_desc', '{$pluginurl}/images/replace.gif', 'mceSearchReplace', true);
+		}
+
+		return "";
+	},
+
+	execCommand : function (editor_id, element, command, user_interface, value) {
+		var inst = tinyMCE.getInstanceById(editor_id), selectedText = inst.selection.getSelectedText(), rng;
+
+		function defValue(key, default_value) {
+			value[key] = typeof(value[key]) == "undefined" ? default_value : value[key];
+		}
+
+		function replaceSel(search_str, str, back) {
+			inst.execCommand('mceInsertContent', false, str);
+		}
+
+		if (!value)
+			value = [];
+
+		defValue("editor_id", editor_id);
+		defValue("searchstring", selectedText);
+		defValue("replacestring", null);
+		defValue("replacemode", "none");
+		defValue("casesensitive", false);
+		defValue("backwards", false);
+		defValue("wrap", false);
+		defValue("wholeword", false);
+		defValue("inline", "yes");
+		defValue("resizable", "no");
+
+		switch (command) {
+			case "mceResetSearch" :
+				tinyMCE.lastSearchRng = null;
+				return true;
+
+			case "mceSearch" :
+				if (user_interface) {
+					var template = new Array();
+
+					template['file'] = '../../plugins/searchreplace/searchreplace.htm';
+					template['width'] = 380;
+					template['height'] = 155 + (tinyMCE.isNS7 ? 20 : 0) + (tinyMCE.isMSIE ? 15 : 0);
+					template['width'] += tinyMCE.getLang('lang_searchreplace_delta_width', 0);
+					template['height'] += tinyMCE.getLang('lang_searchreplace_delta_height', 0);
+
+					inst.execCommand('SelectAll');
+
+					if (tinyMCE.isMSIE) {
+						var r = inst.selection.getRng();
+						r.collapse(true);
+						r.select();
+					} else
+						inst.selection.getSel().collapseToStart();
+
+					tinyMCE.openWindow(template, value);
+				} else {
+					var win = tinyMCE.getInstanceById(editor_id).contentWindow;
+					var doc = tinyMCE.getInstanceById(editor_id).contentWindow.document;
+					var body = tinyMCE.getInstanceById(editor_id).contentWindow.document.body;
+					if (body.innerHTML == "") {
+						alert(tinyMCE.getLang('lang_searchreplace_notfound'));
+						return true;
+					}
+
+					if (value['replacemode'] == "current") {
+						replaceSel(value['string'], value['replacestring'], value['backwards']);
+						value['replacemode'] = "none";
+						tinyMCE.execInstanceCommand(editor_id, 'mceSearch', user_interface, value, false);
+						return true;
+					}
+
+					if (tinyMCE.isMSIE) {
+						var rng = tinyMCE.lastSearchRng ? tinyMCE.lastSearchRng : doc.selection.createRange();
+						var flags = 0;
+						if (value['wholeword'])
+							flags = flags | 2;
+
+						if (value['casesensitive'])
+							flags = flags | 4;
+
+						if (!rng.findText) {
+							alert('This operation is currently not supported by this browser.');
+							return true;
+						}
+
+						if (value['replacemode'] == "all") {
+							while (rng.findText(value['string'], value['backwards'] ? -1 : 1, flags)) {
+								rng.scrollIntoView();
+								rng.select();
+								rng.collapse(false);
+								replaceSel(value['string'], value['replacestring'], value['backwards']);
+							}
+
+							alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));
+							return true;
+						}
+
+						if (rng.findText(value['string'], value['backwards'] ? -1 : 1, flags)) {
+							rng.scrollIntoView();
+							rng.select();
+							rng.collapse(value['backwards']);
+							tinyMCE.lastSearchRng = rng;
+						} else
+							alert(tinyMCE.getLang('lang_searchreplace_notfound'));
+
+					} else {
+						if (value['replacemode'] == "all") {
+							while (win.find(value['string'], value['casesensitive'], value['backwards'], value['wrap'], value['wholeword'], false, false))
+								replaceSel(value['string'], value['replacestring'], value['backwards']);
+
+							alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));
+							return true;
+						}
+
+						if (!win.find(value['string'], value['casesensitive'], value['backwards'], value['wrap'], value['wholeword'], false, false))
+							alert(tinyMCE.getLang('lang_searchreplace_notfound'));
+					}
+				}
+
+				return true;
+
+			case "mceSearchReplace" :
+				value['replacestring'] = "";
+				tinyMCE.execInstanceCommand(editor_id, 'mceSearch', user_interface, value, false);
+				return true;
+		}
+
+		return false;
+	}
+};
+
+tinyMCE.addPlugin("searchreplace", TinyMCE_SearchReplacePlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/replace.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/replace.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/replace_all_button_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/replace_all_button_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/replace_button_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/replace_button_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/search.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/images/search.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/jscripts/searchreplace.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/jscripts/searchreplace.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/jscripts/searchreplace.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,85 @@
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	// start with appropiate tab
+	var task = (tinyMCE.getWindowArg("replacestring") != null) ? "replace" : "search";
+	mcTabs.displayTab(task + '_tab', task +'_panel');
+	manageReplaceButtons();
+	
+	var formObj = document.forms[0];
+
+	formObj[task + "_panel_searchstring"].value = tinyMCE.getWindowArg("searchstring");
+	formObj["replace_panel_replacestring"].value = (tinyMCE.getWindowArg("replacestring") != null) ? tinyMCE.getWindowArg("replacestring") : "";
+	formObj[task + "_panel_casesensitivebox"].checked = tinyMCE.getWindowArg("casesensitive");
+	formObj[task + "_panel_backwardsu"].checked = tinyMCE.getWindowArg("backwards");
+	formObj[task + "_panel_backwardsd"].checked = !tinyMCE.getWindowArg("backwards");
+
+	tinyMCEPopup.execCommand("mceResetSearch", false, {dummy : ""}, false);
+}
+
+function searchNext(replacemode) {
+	// "search" or "replace" mode of operation?
+	var task = (document.getElementById("search_tab").className == "current") ? "search" : "replace";
+
+	var formObj = document.forms[0];
+
+	if (task == "replace") {
+		// Whats the point?
+		if (formObj[task + "_panel_searchstring"].value == "" || formObj[task + "_panel_searchstring"].value == formObj[task + "_panel_replacestring"].value)
+			return;
+	}
+
+	// Do search
+	tinyMCEPopup.execCommand('mceSearch', false, { 
+		string : formObj[task + "_panel_searchstring"].value,
+		replacestring : formObj["replace_panel_replacestring"].value,
+		replacemode : replacemode,
+		casesensitive : formObj[task + "_panel_casesensitivebox"].checked,
+		backwards : false
+		}, false);
+
+	window.focus();
+}
+
+function cancelAction() {
+	tinyMCEPopup.close();
+}
+
+function manageReplaceButtons() {
+	// "search" or "replace" mode of operation?
+	var task = (document.getElementById("search_tab").className == "current") ? "search" : "replace";
+	document.getElementById("replace_buttons").style.visibility = (task == "replace") ? "visible" : "hidden";
+}
+
+function copyValues(link) {
+	// check if tab is already active
+	var tab = link;
+	while (tab.tagName && tab.tagName.toLowerCase() != "li") tab = tab.parentNode;
+	if (tab.className) return false; // tab is already active -> no need to copy any values!
+
+	// copy values from one panel to the other (if they exist there)
+	var from_panel_name = tab.id.match(/^search/i) ? "replace_panel" : "search_panel";
+	var to_panel_name = (from_panel_name == "search_panel") ? "replace_panel" : "search_panel";
+
+	// find all elements with IDs to copy their values
+	var elms = document.getElementById(from_panel_name).getElementsByTagName("*");
+	for (var i = 0; i < elms.length; i++) {
+		if (elms[i].id && elms[i].id != "") {
+			var checked = "undefined";
+			if (elms[i].type.toLowerCase() == "checkbox" || elms[i].type.toLowerCase() == "radio")
+				checked = elms[i].checked;
+
+			// copy values if element exists in other panel
+			var to_elm_name = to_panel_name + elms[i].id.substring(from_panel_name.length, elms[i].id.length);
+			var to_elm = document.getElementById(to_elm_name);
+			if (to_elm) {
+				if (checked != "undefined")
+					to_elm.checked = checked;
+				else
+					to_elm.value = elms[i].value;
+			}
+		}
+	}
+
+	return false;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,21 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+searchreplace_search_desc : 'Find',
+searchreplace_searchnext_desc : 'Find again',
+searchreplace_replace_desc : 'Find/Replace',
+searchreplace_notfound : 'The search has been completed. The search string could not be found.',
+searchreplace_search_title : 'Find',
+searchreplace_replace_title : 'Find/Replace',
+searchreplace_allreplaced : 'All occurrences of the search string were replaced.',
+searchreplace_findwhat : 'Find what',
+searchreplace_replacewith : 'Replace with',
+searchreplace_direction : 'Direction',
+searchreplace_up : 'Up',
+searchreplace_down : 'Down',
+searchreplace_case : 'Match case',
+searchreplace_findnext : 'Find&nbsp;next',
+searchreplace_replace : 'Replace',
+searchreplace_replaceall : 'Replace&nbsp;all',
+searchreplace_cancel : 'Cancel'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/searchreplace.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/searchreplace.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/searchreplace/searchreplace.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,104 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_searchreplace_replace_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/searchreplace.js"></script>
+	<link rel="stylesheet" type="text/css" href="css/searchreplace.css" />
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none; margin: 4px;">
+<form onsubmit="return false;" action="#">
+	<div class="tabs">
+		<ul>
+			<li id="search_tab"><span><a href="javascript:mcTabs.displayTab('search_tab','search_panel');manageReplaceButtons();" onmousedown="return copyValues(this);">{$lang_searchreplace_search_desc}</a></span></li>
+			<li id="replace_tab"><span><a href="javascript:mcTabs.displayTab('replace_tab','replace_panel');manageReplaceButtons();" onmousedown="return copyValues(this);">{$lang_searchreplace_replace}</a></span></li>
+		</ul>
+	</div>
+
+	<div class="panel_wrapper">
+
+		<div id="search_panel" class="panel">
+			<table border="0" cellspacing="0" cellpadding="2">
+				<tr>
+					<td><label for="search_panel_searchstring">{$lang_searchreplace_findwhat}</label></td>
+					<td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" /></td>
+				</tr>
+				<tr>
+					<td colspan="2">
+						<table border="0" cellspacing="0" cellpadding="0" class="direction">
+							<tr>
+								<td><label>{$lang_searchreplace_direction}</label></td>
+								<td><input id="search_panel_backwardsu" name="search_panel_backwards" class="radio" type="radio" /></td>
+								<td><label for="search_panel_backwardsu">{$lang_searchreplace_up}</label></td>
+								<td><input id="search_panel_backwardsd" name="search_panel_backwards" class="radio" type="radio" /></td>
+								<td><label for="search_panel_backwardsd">{$lang_searchreplace_down}</label></td>
+							</tr>
+						</table>
+					</td>
+				</tr>
+				<tr>
+					<td colspan="2">
+						<table border="0" cellspacing="0" cellpadding="0">
+							<tr>
+								<td><input id="search_panel_casesensitivebox" name="search_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
+								<td><label for="search_panel_casesensitivebox">{$lang_searchreplace_case}</label></td>
+							</tr>
+						</table>
+					</td>
+				</tr>
+			</table>
+		</div>
+
+		<div id="replace_panel" class="panel">
+			<table border="0" cellspacing="0" cellpadding="2">
+				<tr>
+					<td><label for="replace_panel_searchstring">{$lang_searchreplace_findwhat}</label></td>
+					<td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" /></td>
+				</tr>
+				<tr>
+					<td><label for="replace_panel_replacestring">{$lang_searchreplace_replacewith}</label></td>
+					<td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" /></td>
+				</tr>
+				<tr>
+					<td colspan="2">
+						<table border="0" cellspacing="0" cellpadding="0" class="direction">
+							<tr>
+								<td><label>{$lang_searchreplace_direction}</label></td>
+								<td><input id="replace_panel_backwardsu" name="replace_panel_backwards" class="radio" type="radio" /></td>
+								<td><label for="replace_panel_backwardsu">{$lang_searchreplace_up}</label></td>
+								<td><input id="replace_panel_backwardsd" name="replace_panel_backwards" class="radio" type="radio" /></td>
+								<td><label for="replace_panel_backwardsd">{$lang_searchreplace_down}</label></td>
+							</tr>
+						</table>
+					</td>
+				</tr>
+				<tr>
+					<td colspan="2">
+						<table border="0" cellspacing="0" cellpadding="0">
+							<tr>
+								<td><input id="replace_panel_casesensitivebox" name="replace_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
+								<td><label for="replace_panel_casesensitivebox">{$lang_searchreplace_case}</label></td>
+							</tr>
+						</table>
+					</td>
+				</tr>
+			</table>
+		</div>
+
+	</div>
+
+	<div class="mceActionPanel">
+		<div style="text-align: center;">
+			<input type="button" id="insert" name="insert" value="{$lang_searchreplace_findnext}" onclick="searchNext('none');" />
+			<span id="replace_buttons">
+				<input type="button" id="replaceBtn" name="replaceBtn" value="{$lang_searchreplace_replace}" onclick="searchNext('current');" />
+				<input type="button" id="replaceAllBtn" name="replaceAllBtn" value="{$lang_searchreplace_replaceall}" onclick="searchNext('all');;" />
+			</span>
+			<input type="button" id="cancel" name="cancel" value="{$lang_searchreplace_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/css/props.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/css/props.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/css/props.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,62 @@
+#text_font {
+	width: 250px;
+}
+
+#text_size {
+	width: 70px;
+}
+
+.mceAddSelectValue {
+	background-color: #DDDDDD;
+}
+
+select, #block_text_indent, #box_width, #box_height, #box_padding_top, #box_padding_right, #box_padding_bottom, #box_padding_left {
+	width: 70px;
+}
+
+#box_margin_top, #box_margin_right, #box_margin_bottom, #box_margin_left, #positioning_width, #positioning_height, #positioning_zindex {
+	width: 70px;
+}
+
+#positioning_placement_top, #positioning_placement_right, #positioning_placement_bottom, #positioning_placement_left {
+	width: 70px;
+}
+
+#positioning_clip_top, #positioning_clip_right, #positioning_clip_bottom, #positioning_clip_left {
+	width: 70px;
+}
+
+.panel_wrapper div.current {
+	padding-top: 10px;
+	height: 230px;
+}
+
+.delim {
+	border-left: 1px solid gray;
+}
+
+.tdelim {
+	border-bottom: 1px solid gray;	
+}
+
+#block_display {
+	width: 145px;
+}
+
+#list_type {
+	width: 115px;
+}
+
+.disabled {
+	background-color: #EEEEEE;
+}
+
+#apply {
+	font-weight: bold;
+	width: 78px;
+	height: 21px;
+	border: 0;
+	background-image: url('../images/apply_button_bg.gif');
+	cursor: pointer;
+}
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('style');var TinyMCE_StylePlugin={getInfo:function(){return{longname:'Style',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_style.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"styleprops":return tinyMCE.getButtonHTML(cn,'lang_style_styleinfo_desc','{$pluginurl}/images/styleprops.gif','mceStyleProps',true)}return""},execCommand:function(editor_id,element,command,user_interface,value){var e,inst;switch(command){case"mceStyleProps":TinyMCE_StylePlugin._styleProps();return true;case"mceSetElementStyle":inst=tinyMCE.getInstanceById(editor_id);e=inst.selection.getFocusElement();if(e){e.style.cssText=value;inst.repaint()}return true}return false},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){},_styleProps:function(){var e=tinyMCE.selectedInstance.selection.getFocusE!
 lement();if(!e)return;tinyMCE.openWindow({file:'../../plugins/style/props.htm',width:480+tinyMCE.getLang('lang_style_props_delta_width',0),height:320+tinyMCE.getLang('lang_style_props_delta_height',0)},{editor_id:tinyMCE.selectedInstance.editorId,inline:"yes",style_text:e.style.cssText})}};tinyMCE.addPlugin("style",TinyMCE_StylePlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,79 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('style');
+
+var TinyMCE_StylePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Style',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_style.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "styleprops":
+				return tinyMCE.getButtonHTML(cn, 'lang_style_styleinfo_desc', '{$pluginurl}/images/styleprops.gif', 'mceStyleProps', true);
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		var e, inst;
+
+		// Handle commands
+		switch (command) {
+			case "mceStyleProps":
+				TinyMCE_StylePlugin._styleProps();
+				return true;
+
+			case "mceSetElementStyle":
+				inst = tinyMCE.getInstanceById(editor_id);
+				e = inst.selection.getFocusElement();
+
+				if (e) {
+					e.style.cssText = value;
+					inst.repaint();
+				}
+
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+	},
+
+	// Private plugin specific methods
+
+	_styleProps : function() {
+		var e = tinyMCE.selectedInstance.selection.getFocusElement();
+
+		if (!e)
+			return;
+
+		tinyMCE.openWindow({
+			file : '../../plugins/style/props.htm',
+			width : 480 + tinyMCE.getLang('lang_style_props_delta_width', 0),
+			height : 320 + tinyMCE.getLang('lang_style_props_delta_height', 0)
+		}, {
+			editor_id : tinyMCE.selectedInstance.editorId,
+			inline : "yes",
+			style_text : e.style.cssText
+		});
+	}
+};
+
+tinyMCE.addPlugin("style", TinyMCE_StylePlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/images/apply_button_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/images/apply_button_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/images/style_info.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/images/style_info.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/images/styleprops.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/images/styleprops.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/jscripts/props.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/jscripts/props.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/jscripts/props.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,633 @@
+var defaultFonts = "" + 
+	"Arial, Helvetica, sans-serif=Arial, Helvetica, sans-serif;" + 
+	"Times New Roman, Times, serif=Times New Roman, Times, serif;" + 
+	"Courier New, Courier, mono=Courier New, Courier, mono;" + 
+	"Times New Roman, Times, serif=Times New Roman, Times, serif;" + 
+	"Georgia, Times New Roman, Times, serif=Georgia, Times New Roman, Times, serif;" + 
+	"Verdana, Arial, Helvetica, sans-serif=Verdana, Arial, Helvetica, sans-serif;" + 
+	"Geneva, Arial, Helvetica, sans-serif=Geneva, Arial, Helvetica, sans-serif";
+
+var defaultSizes = "9;10;12;14;16;18;24;xx-small;x-small;small;medium;large;x-large;xx-large;smaller;larger";
+var defaultMeasurement = "+pixels=px;points=pt;in;cm;mm;picas;ems;exs;%";
+var defaultSpacingMeasurement = "pixels=px;points=pt;in;cm;mm;picas;+ems;exs;%";
+var defaultIndentMeasurement = "pixels=px;+points=pt;in;cm;mm;picas;ems;exs;%";
+var defaultWeight = "normal;bold;bolder;lighter;100;200;300;400;500;600;700;800;900";
+var defaultTextStyle = "normal;italic;oblique";
+var defaultVariant = "normal;small-caps";
+var defaultLineHeight = "normal";
+var defaultAttachment = "fixed;scroll";
+var defaultRepeat = "no-repeat;repeat;repeat-x;repeat-y";
+var defaultPosH = "left;center;right";
+var defaultPosV = "top;center;bottom";
+var defaultVAlign = "baseline;sub;super;top;text-top;middle;bottom;text-bottom";
+var defaultDisplay = "inline;block;list-item;run-in;compact;marker;table;inline-table;table-row-group;table-header-group;table-footer-group;table-row;table-column-group;table-column;table-cell;table-caption;none";
+var defaultBorderStyle = "none;solid;dashed;dotted;double;groove;ridge;inset;outset";
+var defaultBorderWidth = "thin;medium;thick";
+var defaultListType = "disc;circle;square;decimal;lower-roman;upper-roman;lower-alpha;upper-alpha;none";
+
+function init() {
+	var ce = document.getElementById('container'), h;
+
+	ce.style.cssText = tinyMCEPopup.getWindowArg('style_text');
+
+	h = getBrowserHTML('background_image_browser','background_image','image','advimage');
+	document.getElementById("background_image_browser").innerHTML = h;
+
+	tinyMCEPopup.resizeToInnerSize();
+
+	document.getElementById('text_color_pickcontainer').innerHTML = getColorPickerHTML('text_color_pick','text_color');
+	document.getElementById('background_color_pickcontainer').innerHTML = getColorPickerHTML('background_color_pick','background_color');
+	document.getElementById('border_color_top_pickcontainer').innerHTML = getColorPickerHTML('border_color_top_pick','border_color_top');
+	document.getElementById('border_color_right_pickcontainer').innerHTML = getColorPickerHTML('border_color_right_pick','border_color_right');
+	document.getElementById('border_color_bottom_pickcontainer').innerHTML = getColorPickerHTML('border_color_bottom_pick','border_color_bottom');
+	document.getElementById('border_color_left_pickcontainer').innerHTML = getColorPickerHTML('border_color_left_pick','border_color_left');
+
+	fillSelect(0, 'text_font', 'style_font', defaultFonts, ';', true);
+	fillSelect(0, 'text_size', 'style_font_size', defaultSizes, ';', true);
+	fillSelect(0, 'text_size_measurement', 'style_font_size_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'text_case', 'style_text_case', "capitalize;uppercase;lowercase", ';', true);
+	fillSelect(0, 'text_weight', 'style_font_weight', defaultWeight, ';', true);
+	fillSelect(0, 'text_style', 'style_font_style', defaultTextStyle, ';', true);
+	fillSelect(0, 'text_variant', 'style_font_variant', defaultVariant, ';', true);
+	fillSelect(0, 'text_lineheight', 'style_font_line_height', defaultLineHeight, ';', true);
+	fillSelect(0, 'text_lineheight_measurement', 'style_font_line_height_measurement', defaultMeasurement, ';', true);
+
+	fillSelect(0, 'background_attachment', 'style_background_attachment', defaultAttachment, ';', true);
+	fillSelect(0, 'background_repeat', 'style_background_repeat', defaultRepeat, ';', true);
+
+	fillSelect(0, 'background_hpos_measurement', 'style_background_hpos_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'background_vpos_measurement', 'style_background_vpos_measurement', defaultMeasurement, ';', true);
+
+	fillSelect(0, 'background_hpos', 'style_background_hpos', defaultPosH, ';', true);
+	fillSelect(0, 'background_vpos', 'style_background_vpos', defaultPosV, ';', true);
+
+	fillSelect(0, 'block_wordspacing', 'style_wordspacing', 'normal', ';', true);
+	fillSelect(0, 'block_wordspacing_measurement', 'style_wordspacing_measurement', defaultSpacingMeasurement, ';', true);
+	fillSelect(0, 'block_letterspacing', 'style_letterspacing', 'normal', ';', true);
+	fillSelect(0, 'block_letterspacing_measurement', 'style_letterspacing_measurement', defaultSpacingMeasurement, ';', true);
+	fillSelect(0, 'block_vertical_alignment', 'style_vertical_alignment', defaultVAlign, ';', true);
+	fillSelect(0, 'block_text_align', 'style_text_align', "left;right;center;justify", ';', true);
+	fillSelect(0, 'block_whitespace', 'style_whitespace', "normal;pre;nowrap", ';', true);
+	fillSelect(0, 'block_display', 'style_display', defaultDisplay, ';', true);
+	fillSelect(0, 'block_text_indent_measurement', 'style_text_indent_measurement', defaultIndentMeasurement, ';', true);
+
+	fillSelect(0, 'box_width_measurement', 'style_box_width_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'box_height_measurement', 'style_box_height_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'box_float', 'style_float', 'left;right;none', ';', true);
+	fillSelect(0, 'box_clear', 'style_clear', 'left;right;both;none', ';', true);
+	fillSelect(0, 'box_padding_left_measurement', 'style_padding_left_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'box_padding_top_measurement', 'style_padding_top_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'box_padding_bottom_measurement', 'style_padding_bottom_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'box_padding_right_measurement', 'style_padding_right_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'box_margin_left_measurement', 'style_margin_left_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'box_margin_top_measurement', 'style_margin_top_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'box_margin_bottom_measurement', 'style_margin_bottom_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'box_margin_right_measurement', 'style_margin_right_measurement', defaultMeasurement, ';', true);
+
+	fillSelect(0, 'border_style_top', 'style_border_style_top', defaultBorderStyle, ';', true);
+	fillSelect(0, 'border_style_right', 'style_border_style_right', defaultBorderStyle, ';', true);
+	fillSelect(0, 'border_style_bottom', 'style_border_style_bottom', defaultBorderStyle, ';', true);
+	fillSelect(0, 'border_style_left', 'style_border_style_left', defaultBorderStyle, ';', true);
+
+	fillSelect(0, 'border_width_top', 'style_border_width_top', defaultBorderWidth, ';', true);
+	fillSelect(0, 'border_width_right', 'style_border_width_right', defaultBorderWidth, ';', true);
+	fillSelect(0, 'border_width_bottom', 'style_border_width_bottom', defaultBorderWidth, ';', true);
+	fillSelect(0, 'border_width_left', 'style_border_width_left', defaultBorderWidth, ';', true);
+
+	fillSelect(0, 'border_width_top_measurement', 'style_border_width_top_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'border_width_right_measurement', 'style_border_width_right_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'border_width_bottom_measurement', 'style_border_width_bottom_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'border_width_left_measurement', 'style_border_width_left_measurement', defaultMeasurement, ';', true);
+
+	fillSelect(0, 'list_type', 'style_list_type', defaultListType, ';', true);
+	fillSelect(0, 'list_position', 'style_list_position', "inside;outside", ';', true);
+
+	fillSelect(0, 'positioning_type', 'style_positioning_type', "absolute;relative;static", ';', true);
+	fillSelect(0, 'positioning_visibility', 'style_positioning_visibility', "inherit;visible;hidden", ';', true);
+
+	fillSelect(0, 'positioning_width_measurement', 'style_positioning_width_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'positioning_height_measurement', 'style_positioning_height_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'positioning_overflow', 'style_positioning_overflow', "visible;hidden;scroll;auto", ';', true);
+
+	fillSelect(0, 'positioning_placement_top_measurement', 'style_positioning_placement_top_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'positioning_placement_right_measurement', 'style_positioning_placement_right_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'positioning_placement_bottom_measurement', 'style_positioning_placement_bottom_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'positioning_placement_left_measurement', 'style_positioning_placement_left_measurement', defaultMeasurement, ';', true);
+
+	fillSelect(0, 'positioning_clip_top_measurement', 'style_positioning_clip_top_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'positioning_clip_right_measurement', 'style_positioning_clip_right_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'positioning_clip_bottom_measurement', 'style_positioning_clip_bottom_measurement', defaultMeasurement, ';', true);
+	fillSelect(0, 'positioning_clip_left_measurement', 'style_positioning_clip_left_measurement', defaultMeasurement, ';', true);
+
+	TinyMCE_EditableSelects.init();
+	setupFormData();
+	showDisabledControls();
+}
+
+function setupFormData() {
+	var ce = document.getElementById('container'), f = document.forms[0], s, b, i;
+
+	// Setup text fields
+
+	selectByValue(f, 'text_font', ce.style.fontFamily, true, true);
+	selectByValue(f, 'text_size', getNum(ce.style.fontSize), true, true);
+	selectByValue(f, 'text_size_measurement', getMeasurement(ce.style.fontSize));
+	selectByValue(f, 'text_weight', ce.style.fontWeight, true, true);
+	selectByValue(f, 'text_style', ce.style.fontStyle, true, true);
+	selectByValue(f, 'text_lineheight', getNum(ce.style.lineHeight), true, true);
+	selectByValue(f, 'text_lineheight_measurement', getMeasurement(ce.style.lineHeight));
+	selectByValue(f, 'text_case', ce.style.textTransform, true, true);
+	selectByValue(f, 'text_variant', ce.style.fontVariant, true, true);
+	f.text_color.value = ce.style.color;
+	updateColor('text_color_pick', 'text_color');
+	f.text_underline.checked = inStr(ce.style.textDecoration, 'underline');
+	f.text_overline.checked = inStr(ce.style.textDecoration, 'overline');
+	f.text_linethrough.checked = inStr(ce.style.textDecoration, 'line-through');
+	f.text_blink.checked = inStr(ce.style.textDecoration, 'blink');
+
+	// Setup background fields
+
+	f.background_color.value = ce.style.backgroundColor;
+	updateColor('background_color_pick', 'background_color');
+	f.background_image.value = ce.style.backgroundImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+	selectByValue(f, 'background_repeat', ce.style.backgroundRepeat, true, true);
+	selectByValue(f, 'background_attachment', ce.style.backgroundAttachment, true, true);
+	selectByValue(f, 'background_hpos', getNum(getVal(ce.style.backgroundPosition, 0)), true, true);
+	selectByValue(f, 'background_hpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 0)));
+	selectByValue(f, 'background_vpos', getNum(getVal(ce.style.backgroundPosition, 1)), true, true);
+	selectByValue(f, 'background_vpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 1)));
+
+	// Setup block fields
+
+	selectByValue(f, 'block_wordspacing', getNum(ce.style.wordSpacing), true, true);
+	selectByValue(f, 'block_wordspacing_measurement', getMeasurement(ce.style.wordSpacing));
+	selectByValue(f, 'block_letterspacing', getNum(ce.style.letterSpacing), true, true);
+	selectByValue(f, 'block_letterspacing_measurement', getMeasurement(ce.style.letterSpacing));
+	selectByValue(f, 'block_vertical_alignment', ce.style.verticalAlign, true, true);
+	selectByValue(f, 'block_text_align', ce.style.textAlign, true, true);
+	f.block_text_indent.value = getNum(ce.style.textIndent);
+	selectByValue(f, 'block_text_indent_measurement', getMeasurement(ce.style.textIndent));
+	selectByValue(f, 'block_whitespace', ce.style.whiteSpace, true, true);
+	selectByValue(f, 'block_display', ce.style.display, true, true);
+
+	// Setup box fields
+
+	f.box_width.value = getNum(ce.style.width);
+	selectByValue(f, 'box_width_measurement', getMeasurement(ce.style.width));
+
+	f.box_height.value = getNum(ce.style.height);
+	selectByValue(f, 'box_height_measurement', getMeasurement(ce.style.height));
+
+	if (tinyMCE.isGecko)
+		selectByValue(f, 'box_float', ce.style.cssFloat, true, true);
+	else
+		selectByValue(f, 'box_float', ce.style.styleFloat, true, true);
+
+	selectByValue(f, 'box_clear', ce.style.clear, true, true);
+
+	setupBox(f, ce, 'box_padding', 'padding', '');
+	setupBox(f, ce, 'box_margin', 'margin', '');
+
+	// Setup border fields
+
+	setupBox(f, ce, 'border_style', 'border', 'Style');
+	setupBox(f, ce, 'border_width', 'border', 'Width');
+	setupBox(f, ce, 'border_color', 'border', 'Color');
+
+	updateColor('border_color_top_pick', 'border_color_top');
+	updateColor('border_color_right_pick', 'border_color_right');
+	updateColor('border_color_bottom_pick', 'border_color_bottom');
+	updateColor('border_color_left_pick', 'border_color_left');
+
+	// Setup list fields
+
+	selectByValue(f, 'list_type', ce.style.listStyleType, true, true);
+	selectByValue(f, 'list_position', ce.style.listStylePosition, true, true);
+	f.list_bullet_image.value = ce.style.listStyleImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+
+	// Setup box fields
+
+	selectByValue(f, 'positioning_type', ce.style.position, true, true);
+	selectByValue(f, 'positioning_visibility', ce.style.visibility, true, true);
+	selectByValue(f, 'positioning_overflow', ce.style.overflow, true, true);
+	f.positioning_zindex.value = ce.style.zIndex ? ce.style.zIndex : "";
+
+	f.positioning_width.value = getNum(ce.style.width);
+	selectByValue(f, 'positioning_width_measurement', getMeasurement(ce.style.width));
+
+	f.positioning_height.value = getNum(ce.style.height);
+	selectByValue(f, 'positioning_height_measurement', getMeasurement(ce.style.height));
+
+	setupBox(f, ce, 'positioning_placement', '', '', new Array('top', 'right', 'bottom', 'left'));
+
+	s = ce.style.clip.replace(new RegExp("rect\\('?([^']*)'?\\)", 'gi'), "$1");
+	s = s.replace(/,/g, ' ');
+
+	if (!hasEqualValues(new Array(getVal(s, 0), getVal(s, 1), getVal(s, 2), getVal(s, 3)))) {
+		f.positioning_clip_top.value = getNum(getVal(s, 0));
+		selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0)));
+		f.positioning_clip_right.value = getNum(getVal(s, 1));
+		selectByValue(f, 'positioning_clip_right_measurement', getMeasurement(getVal(s, 1)));
+		f.positioning_clip_bottom.value = getNum(getVal(s, 2));
+		selectByValue(f, 'positioning_clip_bottom_measurement', getMeasurement(getVal(s, 2)));
+		f.positioning_clip_left.value = getNum(getVal(s, 3));
+		selectByValue(f, 'positioning_clip_left_measurement', getMeasurement(getVal(s, 3)));
+	} else {
+		f.positioning_clip_top.value = getNum(getVal(s, 0));
+		selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0)));
+		f.positioning_clip_right.value = f.positioning_clip_bottom.value = f.positioning_clip_left.value;
+	}
+
+//	setupBox(f, ce, '', 'border', 'Color');
+}
+
+function getMeasurement(s) {
+	return s.replace(/^([0-9]+)(.*)$/, "$2");
+}
+
+function getNum(s) {
+	if (new RegExp('^[0-9]+[a-z%]+$', 'gi').test(s))
+		return s.replace(/[^0-9]/g, '');
+
+	return s;
+}
+
+function inStr(s, n) {
+	return new RegExp(n, 'gi').test(s);
+}
+
+function getVal(s, i) {
+	var a = tinyMCE.explode(' ', s);
+
+	if (a.length > 1)
+		return a[i];
+
+	return "";
+}
+
+function setValue(f, n, v) {
+	if (f.elements[n].type == "text")
+		f.elements[n].value = v;
+	else
+		selectByValue(f, n, v, true, true);
+}
+
+function setupBox(f, ce, fp, pr, sf, b) {
+	if (typeof(b) == "undefined")
+		b = new Array('Top', 'Right', 'Bottom', 'Left');
+
+	if (isSame(ce, pr, sf, b)) {
+		f.elements[fp + "_same"].checked = true;
+
+		setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf]));
+		f.elements[fp + "_top"].disabled = false;
+
+		f.elements[fp + "_right"].value = "";
+		f.elements[fp + "_right"].disabled = true;
+		f.elements[fp + "_bottom"].value = "";
+		f.elements[fp + "_bottom"].disabled = true;
+		f.elements[fp + "_left"].value = "";
+		f.elements[fp + "_left"].disabled = true;
+
+		if (f.elements[fp + "_top_measurement"]) {
+			selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf]));
+			f.elements[fp + "_left_measurement"].disabled = true;
+			f.elements[fp + "_bottom_measurement"].disabled = true;
+			f.elements[fp + "_right_measurement"].disabled = true;
+		}
+	} else {
+		f.elements[fp + "_same"].checked = false;
+
+		setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf]));
+		f.elements[fp + "_top"].disabled = false;
+
+		setValue(f, fp + "_right", getNum(ce.style[pr + b[1] + sf]));
+		f.elements[fp + "_right"].disabled = false;
+
+		setValue(f, fp + "_bottom", getNum(ce.style[pr + b[2] + sf]));
+		f.elements[fp + "_bottom"].disabled = false;
+
+		setValue(f, fp + "_left", getNum(ce.style[pr + b[3] + sf]));
+		f.elements[fp + "_left"].disabled = false;
+
+		if (f.elements[fp + "_top_measurement"]) {
+			selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf]));
+			selectByValue(f, fp + '_right_measurement', getMeasurement(ce.style[pr + b[1] + sf]));
+			selectByValue(f, fp + '_bottom_measurement', getMeasurement(ce.style[pr + b[2] + sf]));
+			selectByValue(f, fp + '_left_measurement', getMeasurement(ce.style[pr + b[3] + sf]));
+			f.elements[fp + "_left_measurement"].disabled = false;
+			f.elements[fp + "_bottom_measurement"].disabled = false;
+			f.elements[fp + "_right_measurement"].disabled = false;
+		}
+	}
+}
+
+function isSame(e, pr, sf, b) {
+	var a = new Array(), i, x;
+
+	if (typeof(b) == "undefined")
+		b = new Array('Top', 'Right', 'Bottom', 'Left');
+
+	if (typeof(sf) == "undefined" || sf == null)
+		sf = "";
+
+	a[0] = e.style[pr + b[0] + sf];
+	a[1] = e.style[pr + b[1] + sf];
+	a[2] = e.style[pr + b[2] + sf];
+	a[3] = e.style[pr + b[3] + sf];
+
+	for (i=0; i<a.length; i++) {
+		if (a[i] == null)
+			return false;
+
+		for (x=0; x<a.length; x++) {
+			if (a[x] != a[i])
+				return false;
+		}
+	}
+
+	return true;
+};
+
+function hasEqualValues(a) {
+	var i, x;
+
+	for (i=0; i<a.length; i++) {
+		if (a[i] == null)
+			return false;
+
+		for (x=0; x<a.length; x++) {
+			if (a[x] != a[i])
+				return false;
+		}
+	}
+
+	return true;
+}
+
+function applyAction() {
+	var ce = document.getElementById('container');
+
+	generateCSS();
+
+	tinyMCEPopup.execCommand('mceSetElementStyle', false, tinyMCE.serializeStyle(tinyMCE.parseStyle(ce.style.cssText)));
+}
+
+function updateAction() {
+	applyAction();
+	tinyMCEPopup.close();
+}
+
+function generateCSS() {
+	var ce = document.getElementById('container'), f = document.forms[0], num = new RegExp('[0-9]+', 'g'), s, t;
+
+	ce.style.cssText = "";
+
+	// Build text styles
+	ce.style.fontFamily = f.text_font.value;
+	ce.style.fontSize = f.text_size.value + (isNum(f.text_size.value) ? f.text_size_measurement.value : "");
+	ce.style.fontStyle = f.text_style.value;
+	ce.style.lineHeight = f.text_lineheight.value + (isNum(f.text_lineheight.value) ? f.text_lineheight_measurement.value : "");
+	ce.style.textTransform = f.text_case.value;
+	ce.style.fontWeight = f.text_weight.value;
+	ce.style.fontVariant = f.text_variant.value;
+	ce.style.color = f.text_color.value;
+
+	s = "";
+	s += f.text_underline.checked ? " underline" : "";
+	s += f.text_overline.checked ? " overline" : "";
+	s += f.text_linethrough.checked ? " line-through" : "";
+	s += f.text_blink.checked ? " blink" : "";
+	s = s.length > 0 ? s.substring(1) : s;
+
+	if (f.text_none.checked)
+		s = "none";
+
+	ce.style.textDecoration = s;
+
+	// Build background styles
+
+	ce.style.backgroundColor = f.background_color.value;
+	ce.style.backgroundImage = f.background_image.value != "" ? "url(" + f.background_image.value + ")" : "";
+	ce.style.backgroundRepeat = f.background_repeat.value;
+	ce.style.backgroundAttachment = f.background_attachment.value;
+
+	if (f.background_hpos.value != "") {
+		s = "";
+		s += f.background_hpos.value + (isNum(f.background_hpos.value) ? f.background_hpos_measurement.value : "") + " ";
+		s += f.background_vpos.value + (isNum(f.background_vpos.value) ? f.background_vpos_measurement.value : "");
+		ce.style.backgroundPosition = s;
+	}
+
+	// Build block styles
+
+	ce.style.wordSpacing = f.block_wordspacing.value + (isNum(f.block_wordspacing.value) ? f.block_wordspacing_measurement.value : "");
+	ce.style.letterSpacing = f.block_letterspacing.value + (isNum(f.block_letterspacing.value) ? f.block_letterspacing_measurement.value : "");
+	ce.style.verticalAlign = f.block_vertical_alignment.value;
+	ce.style.textAlign = f.block_text_align.value;
+	ce.style.textIndent = f.block_text_indent.value + (isNum(f.block_text_indent.value) ? f.block_text_indent_measurement.value : "");
+	ce.style.whiteSpace = f.block_whitespace.value;
+	ce.style.display = f.block_display.value;
+
+	// Build box styles
+
+	ce.style.width = f.box_width.value + (isNum(f.box_width.value) ? f.box_width_measurement.value : "");
+	ce.style.height = f.box_height.value + (isNum(f.box_height.value) ? f.box_height_measurement.value : "");
+	ce.style.styleFloat = f.box_float.value;
+
+	if (tinyMCE.isGecko)
+		ce.style.cssFloat = f.box_float.value;
+
+	ce.style.clear = f.box_clear.value;
+
+	if (!f.box_padding_same.checked) {
+		ce.style.paddingTop = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : "");
+		ce.style.paddingRight = f.box_padding_right.value + (isNum(f.box_padding_right.value) ? f.box_padding_right_measurement.value : "");
+		ce.style.paddingBottom = f.box_padding_bottom.value + (isNum(f.box_padding_bottom.value) ? f.box_padding_bottom_measurement.value : "");
+		ce.style.paddingLeft = f.box_padding_left.value + (isNum(f.box_padding_left.value) ? f.box_padding_left_measurement.value : "");
+	} else
+		ce.style.padding = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : "");		
+
+	if (!f.box_margin_same.checked) {
+		ce.style.marginTop = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : "");
+		ce.style.marginRight = f.box_margin_right.value + (isNum(f.box_margin_right.value) ? f.box_margin_right_measurement.value : "");
+		ce.style.marginBottom = f.box_margin_bottom.value + (isNum(f.box_margin_bottom.value) ? f.box_margin_bottom_measurement.value : "");
+		ce.style.marginLeft = f.box_margin_left.value + (isNum(f.box_margin_left.value) ? f.box_margin_left_measurement.value : "");
+	} else
+		ce.style.margin = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : "");		
+
+	// Build border styles
+
+	if (!f.border_style_same.checked) {
+		ce.style.borderTopStyle = f.border_style_top.value;
+		ce.style.borderRightStyle = f.border_style_right.value;
+		ce.style.borderBottomStyle = f.border_style_bottom.value;
+		ce.style.borderLeftStyle = f.border_style_left.value;
+	} else
+		ce.style.borderStyle = f.border_style_top.value;
+
+	if (!f.border_width_same.checked) {
+		ce.style.borderTopWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : "");
+		ce.style.borderRightWidth = f.border_width_right.value + (isNum(f.border_width_right.value) ? f.border_width_right_measurement.value : "");
+		ce.style.borderBottomWidth = f.border_width_bottom.value + (isNum(f.border_width_bottom.value) ? f.border_width_bottom_measurement.value : "");
+		ce.style.borderLeftWidth = f.border_width_left.value + (isNum(f.border_width_left.value) ? f.border_width_left_measurement.value : "");
+	} else
+		ce.style.borderWidth = f.border_width_top.value;
+
+	if (!f.border_color_same.checked) {
+		ce.style.borderTopColor = f.border_color_top.value;
+		ce.style.borderRightColor = f.border_color_right.value;
+		ce.style.borderBottomColor = f.border_color_bottom.value;
+		ce.style.borderLeftColor = f.border_color_left.value;
+	} else
+		ce.style.borderColor = f.border_color_top.value;
+
+	// Build list styles
+
+	ce.style.listStyleType = f.list_type.value;
+	ce.style.listStylePosition = f.list_position.value;
+	ce.style.listStyleImage = f.list_bullet_image.value != "" ? "url(" + f.list_bullet_image.value + ")" : "";
+
+	// Build positioning styles
+
+	ce.style.position = f.positioning_type.value;
+	ce.style.visibility = f.positioning_visibility.value;
+
+	if (ce.style.width == "")
+		ce.style.width = f.positioning_width.value + (isNum(f.positioning_width.value) ? f.positioning_width_measurement.value : "");
+
+	if (ce.style.height == "")
+		ce.style.height = f.positioning_height.value + (isNum(f.positioning_height.value) ? f.positioning_height_measurement.value : "");
+
+	ce.style.zIndex = f.positioning_zindex.value;
+	ce.style.overflow = f.positioning_overflow.value;
+
+	if (!f.positioning_placement_same.checked) {
+		ce.style.top = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : "");
+		ce.style.right = f.positioning_placement_right.value + (isNum(f.positioning_placement_right.value) ? f.positioning_placement_right_measurement.value : "");
+		ce.style.bottom = f.positioning_placement_bottom.value + (isNum(f.positioning_placement_bottom.value) ? f.positioning_placement_bottom_measurement.value : "");
+		ce.style.left = f.positioning_placement_left.value + (isNum(f.positioning_placement_left.value) ? f.positioning_placement_left_measurement.value : "");
+	} else {
+		s = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : "");
+		ce.style.top = s;
+		ce.style.right = s;
+		ce.style.bottom = s;
+		ce.style.left = s;
+	}
+
+	if (!f.positioning_clip_same.checked) {
+		s = "rect(";
+		s += (isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto") + " ";
+		s += (isNum(f.positioning_clip_right.value) ? f.positioning_clip_right.value + f.positioning_clip_right_measurement.value : "auto") + " ";
+		s += (isNum(f.positioning_clip_bottom.value) ? f.positioning_clip_bottom.value + f.positioning_clip_bottom_measurement.value : "auto") + " ";
+		s += (isNum(f.positioning_clip_left.value) ? f.positioning_clip_left.value + f.positioning_clip_left_measurement.value : "auto");
+		s += ")";
+
+		if (s != "rect(auto auto auto auto)")
+			ce.style.clip = s;
+	} else {
+		s = "rect(";
+		t = isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto";
+		s += t + " ";
+		s += t + " ";
+		s += t + " ";
+		s += t + ")";
+
+		if (s != "rect(auto auto auto auto)")
+			ce.style.clip = s;
+	}
+
+	ce.style.cssText = tinyMCE.serializeStyle(tinyMCE.parseStyle(ce.style.cssText));
+}
+
+function isNum(s) {
+	return new RegExp('[0-9]+', 'g').test(s);
+}
+
+function showDisabledControls() {
+	var f = document.forms, i, a;
+
+	for (i=0; i<f.length; i++) {
+		for (a=0; a<f[i].elements.length; a++) {
+			if (f[i].elements[a].disabled)
+				tinyMCE.addCSSClass(f[i].elements[a], "disabled");
+			else
+				tinyMCE.removeCSSClass(f[i].elements[a], "disabled");
+		}
+	}
+}
+
+function fillSelect(f, s, param, dval, sep, em) {
+	var i, ar, p, se;
+
+	f = document.forms[f];
+	sep = typeof(sep) == "undefined" ? ";" : sep;
+
+	if (em)
+		addSelectValue(f, s, "", "");
+
+	ar = tinyMCE.getParam(param, dval).split(sep);
+	for (i=0; i<ar.length; i++) {
+		se = false;
+
+		if (ar[i].charAt(0) == '+') {
+			ar[i] = ar[i].substring(1);
+			se = true;
+		}
+
+		p = ar[i].split('=');
+
+		if (p.length > 1) {
+			addSelectValue(f, s, p[0], p[1]);
+
+			if (se)
+				selectByValue(f, s, p[1]);
+		} else {
+			addSelectValue(f, s, p[0], p[0]);
+
+			if (se)
+				selectByValue(f, s, p[0]);
+		}
+	}
+}
+
+function toggleSame(ce, pre) {
+	var el = document.forms[0].elements, i;
+
+	if (ce.checked) {
+		el[pre + "_top"].disabled = false;
+		el[pre + "_right"].disabled = true;
+		el[pre + "_bottom"].disabled = true;
+		el[pre + "_left"].disabled = true;
+
+		if (el[pre + "_top_measurement"]) {
+			el[pre + "_top_measurement"].disabled = false;
+			el[pre + "_right_measurement"].disabled = true;
+			el[pre + "_bottom_measurement"].disabled = true;
+			el[pre + "_left_measurement"].disabled = true;
+		}
+	} else {
+		el[pre + "_top"].disabled = false;
+		el[pre + "_right"].disabled = false;
+		el[pre + "_bottom"].disabled = false;
+		el[pre + "_left"].disabled = false;
+
+		if (el[pre + "_top_measurement"]) {
+			el[pre + "_top_measurement"].disabled = false;
+			el[pre + "_right_measurement"].disabled = false;
+			el[pre + "_bottom_measurement"].disabled = false;
+			el[pre + "_left_measurement"].disabled = false;
+		}
+	}
+
+	showDisabledControls();
+}
+
+function synch(fr, to) {
+	var f = document.forms[0];
+
+	f.elements[to].value = f.elements[fr].value;
+
+	if (f.elements[fr + "_measurement"])
+		selectByValue(f, to + "_measurement", f.elements[fr + "_measurement"].value);
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,66 @@
+// UK lang variables
+
+tinyMCE.addToLang('style',{
+title : 'Edit CSS Style',
+styleinfo_desc : 'Edit CSS Style',
+apply : 'Apply',
+text_tab : 'Text',
+background_tab : 'Background',
+block_tab : 'Block',
+box_tab : 'Box',
+border_tab : 'Border',
+list_tab : 'List',
+positioning_tab : 'Positioning',
+text_props : 'Text',
+text_font : 'Font',
+text_size : 'Size',
+text_weight : 'Weight',
+text_style : 'Style',
+text_variant : 'Variant',
+text_lineheight : 'Line height',
+text_case : 'Case',
+text_color : 'Color',
+text_decoration : 'Decoration',
+text_overline : 'overline',
+text_underline : 'underline',
+text_striketrough : 'strikethrough',
+text_blink : 'blink',
+text_none : 'none',
+background_color : 'Background color',
+background_image : 'Background image',
+background_repeat : 'Repeat',
+background_attachment : 'Attachment',
+background_hpos : 'Horizontal position',
+background_vpos : 'Vertical position',
+block_wordspacing : 'Word spacing',
+block_letterspacing : 'Letter spacing',
+block_vertical_alignment : 'Vertical alignment',
+block_text_align : 'Text align',
+block_text_indent : 'Text indent',
+block_whitespace : 'Whitespace',
+block_display : 'Display',
+box_width : 'Width',
+box_height : 'Height',
+box_float : 'Float',
+box_clear : 'Clear',
+padding : 'Padding',
+same : 'Same for all',
+top : 'Top',
+right : 'Right',
+bottom : 'Bottom',
+left : 'Left',
+margin : 'Margin',
+style : 'Style',
+width : 'Width',
+height : 'Height',
+color : 'Color',
+list_type : 'Type',
+bullet_image : 'Bullet image',
+position : 'Position',
+positioning_type : 'Type',
+visibility : 'Visibility',
+zindex : 'Z-index',
+overflow : 'Overflow',
+placement : 'Placement',
+clip : 'Clip'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/props.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/props.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/props.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,698 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_style_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/editable_selects.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/props.js"></script>
+	<link href="css/props.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+
+<body id="styleprops" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+<form onsubmit="updateAction();return false;" action="#">
+<div class="tabs">
+	<ul>
+		<li id="text_tab" class="current"><span><a href="javascript:mcTabs.displayTab('text_tab','text_panel');" onmousedown="return false;">{$lang_style_text_tab}</a></span></li>
+		<li id="background_tab"><span><a href="javascript:mcTabs.displayTab('background_tab','background_panel');" onmousedown="return false;">{$lang_style_background_tab}</a></span></li>
+		<li id="block_tab"><span><a href="javascript:mcTabs.displayTab('block_tab','block_panel');" onmousedown="return false;">{$lang_style_block_tab}</a></span></li>
+		<li id="box_tab"><span><a href="javascript:mcTabs.displayTab('box_tab','box_panel');" onmousedown="return false;">{$lang_style_box_tab}</a></span></li>
+		<li id="border_tab"><span><a href="javascript:mcTabs.displayTab('border_tab','border_panel');" onmousedown="return false;">{$lang_style_border_tab}</a></span></li>
+		<li id="list_tab"><span><a href="javascript:mcTabs.displayTab('list_tab','list_panel');" onmousedown="return false;">{$lang_style_list_tab}</a></span></li>
+		<li id="positioning_tab"><span><a href="javascript:mcTabs.displayTab('positioning_tab','positioning_panel');" onmousedown="return false;">{$lang_style_positioning_tab}</a></span></li>
+	</ul>
+</div>
+
+<div class="panel_wrapper">
+<div id="text_panel" class="panel current">
+	<table border="0" width="100%">
+		<tr>
+			<td><label for="text_font">{$lang_style_text_font}</label></td>
+			<td colspan="3">
+				<select id="text_font" name="text_font" class="mceEditableSelect" onchange="alert(this.options[this.selectedIndex].value);"></select>
+			</td>
+		</tr>
+		<tr>
+			<td><label for="text_size">{$lang_style_text_size}</label></td>
+			<td>
+				<table border="0" cellspacing="0" cellpadding="0">
+					<tr>
+						<td><select id="text_size" name="text_size" class="mceEditableSelect"></select></td>
+						<td>&nbsp;<select id="text_size_measurement" name="text_size_measurement"></select>
+					</tr>
+				</table>
+			</td>
+			<td><label for="text_weight">{$lang_style_text_weight}</label></td>
+			<td>
+				<select id="text_weight" name="text_weight"></select>
+			</td>
+		</tr>
+		<tr>
+			<td><label for="text_style">{$lang_style_text_style}</label></td>
+			<td>
+				<select id="text_style" name="text_style" class="mceEditableSelect"></select>
+			</td>
+			<td><label for="text_variant">{$lang_style_text_variant}</label></td>
+			<td>
+				<select id="text_variant" name="text_variant"></select>
+			</td>
+		</tr>
+		<tr>
+			<td><label for="text_lineheight">{$lang_style_text_lineheight}</label></td>
+			<td>
+				<table border="0" cellspacing="0" cellpadding="0">
+					<tr>
+						<td>
+							<select id="text_lineheight" name="text_lineheight" class="mceEditableSelect"></select>
+						</td>
+						<td>&nbsp;<select id="text_lineheight_measurement" name="text_lineheight_measurement"></select>
+					</tr>
+				</table>
+			</td>
+			<td><label for="text_case">{$lang_style_text_case}</label></td>
+			<td>
+				<select id="text_case" name="text_case"></select>
+			</td>
+		</tr>
+		<tr>
+			<td><label for="text_color">{$lang_style_text_color}</label></td>
+			<td colspan="2">
+				<table border="0" cellpadding="0" cellspacing="0">
+					<tr>
+						<td><input id="text_color" name="text_color" type="text" value="" size="9" onchange="updateColor('text_color_pick','text_color');" /></td>
+						<td id="text_color_pickcontainer">&nbsp;</td>
+					</tr>
+				</table>
+			</td>
+		</tr>
+		<tr>
+			<td>{$lang_style_text_decoration}</td>
+			<td colspan="2">
+				<table border="0" cellspacing="0" cellpadding="0">
+					<tr>
+						<td><input id="text_underline" name="text_underline" class="checkbox" type="checkbox" /></td>
+						<td><label for="text_underline">{$lang_style_text_underline}</label></td>
+					</tr>
+					<tr>
+						<td><input id="text_overline" name="text_overline" class="checkbox" type="checkbox" /></td>
+						<td><label for="text_overline">{$lang_style_text_overline}</label></td>
+					</tr>
+					<tr>
+						<td><input id="text_linethrough" name="text_linethrough" class="checkbox" type="checkbox" /></td>
+						<td><label for="text_linethrough">{$lang_style_text_striketrough}</label></td>
+					</tr>
+					<tr>
+						<td><input id="text_blink" name="text_blink" class="checkbox" type="checkbox" /></td>
+						<td><label for="text_blink">{$lang_style_text_blink}</label></td>
+					</tr>
+					<tr>
+						<td><input id="text_none" name="text_none" class="checkbox" type="checkbox" /></td>
+						<td><label for="text_none">{$lang_style_text_none}</label></td>
+					</tr>
+				</table>
+			</td>
+		</tr>
+	</table>
+</div>
+
+<div id="background_panel" class="panel">
+	<table border="0">
+		<tr>
+			<td><label for="background_color">{$lang_style_background_color}</label></td>
+			<td>
+				<table border="0" cellpadding="0" cellspacing="0">
+					<tr>
+						<td><input id="background_color" name="background_color" type="text" value="" size="9" onchange="updateColor('background_color_pick','background_color');" /></td>
+						<td id="background_color_pickcontainer">&nbsp;</td>
+					</tr>
+				</table>
+			</td>
+		</tr>
+
+		<tr>
+			<td><label for="background_image">{$lang_style_background_image}</label></td>
+			<td><table border="0" cellspacing="0" cellpadding="0">
+				<tr> 
+				  <td><input id="background_image" name="background_image" type="text" /></td> 
+				  <td id="background_image_browser">&nbsp;</td>
+				</tr>
+				</table>
+			</td>
+		</tr>
+
+		<tr>
+			<td><label for="background_repeat">{$lang_style_background_repeat}</label></td>
+			<td><select id="background_repeat" name="background_repeat" class="mceEditableSelect"></select></td>
+		</tr>
+
+		<tr>
+			<td><label for="background_attachment">{$lang_style_background_attachment}</label></td>
+			<td><select id="background_attachment" name="background_attachment" class="mceEditableSelect"></select></td>
+		</tr>
+
+		<tr>
+			<td><label for="background_hpos">{$lang_style_background_hpos}</label></td>
+			<td>
+				<table border="0" cellspacing="0" cellpadding="0">
+					<tr>
+						<td><select id="background_hpos" name="background_hpos" class="mceEditableSelect"></select></td>
+						<td>&nbsp;<select id="background_hpos_measurement" name="background_hpos_measurement"></select>
+					</tr>
+				</table>
+			</td>
+		</tr>
+
+		<tr>
+			<td><label for="background_vpos">{$lang_style_background_vpos}</label></td>
+			<td>
+				<table border="0" cellspacing="0" cellpadding="0">
+					<tr>
+						<td><select id="background_vpos" name="background_vpos" class="mceEditableSelect"></select></td>
+						<td>&nbsp;<select id="background_vpos_measurement" name="background_vpos_measurement"></select>
+					</tr>
+				</table>
+			</td>
+		</tr>
+	</table>
+</div>
+
+<div id="block_panel" class="panel">
+	<table border="0">
+		<tr>
+			<td><label for="block_wordspacing">{$lang_style_block_wordspacing}</label></td>
+			<td>
+				<table border="0" cellspacing="0" cellpadding="0">
+					<tr>
+						<td><select id="block_wordspacing" name="block_wordspacing" class="mceEditableSelect"></select></td>
+						<td>&nbsp;<select id="block_wordspacing_measurement" name="block_wordspacing_measurement"></select>
+					</tr>
+				</table>
+			</td>
+		</tr>
+
+		<tr>
+			<td><label for="block_letterspacing">{$lang_style_block_letterspacing}</label></td>
+			<td>
+				<table border="0" cellspacing="0" cellpadding="0">
+					<tr>
+						<td><select id="block_letterspacing" name="block_letterspacing" class="mceEditableSelect"></select></td>
+						<td>&nbsp;<select id="block_letterspacing_measurement" name="block_letterspacing_measurement"></select>
+					</tr>
+				</table>
+			</td>
+		</tr>
+
+		<tr>
+			<td><label for="block_vertical_alignment">{$lang_style_block_vertical_alignment}</label></td>
+			<td><select id="block_vertical_alignment" name="block_vertical_alignment" class="mceEditableSelect"></select></td>
+		</tr>
+
+		<tr>
+			<td><label for="block_text_align">{$lang_style_block_text_align}</label></td>
+			<td><select id="block_text_align" name="block_text_align" class="mceEditableSelect"></select></td>
+		</tr>
+
+		<tr>
+			<td><label for="block_text_indent">{$lang_style_block_text_indent}</label></td>
+			<td>
+				<table border="0" cellspacing="0" cellpadding="0">
+					<tr>
+						<td><input type="text" id="block_text_indent" name="block_text_indent" /></td>
+						<td>&nbsp;<select id="block_text_indent_measurement" name="block_text_indent_measurement"></select>
+					</tr>
+				</table>
+			</td>
+		</tr>
+
+		<tr>
+			<td><label for="block_whitespace">{$lang_style_block_whitespace}</label></td>
+			<td><select id="block_whitespace" name="block_whitespace" class="mceEditableSelect"></select></td>
+		</tr>
+
+		<tr>
+			<td><label for="block_display">{$lang_style_block_display}</label></td>
+			<td><select id="block_display" name="block_display" class="mceEditableSelect"></select></td>
+		</tr>
+	</table>
+</div>
+
+<div id="box_panel" class="panel">
+<table border="0">
+	<tr>
+		<td><label for="box_width">{$lang_style_box_width}</label></td>
+		<td>
+			<table border="0" cellspacing="0" cellpadding="0">
+				<tr>
+					<td><input type="text" id="box_width" name="box_width" class="mceEditableSelect" onchange="synch('box_width','positioning_width');" /></td>
+					<td>&nbsp;<select id="box_width_measurement" name="box_width_measurement"></select>
+				</tr>
+			</table>
+		</td>
+		<td>&nbsp;&nbsp;&nbsp;<label for="box_float">{$lang_style_box_float}</label></td>
+		<td><select id="box_float" name="box_float" class="mceEditableSelect"></select></td>
+	</tr>
+
+	<tr>
+		<td><label for="box_height">{$lang_style_box_height}</label></td>
+		<td>
+			<table border="0" cellspacing="0" cellpadding="0">
+				<tr>
+					<td><input type="text" id="box_height" name="box_height" class="mceEditableSelect" onchange="synch('box_height','positioning_height');" /></td>
+					<td>&nbsp;<select id="box_height_measurement" name="box_height_measurement"></select>
+				</tr>
+			</table>
+		</td>
+		<td>&nbsp;&nbsp;&nbsp;<label for="box_clear">{$lang_style_box_clear}</label></td>
+		<td><select id="box_clear" name="box_clear" class="mceEditableSelect"></select></td>
+	</tr>
+</table>
+<div style="float: left; width: 49%">
+	<fieldset>
+		<legend>{$lang_style_padding}</legend>
+
+		<table border="0">
+			<tr>
+				<td>&nbsp;</td>
+				<td><input type="checkbox" id="box_padding_same" name="box_padding_same" class="checkbox" checked="checked" onclick="toggleSame(this,'box_padding');" /> <label for="box_padding_same">{$lang_style_same}</label></td>
+			</tr>
+			<tr>
+				<td><label for="box_padding_top">{$lang_style_top}</label></td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="box_padding_top" name="box_padding_top" class="mceEditableSelect" /></td>
+							<td>&nbsp;<select id="box_padding_top_measurement" name="box_padding_top_measurement"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td><label for="box_padding_right">{$lang_style_right}</label></td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="box_padding_right" name="box_padding_right" class="mceEditableSelect" disabled="disabled" /></td>
+							<td>&nbsp;<select id="box_padding_right_measurement" name="box_padding_right_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td><label for="box_padding_bottom">{$lang_style_bottom}</label></td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="box_padding_bottom" name="box_padding_bottom" class="mceEditableSelect" disabled="disabled" /></td>
+							<td>&nbsp;<select id="box_padding_bottom_measurement" name="box_padding_bottom_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td><label for="box_padding_left">{$lang_style_left}</label></td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="box_padding_left" name="box_padding_left" class="mceEditableSelect" disabled="disabled" /></td>
+							<td>&nbsp;<select id="box_padding_left_measurement" name="box_padding_left_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+		</table>
+	</fieldset>
+</div>
+
+<div style="float: right; width: 49%">
+	<fieldset>
+		<legend>{$lang_style_margin}</legend>
+
+		<table border="0">
+			<tr>
+				<td>&nbsp;</td>
+				<td><input type="checkbox" id="box_margin_same" name="box_margin_same" class="checkbox" checked="checked" onclick="toggleSame(this,'box_margin');" /> <label for="box_margin_same">{$lang_style_same}</label></td>
+			</tr>
+			<tr>
+				<td><label for="box_margin_top">{$lang_style_top}</label></td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="box_margin_top" name="box_margin_top" class="mceEditableSelect" /></td>
+							<td>&nbsp;<select id="box_margin_top_measurement" name="box_margin_top_measurement"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td><label for="box_margin_right">{$lang_style_right}</label></td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="box_margin_right" name="box_margin_right" class="mceEditableSelect" disabled="disabled" /></td>
+							<td>&nbsp;<select id="box_margin_right_measurement" name="box_margin_right_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td><label for="box_margin_bottom">{$lang_style_bottom}</label></td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="box_margin_bottom" name="box_margin_bottom" class="mceEditableSelect" disabled="disabled" /></td>
+							<td>&nbsp;<select id="box_margin_bottom_measurement" name="box_margin_bottom_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td><label for="box_margin_left">{$lang_style_left}</label></td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="box_margin_left" name="box_margin_left" class="mceEditableSelect" disabled="disabled" /></td>
+							<td>&nbsp;<select id="box_margin_left_measurement" name="box_margin_left_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+		</table>
+	</fieldset>
+</div>
+<br style="clear: both" />
+</div>
+
+<div id="border_panel" class="panel">
+<table border="0" cellspacing="0" cellpadding="0" width="100%">
+<tr>
+	<td class="tdelim">&nbsp;</td>
+	<td class="tdelim delim">&nbsp;</td>
+	<td class="tdelim">{$lang_style_style}</td>
+	<td class="tdelim delim">&nbsp;</td>
+	<td class="tdelim">{$lang_style_width}</td>
+	<td class="tdelim delim">&nbsp;</td>
+	<td class="tdelim">{$lang_style_color}</td>
+</tr>
+
+<tr>
+	<td>&nbsp;</td>
+	<td class="delim">&nbsp;</td>
+	<td><input type="checkbox" id="border_style_same" name="border_style_same" class="checkbox" checked="checked" onclick="toggleSame(this,'border_style');" /> <label for="border_style_same">{$lang_style_same}</label></td>
+	<td class="delim">&nbsp;</td>
+	<td><input type="checkbox" id="border_width_same" name="border_width_same" class="checkbox" checked="checked" onclick="toggleSame(this,'border_width');" /> <label for="border_width_same">{$lang_style_same}</label></td>
+	<td class="delim">&nbsp;</td>
+	<td><input type="checkbox" id="border_color_same" name="border_color_same" class="checkbox" checked="checked" onclick="toggleSame(this,'border_color');" /> <label for="border_color_same">{$lang_style_same}</label></td>
+</tr>
+
+<tr>
+	<td>{$lang_style_top}</td>
+	<td class="delim">&nbsp;</td>
+	<td><select id="border_style_top" name="border_style_top" class="mceEditableSelect"></select></td>
+	<td class="delim">&nbsp;</td>
+	<td>
+		<table border="0" cellspacing="0" cellpadding="0">
+			<tr>
+				<td><select id="border_width_top" name="border_width_top" class="mceEditableSelect"></select></td>
+				<td>&nbsp;<select id="border_width_top_measurement" name="border_width_top_measurement"></select>
+			</tr>
+		</table>
+	</td>
+	<td class="delim">&nbsp;</td>
+	<td>
+		<table border="0" cellpadding="0" cellspacing="0">
+			<tr>
+				<td><input id="border_color_top" name="border_color_top" type="text" value="" size="9" onchange="updateColor('border_color_top_pick','border_color_top');" /></td>
+				<td id="border_color_top_pickcontainer">&nbsp;</td>
+			</tr>
+		</table>
+	</td>
+</tr>
+
+<tr>
+	<td>{$lang_style_right}</td>
+	<td class="delim">&nbsp;</td>
+	<td><select id="border_style_right" name="border_style_right" class="mceEditableSelect" disabled="disabled"></select></td>
+	<td class="delim">&nbsp;</td>
+	<td>
+		<table border="0" cellspacing="0" cellpadding="0">
+			<tr>
+				<td><select id="border_width_right" name="border_width_right" class="mceEditableSelect" disabled="disabled"></select></td>
+				<td>&nbsp;<select id="border_width_right_measurement" name="border_width_right_measurement" disabled="disabled"></select>
+			</tr>
+		</table>
+	</td>
+	<td class="delim">&nbsp;</td>
+	<td>
+		<table border="0" cellpadding="0" cellspacing="0">
+			<tr>
+				<td><input id="border_color_right" name="border_color_right" type="text" value="" size="9" onchange="updateColor('border_color_right_pick','border_color_right');" disabled="disabled" /></td>
+				<td id="border_color_right_pickcontainer">&nbsp;</td>
+			</tr>
+		</table>
+	</td>
+</tr>
+
+<tr>
+	<td>{$lang_style_bottom}</td>
+	<td class="delim">&nbsp;</td>
+	<td><select id="border_style_bottom" name="border_style_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
+	<td class="delim">&nbsp;</td>
+	<td>
+		<table border="0" cellspacing="0" cellpadding="0">
+			<tr>
+				<td><select id="border_width_bottom" name="border_width_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
+				<td>&nbsp;<select id="border_width_bottom_measurement" name="border_width_bottom_measurement" disabled="disabled"></select>
+			</tr>
+		</table>
+	</td>
+	<td class="delim">&nbsp;</td>
+	<td>
+		<table border="0" cellpadding="0" cellspacing="0">
+			<tr>
+				<td><input id="border_color_bottom" name="border_color_bottom" type="text" value="" size="9" onchange="updateColor('border_color_bottom_pick','border_color_bottom');" disabled="disabled" /></td>
+				<td id="border_color_bottom_pickcontainer">&nbsp;</td>
+			</tr>
+		</table>
+	</td>
+</tr>
+
+<tr>
+	<td>{$lang_style_left}</td>
+	<td class="delim">&nbsp;</td>
+	<td><select id="border_style_left" name="border_style_left" class="mceEditableSelect" disabled="disabled"></select></td>
+	<td class="delim">&nbsp;</td>
+	<td>
+		<table border="0" cellspacing="0" cellpadding="0">
+			<tr>
+				<td><select id="border_width_left" name="border_width_left" class="mceEditableSelect" disabled="disabled"></select></td>
+				<td>&nbsp;<select id="border_width_left_measurement" name="border_width_left_measurement" disabled="disabled"></select>
+			</tr>
+		</table>
+	</td>
+	<td class="delim">&nbsp;</td>
+	<td>
+		<table border="0" cellpadding="0" cellspacing="0">
+			<tr>
+				<td><input id="border_color_left" name="border_color_left" type="text" value="" size="9" onchange="updateColor('border_color_left_pick','border_color_left');" disabled="disabled" /></td>
+				<td id="border_color_left_pickcontainer">&nbsp;</td>
+			</tr>
+		</table>
+	</td>
+</tr>
+</table>
+</div>
+
+<div id="list_panel" class="panel">
+	<table border="0">
+		<tr>
+			<td><label for="list_type">{$lang_style_list_type}</label></td>
+			<td><select id="list_type" name="list_type" class="mceEditableSelect"></select></td>
+		</tr>
+
+		<tr>
+			<td><label for="list_bullet_image">{$lang_style_bullet_image}</label></td>
+			<td><input id="list_bullet_image" name="list_bullet_image" type="text" /></td>
+		</tr>
+
+		<tr>
+			<td><label for="list_position">{$lang_style_position}</label></td>
+			<td><select id="list_position" name="list_position" class="mceEditableSelect"></select></td>
+		</tr>
+	</table>
+</div>
+
+<div id="positioning_panel" class="panel">
+<table border="0">
+	<tr>
+		<td><label for="positioning_type">{$lang_style_positioning_type}</label></td>
+		<td><select id="positioning_type" name="positioning_type" class="mceEditableSelect"></select></td>
+		<td>&nbsp;&nbsp;&nbsp;<label for="positioning_visibility">{$lang_style_visibility}</label></td>
+		<td><select id="positioning_visibility" name="positioning_visibility" class="mceEditableSelect"></select></td>
+	</tr>
+
+	<tr>
+		<td><label for="positioning_width">{$lang_style_width}</label></td>
+		<td>
+			<table border="0" cellspacing="0" cellpadding="0">
+				<tr>
+					<td><input type="text" id="positioning_width" name="positioning_width" onchange="synch('positioning_width','box_width');" /></td>
+					<td>&nbsp;<select id="positioning_width_measurement" name="positioning_width_measurement"></select>
+				</tr>
+			</table>
+		</td>
+		<td>&nbsp;&nbsp;&nbsp;<label for="positioning_zindex">{$lang_style_zindex}</label></td>
+		<td><input type="text" id="positioning_zindex" name="positioning_zindex" /></td>
+	</tr>
+
+	<tr>
+		<td><label for="positioning_height">{$lang_style_height}</label></td>
+		<td>
+			<table border="0" cellspacing="0" cellpadding="0">
+				<tr>
+					<td><input type="text" id="positioning_height" name="positioning_height" onchange="synch('positioning_height','box_height');" /></td>
+					<td>&nbsp;<select id="positioning_height_measurement" name="positioning_height_measurement"></select>
+				</tr>
+			</table>
+		</td>
+		<td>&nbsp;&nbsp;&nbsp;<label for="positioning_overflow">{$lang_style_overflow}</label></td>
+		<td><select id="positioning_overflow" name="positioning_overflow" class="mceEditableSelect"></select></td>
+	</tr>
+</table>
+
+<div style="float: left; width: 49%">
+	<fieldset>
+		<legend>{$lang_style_placement}</legend>
+
+		<table border="0">
+			<tr>
+				<td>&nbsp;</td>
+				<td><input type="checkbox" id="positioning_placement_same" name="positioning_placement_same" class="checkbox" checked="checked" onclick="toggleSame(this,'positioning_placement');" /> <label for="positioning_placement_same">{$lang_style_same}</label></td>
+			</tr>
+			<tr>
+				<td>{$lang_style_top}</td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="positioning_placement_top" name="positioning_placement_top" /></td>
+							<td>&nbsp;<select id="positioning_placement_top_measurement" name="positioning_placement_top_measurement"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td>{$lang_style_right}</td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="positioning_placement_right" name="positioning_placement_right" disabled="disabled" /></td>
+							<td>&nbsp;<select id="positioning_placement_right_measurement" name="positioning_placement_right_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td>{$lang_style_bottom}</td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="positioning_placement_bottom" name="positioning_placement_bottom" disabled="disabled" /></td>
+							<td>&nbsp;<select id="positioning_placement_bottom_measurement" name="positioning_placement_bottom_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td>{$lang_style_left}</td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="positioning_placement_left" name="positioning_placement_left" disabled="disabled" /></td>
+							<td>&nbsp;<select id="positioning_placement_left_measurement" name="positioning_placement_left_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+		</table>
+	</fieldset>
+</div>
+
+<div style="float: right; width: 49%">
+	<fieldset>
+		<legend>{$lang_style_clip}</legend>
+
+		<table border="0">
+			<tr>
+				<td>&nbsp;</td>
+				<td><input type="checkbox" id="positioning_clip_same" name="positioning_clip_same" class="checkbox" checked="checked" onclick="toggleSame(this,'positioning_clip');" /> <label for="positioning_clip_same">{$lang_style_same}</label></td>
+			</tr>
+			<tr>
+				<td>{$lang_style_top}</td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="positioning_clip_top" name="positioning_clip_top" /></td>
+							<td>&nbsp;<select id="positioning_clip_top_measurement" name="positioning_clip_top_measurement"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td>{$lang_style_right}</td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="positioning_clip_right" name="positioning_clip_right" disabled="disabled" /></td>
+							<td>&nbsp;<select id="positioning_clip_right_measurement" name="positioning_clip_right_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td>{$lang_style_bottom}</td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="positioning_clip_bottom" name="positioning_clip_bottom" disabled="disabled" /></td>
+							<td>&nbsp;<select id="positioning_clip_bottom_measurement" name="positioning_clip_bottom_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+			<tr>
+				<td>{$lang_style_left}</td>
+				<td>
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="text" id="positioning_clip_left" name="positioning_clip_left" disabled="disabled" /></td>
+							<td>&nbsp;<select id="positioning_clip_left_measurement" name="positioning_clip_left_measurement" disabled="disabled"></select>
+						</tr>
+					</table>
+				</td>
+			</tr>
+		</table>
+	</fieldset>
+</div>
+<br style="clear: both" />
+</div>
+</div>
+
+<div class="mceActionPanel">
+	<div style="float: left">
+		<div style="float: left"><input type="button" id="insert" name="insert" value="{$lang_update}" onclick="updateAction();" /></div>
+
+		<div style="float: left">&nbsp;<input type="button" id="apply" name="apply" value="{$lang_style_apply}" onclick="applyAction();" class="updateButton" /></div>
+		<br style="clear: both" />
+	</div>
+
+	<div style="float: right">
+		<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+	</div>
+</div>
+</form>
+
+<div style="display: none">
+	<div id="container"></div>
+</div>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/style/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/cell.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/cell.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/cell.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,182 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_table_cell_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/cell.js"></script>
+	<link href="css/cell.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body id="tablecell" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+	<form onsubmit="updateAction();return false;" action="#">
+		<div class="tabs">
+			<ul>
+				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_table_general_tab}</a></span></li>
+				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_table_advanced_tab}</a></span></li>
+			</ul>
+		</div>
+
+		<div class="panel_wrapper">
+			<div id="general_panel" class="panel current">
+				<fieldset>
+					<legend>{$lang_table_general_props}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td><label for="align">{$lang_table_align}</label></td>
+							<td>
+								<select id="align" name="align">
+									<option value="">{$lang_not_set}</option>
+									<option value="center">{$lang_table_align_middle}</option>
+									<option value="left">{$lang_table_align_left}</option>
+									<option value="right">{$lang_table_align_right}</option>
+								</select>
+							</td>
+		
+							<td><label for="celltype">{$lang_table_cell_type}</label></td>
+							<td>
+								<select id="celltype" name="celltype">
+									<option value="td">{$lang_table_td}</option>
+									<option value="th">{$lang_table_th}</option>
+								</select>
+							</td>
+						</tr>
+
+						<tr>
+							<td><label for="valign">{$lang_table_valign}</label></td>
+							<td>
+								<select id="valign" name="valign">
+									<option value="">{$lang_not_set}</option>
+									<option value="top">{$lang_table_align_top}</option>
+									<option value="middle">{$lang_table_align_middle}</option>
+									<option value="bottom">{$lang_table_align_bottom}</option>
+								</select>
+							</td>
+
+							<td><label for="scope">{$lang_table_scope}</label></td>
+							<td>
+								<select id="scope" name="scope">
+									<option value="">{$lang_not_set}</option>
+									<option value="col">{$lang_table_col}</option>
+									<option value="row">{$lang_table_row}</option>
+									<option value="rowgroup">{$lang_table_rowgroup}</option>
+									<option value="colgroup">{$lang_table_colgroup}</option>
+								</select>
+							</td>
+
+						</tr>
+
+						<tr>
+							<td><label for="width">{$lang_table_width}</label></td>
+							<td><input id="width" name="width" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
+
+							<td><label for="height">{$lang_table_height}</label></td>
+							<td><input id="height" name="height" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
+						</tr>
+
+						<tr id="styleSelectRow">
+							<td><label for="class">{$lang_class_name}</label></td>
+							<td colspan="3">
+								<select id="class" name="class">
+									<option value="" selected="selected">{$lang_not_set}</option>
+								</select>
+							</td>
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+
+			<div id="advanced_panel" class="panel">
+				<fieldset>
+					<legend>{$lang_table_advanced_props}</legend>
+
+					<table border="0" cellpadding="0" cellspacing="4">
+						<tr>
+							<td class="column1"><label for="id">{$lang_table_id}</label></td> 
+							<td><input id="id" name="id" type="text" value="" style="width: 200px" /></td> 
+						</tr>
+
+						<tr>
+							<td><label for="style">{$lang_table_style}</label></td>
+							<td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="dir">{$lang_table_langdir}</label></td> 
+							<td>
+								<select id="dir" name="dir" style="width: 200px"> 
+										<option value="">{$lang_not_set}</option> 
+										<option value="ltr">{$lang_table_ltr}</option> 
+										<option value="rtl">{$lang_table_rtl}</option> 
+								</select>
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="lang">{$lang_table_langcode}</label></td> 
+							<td>
+								<input id="lang" name="lang" type="text" value="" style="width: 200px" />
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="backgroundimage">{$lang_table_bgimage}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
+										<td id="backgroundimagebrowsercontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="bordercolor">{$lang_table_bordercolor}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
+										<td id="bordercolor_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="bgcolor">{$lang_table_bgcolor}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
+										<td id="bgcolor_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td> 
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+		</div>
+
+		<div class="mceActionPanel">
+			<div>
+				<select id="action" name="action">
+					<option value="cell">{$lang_table_cell_cell}</option>
+					<option value="row">{$lang_table_cell_row}</option>
+					<option value="all">{$lang_table_cell_all}</option>
+				</select>
+			</div>
+
+			<div style="float: left">
+				<div><input type="button" id="insert" name="insert" value="{$lang_update}" onclick="updateAction();" /></div>
+			</div>
+
+			<div style="float: right">
+				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+			</div>
+		</div>
+	</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/cell.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/cell.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/cell.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,17 @@
+/* CSS file for cell dialog in the table plugin */
+
+.panel_wrapper div.current {
+	height: 200px;
+}
+
+.advfield {
+	width: 200px;
+}
+
+#action {
+	margin-bottom: 3px;
+}
+
+#class {
+	width: 150px;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/row.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/row.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/row.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+/* CSS file for row dialog in the table plugin */
+
+.panel_wrapper div.current {
+	height: 200px;
+}
+
+.advfield {
+	width: 200px;
+}
+
+#action {
+	margin-bottom: 3px;
+}
+
+#rowtype,#align,#valign,#class,#height {
+	width: 150px;
+}
+
+#height {
+	width: 50px;	
+}
+
+.col2 {
+	padding-left: 20px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/table.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/table.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/css/table.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,13 @@
+/* CSS file for table dialog in the table plugin */
+
+.panel_wrapper div.current {
+	height: 220px;
+}
+
+.advfield {
+	width: 200px;
+}
+
+#class {
+	width: 150px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('table');var TinyMCE_TablePlugin={getInfo:function(){return{longname:'Tables',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_table.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){if(tinyMCE.isGecko){var doc=inst.getDoc();tinyMCE.addEvent(doc,"mouseup",TinyMCE_TablePlugin._mouseDownHandler)}inst.tableRowClipboard=null},getControlHTML:function(control_name){var controls=new Array(['table','table.gif','lang_table_desc','mceInsertTable',true],['delete_table','table_delete.gif','lang_table_del','mceTableDelete'],['delete_col','table_delete_col.gif','lang_table_delete_col_desc','mceTableDeleteCol'],['delete_row','table_delete_row.gif','lang_table_delete_row_desc','mceTableDeleteRow'],['col_after','table_insert_col_after.gif','lang_table_col_after_desc','mceTableInsertColAfter'],['col_before','table_insert_col_before.gif','lan!
 g_table_col_before_desc','mceTableInsertColBefore'],['row_after','table_insert_row_after.gif','lang_table_row_after_desc','mceTableInsertRowAfter'],['row_before','table_insert_row_before.gif','lang_table_row_before_desc','mceTableInsertRowBefore'],['row_props','table_row_props.gif','lang_table_row_desc','mceTableRowProps',true],['cell_props','table_cell_props.gif','lang_table_cell_desc','mceTableCellProps',true],['split_cells','table_split_cells.gif','lang_table_split_cells_desc','mceTableSplitCells',true],['merge_cells','table_merge_cells.gif','lang_table_merge_cells_desc','mceTableMergeCells',true]);for(var i=0;i<controls.length;i++){var but=controls[i];var cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+but[3]+'\', '+(but.length>4?but[4]:false)+(but.length>5?', \''+but[5]+'\'':'')+');return false;';if(but[0]==control_name)return tinyMCE.getButtonHTML(control_name,but[2],'{$pluginurl}/images/'+but[1],but[3],(but.length>4?but[4]:false))}if(control_name=="tablecontrol!
 s"){var html="";html+=tinyMCE.getControlHTML("table");html+=tinyMCE.ge
tControlHTML("separator");html+=tinyMCE.getControlHTML("row_props");html+=tinyMCE.getControlHTML("cell_props");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("row_before");html+=tinyMCE.getControlHTML("row_after");html+=tinyMCE.getControlHTML("delete_row");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("col_before");html+=tinyMCE.getControlHTML("col_after");html+=tinyMCE.getControlHTML("delete_col");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("split_cells");html+=tinyMCE.getControlHTML("merge_cells");return html}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceInsertTable":case"mceTableRowProps":case"mceTableCellProps":case"mceTableSplitCells":case"mceTableMergeCells":case"mceTableInsertRowBefore":case"mceTableInsertRowAfter":case"mceTableDeleteRow":case"mceTableInsertColBefore":case"mceTableInsertColAfter":case"mceTableDeleteCol":case"mceTableCutR!
 ow":case"mceTableCopyRow":case"mceTablePasteRowBefore":case"mceTablePasteRowAfter":case"mceTableDelete":var inst=tinyMCE.getInstanceById(editor_id);inst.execCommand('mceBeginUndoLevel');TinyMCE_TablePlugin._doExecCommand(editor_id,element,command,user_interface,value);inst.execCommand('mceEndUndoLevel');return true}return false},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){var colspan="1",rowspan="1",tdElm;var inst=tinyMCE.getInstanceById(editor_id);tinyMCE.switchClass(editor_id+'_table','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_table','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_props','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_cell_props','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_before','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_after','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_delete_row','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_col_befor!
 e','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_col_after','mc
eButtonDisabled');tinyMCE.switchClass(editor_id+'_delete_col','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_split_cells','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_merge_cells','mceButtonDisabled');if(tdElm=tinyMCE.getParentElement(node,"td,th")){tinyMCE.switchClass(editor_id+'_cell_props','mceButtonSelected');tinyMCE.switchClass(editor_id+'_delete_table','mceButtonNormal');tinyMCE.switchClass(editor_id+'_row_before','mceButtonNormal');tinyMCE.switchClass(editor_id+'_row_after','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_row','mceButtonNormal');tinyMCE.switchClass(editor_id+'_col_before','mceButtonNormal');tinyMCE.switchClass(editor_id+'_col_after','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_col','mceButtonNormal');colspan=tinyMCE.getAttrib(tdElm,"colspan");rowspan=tinyMCE.getAttrib(tdElm,"rowspan");colspan=colspan==""?"1":colspan;rowspan=rowspan==""?"1":rowspan;if(colspan!="1"||rowspan!="1")tinyMCE.switchClass(editor_id+'_split_c!
 ells','mceButtonNormal')}if(tinyMCE.getParentElement(node,"tr"))tinyMCE.switchClass(editor_id+'_row_props','mceButtonSelected');if(tinyMCE.getParentElement(node,"table")){tinyMCE.switchClass(editor_id+'_table','mceButtonSelected');tinyMCE.switchClass(editor_id+'_merge_cells','mceButtonNormal')}},_mouseDownHandler:function(e){var elm=tinyMCE.isMSIE?event.srcElement:e.target;var focusElm=tinyMCE.selectedInstance.getFocusElement();if(elm.nodeName=="BODY"&&(focusElm.nodeName=="TD"||focusElm.nodeName=="TH"||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TD")||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TH"))){window.setTimeout(function(){var tableElm=tinyMCE.getParentElement(focusElm,"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance)},10)}},_doExecCommand:function(editor_id,element,command,user_interface,value){var inst=tinyMCE.getInstanceById(editor_id);var focusElm=inst.getFocusElement();var trElm=tinyMCE.getParen!
 tElement(focusElm,"tr");var tdElm=tinyMCE.getParentElement(focusElm,"t
d,th");var tableElm=tinyMCE.getParentElement(focusElm,"table");var doc=inst.contentWindow.document;var tableBorder=tableElm?tableElm.getAttribute("border"):"";if(trElm&&tdElm==null)tdElm=trElm.cells[0];function inArray(ar,v){for(var i=0;i<ar.length;i++){if(ar[i].length>0&&inArray(ar[i],v))return true;if(ar[i]==v)return true}return false}function makeTD(){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;"}function getColRowSpan(td){var colspan=tinyMCE.getAttrib(td,"colspan");var rowspan=tinyMCE.getAttrib(td,"rowspan");colspan=colspan==""?1:parseInt(colspan);rowspan=rowspan==""?1:parseInt(rowspan);return{colspan:colspan,rowspan:rowspan}}function getCellPos(grid,td){var x,y;for(y=0;y<grid.length;y++){for(x=0;x<grid[y].length;x++){if(grid[y][x]==td)return{cellindex:x,rowindex:y}}}return null}function getCell(grid,row,col){if(grid[row]&&grid[row][col])return grid[row][col];return null}function getTableGrid(table){var grid=new Array(),rows=table.rows,x,y,td,sd,xstart,x2,y2!
 ;for(y=0;y<rows.length;y++){for(x=0;x<rows[y].cells.length;x++){td=rows[y].cells[x];sd=getColRowSpan(td);for(xstart=x;grid[y]&&grid[y][xstart];xstart++);for(y2=y;y2<y+sd['rowspan'];y2++){if(!grid[y2])grid[y2]=new Array();for(x2=xstart;x2<xstart+sd['colspan'];x2++)grid[y2][x2]=td}}}return grid}function trimRow(table,tr,td,new_tr){var grid=getTableGrid(table),cpos=getCellPos(grid,td);var cells,lastElm;if(new_tr.cells.length!=tr.childNodes.length){cells=tr.childNodes;lastElm=null;for(var x=0;td=getCell(grid,cpos.rowindex,x);x++){var remove=true;var sd=getColRowSpan(td);if(inArray(cells,td)){new_tr.childNodes[x]._delete=true}else if((lastElm==null||td!=lastElm)&&sd.colspan>1){for(var i=x;i<x+td.colSpan;i++)new_tr.childNodes[i]._delete=true}if((lastElm==null||td!=lastElm)&&sd.rowspan>1)td.rowSpan=sd.rowspan+1;lastElm=td}deleteMarked(tableElm)}}function prevElm(node,name){while((node=node.previousSibling)!=null){if(node.nodeName==name)return node}return null}function nextElm(node!
 ,names){var namesAr=names.split(',');while((node=node.nextSibling)!=nu
ll){for(var i=0;i<namesAr.length;i++){if(node.nodeName.toLowerCase()==namesAr[i].toLowerCase())return node}}return null}function deleteMarked(tbl){if(tbl.rows==0)return;var tr=tbl.rows[0];do{var next=nextElm(tr,"TR");if(tr._delete){tr.parentNode.removeChild(tr);continue}var td=tr.cells[0];if(td.cells>1){do{var nexttd=nextElm(td,"TD,TH");if(td._delete)td.parentNode.removeChild(td)}while((td=nexttd)!=null)}}while((tr=next)!=null)}function addRows(td_elm,tr_elm,rowspan){td_elm.rowSpan=1;var trNext=nextElm(tr_elm,"TR");for(var i=1;i<rowspan&&trNext;i++){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";if(tinyMCE.isMSIE)trNext.insertBefore(newTD,trNext.cells(td_elm.cellIndex));else trNext.insertBefore(newTD,trNext.cells[td_elm.cellIndex]);trNext=nextElm(trNext,"TR")}}function copyRow(doc,table,tr){var grid=getTableGrid(table);var newTR=tr.cloneNode(false);var cpos=getCellPos(grid,tr.cells[0]);var lastCell=null;var tableBorder=tinyMCE.getAttrib(table,"border");var tdElm=!
 null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){var newTD=null;if(lastCell!=tdElm){for(var i=0;i<tr.cells.length;i++){if(tdElm==tr.cells[i]){newTD=tdElm.cloneNode(true);break}}}if(newTD==null){newTD=doc.createElement("td");newTD.innerHTML="&nbsp;"}newTD.colSpan=1;newTD.rowSpan=1;newTR.appendChild(newTD);lastCell=tdElm}return newTR}switch(command){case"mceTableRowProps":if(trElm==null)return true;if(user_interface){var template=new Array();template['file']='../../plugins/table/row.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.getLang('lang_table_rowprops_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_rowprops_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes"})}return true;case"mceTableCellProps":if(tdElm==null)return true;if(user_interface){var template=new Array();template['file']='../../plugins/table/cell.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.ge!
 tLang('lang_table_cellprops_delta_width',0);template['height']+=tinyMC
E.getLang('lang_table_cellprops_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes"})}return true;case"mceInsertTable":if(user_interface){var template=new Array();template['file']='../../plugins/table/table.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.getLang('lang_table_table_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_table_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes",action:value})}return true;case"mceTableDelete":var table=tinyMCE.getParentElement(inst.getFocusElement(),"table");if(table){table.parentNode.removeChild(table);inst.repaint()}return true;case"mceTableSplitCells":case"mceTableMergeCells":case"mceTableInsertRowBefore":case"mceTableInsertRowAfter":case"mceTableDeleteRow":case"mceTableInsertColBefore":case"mceTableInsertColAfter":case"mceTableDeleteCol":case"mceTableCutRow":case"mceTableCopyRow":case"mceTablePasteRowBefore":case"mceTablePasteR!
 owAfter":if(!tableElm)return true;if(trElm&&tableElm!=trElm.parentNode)tableElm=trElm.parentNode;if(tableElm&&trElm){switch(command){case"mceTableCutRow":if(!trElm||!tdElm)return true;inst.tableRowClipboard=copyRow(doc,tableElm,trElm);inst.execCommand("mceTableDeleteRow");break;case"mceTableCopyRow":if(!trElm||!tdElm)return true;inst.tableRowClipboard=copyRow(doc,tableElm,trElm);break;case"mceTablePasteRowBefore":if(!trElm||!tdElm)return true;var newTR=inst.tableRowClipboard.cloneNode(true);var prevTR=prevElm(trElm,"TR");if(prevTR!=null)trimRow(tableElm,prevTR,prevTR.cells[0],newTR);trElm.parentNode.insertBefore(newTR,trElm);break;case"mceTablePasteRowAfter":if(!trElm||!tdElm)return true;var nextTR=nextElm(trElm,"TR");var newTR=inst.tableRowClipboard.cloneNode(true);trimRow(tableElm,trElm,tdElm,newTR);if(nextTR==null)trElm.parentNode.appendChild(newTR);else nextTR.parentNode.insertBefore(newTR,nextTR);break;case"mceTableInsertRowBefore":if(!trElm||!tdElm)return true;var gri!
 d=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var newTR=doc
.createElement("tr");var lastTDElm=null;cpos.rowindex--;if(cpos.rowindex<0)cpos.rowindex=0;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['rowspan']==1){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";newTD.colSpan=tdElm.colSpan;newTR.appendChild(newTD)}else tdElm.rowSpan=sd['rowspan']+1;lastTDElm=tdElm}}trElm.parentNode.insertBefore(newTR,trElm);grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex+1,cpos.cellindex),tinyMCE.isGecko,true);break;case"mceTableInsertRowAfter":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var newTR=doc.createElement("tr");var lastTDElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['rowspan']==1){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";newTD.colSpan=tdElm.colSpan;newTR.appendChild(newTD)}else tdElm.rowSpan=sd['rowspan!
 ']+1;lastTDElm=tdElm}}if(newTR.hasChildNodes()){var nextTR=nextElm(trElm,"TR");if(nextTR)nextTR.parentNode.insertBefore(newTR,nextTR);else tableElm.appendChild(newTR)}grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,cpos.cellindex),tinyMCE.isGecko,true);break;case"mceTableDeleteRow":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);if(grid.length==1){tableElm=tinyMCE.getParentElement(tableElm,"table");tableElm.parentNode.removeChild(tableElm);return true}var cells=trElm.cells;var nextTR=nextElm(trElm,"TR");for(var x=0;x<cells.length;x++){if(cells[x].rowSpan>1){var newTD=cells[x].cloneNode(true);var sd=getColRowSpan(cells[x]);newTD.rowSpan=sd.rowspan-1;var nextTD=nextTR.cells[x];if(nextTD==null)nextTR.appendChild(newTD);else nextTR.insertBefore(newTD,nextTD)}}var lastTDElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd.rowspan>1){tdElm!
 .rowSpan=sd.rowspan-1}else{trElm=tdElm.parentNode;if(trElm.parentNode)
trElm._delete=true}lastTDElm=tdElm}}deleteMarked(tableElm);cpos.rowindex--;if(cpos.rowindex<0)cpos.rowindex=0;grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,0),tinyMCE.isGecko,true);break;case"mceTableInsertColBefore":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement(tdElm.nodeName);newTD.innerHTML="&nbsp;";newTD.rowSpan=tdElm.rowSpan;tdElm.parentNode.insertBefore(newTD,tdElm)}else tdElm.colSpan++;lastTDElm=tdElm}}grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,cpos.cellindex+1),tinyMCE.isGecko,true);break;case"mceTableInsertColAfter":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++)!
 {if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement(tdElm.nodeName);newTD.innerHTML="&nbsp;";newTD.rowSpan=tdElm.rowSpan;var nextTD=nextElm(tdElm,"TD,TH");if(nextTD==null)tdElm.parentNode.appendChild(newTD);else nextTD.parentNode.insertBefore(newTD,nextTD)}else tdElm.colSpan++;lastTDElm=tdElm}}grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,cpos.cellindex),tinyMCE.isGecko,true);break;case"mceTableDeleteCol":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;if(grid.length>1&&grid[0].length<=1){tableElm=tinyMCE.getParentElement(tableElm,"table");tableElm.parentNode.removeChild(tableElm);return true}for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']>1)tdElm.colSpan=sd['colspan']-1;else{if(tdElm.parentNode)tdElm.parentNode.removeChild(tdElm)}lastTDElm=tdElm}}cpos.cellin!
 dex--;if(cpos.cellindex<0)cpos.cellindex=0;grid=getTableGrid(tableElm)
;inst.selection.selectNode(getCell(grid,cpos.rowindex,0),tinyMCE.isGecko,true);break;case"mceTableSplitCells":if(!trElm||!tdElm)return true;var spandata=getColRowSpan(tdElm);var colspan=spandata["colspan"];var rowspan=spandata["rowspan"];if(colspan>1||rowspan>1){tdElm.colSpan=1;for(var i=1;i<colspan;i++){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";trElm.insertBefore(newTD,nextElm(tdElm,"TD,TH"));if(rowspan>1)addRows(newTD,trElm,rowspan)}addRows(tdElm,trElm,rowspan)}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");break;case"mceTableMergeCells":var rows=new Array();var sel=inst.getSel();var grid=getTableGrid(tableElm);if(tinyMCE.isMSIE||sel.rangeCount==1){if(user_interface){var template=new Array();var sp=getColRowSpan(tdElm);template['file']='../../plugins/table/merge_cells.htm';template['width']=250;template['height']=105+(tinyMCE.isNS7?25:0);template['width']+=tinyMCE.getLang('lang_table_merge_cells_delta_width',0);template['height']+=tinyMC!
 E.getLang('lang_table_merge_cells_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes",action:"update",numcols:sp.colspan,numrows:sp.rowspan});return true}else{var numRows=parseInt(value['numrows']);var numCols=parseInt(value['numcols']);var cpos=getCellPos(grid,tdElm);if((""+numRows)=="NaN")numRows=1;if((""+numCols)=="NaN")numCols=1;var tRows=tableElm.rows;for(var y=cpos.rowindex;y<grid.length;y++){var rowCells=new Array();for(var x=cpos.cellindex;x<grid[y].length;x++){var td=getCell(grid,y,x);if(td&&!inArray(rows,td)&&!inArray(rowCells,td)){var cp=getCellPos(grid,td);if(cp.cellindex<cpos.cellindex+numCols&&cp.rowindex<cpos.rowindex+numRows)rowCells[rowCells.length]=td}}if(rowCells.length>0)rows[rows.length]=rowCells}}}else{var cells=new Array();var sel=inst.getSel();var lastTR=null;var curRow=null;var x1=-1,y1=-1,x2,y2;if(sel.rangeCount<2)return true;for(var i=0;i<sel.rangeCount;i++){var rng=sel.getRangeAt(i);var tdElm=rng.startContainer.chil!
 dNodes[rng.startOffset];if(!tdElm)break;if(tdElm.nodeName=="TD")cells[
cells.length]=tdElm}var tRows=tableElm.rows;for(var y=0;y<tRows.length;y++){var rowCells=new Array();for(var x=0;x<tRows[y].cells.length;x++){var td=tRows[y].cells[x];for(var i=0;i<cells.length;i++){if(td==cells[i]){rowCells[rowCells.length]=td}}}if(rowCells.length>0)rows[rows.length]=rowCells}var curRow=new Array();var lastTR=null;for(var y=0;y<grid.length;y++){for(var x=0;x<grid[y].length;x++){grid[y][x]._selected=false;for(var i=0;i<cells.length;i++){if(grid[y][x]==cells[i]){if(x1==-1){x1=x;y1=y}x2=x;y2=y;grid[y][x]._selected=true}}}}for(var y=y1;y<=y2;y++){for(var x=x1;x<=x2;x++){if(!grid[y][x]._selected){alert("Invalid selection for merge.");return true}}}}var rowSpan=1,colSpan=1;var lastRowSpan=-1;for(var y=0;y<rows.length;y++){var rowColSpan=0;for(var x=0;x<rows[y].length;x++){var sd=getColRowSpan(rows[y][x]);rowColSpan+=sd['colspan'];if(lastRowSpan!=-1&&sd['rowspan']!=lastRowSpan){alert("Invalid selection for merge.");return true}lastRowSpan=sd['rowspan']}if(rowColSp!
 an>colSpan)colSpan=rowColSpan;lastRowSpan=-1}var lastColSpan=-1;for(var x=0;x<rows[0].length;x++){var colRowSpan=0;for(var y=0;y<rows.length;y++){var sd=getColRowSpan(rows[y][x]);colRowSpan+=sd['rowspan'];if(lastColSpan!=-1&&sd['colspan']!=lastColSpan){alert("Invalid selection for merge.");return true}lastColSpan=sd['colspan']}if(colRowSpan>rowSpan)rowSpan=colRowSpan;lastColSpan=-1}tdElm=rows[0][0];tdElm.rowSpan=rowSpan;tdElm.colSpan=colSpan;for(var y=0;y<rows.length;y++){for(var x=0;x<rows[y].length;x++){var html=rows[y][x].innerHTML;var chk=tinyMCE.regexpReplace(html,"[ \t\r\n]","");if(chk!="<br/>"&&chk!="<br>"&&chk!="&nbsp;"&&(x+y>0))tdElm.innerHTML+=html;if(rows[y][x]!=tdElm&&!rows[y][x]._deleted){var cpos=getCellPos(grid,rows[y][x]);var tr=rows[y][x].parentNode;tr.removeChild(rows[y][x]);rows[y][x]._deleted=true;if(!tr.hasChildNodes()){tr.parentNode.removeChild(tr);var lastCell=null;for(var x=0;cellElm=getCell(grid,cpos.rowindex,x);x++){if(cellElm!=lastCell&&cellElm.ro!
 wSpan>1)cellElm.rowSpan--;lastCell=cellElm}if(tdElm.rowSpan>1)tdElm.ro
wSpan--}}}}break}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);tinyMCE.triggerNodeChange();inst.repaint()}return true}return false}};tinyMCE.addPlugin("table",TinyMCE_TablePlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1073 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('table');
+
+var TinyMCE_TablePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Tables',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_table.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		if (tinyMCE.isGecko) {
+			var doc = inst.getDoc();
+			tinyMCE.addEvent(doc, "mouseup", TinyMCE_TablePlugin._mouseDownHandler);
+		}
+
+		inst.tableRowClipboard = null;
+	},
+
+	/**
+	 * Returns the HTML contents of the table control.
+	 */
+	getControlHTML : function(control_name) {
+		var controls = new Array(
+			['table', 'table.gif', 'lang_table_desc', 'mceInsertTable', true],
+			['delete_table', 'table_delete.gif', 'lang_table_del', 'mceTableDelete'],
+			['delete_col', 'table_delete_col.gif', 'lang_table_delete_col_desc', 'mceTableDeleteCol'],
+			['delete_row', 'table_delete_row.gif', 'lang_table_delete_row_desc', 'mceTableDeleteRow'],
+			['col_after', 'table_insert_col_after.gif', 'lang_table_col_after_desc', 'mceTableInsertColAfter'],
+			['col_before', 'table_insert_col_before.gif', 'lang_table_col_before_desc', 'mceTableInsertColBefore'],
+			['row_after', 'table_insert_row_after.gif', 'lang_table_row_after_desc', 'mceTableInsertRowAfter'],
+			['row_before', 'table_insert_row_before.gif', 'lang_table_row_before_desc', 'mceTableInsertRowBefore'],
+			['row_props', 'table_row_props.gif', 'lang_table_row_desc', 'mceTableRowProps', true],
+			['cell_props', 'table_cell_props.gif', 'lang_table_cell_desc', 'mceTableCellProps', true],
+			['split_cells', 'table_split_cells.gif', 'lang_table_split_cells_desc', 'mceTableSplitCells', true],
+			['merge_cells', 'table_merge_cells.gif', 'lang_table_merge_cells_desc', 'mceTableMergeCells', true]);
+
+		// Render table control
+		for (var i=0; i<controls.length; i++) {
+			var but = controls[i];
+			var cmd = 'tinyMCE.execInstanceCommand(\'{$editor_id}\',\'' + but[3] + '\', ' + (but.length > 4 ? but[4] : false) + (but.length > 5 ? ', \'' + but[5] + '\'' : '') + ');return false;';
+
+			if (but[0] == control_name)
+				return tinyMCE.getButtonHTML(control_name, but[2], '{$pluginurl}/images/'+ but[1], but[3], (but.length > 4 ? but[4] : false));
+		}
+
+		// Special tablecontrols
+		if (control_name == "tablecontrols") {
+			var html = "";
+
+			html += tinyMCE.getControlHTML("table");
+			html += tinyMCE.getControlHTML("separator");
+			html += tinyMCE.getControlHTML("row_props");
+			html += tinyMCE.getControlHTML("cell_props");
+			html += tinyMCE.getControlHTML("separator");
+			html += tinyMCE.getControlHTML("row_before");
+			html += tinyMCE.getControlHTML("row_after");
+			html += tinyMCE.getControlHTML("delete_row");
+			html += tinyMCE.getControlHTML("separator");
+			html += tinyMCE.getControlHTML("col_before");
+			html += tinyMCE.getControlHTML("col_after");
+			html += tinyMCE.getControlHTML("delete_col");
+			html += tinyMCE.getControlHTML("separator");
+			html += tinyMCE.getControlHTML("split_cells");
+			html += tinyMCE.getControlHTML("merge_cells");
+
+			return html;
+		}
+
+		return "";
+	},
+
+	/**
+	 * Executes the table commands.
+	 */
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Is table command
+		switch (command) {
+			case "mceInsertTable":
+			case "mceTableRowProps":
+			case "mceTableCellProps":
+			case "mceTableSplitCells":
+			case "mceTableMergeCells":
+			case "mceTableInsertRowBefore":
+			case "mceTableInsertRowAfter":
+			case "mceTableDeleteRow":
+			case "mceTableInsertColBefore":
+			case "mceTableInsertColAfter":
+			case "mceTableDeleteCol":
+			case "mceTableCutRow":
+			case "mceTableCopyRow":
+			case "mceTablePasteRowBefore":
+			case "mceTablePasteRowAfter":
+			case "mceTableDelete":
+				var inst = tinyMCE.getInstanceById(editor_id);
+
+				inst.execCommand('mceBeginUndoLevel');
+				TinyMCE_TablePlugin._doExecCommand(editor_id, element, command, user_interface, value);
+				inst.execCommand('mceEndUndoLevel');
+
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		var colspan = "1", rowspan = "1", tdElm;
+
+		var inst = tinyMCE.getInstanceById(editor_id);
+
+		// Reset table controls
+		tinyMCE.switchClass(editor_id + '_table', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_delete_table', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_row_props', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_cell_props', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_row_before', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_row_after', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_delete_row', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_col_before', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_col_after', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_delete_col', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_split_cells', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_merge_cells', 'mceButtonDisabled');
+
+		// Within a td element
+		if (tdElm = tinyMCE.getParentElement(node, "td,th")) {
+			tinyMCE.switchClass(editor_id + '_cell_props', 'mceButtonSelected');
+			tinyMCE.switchClass(editor_id + '_delete_table', 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_row_before', 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_row_after', 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_delete_row', 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_col_before', 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_col_after', 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_delete_col', 'mceButtonNormal');
+
+			colspan = tinyMCE.getAttrib(tdElm, "colspan");
+			rowspan = tinyMCE.getAttrib(tdElm, "rowspan");
+
+			colspan = colspan == "" ? "1" : colspan;
+			rowspan = rowspan == "" ? "1" : rowspan;
+
+			if (colspan != "1" || rowspan != "1")
+				tinyMCE.switchClass(editor_id + '_split_cells', 'mceButtonNormal');
+		}
+
+		// Within a tr element
+		if (tinyMCE.getParentElement(node, "tr"))
+			tinyMCE.switchClass(editor_id + '_row_props', 'mceButtonSelected');
+
+		// Within table
+		if (tinyMCE.getParentElement(node, "table")) {
+			tinyMCE.switchClass(editor_id + '_table', 'mceButtonSelected');
+			tinyMCE.switchClass(editor_id + '_merge_cells', 'mceButtonNormal');
+		}
+	},
+
+	// Private plugin internal methods
+
+	_mouseDownHandler : function(e) {
+		var elm = tinyMCE.isMSIE ? event.srcElement : e.target;
+		var focusElm = tinyMCE.selectedInstance.getFocusElement();
+
+		// If press on special Mozilla create TD/TR thingie
+		if (elm.nodeName == "BODY" && (focusElm.nodeName == "TD" || focusElm.nodeName == "TH" || (focusElm.parentNode && focusElm.parentNode.nodeName == "TD") ||(focusElm.parentNode && focusElm.parentNode.nodeName == "TH") )) {
+			window.setTimeout(function() {
+				var tableElm = tinyMCE.getParentElement(focusElm, "table");
+				tinyMCE.handleVisualAid(tableElm, true, tinyMCE.settings['visual'], tinyMCE.selectedInstance);
+			}, 10);
+		}
+	},
+
+	/**
+	 * Executes the table commands.
+	 */
+	_doExecCommand : function(editor_id, element, command, user_interface, value) {
+		var inst = tinyMCE.getInstanceById(editor_id);
+		var focusElm = inst.getFocusElement();
+		var trElm = tinyMCE.getParentElement(focusElm, "tr");
+		var tdElm = tinyMCE.getParentElement(focusElm, "td,th");
+		var tableElm = tinyMCE.getParentElement(focusElm, "table");
+		var doc = inst.contentWindow.document;
+		var tableBorder = tableElm ? tableElm.getAttribute("border") : "";
+
+		// Get first TD if no TD found
+		if (trElm && tdElm == null)
+			tdElm = trElm.cells[0];
+
+		// ------- Inner functions ---------
+		function inArray(ar, v) {
+			for (var i=0; i<ar.length; i++) {
+				// Is array
+				if (ar[i].length > 0 && inArray(ar[i], v))
+					return true;
+
+				// Found value
+				if (ar[i] == v)
+					return true;
+			}
+
+			return false;
+		}
+
+		function makeTD() {
+			var newTD = doc.createElement("td");
+			newTD.innerHTML = "&nbsp;";
+		}
+
+		function getColRowSpan(td) {
+			var colspan = tinyMCE.getAttrib(td, "colspan");
+			var rowspan = tinyMCE.getAttrib(td, "rowspan");
+
+			colspan = colspan == "" ? 1 : parseInt(colspan);
+			rowspan = rowspan == "" ? 1 : parseInt(rowspan);
+
+			return {colspan : colspan, rowspan : rowspan};
+		}
+
+		function getCellPos(grid, td) {
+			var x, y;
+
+			for (y=0; y<grid.length; y++) {
+				for (x=0; x<grid[y].length; x++) {
+					if (grid[y][x] == td)
+						return {cellindex : x, rowindex : y};
+				}
+			}
+
+			return null;
+		}
+
+		function getCell(grid, row, col) {
+			if (grid[row] && grid[row][col])
+				return grid[row][col];
+
+			return null;
+		}
+
+		function getTableGrid(table) {
+			var grid = new Array(), rows = table.rows, x, y, td, sd, xstart, x2, y2;
+
+			for (y=0; y<rows.length; y++) {
+				for (x=0; x<rows[y].cells.length; x++) {
+					td = rows[y].cells[x];
+					sd = getColRowSpan(td);
+
+					// All ready filled
+					for (xstart = x; grid[y] && grid[y][xstart]; xstart++) ;
+
+					// Fill box
+					for (y2=y; y2<y+sd['rowspan']; y2++) {
+						if (!grid[y2])
+							grid[y2] = new Array();
+
+						for (x2=xstart; x2<xstart+sd['colspan']; x2++)
+							grid[y2][x2] = td;
+					}
+				}
+			}
+
+			return grid;
+		}
+
+		function trimRow(table, tr, td, new_tr) {
+			var grid = getTableGrid(table), cpos = getCellPos(grid, td);
+			var cells, lastElm;
+
+			// Time to crop away some
+			if (new_tr.cells.length != tr.childNodes.length) {
+				cells = tr.childNodes;
+				lastElm = null;
+
+				for (var x=0; td = getCell(grid, cpos.rowindex, x); x++) {
+					var remove = true;
+					var sd = getColRowSpan(td);
+
+					// Remove due to rowspan
+					if (inArray(cells, td)) {
+						new_tr.childNodes[x]._delete = true;
+					} else if ((lastElm == null || td != lastElm) && sd.colspan > 1) { // Remove due to colspan
+						for (var i=x; i<x+td.colSpan; i++)
+							new_tr.childNodes[i]._delete = true;
+					}
+
+					if ((lastElm == null || td != lastElm) && sd.rowspan > 1)
+						td.rowSpan = sd.rowspan + 1;
+
+					lastElm = td;
+				}
+
+				deleteMarked(tableElm);
+			}
+		}
+
+		function prevElm(node, name) {
+			while ((node = node.previousSibling) != null) {
+				if (node.nodeName == name)
+					return node;
+			}
+
+			return null;
+		}
+
+		function nextElm(node, names) {
+			var namesAr = names.split(',');
+
+			while ((node = node.nextSibling) != null) {
+				for (var i=0; i<namesAr.length; i++) {
+					if (node.nodeName.toLowerCase() == namesAr[i].toLowerCase() )
+						return node;
+				}
+			}
+
+			return null;
+		}
+
+		function deleteMarked(tbl) {
+			if (tbl.rows == 0)
+				return;
+
+			var tr = tbl.rows[0];
+			do {
+				var next = nextElm(tr, "TR");
+
+				// Delete row
+				if (tr._delete) {
+					tr.parentNode.removeChild(tr);
+					continue;
+				}
+
+				// Delete cells
+				var td = tr.cells[0];
+				if (td.cells > 1) {
+					do {
+						var nexttd = nextElm(td, "TD,TH");
+
+						if (td._delete)
+							td.parentNode.removeChild(td);
+					} while ((td = nexttd) != null);
+				}
+			} while ((tr = next) != null);
+		}
+
+		function addRows(td_elm, tr_elm, rowspan) {
+			// Add rows
+			td_elm.rowSpan = 1;
+			var trNext = nextElm(tr_elm, "TR");
+			for (var i=1; i<rowspan && trNext; i++) {
+				var newTD = doc.createElement("td");
+				newTD.innerHTML = "&nbsp;";
+
+				if (tinyMCE.isMSIE)
+					trNext.insertBefore(newTD, trNext.cells(td_elm.cellIndex));
+				else
+					trNext.insertBefore(newTD, trNext.cells[td_elm.cellIndex]);
+
+				trNext = nextElm(trNext, "TR");
+			}
+		}
+
+		function copyRow(doc, table, tr) {
+			var grid = getTableGrid(table);
+			var newTR = tr.cloneNode(false);
+			var cpos = getCellPos(grid, tr.cells[0]);
+			var lastCell = null;
+			var tableBorder = tinyMCE.getAttrib(table, "border");
+			var tdElm = null;
+
+			for (var x=0; tdElm = getCell(grid, cpos.rowindex, x); x++) {
+				var newTD = null;
+
+				if (lastCell != tdElm) {
+					for (var i=0; i<tr.cells.length; i++) {
+						if (tdElm == tr.cells[i]) {
+							newTD = tdElm.cloneNode(true);
+							break;
+						}
+					}
+				}
+
+				if (newTD == null) {
+					newTD = doc.createElement("td");
+					newTD.innerHTML = "&nbsp;";
+				}
+
+				// Reset col/row span
+				newTD.colSpan = 1;
+				newTD.rowSpan = 1;
+
+				newTR.appendChild(newTD);
+
+				lastCell = tdElm;
+			}
+
+			return newTR;
+		}
+
+		// ---- Commands -----
+
+		// Handle commands
+		switch (command) {
+			case "mceTableRowProps":
+				if (trElm == null)
+					return true;
+
+				if (user_interface) {
+					// Setup template
+					var template = new Array();
+
+					template['file'] = '../../plugins/table/row.htm';
+					template['width'] = 380;
+					template['height'] = 295;
+
+					// Language specific width and height addons
+					template['width'] += tinyMCE.getLang('lang_table_rowprops_delta_width', 0);
+					template['height'] += tinyMCE.getLang('lang_table_rowprops_delta_height', 0);
+
+					// Open window
+					tinyMCE.openWindow(template, {editor_id : inst.editorId, inline : "yes"});
+				}
+
+				return true;
+
+			case "mceTableCellProps":
+				if (tdElm == null)
+					return true;
+
+				if (user_interface) {
+					// Setup template
+					var template = new Array();
+
+					template['file'] = '../../plugins/table/cell.htm';
+					template['width'] = 380;
+					template['height'] = 295;
+
+					// Language specific width and height addons
+					template['width'] += tinyMCE.getLang('lang_table_cellprops_delta_width', 0);
+					template['height'] += tinyMCE.getLang('lang_table_cellprops_delta_height', 0);
+
+					// Open window
+					tinyMCE.openWindow(template, {editor_id : inst.editorId, inline : "yes"});
+				}
+
+				return true;
+
+			case "mceInsertTable":
+				if (user_interface) {
+					// Setup template
+					var template = new Array();
+
+					template['file'] = '../../plugins/table/table.htm';
+					template['width'] = 380;
+					template['height'] = 295;
+
+					// Language specific width and height addons
+					template['width'] += tinyMCE.getLang('lang_table_table_delta_width', 0);
+					template['height'] += tinyMCE.getLang('lang_table_table_delta_height', 0);
+
+					// Open window
+					tinyMCE.openWindow(template, {editor_id : inst.editorId, inline : "yes", action : value});
+				}
+
+				return true;
+
+			case "mceTableDelete":
+				var table = tinyMCE.getParentElement(inst.getFocusElement(), "table");
+				if (table) {
+					table.parentNode.removeChild(table);
+					inst.repaint();
+				}
+				return true;
+
+			case "mceTableSplitCells":
+			case "mceTableMergeCells":
+			case "mceTableInsertRowBefore":
+			case "mceTableInsertRowAfter":
+			case "mceTableDeleteRow":
+			case "mceTableInsertColBefore":
+			case "mceTableInsertColAfter":
+			case "mceTableDeleteCol":
+			case "mceTableCutRow":
+			case "mceTableCopyRow":
+			case "mceTablePasteRowBefore":
+			case "mceTablePasteRowAfter":
+				// No table just return (invalid command)
+				if (!tableElm)
+					return true;
+
+				// Table has a tbody use that reference
+				// Changed logic by ApTest 2005.07.12 (www.aptest.com)
+				// Now lookk at the focused element and take its parentNode.  That will be a tbody or a table.
+				if (trElm && tableElm != trElm.parentNode)
+					tableElm = trElm.parentNode;
+
+				if (tableElm && trElm) {
+					switch (command) {
+						case "mceTableCutRow":
+							if (!trElm || !tdElm)
+								return true;
+
+							inst.tableRowClipboard = copyRow(doc, tableElm, trElm);
+							inst.execCommand("mceTableDeleteRow");
+							break;
+
+						case "mceTableCopyRow":
+							if (!trElm || !tdElm)
+								return true;
+
+							inst.tableRowClipboard = copyRow(doc, tableElm, trElm);
+							break;
+
+						case "mceTablePasteRowBefore":
+							if (!trElm || !tdElm)
+								return true;
+
+							var newTR = inst.tableRowClipboard.cloneNode(true);
+
+							var prevTR = prevElm(trElm, "TR");
+							if (prevTR != null)
+								trimRow(tableElm, prevTR, prevTR.cells[0], newTR);
+
+							trElm.parentNode.insertBefore(newTR, trElm);
+							break;
+
+						case "mceTablePasteRowAfter":
+							if (!trElm || !tdElm)
+								return true;
+							
+							var nextTR = nextElm(trElm, "TR");
+							var newTR = inst.tableRowClipboard.cloneNode(true);
+
+							trimRow(tableElm, trElm, tdElm, newTR);
+
+							if (nextTR == null)
+								trElm.parentNode.appendChild(newTR);
+							else
+								nextTR.parentNode.insertBefore(newTR, nextTR);
+
+							break;
+
+						case "mceTableInsertRowBefore":
+							if (!trElm || !tdElm)
+								return true;
+
+							var grid = getTableGrid(tableElm);
+							var cpos = getCellPos(grid, tdElm);
+							var newTR = doc.createElement("tr");
+							var lastTDElm = null;
+
+							cpos.rowindex--;
+							if (cpos.rowindex < 0)
+								cpos.rowindex = 0;
+
+							// Create cells
+							for (var x=0; tdElm = getCell(grid, cpos.rowindex, x); x++) {
+								if (tdElm != lastTDElm) {
+									var sd = getColRowSpan(tdElm);
+
+									if (sd['rowspan'] == 1) {
+										var newTD = doc.createElement("td");
+
+										newTD.innerHTML = "&nbsp;";
+										newTD.colSpan = tdElm.colSpan;
+
+										newTR.appendChild(newTD);
+									} else
+										tdElm.rowSpan = sd['rowspan'] + 1;
+
+									lastTDElm = tdElm;
+								}
+							}
+
+							trElm.parentNode.insertBefore(newTR, trElm);
+
+							grid = getTableGrid(tableElm);
+							inst.selection.selectNode(getCell(grid, cpos.rowindex + 1, cpos.cellindex), tinyMCE.isGecko, true); // Only collape on gecko
+						break;
+
+						case "mceTableInsertRowAfter":
+							if (!trElm || !tdElm)
+								return true;
+
+							var grid = getTableGrid(tableElm);
+							var cpos = getCellPos(grid, tdElm);
+							var newTR = doc.createElement("tr");
+							var lastTDElm = null;
+
+							// Create cells
+							for (var x=0; tdElm = getCell(grid, cpos.rowindex, x); x++) {
+								if (tdElm != lastTDElm) {
+									var sd = getColRowSpan(tdElm);
+
+									if (sd['rowspan'] == 1) {
+										var newTD = doc.createElement("td");
+
+										newTD.innerHTML = "&nbsp;";
+										newTD.colSpan = tdElm.colSpan;
+
+										newTR.appendChild(newTD);
+									} else
+										tdElm.rowSpan = sd['rowspan'] + 1;
+
+									lastTDElm = tdElm;
+								}
+							}
+
+							if (newTR.hasChildNodes()) {
+								var nextTR = nextElm(trElm, "TR");
+								if (nextTR)
+									nextTR.parentNode.insertBefore(newTR, nextTR);
+								else
+									tableElm.appendChild(newTR);
+							}
+
+							grid = getTableGrid(tableElm);
+							inst.selection.selectNode(getCell(grid, cpos.rowindex, cpos.cellindex), tinyMCE.isGecko, true); // Only collape on gecko
+						break;
+
+						case "mceTableDeleteRow":
+							if (!trElm || !tdElm)
+								return true;
+
+							var grid = getTableGrid(tableElm);
+							var cpos = getCellPos(grid, tdElm);
+
+							// Only one row, remove whole table
+							if (grid.length == 1) {
+								tableElm = tinyMCE.getParentElement(tableElm, "table"); // Look for table instead of tbody
+								tableElm.parentNode.removeChild(tableElm);
+								return true;
+							}
+
+							// Move down row spanned cells
+							var cells = trElm.cells;
+							var nextTR = nextElm(trElm, "TR");
+							for (var x=0; x<cells.length; x++) {
+								if (cells[x].rowSpan > 1) {
+									var newTD = cells[x].cloneNode(true);
+									var sd = getColRowSpan(cells[x]);
+
+									newTD.rowSpan = sd.rowspan - 1;
+
+									var nextTD = nextTR.cells[x];
+
+									if (nextTD == null)
+										nextTR.appendChild(newTD);
+									else
+										nextTR.insertBefore(newTD, nextTD);
+								}
+							}
+
+							// Delete cells
+							var lastTDElm = null;
+							for (var x=0; tdElm = getCell(grid, cpos.rowindex, x); x++) {
+								if (tdElm != lastTDElm) {
+									var sd = getColRowSpan(tdElm);
+
+									if (sd.rowspan > 1) {
+										tdElm.rowSpan = sd.rowspan - 1;
+									} else {
+										trElm = tdElm.parentNode;
+
+										if (trElm.parentNode)
+											trElm._delete = true;
+									}
+
+									lastTDElm = tdElm;
+								}
+							}
+
+							deleteMarked(tableElm);
+
+							cpos.rowindex--;
+							if (cpos.rowindex < 0)
+								cpos.rowindex = 0;
+
+							// Recalculate grid and select
+							grid = getTableGrid(tableElm);
+							inst.selection.selectNode(getCell(grid, cpos.rowindex, 0), tinyMCE.isGecko, true); // Only collape on gecko
+						break;
+
+						case "mceTableInsertColBefore":
+							if (!trElm || !tdElm)
+								return true;
+
+							var grid = getTableGrid(tableElm);
+							var cpos = getCellPos(grid, tdElm);
+							var lastTDElm = null;
+
+							for (var y=0; tdElm = getCell(grid, y, cpos.cellindex); y++) {
+								if (tdElm != lastTDElm) {
+									var sd = getColRowSpan(tdElm);
+
+									if (sd['colspan'] == 1) {
+										var newTD = doc.createElement(tdElm.nodeName);
+
+										newTD.innerHTML = "&nbsp;";
+										newTD.rowSpan = tdElm.rowSpan;
+
+										tdElm.parentNode.insertBefore(newTD, tdElm);
+									} else
+										tdElm.colSpan++;
+
+									lastTDElm = tdElm;
+								}
+							}
+
+							grid = getTableGrid(tableElm);
+							inst.selection.selectNode(getCell(grid, cpos.rowindex, cpos.cellindex + 1), tinyMCE.isGecko, true); // Only collape on gecko
+						break;
+
+						case "mceTableInsertColAfter":
+							if (!trElm || !tdElm)
+								return true;
+
+							var grid = getTableGrid(tableElm);
+							var cpos = getCellPos(grid, tdElm);
+							var lastTDElm = null;
+
+							for (var y=0; tdElm = getCell(grid, y, cpos.cellindex); y++) {
+								if (tdElm != lastTDElm) {
+									var sd = getColRowSpan(tdElm);
+
+									if (sd['colspan'] == 1) {
+										var newTD = doc.createElement(tdElm.nodeName);
+
+										newTD.innerHTML = "&nbsp;";
+										newTD.rowSpan = tdElm.rowSpan;
+
+										var nextTD = nextElm(tdElm, "TD,TH");
+										if (nextTD == null)
+											tdElm.parentNode.appendChild(newTD);
+										else
+											nextTD.parentNode.insertBefore(newTD, nextTD);
+									} else
+										tdElm.colSpan++;
+
+									lastTDElm = tdElm;
+								}
+							}
+
+							grid = getTableGrid(tableElm);
+							inst.selection.selectNode(getCell(grid, cpos.rowindex, cpos.cellindex), tinyMCE.isGecko, true); // Only collape on gecko
+						break;
+
+						case "mceTableDeleteCol":
+							if (!trElm || !tdElm)
+								return true;
+
+							var grid = getTableGrid(tableElm);
+							var cpos = getCellPos(grid, tdElm);
+							var lastTDElm = null;
+
+							// Only one col, remove whole table
+							if (grid.length > 1 && grid[0].length <= 1) {
+								tableElm = tinyMCE.getParentElement(tableElm, "table"); // Look for table instead of tbody
+								tableElm.parentNode.removeChild(tableElm);
+								return true;
+							}
+
+							// Delete cells
+							for (var y=0; tdElm = getCell(grid, y, cpos.cellindex); y++) {
+								if (tdElm != lastTDElm) {
+									var sd = getColRowSpan(tdElm);
+
+									if (sd['colspan'] > 1)
+										tdElm.colSpan = sd['colspan'] - 1;
+									else {
+										if (tdElm.parentNode)
+											tdElm.parentNode.removeChild(tdElm);
+									}
+
+									lastTDElm = tdElm;
+								}
+							}
+
+							cpos.cellindex--;
+							if (cpos.cellindex < 0)
+								cpos.cellindex = 0;
+
+							// Recalculate grid and select
+							grid = getTableGrid(tableElm);
+							inst.selection.selectNode(getCell(grid, cpos.rowindex, 0), tinyMCE.isGecko, true); // Only collape on gecko
+						break;
+
+					case "mceTableSplitCells":
+						if (!trElm || !tdElm)
+							return true;
+
+						var spandata = getColRowSpan(tdElm);
+
+						var colspan = spandata["colspan"];
+						var rowspan = spandata["rowspan"];
+
+						// Needs splitting
+						if (colspan > 1 || rowspan > 1) {
+							// Generate cols
+							tdElm.colSpan = 1;
+							for (var i=1; i<colspan; i++) {
+								var newTD = doc.createElement("td");
+
+								newTD.innerHTML = "&nbsp;";
+
+								trElm.insertBefore(newTD, nextElm(tdElm, "TD,TH"));
+
+								if (rowspan > 1)
+									addRows(newTD, trElm, rowspan);
+							}
+
+							addRows(tdElm, trElm, rowspan);
+						}
+
+						// Apply visual aids
+						tableElm = tinyMCE.getParentElement(inst.getFocusElement(), "table");
+						break;
+
+					case "mceTableMergeCells":
+						var rows = new Array();
+						var sel = inst.getSel();
+						var grid = getTableGrid(tableElm);
+
+						if (tinyMCE.isMSIE || sel.rangeCount == 1) {
+							if (user_interface) {
+								// Setup template
+								var template = new Array();
+								var sp = getColRowSpan(tdElm);
+
+								template['file'] = '../../plugins/table/merge_cells.htm';
+								template['width'] = 250;
+								template['height'] = 105 + (tinyMCE.isNS7 ? 25 : 0);
+
+								// Language specific width and height addons
+								template['width'] += tinyMCE.getLang('lang_table_merge_cells_delta_width', 0);
+								template['height'] += tinyMCE.getLang('lang_table_merge_cells_delta_height', 0);
+
+								// Open window
+								tinyMCE.openWindow(template, {editor_id : inst.editorId, inline : "yes", action : "update", numcols : sp.colspan, numrows : sp.rowspan});
+
+								return true;
+							} else {
+								var numRows = parseInt(value['numrows']);
+								var numCols = parseInt(value['numcols']);
+								var cpos = getCellPos(grid, tdElm);
+
+								if (("" + numRows) == "NaN")
+									numRows = 1;
+
+								if (("" + numCols) == "NaN")
+									numCols = 1;
+
+								// Get rows and cells
+								var tRows = tableElm.rows;
+								for (var y=cpos.rowindex; y<grid.length; y++) {
+									var rowCells = new Array();
+
+									for (var x=cpos.cellindex; x<grid[y].length; x++) {
+										var td = getCell(grid, y, x);
+
+										if (td && !inArray(rows, td) && !inArray(rowCells, td)) {
+											var cp = getCellPos(grid, td);
+
+											// Within range
+											if (cp.cellindex < cpos.cellindex+numCols && cp.rowindex < cpos.rowindex+numRows)
+												rowCells[rowCells.length] = td;
+										}
+									}
+
+									if (rowCells.length > 0)
+										rows[rows.length] = rowCells;
+								}
+
+								//return true;
+							}
+						} else {
+							var cells = new Array();
+							var sel = inst.getSel();
+							var lastTR = null;
+							var curRow = null;
+							var x1 = -1, y1 = -1, x2, y2;
+
+							// Only one cell selected, whats the point?
+							if (sel.rangeCount < 2)
+								return true;
+
+							// Get all selected cells
+							for (var i=0; i<sel.rangeCount; i++) {
+								var rng = sel.getRangeAt(i);
+								var tdElm = rng.startContainer.childNodes[rng.startOffset];
+
+								if (!tdElm)
+									break;
+
+								if (tdElm.nodeName == "TD")
+									cells[cells.length] = tdElm;
+							}
+
+							// Get rows and cells
+							var tRows = tableElm.rows;
+							for (var y=0; y<tRows.length; y++) {
+								var rowCells = new Array();
+
+								for (var x=0; x<tRows[y].cells.length; x++) {
+									var td = tRows[y].cells[x];
+
+									for (var i=0; i<cells.length; i++) {
+										if (td == cells[i]) {
+											rowCells[rowCells.length] = td;
+										}
+									}
+								}
+
+								if (rowCells.length > 0)
+									rows[rows.length] = rowCells;
+							}
+
+							// Find selected cells in grid and box
+							var curRow = new Array();
+							var lastTR = null;
+							for (var y=0; y<grid.length; y++) {
+								for (var x=0; x<grid[y].length; x++) {
+									grid[y][x]._selected = false;
+
+									for (var i=0; i<cells.length; i++) {
+										if (grid[y][x] == cells[i]) {
+											// Get start pos
+											if (x1 == -1) {
+												x1 = x;
+												y1 = y;
+											}
+
+											// Get end pos
+											x2 = x;
+											y2 = y;
+
+											grid[y][x]._selected = true;
+										}
+									}
+								}
+							}
+
+							// Is there gaps, if so deny
+							for (var y=y1; y<=y2; y++) {
+								for (var x=x1; x<=x2; x++) {
+									if (!grid[y][x]._selected) {
+										alert("Invalid selection for merge.");
+										return true;
+									}
+								}
+							}
+						}
+
+						// Validate selection and get total rowspan and colspan
+						var rowSpan = 1, colSpan = 1;
+
+						// Validate horizontal and get total colspan
+						var lastRowSpan = -1;
+						for (var y=0; y<rows.length; y++) {
+							var rowColSpan = 0;
+
+							for (var x=0; x<rows[y].length; x++) {
+								var sd = getColRowSpan(rows[y][x]);
+
+								rowColSpan += sd['colspan'];
+
+								if (lastRowSpan != -1 && sd['rowspan'] != lastRowSpan) {
+									alert("Invalid selection for merge.");
+									return true;
+								}
+
+								lastRowSpan = sd['rowspan'];
+							}
+
+							if (rowColSpan > colSpan)
+								colSpan = rowColSpan;
+
+							lastRowSpan = -1;
+						}
+
+						// Validate vertical and get total rowspan
+						var lastColSpan = -1;
+						for (var x=0; x<rows[0].length; x++) {
+							var colRowSpan = 0;
+
+							for (var y=0; y<rows.length; y++) {
+								var sd = getColRowSpan(rows[y][x]);
+
+								colRowSpan += sd['rowspan'];
+
+								if (lastColSpan != -1 && sd['colspan'] != lastColSpan) {
+									alert("Invalid selection for merge.");
+									return true;
+								}
+
+								lastColSpan = sd['colspan'];
+							}
+
+							if (colRowSpan > rowSpan)
+								rowSpan = colRowSpan;
+
+							lastColSpan = -1;
+						}
+
+						// Setup td
+						tdElm = rows[0][0];
+						tdElm.rowSpan = rowSpan;
+						tdElm.colSpan = colSpan;
+
+						// Merge cells
+						for (var y=0; y<rows.length; y++) {
+							for (var x=0; x<rows[y].length; x++) {
+								var html = rows[y][x].innerHTML;
+								var chk = tinyMCE.regexpReplace(html, "[ \t\r\n]", "");
+
+								if (chk != "<br/>" && chk != "<br>" && chk != "&nbsp;" && (x+y > 0))
+									tdElm.innerHTML += html;
+
+								// Not current cell
+								if (rows[y][x] != tdElm && !rows[y][x]._deleted) {
+									var cpos = getCellPos(grid, rows[y][x]);
+									var tr = rows[y][x].parentNode;
+
+									tr.removeChild(rows[y][x]);
+									rows[y][x]._deleted = true;
+
+									// Empty TR, remove it
+									if (!tr.hasChildNodes()) {
+										tr.parentNode.removeChild(tr);
+
+										var lastCell = null;
+										for (var x=0; cellElm = getCell(grid, cpos.rowindex, x); x++) {
+											if (cellElm != lastCell && cellElm.rowSpan > 1)
+												cellElm.rowSpan--;
+
+											lastCell = cellElm;
+										}
+
+										if (tdElm.rowSpan > 1)
+											tdElm.rowSpan--;
+									}
+								}
+							}
+						}
+
+						break;
+					}
+
+					tableElm = tinyMCE.getParentElement(inst.getFocusElement(), "table");
+					tinyMCE.handleVisualAid(tableElm, true, tinyMCE.settings['visual'], tinyMCE.selectedInstance);
+					tinyMCE.triggerNodeChange();
+					inst.repaint();
+				}
+
+			return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	}
+};
+
+tinyMCE.addPlugin("table", TinyMCE_TablePlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/buttons.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/buttons.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_cell_props.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_cell_props.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_delete.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_delete.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_delete_col.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_delete_col.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_delete_row.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_delete_row.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_col_after.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_col_after.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_col_before.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_col_before.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_row_after.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_row_after.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_row_before.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_insert_row_before.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_merge_cells.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_merge_cells.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_row_props.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_row_props.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_split_cells.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/images/table_split_cells.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/cell.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/cell.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/cell.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,249 @@
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
+	document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor');
+	document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor')
+
+	var inst = tinyMCE.selectedInstance;
+	var tdElm = tinyMCE.getParentElement(inst.getFocusElement(), "td,th");
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(tinyMCE.getAttrib(tdElm, "style"));
+
+	// Get table cell data
+	var celltype = tdElm.nodeName.toLowerCase();
+	var align = tinyMCE.getAttrib(tdElm, 'align');
+	var valign = tinyMCE.getAttrib(tdElm, 'valign');
+	var width = trimSize(getStyle(tdElm, 'width', 'width'));
+	var height = trimSize(getStyle(tdElm, 'height', 'height'));
+	var bordercolor = convertRGBToHex(getStyle(tdElm, 'bordercolor', 'borderLeftColor'));
+	var bgcolor = convertRGBToHex(getStyle(tdElm, 'bgcolor', 'backgroundColor'));
+	var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(tdElm, 'class'), false);
+	var backgroundimage = getStyle(tdElm, 'background', 'backgroundImage').replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");;
+	var id = tinyMCE.getAttrib(tdElm, 'id');
+	var lang = tinyMCE.getAttrib(tdElm, 'lang');
+	var dir = tinyMCE.getAttrib(tdElm, 'dir');
+	var scope = tinyMCE.getAttrib(tdElm, 'scope');
+
+	// Setup form
+	addClassesToList('class', 'table_cell_styles');
+	formObj.bordercolor.value = bordercolor;
+	formObj.bgcolor.value = bgcolor;
+	formObj.backgroundimage.value = backgroundimage;
+	formObj.width.value = width;
+	formObj.height.value = height;
+	formObj.id.value = id;
+	formObj.lang.value = lang;
+	formObj.style.value = tinyMCE.serializeStyle(st);
+	selectByValue(formObj, 'align', align);
+	selectByValue(formObj, 'valign', valign);
+	selectByValue(formObj, 'class', className);
+	selectByValue(formObj, 'celltype', celltype);
+	selectByValue(formObj, 'dir', dir);
+	selectByValue(formObj, 'scope', scope);
+
+	// Resize some elements
+	if (isVisible('backgroundimagebrowser'))
+		document.getElementById('backgroundimage').style.width = '180px';
+
+	updateColor('bordercolor_pick', 'bordercolor');
+	updateColor('bgcolor_pick', 'bgcolor');
+}
+
+function updateAction() {
+	tinyMCEPopup.restoreSelection();
+
+	var inst = tinyMCE.selectedInstance;
+	var tdElm = tinyMCE.getParentElement(inst.getFocusElement(), "td,th");
+	var trElm = tinyMCE.getParentElement(inst.getFocusElement(), "tr");
+	var tableElm = tinyMCE.getParentElement(inst.getFocusElement(), "table");
+	var formObj = document.forms[0];
+
+	inst.execCommand('mceBeginUndoLevel');
+
+	switch (getSelectValue(formObj, 'action')) {
+		case "cell":
+			var celltype = getSelectValue(formObj, 'celltype');
+			var scope = getSelectValue(formObj, 'scope');
+
+			if (tinyMCE.getParam("accessibility_warnings")) {
+				if (celltype == "th" && scope == "")
+					var answer = confirm(tinyMCE.getLang('lang_table_missing_scope', '', true));
+				else
+					var answer = true;
+
+				if (!answer)
+					return;
+			}
+
+			updateCell(tdElm);
+			break;
+
+		case "row":
+			var cell = trElm.firstChild;
+
+			if (cell.nodeName != "TD" && cell.nodeName != "TH")
+				cell = nextCell(cell);
+
+			do {
+				cell = updateCell(cell, true);
+			} while ((cell = nextCell(cell)) != null);
+
+			break;
+
+		case "all":
+			var rows = tableElm.getElementsByTagName("tr");
+
+			for (var i=0; i<rows.length; i++) {
+				var cell = rows[i].firstChild;
+
+				if (cell.nodeName != "TD" && cell.nodeName != "TH")
+					cell = nextCell(cell);
+
+				do {
+					cell = updateCell(cell, true);
+				} while ((cell = nextCell(cell)) != null);
+			}
+
+			break;
+	}
+
+	tinyMCE.handleVisualAid(inst.getBody(), true, inst.visualAid, inst);
+	tinyMCE.triggerNodeChange();
+	inst.execCommand('mceEndUndoLevel');
+	tinyMCEPopup.close();
+}
+
+function nextCell(elm) {
+	while ((elm = elm.nextSibling) != null) {
+		if (elm.nodeName == "TD" || elm.nodeName == "TH")
+			return elm;
+	}
+
+	return null;
+}
+
+function updateCell(td, skip_id) {
+	var inst = tinyMCE.selectedInstance;
+	var formObj = document.forms[0];
+	var curCellType = td.nodeName.toLowerCase();
+	var celltype = getSelectValue(formObj, 'celltype');
+	var doc = inst.getDoc();
+
+	if (!skip_id)
+		td.setAttribute('id', formObj.id.value);
+
+	td.setAttribute('align', formObj.align.value);
+	td.setAttribute('vAlign', formObj.valign.value);
+	td.setAttribute('lang', formObj.lang.value);
+	td.setAttribute('dir', getSelectValue(formObj, 'dir'));
+	td.setAttribute('style', tinyMCE.serializeStyle(tinyMCE.parseStyle(formObj.style.value)));
+	td.setAttribute('scope', formObj.scope.value);
+	tinyMCE.setAttrib(td, 'class', getSelectValue(formObj, 'class'));
+
+	// Clear deprecated attributes
+	tinyMCE.setAttrib(td, 'width', '');
+	tinyMCE.setAttrib(td, 'height', '');
+	tinyMCE.setAttrib(td, 'bgColor', '');
+	tinyMCE.setAttrib(td, 'borderColor', '');
+	tinyMCE.setAttrib(td, 'background', '');
+
+	// Set styles
+	td.style.width = getCSSSize(formObj.width.value);
+	td.style.height = getCSSSize(formObj.height.value);
+	if (formObj.bordercolor.value != "") {
+		td.style.borderColor = formObj.bordercolor.value;
+		td.style.borderStyle = td.style.borderStyle == "" ? "solid" : td.style.borderStyle;
+		td.style.borderWidth = td.style.borderWidth == "" ? "1px" : td.style.borderWidth;
+	} else
+		td.style.borderColor = '';
+
+	td.style.backgroundColor = formObj.bgcolor.value;
+
+	if (formObj.backgroundimage.value != "")
+		td.style.backgroundImage = "url('" + formObj.backgroundimage.value + "')";
+	else
+		td.style.backgroundImage = '';
+
+	if (curCellType != celltype) {
+		// changing to a different node type
+		var newCell = doc.createElement(celltype);
+
+		for (var c=0; c<td.childNodes.length; c++)
+			newCell.appendChild(td.childNodes[c].cloneNode(1));
+
+		for (var a=0; a<td.attributes.length; a++) {
+			var attr = td.attributes[a];
+			newCell.setAttribute(attr.name, attr.value);
+		}
+
+		td.parentNode.replaceChild(newCell, td);
+		td = newCell;
+	}
+
+	return td;
+}
+
+function changedBackgroundImage() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	st['background-image'] = "url('" + formObj.backgroundimage.value + "')";
+
+	formObj.style.value = tinyMCE.serializeStyle(st);
+}
+
+function changedSize() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	var width = formObj.width.value;
+	if (width != "")
+		st['width'] = getCSSSize(width);
+	else
+		st['width'] = "";
+
+	var height = formObj.height.value;
+	if (height != "")
+		st['height'] = getCSSSize(height);
+	else
+		st['height'] = "";
+
+	formObj.style.value = tinyMCE.serializeStyle(st);
+}
+
+function changedColor() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	st['background-color'] = formObj.bgcolor.value;
+	st['border-color'] = formObj.bordercolor.value;
+
+	formObj.style.value = tinyMCE.serializeStyle(st);
+}
+
+function changedStyle() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	if (st['background-image'])
+		formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+	else
+		formObj.backgroundimage.value = '';
+
+	if (st['width'])
+		formObj.width.value = trimSize(st['width']);
+
+	if (st['height'])
+		formObj.height.value = trimSize(st['height']);
+
+	if (st['background-color']) {
+		formObj.bgcolor.value = st['background-color'];
+		updateColor('bgcolor_pick','bgcolor');
+	}
+
+	if (st['border-color']) {
+		formObj.bordercolor.value = st['border-color'];
+		updateColor('bordercolor_pick','bordercolor');
+	}
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/merge_cells.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/merge_cells.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/merge_cells.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	var formObj = document.forms[0];
+
+	formObj.numcols.value = tinyMCE.getWindowArg('numcols', 1);
+	formObj.numrows.value = tinyMCE.getWindowArg('numrows', 1);
+}
+
+function mergeCells() {
+	var args = new Array();
+	var formObj = document.forms[0];
+
+	if (!AutoValidator.validate(formObj)) {
+		alert(tinyMCE.getLang('lang_invalid_data'));
+		return false;
+	}
+
+	args["numcols"] = formObj.numcols.value;
+	args["numrows"] = formObj.numrows.value;
+
+	tinyMCEPopup.execCommand("mceTableMergeCells", false, args);
+	tinyMCEPopup.close();
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/row.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/row.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/row.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,200 @@
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
+	document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
+
+	var inst = tinyMCE.selectedInstance;
+	var trElm = tinyMCE.getParentElement(inst.getFocusElement(), "tr");
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(tinyMCE.getAttrib(trElm, "style"));
+
+	// Get table row data
+	var rowtype = trElm.parentNode.nodeName.toLowerCase();
+	var align = tinyMCE.getAttrib(trElm, 'align');
+	var valign = tinyMCE.getAttrib(trElm, 'valign');
+	var height = trimSize(getStyle(trElm, 'height', 'height'));
+	var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(trElm, 'class'), false);
+	var bgcolor = convertRGBToHex(getStyle(trElm, 'bgcolor', 'backgroundColor'));
+	var backgroundimage = getStyle(trElm, 'background', 'backgroundImage').replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");;
+	var id = tinyMCE.getAttrib(trElm, 'id');
+	var lang = tinyMCE.getAttrib(trElm, 'lang');
+	var dir = tinyMCE.getAttrib(trElm, 'dir');
+
+	// Setup form
+	addClassesToList('class', 'table_row_styles');
+	formObj.bgcolor.value = bgcolor;
+	formObj.backgroundimage.value = backgroundimage;
+	formObj.height.value = height;
+	formObj.id.value = id;
+	formObj.lang.value = lang;
+	formObj.style.value = tinyMCE.serializeStyle(st);
+	selectByValue(formObj, 'align', align);
+	selectByValue(formObj, 'valign', valign);
+	selectByValue(formObj, 'class', className);
+	selectByValue(formObj, 'rowtype', rowtype);
+	selectByValue(formObj, 'dir', dir);
+
+	// Resize some elements
+	if (isVisible('backgroundimagebrowser'))
+		document.getElementById('backgroundimage').style.width = '180px';
+
+	updateColor('bgcolor_pick', 'bgcolor');
+}
+
+function updateAction() {
+	tinyMCEPopup.restoreSelection();
+
+	var inst = tinyMCE.selectedInstance;
+	var trElm = tinyMCE.getParentElement(inst.getFocusElement(), "tr");
+	var tableElm = tinyMCE.getParentElement(inst.getFocusElement(), "table");
+	var formObj = document.forms[0];
+	var action = getSelectValue(formObj, 'action');
+
+	inst.execCommand('mceBeginUndoLevel');
+
+	switch (action) {
+		case "row":
+			updateRow(trElm);
+			break;
+
+		case "all":
+			var rows = tableElm.getElementsByTagName("tr");
+
+			for (var i=0; i<rows.length; i++)
+				updateRow(rows[i], true);
+
+			break;
+
+		case "odd":
+		case "even":
+			var rows = tableElm.getElementsByTagName("tr");
+
+			for (var i=0; i<rows.length; i++) {
+				if ((i % 2 == 0 && action == "odd") || (i % 2 != 0 && action == "even"))
+					updateRow(rows[i], true, true);
+			}
+
+			break;
+	}
+
+	tinyMCE.handleVisualAid(inst.getBody(), true, inst.visualAid, inst);
+	tinyMCE.triggerNodeChange();
+	inst.execCommand('mceEndUndoLevel');
+	tinyMCEPopup.close();
+}
+
+function updateRow(tr_elm, skip_id, skip_parent) {
+	var inst = tinyMCE.selectedInstance;
+	var formObj = document.forms[0];
+	var curRowType = tr_elm.parentNode.nodeName.toLowerCase();
+	var rowtype = getSelectValue(formObj, 'rowtype');
+	var doc = inst.getDoc();
+
+	// Update row element
+	if (!skip_id)
+		tr_elm.setAttribute('id', formObj.id.value);
+
+	tr_elm.setAttribute('align', getSelectValue(formObj, 'align'));
+	tr_elm.setAttribute('vAlign', getSelectValue(formObj, 'valign'));
+	tr_elm.setAttribute('lang', formObj.lang.value);
+	tr_elm.setAttribute('dir', getSelectValue(formObj, 'dir'));
+	tr_elm.setAttribute('style', tinyMCE.serializeStyle(tinyMCE.parseStyle(formObj.style.value)));
+	tinyMCE.setAttrib(tr_elm, 'class', getSelectValue(formObj, 'class'));
+
+	// Clear deprecated attributes
+	tr_elm.setAttribute('background', '');
+	tr_elm.setAttribute('bgColor', '');
+	tr_elm.setAttribute('height', '');
+
+	// Set styles
+	tr_elm.style.height = getCSSSize(formObj.height.value);
+	tr_elm.style.backgroundColor = formObj.bgcolor.value;
+
+	if (formObj.backgroundimage.value != "")
+		tr_elm.style.backgroundImage = "url('" + formObj.backgroundimage.value + "')";
+	else
+		tr_elm.style.backgroundImage = '';
+
+	// Setup new rowtype
+	if (curRowType != rowtype && !skip_parent) {
+		// first, clone the node we are working on
+		var newRow = tr_elm.cloneNode(1);
+
+		// next, find the parent of its new destination (creating it if necessary)
+		var theTable = tinyMCE.getParentElement(tr_elm, "table");
+		var dest = rowtype;
+		var newParent = null;
+		for (var i = 0; i < theTable.childNodes.length; i++) {
+			if (theTable.childNodes[i].nodeName.toLowerCase() == dest)
+				newParent = theTable.childNodes[i];
+		}
+
+		if (newParent == null) {
+			newParent = doc.createElement(dest);
+
+			if (dest == "thead")
+				theTable.insertBefore(newParent, theTable.firstChild);
+			else
+				theTable.appendChild(newParent);
+		}
+
+		// append the row to the new parent
+		newParent.appendChild(newRow);
+
+		// remove the original
+		tr_elm.parentNode.removeChild(tr_elm);
+
+		// set tr_elm to the new node
+		tr_elm = newRow;
+	}
+}
+
+function changedBackgroundImage() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	st['background-image'] = "url('" + formObj.backgroundimage.value + "')";
+
+	formObj.style.value = tinyMCE.serializeStyle(st);
+}
+
+function changedStyle() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	if (st['background-image'])
+		formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+	else
+		formObj.backgroundimage.value = '';
+
+	if (st['height'])
+		formObj.height.value = trimSize(st['height']);
+
+	if (st['background-color']) {
+		formObj.bgcolor.value = st['background-color'];
+		updateColor('bgcolor_pick','bgcolor');
+	}
+}
+
+function changedSize() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	var height = formObj.height.value;
+	if (height != "")
+		st['height'] = getCSSSize(height);
+	else
+		st['height'] = "";
+
+	formObj.style.value = tinyMCE.serializeStyle(st);
+}
+
+function changedColor() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	st['background-color'] = formObj.bgcolor.value;
+
+	formObj.style.value = tinyMCE.serializeStyle(st);
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/table.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/table.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/jscripts/table.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,349 @@
+var action, orgTableWidth, orgTableHeight;
+
+function insertTable() {
+	var formObj = document.forms[0];
+	var inst = tinyMCE.selectedInstance;
+	var cols = 2, rows = 2, border = 0, cellpadding = -1, cellspacing = -1, align, width, height, className;
+	var html = '';
+	var elm = tinyMCE.tableElm;
+	var cellLimit, rowLimit, colLimit;
+
+	if (!AutoValidator.validate(formObj)) {
+		alert(tinyMCE.getLang('lang_invalid_data'));
+		return false;
+	}
+
+	tinyMCEPopup.restoreSelection();
+
+	// Get form data
+	cols = formObj.elements['cols'].value;
+	rows = formObj.elements['rows'].value;
+	border = formObj.elements['border'].value != "" ? formObj.elements['border'].value  : 0;
+	cellpadding = formObj.elements['cellpadding'].value != "" ? formObj.elements['cellpadding'].value : "";
+	cellspacing = formObj.elements['cellspacing'].value != "" ? formObj.elements['cellspacing'].value : "";
+	align = formObj.elements['align'].options[formObj.elements['align'].selectedIndex].value;
+	width = formObj.elements['width'].value;
+	height = formObj.elements['height'].value;
+	bordercolor = formObj.elements['bordercolor'].value;
+	bgcolor = formObj.elements['bgcolor'].value;
+	className = formObj.elements['class'].options[formObj.elements['class'].selectedIndex].value;
+	id = formObj.elements['id'].value;
+	summary = formObj.elements['summary'].value;
+	style = formObj.elements['style'].value;
+	dir = formObj.elements['dir'].value;
+	lang = formObj.elements['lang'].value;
+	background = formObj.elements['backgroundimage'].value;
+
+	cellLimit = tinyMCE.getParam('table_cell_limit', false);
+	rowLimit = tinyMCE.getParam('table_row_limit', false);
+	colLimit = tinyMCE.getParam('table_col_limit', false);
+
+	// Validate table size
+	if (colLimit && cols > colLimit) {
+		alert(tinyMCE.getLang('lang_table_col_limit', '', true, {cols : colLimit}));
+		return false;
+	} else if (rowLimit && rows > rowLimit) {
+		alert(tinyMCE.getLang('lang_table_row_limit', '', true, {rows : rowLimit}));
+		return false;
+	} else if (cellLimit && cols * rows > cellLimit) {
+		alert(tinyMCE.getLang('lang_table_cell_limit', '', true, {cells : cellLimit}));
+		return false;
+	}
+
+	// Update table
+	if (action == "update") {
+		inst.execCommand('mceBeginUndoLevel');
+
+		tinyMCE.setAttrib(elm, 'cellPadding', cellpadding, true);
+		tinyMCE.setAttrib(elm, 'cellSpacing', cellspacing, true);
+		tinyMCE.setAttrib(elm, 'border', border, true);
+		tinyMCE.setAttrib(elm, 'align', align);
+		tinyMCE.setAttrib(elm, 'class', className);
+		tinyMCE.setAttrib(elm, 'style', style);
+		tinyMCE.setAttrib(elm, 'id', id);
+		tinyMCE.setAttrib(elm, 'summary', summary);
+		tinyMCE.setAttrib(elm, 'dir', dir);
+		tinyMCE.setAttrib(elm, 'lang', lang);
+
+		// Not inline styles
+		if (!tinyMCE.getParam("inline_styles"))
+			tinyMCE.setAttrib(elm, 'width', width, true);
+
+		// Remove these since they are not valid XHTML
+		tinyMCE.setAttrib(elm, 'borderColor', '');
+		tinyMCE.setAttrib(elm, 'bgColor', '');
+		tinyMCE.setAttrib(elm, 'background', '');
+		tinyMCE.setAttrib(elm, 'height', '');
+
+		if (background != '')
+			elm.style.backgroundImage = "url('" + background + "')";
+		else
+			elm.style.backgroundImage = '';
+
+		if (tinyMCE.getParam("inline_styles"))
+			elm.style.borderWidth = border + "px";
+
+		if (tinyMCE.getParam("inline_styles")) {
+			if (width != '')
+				elm.style.width = getCSSSize(width);
+		}
+
+		if (bordercolor != "") {
+			elm.style.borderColor = bordercolor;
+			elm.style.borderStyle = elm.style.borderStyle == "" ? "solid" : elm.style.borderStyle;
+			elm.style.borderWidth = border == "" ? "1px" : border;
+		} else
+			elm.style.borderColor = '';
+
+		elm.style.backgroundColor = bgcolor;
+		elm.style.height = getCSSSize(height);
+
+		tinyMCE.handleVisualAid(tinyMCE.tableElm, false, inst.visualAid, inst);
+
+		// Fix for stange MSIE align bug
+		tinyMCE.tableElm.outerHTML = tinyMCE.tableElm.outerHTML;
+
+		tinyMCE.handleVisualAid(inst.getBody(), true, inst.visualAid, inst);
+		tinyMCE.triggerNodeChange();
+		inst.execCommand('mceEndUndoLevel');
+
+		// Repaint if dimensions changed
+		if (formObj.width.value != orgTableWidth || formObj.height.value != orgTableHeight)
+			inst.repaint();
+
+		tinyMCEPopup.close();
+		return true;
+	}
+
+	// Create new table
+	html += '<table';
+
+	html += makeAttrib('id', id);
+	html += makeAttrib('border', border);
+	html += makeAttrib('cellpadding', cellpadding);
+	html += makeAttrib('cellspacing', cellspacing);
+	html += makeAttrib('width', width);
+	//html += makeAttrib('height', height);
+	//html += makeAttrib('bordercolor', bordercolor);
+	//html += makeAttrib('bgcolor', bgcolor);
+	html += makeAttrib('align', align);
+	html += makeAttrib('class', tinyMCE.getVisualAidClass(className, border == 0));
+	html += makeAttrib('style', style);
+	html += makeAttrib('summary', summary);
+	html += makeAttrib('dir', dir);
+	html += makeAttrib('lang', lang);
+
+	html += '>';
+
+	for (var y=0; y<rows; y++) {
+		html += "<tr>";
+
+		for (var x=0; x<cols; x++)
+			html += '<td>&nbsp;</td>';
+
+		html += "</tr>";
+	}
+
+	html += "</table>";
+
+	inst.execCommand('mceBeginUndoLevel');
+	inst.execCommand('mceInsertContent', false, html);
+	tinyMCE.handleVisualAid(inst.getBody(), true, tinyMCE.settings['visual']);
+	inst.execCommand('mceEndUndoLevel');
+
+	tinyMCEPopup.close();
+}
+
+function makeAttrib(attrib, value) {
+	var formObj = document.forms[0];
+	var valueElm = formObj.elements[attrib];
+
+	if (typeof(value) == "undefined" || value == null) {
+		value = "";
+
+		if (valueElm)
+			value = valueElm.value;
+	}
+
+	if (value == "")
+		return "";
+
+	// XML encode it
+	value = value.replace(/&/g, '&amp;');
+	value = value.replace(/\"/g, '&quot;');
+	value = value.replace(/</g, '&lt;');
+	value = value.replace(/>/g, '&gt;');
+
+	return ' ' + attrib + '="' + value + '"';
+}
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
+	document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
+	document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor');
+	document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
+
+	var cols = 2, rows = 2, border = tinyMCE.getParam('table_default_border', '0'), cellpadding = tinyMCE.getParam('table_default_cellpadding', ''), cellspacing = tinyMCE.getParam('table_default_cellspacing', '');
+	var align = "", width = "", height = "", bordercolor = "", bgcolor = "", className = "";
+	var id = "", summary = "", style = "", dir = "", lang = "", background = "", bgcolor = "", bordercolor = "";
+	var inst = tinyMCE.selectedInstance;
+	var formObj = document.forms[0];
+	var elm = tinyMCE.getParentElement(inst.getFocusElement(), "table");
+
+	tinyMCE.tableElm = elm;
+	action = tinyMCE.getWindowArg('action');
+	if (action == null)
+		action = tinyMCE.tableElm ? "update" : "insert";
+
+	if (tinyMCE.tableElm && action != "insert") {
+		var rowsAr = tinyMCE.tableElm.rows;
+		var cols = 0;
+		for (var i=0; i<rowsAr.length; i++)
+			if (rowsAr[i].cells.length > cols)
+				cols = rowsAr[i].cells.length;
+
+		cols = cols;
+		rows = rowsAr.length;
+
+		st = tinyMCE.parseStyle(tinyMCE.getAttrib(tinyMCE.tableElm, "style"));
+		border = trimSize(getStyle(elm, 'border', 'borderWidth'));
+		cellpadding = tinyMCE.getAttrib(tinyMCE.tableElm, 'cellpadding', "");
+		cellspacing = tinyMCE.getAttrib(tinyMCE.tableElm, 'cellspacing', "");
+		width = trimSize(getStyle(elm, 'width', 'width'));
+		height = trimSize(getStyle(elm, 'height', 'height'));
+		bordercolor = convertRGBToHex(getStyle(elm, 'bordercolor', 'borderLeftColor'));
+		bgcolor = convertRGBToHex(getStyle(elm, 'bgcolor', 'backgroundColor'));
+		align = tinyMCE.getAttrib(tinyMCE.tableElm, 'align', align);
+		className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(tinyMCE.tableElm, 'class'), false);
+		id = tinyMCE.getAttrib(tinyMCE.tableElm, 'id');
+		summary = tinyMCE.getAttrib(tinyMCE.tableElm, 'summary');
+		style = tinyMCE.serializeStyle(st);
+		dir = tinyMCE.getAttrib(tinyMCE.tableElm, 'dir');
+		lang = tinyMCE.getAttrib(tinyMCE.tableElm, 'lang');
+		background = getStyle(elm, 'background', 'backgroundImage').replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+
+		orgTableWidth = width;
+		orgTableHeight = height;
+
+		action = "update";
+	}
+
+	addClassesToList('class', "table_styles");
+
+	// Update form
+	selectByValue(formObj, 'align', align);
+	selectByValue(formObj, 'class', className);
+	formObj.cols.value = cols;
+	formObj.rows.value = rows;
+	formObj.border.value = border;
+	formObj.cellpadding.value = cellpadding;
+	formObj.cellspacing.value = cellspacing;
+	formObj.width.value = width;
+	formObj.height.value = height;
+	formObj.bordercolor.value = bordercolor;
+	formObj.bgcolor.value = bgcolor;
+	formObj.id.value = id;
+	formObj.summary.value = summary;
+	formObj.style.value = style;
+	formObj.dir.value = dir;
+	formObj.lang.value = lang;
+	formObj.backgroundimage.value = background;
+	formObj.insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); 
+
+	updateColor('bordercolor_pick', 'bordercolor');
+	updateColor('bgcolor_pick', 'bgcolor');
+
+	// Resize some elements
+	if (isVisible('backgroundimagebrowser'))
+		document.getElementById('backgroundimage').style.width = '180px';
+
+	// Disable some fields in update mode
+	if (action == "update") {
+		formObj.cols.disabled = true;
+		formObj.rows.disabled = true;
+	}
+}
+
+function changedSize() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	var width = formObj.width.value;
+	if (width != "")
+		st['width'] = tinyMCE.getParam("inline_styles") ? getCSSSize(width) : "";
+	else
+		st['width'] = "";
+
+	var height = formObj.height.value;
+	if (height != "")
+		st['height'] = getCSSSize(height);
+	else
+		st['height'] = "";
+
+	formObj.style.value = tinyMCE.serializeStyle(st);
+}
+
+function changedBackgroundImage() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	st['background-image'] = "url('" + formObj.backgroundimage.value + "')";
+
+	formObj.style.value = tinyMCE.serializeStyle(st);
+}
+
+function changedBorder() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	// Update border width if the element has a color
+	if (formObj.border.value != "" && formObj.bordercolor.value != "")
+		st['border-width'] = formObj.border.value + "px";
+
+	formObj.style.value = tinyMCE.serializeStyle(st);
+}
+
+function changedColor() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	st['background-color'] = formObj.bgcolor.value;
+
+	if (formObj.bordercolor.value != "") {
+		st['border-color'] = formObj.bordercolor.value;
+
+		// Add border-width if it's missing
+		if (!st['border-width'])
+			st['border-width'] = formObj.border.value == "" ? "1px" : formObj.border.value + "px";
+	}
+
+	formObj.style.value = tinyMCE.serializeStyle(st);
+}
+
+function changedStyle() {
+	var formObj = document.forms[0];
+	var st = tinyMCE.parseStyle(formObj.style.value);
+
+	if (st['background-image'])
+		formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+	else
+		formObj.backgroundimage.value = '';
+
+	if (st['width'])
+		formObj.width.value = trimSize(st['width']);
+
+	if (st['height'])
+		formObj.height.value = trimSize(st['height']);
+
+	if (st['background-color']) {
+		formObj.bgcolor.value = st['background-color'];
+		updateColor('bgcolor_pick','bgcolor');
+	}
+
+	if (st['border-color']) {
+		formObj.bordercolor.value = st['border-color'];
+		updateColor('bordercolor_pick','bordercolor');
+	}
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,78 @@
+// UK lang variables
+
+tinyMCE.addToLang('table',{
+general_tab : 'General',
+advanced_tab : 'Advanced',
+general_props : 'General properties',
+advanced_props : 'Advanced properties',
+desc : 'Inserts a new table',
+row_before_desc : 'Insert row before',
+row_after_desc : 'Insert row after',
+delete_row_desc : 'Delete row',
+col_before_desc : 'Insert column before',
+col_after_desc : 'Insert column after',
+delete_col_desc : 'Remove column',
+rowtype : 'Row in table part',
+title : 'Insert/Modify table',
+width : 'Width',
+height : 'Height',
+cols : 'Columns',
+rows : 'Rows',
+cellspacing : 'Cellspacing',
+cellpadding : 'Cellpadding',
+border : 'Border',
+align : 'Alignment',
+align_default : 'Default',
+align_left : 'Left',
+align_right : 'Right',
+align_middle : 'Center',
+row_title : 'Table row properties',
+cell_title : 'Table cell properties',
+cell_type : 'Cell type',
+row_desc : 'Table row properties',
+cell_desc : 'Table cell properties',
+valign : 'Vertical alignment',
+align_top : 'Top',
+align_bottom : 'Bottom',
+props_desc : 'Table properties',
+bordercolor : 'Border color',
+bgcolor : 'Background color',
+merge_cells_title : 'Merge table cells',
+split_cells_desc : 'Split table cells',
+merge_cells_desc : 'Merge table cells',
+cut_row_desc : 'Cut table row',
+copy_row_desc : 'Copy table row',
+paste_row_before_desc : 'Paste table row before',
+paste_row_after_desc : 'Paste table row after',
+id : 'Id',
+style: 'Style',
+langdir : 'Language direction',
+langcode : 'Language code',
+mime : 'Target MIME type',
+ltr : 'Left to right',
+rtl : 'Right to left',
+bgimage : 'Background image',
+summary : 'Summary',
+td : "Data",
+th : "Header",
+cell_cell : 'Update current cell',
+cell_row : 'Update all cells in row',
+cell_all : 'Update all cells in table',
+row_row : 'Update current row',
+row_odd : 'Update odd rows in table',
+row_even : 'Update even rows in table',
+row_all : 'Update all rows in table',
+thead : 'Table Head',
+tbody : 'Table Body',
+tfoot : 'Table Foot',
+del : 'Delete table',
+scope : 'Scope',
+row : 'Row',
+col : 'Col',
+rowgroup : 'Row Group',
+colgroup : 'Col Group',
+col_limit : 'You\'ve exceeded the maximum number of columns of {$cols}.',
+row_limit : 'You\'ve exceeded the maximum number of rows of {$rows}.',
+cell_limit : 'You\'ve exceeded the maximum number of cells of {$cells}.',
+missing_scope: 'Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/merge_cells.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/merge_cells.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/merge_cells.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_table_merge_cells_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/merge_cells.js"></script>
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');" style="margin: 8px" style="display: none">
+<form onsubmit="insertTable();return false;" action="#">
+	<fieldset>
+		<legend>{$lang_table_merge_cells_title}</legend>
+		  <table border="0" cellpadding="0" cellspacing="3" width="100%">
+			  <tr>
+				<td>{$lang_table_cols}:</td>
+				<td align="right"><input type="text" name="numcols" value="" class="number min1" style="width: 30px" /></td>
+				<td>
+			  </tr>
+			  <tr>
+				<td>{$lang_table_rows}:</td>
+				<td align="right"><input type="text" name="numrows" value="" class="number min1" style="width: 30px" /></td>
+			  </tr>
+		  </table>
+	</fieldset>
+
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" id="insert" name="insert" value="{$lang_update}" onclick="mergeCells();" />
+		</div>
+
+		<div style="float: right">
+			<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/row.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/row.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/row.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,159 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_table_row_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/row.js"></script>
+	<link href="css/row.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body id="tablerow" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+	<form onsubmit="updateAction();return false;">
+		<div class="tabs">
+			<ul>
+				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_table_general_tab}</a></span></li>
+				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_table_advanced_tab}</a></span></li>
+			</ul>
+		</div>
+
+		<div class="panel_wrapper">
+			<div id="general_panel" class="panel current">
+				<fieldset>
+					<legend>{$lang_table_general_props}</legend>
+
+					<table border="0" cellpadding="4" cellspacing="0">
+						<tr>
+							<td><label for="rowtype">{$lang_table_rowtype}</label></td>
+							<td class="col2">
+								<select id="rowtype" name="rowtype">
+									<option value="thead">{$lang_table_thead}</option>
+									<option value="tbody">{$lang_table_tbody}</option>
+									<option value="tfoot">{$lang_table_tfoot}</option>
+								</select>
+							</td>
+						</tr>
+
+						<tr>
+							<td><label for="align">{$lang_table_align}</label></td>
+							<td class="col2">
+								<select id="align" name="align">
+									<option value="">{$lang_not_set}</option>
+									<option value="center">{$lang_table_align_middle}</option>
+									<option value="left">{$lang_table_align_left}</option>
+									<option value="right">{$lang_table_align_right}</option>
+								</select>
+							</td>
+						</tr>
+
+						<tr>
+							<td><label for="valign">{$lang_table_valign}</label></td>
+							<td class="col2">
+								<select id="valign" name="valign">
+									<option value="">{$lang_not_set}</option>
+									<option value="top">{$lang_table_align_top}</option>
+									<option value="middle">{$lang_table_align_middle}</option>
+									<option value="bottom">{$lang_table_align_bottom}</option>
+								</select>
+							</td>
+						</tr>
+
+						<tr id="styleSelectRow">
+							<td><label for="class">{$lang_class_name}</label></td>
+							<td class="col2">
+								<select id="class" name="class">
+									<option value="" selected="selected">{$lang_not_set}</option>
+								</select>
+							</td>
+						</tr>
+
+						<tr>
+							<td><label for="height">{$lang_table_height}</label></td>
+							<td class="col2"><input name="height" type="text" id="height" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+
+			<div id="advanced_panel" class="panel">
+				<fieldset>
+					<legend>{$lang_table_advanced_props}</legend>
+
+					<table border="0" cellpadding="0" cellspacing="4">
+						<tr>
+							<td class="column1"><label for="id">{$lang_table_id}</label></td> 
+							<td><input id="id" name="id" type="text" value="" style="width: 200px" /></td> 
+						</tr>
+
+						<tr>
+							<td><label for="style">{$lang_table_style}</label></td>
+							<td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="dir">{$lang_table_langdir}</label></td> 
+							<td>
+								<select id="dir" name="dir" style="width: 200px"> 
+										<option value="">{$lang_not_set}</option> 
+										<option value="ltr">{$lang_table_ltr}</option> 
+										<option value="rtl">{$lang_table_rtl}</option> 
+								</select>
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="lang">{$lang_table_langcode}</label></td> 
+							<td>
+								<input id="lang" name="lang" type="text" value="" style="width: 200px" />
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="backgroundimage">{$lang_table_bgimage}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
+										<td id="backgroundimagebrowsercontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="bgcolor">{$lang_table_bgcolor}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
+										<td id="bgcolor_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td> 
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+		</div>
+
+		<div class="mceActionPanel">
+			<div>
+				<select id="action" name="action">
+					<option value="row">{$lang_table_row_row}</option>
+					<option value="odd">{$lang_table_row_odd}</option>
+					<option value="even">{$lang_table_row_even}</option>
+					<option value="all">{$lang_table_row_all}</option>
+				</select>
+			</div>
+
+			<div style="float: left">
+				<div><input type="button" id="insert" name="insert" value="{$lang_update}" onclick="updateAction();" /></div>
+			</div>
+
+			<div style="float: right">
+				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+			</div>
+		</div>
+	</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/table.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/table.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/table/table.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,156 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_table_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/table.js"></script>
+	<link href="css/table.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body id="table" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+	<form onsubmit="insertTable();return false;" action="#">
+		<div class="tabs">
+			<ul>
+				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_table_general_tab}</a></span></li>
+				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_table_advanced_tab}</a></span></li>
+			</ul>
+		</div>
+
+		<div class="panel_wrapper">
+			<div id="general_panel" class="panel current">
+				<fieldset>
+					<legend>{$lang_table_general_props}</legend>
+
+					  <table border="0" cellpadding="4" cellspacing="0" width="100%">
+							  <tr>
+								<td><label id="colslabel" for="cols">{$lang_table_cols}</label></td>
+								<td><input id="cols" name="cols" type="text" value="" size="3" maxlength="3" class="required number min1" /></td>
+								<td><label id="rowslabel" for="rows">{$lang_table_rows}</label></td>
+								<td><input id="rows" name="rows" type="text" value="" size="3" maxlength="3" class="required number min1" /></td>
+							  </tr>
+							  <tr>
+								<td><label id="cellpaddinglabel" for="cellpadding">{$lang_table_cellpadding}</label></td>
+								<td><input id="cellpadding" name="cellpadding" type="text" value="" size="3" maxlength="3" class="number" /></td>
+								<td><label id="cellspacinglabel" for="cellspacing">{$lang_table_cellspacing}</label></td>
+								<td><input id="cellspacing" name="cellspacing" type="text" value="" size="3" maxlength="3" class="number" /></td>
+							  </tr>
+							  <tr>
+								<td><label id="alignlabel" for="align">{$lang_table_align}</label></td>
+								<td><select id="align" name="align">
+									<option value="">{$lang_not_set}</option>
+									<option value="center">{$lang_table_align_middle}</option>
+									<option value="left">{$lang_table_align_left}</option>
+									<option value="right">{$lang_table_align_right}</option>
+								  </select></td>
+								<td><label id="borderlabel" for="border">{$lang_table_border}</label></td>
+								<td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="changedBorder();" class="number" /></td>
+							  </tr>
+							  <tr id="width_row">
+								<td><label id="widthlabel" for="width">{$lang_table_width}</label></td>
+								<td><input name="width" type="text" id="width" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
+								<td><label id="heightlabel" for="height">{$lang_table_height}</label></td>
+								<td><input name="height" type="text" id="height" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
+							  </tr>
+							  <tr id="styleSelectRow">
+								<td><label id="classlabel" for="class">{$lang_class_name}</label></td>
+								<td colspan="3">
+								 <select id="class" name="class">
+									<option value="" selected>{$lang_not_set}</option>
+								 </select></td>
+							  </tr>
+							</table>
+				</fieldset>
+			</div>
+
+			<div id="advanced_panel" class="panel">
+				<fieldset>
+					<legend>{$lang_table_advanced_props}</legend>
+
+					<table border="0" cellpadding="0" cellspacing="4">
+						<tr>
+							<td class="column1"><label for="id">{$lang_table_id}</label></td> 
+							<td><input id="id" name="id" type="text" value="" class="advfield" /></td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="summary">{$lang_table_summary}</label></td> 
+							<td><input id="summary" name="summary" type="text" value="" class="advfield" /></td> 
+						</tr>
+
+						<tr>
+							<td><label for="style">{$lang_table_style}</label></td>
+							<td><input type="text" id="style" name="style" value="" class="advfield" onchange="changedStyle();" /></td>
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="dir">{$lang_table_langdir}</label></td> 
+							<td>
+								<select id="dir" name="dir" class="advfield"> 
+										<option value="">{$lang_not_set}</option> 
+										<option value="ltr">{$lang_table_ltr}</option> 
+										<option value="rtl">{$lang_table_rtl}</option> 
+								</select>
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label id="langlabel" for="lang">{$lang_table_langcode}</label></td> 
+							<td>
+								<input id="lang" name="lang" type="text" value="" class="advfield" />
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="backgroundimage">{$lang_table_bgimage}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="backgroundimage" name="backgroundimage" type="text" value="" class="advfield" onchange="changedBackgroundImage();" /></td>
+										<td id="backgroundimagebrowsercontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="bordercolor">{$lang_table_bordercolor}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
+										<td id="bordercolor_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td> 
+						</tr>
+
+						<tr>
+							<td class="column1"><label for="bgcolor">{$lang_table_bgcolor}</label></td> 
+							<td>
+								<table border="0" cellpadding="0" cellspacing="0">
+									<tr>
+										<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
+										<td id="bgcolor_pickcontainer">&nbsp;</td>
+									</tr>
+								</table>
+							</td> 
+						</tr>
+					</table>
+				</fieldset>
+			</div>
+		</div>
+
+		<div class="mceActionPanel">
+			<div style="float: left">
+				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertTable();" />
+			</div>
+
+			<div style="float: right">
+				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+			</div>
+		</div>
+	</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('visualchars');var TinyMCE_VisualCharsPlugin={getInfo:function(){return{longname:'Visual characters',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_visualchars.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){inst.visualChars={state:false}},getControlHTML:function(cn){switch(cn){case"visualchars":return tinyMCE.getButtonHTML(cn,'lang_visualchars_desc','{$pluginurl}/images/visualchars.gif','mceVisualChars',false)}return""},execCommand:function(editor_id,element,command,user_interface,value){var inst=tinyMCE.getInstanceById(editor_id);switch(command){case"mceVisualChars":this._toggleVisualChars(editor_id,inst);return true}return false},cleanup:function(type,content,inst){if(type=="insert_to_editor_dom"||type=="get_from_editor_dom"){inst.visualChars.state=true;this._toggleVisualChars(inst.editorId,inst)}return content},_tog!
 gleVisualChars:function(editor_id,inst){var nl,i,h,d=inst.getDoc(),b=inst.getBody(),nv,s=inst.selection,bo;inst.visualChars.state=!inst.visualChars.state;bo=s.getBookmark(true);tinyMCE.switchClass(editor_id+'_visualchars',inst.visualChars.state?'mceButtonSelected':'mceButtonNormal');if(inst.visualChars.state){nl=tinyMCE.selectNodes(b,function(n){return n.nodeType==3&&n.nodeValue&&n.nodeValue.indexOf('\u00a0')!=-1});for(i=0;i<nl.length;i++){nv=nl[i].nodeValue;nv=nv.replace(/(\u00a0+)/g,'<span class="mceItemHiddenVisualChar">$1</span>');nv=nv.replace(/\u00a0/g,'\u00b7');tinyMCE.setOuterHTML(nl[i],nv,d)}}else{nl=tinyMCE.selectNodes(b,function(n){return n.nodeType==1&&n.nodeName=='SPAN'&&n.className=='mceItemHiddenVisualChar'});for(i=0;i<nl.length;i++)tinyMCE.setOuterHTML(nl[i],nl[i].innerHTML.replace(/(&middot;|\u00b7)/g,'&nbsp;'),d)}}};tinyMCE.addPlugin("visualchars",TinyMCE_VisualCharsPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,89 @@
+/**
+ * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('visualchars');
+
+var TinyMCE_VisualCharsPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Visual characters',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_visualchars.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		inst.visualChars = {
+			state : false
+		};
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "visualchars":
+				return tinyMCE.getButtonHTML(cn, 'lang_visualchars_desc', '{$pluginurl}/images/visualchars.gif', 'mceVisualChars', false);
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		var inst = tinyMCE.getInstanceById(editor_id);
+
+		switch (command) {
+			case "mceVisualChars":
+				this._toggleVisualChars(editor_id, inst);
+				return true;
+		}
+
+		return false;
+	},
+
+	cleanup : function(type, content, inst) {
+		if (type == "insert_to_editor_dom" || type == "get_from_editor_dom") {
+			inst.visualChars.state = true;
+			this._toggleVisualChars(inst.editorId, inst);
+		}
+
+		return content;
+	},
+
+	// Private plugin internal methods
+
+	_toggleVisualChars : function(editor_id, inst) {
+		var nl, i, h, d = inst.getDoc(), b = inst.getBody(), nv, s = inst.selection, bo;
+
+		inst.visualChars.state = !inst.visualChars.state;
+
+		bo = s.getBookmark(true);
+
+		tinyMCE.switchClass(editor_id + '_visualchars', inst.visualChars.state ? 'mceButtonSelected' : 'mceButtonNormal');
+
+		if (inst.visualChars.state) {
+			nl = tinyMCE.selectNodes(b, function(n) {return n.nodeType == 3 && n.nodeValue && n.nodeValue.indexOf('\u00a0') != -1;});
+
+			for (i=0; i<nl.length; i++) {
+				nv = nl[i].nodeValue;
+				nv = nv.replace(/(\u00a0+)/g, '<span class="mceItemHiddenVisualChar">$1</span>');
+				nv = nv.replace(/\u00a0/g, '\u00b7');
+				tinyMCE.setOuterHTML(nl[i], nv, d);
+			}
+		} else {
+			nl = tinyMCE.selectNodes(b, function(n) {return n.nodeType == 1 && n.nodeName == 'SPAN' && n.className == 'mceItemHiddenVisualChar';});
+
+			for (i=0; i<nl.length; i++)
+				tinyMCE.setOuterHTML(nl[i], nl[i].innerHTML.replace(/(&middot;|\u00b7)/g, '&nbsp;'), d);
+		}
+
+		//s.moveToBookmark(bo);
+	}
+};
+
+tinyMCE.addPlugin("visualchars", TinyMCE_VisualCharsPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/images/visualchars.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/images/visualchars.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/visualchars/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+// EN lang variables
+
+tinyMCE.addToLang('visualchars',{
+desc : 'Visual control characters on/off.'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/abbr.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/abbr.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/abbr.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,148 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_xhtmlxtras_title_abbr_element}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/editable_selects.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/element_common.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/abbr.js"></script>
+	<link rel="stylesheet" type="text/css" href="css/popup.css" />
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+<form onsubmit="insertAbbr();return false;" action="#">
+	<div class="tabs">
+		<ul>
+			<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_xhtmlxtras_general_tab}</a></span></li>
+			<!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{$lang_xhtmlxtras_events_tab}</a></span></li> -->
+		</ul>
+	</div>
+
+	<div class="panel_wrapper">
+		<div id="general_panel" class="panel current">
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_attrib_tab}</legend>
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label id="titlelabel" for="title">{$lang_xhtmlxtras_attribute_label_title}</label>:</td> 
+						<td><input id="title" name="title" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="idlabel" for="id">{$lang_xhtmlxtras_attribute_label_id}</label>:</td> 
+						<td><input id="id" name="id" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="classlabel" for="class">{$lang_xhtmlxtras_attribute_label_class}</label>:</td> 
+						<td>
+							<select id="class" name="class" class="field mceEditableSelect">
+								<option value="">{$lang_xhtmlxtras_not_set}</option> 
+							</select>
+						</td>
+					</tr>
+					<tr>
+						<td class="label"><label id="stylelabel" for="class">{$lang_xhtmlxtras_attribute_label_style}</label>:</td> 
+						<td><input id="style" name="style" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="dirlabel" for="dir">{$lang_xhtmlxtras_attribute_label_langdir}</label>:</td> 
+						<td>
+							<select id="dir" name="dir" class="field"> 
+								<option value="">{$lang_xhtmlxtras_not_set}</option> 
+								<option value="ltr">{$lang_xhtmlxtras_attribute_option_ltr}</option> 
+								<option value="rtl">{$lang_xhtmlxtras_attribute_option_rtl}</option> 
+							</select>
+						</td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="langlabel" for="lang">{$lang_xhtmlxtras_attribute_label_langcode}</label>:</td> 
+						<td>
+							<input id="lang" name="lang" type="text" value="" class="field" />
+						</td> 
+					</tr>
+				</table>
+			</fieldset>
+		</div>
+		<div id="events_panel" class="panel">
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_events_tab}</legend>
+
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label for="onfocus">onfocus</label>:</td> 
+						<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onblur">onblur</label>:</td> 
+						<td><input id="onblur" name="onblur" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onclick">onclick</label>:</td> 
+						<td><input id="onclick" name="onclick" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="ondblclick">ondblclick</label>:</td> 
+						<td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmousedown">onmousedown</label>:</td> 
+						<td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseup">onmouseup</label>:</td> 
+						<td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseover">onmouseover</label>:</td> 
+						<td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmousemove">onmousemove</label>:</td> 
+						<td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseout">onmouseout</label>:</td> 
+						<td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeypress">onkeypress</label>:</td> 
+						<td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeydown">onkeydown</label>:</td> 
+						<td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeyup">onkeyup</label>:</td> 
+						<td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td> 
+					</tr>
+				</table>
+			</fieldset>
+		</div>
+	</div>
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" id="insert" name="insert" value="{$lang_update}" onclick="insertAbbr();" />
+		</div>
+		<div style="float: left">
+			<input type="button" id="remove" name="remove" value="{$lang_xhtmlxtras_remove}" onclick="removeAbbr();" style="display: none;" />
+		</div>
+		<div style="float: right">
+			<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/acronym.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/acronym.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/acronym.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,148 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_xhtmlxtras_title_acronym_element}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/editable_selects.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/element_common.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/acronym.js"></script>
+	<link rel="stylesheet" type="text/css" href="css/popup.css" />
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+<form onsubmit="insertAcronym();return false;" action="#">
+	<div class="tabs">
+		<ul>
+			<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_xhtmlxtras_general_tab}</a></span></li>
+			<!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{$lang_xhtmlxtras_events_tab}</a></span></li> -->
+		</ul>
+	</div>
+
+	<div class="panel_wrapper">
+		<div id="general_panel" class="panel current">
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_attrib_tab}</legend>
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label id="titlelabel" for="title">{$lang_xhtmlxtras_attribute_label_title}</label>:</td> 
+						<td><input id="title" name="title" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="idlabel" for="id">{$lang_xhtmlxtras_attribute_label_id}</label>:</td> 
+						<td><input id="id" name="id" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="classlabel" for="class">{$lang_xhtmlxtras_attribute_label_class}</label>:</td> 
+						<td>
+							<select id="class" name="class" class="field mceEditableSelect">
+								<option value="">{$lang_xhtmlxtras_not_set}</option> 
+							</select>
+						</td>
+					</tr>
+					<tr>
+						<td class="label"><label id="stylelabel" for="class">{$lang_xhtmlxtras_attribute_label_style}</label>:</td> 
+						<td><input id="style" name="style" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="dirlabel" for="dir">{$lang_xhtmlxtras_attribute_label_langdir}</label>:</td> 
+						<td>
+							<select id="dir" name="dir" class="field"> 
+								<option value="">{$lang_xhtmlxtras_not_set}</option> 
+								<option value="ltr">{$lang_xhtmlxtras_attribute_option_ltr}</option> 
+								<option value="rtl">{$lang_xhtmlxtras_attribute_option_rtl}</option> 
+							</select>
+						</td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="langlabel" for="lang">{$lang_xhtmlxtras_attribute_label_langcode}</label>:</td> 
+						<td>
+							<input id="lang" name="lang" type="text" value="" class="field" />
+						</td> 
+					</tr>
+				</table>
+			</fieldset>
+		</div>
+		<div id="events_panel" class="panel">
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_events_tab}</legend>
+
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label for="onfocus">onfocus</label>:</td> 
+						<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onblur">onblur</label>:</td> 
+						<td><input id="onblur" name="onblur" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onclick">onclick</label>:</td> 
+						<td><input id="onclick" name="onclick" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="ondblclick">ondblclick</label>:</td> 
+						<td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmousedown">onmousedown</label>:</td> 
+						<td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseup">onmouseup</label>:</td> 
+						<td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseover">onmouseover</label>:</td> 
+						<td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmousemove">onmousemove</label>:</td> 
+						<td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseout">onmouseout</label>:</td> 
+						<td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeypress">onkeypress</label>:</td> 
+						<td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeydown">onkeydown</label>:</td> 
+						<td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeyup">onkeyup</label>:</td> 
+						<td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td> 
+					</tr>
+				</table>
+			</fieldset>
+		</div>
+	</div>
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" id="insert" name="insert" value="{$lang_update}" onclick="insertAcronym();" />
+		</div>
+		<div style="float: left">
+			<input type="button" id="remove" name="remove" value="{$lang_xhtmlxtras_remove}" onclick="removeAcronym();" style="display: none;" />
+		</div>
+		<div style="float: right">
+			<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/cite.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/cite.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/cite.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,148 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_xhtmlxtras_title_cite_element}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/editable_selects.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/element_common.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/cite.js"></script>
+	<link rel="stylesheet" type="text/css" href="css/popup.css" />
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+<form onsubmit="insertCite();return false;" action="#">
+	<div class="tabs">
+		<ul>
+			<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_xhtmlxtras_general_tab}</a></span></li>
+			<!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{$lang_xhtmlxtras_events_tab}</a></span></li> -->
+		</ul>
+	</div>
+
+	<div class="panel_wrapper">
+		<div id="general_panel" class="panel current">
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_attrib_tab}</legend>
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label id="titlelabel" for="title">{$lang_xhtmlxtras_attribute_label_title}</label>:</td> 
+						<td><input id="title" name="title" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="idlabel" for="id">{$lang_xhtmlxtras_attribute_label_id}</label>:</td> 
+						<td><input id="id" name="id" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="classlabel" for="class">{$lang_xhtmlxtras_attribute_label_class}</label>:</td> 
+						<td>
+							<select id="class" name="class" class="field mceEditableSelect">
+								<option value="">{$lang_xhtmlxtras_not_set}</option> 
+							</select>
+						</td>
+					</tr>
+					<tr>
+						<td class="label"><label id="stylelabel" for="class">{$lang_xhtmlxtras_attribute_label_style}</label>:</td> 
+						<td><input id="style" name="style" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="dirlabel" for="dir">{$lang_xhtmlxtras_attribute_label_langdir}</label>:</td> 
+						<td>
+							<select id="dir" name="dir" class="field"> 
+								<option value="">{$lang_xhtmlxtras_not_set}</option> 
+								<option value="ltr">{$lang_xhtmlxtras_attribute_option_ltr}</option> 
+								<option value="rtl">{$lang_xhtmlxtras_attribute_option_rtl}</option> 
+							</select>
+						</td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="langlabel" for="lang">{$lang_xhtmlxtras_attribute_label_langcode}</label>:</td> 
+						<td>
+							<input id="lang" name="lang" type="text" value="" class="field" />
+						</td> 
+					</tr>
+				</table>
+			</fieldset>
+		</div>
+		<div id="events_panel" class="panel">
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_events_tab}</legend>
+
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label for="onfocus">onfocus</label>:</td> 
+						<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onblur">onblur</label>:</td> 
+						<td><input id="onblur" name="onblur" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onclick">onclick</label>:</td> 
+						<td><input id="onclick" name="onclick" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="ondblclick">ondblclick</label>:</td> 
+						<td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmousedown">onmousedown</label>:</td> 
+						<td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseup">onmouseup</label>:</td> 
+						<td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseover">onmouseover</label>:</td> 
+						<td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmousemove">onmousemove</label>:</td> 
+						<td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseout">onmouseout</label>:</td> 
+						<td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeypress">onkeypress</label>:</td> 
+						<td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeydown">onkeydown</label>:</td> 
+						<td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeyup">onkeyup</label>:</td> 
+						<td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td> 
+					</tr>
+				</table>
+			</fieldset>
+		</div>
+	</div>
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" id="insert" name="insert" value="{$lang_update}" onclick="insertCite();" />
+		</div>
+		<div style="float: left">
+			<input type="button" id="remove" name="remove" value="{$lang_xhtmlxtras_remove}" onclick="removeCite();" style="display: none;" />
+		</div>
+		<div style="float: right">
+			<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/css/popup.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/css/popup.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/css/popup.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,46 @@
+a.mceButtonNormal img, a.mceButtonSelected img {border: 1px solid #F0F0EE !important;}
+a.mceButtonNormal img:hover, a.mceButtonSelected img:hover {border: 1px solid #0A246A !important;  cursor: default;  background-color: #B6BDD2;}
+
+img {
+	border: 0;
+}
+
+input.field, select.field {
+	width: 200px;
+}
+
+input.picker {
+	width: 179px;
+	margin-left: 5px;
+}
+
+input.disabled {
+	border-color: #F2F2F2;
+}
+
+img.picker {
+	vertical-align: text-bottom;
+	cursor: pointer;
+}
+
+h1 {
+	padding: 0 0 5px 0;
+}
+
+#remove {
+	font-weight: bold;
+	width: 90px;
+	height: 21px;
+	border: 0px;
+	background-image: url('../images/remove_button_bg.gif');
+	cursor: pointer;
+	margin-left: 3px;
+}
+
+.panel_wrapper div.current {
+	height: 160px;
+}
+
+#xhtmlxtrasdel .panel_wrapper div.current, #xhtmlxtrasins .panel_wrapper div.current {
+	height: 220px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/css/xhtmlxtras.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/css/xhtmlxtras.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/css/xhtmlxtras.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+ins {
+	border-bottom: 1px solid green;
+	text-decoration: none;
+	color: green;
+}
+
+del {
+	color: Red;
+	text-decoration: line-through;
+}
+
+cite {
+	border-bottom: 1px dashed blue;
+}
+
+acronym {
+	border-bottom: 1px dotted #CCC;
+	cursor: help;
+}
+
+abbr, html\:abbr {
+	border-bottom: 1px dashed #CCC;
+	cursor: help;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/del.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/del.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/del.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,169 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_xhtmlxtras_title_del_element}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/editable_selects.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/element_common.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/del.js"></script>
+	<link rel="stylesheet" type="text/css" href="css/popup.css" />
+	<base target="_self" />
+</head>
+<body id="xhtmlxtrasins" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+<form onsubmit="insertDel();return false;" action="#">
+	<div class="tabs">
+		<ul>
+			<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_xhtmlxtras_general_tab}</a></span></li>
+			<!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{$lang_xhtmlxtras_events_tab}</a></span></li> -->
+		</ul>
+	</div>
+
+	<div class="panel_wrapper">
+		<div id="general_panel" class="panel current">
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_general_tab}</legend>
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label id="datetimelabel" for="datetime">{$lang_xhtmlxtras_attribute_label_datetime}</label>:</td>
+						<td>
+							<table border="0" cellspacing="0" cellpadding="0">
+								<tr> 
+									<td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field" /></td> 
+									<td><a href="javascript:insertDateTime('datetime');" class="mceButtonNormal"><img src="images/date_time.gif" class="picker" alt="{$lang_xhtmlxtras_insert_date}" title="{$lang_xhtmlxtras_insert_date}" /></a></td>
+								</tr>
+							</table>
+						</td>
+					</tr>
+					<tr>
+						<td class="label"><label id="citelabel" for="cite">{$lang_xhtmlxtras_attribute_label_cite}</label>:</td>
+						<td><input id="cite" name="cite" type="text" value="" class="field" /></td> 
+					</tr>
+				</table>
+			</fieldset>
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_attrib_tab}</legend>
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label id="titlelabel" for="title">{$lang_xhtmlxtras_attribute_label_title}</label>:</td> 
+						<td><input id="title" name="title" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="idlabel" for="id">{$lang_xhtmlxtras_attribute_label_id}</label>:</td> 
+						<td><input id="id" name="id" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="classlabel" for="class">{$lang_xhtmlxtras_attribute_label_class}</label>:</td> 
+						<td>
+							<select id="class" name="class" class="field mceEditableSelect">
+								<option value="">{$lang_xhtmlxtras_not_set}</option> 
+							</select>
+						</td>
+					</tr>
+					<tr>
+						<td class="label"><label id="stylelabel" for="class">{$lang_xhtmlxtras_attribute_label_style}</label>:</td> 
+						<td><input id="style" name="style" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="dirlabel" for="dir">{$lang_xhtmlxtras_attribute_label_langdir}</label>:</td> 
+						<td>
+							<select id="dir" name="dir" class="field"> 
+								<option value="">{$lang_xhtmlxtras_not_set}</option> 
+								<option value="ltr">{$lang_xhtmlxtras_attribute_option_ltr}</option> 
+								<option value="rtl">{$lang_xhtmlxtras_attribute_option_rtl}</option> 
+							</select>
+						</td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="langlabel" for="lang">{$lang_xhtmlxtras_attribute_label_langcode}</label>:</td> 
+						<td>
+							<input id="lang" name="lang" type="text" value="" class="field" />
+						</td> 
+					</tr>
+				</table>
+			</fieldset>
+		</div>
+		<div id="events_panel" class="panel">
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_events_tab}</legend>
+
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label for="onfocus">onfocus</label>:</td> 
+						<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onblur">onblur</label>:</td> 
+						<td><input id="onblur" name="onblur" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onclick">onclick</label>:</td> 
+						<td><input id="onclick" name="onclick" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="ondblclick">ondblclick</label>:</td> 
+						<td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmousedown">onmousedown</label>:</td> 
+						<td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseup">onmouseup</label>:</td> 
+						<td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseover">onmouseover</label>:</td> 
+						<td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmousemove">onmousemove</label>:</td> 
+						<td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseout">onmouseout</label>:</td> 
+						<td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeypress">onkeypress</label>:</td> 
+						<td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeydown">onkeydown</label>:</td> 
+						<td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeyup">onkeyup</label>:</td> 
+						<td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td> 
+					</tr>
+				</table>
+			</fieldset>
+		</div>
+	</div>
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" id="insert" name="insert" value="{$lang_update}" onclick="insertDel();" />
+		</div>
+		<div style="float: left">
+			<input type="button" id="remove" name="remove" value="{$lang_xhtmlxtras_remove}" onclick="removeDel();" style="display: none;" />
+		</div>
+		<div style="float: right">
+			<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+
+</form>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('xhtmlxtras');var TinyMCE_XHTMLXtrasPlugin={getInfo:function(){return{longname:'XHTML Xtras Plugin',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_xhtmlxtras.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/plugins/xhtmlxtras/css/xhtmlxtras.css")},getControlHTML:function(cn){switch(cn){case"cite":return tinyMCE.getButtonHTML(cn,'lang_xhtmlxtras_cite_desc','{$pluginurl}/images/cite.gif','mceCite',true);case"acronym":return tinyMCE.getButtonHTML(cn,'lang_xhtmlxtras_acronym_desc','{$pluginurl}/images/acronym.gif','mceAcronym',true);case"abbr":return tinyMCE.getButtonHTML(cn,'lang_xhtmlxtras_abbr_desc','{$pluginurl}/images/abbr.gif','mceAbbr',true);case"del":return tinyMCE.getButtonHTML(cn,'lang_xhtmlxtras_del_desc','{$pluginurl}/images/del.gif','mceDel',true);case"ins":retur!
 n tinyMCE.getButtonHTML(cn,'lang_xhtmlxtras_ins_desc','{$pluginurl}/images/ins.gif','mceIns',true)}return""},execCommand:function(editor_id,element,command,user_interface,value){var template;switch(command){case"mceCite":if(!this._anySel(editor_id))return true;template=new Array();template['file']='../../plugins/xhtmlxtras/cite.htm';template['width']=350;template['height']=250;tinyMCE.openWindow(template,{editor_id:editor_id});return true;case"mceAcronym":if(!this._anySel(editor_id))return true;template=new Array();template['file']='../../plugins/xhtmlxtras/acronym.htm';template['width']=350;template['height']=250;tinyMCE.openWindow(template,{editor_id:editor_id});return true;case"mceAbbr":if(!this._anySel(editor_id))return true;template=new Array();template['file']='../../plugins/xhtmlxtras/abbr.htm';template['width']=350;template['height']=250;tinyMCE.openWindow(template,{editor_id:editor_id});return true;case"mceIns":if(!this._anySel(editor_id))return true;template=new A!
 rray();template['file']='../../plugins/xhtmlxtras/ins.htm';template['w
idth']=350;template['height']=310;tinyMCE.openWindow(template,{editor_id:editor_id});return true;case"mceDel":if(!this._anySel(editor_id))return true;template=new Array();template['file']='../../plugins/xhtmlxtras/del.htm';template['width']=350;template['height']=310;tinyMCE.openWindow(template,{editor_id:editor_id});return true}return false},cleanup:function(type,content,inst){if(type=='insert_to_editor'&&tinyMCE.isIE&&!tinyMCE.isOpera){content=content.replace(/<abbr([^>]+)>/gi,'<html:ABBR $1>');content=content.replace(/<\/abbr>/gi,'</html:ABBR>')}return content},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node==null)return;if(!any_selection){tinyMCE.switchClass(editor_id+'_cite','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_acronym','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_abbr','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_del','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_ins','mceButtonDis!
 abled')}else{tinyMCE.switchClass(editor_id+'_cite','mceButtonNormal');tinyMCE.switchClass(editor_id+'_acronym','mceButtonNormal');tinyMCE.switchClass(editor_id+'_abbr','mceButtonNormal');tinyMCE.switchClass(editor_id+'_del','mceButtonNormal');tinyMCE.switchClass(editor_id+'_ins','mceButtonNormal')}switch(node.nodeName){case"CITE":tinyMCE.switchClass(editor_id+'_cite','mceButtonSelected');return true;case"ACRONYM":tinyMCE.switchClass(editor_id+'_acronym','mceButtonSelected');return true;case"abbr":case"HTML:ABBR":case"ABBR":tinyMCE.switchClass(editor_id+'_abbr','mceButtonSelected');return true;case"DEL":tinyMCE.switchClass(editor_id+'_del','mceButtonSelected');return true;case"INS":tinyMCE.switchClass(editor_id+'_ins','mceButtonSelected');return true}return true},_anySel:function(editor_id){var inst=tinyMCE.getInstanceById(editor_id),t=inst.selection.getSelectedText(),pe;pe=tinyMCE.getParentElement(inst.getFocusElement(),'CITE,ACRONYM,ABBR,HTML:ABBR,DEL,INS');return pe||inst!
 .getFocusElement().nodeName=="IMG"||(t&&t.length>0)}};tinyMCE.addPlugi
n("xhtmlxtras",TinyMCE_XHTMLXtrasPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,175 @@
+ /**
+ * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
+ *
+ * @author Moxiecode - based on work by Andrew Tetlaw
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('xhtmlxtras');
+
+var TinyMCE_XHTMLXtrasPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'XHTML Xtras Plugin',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_xhtmlxtras.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	initInstance : function(inst) {
+		tinyMCE.importCSS(inst.getDoc(), tinyMCE.baseURL + "/plugins/xhtmlxtras/css/xhtmlxtras.css");
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "cite":
+				return tinyMCE.getButtonHTML(cn, 'lang_xhtmlxtras_cite_desc', '{$pluginurl}/images/cite.gif', 'mceCite', true);
+
+			case "acronym":
+				return tinyMCE.getButtonHTML(cn, 'lang_xhtmlxtras_acronym_desc', '{$pluginurl}/images/acronym.gif', 'mceAcronym', true);
+
+			case "abbr":
+				return tinyMCE.getButtonHTML(cn, 'lang_xhtmlxtras_abbr_desc', '{$pluginurl}/images/abbr.gif', 'mceAbbr', true);
+
+			case "del":
+				return tinyMCE.getButtonHTML(cn, 'lang_xhtmlxtras_del_desc', '{$pluginurl}/images/del.gif', 'mceDel', true);
+
+			case "ins":
+				return tinyMCE.getButtonHTML(cn, 'lang_xhtmlxtras_ins_desc', '{$pluginurl}/images/ins.gif', 'mceIns', true);
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		var template;
+
+		switch (command) {
+			case "mceCite":
+				if (!this._anySel(editor_id))
+					return true;
+
+				template = new Array();
+				template['file'] = '../../plugins/xhtmlxtras/cite.htm';
+				template['width'] = 350;
+				template['height'] = 250;
+				tinyMCE.openWindow(template, {editor_id : editor_id});
+				return true;
+
+			case "mceAcronym":
+				if (!this._anySel(editor_id))
+					return true;
+
+				template = new Array();
+				template['file'] = '../../plugins/xhtmlxtras/acronym.htm';
+				template['width'] = 350;
+				template['height'] = 250;
+				tinyMCE.openWindow(template, {editor_id : editor_id});
+				return true;
+
+			case "mceAbbr":
+				if (!this._anySel(editor_id))
+					return true;
+
+				template = new Array();
+				template['file'] = '../../plugins/xhtmlxtras/abbr.htm';
+				template['width'] = 350;
+				template['height'] = 250;
+				tinyMCE.openWindow(template, {editor_id : editor_id});
+				return true;
+
+			case "mceIns":
+				if (!this._anySel(editor_id))
+					return true;
+
+				template = new Array();
+				template['file'] = '../../plugins/xhtmlxtras/ins.htm';
+				template['width'] = 350;
+				template['height'] = 310;
+				tinyMCE.openWindow(template, {editor_id : editor_id});
+				return true;
+
+			case "mceDel":
+				if (!this._anySel(editor_id))
+					return true;
+
+				template = new Array();
+				template['file'] = '../../plugins/xhtmlxtras/del.htm';
+				template['width'] = 350;
+				template['height'] = 310;
+				tinyMCE.openWindow(template, {editor_id : editor_id});
+				return true;
+		}
+
+		return false;
+	},
+
+	cleanup : function(type, content, inst) {
+		if (type == 'insert_to_editor' && tinyMCE.isIE && !tinyMCE.isOpera) {
+			content = content.replace(/<abbr([^>]+)>/gi, '<html:ABBR $1>');
+			content = content.replace(/<\/abbr>/gi, '</html:ABBR>');
+		}
+
+		return content;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index,undo_levels, visual_aid, any_selection) {
+		if (node == null)
+			return;
+
+		if (!any_selection) {
+			// Disable the buttons
+			tinyMCE.switchClass(editor_id + '_cite', 'mceButtonDisabled');
+			tinyMCE.switchClass(editor_id + '_acronym', 'mceButtonDisabled');
+			tinyMCE.switchClass(editor_id + '_abbr', 'mceButtonDisabled');
+			tinyMCE.switchClass(editor_id + '_del', 'mceButtonDisabled');
+			tinyMCE.switchClass(editor_id + '_ins', 'mceButtonDisabled');
+		} else {
+			// A selection means the buttons should be active.
+			tinyMCE.switchClass(editor_id + '_cite', 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_acronym', 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_abbr', 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_del', 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_ins', 'mceButtonNormal');
+		}
+
+		switch (node.nodeName) {
+			case "CITE":
+				tinyMCE.switchClass(editor_id + '_cite', 'mceButtonSelected');
+				return true;
+
+			case "ACRONYM":
+				tinyMCE.switchClass(editor_id + '_acronym', 'mceButtonSelected');
+				return true;
+
+			case "abbr": // IE
+			case "HTML:ABBR": // FF
+			case "ABBR":
+				tinyMCE.switchClass(editor_id + '_abbr', 'mceButtonSelected');
+				return true;
+
+			case "DEL":
+				tinyMCE.switchClass(editor_id + '_del', 'mceButtonSelected');
+				return true;
+
+			case "INS":
+				tinyMCE.switchClass(editor_id + '_ins', 'mceButtonSelected');
+				return true;
+		}
+
+		return true;
+	},
+
+	_anySel : function(editor_id) {
+		var inst = tinyMCE.getInstanceById(editor_id), t = inst.selection.getSelectedText(), pe;
+
+		pe = tinyMCE.getParentElement(inst.getFocusElement(), 'CITE,ACRONYM,ABBR,HTML:ABBR,DEL,INS');
+
+		return pe || inst.getFocusElement().nodeName == "IMG" || (t && t.length > 0);
+	}
+};
+
+tinyMCE.addPlugin("xhtmlxtras", TinyMCE_XHTMLXtrasPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/abbr.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/abbr.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/acronym.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/acronym.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/cite.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/cite.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/date_time.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/date_time.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/del.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/del.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/ins.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/ins.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/remove_button_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/images/remove_button_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/ins.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/ins.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/ins.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,169 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_xhtmlxtras_title_ins_element}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/editable_selects.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/element_common.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/ins.js"></script>
+	<link rel="stylesheet" type="text/css" href="css/popup.css" />
+	<base target="_self" />
+</head>
+<body id="xhtmlxtrasins" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+<form onsubmit="insertIns();return false;" action="#">
+	<div class="tabs">
+		<ul>
+			<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_xhtmlxtras_general_tab}</a></span></li>
+			<!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{$lang_xhtmlxtras_events_tab}</a></span></li> -->
+		</ul>
+	</div>
+
+	<div class="panel_wrapper">
+		<div id="general_panel" class="panel current">
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_general_tab}</legend>
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label id="datetimelabel" for="datetime">{$lang_xhtmlxtras_attribute_label_datetime}</label>:</td> 
+						<td>
+							<table border="0" cellspacing="0" cellpadding="0">
+								<tr> 
+									<td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field" /></td> 
+									<td><a href="javascript:insertDateTime('datetime');" class="mceButtonNormal"><img src="images/date_time.gif" class="picker" alt="{$lang_xhtmlxtras_insert_date}" title="{$lang_xhtmlxtras_insert_date}" /></a></td>
+								</tr>
+							</table>
+						</td>
+					</tr>
+					<tr>
+						<td class="label"><label id="citelabel" for="cite">{$lang_xhtmlxtras_attribute_label_cite}</label>:</td> 
+						<td><input id="cite" name="cite" type="text" value="" class="field" /></td> 
+					</tr>
+				</table>
+			</fieldset>
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_attrib_tab}</legend>
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label id="titlelabel" for="title">{$lang_xhtmlxtras_attribute_label_title}</label>:</td> 
+						<td><input id="title" name="title" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="idlabel" for="id">{$lang_xhtmlxtras_attribute_label_id}</label>:</td> 
+						<td><input id="id" name="id" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="classlabel" for="class">{$lang_xhtmlxtras_attribute_label_class}</label>:</td> 
+						<td>
+							<select id="class" name="class" class="field mceEditableSelect">
+								<option value="">{$lang_xhtmlxtras_not_set}</option> 
+							</select>
+						</td>
+					</tr>
+					<tr>
+						<td class="label"><label id="stylelabel" for="class">{$lang_xhtmlxtras_attribute_label_style}</label>:</td> 
+						<td><input id="style" name="style" type="text" value="" class="field" /></td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="dirlabel" for="dir">{$lang_xhtmlxtras_attribute_label_langdir}</label>:</td> 
+						<td>
+							<select id="dir" name="dir" class="field"> 
+								<option value="">{$lang_xhtmlxtras_not_set}</option> 
+								<option value="ltr">{$lang_xhtmlxtras_attribute_option_ltr}</option> 
+								<option value="rtl">{$lang_xhtmlxtras_attribute_option_rtl}</option> 
+							</select>
+						</td> 
+					</tr>
+					<tr>
+						<td class="label"><label id="langlabel" for="lang">{$lang_xhtmlxtras_attribute_label_langcode}</label>:</td> 
+						<td>
+							<input id="lang" name="lang" type="text" value="" class="field" />
+						</td> 
+					</tr>
+				</table>
+			</fieldset>
+		</div>
+		<div id="events_panel" class="panel">
+			<fieldset>
+				<legend>{$lang_xhtmlxtras_fieldset_events_tab}</legend>
+
+				<table border="0" cellpadding="0" cellspacing="4">
+					<tr>
+						<td class="label"><label for="onfocus">onfocus</label>:</td> 
+						<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onblur">onblur</label>:</td> 
+						<td><input id="onblur" name="onblur" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onclick">onclick</label>:</td> 
+						<td><input id="onclick" name="onclick" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="ondblclick">ondblclick</label>:</td> 
+						<td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmousedown">onmousedown</label>:</td> 
+						<td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseup">onmouseup</label>:</td> 
+						<td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseover">onmouseover</label>:</td> 
+						<td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmousemove">onmousemove</label>:</td> 
+						<td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onmouseout">onmouseout</label>:</td> 
+						<td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeypress">onkeypress</label>:</td> 
+						<td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeydown">onkeydown</label>:</td> 
+						<td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td> 
+					</tr>
+
+					<tr>
+						<td class="label"><label for="onkeyup">onkeyup</label>:</td> 
+						<td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td> 
+					</tr>
+				</table>
+			</fieldset>
+		</div>
+	</div>
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" id="insert" name="insert" value="{$lang_update}" onclick="insertIns();" />
+		</div>
+		<div style="float: left">
+			<input type="button" id="remove" name="remove" value="{$lang_xhtmlxtras_remove}" onclick="removeIns();" style="display: none;" />
+		</div>
+		<div style="float: right">
+			<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+
+</form>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/abbr.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/abbr.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/abbr.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+ /**
+ * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
+ *
+ * @author Moxiecode - based on work by Andrew Tetlaw
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+function preinit() {
+	// Initialize
+	tinyMCE.setWindowArg('mce_windowresize', false);
+}
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+	SXE.initElementDialog('abbr');
+	if (SXE.currentAction == "update") {
+		SXE.showRemoveButton();
+	}
+}
+
+function insertAbbr() {
+	SXE.insertElement(tinyMCE.isIE && !tinyMCE.isOpera ? 'html:ABBR' : 'abbr');
+	tinyMCEPopup.close();
+}
+
+function removeAbbr() {
+	SXE.removeElement('abbr');
+	tinyMCEPopup.close();
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/acronym.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/acronym.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/acronym.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+ /**
+ * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
+ *
+ * @author Moxiecode - based on work by Andrew Tetlaw
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+function preinit() {
+	// Initialize
+	tinyMCE.setWindowArg('mce_windowresize', false);
+}
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+	SXE.initElementDialog('acronym');
+	if (SXE.currentAction == "update") {
+		SXE.showRemoveButton();
+	}
+}
+
+function insertAcronym() {
+	SXE.insertElement('acronym');
+	tinyMCEPopup.close();
+}
+
+function removeAcronym() {
+	SXE.removeElement('acronym');
+	tinyMCEPopup.close();
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/cite.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/cite.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/cite.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+ /**
+ * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
+ *
+ * @author Moxiecode - based on work by Andrew Tetlaw
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+function preinit() {
+	// Initialize
+	tinyMCE.setWindowArg('mce_windowresize', false);
+}
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+	SXE.initElementDialog('cite');
+	if (SXE.currentAction == "update") {
+		SXE.showRemoveButton();
+	}
+}
+
+function insertCite() {
+	SXE.insertElement('cite');
+	tinyMCEPopup.close();
+}
+
+function removeCite() {
+	SXE.removeElement('cite');
+	tinyMCEPopup.close();
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/del.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/del.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/del.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,54 @@
+ /**
+ * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
+ *
+ * @author Moxiecode - based on work by Andrew Tetlaw
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+function preinit() {
+	// Initialize
+	tinyMCE.setWindowArg('mce_windowresize', false);
+}
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+	SXE.initElementDialog('del');
+	if (SXE.currentAction == "update") {
+		setFormValue('datetime', tinyMCE.getAttrib(SXE.updateElement, 'datetime'));
+		setFormValue('cite', tinyMCE.getAttrib(SXE.updateElement, 'cite'));
+		SXE.showRemoveButton();
+	}
+}
+
+function setElementAttribs(elm) {
+	setAllCommonAttribs(elm);
+	setAttrib(elm, 'datetime');
+	setAttrib(elm, 'cite');
+}
+
+function insertDel() {
+	var elm = tinyMCE.getParentElement(SXE.focusElement, 'del');
+
+	tinyMCEPopup.execCommand('mceBeginUndoLevel');
+	if (elm == null) {
+		var s = SXE.inst.selection.getSelectedHTML();
+		if(s.length > 0) {
+			tinyMCEPopup.execCommand('mceInsertContent', false, '<del id="#sxe_temp_del#">' + s + '</del>');
+			var elementArray = tinyMCE.getElementsByAttributeValue(SXE.inst.getBody(), 'del', 'id', '#sxe_temp_del#');
+			for (var i=0; i<elementArray.length; i++) {
+				var elm = elementArray[i];
+				setElementAttribs(elm);
+			}
+		}
+	} else {
+		setElementAttribs(elm);
+	}
+	tinyMCE.triggerNodeChange();
+	tinyMCEPopup.execCommand('mceEndUndoLevel');
+	tinyMCEPopup.close();
+}
+
+function removeDel() {
+	SXE.removeElement('del');
+	tinyMCEPopup.close();
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/element_common.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/element_common.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/element_common.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,241 @@
+ /**
+ * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
+ *
+ * @author Moxiecode - based on work by Andrew Tetlaw
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+function initCommonAttributes(elm) {
+	var formObj = document.forms[0];
+
+	// Setup form data for common element attributes
+	setFormValue('title', tinyMCE.getAttrib(elm, 'title'));
+	setFormValue('id', tinyMCE.getAttrib(elm, 'id'));
+	selectByValue(formObj, 'class', tinyMCE.getAttrib(elm, 'class'), true);
+	setFormValue('style', tinyMCE.getAttrib(elm, 'style'));
+	selectByValue(formObj, 'dir', tinyMCE.getAttrib(elm, 'dir'));
+	setFormValue('lang', tinyMCE.getAttrib(elm, 'lang'));
+	setFormValue('onfocus', tinyMCE.getAttrib(elm, 'onfocus'));
+	setFormValue('onblur', tinyMCE.getAttrib(elm, 'onblur'));
+	setFormValue('onclick', tinyMCE.getAttrib(elm, 'onclick'));
+	setFormValue('ondblclick', tinyMCE.getAttrib(elm, 'ondblclick'));
+	setFormValue('onmousedown', tinyMCE.getAttrib(elm, 'onmousedown'));
+	setFormValue('onmouseup', tinyMCE.getAttrib(elm, 'onmouseup'));
+	setFormValue('onmouseover', tinyMCE.getAttrib(elm, 'onmouseover'));
+	setFormValue('onmousemove', tinyMCE.getAttrib(elm, 'onmousemove'));
+	setFormValue('onmouseout', tinyMCE.getAttrib(elm, 'onmouseout'));
+	setFormValue('onkeypress', tinyMCE.getAttrib(elm, 'onkeypress'));
+	setFormValue('onkeydown', tinyMCE.getAttrib(elm, 'onkeydown'));
+	setFormValue('onkeyup', tinyMCE.getAttrib(elm, 'onkeyup'));
+}
+
+function setFormValue(name, value) {
+	if(document.forms[0].elements[name]) document.forms[0].elements[name].value = value;
+}
+
+function insertDateTime(id) {
+	document.getElementById(id).value = getDateTime(new Date(), "%Y-%m-%dT%H:%M:%S");
+}
+
+function getDateTime(d, fmt) {
+	fmt = fmt.replace("%D", "%m/%d/%y");
+	fmt = fmt.replace("%r", "%I:%M:%S %p");
+	fmt = fmt.replace("%Y", "" + d.getFullYear());
+	fmt = fmt.replace("%y", "" + d.getYear());
+	fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2));
+	fmt = fmt.replace("%d", addZeros(d.getDate(), 2));
+	fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2));
+	fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2));
+	fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2));
+	fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1));
+	fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM"));
+	fmt = fmt.replace("%%", "%");
+
+	return fmt;
+}
+
+function addZeros(value, len) {
+	var i;
+
+	value = "" + value;
+
+	if (value.length < len) {
+		for (i=0; i<(len-value.length); i++)
+			value = "0" + value;
+	}
+
+	return value;
+}
+
+function selectByValue(form_obj, field_name, value, add_custom, ignore_case) {
+	if (!form_obj || !form_obj.elements[field_name])
+		return;
+
+	var sel = form_obj.elements[field_name];
+
+	var found = false;
+	for (var i=0; i<sel.options.length; i++) {
+		var option = sel.options[i];
+
+		if (option.value == value || (ignore_case && option.value.toLowerCase() == value.toLowerCase())) {
+			option.selected = true;
+			found = true;
+		} else
+			option.selected = false;
+	}
+
+	if (!found && add_custom && value != '') {
+		var option = new Option('Value: ' + value, value);
+		option.selected = true;
+		sel.options[sel.options.length] = option;
+	}
+
+	return found;
+}
+
+function setAttrib(elm, attrib, value) {
+	var formObj = document.forms[0];
+	var valueElm = formObj.elements[attrib.toLowerCase()];
+
+	if (typeof(value) == "undefined" || value == null) {
+		value = "";
+
+		if (valueElm)
+			value = valueElm.value;
+	}
+
+	if (value != "") {
+		if (attrib == "style")
+			attrib = "style.cssText";
+
+		if (attrib.substring(0, 2) == 'on')
+			value = 'return true;' + value;
+
+		if (attrib == "class") {
+			tinyMCE.addCSSClass(elm, value);
+			return;
+		}
+
+		elm.setAttribute(attrib.toLowerCase(), value);
+	} else
+		elm.removeAttribute(attrib);
+}
+
+function setAllCommonAttribs(elm) {
+	setAttrib(elm, 'title');
+	setAttrib(elm, 'id');
+	setAttrib(elm, 'class');
+	setAttrib(elm, 'style');
+	setAttrib(elm, 'dir');
+	setAttrib(elm, 'lang');
+	/*setAttrib(elm, 'onfocus');
+	setAttrib(elm, 'onblur');
+	setAttrib(elm, 'onclick');
+	setAttrib(elm, 'ondblclick');
+	setAttrib(elm, 'onmousedown');
+	setAttrib(elm, 'onmouseup');
+	setAttrib(elm, 'onmouseover');
+	setAttrib(elm, 'onmousemove');
+	setAttrib(elm, 'onmouseout');
+	setAttrib(elm, 'onkeypress');
+	setAttrib(elm, 'onkeydown');
+	setAttrib(elm, 'onkeyup');*/
+}
+
+SXE = {
+	currentAction : "insert",
+	inst : tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')),
+	updateElement : null
+}
+
+SXE.focusElement = SXE.inst.getFocusElement();
+
+SXE.initElementDialog = function(element_name) {
+	addClassesToList('class', 'xhtmlxtras_styles');
+	TinyMCE_EditableSelects.init();
+
+	element_name = element_name.toLowerCase();
+	var elm = tinyMCE.getParentElement(SXE.focusElement, element_name);
+	if (elm != null && elm.nodeName == element_name.toUpperCase()) {
+		SXE.currentAction = "update";
+	}
+
+	if (SXE.currentAction == "update") {
+		initCommonAttributes(elm);
+		SXE.updateElement = elm;
+	}
+
+	document.forms[0].insert.value = tinyMCE.getLang('lang_' + SXE.currentAction, 'Insert', true); 
+}
+
+SXE.insertElement = function(element_name) {
+	var elm = tinyMCE.getParentElement(SXE.focusElement, element_name), h, tagName;
+
+	tinyMCEPopup.execCommand('mceBeginUndoLevel');
+	if (elm == null) {
+		var s = SXE.inst.selection.getSelectedHTML();
+		if(s.length > 0) {
+			tagName = element_name;
+
+			if (tinyMCE.isIE && !tinyMCE.isOpera && element_name.indexOf('html:') == 0)
+				element_name = element_name.substring(5).toLowerCase();
+
+			h = '<' + tagName + ' id="#sxe_temp_' + element_name + '#">' + s + '</' + tagName + '>';
+
+			tinyMCEPopup.execCommand('mceInsertContent', false, h);
+
+			var elementArray = tinyMCE.getElementsByAttributeValue(SXE.inst.getBody(), element_name, 'id', '#sxe_temp_' + element_name + '#');
+			for (var i=0; i<elementArray.length; i++) {
+				var elm = elementArray[i];
+
+				elm.id = '';
+				elm.setAttribute('id', '');
+				elm.removeAttribute('id');
+
+				setAllCommonAttribs(elm);
+			}
+		}
+	} else {
+		setAllCommonAttribs(elm);
+	}
+	tinyMCE.triggerNodeChange();
+	tinyMCEPopup.execCommand('mceEndUndoLevel');
+}
+
+SXE.removeElement = function(element_name){
+	element_name = element_name.toLowerCase();
+	elm = tinyMCE.getParentElement(SXE.focusElement, element_name);
+	if(elm && elm.nodeName == element_name.toUpperCase()){
+		tinyMCEPopup.execCommand('mceBeginUndoLevel');
+		tinyMCE.execCommand('mceRemoveNode', false, elm);
+		tinyMCE.triggerNodeChange();
+		tinyMCEPopup.execCommand('mceEndUndoLevel');
+	}
+}
+
+SXE.showRemoveButton = function() {
+		document.getElementById("remove").style.display = 'block';
+}
+
+SXE.containsClass = function(elm,cl) {
+	return (elm.className.indexOf(cl) > -1) ? true : false;
+}
+
+SXE.removeClass = function(elm,cl) {
+	if(elm.className == null || elm.className == "" || !SXE.containsClass(elm,cl)) {
+		return true;
+	}
+	var classNames = elm.className.split(" ");
+	var newClassNames = "";
+	for (var x = 0, cnl = classNames.length; x < cnl; x++) {
+		if (classNames[x] != cl) {
+			newClassNames += (classNames[x] + " ");
+		}
+	}
+	elm.className = newClassNames.substring(0,newClassNames.length-1); //removes extra space at the end
+}
+
+SXE.addClass = function(elm,cl) {
+	if(!SXE.containsClass(elm,cl)) elm.className ? elm.className += " " + cl : elm.className = cl;
+	return true;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/ins.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/ins.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/jscripts/ins.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,53 @@
+ /**
+ * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
+ *
+ * @author Moxiecode - based on work by Andrew Tetlaw
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+function preinit() {
+	// Initialize
+	tinyMCE.setWindowArg('mce_windowresize', false);
+}
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+	SXE.initElementDialog('ins');
+	if (SXE.currentAction == "update") {
+		setFormValue('datetime', tinyMCE.getAttrib(SXE.updateElement, 'datetime'));
+		setFormValue('cite', tinyMCE.getAttrib(SXE.updateElement, 'cite'));
+		SXE.showRemoveButton();
+	}
+}
+
+function setElementAttribs(elm) {
+	setAllCommonAttribs(elm);
+	setAttrib(elm, 'datetime');
+	setAttrib(elm, 'cite');
+}
+
+function insertIns() {
+	var elm = tinyMCE.getParentElement(SXE.focusElement, 'ins');
+	tinyMCEPopup.execCommand('mceBeginUndoLevel');
+	if (elm == null) {
+		var s = SXE.inst.selection.getSelectedHTML();
+		if(s.length > 0) {
+			tinyMCEPopup.execCommand('mceInsertContent', false, '<ins id="#sxe_temp_ins#">' + s + '</ins>');
+			var elementArray = tinyMCE.getElementsByAttributeValue(SXE.inst.getBody(), 'ins', 'id', '#sxe_temp_ins#');
+			for (var i=0; i<elementArray.length; i++) {
+				var elm = elementArray[i];
+				setElementAttribs(elm);
+			}
+		}
+	} else {
+		setElementAttribs(elm);
+	}
+	tinyMCE.triggerNodeChange();
+	tinyMCEPopup.execCommand('mceEndUndoLevel');
+	tinyMCEPopup.close();
+}
+
+function removeIns() {
+	SXE.removeElement('ins');
+	tinyMCEPopup.close();
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/xhtmlxtras/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+// UK lang variables
+
+tinyMCE.addToLang('xhtmlxtras',{
+cite_desc : 'Citation',
+abbr_desc : 'Abbreviation',
+acronym_desc : 'Acronym',
+del_desc : 'Deletion',
+ins_desc : 'Insertion',
+attribute_label_title : 'Title',
+attribute_label_id : 'ID',
+attribute_label_class : 'Class',
+attribute_label_style : 'Style',
+attribute_label_cite : 'Cite',
+attribute_label_datetime : 'Date/Time',
+attribute_label_langdir : 'Text Direction',
+attribute_option_ltr : 'Left to right',
+attribute_option_rtl : 'Right to left',
+attribute_label_langcode : 'Language',
+general_tab : 'General',
+attrib_tab : 'Attributes',
+events_tab : 'Events',
+fieldset_general_tab : 'General Settings',
+fieldset_attrib_tab : 'Element Attributes',
+fieldset_events_tab : 'Element Events',
+title_ins_element : 'Insertion Element',
+title_del_element : 'Deletion Element',
+title_acronym_element : 'Acronym Element',
+title_abbr_element : 'Abbreviation Element',
+title_cite_element : 'Citation Element',
+remove : 'Remove',
+not_set : '--not set--',
+insert_date : 'Insert current date/time'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/editor_plugin.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/editor_plugin.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/editor_plugin.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+var TinyMCE_ZoomPlugin={getInfo:function(){return{longname:'Zoom',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_zoom.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(control_name){if(!tinyMCE.isMSIE||tinyMCE.isMSIE5_0||tinyMCE.isOpera)return"";switch(control_name){case"zoom":return'<select id="{$editor_id}_zoomSelect" name="{$editor_id}_zoomSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceZoom\',false,this.options[this.selectedIndex].value);" class="mceSelectList">'+'<option value="100%">+ 100%</option>'+'<option value="150%">+ 150%</option>'+'<option value="200%">+ 200%</option>'+'<option value="250%">+ 250%</option>'+'</select>'}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceZoom":tinyMCE.getInstanceById(editor_id).con!
 tentDocument.body.style.zoom=value;tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom=value;return true}return false}};tinyMCE.addPlugin("zoom",TinyMCE_ZoomPlugin);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/editor_plugin_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/editor_plugin_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/editor_plugin_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,56 @@
+/**
+ * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+var TinyMCE_ZoomPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Zoom',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_zoom.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	/**
+	 * Returns the HTML contents of the zoom control.
+	 */
+	getControlHTML : function(control_name) {
+		if (!tinyMCE.isMSIE || tinyMCE.isMSIE5_0 || tinyMCE.isOpera)
+			return "";
+
+		switch (control_name) {
+			case "zoom":
+				return '<select id="{$editor_id}_zoomSelect" name="{$editor_id}_zoomSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceZoom\',false,this.options[this.selectedIndex].value);" class="mceSelectList">' + 
+						'<option value="100%">+ 100%</option>' + 
+						'<option value="150%">+ 150%</option>' + 
+						'<option value="200%">+ 200%</option>' + 
+						'<option value="250%">+ 250%</option>' + 
+						'</select>';
+		}
+
+		return "";
+	},
+
+	/**
+	 * Executes the mceZoom command.
+	 */
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceZoom":
+				tinyMCE.getInstanceById(editor_id).contentDocument.body.style.zoom = value;
+				tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom = value;
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	}
+};
+
+tinyMCE.addPlugin("zoom", TinyMCE_ZoomPlugin);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/langs/se.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/langs/se.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/langs/se.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+// SE lang variables
+
+tinyMCELang['lang_zoom_prefix'] = 'Zomma';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/langs/uk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/langs/uk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/langs/uk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+// UK lang variables
+
+tinyMCELang['lang_zoom_prefix'] = 'Zoom';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/plugins/zoom/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,52 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_about_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/about.js"></script>
+	<base target="_self" />
+</head>
+<body id="about" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+		<div class="tabs">
+			<ul>
+				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_about}</a></span></li>
+				<li id="help_tab"><span><a href="javascript:mcTabs.displayTab('help_tab','help_panel');" onmousedown="return false;">{$lang_help}</a></span></li>
+				<li id="plugins_tab"><span><a href="javascript:mcTabs.displayTab('plugins_tab','plugins_panel');" onmousedown="return false;">{$lang_plugins}</a></span></li>
+			</ul>
+		</div>
+
+		<div class="panel_wrapper">
+			<div id="general_panel" class="panel current">
+				<h3>{$lang_about_title}</h3>
+				<p>Version: {$tinymce_version} ({$tinymce_releasedate})</p>
+				<p>TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under <a href="../../license.txt" target="_blank">LGPL</a>
+				by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.</p>
+				<p>Copyright &copy; 2003-2006, <a href="http://www.moxiecode.com" target="_blank">Moxiecode Systems AB</a>, All rights reserved.</p>
+				<p>For more information about this software visit the <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE website</a>.</p>
+
+				<div id="buttoncontainer"></div>
+			</div>
+
+			<div id="plugins_panel" class="panel">
+				<div id="pluginscontainer">
+					<h3>{$lang_loaded_plugins}</h3>
+
+					<div id="plugintablecontainer">
+					</div>
+
+					<p>&nbsp;</p>
+				</div>
+			</div>
+
+			<div id="help_panel" class="panel noscroll" style="overflow: visible;">
+				<div id="iframecontainer"></div>
+			</div>
+		</div>
+
+		<div class="mceActionPanel">
+			<div style="float: right">
+				<input type="button" id="cancel" name="cancel" value="{$lang_close}" onclick="tinyMCEPopup.close();" />
+			</div>
+		</div>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/anchor.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/anchor.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/anchor.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_insert_anchor_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/anchor.js"></script>
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+<form onsubmit="insertAnchor();return false;" action="#">
+
+	<table border="0" cellpadding="4" cellspacing="0">
+		<tr>
+			<td colspan="2" class="title">{$lang_insert_anchor_title}</td>
+		</tr>
+		<tr>
+			<td nowrap="nowrap">{$lang_insert_anchor_name}:</td>
+			<td><input name="anchorName" type="text" id="anchorName" value="" style="width: 200px" /></td>
+		</tr>
+	</table>
+
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" id="insert" name="insert" value="{$lang_update}" onclick="insertAnchor();" />
+		</div>
+
+		<div style="float: right">
+			<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/charmap.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/charmap.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/charmap.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,53 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_theme_charmap_title}</title>
+	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/charmap.js"></script>
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+<table align="center" border="0" cellspacing="0" cellpadding="2">
+    <tr>
+        <td colspan="2" class="title">{$lang_theme_charmap_title}</td>
+    </tr>
+    <tr>
+        <td rowspan="2" align="left" valign="top">
+            <script language="javascript" type="text/javascript">renderCharMapHTML();</script>
+        </td>
+        <td width="100" align="center" valign="top">
+            <table border="0" cellpadding="0" cellspacing="0" width="100" style="height: 100px">
+                <tr>
+                    <td class="charmapOver" style="font-size: 40px; height:80px;" id="codeV">&nbsp;</td>
+                </tr>
+                <tr>
+                    <td style="font-size: 10px; font-family: Arial, Helvetica, sans-serif; text-align:center;" id="codeN">&nbsp;</td>
+                </tr>
+            </table>
+        </td>
+    </tr>
+    <tr>
+        <td valign="bottom" style="padding-bottom: 3px;">
+            <table width="100" align="center" border="0" cellpadding="2" cellspacing="0">
+                <tr>
+                    <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">HTML-Code</td>
+                </tr>
+                <tr>
+                    <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeA" align="center">&nbsp;</td>
+                </tr>
+                <tr>
+                    <td style="font-size: 1px;">&nbsp;</td>
+                </tr>
+                <tr>
+                    <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">NUM-Code</td>
+                </tr>
+                <tr>
+                    <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeB" align="center">&nbsp;</td>
+                </tr>
+            </table>
+        </td>
+    </tr>
+</table>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/color_picker.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/color_picker.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/color_picker.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,13 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_theme_colorpicker_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/color_picker.js"></script>
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');" style="margin: 3px; display: none">
+	<div align="center">
+	   <script language="javascript" type="text/javascript">renderColorMap();</script>
+	</div>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_content.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_content.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_content.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,58 @@
+/* This file contains the CSS data for the editable area(iframe) of TinyMCE */
+/* You can extend this CSS by adding your own CSS file with the the content_css option */
+
+body, td, pre {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+
+body {
+	background-color: #FFFFFF;
+}
+
+.mceVisualAid {
+	border: 1px dashed #BBBBBB !important;
+}
+
+div.mceVisualAid {
+	background-image:url('../images/spacer.gif');
+	visibility: visible !important;
+}
+
+.mceItemAnchor {
+	width: 12px;
+	line-height: 6px;
+	overflow: hidden;
+	padding-left: 12px;
+	background-image: url('../images/anchor_symbol.gif');
+	background-position: bottom;
+	background-repeat: no-repeat;
+}
+
+/* Important is needed in Gecko browsers inorder to style links */
+/*
+a {
+	color: green !important;
+}
+*/
+
+/* Style selection range colors in Gecko browsers */
+/*
+::-moz-selection {
+	background-color: red;
+	color: green;
+}
+*/
+
+/* MSIE specific */
+
+* html body {
+	scrollbar-3dlight-color: #F0F0EE;
+	scrollbar-arrow-color: #676662;
+	scrollbar-base-color: #F0F0EE;
+	scrollbar-darkshadow-color: #DDDDDD;
+	scrollbar-face-color: #E0E0DD;
+	scrollbar-highlight-color: #F0F0EE;
+	scrollbar-shadow-color: #F0F0EE;
+	scrollbar-track-color: #F5F5F5;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_popup.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_popup.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_popup.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,331 @@
+/* This file contains the CSS data for all popups in TinyMCE */
+
+body {
+	background-color: #F0F0EE;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+	scrollbar-3dlight-color: #F0F0EE;
+	scrollbar-arrow-color: #676662;
+	scrollbar-base-color: #F0F0EE;
+	scrollbar-darkshadow-color: #DDDDDD;
+	scrollbar-face-color: #E0E0DD;
+	scrollbar-highlight-color: #F0F0EE;
+	scrollbar-shadow-color: #F0F0EE;
+	scrollbar-track-color: #F5F5F5;
+	margin: 8px;
+}
+
+td {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+}
+
+input {
+	background: #FFFFFF;
+	border: 1px solid #cccccc;
+}
+
+td, input, select, textarea {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+
+input, select, textarea {
+	border: 1px solid #808080;
+}
+
+.input_noborder {
+	border: 0;
+}
+
+#insert, .updateButton {
+   font-weight: bold;
+   width: 90px;
+   height: 21px;
+   border: 0;
+   background-image: url('../images/insert_button_bg.gif');
+   cursor: pointer;
+}
+
+#cancel {
+   font-weight: bold;
+   width: 90px;
+   height: 21px;
+   border: 0;
+   background-image: url('../images/cancel_button_bg.gif');
+   cursor: pointer;
+}
+
+/* Mozilla only style */
+html>body #insert, html>body #cancel {
+	padding-bottom: 2px;
+}
+
+.title {
+	font-size: 12px;
+	font-weight: bold;
+	color: #2B6FB6;
+}
+
+table.charmap {
+	border-style: solid;
+	border-width: 1px;
+	border-color: #AAAAAA;
+}
+
+td.charmap, td.charmapOver {
+	color: #000000;
+	border-color: #AAAAAA;
+	border-style: solid;
+	border-width: 1px;
+	text-align: center;
+	font-size: 12px;
+}
+
+td.charmapOver {
+	background-color: #CCCCCC;
+	cursor: default;
+}
+
+a.charmap {
+	color: #000000;
+	text-decoration: none
+}
+
+.wordWrapCode {
+	vertical-align: middle;
+	border: 1px none #000000;
+	background-color: transparent;
+}
+
+input.radio {
+	border: 1px none #000000;
+	background-color: transparent;
+	vertical-align: middle;
+}
+
+input.checkbox {
+	border: 1px none #000000;
+	background-color: transparent;
+	vertical-align: middle;
+}
+
+.mceButtonNormal, .mceButtonOver, .mceButtonDown, .mceSeparator, .mceButtonDisabled, .mceButtonSelected {
+	margin-left: 1px;
+}
+
+.mceButtonNormal {
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-color: #F0F0EE;
+	cursor: default;
+}
+
+.mceButtonOver {
+	border: 1px solid #0A246A;
+	cursor: default;
+	background-color: #B6BDD2;
+}
+
+.mceButtonDown {
+	cursor: default;
+	border: 1px solid #0A246A;
+	background-color: #8592B5;
+}
+
+.mceButtonDisabled {
+	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);
+	-moz-opacity:0.3;
+	opacity: 0.3;
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-color: #F0F0EE;
+	cursor: default;
+}
+
+.mceActionPanel {
+	margin-top: 5px;
+}
+
+/* Tabs classes */
+
+.tabs {
+	float: left;
+	width: 100%;
+	line-height: normal;
+	background-image: url("../images/xp/tabs_bg.gif");
+}
+
+.tabs ul {
+	margin: 0;
+	padding: 0 0 0;
+	list-style: none;
+}
+
+.tabs li {
+	float: left;
+	background: url("../images/xp/tab_bg.gif") no-repeat left top;
+	margin: 0;
+	margin-left: 0;
+	margin-right: 2px;
+	padding: 0 0 0 10px;
+	line-height: 18px;
+}
+
+.tabs li.current {
+	background: url("../images/xp/tab_sel_bg.gif") no-repeat left top;
+	margin-right: 2px;
+}
+
+.tabs span {
+	float: left;
+	display: block;
+	background: url("../images/xp/tab_end.gif") no-repeat right top;
+	padding: 0px 10px 0 0;
+}
+
+.tabs .current span {
+	background: url("../images/xp/tab_sel_end.gif") no-repeat right top;
+}
+
+.tabs a {
+	text-decoration: none;
+	font-family: Verdana, Arial;
+	font-size: 10px;
+}
+
+.tabs a:link, .tabs a:visited, .tabs a:hover {
+	color: black;
+}
+
+.tabs a:hover {
+}
+
+.tabs .current {
+}
+
+.tabs .current a, .tabs .current a:link, .tabs .current a:visited {
+}
+
+.panel_wrapper div.panel {
+	display: none;
+}
+
+.panel_wrapper div.current {
+	display: block;
+	width: 100%;
+	height: 300px;
+	overflow: visible; /* Should be auto but that breaks Safari */
+}
+
+.panel_wrapper {
+	border: 1px solid #919B9C;
+	border-top: 0px;
+	padding: 10px;
+	padding-top: 5px;
+	clear: both;
+	background-color: white;
+}
+
+fieldset {
+	border: 1px solid #919B9C;
+	font-family: Verdana, Arial;
+	font-size: 10px;
+	padding: 0;
+	margin: 0;
+	padding: 4px;
+}
+
+legend {
+	color: #2B6FB6;
+	font-weight: bold;
+}
+
+.properties {
+	width: 100%;
+}
+
+.properties .column1 {
+}
+
+.properties .column2 {
+	text-align: left;
+}
+
+a:link, a:visited {
+	color: black;
+}
+
+a:hover {
+	color: #2B6FB6;
+}
+
+#plugintable thead {
+	font-weight: bold;
+	background-color: #DDDDDD;
+}
+
+#plugintable, #about #plugintable td {
+	border: 1px solid #919B9C;
+}
+
+#plugintable {
+	width: 99%;
+	margin-top: 10px;
+}
+
+#pluginscontainer {
+	height: 290px;
+	overflow: auto;
+}
+
+/* MSIE Specific styles */
+
+* html .panel_wrapper {
+	width: 100%;
+}
+
+.column {
+	float: left;
+}
+
+h1, h2, h3, h4 {
+	color: #2B6FB6;
+	margin: 0;
+	padding: 0;
+	padding-top: 5px;
+}
+
+h3 {
+	font-size: 14px;
+}
+
+#link .panel_wrapper, #link div.current {
+	height: 125px;
+}
+
+#image .panel_wrapper, #image div.current {
+	height: 190px;
+}
+
+label.msg { display: none; }
+label.invalid { color: #EE0000; display: inline; }
+input.invalid { border: 1px solid #EE0000; }
+
+/* Disables the advanced tab in the table plugin. */
+/*
+#table #advanced_tab {
+	display: none;
+}
+*/
+
+/* Disables the border input field and label in the table plugin. */
+/*
+#table #border, #table #borderlabel {
+	display: none;
+}
+*/

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_ui.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_ui.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/css/editor_ui.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,97 @@
+/* This file contains the CSS data for the editor UI of TinyMCE instances */
+
+.mceToolbarTop a, .mceToolbarTop a:visited, .mceToolbarTop a:hover, .mceToolbarBottom a, .mceToolbarBottom a:visited, .mceToolbarBottom a:hover {border: 0;  margin: 0;  padding: 0;  background: transparent;}
+.mceSeparatorLine {border: 0; padding: 0; margin-left: 4px; margin-right: 2px;}
+.mceSelectList {font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; font-size: 7pt !important; font-weight: normal; margin-top: 3px; padding: 0; display: inline; vertical-align: top; background-color: #F0F0EE;}
+.mceLabel, .mceLabelDisabled {font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; font-size: 9pt;}
+.mceLabel {color: #000000;}
+.mceLabelDisabled {cursor: text;  color: #999999;}
+.mceEditor {background: #F0F0EE;  border: 1px solid #cccccc;  padding: 0;  margin: 0;}
+.mceEditorArea { font-family: 'MS Sans Serif', sans-serif, Verdana, Arial;  background: #FFFFFF;  padding: 0;  margin: 0;  }
+.mceToolbarTop, .mceToolbarBottom {background: #F0F0EE;  line-height: 1px;  font-size: 1px;}
+.mceToolbarTop {border-bottom: 1px solid #cccccc; padding-bottom: 1px;}
+.mceToolbarBottom {border-top: 1px solid #cccccc;}
+.mceToolbarContainer {position: relative;  left: 0;  top: 0;  display: block;}
+.mceStatusbarTop, .mceStatusbarBottom, .mceStatusbar {height: 20px;}
+.mceStatusbarTop .mceStatusbarPathText, .mceStatusbarBottom .mceStatusbarPathText, .mceStatusbar .mceStatusbarPathText {font-family: 'MS Sans Serif', sans-serif, Verdana, Arial;  font-size: 9pt;  padding: 2px;  line-height: 16px;  overflow: visible;}
+.mceStatusbarTop {border-bottom: 1px solid #cccccc;}
+.mceStatusbarBottom {border-top: 1px solid #cccccc;}
+.mceStatusbar {border-bottom: 1px solid #cccccc;}
+.mcePathItem, .mcePathItem:link, .mcePathItem:visited, .mcePathItem:hover {text-decoration: none;  font-family: 'MS Sans Serif', sans-serif, Verdana, Arial;  font-size: 9pt;  color: #000000;}
+.mcePathItem:hover {text-decoration: underline;}
+.mceStatusbarPathText {float: left;}
+.mceStatusbarResize {float: right;  background-image: url('../images/statusbar_resize.gif');  background-repeat: no-repeat;  width: 11px;  height: 20px;  cursor: se-resize;}
+.mceResizeBox {width: 10px;  height: 10px;  display: none;  border: 1px dotted gray;  margin: 0;  padding: 0;}
+.mceEditorIframe {border: 0;}
+
+/* Button CSS rules */
+
+a.mceButtonDisabled img, a.mceButtonNormal img, a.mceButtonSelected img {width: 20px;  height: 20px;  cursor: default;  margin-top: 1px;  margin-left: 1px;}
+a.mceButtonDisabled img {border: 0 !important;}
+a.mceButtonNormal img, a.mceButtonSelected img {border: 1px solid #F0F0EE !important;}
+a.mceButtonSelected img {border: 1px solid #6779AA !important;  background-color: #D4D5D8;}
+a.mceButtonNormal img:hover, a.mceButtonSelected img:hover {border: 1px solid #0A246A !important;  cursor: default;  background-color: #B6BDD2;}
+a.mceButtonDisabled img {-moz-opacity:0.3;  opacity: 0.3;  border: 1px solid #F0F0EE !important;  cursor: default;}
+a.mceTiledButton img {background-image: url('../images/buttons.gif');  background-repeat: no-repeat;}
+
+/* Menu button CSS rules */
+
+span.mceMenuButton img, span.mceMenuButtonSelected img {border: 1px solid #F0F0EE;  margin-left: 1px;}
+span.mceMenuButtonSelected img {border: 1px solid #6779AA;  background-color: #B6BDD2;}
+span.mceMenuButtonSelected img.mceMenuButton {border: 1px solid #F0F0EE;  background-color: transparent;}
+span.mceMenuButton img.mceMenuButton, span.mceMenuButtonSelected img.mceMenuButton {border-left: 0;  margin-left: 0;}
+span.mceMenuButton:hover img, span.mceMenuButtonSelected:hover img {border: 1px solid #0A246A;  background-color: #B6BDD2;}
+span.mceMenuButton:hover img.mceMenuButton, span.mceMenuButtonSelected:hover img.mceMenuButton {border-left: 0;}
+span.mceMenuButtonFocus img {border: 1px solid gray;  border-right: 0;  margin-left: 1px;  background-color: #F5F4F2;}
+span.mceMenuButtonFocus img.mceMenuButton {border: 1px solid gray;  border-left: 1px solid #F5F4F2;  margin-left: 0;}
+span.mceMenuHover img {border: 1px solid #0A246A;  background-color: #B6BDD2;}
+span.mceMenuButtonSelected.mceMenuHover img.mceMenuButton {border: 1px solid #0A246A;  background-color: #B6BDD2;  border-left: 0;}
+
+/* Menu */
+
+.mceMenu {position: absolute;  left: 0;  top: 0;  display: none;  z-index: 100;  background-color: white;  border: 1px solid gray;  font-weight: normal;}
+.mceMenu a, .mceMenuTitle, .mceMenuDisabled {display: block;  width: 100%;  text-decoration: none;  background-color: white;  font-family: Tahoma, Verdana, Arial, Helvetica;  font-size: 11px;  line-height: 20px;  color: black;}
+.mceMenu a:hover {background-color: #B6BDD2;  color: black;  text-decoration: none !important;}
+.mceMenu span {padding-left: 10px;  padding-right: 10px;  display: block;  line-height: 20px;}
+.mceMenuSeparator {border-bottom: 1px solid gray;  background-color: gray;  height: 1px;}
+.mceMenuTitle span {padding-left: 5px;}
+.mceMenuTitle {background-color: #DDDDDD;  font-weight: bold;}
+.mceMenuDisabled {color: gray;}
+span.mceMenuSelectedItem {background-image: url('../images/menu_check.gif');  background-repeat: no-repeat;  background-position: 5px 8px;  padding-left: 20px;}
+span.mceMenuCheckItem {padding-left: 20px;}
+span.mceMenuLine {display: block;  position: absolute;  left: 0;  top: -1px;  background-color: #F5F4F2;  width: 30px;  height: 1px;  overflow: hidden;  padding-left: 0;  padding-right: 0;}
+.mceColors table, .mceColors td {margin: 0;  padding: 2px;}
+a.mceMoreColors {width: 130px;  margin: 0;  padding: 0;  margin-left: 3px;  margin-bottom: 3px;  text-align: center;  border: 1px solid white;}
+.mceColorPreview {position: absolute;  left: 0;  top: 0;  margin-left: 3px;  margin-top: 15px;  width: 16px;  height: 4px;  background-color: red;}
+a.mceMoreColors:hover {border: 1px solid #0A246A;}
+.mceColors td a {width: 9px;  height: 9px;  overflow: hidden;  border: 1px solid #808080;}
+
+/* MSIE 6 specific rules */
+
+* html a.mceButtonNormal img, * html a.mceButtonSelected img, * html a.mceButtonDisabled img {border: 0 !important;  margin-top: 2px;  margin-bottom: 1px;}
+* html a.mceButtonDisabled img {filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);  border: 0 !important;}
+* html a.mceButtonDisabled {border: 1px solid #F0F0EE !important;}
+* html a.mceButtonNormal, * html a.mceButtonSelected {border: 1px solid #F0F0EE !important;  cursor: default;}
+* html a.mceButtonSelected {border: 1px solid #6779AA !important;  background-color: #D4D5D8;}
+* html a.mceButtonNormal:hover, * html a.mceButtonSelected:hover {border: 1px solid #0A246A !important;  background-color: #B6BDD2;  cursor: default;}
+* html .mceSelectList {margin-top: 2px;}
+* html span.mceMenuButton, * html span.mceMenuButtonFocus {position: relative;  left: 0;  top: 0;}
+* html span.mceMenuButton img, * html span.mceMenuButtonSelected img, * html span.mceMenuButtonFocus img {position: relative;  top: 1px;}
+* html a.mceMoreColors {width: 132px;}
+* html .mceColors td a {width: 10px;  height: 10px;}
+* html .mceColorPreview {margin-left: 2px;  margin-top: 14px;}
+
+/* MSIE 7 specific rules */
+
+*:first-child+html a.mceButtonNormal img, *:first-child+html a.mceButtonSelected img, *:first-child+html a.mceButtonDisabled img {border: 0 !important;  margin-top: 2px;  margin-bottom: 1px;}
+*:first-child+html a.mceButtonDisabled img {filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);  border: 0 !important;}
+*:first-child+html a.mceButtonDisabled {border: 1px solid #F0F0EE !important;}
+*:first-child+html a.mceButtonNormal, *:first-child+html a.mceButtonSelected {border: 1px solid #F0F0EE !important;  cursor: default;}
+*:first-child+html a.mceButtonSelected {border: 1px solid #6779AA !important;  background-color: #D4D5D8;}
+*:first-child+html a.mceButtonNormal:hover, *:first-child+html a.mceButtonSelected:hover {border: 1px solid #0A246A !important;  background-color: #B6BDD2;  cursor: default;}
+*:first-child+html .mceSelectList {margin-top: 2px;}
+*:first-child+html span.mceMenuButton, *:first-child+html span.mceMenuButtonFocus {position: relative;  left: 0;  top: 0;}
+*:first-child+html span.mceMenuButton img, *:first-child+html span.mceMenuButtonSelected img, *:first-child+html span.mceMenuButtonFocus img {position: relative;  top: 1px;}
+*:first-child+html a.mceMoreColors {width: 132px;}
+*:first-child+html .mceColors td a {width: 10px;  height: 10px;}
+*:first-child+html .mceColorPreview {margin: 0; padding-left: 4px;  margin-top: 14px; width: 14px;}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>&Agrave; propos de TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">&Agrave; propos de TinyMCE</span></td>
+    <td align="right"><a href="index.htm">Table des mati&egrave;res</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE est un petit &eacute;diteur "WYSIWYG" pour page Web comme MSIE ou Mozilla qui
+vous permet de manipuler du contenu HTML d'une fa&ccedil;on plus intuitive.
+Il est simple d'utilisation et poss&egrave;de les fonctionalit&eacute;s ls plus r&eacute;pendues que l'on peut retrouver dans
+les traitements de texte.
+<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Aller &agrave;: <a href="index.htm">Table des mati&egrave;res</a></td>
+    <td align="right"><a href="#">Haut de page</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,161 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Outils communs</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Outils communs</span></td>
+    <td align="right"><a href="index.htm">Table des mati&egrave;res</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Ci-dessous une courte description de chacuns des outils.<img src="../../images/spacer.gif" width="1" height="1"> 
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold_fr.gif" width="20" height="20"></td>
+    <td>Met le texte s&eacute;lectionn&eacute; en gras.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Met le texte s&eacute;lectionn&eacute; en italique.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Souligne le texte s&eacute;lectionn&eacute;.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Barre le texte s&eacute;lectionn&eacute;.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Alignement &agrave; gauche.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Alignement au centr&eacute;.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Alignement &agrave; droite.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Texte justifi&eacute;.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Liste &agrave; puces.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Liste num&eacute;rot&eacute;e</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>R&eacute;duit l'indentation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Augmente l'indentation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Annule la derni&egrave;re op&eacute;ration.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Refait la derni&egrave;re op&eacute;ration annul&eacute;e.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Ins&egrave;re ou modifie un hyperlien. Allez &agrave; la page <a href="insert_link_button.htm">
+        Outil d'ajout d'hyperliens</a> pour plus de d&eacute;tails.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Efface les hyperliens qui sont s&eacute;lection&eacute;es.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Ins&egrave;re ou modifie une image. Allez &agrave; la page <a href="insert_image_button.htm">
+        Outil d'ajout d'images</a> pour plus de d&eacute;tails.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Nettoie le code et retire les param&egrave;tres non d&eacute;sir&eacute;s.  Cet outil
+    est tr&egrave;s utile lorsque vous copiez du contenu provenant de logiciels
+    de bureatique.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Affiche cette page d'aide.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/code.gif" width="20" height="20"></td>
+    <td>Ouvre un &eacute;diteur permettant de modifier le code HTML. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table.gif" width="20" height="20"></td>
+    <td>Ins&egrave;re un nouveau tableau &agrave; la position actuelle.  Allez &agrave; la page <a href="insert_table_button.htm">
+        Outil d'ajout de tableau</a> pour plus de d&eacute;tails.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_before.gif" width="20" height="20"></td>
+    <td>Ajoute une ligne au tableau avant la ligne courante. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_after.gif" width="20" height="20"></td>
+    <td>Ajoute une ligne au tableau apr&egrave;s la ligne courante. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_row.gif" width="20" height="20"></td>
+    <td>Supprime la ligne courante. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_before.gif" width="20" height="20"></td>
+    <td>Ajoute une colonne au tableau avant la colonne courante. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_after.gif" width="20" height="20"></td>
+    <td>Ajoute une colonne au tableau apr&egrave;s la colonne courante. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_col.gif" width="20" height="20"></td>
+    <td>Supprime la colonne courante. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/hr.gif" width="20" height="20"></td>
+    <td>Ins&egrave;re un s&eacute;parateur horizontal. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/removeformat.gif" width="20" height="20"></td>
+    <td>Supprime les formattages du texte s&eacute;lectionn&eacute;. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sub.gif" width="20" height="20"></td>
+    <td>Transforme le texte s&eacute;lectionn&eacute; en texte souscrit. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sup.gif" width="20" height="20"></td>
+    <td>Transforme le texte s&eacute;lectionn&eacute; en indice sup&eacute;rieur. </td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Aller &agrave;: <a href="index.htm">Table des mati&egrave;res</a></td>
+    <td align="right"><a href="#">Haut de page</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/images/insert_table_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/images/insert_table_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Table des mati&egrave;res de l'aide</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Table des mati&egrave;res</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Faites votre s&eacute;lection parmis les th&egrave;mes suivants:
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">&Agrave; propos de TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Outils communs</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Outil d'ajout d'images</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Outil d'ajout d'hyperliens</a></li>
+  <li class="toc_li"><a href="insert_table_button.htm">Outil d'ajout de tableau</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Outil d'ajout d'images</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Outil d'ajout d'images</span></td>
+    <td align="right"><a href="index.htm">Table des mati&egrave;res</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+L'outil d'ajout d'images ouvre la fen&ecirc;tre ci-dessous.<br>
+<br>
+<img src="images/insert_image_window.gif"><br>
+<br>
+Vous entrez tout simplement l'adresse de l'image que vous d&eacute;sirez ajouter et
+entrez une description facultative.  La description sera affich&eacute;e en texte alternatif
+sur l'image lorsqu'elle sera publi&eacute;e.<br>
+<br>
+<strong>Description des champs:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Adresse de l'image </strong></td>
+    <td>Adresse URL de l'image &agrave; ins&eacute;rer.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Description de l'image </strong></td>
+    <td>Description alternative de l'image.</td>
+  </tr>
+  <tr>
+    <td><strong>Dimensions</strong></td>
+    <td>Largeur et Hauteur de l'image en pixel. </td>
+  </tr>
+  <tr>
+    <td><strong>Alignement</strong></td>
+    <td>Alignement de l'image. Tr&egrave;s utile pour faire contourner le texte autour des images.</td>
+  </tr>
+  <tr>
+    <td><strong>Bordure</strong></td>
+    <td>&Eacute;paisseur en pixel de la bordure. </td>
+  </tr>
+  <tr>
+    <td><strong>VSpace</strong></td>
+    <td>Espacement vertical. Tr&egrave;s utile pour faire contourner le texte autour des images.</td>
+  </tr>
+  <tr>
+    <td><strong>HSpace</strong></td>
+    <td>Espacement horizontal. Tr&egrave;s utile pour faire contourner le texte autour des images.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Aller &agrave;: <a href="index.htm">Table des mati&egrave;res</a></td>
+    <td align="right"><a href="#">Haut de page</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Outil d'ajout d'hyperliens</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Outil d'ajout d'hyperliens</span></td>
+    <td align="right"><a href="index.htm">Table des mati&egrave;res</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+L'outil d'ajout d'hyperlien ouvre la fen&ecirc;tre ci-dessous.<br>
+<br>
+<img src="images/insert_link_window.gif"><br>
+<br>
+Il y a deux champs dans cette fen&ecirc;tre. L'Adresse URL est l'adresse
+de l'hyperlien.  La destination vous permet de choisir de quelle fa&ccedil;on
+l'hyperlien sera ouvert.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Aller &agrave;: <a href="index.htm">Table des mati&egrave;res</a></td>
+    <td align="right"><a href="#">Haut de page</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_table_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_table_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/insert_table_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Outil d'ajout de tableau</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Outil d'ajout de tableau</span></td>
+    <td align="right"><a href="index.htm">Table des mati&egrave;res</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+L'outil d'ajout de tableau ouvre la fen&ecirc;tre ci-dessous.  Elle vous permet de créer dfes talbeaux.<br>
+<br>
+<img src="images/insert_table_window.gif"><br>
+<br>
+<strong>Description des champs:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Colonnes</strong></td>
+    <td>Nombre de colonnes du tableau. </td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Lignes</strong></td>
+    <td>Nombre de lignes du tableau. </td>
+  </tr>
+  <tr>
+    <td><strong>Cellpadding</strong></td>
+    <td>Marge à l'intérieur des cellules du tableau. </td>
+  </tr>
+  <tr>
+    <td><strong>Cellspacing</strong></td>
+    <td>Espacement entre les cellules du tableau. </td>
+  </tr>
+  <tr>
+    <td><strong>Alignement</strong></td>
+    <td>Alignement du tableau. </td>
+  </tr>
+  <tr>
+    <td><strong>Bordure</strong></td>
+    <td>Épaisseur des bordures du tableau.</td>
+  </tr>
+  <tr>
+    <td><strong>Largeur</strong></td>
+    <td>Largeur en pixel du tableau.</td>
+  </tr>
+  <tr>
+    <td><strong>Hauteur</strong></td>
+    <td>Hauteur en pixel du tableau.</td>
+  </tr>
+  <tr>
+    <td><strong>Classe CSS</strong></td>
+    <td>Nom de la classe CSS pour appliquer un style.</td>
+  </tr>
+</table>
+<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Aller &agrave;: <a href="index.htm">Table des mati&egrave;res</a></td>
+    <td align="right"><a href="#">Haut de page</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/ca_fr/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>O TinyMCE</TITLE>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">O TinyMCE</span></td>
+    <td align="right"><a href="index.htm">Obsah</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE je malý WYSIWYG editor pro webové prohlí¾eèe jako jsou MSIE nebo Mozilla,
+kterým lze HTML obsah upravovat mnohem jednodu¹eji. Obsahuje bì¾né funkce,
+je¾ lze nalézt ve vìt¹inì textových editorù, proto by jeho pou¾ívání nemìlo být slo¾ité.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Jdi na: <a href="index.htm">Obsah</a></td>
+    <td align="right"><a href="#">Nahoru</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,171 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Bì¾ná tlaèítka</TITLE>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Bì¾ná tlaèítka</span></td>
+    <td align="right"><a href="index.htm">Obsah</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Ní¾e je krátce popsáno ka¾dé tlaèítko.
+<img src="../../images/spacer.gif" width="1" height="1"> 
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/cut.gif" width="20" height="20"></td>
+    <td>Zkopíruje aktuálnì vybraný obsah do schránky. (Ctrl+C)</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/copy.gif" width="20" height="20"></td>
+    <td>Vyjme aktuálnì vybraný obsah do schránky. (Ctrl+X)</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/paste.gif" width="20" height="20"></td>
+    <td>Vlo¾í obsah schránky do okna editoru. (Ctrl+P)</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Ztuèní text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Naformátuje text kurzívou.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Podtrhne text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Pøe¹krtne text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Zarovná vlevo.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Zarovná na støed.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Zarovná vpravo.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Zarovná do bloku.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Neøazený seznam/seznam s odrá¾ky.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Øazený seznam/èíslovaný seznam.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Pøedsadí/sní¾í odsazení.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Odsadí/zvý¹í odsazení.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Vrátí zpìt naposledy provedenou akci.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Obnoví poslední akci.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Vlo¾í nový odkaz, více o této funkci v èásti <a href="insert_link_button.htm">Vlo¾it odkaz</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Zru¹í odkaz v aktuálním výbìru/odstranit v¹echny vybrané odkazy.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Vlo¾í nový obrázek, více o této funkci v èásti <a href="insert_image_button.htm">Vlo¾it obrázek</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Vyèistí kód/odstraní nechtìné formátování. Tato funkce se hodí kdy¾
+      kopírujete obsah napøíklad z kanceláøského balíku.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Zobrazí tuto nápovìdu.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/code.gif" width="20" height="20"></td>
+    <td>Otevøe editor s HTML zdrojem. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table.gif" width="20" height="20"></td>
+    <td>Do aktuální pozice vlo¾í novou 2x2 tabulku.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_before.gif" width="20" height="20"></td>
+    <td>Pøidá øádek pøed aktuální. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_after.gif" width="20" height="20"></td>
+    <td>Pøidá øádek pod aktuální. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_row.gif" width="20" height="20"></td>
+    <td>Odstraní øádek. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_before.gif" width="20" height="20"></td>
+    <td>Pøidá sloupec pøed aktuální.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_after.gif" width="20" height="20"></td>
+    <td>Pøidá sloupec za aktuální.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_col.gif" width="20" height="20"></td>
+    <td>Odstraní aktuální sloupec.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/hr.gif" width="20" height="20"></td>
+    <td>Pøidá nový vodorovný oddìlovaè.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/removeformat.gif" width="20" height="20"></td>
+    <td>Odstraní z výbìru formátování. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sub.gif" width="20" height="20"></td>
+    <td>Vytvoøí z vybraného textu dolní index. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sup.gif" width="20" height="20"></td>
+    <td>Vytvoøí z vybraného textu horní index. </td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Jdi na: <a href="index.htm">Obsah</a></td>
+    <td align="right"><a href="#">Nahoru</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/images/insert_image_window.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/images/insert_image_window.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/images/insert_link_window.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/images/insert_link_window.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/images/insert_table_window.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/images/insert_table_window.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Nápovìda</TITLE>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Obsah</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Kliknutím na odkazy ní¾e zvolte po¾adovanou èást nápovìdy.
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">O TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Bì¾ná tlaèítka</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Tlaèítko vlo¾it obrázek</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Tlaèítko vlo¾it odkaz</a></li>
+  <li class="toc_li"><a href="insert_table_button.htm">Tlaèítko vlo¾it tabulku</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Tlaèítko vlo¾it obrázek</TITLE>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Tlaèítko vlo¾it obrázek</span></td>
+    <td align="right"><a href="index.htm">Obsah</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Tlaèítko vlo¾it obrázek otevøe následující okno.<br>
+<br>
+<img src="images/insert_image_window.png" width="348" height="290"><br>
+<br>
+Jen vlo¾te URL obrázku, který chcete pøidat a zadáte jeho popis, jen¾ bude
+zobrazován jako alternativní popisek obrázku.<br>
+<br>
+<strong>Popis políèek:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>URL obrázku</strong></td>
+    <td>URL/cesta k obrázku.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Popis obrázku</strong></td>
+    <td>Alternativní popis toho, co je na obrázku.</td>
+  </tr>
+  <tr>
+    <td><strong>Rozmìry</strong></td>
+    <td>©íøka/vý¹ka obrázku. </td>
+  </tr>
+  <tr>
+    <td><strong>Zarovnání</strong></td>
+    <td>Zarovnání obrázku, vhodné pro obtékání obrázku textem.</td>
+  </tr>
+  <tr>
+    <td><strong>Rámeèek</strong></td>
+    <td>Tlou¹»ka rámeèku. </td>
+  </tr>
+  <tr>
+    <td><strong>Vertikální okraj</strong></td>
+    <td>Vertikální okraj, vhodné pro zalomení textu kolem obrázku.</td>
+  </tr>
+  <tr>
+    <td><strong>Horizontální okraj</strong></td>
+    <td>Horizontální okraj, vhodné pro zalomení textu kolem obrázku.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Jdi na: <a href="index.htm">Obsah</a></td>
+    <td align="right"><a href="#">Nahoru</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Tlaèítko vlo¾it odkaz</TITLE>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Tlaèítko vlo¾it odkaz</span></td>
+    <td align="right"><a href="index.htm">Obsah</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Toto tlaèítko otevøe nové okno s mo¾ností vlo¾ení/úpravy odkazu.<br>
+<br>
+<img src="images/insert_link_window.png" width="328" height="160"><br>
+<br>
+V tomto oknì jsou dvì políèka. &quot;URL odkazu&quot; je adresa stránky, na 
+kterou odkazujeme. &quot;Cíl&quot; urèuje, jak má být odkazovaná stránka otevøena.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Jdi na: <a href="index.htm">Obsah</a></td>
+    <td align="right"><a href="#">Nahoru</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_table_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_table_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/insert_table_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,69 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Tlaèítko vlo¾it tabulku</TITLE>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Tlaèítko vlo¾it tabulku</span></td>
+    <td align="right"><a href="index.htm">Obsah</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Tlaèítko vlo¾it tabulku otevøe následující okno, v nìm¾ mù¾ete definovat novou tabulku.<br>
+<br>
+<img src="images/insert_table_window.png" width="338" height="210"><br>
+<br>
+<strong>Popis políèek:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Sloupce</strong></td>
+    <td>Poèet sloupcù v tabulce.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Øádky</strong></td>
+    <td>Poèet øádkù v tabulce.</td>
+  </tr>
+  <tr>
+    <td><strong>Vnitøní okraj bunìk</strong></td>
+    <td>Vnitøní okraj bunìk tabulky.</td>
+  </tr>
+  <tr>
+    <td><strong>Vnìj¹í okraj bunìk</strong></td>
+    <td>Vnitøní okraj bunìk tabulky.</td>
+  </tr>
+  <tr>
+    <td><strong>Zarovnání</strong></td>
+    <td>Zarovnání tabulky.</td>
+  </tr>
+  <tr>
+    <td><strong>Rámeèek</strong></td>
+    <td>Tlou¹»ka rámeèku tabulky.</td>
+  </tr>
+  <tr>
+    <td><strong>©íøka</strong></td>
+    <td>©íøka tabulky v pixelech.</td>
+  </tr>
+  <tr>
+    <td><strong>Vý¹ka</strong></td>
+    <td>Vý¹ka tabulky v pixelech.</td>
+  </tr>
+</table>
+<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Jdi na: <a href="index.htm">Obsah</a></td>
+    <td align="right"><a href="#">Nahoru</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/cz/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: 0; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>&Uuml;ber TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">&Uuml;ber TinyMCE</span></td>
+    <td align="right"><a href="index.htm">Inhalt</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE ist ein kompakter WYSIWYG-Editor f&uuml;r Webbrowser wie MSIE oder Mozilla
+der es Ihnen erm&ouml;glicht HTML-Inhalte auf eine benutzerfreundliche Weise zu
+editieren. Es verf&uuml;gt über die wichtigsten Funktionen die in den meisten
+Textverarbeitungen vorkommen und sollte einfach zu benutzen sein.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Gehe zu: <a href="index.htm">Inhaltsverzeichnis</a></td>
+    <td align="right"><a href="#">nach oben</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,108 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Allgemeine Schaltfl&auml;chen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Allgemeine Schaltfl&auml;chen</span></td>
+    <td align="right"><a href="index.htm">Inhalt</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Untenstehend eine kurze Beschreibung jeder Schaltfl&auml;che.<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold_de_se.gif" width="20" height="20"></td>
+    <td>Fetter Text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic_de_se.gif" width="20" height="20"></td>
+    <td>Kursiver Text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Unterstrichener Text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Durchgestrichener Text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Linksb&uuml;ndig.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Zentriert.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Rechtsb&uuml;ndig.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Blocksatz.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Unsortierte Liste / Punktierte Liste.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Sortierte Liste / Nummerierte Liste.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Einzug verkleinern.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Einzug vergr&ouml;ssern.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Letzte Aktion r&uuml;ckg&auml;ngig machen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Letzte Aktion wiederholen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Einen neuen Hyperlink einf&uuml;gen, lesen Sie mehr &uuml;ber diese Funktion im Kapitel <a href="insert_link_button.htm">Hyperlink einf&uuml;gen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Den gegenw&auml;rtige markierten Hyperlink entfernen / Alle gegenw&auml;rtig markierten Hyperlinks entfernen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Ein neues Bild einf&uuml;gen, lesen Sie mehr &uuml;ber diese Funktion im Kapitel <a href="insert_image_button.htm">Bild einf&uuml;gen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>unsauberen Code aufr&auml;umen / Entfernt ungewollte Formatierungen. Diese Funktion ist n&uuml;tzlich,
+		wenn Sie beispielsweise Inhalte aus einem Office Produkt kopieren.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Zeigt diese Hilfe an.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Gehe zu: <a href="index.htm">Inhaltsverzeichnis</a></td>
+    <td align="right"><a href="#">nach oben</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Inhaltsverzeichnis der Hilfe</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Inhaltsverzeichnis</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Klicken Sie auf die untenstehenden Links um die verschiedenen Bereiche der Hilfe zu betrachten. 
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">&Uuml;ber TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Allgemeine Schaltfl&auml;chen</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Schaltfl&auml;che Bild einf&uuml;gen</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Schaltfl&auml;che Hyperlink einf&uuml;gen</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Schaltfl&auml;che Bild einf&uuml;gen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Schaltfl&auml;che Bild einf&uuml;gen</span></td>
+    <td align="right"><a href="index.htm">Inhalt</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Die Schaltfl&auml;che &quot;Bild einf&uuml;gen&quot; &ouml;ffnet das unten gezeigte Fenster.<br>
+<br>
+<img src="images/insert_image_window.gif" width="350" height="166"><br>
+<br>
+Sie geben einfach die URL zu dem Bild ein, das Sie verknüpfen möchten und eine
+Beschreibung des Bildes, welche dann als alternative Textbeschreibung verwendet wird.
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Gehe zu: <a href="index.htm">Inhaltsverzeichnis</a></td>
+    <td align="right"><a href="#">nach oben</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Schaltfl&auml;che Hyperlink einf&uuml;gen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Schaltfl&auml;che Hyperlink einf&uuml;gen</span></td>
+    <td align="right"><a href="index.htm">Inhalt</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Diese Schaltfl&auml;che &ouml;ffnet das Fenster f&uuml;r die &quot;Hyperlink einf&uuml;gen / bearbeiten&quot;-Funktion.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="166"><br>
+<br>
+Zwei Felder sind in diesem Fenster auszufüllen. Das Erste, &quot;Hyperlink URL&quot;, ist f&uuml;r
+die URL der Verknüpfung. Das &quot;Ziel&quot; erlaubt Ihnen auszuwählen wie die Verkn&uuml;pfung
+ge&ouml;ffnet werden soll.
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Gehe zu: <a href="index.htm">Inhaltsverzeichnis</a></td>
+    <td align="right"><a href="#">nach oben</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/de/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,31 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<HEAD>
+<TITLE>About TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">About TinyMCE</span></td>
+    <td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE is a small WYSIWYG editor control for web browsers such as MSIE or Mozilla 
+that enables you to edit HTML contents in a more user friendly way. It has common 
+features that are found in most word processors and should not be difficult to 
+use.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,162 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<HEAD>
+<TITLE>Common buttons</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Common buttons</span></td>
+    <td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Below is a short description about each button.
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20" alt="Bold text icon" /></td>
+    <td>Bold text style (Ctrl+B).</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20" alt="Italic text icon" /></td>
+    <td>Italic text style (Ctrl+I).</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20" alt="Underline text icon." /></td>
+    <td>Underline text style (Ctrl+U).</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20" alt="Strikethrough text icon." /></td>
+    <td>Strikethrough text style.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/justifyleft.gif" width="20" height="20" alt="Align left icon." /></td>
+    <td>Align left.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/justifycenter.gif" width="20" height="20" alt="Align center icon." /></td>
+    <td>Align center.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/justifyright.gif" width="20" height="20" alt="Align right icon." /></td>
+    <td>Align right.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/justifyfull.gif" width="20" height="20" alt="Align full icon." /></td>
+    <td>Align full.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20" alt="Unordered list/bullet list icon." /></td>
+    <td>Unordered list/bullet list.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20" alt="Ordered list/numbered list icon." /></td>
+    <td>Ordered list/numbered list</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20" alt="Outdent/decrease indentation icon." /></td>
+    <td>Outdent/decrease indentation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20" alt="Indent/increase indentation icon." /></td>
+    <td>Indent/increase indentation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20" alt="Undo the last operation." /></td>
+    <td>Undo the last operation (Ctrl+Z).</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20" alt="Redo the last operation icon." /></td>
+    <td>Redo the last operation (Ctrl+Y).</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20" alt="Insert a new link icon." /></td>
+    <td>Insert a new link, read more about this function in the <a href="insert_link_button.htm">Insert 
+      link section</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20" alt="Unlinks the current selection icon." /></td>
+    <td>Unlinks the current selection/removes all selected links.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/anchor.gif" width="20" height="20" alt="Insert a new anchor icon." /></td>
+    <td>Insert a new anchor, read more about this function in the <a href="insert_anchor_button.htm">Insert anchor section.</a></td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20" alt="Insert a new image icon." /></td>
+    <td>Insert a new image, read more about this function in the <a href="insert_image_button.htm">Insert 
+      image section</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20" alt="Cleanup code icon." /></td>
+    <td>Cleanup code/Removes unwanted formating. This function is useful when 
+      you copy contents from for example a office product.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20" alt="Show help icon." /></td>
+    <td>Shows this help window.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/code.gif" width="20" height="20" alt="Source code editor icon." /></td>
+    <td>Opens HTML source code editor. </td>
+  </tr>
+  <tr>
+    <td><img src="../../../../plugins/table/images/table.gif" width="20" height="20" alt="Insert table icon." /></td>
+    <td>Inserts a new table at the current location. </td>
+  </tr>
+  <tr>
+    <td><img src="../../../../plugins/table/images/table_insert_row_before.gif" width="20" height="20" alt="Adds a row above icon." /></td>
+    <td>Adds a row above the current one. </td>
+  </tr>
+  <tr>
+    <td><img src="../../../../plugins/table/images/table_insert_row_after.gif" width="20" height="20" alt="Adds a row under icon." /></td>
+    <td>Adds a row under the current one. </td>
+  </tr>
+  <tr>
+    <td><img src="../../../../plugins/table/images/table_delete_row.gif" width="20" height="20" alt="Remove row icon." /></td>
+    <td>Removes the row. </td>
+  </tr>
+  <tr>
+    <td><img src="../../../../plugins/table/images/table_insert_col_before.gif" width="20" height="20" alt="Add column before icon." /></td>
+    <td>Adds a column before the current one.</td>
+  </tr>
+  <tr>
+    <td><img src="../../../../plugins/table/images/table_insert_col_after.gif" width="20" height="20" alt="Add column after icon." /></td>
+    <td>Adds a column after the current one.</td>
+  </tr>
+  <tr>
+    <td><img src="../../../../plugins/table/images/table_delete_col.gif" width="20" height="20" alt="Remove column icon." /></td>
+    <td>Removes the current column.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/hr.gif" width="20" height="20" alt="Insert horizontal ruler icon." /></td>
+    <td>Inserts a new horizontal ruler </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/removeformat.gif" width="20" height="20" alt="Remove formatting icon." /></td>
+    <td>Removes formatting from the selection. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sub.gif" width="20" height="20" alt="Subscript icon." /></td>
+    <td>Makes the selection to be subscript. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sup.gif" width="20" height="20" alt="Superscript icon." /></td>
+    <td>Makes the selection to be superscripted. </td>
+  </tr>
+</table>
+<br>
+<hr noshade="noshade" />
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,45 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<HEAD>
+<TITLE>Insert table button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Create accessible content</span></td>
+    <td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td>
+  </tr>
+</table>
+<hr noshade>
+<p>TinyMCE can create HTML content that will be accessible to all users, including those with disabilities using assistive technologies, as well as those using text-based browsers, or those browsing the Web with images turned off. </p>
+
+<p><strong>Things you can do to make your content accessible:</strong></p>
+<ol>
+<li><strong>Include an Image Description:</strong> Blind users, or others who are unable to view images, will rely on the Image Description (or Alt text) to take the place of the image. If an image contains no meaning, such as a decoration or a spacer image, leave the Image Description empty. TinyMCE will then insert an empty Alt text attribute that will force assistive technologies to ignore the image. <br /><br /></li>
+
+<li> <strong>Add Scope to data table header cells:</strong> In the table cell editor dialog window, choose a Scope when creating Header cells so the column or row label in that cell becomes explicitely associated with its data cells. Table cell headers will then be announced with each data cell, making it easier for blind users using a screen reader to understand what the content of each cell represents. <br /><br /></li>
+
+<li><strong> Structure content with properly nested headings:</strong> In the format selection menu choose Heading 1 to Heading 6 to represent headings in your content,  rather than using other font formating options. Blind users using a screen reader can then extract the headings from the page to generate a summary of the content it contains, and use those headings to navigate quickly to subsections within the page.<br /><br /></li>
+
+<li><strong> Include alternate content:</strong> Create an alternate page for non-HTML content such as Flash, Java applets, or  embedded movies. This might be a static image, with a description of the image, and a description of the content that would have appeared in its place. An alternate HTML page could also be created, and a link to it included next to the non-HTML object. This will ensure that the content will be accessible to users of assistive technologies that can not view or play the content, and ensure the content will be available to those who do not have the appropriate plugin or helper application installed.<br /><br /></li>
+
+<li><strong> Check accessbility: </strong> When the AChecker plugin is installed with TinyMCE, click on the Check Accessibility button to generate a report of potential accessibility problems.<br /><br /></li>
+
+</ol>
+
+<p>See the <a href="http://checker.atrc.utoronto.ca" target="_new">AChecker Web Site</a> for further details about creating content that will be accessible to all users.<br />
+</p>
+
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<HEAD>
+<TITLE>Help Index</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Table of contents</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Click the links below to go to the different help sections. 
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">About TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Common buttons</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Insert image button</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Insert link button</a></li>
+  <li class="toc_li"><a href="insert_anchor_button.htm">Insert anchor button</a></li>
+  <li class="toc_li"><a href="insert_table_button.htm">Insert table button</a></li>
+ <li class="toc_li"><a href="create_accessible_content.htm">Create accessible content</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<HEAD>
+<TITLE>Insert anchor button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insert anchor button</span></td>
+    <td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+This button opens a new window with the insert/edit anchor function.<br>
+<br>
+<img src="images/insert_anchor_window.gif" width="330" height="139" alt="Anchor dialog/window" /><br>
+<br>
+There are one field in this window, this is where you enter the name of you anchor point. Remember the anchor name needs to be unique. <br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,65 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<HEAD>
+<TITLE>Insert image button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insert image button</span></td>
+    <td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+The insert image button opens the window shown below.<br>
+<br>
+<img src="images/insert_image_window.gif" alt="Insert image dialog/window" /><br>
+<br>
+You simply enter a URL to the image you want to link to and enter a image description, 
+this is then displayed as an alternative text descripton of the image on the page.<br>
+<br>
+<strong>Field descriptions:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Image URL </strong></td>
+    <td>URL/path to the image.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Image description </strong></td>
+    <td>Alternative description of image contents.</td>
+  </tr>
+  <tr>
+    <td><strong>Dimentions</strong></td>
+    <td>Image width/height. </td>
+  </tr>
+  <tr>
+    <td><strong>Alignment</strong></td>
+    <td>Image alignment, useful when wrapping text around images.</td>
+  </tr>
+  <tr>
+    <td><strong>Border</strong></td>
+    <td>Border thickness. </td>
+  </tr>
+  <tr>
+    <td><strong>VSpace</strong></td>
+    <td>Vertical space, useful when wrapping text around images.</td>
+  </tr>
+  <tr>
+    <td><strong>HSpace</strong></td>
+    <td>Horizontal space, useful when wrapping text around images.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<HEAD>
+<TITLE>Insert link button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insert link button</span></td>
+    <td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+This button opens a new window with the insert/edit link function.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="159" alt="Insert link dialog/window" /><br>
+<br>
+There are two fields in this window the first one &quot;Link URL&quot; is the 
+URL of the link. The target enables you to select how the link is to be opened.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_table_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_table_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/insert_table_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,71 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<HEAD>
+<TITLE>Insert table button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insert table button</span></td>
+    <td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+The insert table button opens the window shown below. This action enables you to create tables. <br>
+<br>
+<img src="images/insert_table_window.gif" width="340" height="229" alt="Image of table window" /><br>
+<br>
+<strong>Field descriptions:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Columns</strong></td>
+    <td>Number of columns in the  table. </td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Rows</strong></td>
+    <td>Number of rows in the new table.</td>
+  </tr>
+  <tr>
+    <td><strong>Cellpadding</strong></td>
+    <td>Cellpadding of the table . </td>
+  </tr>
+  <tr>
+    <td><strong>Cellspacing</strong></td>
+    <td>Cellspacing of the table .</td>
+  </tr>
+  <tr>
+    <td><strong>Alignment</strong></td>
+    <td>Table alignment . </td>
+  </tr>
+  <tr>
+    <td><strong>Border</strong></td>
+    <td>Border thinkness of table.</td>
+  </tr>
+  <tr>
+    <td><strong>Width</strong></td>
+    <td>Width in pixels of table .</td>
+  </tr>
+  <tr>
+    <td><strong>Height</strong></td>
+    <td>Height in pixels of table.</td>
+  </tr>
+  <tr>
+    <td><strong>Class</strong></td>
+    <td>Style or CSS class of table.</td>
+  </tr>
+</table>
+<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/en/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Acerca de TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Acerca de  TinyMCE</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE es un editor WYSIWYG para navegadores como  MSIE o Mozilla que te permite editar el contenido HTML de una manera m&aacute;s amigable. Tiene la mayor&iacute;a de las opciones de un procesador de texto y no deber&iacute;a ser dificil de usar.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ir a: <a href="index.htm">Lista de contenidos</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,156 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Botones de uso com&uacute;n</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Botones de uso com&uacute;n</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Peque&ntilde;a descripci&oacute;n de cada boto&oacute;n.<img src="../../images/spacer.gif" width="1" height="1"> 
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Texto en negrita.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Texto en cursiva.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Texto subrayado.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Texto tachado.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Alinear a la izquierda.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Alinear al centro.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Alinear a la derecha.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Alinear justificado.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Lista desordenada/lista por puntos.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Lista ordenada/lista numerada</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Disminuir la sangr&iacute;a.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Aumentar la sangr&iacute;a.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Deshacer la &uacute;ltima operaci&oacute;n.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Rehacer la &uacute;ltima operaci&oacute;n.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Insertar un enlace, m&aacute;s informaci&oacute;n en <a href="insert_link_button.htm">insertar enlace</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Quita el enlace al texto seleccionado.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Insertar un imagen, m&aacute;s informaci&oacute;n en <a href="insert_image_button.htm">insertar imagen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Limpiar c&oacute;digo, esta funci&oacute;n es &uacute;til cuando copias el c&oacute;digo de otra p&aacute;gina.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Muestra esta ventana de ayuda.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/code.gif" width="20" height="20"></td>
+    <td>Abre el editor de HTML. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table.gif" width="20" height="20"></td>
+    <td>Inserta una nueva tabla de 2x2. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_before.gif" width="20" height="20"></td>
+    <td>A&ntilde;ade una fila encima. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_after.gif" width="20" height="20"></td>
+    <td>A&ntilde;ade una fila debajo. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_row.gif" width="20" height="20"></td>
+    <td>Elimina una fila. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_before.gif" width="20" height="20"></td>
+    <td>A&ntilde;ade una columna antes de la actual .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_after.gif" width="20" height="20"></td>
+    <td>A&ntilde;ade una columna despu&eacute;s de la actual.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_col.gif" width="20" height="20"></td>
+    <td>Elimina la columna actual.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/hr.gif" width="20" height="20"></td>
+    <td>Inserta un separador horizontal </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/removeformat.gif" width="20" height="20"></td>
+    <td>Elimina el formato de la selecci&oacute;n. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sub.gif" width="20" height="20"></td>
+    <td>Sub&iacute;ndice. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sup.gif" width="20" height="20"></td>
+    <td>Super&iacute;ndice. </td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ir a: <a href="index.htm">Lista de contenidos</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/images/insert_table_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/images/insert_table_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>&Iacute;ndice de la ayuda</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Lista de contenidos</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Selecciona una secci&oacute;n para ver la ayuda. 
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">Acerca de  TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Botones</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Insertar imagen</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Insertar enlaces</a></li>
+  <li class="toc_li"><a href="insert_table_button.htm">Insertar tabla</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,65 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insertar imagen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insertar imagen</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+El bot&oacute;n insertar imagen abre la siguiente ventana.<br>
+<br>
+<img src="images/insert_image_window.gif"><br>
+<br>
+Tu s&oacute;lo tienes que escribir la URL de la imagen que quieres que aparezca y escribir una descripci&oacute;n de esta, esta descripci&oacute;n aparecera como un texto alternativo que describa la imagen.<br>
+<br>
+<strong>Descripci&oacute;n de los campos:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Image URL </strong></td>
+    <td>URL de la imagen.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Image description </strong></td>
+    <td>Descripci&oacute;n alternativa del contenido de la imagen.</td>
+  </tr>
+  <tr>
+    <td><strong>Dimentions</strong></td>
+    <td>Altura/anchura de la imagen. </td>
+  </tr>
+  <tr>
+    <td><strong>Alignment</strong></td>
+    <td>Alineamiento, &uacute;til cuando colocas texto alrededor de la imagen.</td>
+  </tr>
+  <tr>
+    <td><strong>Border</strong></td>
+    <td>Anchura del borde. </td>
+  </tr>
+  <tr>
+    <td><strong>VSpace</strong></td>
+    <td>Espacio vertical, &uacute;til cuando colocas texto alrededor de la imagen.</td>
+  </tr>
+  <tr>
+    <td><strong>HSpace</strong></td>
+    <td>Espacio horizontal, &uacute;til cuando colocas texto alrededor de la imagen.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ir a: <a href="index.htm">Lista de contenidos</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insertar enlaces</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insertar enlaces</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Este bot&oacute;n abre una nueva ventana con la funci&oacute;n insertar/editar enlace.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="159"><br>
+<br>
+Hay dos campos en esta ventana, el primero &quot;Link URL&quot; es donde hay que escribir la direcci&oacute;n del enlace. El segundo &quot;Target&quot; indica c&oacute;mo se abrir&aacute; el enlace.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ir a: <a href="index.htm">Lista de contenidos</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_table_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_table_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/insert_table_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,68 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insertar tabla</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insertar tabla</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+El bot&oacute;n insertar tabla abre la siguiente ventana. Esta acci&ocaute;n te permite crear tablas.<br>
+<br>
+<img src="images/insert_table_window.gif" width="340" height="209"><br>
+<br>
+<strong>Descripci&oacute;n de los campos:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Columns</strong></td>
+    <td>N&uacute;mero de columnas.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Rows</strong></td>
+    <td>NA&uacute;mero de filas.</td>
+  </tr>
+  <tr>
+    <td><strong>Cellpadding</strong></td>
+    <td>Desplazamiento entre celdas . </td>
+  </tr>
+  <tr>
+    <td><strong>Cellspacing</strong></td>
+    <td>Espacio entre celdas .</td>
+  </tr>
+  <tr>
+    <td><strong>Alignment</strong></td>
+    <td>Alineamiento de la tabla. </td>
+  </tr>
+  <tr>
+    <td><strong>Border</strong></td>
+    <td>Anchura del borde de la tabla.</td>
+  </tr>
+  <tr>
+    <td><strong>Width</strong></td>
+    <td>Anchura de la tabla en pixels .</td>
+  </tr>
+  <tr>
+    <td><strong>Height</strong></td>
+    <td>Altura de la tabla en pixels.</td>
+  </tr>
+</table>
+<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ir a: <a href="index.htm">Tabla de contenidos</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/es/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>About TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Lisätietoa TinyMCE:stä</span></td>
+    <td align="right"><a href="index.htm">Sisällysluettelo</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE on pieni WYSIWYG sisällönmuokkausohjain webbiselaimille kuten MSIE tai Mozilla joka mahdollistaa HTML sisällön muokkauksen käyttäjäystävällisellä tavalla. Se tarjoaa yleiset tekstinkäsittelyohjelmien tarjoamat toiminnot eikä ole vaikea käyttää.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Mene: <a href="index.htm">Sisällysluetteloon</a></td>
+    <td align="right"><a href="#">Alkuun</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,157 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Common buttons</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Yleiset napit</span></td>
+    <td align="right"><a href="index.htm">Sisällysluettelo</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Alla on lyhyt selostus kaikista toimintonapeista.<img src="../../images/spacer.gif" width="1" height="1"> 
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Lihavointi.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Kursivointi.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Alleviivaus.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Yliviivaus.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>vasen tasaus.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Keskitys.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Oikea tasaus.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Pakotettu tasaus.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Järjestämätön lista.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Järjestetty lista/numeroitu lista</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Poista / vähennä sisennystä.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Sisennä.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Peruuta viimeinen muutos.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Tee uudelleen viimeinen peruutettu muutos.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Lisää linkki. Lisätietoa tästä toiminnosta <a href="insert_link_button.htm">lisää linkki -osiosta</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Poista linkki valitusta tekstistä.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Lisää kuva. Lue lisää tästä toiminnosta <a href="insert_image_button.htm"> lisää kuva -osiosta</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Siisti koodi. Tämä toiminto on käytännöllinen kun liität tekstiä toimistosovelluksista.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Näyttäää tämän apuikkunan.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/code.gif" width="20" height="20"></td>
+    <td>Avaa HTML lähdekoodieditorin. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table.gif" width="20" height="20"></td>
+    <td>Lisää tualu. Lue lisää tästä toiminnosta <a href="insert_table_button.htm"> lisää taulu -osiosta</a>. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_before.gif" width="20" height="20"></td>
+    <td>Lisää rivi valitun rivin edelle. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_after.gif" width="20" height="20"></td>
+    <td>Lisää rivi valitun rivin jälkeen. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_row.gif" width="20" height="20"></td>
+    <td>Poista valittu rivi. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_before.gif" width="20" height="20"></td>
+    <td>Lisää saraka valitun sarakkeen jälkeen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_after.gif" width="20" height="20"></td>
+    <td>Lisää sarake valitun sarakkeen edelle.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_col.gif" width="20" height="20"></td>
+    <td>Poistaa valitun sarakkeen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/hr.gif" width="20" height="20"></td>
+    <td>Lisää vaakaviiva. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/removeformat.gif" width="20" height="20"></td>
+    <td>Poista muotoilu valitusta tekstistä. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sub.gif" width="20" height="20"></td>
+    <td>Tekee valitusta tekstistä alamääreistä. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sup.gif" width="20" height="20"></td>
+    <td>Tekee valitusta tekstistä ylämääreistä. </td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Mene: <a href="index.htm">Sisällysluetteloon</a></td>
+    <td align="right"><a href="#">Alkuun</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/images/insert_table_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/images/insert_table_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Apua sisällysluettelo</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Sisällysluettelo</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Napsauta alla olevista linkeistä mennäksesi eri osa-alueisiin. 
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">Lisätietoa TinyMCE:stä</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Toimintonapit</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Kuvan lisäysnapit</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Linkin lisäysnapit</a></li>
+  <li class="toc_li"><a href="insert_table_button.htm">Taulun lisäysnapit</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,66 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insert image button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Lisää linkki -nappi</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Lisää linkki -nappi avaa alla näkyvän ikkunan.<br>
+<br>
+<img src="images/insert_image_window.gif"><br>
+<br>
+Kirjoita haluamasi kuvan URL osoite ja lisää kuvalle selite. Selite näytetään vaihtoehtoisena selitteenä sivulla. 
+<br>
+<br>
+<strong>Kenttien selitykset:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Kuvan URL</strong></td>
+    <td>Kuvan URL tai polku.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Kuvan selite</strong></td>
+    <td>Vaihtoehtoinen selite kuvan sisällöstä.</td>
+  </tr>
+  <tr>
+    <td><strong>Ulottuvuudet</strong></td>
+    <td>Kuvan leveys ja korkeus. </td>
+  </tr>
+  <tr>
+    <td><strong>Asettelu</strong></td>
+    <td>Kuvan asettelu, käytännöllinen kun halutaan tekstin rivittyvän kuvan ympärille.</td>
+  </tr>
+  <tr>
+    <td><strong>Reuna</strong></td>
+    <td>Kuvaa ympäröivän reunan leveys. </td>
+  </tr>
+  <tr>
+    <td><strong>Pystyväli</strong></td>
+    <td>Pystyväli, käytännöllinen kun halutaan tekstin rivittyvän kuvan ympärille.</td>
+  </tr>
+  <tr>
+    <td><strong>Vaakaväli</strong></td>
+    <td>Vaakaväli, useful when wrapping text around images.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Mene: <a href="index.htm">Sisällysluetteloon</a></td>
+    <td align="right"><a href="#">Alkuun</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insert link button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Lisää linkki</span></td>
+    <td align="right"><a href="index.htm">Sisällysluettelo</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Tämä nappi avaa uuden ikkunan jossa on linkin lisäys- ja muokkaustoiminnallisuus.<br>
+<br>
+<img src="images/insert_link_window.gif" width="336" height="208"><br>
+<br>
+
+Tässä ikkunassa on kaksi kenttää. Ensimmäinen kenttä, &quot;Linkin URL&quot;, on linkin osoittama URL -osoite. 
+Toinen kenttä, &quot;kohde&quot;, vaikuttaa siihen miten linkki avataan. 
+The target enables you to select how the link is to be opened.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Mene: <a href="index.htm">Sisällysluetteloon</a></td>
+    <td align="right"><a href="#">Alkuun</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_table_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_table_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/insert_table_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,68 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insert table button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Lisää taulu -nappi</span></td>
+    <td align="right"><a href="index.htm">Sisällysluettelo</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Lisää taulu -nappi avaa alla näkyvän ikkunan. Tämä toimonto mahdollistaa taulujen luonnin.<br>
+<br>
+<img src="images/insert_table_window.gif" width="340" height="209"><br>
+<br>
+<strong>Kenttien selitteet:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Sarakkeet</strong></td>
+    <td>Taulussa olevien saraakkeiden määrä. </td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Rivit</strong></td>
+    <td>Taulussa olevien rivien määrä.</td>
+  </tr>
+  <tr>
+    <td><strong>Solun reunan ja sisällön väli</strong></td>
+    <td>Taulun sisällä olevan solun reunan ja sisällön väli. </td>
+  </tr>
+  <tr>
+    <td><strong>Solujen väli</strong></td>
+    <td>Taulun sisällä olevien solujen väli.</td>
+  </tr>
+  <tr>
+    <td><strong>Asettelu</strong></td>
+    <td>Taulun asettelu. </td>
+  </tr>
+  <tr>
+    <td><strong>Reuna</strong></td>
+    <td>Reunan leveys.</td>
+  </tr>
+  <tr>
+    <td><strong>Leveys</strong></td>
+    <td>Taulun leveys pikseleinä.</td>
+  </tr>
+  <tr>
+    <td><strong>Korkeus</strong></td>
+    <td>Taulun korkeus pikseleinä.</td>
+  </tr>
+</table>
+<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Mene: <a href="index.htm">Sisällysluetteloon</a></td>
+    <td align="right"><a href="#">Alkuun</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/fi/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>&Uuml;ber TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">A TinyMCE-r&#337;l</span></td>
+    <td align="right"><a href="index.htm">Tartalom</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+A TinyMCE egy kompakt WYSIWYG-szerkeszt&#337; az MSIE-hoz &eacute;s a Mozill&aacute;hoz hasonl&oacute; webb&ouml;ng&eacute;sz&#337;k sz&aacute;m&aacute;ra, mely lehet&#337;s&eacute;get ny&uacute;jt &ouml;nnek a HTML tartalmak egyszer&#369; szerkeszt&eacute;s&eacute;re. A legt&ouml;bb sz&ouml;vegszerkeszt&#337;ben el&eacute;rhet&#337; funkci&oacute;kat ny&uacute;jtja egyszer&#369;en kezelhet&#337; form&aacute;ban.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ugr&aacute;s a <a href="index.htm">Tartalomjegyz&eacute;kre</a></td>
+    <td align="right"><a href="#">ugr&aacute;s a lap tetej&eacute;re </a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,107 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Allgemeine Schaltfl&auml;chen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Allgemeine Schaltfl&auml;chen</span></td>
+    <td align="right"><a href="index.htm">Tartalom</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Untenstehend eine kurze Beschreibung jeder Schaltfl&auml;che.<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Félkövér szöveg.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Dõlt szöveg .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Aláhúzott szöveg .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Áthúzott szöveg .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Balra igazítás .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Középre igazítás .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Jobbra igazíás .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Sorkizárt.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Felsorolás / pontozott lista. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Felsorolás / számozott lista.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Behúzás balra .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>behúzás jobbra .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Utolsó parancs visszavonása .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Utolsó parancs ismétlése .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Új link beillesztése, bõvebb információért olvassa el a <a href="insert_link_button.htm">Link beillesztését</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>A kijelölt link eltávolítása  / Az összes kijelölt link eltávolítása.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Egy új kép beillesztése, bõvebb információért olvassa el a <a href="insert_image_button.htm">Kép beillesztését </a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Kód tisztítása  / Eltávolítja a nemkívánt formázásokat. Ez a funkció akkor hasznos, ha például Office dokumentumból másol tartalmat.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Ennek a segítségnek az elérése.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ugrás a <a href="index.htm">Tartalomjegyzékre</a></td>
+    <td align="right"><a href="#">ugrás a lap tetejére </a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Inhaltsverzeichnis der Hilfe</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Tartalomjegyzék</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Kattintson az alábbi linkekre a segítség különbözõ részeinek eléréséhez.
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">A TinyMCE-rõl</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Általános gombok </a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Kép beillesztése gomb </a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Link beillesztése gomb </a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Schaltfl&auml;che Bild einf&uuml;gen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">K&eacute;p beilleszt&eacute;se gomb </span></td>
+    <td align="right"><a href="index.htm">Tartalom</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br> 
+A K&eacute;p beilleszt&eacute;se gomb az al&aacute;bbi ablakot nyitja meg.
+<br>
+<br>
+<img src="images/insert_image_window.gif" width="350" height="166"><br>
+<br>
+Egyszer&#369;en meg kell adni a beilleszteni k&iacute;v&aacute;nt k&eacute;p el&eacute;r&eacute;s&eacute;nek URL-j&eacute;t, valamint egy r&ouml;vd le&iacute;r&aacute;st, mely alternat&iacute;v sz&ouml;vegk&eacute;nt ker&uuml;l megjelen&iacute;t&eacute;sre (pl. nem grafikus b&ouml;ng&eacute;sz&#337;kben).<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ugr&aacute;s a <a href="index.htm">Tartalomjegyz&eacute;kre</a></td>
+    <td align="right"><a href="#">ugr&aacute;s a lap tetej&eacute;re </a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Schaltfl&auml;che Hyperlink einf&uuml;gen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Link beilleszt&eacute;se gomb </span></td>
+    <td align="right"><a href="index.htm">Tartalom</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+A Link beilleszt&eacute;se gomb az al&aacute;bbi ablakot nyitja meg.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="166"><br>
+<br>
+K&eacute;t mez&#337;t kell kit&ouml;ltenie ebben az ablakban. Az els&#337; - &quot;Link URL&quot; - a hivatkoz&aacute;s URL-je. A m&aacute;sodik lehet&#337;s&eacute;get ad &Ouml;nnek a hivatkozt&aacute;s megjelen&iacute;t&eacute;s&eacute;nek kiv&aacute;laszt&aacute;s&aacute;hoz.<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ugr&aacute;s a <a href="index.htm">Tartalomjegyz&eacute;kre</a></td>
+    <td align="right"><a href="#">ugr&aacute;s a lap tetej&eacute;re </a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/hu/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+  <title>Informazioni su TinyMCE</title>
+  <link href="style.css" rel="stylesheet" type="text/css">
+</head>
+<body>
+<table class="pageheader" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td><span class="title">Informazioni su TinyMCE</span></td>
+      <td align="right"><a href="index.htm">TOC</a></td>
+    </tr>
+  </tbody>
+</table>
+<hr noshade="noshade">
+<br>
+TinyMCE &egrave; un piccolo WYSIWYG (What You See Is What You Get,
+quello che vedi &egrave; quello che ottieni) editor per i web browser
+come MSIE o Mozilla che permette di editare HTML in modo comodo. Ha le
+funzionalit&agrave; comuni di molti word processor e non dovrebbe
+essere difficile da usare.<br>
+<br>
+<hr noshade="noshade">
+<table class="pagefooter" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td>Vai a: <a href="index.htm">Tavola dei contenuti</a></td>
+      <td align="right"><a href="#">Su</a></td>
+    </tr>
+  </tbody>
+</table>
+<br>
+<br>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,181 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+  <title>Pulsanti comuni</title>
+  <link href="style.css" rel="stylesheet" type="text/css">
+</head>
+<body>
+<table class="pageheader" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td><span class="title">Pulsanti comuni<br>
+      </span></td>
+      <td align="right"><a href="index.htm">TOC</a></td>
+    </tr>
+  </tbody>
+</table>
+<hr noshade="noshade">
+<br>
+Di seguito una breve descrizione di ogni pulsante.<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tbody>
+    <tr>
+      <td><img src="../../images/bold.gif" height="20" width="20"></td>
+      <td>Testo <span style="font-weight: bold;">grassetto</span>.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/italic.gif" height="20" width="20"></td>
+      <td>Testo <span style="font-style: italic;">corsivo</span>.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/underline.gif" height="20" width="20"></td>
+      <td>Testo <span style="text-decoration: underline;">sottolineato</span>.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/strikethrough.gif" height="20"
+ width="20"></td>
+      <td>Testo <span style="text-decoration: line-through;">barrato</span>.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/left.gif" height="20" width="20"></td>
+      <td>Allinea a sinistra.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/center.gif" height="20" width="20"></td>
+      <td>Allinea al centro.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/right.gif" height="20" width="20"></td>
+      <td>Allinea a destra.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/full.gif" height="20" width="20"></td>
+      <td>Giustifica.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/bullist.gif" height="20" width="20"></td>
+      <td>Lista non ordinata.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/numlist.gif" height="20" width="20"></td>
+      <td>Lista ordianta.<br>
+      </td>
+    </tr>
+    <tr>
+      <td><img src="../../images/outdent.gif" height="20" width="20"></td>
+      <td>Diminuisci l'indentazione.<br>
+      </td>
+    </tr>
+    <tr>
+      <td><img src="../../images/indent.gif" height="20" width="20"></td>
+      <td>Aumenta l'indentazione.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/undo.gif" height="20" width="20"></td>
+      <td>Annulla l'ultima operazione.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/redo.gif" height="20" width="20"></td>
+      <td>Ripeti l'ultima operazione.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/link.gif" height="20" width="20"></td>
+      <td>Inserieci un nuovo collegamento, maggiori informazioni su
+questa funzione nella <a href="insert_link_button.htm">Sezione
+'Inserisci un collegamento'</a></td>
+    </tr>
+    <tr>
+      <td><img src="../../images/unlink.gif" height="20" width="20"></td>
+      <td>Rimuovi tutti i collegamenti selezionati<br>
+      </td>
+    </tr>
+    <tr>
+    <td><img src="../../images/anchor.gif" height="20" width="20"></td>
+    <td>Inserisci una nuova &agrave;ncora, maggiori informazioni su
+questa funzione nella <a href="insert_anchor_button.htm">Sezione 'Inserisci un'&agrave;ncora'.</a></td>
+  </tr>
+    <tr>
+      <td><img src="../../images/image.gif" height="20" width="20"></td>
+      <td>Inserieci una nuova immagine, maggiori informazioni su questa
+funzione nella <a href="insert_image_button.htm">Sezione 'Inserisci
+una immagine'</a>.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/cleanup.gif" height="20" width="20"></td>
+      <td>Ripulisci il codice/rimuovi la formattazione non voluta.
+Questa funzione &egrave; utile quando si copia per esempio da un
+programma office<br>
+      </td>
+    </tr>
+    <tr>
+      <td><img src="../../images/help.gif" height="20" width="20"></td>
+      <td>Mostra questa guida<br>
+      </td>
+    </tr>
+
+  <tr>
+    <td><img src="../../images/code.gif" width="20" height="20"></td>
+    <td>Apre l'editor del sorgente HTML. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table.gif" width="20" height="20"></td>
+    <td>Inserisce una nuova tabella 2x2 alla posizione corrente.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_before.gif" width="20" height="20"></td>
+    <td>Aggiunge una riga sopra quella corrente.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_after.gif" width="20" height="20"></td>
+    <td>Aggiunge una roga sotto quella corrente.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_row.gif" width="20" height="20"></td>
+    <td>Rimuove la riga corrente. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_before.gif" width="20" height="20"></td>
+    <td>Aggiunge una colonna prima di quella corrente.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_after.gif" width="20" height="20"></td>
+    <td>Aggiunge una colonna dopo quella corrente.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_col.gif" width="20" height="20"></td>
+    <td>Rimuove la colonna corrente.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/hr.gif" width="20" height="20"></td>
+    <td>Inserisce una nuova riga orizzontale.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/removeformat.gif" width="20" height="20"></td>
+    <td>Rimuove la formattazione dalla selezione. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sub.gif" width="20" height="20"></td>
+    <td>Formatta la selezione come pedice. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sup.gif" width="20" height="20"></td>
+    <td>Formatta la selezione come apice. </td>
+  </tr>
+
+  </tbody>
+</table>
+<br>
+<hr noshade="noshade">
+<table class="pagefooter" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td>Vai a: <a href="index.htm">Tavola dei contenuti</a></td>
+      <td align="right"><a href="#">Su</a></td>
+    </tr>
+  </tbody>
+</table>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_anchor_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_anchor_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_table_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/images/insert_table_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,31 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+  <title>Indice della guida</title>
+  <link href="style.css" rel="stylesheet" type="text/css">
+</head>
+<body onload="window.focus();">
+<table class="pageheader" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td><span class="title">Tavola dei contenuti<br>
+      </span></td>
+      <td align="right">&nbsp;</td>
+    </tr>
+  </tbody>
+</table>
+<hr noshade="noshade">
+<br>
+Seleziona un argomento:<br>
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">Informazioni su TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Pulsanti comuni</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Pulsante 'Inserisci immagine'<br></a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Pulsante 'Inserisci collegamento'</a></li>
+  <li class="toc_li"><a href="insert_anchor_button.htm">Pulsante 'Inserisci &agrave;ncora'</a></li>
+  <li class="toc_li"><a href="insert_table_button.htm">Pulsante 'Inserisci tabella'</a></li>
+</ul>
+<hr noshade="noshade">
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_anchor_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_anchor_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_anchor_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Bottone 'Inserisci &agrave;ncora'</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Bottone 'Inserisci &agrave;ncora'</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Questo bottone apre una nuova finestra che permette di aggiungere o modificare un'&agrave;ncora<br>
+<br>
+<img src="images/insert_anchor_window.gif" width="326" height="117"><br>
+<br>
+C'&egrave; un solo campo in questa finestra, dove devi inserire il nome del tuo punto di &agrave;ncoraggio. Ricorda che il nome dell' &agrave;ncora deve essere univoco. <br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Vai a: <a href="index.htm">Tavola dei contenuti</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Pulsante 'Inserisci immagine'</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Pulsante 'Inserisci immagine'</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Il pulsante 'inserisci immagine' apre la finestra mostrata qui sotto.<br>
+<br>
+<img src="images/insert_image_window.gif"><br>
+<br>
+Si inserisce semplicemente l'url dell'immagine che si vuole collegare e una descrizione di quell'immagine,
+che sar&agrave; mostrato come testo alternativo dell'immagine sulla pagina.
+<br>
+<br>
+<strong>Descrizione dei parametri:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>URL immagine </strong></td>
+    <td>URL/indirizzo dell'immagine.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Descrizione dell'immagine </strong></td>
+    <td>Descrizione alternativa del contenuto dell'immagine.</td>
+  </tr>
+  <tr>
+    <td><strong>Dimensioni</strong></td>
+    <td>Larghezza/Altezza dell'immagine. </td>
+  </tr>
+  <tr>
+    <td><strong>Allineamento</strong></td>
+    <td>Allineamento dell'immagine, utile quando si inserisce del testo attorno all'immagine.</td>
+  </tr>
+  <tr>
+    <td><strong>Bordo</strong></td>
+    <td>Spessore del bordo. </td>
+  </tr>
+  <tr>
+    <td><strong>Spazio verticale</strong></td>
+    <td>Spazio verticale,  utile quando si inserisce del testo attorno all'immagine.</td>
+  </tr>
+  <tr>
+    <td><strong>Spazio orizzontale</strong></td>
+    <td>Spazio orizzontale, utile quando si inserisce del testo attorno all'immagine.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Vai a: <a href="index.htm">Tavola dei contenuti</a></td>
+    <td align="right"><a href="#">Su</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+  <title>Pulsante 'Inserisci collegamento'</title>
+  <link href="style.css" rel="stylesheet" type="text/css">
+</head>
+<body>
+<table class="pageheader" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td><span class="title">Pulsante 'Inserisci collegamento'<br>
+      </span></td>
+      <td align="right"><a href="index.htm">TOC</a></td>
+    </tr>
+  </tbody>
+</table>
+<hr noshade="noshade">
+<br>
+Questo pulsante apre una nuova finstra con le funzioni di
+inserimento/modifica del collegamento.<br>
+<br>
+<img src="images/insert_link_window.gif" height="156" width="326"><br>
+<br>
+Ci sono due campi in questa finestra: il primo, "Link URL" &egrave;
+l'indirizzo del collegamento. Il 'target' permette di selezionare come
+il collegamento deve essere aperto.<br>
+<br>
+<hr noshade="noshade">
+<table class="pagefooter" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td>Vai a: <a href="index.htm">Tavola dei contenuti</a></td>
+      <td align="right"><a href="#">Su</a></td>
+    </tr>
+  </tbody>
+</table>
+<br>
+<br>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_table_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_table_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/insert_table_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Pulsante 'Inserisci tabella'</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Pulsante 'Inserisci tabella'</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Il pulsante 'Inserisci tabella' apre la finestra mostrata qui sotto. Questa azione permette di creare tabelle.<br>
+<br>
+<img src="images/insert_table_window.gif" width="346" height="225"><br>
+<br>
+<strong>Descrizione dei parametri:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Colonne</strong></td>
+    <td>Numero di colonne nella nuova tabella. </td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Righe</strong></td>
+    <td>Numero di righe nella nuova tabella.</td>
+  </tr>
+  <tr>
+    <td><strong>Cellpadding</strong></td>
+    <td>Spazio tra il bordo di una cella e il suo contenuto. </td>
+  </tr>
+  <tr>
+    <td><strong>Cellspacing</strong></td>
+    <td>Spazio tra le celle della tabella.</td>
+  </tr>
+  <tr>
+    <td><strong>Allineamento</strong></td>
+    <td>Allineamento della tabella. </td>
+  </tr>
+  <tr>
+    <td><strong>Bordo</strong></td>
+    <td>Spessore del bordo della tabella.</td>
+  </tr>
+  <tr>
+    <td><strong>Larghezza</strong></td>
+    <td>Larghezza, in pixel, della tabella.</td>
+  </tr>
+  <tr>
+    <td><strong>Altezza</strong></td>
+    <td>Altezza, in pixel, della tabella.</td>
+  </tr>
+    <tr>
+    <td><strong>Classe</strong></td>
+    <td>Stile o classe CSS della tabella.</td>
+  </tr>
+</table>
+<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Vai a: <a href="index.htm">Tavola dei contenuti</a></td>
+    <td align="right"><a href="#">Su</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/it/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+<HEAD>
+<TITLE>Over TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Over TinyMCE</span></td>
+    <td align="right"><a href="index.htm">Inhoudsopgave</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE is een kleine <i>What-You-See-Is-What-You-Get</i> (WYSIWYG)
+editor voor teksten. De bediening vindt plaats in de web browser, zoals MSIE of Mozilla.
+Het werken met deze editor is eenvoudig, omdat de bediening veel lijkt op het werken
+met teksten in (office-)tekstverwerkers.
+<br><br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr>
+    <td>Ga naar: <a href="index.htm">Inhoudsopgave</a></td>
+    <td align="right"><a href="#">Naar boven</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,189 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+<HEAD>
+<TITLE>Functies van TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr>
+    <td><span class="title">Functies van TinyMCE</span></td>
+    <td align="right"><a href="index.htm">Inhoudsopgave</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Het werken met de editor komt sterk overeen met wat u gewend bent van uw tekstverwerker:
+Dubbel-klik op een woord in de tekst, of trek een kader met de muis terwijl u
+de linkerknop inhoudt om een gedeelte van de tekst te kiezen. Het aldus gemarkeerde woord of
+tekstfragment noemen we 'selecteerd'. Met de knoppen en stijl-keuzelijsten
+in de editor kunt u hiervan vervolgens de opmaak aanpassen of (indien deze reeds was toegekend) verwijderen.
+<br><br>
+De meeste functies voert u eenvoudig uit door het klikken
+van de knoppen (buttons) boven het tekstvenster in de editor. Hieronder vindt u van elk van deze
+knoppen een beknopte beschrijving.
+<br>
+<br>
+<table width=100% border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td width=20><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Gekozen tekstfragment 'Vet' (Bold) maken.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Gekozen tekstfragment 'Cursief' (Italic) maken.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Gekozen tekstfragment 'Onderstrepen' (Underline).</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Gekozen tekstfragment 'Doorstrepen' (Strikethrough).</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Gekozen tekstfragment naar links uitlijnen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Gekozen tekstfragment centreren.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Gekozen tekstfragment naar rechts uitlijnen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Gekozen tekstfragment 'uitvullen' tot complete regels.</td>
+  </tr>
+</table>
+<br>
+<table width=100% border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Gekozen tekstfragment omzetten naar ongeordende (bullet-)lijst of opsomming.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Gekozen tekstfragment omzetten naar doorgenummerde lijst.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Inspringniveau van het gekozen tekstfragment verkleinen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Inspringniveau van het gekozen tekstfragment vergroten.</td>
+  </tr>
+  <tr>
+    <td width=20><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>De laaste bewerking ongedaan maken. De toetscombinatie CRTL-Z doet hetzelfde.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>De laatste bewerking opnieuw uitvoeren.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Invoegen van een <i>Link</i> (Cross-Link) via dialoogmenu.<br>
+		  Zie de beschrijving bij <a href="insert_link_button.htm">Links en verwijzingen in tekst invoegen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Verwijdert alle gevonden <i>Links</i> (Cross-Links) uit de tekstselectie.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/anchor.gif" width="20" height="20"></td>
+    <td>Anker aan de tekstselectie toekennen of wijzigen.<br>
+		  Zie de beschrijving bij <a href="insert_anchor_button.htm">Anker Toevoegen.</a></td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Voegt een afbeelding in.<br>
+		  Zie de beschrijving bij <a href="insert_image_button.htm">Afbeeldingen invoegen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Schoont ongewenste opmaak en codering van de tekstselectie op. Deze functie is erg nuttig na het
+		  overkopi&euml;ren van teksten vanuit uw (Office-)tekstverwerker.</td>
+  </tr>
+	<tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Toont dit helpvenster met uitleg van alle functionaliteit van de editor.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/code.gif" width="20" height="20"></td>
+    <td>Opent het venster met de HTML-broncode voor het direct maken van wijzigingen
+		  in de achterliggende pagina-codering. Kennis van de HTML-taal is vereist.</td>
+  </tr>
+</table>
+
+<br>
+<table width=100% border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/table.gif" width="20" height="20"></td>
+    <td>Voegt een nieuwe tabel met 2 rijen en kolommen in op de huidige positie in te tekst. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_before.gif" width="20" height="20"></td>
+    <td>Voegt een nieuwe rij toe aan de tabel boven de huidige.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_after.gif" width="20" height="20"></td>
+    <td>Voegt een nieuwe rij toe aan de tabel onder de huidige.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_row.gif" width="20" height="20"></td>
+    <td>Verwijdert de huidige rij uit de tabel.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_before.gif" width="20" height="20"></td>
+    <td>Voegt een nieuwe kolom toe aan de tabel voor de huidige.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_after.gif" width="20" height="20"></td>
+    <td>Voegt een nieuwe kolom toe aan de tabel achter de huidige.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_col.gif" width="20" height="20"></td>
+    <td>Verwijdert de huidige kolom uit de tabel.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/hr.gif" width="20" height="20"></td>
+    <td>Voegt een horizontale lijn in de tekst toe.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/removeformat.gif" width="20" height="20"></td>
+    <td>Verwijdert alle tekst-opmaak van de tekstselectie.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/visualaid.gif" width="20" height="20"></td>
+    <td>Toon of verberg hulplijnen voor tabellen in het tekstvenster.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sub.gif" width="20" height="20"></td>
+    <td>Verandert het gekozen tekstfragment in <i>Subscript</i>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sup.gif" width="20" height="20"></td>
+    <td>Verandert het gekozen tekstfragment in <i>Superscript</i>.</td>
+  </tr>
+	<tr>
+    <td><img src="../../images/charmap.gif" width="20" height="20"></td>
+    <td>De <i>Karaktertabel</i> maakt het eenvoudig invoegen van bijzondere karakters mogelijk.<br>
+		  Zie de beschrijving bij <a href="insert_specchar_button.htm">Bijzondere karakers in de tekst invoegen.</a></td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr>
+    <td>Ga naar: <a href="index.htm">Inhoudsopgave</a></td>
+    <td align="right"><a href="#">Naar boven</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/html_source_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/html_source_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_anchor_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_anchor_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_specchar_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_specchar_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_table_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/images/insert_table_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+<HEAD>
+<TITLE>Help Index</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Inhoudsopgave</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Klik op de onderwerpen in onderstaande inhoudsopgave voor meer informatie.
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">Over TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Functies van TinyMCE</a></li>
+	<li class="toc_li"><a href="insert_image_button.htm">Afbeeldingen invoegen</a></li>
+	<li class="toc_li"><a href="insert_link_button.htm">Links en verwijzingen in tekst invoegen</a></li>
+  <li class="toc_li"><a href="insert_specchar_button.htm">Bijzondere karakers in de tekst invoegen</a></li>
+  <li class="toc_li"><a href="insert_anchor_button.htm">Ankers in de tekst gebruiken</a></li>
+  <li class="toc_li"><a href="insert_table_button.htm">Tabellen invoegen en aanpassen</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_anchor_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_anchor_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_anchor_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+<HEAD>
+<TITLE>Ankers in de tekst gebruiken</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr>
+    <td><span class="title">Ankers in de tekst gebruiken</span></td>
+    <td align="right"><a href="index.htm">Inhoudsopgave</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Met de knop 'Invoegen Anker' kunt u in de tekst z.g. HTML-ankers invoegen en
+aanpassen. Deze ankers maken het mogelijk snel naar bepaalde tekstfragmenten te springen.
+Door het toevoegen van de ankernaam (voorafgegaan door een '#')
+aan de link naar een pagina (Zie <a href="insert_link_button.htm">'Links en verwijzingen in tekst invoegen'</a>)
+kan op deze wijze desgewenst direct naar een bepaalde passage in een pagina worden doorgelinkt.
+<br><br>
+Voor het toevoegen of aanpassen van een anker wordt onderstaand dialoogvenster getoond.<br>
+<br>
+<center><img src="images/insert_anchor_window.gif"></center>
+<br>
+Bij het veld 'Anker naam' kan de gewenste naam van het anker worden ingevuld.
+Let op: Binnen een complete pagina binnen uw website dient de naam van dit anker uniek zijn.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr>
+    <td>Ga naar: <a href="index.htm">Inhoudsopgave</a></td>
+    <td align="right"><a href="#">Naar boven</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,66 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+<HEAD>
+<TITLE>Afbeeldingen invoegen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Afbeeldingen invoegen</span></td>
+    <td align="right"><a href="index.htm">Inhoudsopgave</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Voer simpelweg de URL van de afbeelding en de beschrijving in.
+De omschrijvende tekst wordt in sommige browsers bij de muiswijzer getoond
+wanneer deze boven de afbeelding wordt stilgehouden.
+De knop 'Afbeelding Invoegen' opent onderstaand dialoogvenster.<br>
+<br>
+<center><img src="images/insert_image_window.gif"></center>
+<br>
+<strong>Omschrijving van de velden:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Afbeelding</strong></td>
+    <td>In dit veld dient u een complete URL op te geven van de afbeelding.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Beschrijving</strong></td>
+    <td>Omschrijvende tekst die in sommige browsers bij de muiswijzer wordt getoond wanneer deze boven de afbeelding wordt stilgehouden.</td>
+  </tr>
+  <tr>
+    <td><strong>Uitlijning</strong></td>
+    <td>Uit de lijst kan worden gekozen op welke wijze de afbeelding in de tekst wordt ingebed.</td>
+  </tr>
+	<tr>
+    <td><strong>Afmetingen</strong></td>
+    <td>De breedte en hoogte van de afbeelding in pixels. Laat deze velden leeg als de originele afmetingen gewenst zijn.</td>
+  </tr>
+  <tr>
+    <td><strong>Omranding</strong></td>
+    <td>De dikte (in pixels) van de omranding om de afbeelding.</td>
+  </tr>
+  <tr>
+    <td><strong>Verticale marge</strong></td>
+    <td>De verticale marge (in pixels) gebruikt voor de omloop van teksten om de afbeelding.</td>
+  </tr>
+  <tr>
+    <td><strong>Horizontale marge</strong></td>
+    <td>De horizontale marge (in pixels) gebruikt voor de omloop van teksten om de afbeelding.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr>
+    <td>Ga naar: <a href="index.htm">Inhoudsopgave</a></td>
+    <td align="right"><a href="#">Naar boven</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+<HEAD>
+<TITLE>Links en verwijzingen in tekst invoegen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Links en verwijzingen in tekst invoegen</span></td>
+    <td align="right"><a href="index.htm">Inhoudsopgave</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+De knop 'Link Invoegen' leidt u naar onderstaand dialoogvenster waarmee u eenvoudig
+een <i>Link</i> (Cross-Link) kunt aanbrengen in uw teksten.
+<br><br>
+<center><img src="images/insert_link_window.gif"></center>
+<br>
+Bij 'Link URL' dient de de url van
+de link te worden ingevuld (desgewenst voorafgegaan door 'http://' voor een externe
+website), bij 'target' kan worden bepaald hoe de link moet openen.
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr>
+    <td>Ga naar: <a href="index.htm">Inhoudsopgave</a></td>
+    <td align="right"><a href="#">Naar boven</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_specchar_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_specchar_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_specchar_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+<HEAD>
+<TITLE>Bijzondere karakers in de tekst invoegen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr>
+    <td><span class="title">Bijzondere karakers in de tekst invoegen</span></td>
+    <td align="right"><a href="index.htm">Inhoudsopgave</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Met de knop 'Bijzondere Karakters' kunt u in de tekst bijzondere karakters, die soms
+op het toetsenbord lastig te vinden zijn, invoegen.
+<br><br>
+Voor het invoegen van een deze karakters wordt onderstaand keuzevenster getoond.
+Door het eenvoudigweg klikken op het gewenste karakter in het overzicht, wordt het op de huidige positie in de tekst ingevoegd.<br>
+<br>
+<center><img src="images/insert_specchar_window.gif"></center>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr>
+    <td>Ga naar: <a href="index.htm">Inhoudsopgave</a></td>
+    <td align="right"><a href="#">Naar boven</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_table_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_table_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/insert_table_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,74 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+<HEAD>
+<TITLE>Tabellen invoegen en aanpassen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Tabellen invoegen en aanpassen</span></td>
+    <td align="right"><a href="index.htm">Inhoudsopgave</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+De knop 'Invoegen Tabel' stelt u in staat op de huidige plek een nieuwe tabel
+in uw tekst in te voegen en opent onderstaand dialoogvenster.<br>
+<br>
+<center><img src="images/insert_table_window.gif"></center>
+<br>
+<strong>Omschrijving van de velden:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Kolommen</strong></td>
+    <td>Het gewenste aantal kolommen in de tabel.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Rijen</strong></td>
+    <td>Het gewenste aantal rijen in de tabel.</td>
+  </tr>
+  <tr>
+    <td><strong>Celvulling</strong></td>
+    <td>De 'Celvulling' (Cellpadding)<br>
+		De opvulmarge rondom binnen elke cel in de tabel in pixels.</td>
+  </tr>
+  <tr>
+    <td><strong>Celafstand</strong></td>
+    <td>De 'Celafstand' (Cellspacing)<br>
+		De ruimte tussen de cellen onderling binnen de tabel in pixels.</td>
+  </tr>
+  <tr>
+    <td><strong>Positionering</strong></td>
+    <td>De positionering van de tabel in de paragraaf.</td>
+  </tr>
+  <tr>
+    <td><strong>Omranding</strong></td>
+    <td>De dikte in pixels van de omranding van de tabel.</td>
+  </tr>
+  <tr>
+    <td><strong>Breedte</strong></td>
+    <td>De breedte van de tabel (in pixels of percentuele notatie).</td>
+  </tr>
+  <tr>
+    <td><strong>Hoogte</strong></td>
+    <td>De breedte van de tabel (in pixels of percentuele notatie).</td>
+  </tr>
+  <tr>
+    <td><strong>CSS-Stijl</strong></td>
+    <td>Optionele stijlkeuze uit de voor de website aangemaakte <i>Cascading Style Sheet</i> (CSS).</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr>
+    <td>Ga naar: <a href="index.htm">Inhoudsopgave</a></td>
+    <td align="right"><a href="#">Naar boven</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/nl/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+/* body { background-color: #FFFFFF; } */
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>O TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">O TinyMCE</span></td>
+    <td align="right"><a href="index.htm">Spis tre¶ci</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE jest ma³ym edytorem WYSWIWYG dla przegl±darek internetowych takich jak MSIE
+lub Mozilla, pozwalaj±cym na edytowanie zawarto¶ci strony HTML w sposób przyjazny dla
+u¿ytkownika. Posiada szeref funkcji znanych z popularnych edytorów tekstu, wiêc powinien
+byæ ³atwy w u¿yciu.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Spis tre¶ci</a></td>
+    <td align="right"><a href="#">Do góry</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,165 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>Wa¿niejsze przyciski</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Wa¿niejsze przyciski</span></td>
+    <td align="right"><a href="index.htm">Spis tre¶ci</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Poni¿ej znajduje siê krótki opis ka¿dego przycisku<img src="../../images/spacer.gif" width="1" height="1">
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Pogrubienie tekstu.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Pochylenie tekstu.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Podkre¶lenie tekstu.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Przekre¶lenie tekstu.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Wyrównanie do lewej</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Wy¶rodkowanie.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Wyrównanie do prawej.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Wyjustowanie.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Lista nieuporz±dkowana/lista punktów.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Lista uporz±dkowana/lista ponumerowana</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Wysuniêcie/zmniejsz wciêcie.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Wciêcie/zwiêksz wciêcie.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Cofniêcie ostatnio wykonanej czynno¶ci</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Ponowienie ostatnio wykonanej czynno¶ci</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Wstawienie nowego ³±cza, przeczytaj wiêcej o tej funkcji sekcji <a href="insert_link_button.htm">Wstaw
+      ³±cze</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Usuniêcie ³±cz z zaznaczonej czê¶ci/usuniêcie wszystkich zaznaczonych ³±cz.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/anchor.gif" width="20" height="20"></td>
+    <td>Wstawienie nowego zakotwiczenia, przeczytaj wiêcej o tej funkcji w sekcji <a href="insert_anchor_button.htm">Wstaw zakotwiczenie.</a></td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Wstawienie nowego zdjêcia, przeczytaj wiêcej o tej funkcji w sekcji <a href="insert_image_button.htm">Wstaw
+      zdjêcie</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Oczyszczenie kodu/usuniêcie niechcianeg formatowania. Ta funkcja jest pomocna kiedy
+      kopiujesz zawarto¶æ np. z worda.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Pokazanie tego okna pomocy.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/code.gif" width="20" height="20"></td>
+    <td>Otwarcie edytora kodu HTML.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table.gif" width="20" height="20"></td>
+    <td>Wstawienie nowej tabeli 2x2 w bie¿±cej pozycji.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_before.gif" width="20" height="20"></td>
+    <td>Wstawienie wiersza ponad aktualnie zaznaczonym.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_after.gif" width="20" height="20"></td>
+    <td>Wstawienie wiersz poni¿ej aktualnie zaznaczonego.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_row.gif" width="20" height="20"></td>
+    <td>Usuniêcie wiersza.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_before.gif" width="20" height="20"></td>
+    <td>Wstawienie kolumny przed aktualnie zaznaczon±.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_after.gif" width="20" height="20"></td>
+    <td>Wstawienie kolumny za aktualnie zaznaczon±.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_col.gif" width="20" height="20"></td>
+    <td>Usuniêcie kolumny.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/hr.gif" width="20" height="20"></td>
+    <td>Wstawienie poziomej linii.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/removeformat.gif" width="20" height="20"></td>
+    <td>Usuniêcie formatowania z zaznaczonej czê¶ci.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sub.gif" width="20" height="20"></td>
+    <td>Przekszta³cenie w indeks dolny. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sup.gif" width="20" height="20"></td>
+    <td>Przekszta³cenie w indeks górny. </td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Id¼ do: <a href="index.htm">Spis tre¶ci</a></td>
+    <td align="right"><a href="#">Góra</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_anchor_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_anchor_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_table_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/images/insert_table_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>Spis pomocy</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Spis tre¶ci</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Aby zobaczyæ poszczególne sekcje pomocy kliknij jeden z poni¿szych linków
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">O TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Lista wa¿niejszych przycisków</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Przycisk "Wstaw zdjêcie"</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Przycisk "Wstaw ³±cze"</a></li>
+  <li class="toc_li"><a href="insert_anchor_button.htm">Przycisk "Wstaw zakotwiczenie"</a></li>
+  <li class="toc_li"><a href="insert_table_button.htm">Przycisk "Wstaw tabelê"</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_anchor_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_anchor_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_anchor_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>Przycisk "Wstaw zakotwiczenie"</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Przycisk "Wstaw zakotwiczenie"</span></td>
+    <td align="right"><a href="index.htm">Spis tre¶ci</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Ten przycisk otwiera nowe okno z funkcj± wstawienia/edycja zakotwiczenia.<br>
+<br>
+<img src="images/insert_anchor_window.gif" width="330" height="139"><br>
+<br>
+Jest tylko jedno pole w tym oknie, nale¿y tam wpisaæ nazwê punktu zakotwiczenia. Nale¿y pamiêtaæ, ¿e nazwa musi byæ
+unikatowa, nie powtarzaj±ca siê.
+<br><br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Id¼ do: <a href="index.htm">Spis tre¶ci</a></td>
+    <td align="right"><a href="#">Do góry</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,66 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>Przycisk "Wstaw zdjêcie"</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Przycisk "Wstaw ³±cze"</span></td>
+    <td align="right"><a href="index.htm">Spis tre¶ci</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Przycisk "Wstaw zdjêcie" otwiera okno pokazane poni¿ej.<br>
+<br>
+<img src="images/insert_image_window.gif"><br>
+<br>
+Nale¿y podaæ adres URL lub scie¿kê dostêpu do zdjêcia które ma byæ wstawione i podaæ krótki opis
+zdjêcia, jest on wy¶wietlany jako alternatyny tekstowy opis zdjêcia umieszczonego na stronie.
+<br><br>
+<strong>Opis pól:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Adres URL lub ¶cie¿ka dostêpu do zdjêcia</strong></td>
+    <td>URL/scie¿ka dostêpu do zdjêcia.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Opis zdjêcia</strong></td>
+    <td>Tekst opisuj±cy zdjêcia.</td>
+  </tr>
+  <tr>
+    <td><strong>Wymiary</strong></td>
+    <td>D³ugo¶æ/szeroko¶æ zdjêcia . </td>
+  </tr>
+  <tr>
+    <td><strong>Wyrównanie</strong></td>
+    <td>Wyrównanie zdjêcia, u¿yteczne przy zawijaniu tekstu wokó³ zdjêcia.</td>
+  </tr>
+  <tr>
+    <td><strong>Krawêdzie</strong></td>
+    <td>Grubo¶æ krawêdzi.</td>
+  </tr>
+  <tr>
+    <td><strong>Odstêp poziomy</strong></td>
+    <td>Odstêp poziomy, pomocne przy zawijaniu tesktu wokó³ zdjêcia.</td>
+  </tr>
+  <tr>
+    <td><strong>Odstêp pionowy</strong></td>
+    <td>Odstêp pionowy, pomocne przy zawijaniu tesktu wokó³ zdjêcia.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Id¼ do: <a href="index.htm">Spis tre¶ci</a></td>
+    <td align="right"><a href="#">Do góry</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>Przycisk "Wstaw ³±cze"</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Przycisk "Wstaw ³±cze"</span></td>
+    <td align="right"><a href="index.htm">Spis tre¶ci</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Ten przycisk otwiera nowe okno, pozwalaj±ce na wstawienie lub edytowanie ³±cza.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="159"><br>
+<br>
+S± dwa pola w tym oknie, pierwsze &quot;Adres URL&quot; jest adresem URL ³±cza
+. "Cel" umo¿liwia ustalenie jak ³±cze ma byæ otwarte.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Id¼ do: <a href="index.htm">Spis tre¶ci</a></td>
+    <td align="right"><a href="#">Do góry</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_table_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_table_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/insert_table_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,74 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>Przycisk "Wstaw tabelê"</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Przycisk "Wstaw tabelê"</span></td>
+    <td align="right"><a href="index.htm">Spis tre¶ci</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Przycisk "Wstaw tabelê" otwiera okno pokazane poni¿ej. Mo¿na w ten sposób stworzyæ now± tabelê. <br>
+<br>
+<img src="images/insert_table_window.gif" width="340" height="229"><br>
+<br>
+<strong>Opis pól:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Kolumny</strong></td>
+    <td>Liczba kolumn w tabeli. </td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Wiersze</strong></td>
+    <td>Liczba wierszy w tabeli.</td>
+  </tr>
+  <tr>
+    <td><strong>Cellpadding</strong></td>
+    <td>Odleg³o¶æ akapitu od krawêdzi komórki tabeli.</td>
+  </tr>
+  <tr>
+    <td><strong>Cellspacing</strong></td>
+    <td>Szeroko¶æ krawêdzi komórek tabeli.</td>
+  </tr>
+  <tr>
+    <td><strong>Wyrównanie</strong></td>
+    <td>Wyrównanie tabeli.</td>
+  </tr>
+  <tr>
+    <td><strong>Krawêdzie</strong></td>
+    <td>Grubo¶æ krawêdzi tabeli.</td>
+  </tr>
+  <tr>
+    <td><strong>Szeroko¶æ</strong></td>
+    <td>Szeroko¶æ tabeli w pikselach.</td>
+  </tr>
+  <tr>
+    <td><strong>Wysoko¶æ</strong></td>
+    <td>Wysoko¶æ tabeli w pikselach.</td>
+  </tr>
+  <tr>
+    <td><strong>Klasa</strong></td>
+    <td>Styl lub klasa CSS tabeli.</td>
+  </tr>
+</table>
+<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Id¼ do: <a href="index.htm">Spis tre¶ci</a></td>
+    <td align="right"><a href="#">Do góry</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/pl/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>About TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Om TinyMCE</span></td>
+    <td align="right"><a href="index.htm">IF</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE &auml;r en liten WYSIWYG editor kontroll f&ouml;r webl&auml;sare som t.ex 
+MSIE och Mozilla som m&ouml;jligg&ouml;r f&ouml;r anv&auml;ndare att redigera 
+HTML inneh&aring;ll i p&aring; mer anv&auml;ndarv&auml;nligt s&auml;tt. Applikationen 
+har funktioner som liknar dem man finner i vanliga ordbehandlare och borde inte 
+vara speciellt sv&aring;rt att anv&auml;nda om man har datorvana.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>G&aring; till: <a href="index.htm">Inneh&aring;llsf&ouml;rtecking</a></td>
+    <td align="right"><a href="#">Toppen</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,163 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Common buttons</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Grundl&auml;ggande knappar</span></td>
+    <td align="right"><a href="index.htm">IF</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Nedan finner du en kort beskrivning om varje knapp/funktion.<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold_de_se.gif" width="20" height="20"></td>
+    <td>Fet text stil.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic_de_se.gif" width="20" height="20"></td>
+    <td>Kursiv text stil.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Understruken text stil.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Genomstruken text stil.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>V&auml;nster justera.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Centrera.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>H&ouml;ger justera.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Full justera.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Osorterad lista/Punktlista.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Sorterad lista/numrerad lista</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Minska indrag.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>&Ouml;ka utdrag.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>&Aring;ngra senaste operationen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>G&ouml;r om senaste operationen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Skapa/Redigera l&auml;nk, l&auml;s mer om denna funktion i <a href="insert_link_button.htm">Skapa/Redigera 
+      l&auml;nk sektionen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Ta bort l&auml;nkar fr&aring;n den nuvarande markeringen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/anchor.gif" width="20" height="20"></td>
+    <td>Skapa/Redigera ankare, l&auml;r mer om denna funktion i <a href="insert_anchor_button.htm">Skapa/Redigera ankare sektionen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Skapa/Redigera bild, l&auml;r mer om denna funktion i <a href="insert_image_button.htm">Skapa/Redigera 
+      bild sektionen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Rensa/St&auml;da k&aring;den. Denna funktion tar bort on&ouml;dig formatering. 
+      B&ouml;r anv&auml;ndas n&auml;r man t.ex klipper text fr&aring;n Office 
+      produkter. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Visad denna hj&auml;lp funktion</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/code.gif" width="20" height="20"></td>
+    <td>&Ouml;ppnar en HTML k&auml;llk&aring;ds editor . </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table.gif" width="20" height="20"></td>
+    <td>Skapar en ny table (2x2) . </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_before.gif" width="20" height="20"></td>
+    <td>Skapar en rad ovanf&ouml;r den nuvarande raden . </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_after.gif" width="20" height="20"></td>
+    <td>Skapar en rad under den nuvarande raden . </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_row.gif" width="20" height="20"></td>
+    <td>Tarbort en rad. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_before.gif" width="20" height="20"></td>
+    <td>Skapar en kolumn f&ouml;re den nuvarande kolumnen. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_after.gif" width="20" height="20"></td>
+    <td>Skapar en kolumn efter den nuvarande kolumnen. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_col.gif" width="20" height="20"></td>
+    <td>Tar bort en kolumn. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/hr.gif" width="20" height="20"></td>
+    <td>Skapar en horizontell linie. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/removeformat.gif" width="20" height="20"></td>
+    <td>Tarbort formattering fr&aring;n markeringen. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sub.gif" width="20" height="20"></td>
+    <td>Skapar neds&auml;nkt text. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sup.gif" width="20" height="20"></td>
+    <td>Skapar upph&ouml;jd text. </td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>G&aring; till: <a href="index.htm">Inneh&aring;llsf&ouml;rtecking</a></td>
+    <td align="right"><a href="#">Toppen</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_anchor_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_anchor_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_table_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/images/insert_table_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Help Index</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Inneh&aring;llsf&ouml;rtecking</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Klicka p&aring; l&auml;nkarna nedan f&ouml;r att g&aring; till olika hj&auml;lp 
+sektioner. 
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">Om TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Grundl&auml;ggande funktioner</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Skapa/Redigera bild</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Skapa/Redigera l&auml;nk</a></li>
+  <li class="toc_li"><a href="insert_anchor_button.htm">Skapa/Redigera ankare </a></li>
+  <li class="toc_li"><a href="insert_table_button.htm">Skapa/Redigera tabell</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_anchor_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_anchor_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_anchor_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Skapa/Redigera l&auml;nk</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Skapa/Redigera ankare </span></td>
+    <td align="right"><a href="index.htm">IF</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Denna funktion &ouml;ppnar ett nytt f&ouml;nster liknande det nedan.<br>
+<br>
+<img src="images/insert_anchor_window.gif" width="330" height="139"><br>
+<br>
+Detta f&ouml;nster har ett f&auml;lt som man skall fylla i med ett unik namn, denna funktion  g&ouml;r det m&ouml;jligt att skapa ankarpunkter/bokm&auml;rken.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>G&aring; till: <a href="index.htm">Inneh&aring;llsf&ouml;rteckning</a></td>
+    <td align="right"><a href="#">Toppen</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,69 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Skapa/Redigera bild</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Skapa/Redigera bild</span></td>
+    <td align="right"><a href="index.htm">IF</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Skapa/Redigera bild funktionen &ouml;ppnar ett nytt f&ouml;nster som ser ut som 
+bilden nedan.<br>
+<br>
+<img src="images/insert_image_window.gif"><br>
+<br>
+I detta f&ouml;nster skriver du in URL:en till bilden du vill l&auml;nka till 
+samt en bild beskrivning, denna beskrivning kommer att visas som en alternativ 
+text till bilden f&ouml;r t.ex handikappade.<br>
+<br>
+<strong>Field descriptions:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Bilderns URL </strong></td>
+    <td>URL/s&ouml;kv&auml;g till bilden.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Bildens beskrivning</strong></td>
+    <td>Bildens beskrivning, denna beskrivning kommer att visas som en alternativ 
+text till bilden f&ouml;r t.ex handikappade.</td>
+  </tr>
+  <tr>
+    <td><strong>Dimentioner</strong></td>
+    <td>Bildens br&auml;dd och h&ouml;jd. </td>
+  </tr>
+  <tr>
+    <td><strong>Justering</strong></td>
+    <td>Bildens justering, kan vara anv&auml;ndbart n&auml;r man vill att text skall flyta runt bilden. </td>
+  </tr>
+  <tr>
+    <td><strong>Ram</strong></td>
+    <td>Bildramens bredd. </td>
+  </tr>
+  <tr>
+    <td><strong>Vertikalt tomrum </strong></td>
+    <td>Vertikalt tomrum , kan vara anv&auml;ndbart n&auml;r man vill att text skall flyta runt bilden. </td>
+  </tr>
+  <tr>
+    <td><strong>Horizontellt tomrom</strong></td>
+    <td>Horizontellt tomrom, kan vara anv&auml;ndbart n&auml;r man vill att text skall flyta runt bilden. </td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>G&aring; till: <a href="index.htm">Inneh&aring;llsf&ouml;rteckning</a></td>
+    <td align="right"><a href="#">Toppen</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Skapa/Redigera l&auml;nk</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Skapa/Redigera l&auml;nk</span></td>
+    <td align="right"><a href="index.htm">IF</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Denna funktion &ouml;ppnar ett nytt f&ouml;nster liknande det nedan.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="159"><br>
+<br>
+Detta f&ouml;nster har tv&aring; f&auml;lt l&auml;nkens URL/adress samt hur l&auml;nken 
+skall &ouml;ppnas.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>G&aring; till: <a href="index.htm">Inneh&aring;llsf&ouml;rteckning</a></td>
+    <td align="right"><a href="#">Toppen</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_table_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_table_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/insert_table_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Skapa/Redigera tabell</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Skapa/Redigera tabell </span></td>
+    <td align="right"><a href="index.htm">IF</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Skapa tabell knappen &ouml;ppnar ett nytt f&ouml;nster, med hj&auml;lp av detta f&ouml;nster kan du skapa tabeller. <br>
+<br>
+<img src="images/insert_table_window.gif" width="340" height="229"><br>
+<br>
+<strong>Field descriptions:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Kolumner</strong></td>
+    <td>Antal kolumner i tabellen. </td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Rader</strong></td>
+    <td>Antal rader i tabellen .</td>
+  </tr>
+  <tr>
+    <td><strong>Cellpadding</strong></td>
+    <td>Cellpadding of the table . </td>
+  </tr>
+  <tr>
+    <td><strong>Cellspacing</strong></td>
+    <td>Cellspacing of the table .</td>
+  </tr>
+  <tr>
+    <td><strong>Justering</strong></td>
+    <td>Tabellens justering. </td>
+  </tr>
+  <tr>
+    <td><strong>Rambredd</strong></td>
+    <td>Ramens bredd .</td>
+  </tr>
+  <tr>
+    <td><strong>Bredd</strong></td>
+    <td>Bredd i pixlar.</td>
+  </tr>
+  <tr>
+    <td><strong>H&ouml;jd</strong></td>
+    <td>H&ouml;jd i pixlar. </td>
+  </tr>
+  <tr>
+    <td><strong>Stil</strong></td>
+    <td>Stilmall p&aring; tabellen. </td>
+  </tr>
+</table>
+<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Gå till: <a href="index.htm">Innehållsförtecking</a></td>
+    <td align="right"><a href="#">Toppen</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/se/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>About TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">About TinyMCE</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE is a small WYSIWYG editor control for web browsers such as MSIE or Mozilla 
+that enables you to edit HTML contents in a more user friendly way. It has common 
+features that are found in most word processors and should not be difficult to 
+use.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,163 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Common buttons</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Common buttons</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Below is a short description about each button.<img src="../../images/spacer.gif" width="1" height="1"> 
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Bold text style.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Italic text style.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Underline text style.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Strikethrough text style.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Align left.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Align center.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Align right.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Align full.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Unordered list/bullet list.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Ordered list/numbered list</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Outdent/decrease indentation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Indent/incread indentation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Undo the last operation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Redo the last operation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Insert a new link, read more about this function in the <a href="insert_link_button.htm">Insert 
+      link section</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Unlinks the current selection/removes all selected links.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/anchor.gif" width="20" height="20"></td>
+    <td>Insert a new anchor, read more about this function in the <a href="insert_anchor_button.htm">Insert anchor section.</a></td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Insert a new image, read more about this function in the <a href="insert_image_button.htm">Insert 
+      image section</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Cleanup code/Removes unwanted formating. This function is useful when 
+      you copy contents from for example a office product.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Shows this help window.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/code.gif" width="20" height="20"></td>
+    <td>Opens HTML source code editor. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table.gif" width="20" height="20"></td>
+    <td>Inserts a new 2x2 table at the current location. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_before.gif" width="20" height="20"></td>
+    <td>Adds a row above the current one. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_row_after.gif" width="20" height="20"></td>
+    <td>Adds a row under the current one. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_row.gif" width="20" height="20"></td>
+    <td>Removes the row. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_before.gif" width="20" height="20"></td>
+    <td>Adds a column before the current one.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_insert_col_after.gif" width="20" height="20"></td>
+    <td>Adds a column after the current one.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/table_delete_col.gif" width="20" height="20"></td>
+    <td>Removes the current  column.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/hr.gif" width="20" height="20"></td>
+    <td>Inserts a new horizontal ruler </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/removeformat.gif" width="20" height="20"></td>
+    <td>Removes formatting from the selection. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sub.gif" width="20" height="20"></td>
+    <td>Makes the selection to be subscript. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/sup.gif" width="20" height="20"></td>
+    <td>Makes the selection to be superscripted. </td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_anchor_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_anchor_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_table_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/images/insert_table_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Help Index</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Table of contents</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Click the links below to go to the different help sections. 
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">About TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Common buttons</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Insert image button</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Insert link button</a></li>
+  <li class="toc_li"><a href="insert_anchor_button.htm">Insert anchor button</a></li>
+  <li class="toc_li"><a href="insert_table_button.htm">Insert table button</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_anchor_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_anchor_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_anchor_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insert anchor button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insert anchor button</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+This button opens a new window with the insert/edit anchor function.<br>
+<br>
+<img src="images/insert_anchor_window.gif" width="330" height="139"><br>
+<br>
+There are one field in this window, this is where you enter the name of you anchor point. Remember the anchor name needs to be unique. <br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,66 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insert image button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insert image button</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+The insert image button opens the window shown below.<br>
+<br>
+<img src="images/insert_image_window.gif"><br>
+<br>
+You simply enter a URL to the image you want to link to and enter a image description, 
+this is then displayed as an alternative text descripton of the image on the page.<br>
+<br>
+<strong>Field descriptions:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Image URL </strong></td>
+    <td>URL/path to the image.</td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Image description </strong></td>
+    <td>Alternative description of image contents.</td>
+  </tr>
+  <tr>
+    <td><strong>Dimentions</strong></td>
+    <td>Image width/height. </td>
+  </tr>
+  <tr>
+    <td><strong>Alignment</strong></td>
+    <td>Image alignment, useful when wrapping text around images.</td>
+  </tr>
+  <tr>
+    <td><strong>Border</strong></td>
+    <td>Border thickness. </td>
+  </tr>
+  <tr>
+    <td><strong>VSpace</strong></td>
+    <td>Vertical space, useful when wrapping text around images.</td>
+  </tr>
+  <tr>
+    <td><strong>HSpace</strong></td>
+    <td>Horizontal space, useful when wrapping text around images.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insert link button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insert link button</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+This button opens a new window with the insert/edit link function.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="159"><br>
+<br>
+There are two fields in this window the first one &quot;Link URL&quot; is the 
+URL of the link. The target enables you to select how the link is to be opened.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_table_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_table_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/insert_table_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insert table button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insert table button</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+The insert table button opens the window shown below. This action enables you to create tables. <br>
+<br>
+<img src="images/insert_table_window.gif" width="340" height="229"><br>
+<br>
+<strong>Field descriptions:</strong><br>
+<table border="1" cellspacing="0">
+  <tr>
+    <td width="150"><strong>Columns</strong></td>
+    <td>Number of columns in the  table. </td>
+  </tr>
+  <tr>
+    <td width="150"><strong>Rows</strong></td>
+    <td>Number of rows in the new table.</td>
+  </tr>
+  <tr>
+    <td><strong>Cellpadding</strong></td>
+    <td>Cellpadding of the table . </td>
+  </tr>
+  <tr>
+    <td><strong>Cellspacing</strong></td>
+    <td>Cellspacing of the table .</td>
+  </tr>
+  <tr>
+    <td><strong>Alignment</strong></td>
+    <td>Table alignment . </td>
+  </tr>
+  <tr>
+    <td><strong>Border</strong></td>
+    <td>Border thinkness of table.</td>
+  </tr>
+  <tr>
+    <td><strong>Width</strong></td>
+    <td>Width in pixels of table .</td>
+  </tr>
+  <tr>
+    <td><strong>Height</strong></td>
+    <td>Height in pixels of table.</td>
+  </tr>
+  <tr>
+    <td><strong>Class</strong></td>
+    <td>Style or CSS class of table.</td>
+  </tr>
+</table>
+<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/docs/uk/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_content.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_content.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_content.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,23 @@
+body {
+	background-color: #FFFFFF;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+	scrollbar-3dlight-color: #F0F0EE;
+	scrollbar-arrow-color: #676662;
+	scrollbar-base-color: #F0F0EE;
+	scrollbar-darkshadow-color: #DDDDDD;
+	scrollbar-face-color: #E0E0DD;
+	scrollbar-highlight-color: #F0F0EE;
+	scrollbar-shadow-color: #F0F0EE;
+	scrollbar-track-color: #F5F5F5;
+}
+
+td {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+
+pre {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_popup.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_popup.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_popup.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,80 @@
+body {
+	background-color: #F0F0EE;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+	scrollbar-3dlight-color: #F0F0EE;
+	scrollbar-arrow-color: #676662;
+	scrollbar-base-color: #F0F0EE;
+	scrollbar-darkshadow-color: #DDDDDD;
+	scrollbar-face-color: #E0E0DD;
+	scrollbar-highlight-color: #F0F0EE;
+	scrollbar-shadow-color: #F0F0EE;
+	scrollbar-track-color: #F5F5F5;
+}
+
+td {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+}
+
+input {
+	background: #FFFFFF;
+	border: 1px solid #cccccc;
+}
+
+td, input, select, textarea {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+
+input, select, textarea {
+	border: 1px solid #808080;
+}
+
+.input_noborder {
+	border: 0px solid #808080;
+}
+
+#insert {
+   font-weight: bold;
+}
+
+#cancel {
+   font-weight: bold;
+}
+
+.title {
+	font-size: 12px;
+	font-weight: bold;
+}
+
+table.charmap {
+	border-style: solid;
+	border-width: 1px;
+	border-color: #AAAAAA;
+}
+
+td.charmap, td.charmapOver {
+	color: #000000;
+	border-color: #AAAAAA;
+	border-style: solid;
+	border-width: 1px;
+	text-align: center;
+	font-size: 12px;
+}
+
+td.charmapOver {
+	background-color: #CCCCCC;
+	cursor: hand;
+}
+
+a.charmap {
+	color: #000000;
+	text-decoration: none
+}
+
+.wordWrapCode {
+	vertical-align: middle;
+	border: 1px none #000000;
+	background-color: transparent;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_template.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_template.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_template.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+tinyMCE.importThemeLanguagePack('advanced');var TinyMCE_AdvancedTheme={_defColors:"000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF",_autoImportCSSClasses:true,_resizer:{},_buttons:[['bold','{$lang_bold_img}','lang_bold_desc','Bold'],['italic','{$lang_italic_img}','lang_italic_desc','Italic'],['underline','{$lang_underline_img}','lang_underline_desc','Underline'],['strikethrough','strikethrough.gif','lang_striketrough_desc','Strikethrough'],['justifyleft','justifyleft.gif','lang_justifyleft_desc','JustifyLeft'],['justifycenter','justifycenter.gif','lang_justifycenter_desc','JustifyCenter'],['justifyright','justifyright.gif','lang_justifyright_desc','JustifyRight'],['justifyfull','justifyfull.gif','lang_justifyfull_desc','JustifyFull'],['bullist','!
 bullist.gif','lang_bullist_desc','InsertUnorderedList'],['numlist','numlist.gif','lang_numlist_desc','InsertOrderedList'],['outdent','outdent.gif','lang_outdent_desc','Outdent'],['indent','indent.gif','lang_indent_desc','Indent'],['cut','cut.gif','lang_cut_desc','Cut'],['copy','copy.gif','lang_copy_desc','Copy'],['paste','paste.gif','lang_paste_desc','Paste'],['undo','undo.gif','lang_undo_desc','Undo'],['redo','redo.gif','lang_redo_desc','Redo'],['link','link.gif','lang_link_desc','mceLink',true],['unlink','unlink.gif','lang_unlink_desc','unlink'],['image','image.gif','lang_image_desc','mceImage',true],['cleanup','cleanup.gif','lang_cleanup_desc','mceCleanup'],['help','help.gif','lang_help_desc','mceHelp'],['code','code.gif','lang_theme_code_desc','mceCodeEditor'],['hr','hr.gif','lang_theme_hr_desc','inserthorizontalrule'],['removeformat','removeformat.gif','lang_theme_removeformat_desc','removeformat'],['sub','sub.gif','lang_theme_sub_desc','subscript'],['sup','sup.gif','l!
 ang_theme_sup_desc','superscript'],['forecolor','forecolor.gif','lang_
theme_forecolor_desc','forecolor',true],['backcolor','backcolor.gif','lang_theme_backcolor_desc','HiliteColor',true],['charmap','charmap.gif','lang_theme_charmap_desc','mceCharMap'],['visualaid','visualaid.gif','lang_theme_visualaid_desc','mceToggleVisualAid'],['anchor','anchor.gif','lang_theme_anchor_desc','mceInsertAnchor'],['newdocument','newdocument.gif','lang_newdocument_desc','mceNewDocument']],_buttonMap:'anchor,backcolor,bold,bullist,charmap,cleanup,code,copy,cut,forecolor,help,hr,image,indent,italic,justifycenter,justifyfull,justifyleft,justifyright,link,newdocument,numlist,outdent,paste,redo,removeformat,strikethrough,sub,sup,underline,undo,unlink,visualaid,advhr,ltr,rtl,emotions,flash,fullpage,fullscreen,iespell,insertdate,inserttime,pastetext,pasteword,selectall,preview,print,save,replace,search,table,cell_props,delete_col,delete_row,col_after,col_before,row_after,row_before,merge_cells,row_props,split_cells,delete_table',getControlHTML:function(button_name){var !
 i,x,but;for(i=0;i<TinyMCE_AdvancedTheme._buttons.length;i++){but=TinyMCE_AdvancedTheme._buttons[i];if(but[0]==button_name&&(button_name=="forecolor"||button_name=="backcolor"))return tinyMCE.getMenuButtonHTML(but[0],but[2],'{$themeurl}/images/'+but[1],but[3]+"Menu",but[3],(but.length>4?but[4]:false),(but.length>5?but[5]:null));if(but[0]==button_name)return tinyMCE.getButtonHTML(but[0],but[2],'{$themeurl}/images/'+but[1],but[3],(but.length>4?but[4]:false),(but.length>5?but[5]:null))}switch(button_name){case"formatselect":var html='<select id="{$editor_id}_formatSelect" name="{$editor_id}_formatSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FormatBlock\',false,this.options[this.selectedIndex].value);" class="mceSelectList">';var formats=tinyMCE.getParam("theme_advanced_blockformats","p,address,pre,h1,h2,h3,h4,h5,h6",true).split(',');var lookup=[['p','{$lang_theme_paragraph}'],['address','{$lang_t!
 heme_address}'],['pre','{$lang_theme_pre}'],['h1','{$lang_theme_h1}'],
['h2','{$lang_theme_h2}'],['h3','{$lang_theme_h3}'],['h4','{$lang_theme_h4}'],['h5','{$lang_theme_h5}'],['h6','{$lang_theme_h6}'],['div','{$lang_theme_div}'],['blockquote','{$lang_theme_blockquote}'],['code','{$lang_theme_code}'],['dt','{$lang_theme_dt}'],['dd','{$lang_theme_dd}'],['samp','{$lang_theme_samp}']];html+='<option value="">{$lang_theme_block}</option>';for(var i=0;i<formats.length;i++){for(var x=0;x<lookup.length;x++){if(formats[i]==lookup[x][0])html+='<option value="&lt;'+lookup[x][0]+'&gt;">'+lookup[x][1]+'</option>'}}html+='</select>';return html;case"styleselect":return'<select id="{$editor_id}_styleSelect" onmousedown="tinyMCE.themes.advanced._setupCSSClasses(\'{$editor_id}\');" name="{$editor_id}_styleSelect" onfocus="tinyMCE.addSelectAccessibility(event,this,window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceSetCSSClass\',false,this.options[this.selectedIndex].value);" class="mceSelectList">{$style_select_options}</select>';case"fontsele!
 ct":var fontHTML='<select id="{$editor_id}_fontNameSelect" name="{$editor_id}_fontNameSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontName\',false,this.options[this.selectedIndex].value);" class="mceSelectList"><option value="">{$lang_theme_fontdefault}</option>';var iFonts='Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings';var nFonts='Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sand;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=term!
 inal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuch
et ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats';var fonts=tinyMCE.getParam("theme_advanced_fonts",nFonts).split(';');for(i=0;i<fonts.length;i++){if(fonts[i]!=''){var parts=fonts[i].split('=');fontHTML+='<option value="'+parts[1]+'">'+parts[0]+'</option>'}}fontHTML+='</select>';return fontHTML;case"fontsizeselect":return'<select id="{$editor_id}_fontSizeSelect" name="{$editor_id}_fontSizeSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontSize\',false,this.options[this.selectedIndex].value);" class="mceSelectList">'+'<option value="0">{$lang_theme_font_size}</option>'+'<option value="1">1 (8 pt)</option>'+'<option value="2">2 (10 pt)</option>'+'<option value="3">3 (12 pt)</option>'+'<option value="4">4 (14 pt)</option>'+'<option value="5">5 (18 pt)</option>'+'<option value="6">6 (24 pt)</option>'+'<option value="7">7 (36 pt)</option>'+'</select>';case"|":ca!
 se"separator":return'<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';case"spacer":return'<img src="{$themeurl}/images/separator.gif" width="2" height="15" border="0" class="mceSeparatorLine" style="vertical-align: middle" />';case"rowseparator":return'<br />'}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case'mceHelp':tinyMCE.openWindow({file:'about.htm',width:480,height:380},{tinymce_version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion,tinymce_releasedate:tinyMCE.releaseDate,inline:"yes"});return true;case"mceLink":var inst=tinyMCE.getInstanceById(editor_id);var doc=inst.getDoc();var selectedText="";if(tinyMCE.isMSIE){var rng=doc.selection.createRange();selectedText=rng.text}else selectedText=inst.getSel().toString();if(!tinyMCE.linkElement){if((tinyMCE.selectedElement.nodeName.toLowerCase()!="img")&&(selectedText.length<=0))return true}var href="",target="",title="",onclick=""!
 ,action="insert",style_class="";if(tinyMCE.selectedElement.nodeName.to
LowerCase()=="a")tinyMCE.linkElement=tinyMCE.selectedElement;if(tinyMCE.linkElement!=null&&tinyMCE.getAttrib(tinyMCE.linkElement,'href')=="")tinyMCE.linkElement=null;if(tinyMCE.linkElement){href=tinyMCE.getAttrib(tinyMCE.linkElement,'href');target=tinyMCE.getAttrib(tinyMCE.linkElement,'target');title=tinyMCE.getAttrib(tinyMCE.linkElement,'title');onclick=tinyMCE.getAttrib(tinyMCE.linkElement,'onclick');style_class=tinyMCE.getAttrib(tinyMCE.linkElement,'class');if(onclick=="")onclick=tinyMCE.getAttrib(tinyMCE.linkElement,'onclick');onclick=tinyMCE.cleanupEventStr(onclick);href=eval(tinyMCE.settings['urlconverter_callback']+"(href, tinyMCE.linkElement, true);");mceRealHref=tinyMCE.getAttrib(tinyMCE.linkElement,'mce_href');if(mceRealHref!=""){href=mceRealHref;if(tinyMCE.getParam('convert_urls'))href=eval(tinyMCE.settings['urlconverter_callback']+"(href, tinyMCE.linkElement, true);")}action="update"}var template=new Array();template['file']='link.htm';template['width']=310;templ!
 ate['height']=200;template['width']+=tinyMCE.getLang('lang_insert_link_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_link_delta_height',0);if(inst.settings['insertlink_callback']){var returnVal=eval(inst.settings['insertlink_callback']+"(href, target, title, onclick, action, style_class);");if(returnVal&&returnVal['href'])TinyMCE_AdvancedTheme._insertLink(returnVal['href'],returnVal['target'],returnVal['title'],returnVal['onclick'],returnVal['style_class'])}else{tinyMCE.openWindow(template,{href:href,target:target,title:title,onclick:onclick,action:action,className:style_class,inline:"yes"})}return true;case"mceImage":var src="",alt="",border="",hspace="",vspace="",width="",height="",align="";var title="",onmouseover="",onmouseout="",action="insert";var img=tinyMCE.imgElement;var inst=tinyMCE.getInstanceById(editor_id);if(tinyMCE.selectedElement!=null&&tinyMCE.selectedElement.nodeName.toLowerCase()=="img"){img=tinyMCE.selectedElement;tinyMCE.imgElement=im!
 g}if(img){if(tinyMCE.getAttrib(img,'name').indexOf('mce_')==0)return t
rue;src=tinyMCE.getAttrib(img,'src');alt=tinyMCE.getAttrib(img,'alt');if(alt=="")alt=tinyMCE.getAttrib(img,'title');if(tinyMCE.isGecko){var w=img.style.width;if(w!=null&&w!="")img.setAttribute("width",w);var h=img.style.height;if(h!=null&&h!="")img.setAttribute("height",h)}border=tinyMCE.getAttrib(img,'border');hspace=tinyMCE.getAttrib(img,'hspace');vspace=tinyMCE.getAttrib(img,'vspace');width=tinyMCE.getAttrib(img,'width');height=tinyMCE.getAttrib(img,'height');align=tinyMCE.getAttrib(img,'align');onmouseover=tinyMCE.getAttrib(img,'onmouseover');onmouseout=tinyMCE.getAttrib(img,'onmouseout');title=tinyMCE.getAttrib(img,'title');if(tinyMCE.isMSIE){width=img.attributes['width'].specified?width:"";height=img.attributes['height'].specified?height:""}src=eval(tinyMCE.settings['urlconverter_callback']+"(src, img, true);");mceRealSrc=tinyMCE.getAttrib(img,'mce_src');if(mceRealSrc!=""){src=mceRealSrc;if(tinyMCE.getParam('convert_urls'))src=eval(tinyMCE.settings['urlconverter_callba!
 ck']+"(src, img, true);")}action="update"}var template=new Array();template['file']='image.htm?src={$src}';template['width']=355;template['height']=265+(tinyMCE.isMSIE?25:0);template['width']+=tinyMCE.getLang('lang_insert_image_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_image_delta_height',0);if(inst.settings['insertimage_callback']){var returnVal=eval(inst.settings['insertimage_callback']+"(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout, action);");if(returnVal&&returnVal['src'])TinyMCE_AdvancedTheme._insertImage(returnVal['src'],returnVal['alt'],returnVal['border'],returnVal['hspace'],returnVal['vspace'],returnVal['width'],returnVal['height'],returnVal['align'],returnVal['title'],returnVal['onmouseover'],returnVal['onmouseout'])}else tinyMCE.openWindow(template,{src:src,alt:alt,border:border,hspace:hspace,vspace:vspace,width:width,height:height,align:align,title:title,onmouseover:onmouseover,onmouseout:onmouseo!
 ut,action:action,inline:"yes"});return true;case"forecolor":var fcp=ne
w TinyMCE_Layer(editor_id+'_fcPreview',false),p,img,elm;TinyMCE_AdvancedTheme._hideMenus(editor_id);if(!fcp.exists()){fcp.create('div','mceColorPreview',document.getElementById(editor_id+'_toolbar'));elm=fcp.getElement();elm._editor_id=editor_id;elm._command="forecolor";elm._switchId=editor_id+"_forecolor";tinyMCE.addEvent(elm,'click',TinyMCE_AdvancedTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseover',TinyMCE_AdvancedTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseout',TinyMCE_AdvancedTheme._handleMenuEvent)}img=tinyMCE.selectNodes(document.getElementById(editor_id+"_forecolor"),function(n){return n.nodeName=="IMG"})[0];p=tinyMCE.getAbsPosition(img,document.getElementById(editor_id+'_toolbar'));fcp.moveTo(p.absLeft,p.absTop);fcp.getElement().style.backgroundColor=value!=null?value:tinyMCE.getInstanceById(editor_id).foreColor;fcp.show();return false;case"forecolorMenu":TinyMCE_AdvancedTheme._hideMenus(editor_id);var ml=new TinyMCE_Layer(editor_id+'_fcMenu');if(!ml.exi!
 sts())ml.create('div','mceMenu',document.body,TinyMCE_AdvancedTheme._getColorHTML(editor_id,'theme_advanced_text_colors','forecolor'));tinyMCE.switchClass(editor_id+'_forecolor','mceMenuButtonFocus');ml.moveRelativeTo(document.getElementById(editor_id+"_forecolor"),'bl');ml.moveBy(tinyMCE.isMSIE&&!tinyMCE.isOpera?-1:1,-1);if(tinyMCE.isOpera)ml.moveBy(0,-2);ml.show();return true;case"HiliteColor":var bcp=new TinyMCE_Layer(editor_id+'_bcPreview',false),p,img;TinyMCE_AdvancedTheme._hideMenus(editor_id);if(!bcp.exists()){bcp.create('div','mceColorPreview',document.getElementById(editor_id+'_toolbar'));elm=bcp.getElement();elm._editor_id=editor_id;elm._command="HiliteColor";elm._switchId=editor_id+"_backcolor";tinyMCE.addEvent(elm,'click',TinyMCE_AdvancedTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseover',TinyMCE_AdvancedTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseout',TinyMCE_AdvancedTheme._handleMenuEvent)}img=tinyMCE.selectNodes(document.getElementById(editor_id+"!
 _backcolor"),function(n){return n.nodeName=="IMG"})[0];p=tinyMCE.getAb
sPosition(img,document.getElementById(editor_id+'_toolbar'));bcp.moveTo(p.absLeft,p.absTop);bcp.getElement().style.backgroundColor=value!=null?value:tinyMCE.getInstanceById(editor_id).backColor;bcp.show();return false;case"HiliteColorMenu":TinyMCE_AdvancedTheme._hideMenus(editor_id);var ml=new TinyMCE_Layer(editor_id+'_bcMenu');if(!ml.exists())ml.create('div','mceMenu',document.body,TinyMCE_AdvancedTheme._getColorHTML(editor_id,'theme_advanced_background_colors','HiliteColor'));tinyMCE.switchClass(editor_id+'_backcolor','mceMenuButtonFocus');ml.moveRelativeTo(document.getElementById(editor_id+"_backcolor"),'bl');ml.moveBy(tinyMCE.isMSIE&&!tinyMCE.isOpera?-1:1,-1);if(tinyMCE.isOpera)ml.moveBy(0,-2);ml.show();return true;case"mceColorPicker":if(user_interface){var template=new Array();var inputColor=value['document'].getElementById(value['element_id']).value;template['file']='color_picker.htm';template['width']=220;template['height']=190;template['close_previous']="no";templat!
 e['width']+=tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_height',0);if(typeof(value['store_selection'])=="undefined")value['store_selection']=true;tinyMCE.lastColorPickerValue=value;tinyMCE.openWindow(template,{editor_id:editor_id,mce_store_selection:value['store_selection'],inline:"yes",command:"mceColorPicker",input_color:inputColor})}else{var savedVal=tinyMCE.lastColorPickerValue;var elm=savedVal['document'].getElementById(savedVal['element_id']);elm.value=value;if(elm.onchange!=null&&elm.onchange!='')eval('elm.onchange();')}return true;case"mceCodeEditor":var template=new Array();template['file']='source_editor.htm';template['width']=parseInt(tinyMCE.getParam("theme_advanced_source_editor_width",720));template['height']=parseInt(tinyMCE.getParam("theme_advanced_source_editor_height",580));tinyMCE.openWindow(template,{editor_id:editor_id,resizable:"yes",scrollbars:"no",inline:"!
 yes"});return true;case"mceCharMap":var template=new Array();template[
'file']='charmap.htm';template['width']=550+(tinyMCE.isOpera?40:0);template['height']=250;template['width']+=tinyMCE.getLang('lang_theme_advanced_charmap_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_charmap_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case"mceInsertAnchor":var template=new Array();template['file']='anchor.htm';template['width']=320;template['height']=90+(tinyMCE.isNS7?30:0);template['width']+=tinyMCE.getLang('lang_theme_advanced_anchor_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_anchor_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case"mceNewDocument":if(confirm(tinyMCE.getLang('lang_newdocument')))tinyMCE.execInstanceCommand(editor_id,'mceSetContent',false,' ');return true}return false},getEditorTemplate:function(settings,editorId){function removeFromArray(in_array,remove_array){var outArray=new Array(),skip!
 ;for(var i=0;i<in_array.length;i++){skip=false;for(var j=0;j<remove_array.length;j++){if(in_array[i]==remove_array[j]){skip=true}}if(!skip){outArray[outArray.length]=in_array[i]}}return outArray}function addToArray(in_array,add_array){for(var i=0;i<add_array.length;i++){in_array[in_array.length]=add_array[i]}return in_array}var template=new Array();var deltaHeight=0;var resizing=tinyMCE.getParam("theme_advanced_resizing",false);var path=tinyMCE.getParam("theme_advanced_path",true);var statusbarHTML='<div id="{$editor_id}_path" class="mceStatusbarPathText" style="display: '+(path?"block":"none")+'">&#160;</div><div id="{$editor_id}_resize" class="mceStatusbarResize" style="display: '+(resizing?"block":"none")+'" onmousedown="tinyMCE.themes.advanced._setResizing(event,\'{$editor_id}\',true);"></div><br style="clear: both" />';var layoutManager=tinyMCE.getParam("theme_advanced_layout_manager","SimpleLayout");var styleSelectHTML='<option value="">{$lang_theme_style_select}</opt!
 ion>';if(settings['theme_advanced_styles']){var stylesAr=settings['the
me_advanced_styles'].split(';');for(var i=0;i<stylesAr.length;i++){var key,value;key=stylesAr[i].split('=')[0];value=stylesAr[i].split('=')[1];styleSelectHTML+='<option value="'+value+'">'+key+'</option>'}TinyMCE_AdvancedTheme._autoImportCSSClasses=false}switch(layoutManager){case"SimpleLayout":var toolbarHTML="";var toolbarLocation=tinyMCE.getParam("theme_advanced_toolbar_location","bottom");var toolbarAlign=tinyMCE.getParam("theme_advanced_toolbar_align","center");var pathLocation=tinyMCE.getParam("theme_advanced_path_location","none");var statusbarLocation=tinyMCE.getParam("theme_advanced_statusbar_location",pathLocation);var defVals={theme_advanced_buttons1:"bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visu!
 alaid,separator,sub,sup,separator,charmap"};toolbarHTML+='<a href="#" accesskey="q" title="'+tinyMCE.getLang("lang_toolbar_focus")+'"';if(!tinyMCE.getParam("accessibility_focus"))toolbarHTML+=' onfocus="tinyMCE.getInstanceById(\''+editorId+'\').getWin().focus();"';toolbarHTML+='></a>';for(var i=1;i<100;i++){var def=defVals["theme_advanced_buttons"+i];var buttons=tinyMCE.getParam("theme_advanced_buttons"+i,def==null?'':def,true,',');if(buttons.length==0)break;buttons=removeFromArray(buttons,tinyMCE.getParam("theme_advanced_disable","",true,','));buttons=addToArray(buttons,tinyMCE.getParam("theme_advanced_buttons"+i+"_add","",true,','));buttons=addToArray(tinyMCE.getParam("theme_advanced_buttons"+i+"_add_before","",true,','),buttons);for(var b=0;b<buttons.length;b++)toolbarHTML+=tinyMCE.getControlHTML(buttons[b]);if(buttons.length>0){toolbarHTML+="<br />";deltaHeight-=23}}toolbarHTML+='<a href="#" accesskey="z" onfocus="tinyMCE.getInstanceById(\''+editorId+'\').getWin().focus!
 ();"></a>';template['html']='<table class="mceEditor" border="0" cellp
adding="0" cellspacing="0" width="{$width}" height="{$height}" style="width:{$width_style};height:{$height_style}"><tbody>';if(toolbarLocation=="top"){template['html']+='<tr><td class="mceToolbarTop" align="'+toolbarAlign+'" height="1" nowrap="nowrap"><span id="'+editorId+'_toolbar" class="mceToolbarContainer">'+toolbarHTML+'</span></td></tr>'}if(statusbarLocation=="top"){template['html']+='<tr><td class="mceStatusbarTop" height="1">'+statusbarHTML+'</td></tr>';deltaHeight-=23}template['html']+='<tr><td align="center"><span id="{$editor_id}"></span></td></tr>';if(toolbarLocation=="bottom"){template['html']+='<tr><td class="mceToolbarBottom" align="'+toolbarAlign+'" height="1"><span id="'+editorId+'_toolbar" class="mceToolbarContainer">'+toolbarHTML+'</span></td></tr>'}if(toolbarLocation=="external"){var bod=document.body;var elm=document.createElement("div");toolbarHTML=tinyMCE.replaceVar(toolbarHTML,'style_select_options',styleSelectHTML);toolbarHTML=tinyMCE.applyTemplate(t!
 oolbarHTML,{editor_id:editorId});elm.className="mceToolbarExternal";elm.id=editorId+"_toolbar";elm.innerHTML='<table width="100%" border="0" align="center"><tr><td align="center">'+toolbarHTML+'</td></tr></table>';bod.appendChild(elm);deltaHeight=0;tinyMCE.getInstanceById(editorId).toolbarElement=elm;}else{tinyMCE.getInstanceById(editorId).toolbarElement=null}if(statusbarLocation=="bottom"){template['html']+='<tr><td class="mceStatusbarBottom" height="1">'+statusbarHTML+'</td></tr>';deltaHeight-=23}template['html']+='</tbody></table>';break;case"RowLayout":template['html']='<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}" style="width:{$width}px;height:{$height}px"><tbody>';var containers=tinyMCE.getParam("theme_advanced_containers","",true,",");var defaultContainerCSS=tinyMCE.getParam("theme_advanced_containers_default_class","container");var defaultContainerAlign=tinyMCE.getParam("theme_advanced_containers_default_ali!
 gn","center");for(var i=0;i<containers.length;i++){if(containers[i]=="
mceEditor")template['html']+='<tr><td align="center" class="mceEditor_border"><span id="{$editor_id}"></span></td></tr>';else if(containers[i]=="mceElementpath"||containers[i]=="mceStatusbar"){var pathClass="mceStatusbar";if(i==containers.length-1){pathClass="mceStatusbarBottom"}else if(i==0){pathClass="mceStatusbar"}else{deltaHeight-=2}template['html']+='<tr><td class="'+pathClass+'" height="1">'+statusbarHTML+'</td></tr>';deltaHeight-=22}else{var curContainer=tinyMCE.getParam("theme_advanced_container_"+containers[i],"",true,',');var curContainerHTML="";var curAlign=tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_align",defaultContainerAlign);var curCSS=tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_class",defaultContainerCSS);curContainer=removeFromArray(curContainer,tinyMCE.getParam("theme_advanced_disable","",true,','));for(var j=0;j<curContainer.length;j++)curContainerHTML+=tinyMCE.getControlHTML(curContainer[j]);if(curContainer.length>0){cur!
 ContainerHTML+="<br />";deltaHeight-=23}template['html']+='<tr><td class="'+curCSS+'" align="'+curAlign+'" height="1">'+curContainerHTML+'</td></tr>'}}template['html']+='</tbody></table>';break;case"CustomLayout":var customLayout=tinyMCE.getParam("theme_advanced_custom_layout","");if(customLayout!=""&&eval("typeof("+customLayout+")")!="undefined"){template=eval(customLayout+"(template);")}break}if(resizing)template['html']+='<span id="{$editor_id}_resize_box" class="mceResizeBox"></span>';template['html']=tinyMCE.replaceVar(template['html'],'style_select_options',styleSelectHTML);template['delta_width']=0;template['delta_height']=deltaHeight;return template},initInstance:function(inst){if(tinyMCE.getParam("theme_advanced_resizing",false)){if(tinyMCE.getParam("theme_advanced_resizing_use_cookie",true)){var w=TinyMCE_AdvancedTheme._getCookie("TinyMCE_"+inst.editorId+"_width");var h=TinyMCE_AdvancedTheme._getCookie("TinyMCE_"+inst.editorId+"_height");TinyMCE_AdvancedTheme._res!
 izeTo(inst,w,h,tinyMCE.getParam("theme_advanced_resize_horizontal",tru
e))}}inst.addShortcut('ctrl','k','lang_link_desc','mceLink')},_handleMenuEvent:function(e){var te=tinyMCE.isMSIE?window.event.srcElement:e.target;tinyMCE._menuButtonEvent(e.type=="mouseover"?"over":"out",document.getElementById(te._switchId));if(e.type=="click")tinyMCE.execInstanceCommand(te._editor_id,te._command)},_hideMenus:function(id){var fcml=new TinyMCE_Layer(id+'_fcMenu'),bcml=new TinyMCE_Layer(id+'_bcMenu');if(fcml.exists()&&fcml.isVisible()){tinyMCE.switchClass(id+'_forecolor','mceMenuButton');fcml.hide()}if(bcml.exists()&&bcml.isVisible()){tinyMCE.switchClass(id+'_backcolor','mceMenuButton');bcml.hide()}},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection,setup_content){var alignNode,breakOut,classNode;function selectByValue(select_elm,value,first_index){first_index=typeof(first_index)=="undefined"?false:true;if(select_elm){for(var i=0;i<select_elm.options.length;i++){var ov=""+select_elm.options[i].value;if(first_index&&ov.to!
 LowerCase().indexOf(value.toLowerCase())==0){select_elm.selectedIndex=i;return true}if(ov==value){select_elm.selectedIndex=i;return true}}}return false};function getAttrib(elm,name){return elm.getAttribute(name)?elm.getAttribute(name):""};if(node==null)return;var pathElm=document.getElementById(editor_id+"_path");var inst=tinyMCE.getInstanceById(editor_id);var doc=inst.getDoc();TinyMCE_AdvancedTheme._hideMenus(editor_id);if(pathElm){var parentNode=node;var path=new Array();while(parentNode!=null){if(parentNode.nodeName.toUpperCase()=="BODY"){break}if(parentNode.nodeType==1&&tinyMCE.getAttrib(parentNode,"class").indexOf('mceItemHidden')==-1){path[path.length]=parentNode}parentNode=parentNode.parentNode}var html="";for(var i=path.length-1;i>=0;i--){var nodeName=path[i].nodeName.toLowerCase();var nodeData="";if(nodeName.indexOf("html:")==0)nodeName=nodeName.substring(5);if(nodeName=="b"){nodeName="strong"}if(nodeName=="i"){nodeName="em"}if(nodeName=="span"){var cn=tinyMCE.getA!
 ttrib(path[i],"class");if(cn!=""&&cn.indexOf('mceItem')==-1)nodeData+=
"class: "+cn+" ";var st=tinyMCE.getAttrib(path[i],"style");if(st!=""){st=tinyMCE.serializeStyle(tinyMCE.parseStyle(st));nodeData+="style: "+st+" "}}if(nodeName=="font"){if(tinyMCE.getParam("convert_fonts_to_spans"))nodeName="span";var face=tinyMCE.getAttrib(path[i],"face");if(face!="")nodeData+="font: "+face+" ";var size=tinyMCE.getAttrib(path[i],"size");if(size!="")nodeData+="size: "+size+" ";var color=tinyMCE.getAttrib(path[i],"color");if(color!="")nodeData+="color: "+color+" "}if(getAttrib(path[i],'id')!=""){nodeData+="id: "+path[i].getAttribute('id')+" "}var className=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i],"class"),false);if(className!=""&&className.indexOf('mceItem')==-1)nodeData+="class: "+className+" ";if(getAttrib(path[i],'src')!=""){var src=tinyMCE.getAttrib(path[i],"mce_src");if(src=="")src=tinyMCE.getAttrib(path[i],"src");nodeData+="src: "+src+" "}if(path[i].nodeName=='A'&&getAttrib(path[i],'href')!=""){var href=tinyMCE.getAttrib(path[i],"mce_href");i!
 f(href=="")href=tinyMCE.getAttrib(path[i],"href");nodeData+="href: "+href+" "}className=tinyMCE.getAttrib(path[i],"class");if((nodeName=="img"||nodeName=="span")&&className.indexOf('mceItem')!=-1){nodeName=className.replace(/mceItem([a-z]+)/gi,'$1').toLowerCase();nodeData=path[i].getAttribute('title')}if(nodeName=="a"&&(anchor=tinyMCE.getAttrib(path[i],"name"))!=""){nodeName="a";nodeName+="#"+anchor;nodeData=""}if(getAttrib(path[i],'name').indexOf("mce_")!=0){var className=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i],"class"),false);if(className!=""&&className.indexOf('mceItem')==-1){nodeName+="."+className}}var cmd='tinyMCE.execInstanceCommand(\''+editor_id+'\',\'mceSelectNodeDepth\',false,\''+i+'\');';html+='<a title="'+nodeData+'" href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" target="_self" class="mcePathItem">'+nodeName+'</a>';if(i>0){html+=" &raquo; "}}pathElm.innerHTML='<a href="#" accesskey="x"></a>'+tinyMCE.getLang('lang!
 _theme_path')+": "+html+'&#160;'}tinyMCE.switchClass(editor_id+'_justi
fyleft','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifyright','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifycenter','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifyfull','mceButtonNormal');tinyMCE.switchClass(editor_id+'_bold','mceButtonNormal');tinyMCE.switchClass(editor_id+'_italic','mceButtonNormal');tinyMCE.switchClass(editor_id+'_underline','mceButtonNormal');tinyMCE.switchClass(editor_id+'_strikethrough','mceButtonNormal');tinyMCE.switchClass(editor_id+'_bullist','mceButtonNormal');tinyMCE.switchClass(editor_id+'_numlist','mceButtonNormal');tinyMCE.switchClass(editor_id+'_sub','mceButtonNormal');tinyMCE.switchClass(editor_id+'_sup','mceButtonNormal');tinyMCE.switchClass(editor_id+'_anchor','mceButtonNormal');tinyMCE.switchClass(editor_id+'_link','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_unlink','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_outdent','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_image','mceButtonN!
 ormal');tinyMCE.switchClass(editor_id+'_hr','mceButtonNormal');if(node.nodeName=="A"&&tinyMCE.getAttrib(node,"class").indexOf('mceItemAnchor')!=-1)tinyMCE.switchClass(editor_id+'_anchor','mceButtonSelected');var anchorLink=tinyMCE.getParentElement(node,"a","href");if(anchorLink||any_selection){tinyMCE.switchClass(editor_id+'_link',anchorLink?'mceButtonSelected':'mceButtonNormal');tinyMCE.switchClass(editor_id+'_unlink',anchorLink?'mceButtonSelected':'mceButtonNormal')}tinyMCE.switchClass(editor_id+'_visualaid',visual_aid?'mceButtonSelected':'mceButtonNormal');if(undo_levels!=-1){tinyMCE.switchClass(editor_id+'_undo','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_redo','mceButtonDisabled')}if(tinyMCE.getParentElement(node,"li,blockquote"))tinyMCE.switchClass(editor_id+'_outdent','mceButtonNormal');if(undo_index!=-1&&(undo_index<undo_levels-1&&undo_levels>0))tinyMCE.switchClass(editor_id+'_redo','mceButtonNormal');if(undo_index!=-1&&(undo_index>0&&undo_levels>0))tinyMCE!
 .switchClass(editor_id+'_undo','mceButtonNormal');var selectElm=docume
nt.getElementById(editor_id+"_styleSelect");if(selectElm){TinyMCE_AdvancedTheme._setupCSSClasses(editor_id);classNode=node;breakOut=false;var index=0;do{if(classNode&&classNode.className){for(var i=0;i<selectElm.options.length;i++){if(selectElm.options[i].value==classNode.className){index=i;breakOut=true;break}}}}while(!breakOut&&classNode!=null&&(classNode=classNode.parentNode)!=null);selectElm.selectedIndex=index}var selectElm=document.getElementById(editor_id+"_formatSelect");if(selectElm){var elm=tinyMCE.getParentElement(node,"p,div,h1,h2,h3,h4,h5,h6,pre,address");if(elm)selectByValue(selectElm,"<"+elm.nodeName.toLowerCase()+">");else selectByValue(selectElm,"")}var selectElm=document.getElementById(editor_id+"_fontNameSelect");if(selectElm){if(!tinyMCE.isSafari&&!(tinyMCE.isMSIE&&!tinyMCE.isOpera)){var face=inst.queryCommandValue('FontName');face=face==null||face==""?"":face;selectByValue(selectElm,face,face!="")}else{var elm=tinyMCE.getParentElement(node,"font","face")!
 ;if(elm){var family=tinyMCE.getAttrib(elm,"face");if(family=='')family=''+elm.style.fontFamily;if(!selectByValue(selectElm,family,family!=""))selectByValue(selectElm,"")}else selectByValue(selectElm,"")}}var selectElm=document.getElementById(editor_id+"_fontSizeSelect");if(selectElm){if(!tinyMCE.isSafari&&!tinyMCE.isOpera){var size=inst.queryCommandValue('FontSize');selectByValue(selectElm,size==null||size==""?"0":size)}else{var elm=tinyMCE.getParentElement(node,"font","size");if(elm){var size=tinyMCE.getAttrib(elm,"size");if(size==''){var sizes=new Array('','8px','10px','12px','14px','18px','24px','36px');size=''+elm.style.fontSize;for(var i=0;i<sizes.length;i++){if((''+sizes[i])==size){size=i;break}}}if(!selectByValue(selectElm,size))selectByValue(selectElm,"")}else selectByValue(selectElm,"0")}}alignNode=node;breakOut=false;do{if(!alignNode.getAttribute||!alignNode.getAttribute('align'))continue;switch(alignNode.getAttribute('align').toLowerCase()){case"left":tinyMCE.swi!
 tchClass(editor_id+'_justifyleft','mceButtonSelected');breakOut=true;b
reak;case"right":tinyMCE.switchClass(editor_id+'_justifyright','mceButtonSelected');breakOut=true;break;case"middle":case"center":tinyMCE.switchClass(editor_id+'_justifycenter','mceButtonSelected');breakOut=true;break;case"justify":tinyMCE.switchClass(editor_id+'_justifyfull','mceButtonSelected');breakOut=true;break}}while(!breakOut&&(alignNode=alignNode.parentNode)!=null);var div=tinyMCE.getParentElement(node,"div");if(div&&div.style.textAlign=="center")tinyMCE.switchClass(editor_id+'_justifycenter','mceButtonSelected');if(!setup_content){var ar=new Array("Bold","_bold","Italic","_italic","Strikethrough","_strikethrough","superscript","_sup","subscript","_sub");for(var i=0;i<ar.length;i+=2){if(inst.queryCommandState(ar[i]))tinyMCE.switchClass(editor_id+ar[i+1],'mceButtonSelected')}if(inst.queryCommandState("Underline")&&(node.parentNode==null||node.parentNode.nodeName!="A"))tinyMCE.switchClass(editor_id+'_underline','mceButtonSelected')}do{switch(node.nodeName){case"UL":tin!
 yMCE.switchClass(editor_id+'_bullist','mceButtonSelected');break;case"OL":tinyMCE.switchClass(editor_id+'_numlist','mceButtonSelected');break;case"HR":tinyMCE.switchClass(editor_id+'_hr','mceButtonSelected');break;case"IMG":if(getAttrib(node,'name').indexOf('mce_')!=0&&tinyMCE.getAttrib(node,'class').indexOf('mceItem')==-1){tinyMCE.switchClass(editor_id+'_image','mceButtonSelected')}break}}while((node=node.parentNode)!=null)},_setupCSSClasses:function(editor_id){var i,selectElm;if(!TinyMCE_AdvancedTheme._autoImportCSSClasses)return;selectElm=document.getElementById(editor_id+'_styleSelect');if(selectElm&&selectElm.getAttribute('cssImported')!='true'){var csses=tinyMCE.getCSSClasses(editor_id);if(csses&&selectElm){for(i=0;i<csses.length;i++)selectElm.options[selectElm.options.length]=new Option(csses[i],csses[i])}if(csses!=null&&csses.length>0)selectElm.setAttribute('cssImported','true')}},_setCookie:function(name,value,expires,path,domain,secure){var curCookie=name+"="+esca!
 pe(value)+((expires)?"; expires="+expires.toGMTString():"")+((path)?";
 path="+escape(path):"")+((domain)?"; domain="+domain:"")+((secure)?"; secure":"");document.cookie=curCookie},_getCookie:function(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)return null}else begin+=2;var end=document.cookie.indexOf(";",begin);if(end==-1)end=dc.length;return unescape(dc.substring(begin+prefix.length,end))},_resizeTo:function(inst,w,h,set_w){var editorContainer=document.getElementById(inst.editorId+'_parent');var tableElm=editorContainer.firstChild;var iframe=inst.iframeElement;if(w==null||w=="null"){set_w=false;w=0}if(h==null||h=="null")return;w=parseInt(w);h=parseInt(h);if(tinyMCE.isGecko){w+=2;h+=2}var dx=w-tableElm.clientWidth;var dy=h-tableElm.clientHeight;w=w<1?30:w;h=h<1?30:h;if(set_w)tableElm.style.width=w+"px";tableElm.style.height=h+"px";iw=iframe.clientWidth+dx;ih=iframe.clientHeight+dy;iw=iw<1?30:iw;ih=ih<1?30:ih;if(tinyMCE.isGecko){iw-=2;ih-=2}if(set_w)iframe!
 .style.width=iw+"px";iframe.style.height=ih+"px";if(set_w){var tableBodyElm=tableElm.firstChild;var minIframeWidth=tableBodyElm.scrollWidth;if(inst.iframeElement.clientWidth<minIframeWidth){dx=minIframeWidth-inst.iframeElement.clientWidth;inst.iframeElement.style.width=(iw+dx)+"px"}}inst.useCSS=false},_resizeEventHandler:function(e){var resizer=TinyMCE_AdvancedTheme._resizer;if(!resizer.resizing)return;e=typeof(e)=="undefined"?window.event:e;var dx=e.screenX-resizer.downX;var dy=e.screenY-resizer.downY;var resizeBox=resizer.resizeBox;var editorId=resizer.editorId;switch(e.type){case"mousemove":var w,h;w=resizer.width+dx;h=resizer.height+dy;w=w<1?1:w;h=h<1?1:h;if(resizer.horizontal)resizeBox.style.width=w+"px";resizeBox.style.height=h+"px";break;case"mouseup":TinyMCE_AdvancedTheme._setResizing(e,editorId,false);TinyMCE_AdvancedTheme._resizeTo(tinyMCE.getInstanceById(editorId),resizer.width+dx,resizer.height+dy,resizer.horizontal);if(tinyMCE.getParam("theme_advanced_resizing_!
 use_cookie",true)){var expires=new Date();expires.setTime(expires.getT
ime()+3600000*24*30);TinyMCE_AdvancedTheme._setCookie("TinyMCE_"+editorId+"_width",""+(resizer.horizontal?resizer.width+dx:""),expires);TinyMCE_AdvancedTheme._setCookie("TinyMCE_"+editorId+"_height",""+(resizer.height+dy),expires)}break}},_setResizing:function(e,editor_id,state){e=typeof(e)=="undefined"?window.event:e;var resizer=TinyMCE_AdvancedTheme._resizer;var editorContainer=document.getElementById(editor_id+'_parent');var editorArea=document.getElementById(editor_id+'_parent').firstChild;var resizeBox=document.getElementById(editor_id+'_resize_box');var inst=tinyMCE.getInstanceById(editor_id);if(state){var width=editorArea.clientWidth;var height=editorArea.clientHeight;resizeBox.style.width=width+"px";resizeBox.style.height=height+"px";resizer.iframeWidth=inst.iframeElement.clientWidth;resizer.iframeHeight=inst.iframeElement.clientHeight;editorArea.style.display="none";resizeBox.style.display="block";if(!resizer.eventHandlers){if(tinyMCE.isMSIE)tinyMCE.addEvent(documen!
 t,"mousemove",TinyMCE_AdvancedTheme._resizeEventHandler);else tinyMCE.addEvent(window,"mousemove",TinyMCE_AdvancedTheme._resizeEventHandler);tinyMCE.addEvent(document,"mouseup",TinyMCE_AdvancedTheme._resizeEventHandler);resizer.eventHandlers=true}resizer.resizing=true;resizer.downX=e.screenX;resizer.downY=e.screenY;resizer.width=parseInt(resizeBox.style.width);resizer.height=parseInt(resizeBox.style.height);resizer.editorId=editor_id;resizer.resizeBox=resizeBox;resizer.horizontal=tinyMCE.getParam("theme_advanced_resize_horizontal",true)}else{resizer.resizing=false;resizeBox.style.display="none";editorArea.style.display=tinyMCE.isMSIE&&!tinyMCE.isOpera?"block":"table";tinyMCE.execCommand('mceResetDesignMode')}},_getColorHTML:function(id,n,cm){var i,h,cl;h='<span class="mceMenuLine"></span>';cl=tinyMCE.getParam(n,TinyMCE_AdvancedTheme._defColors).split(',');h+='<table class="mceColors"><tr>';for(i=0;i<cl.length;i++){c='tinyMCE.execInstanceCommand(\''+id+'\', \''+cm+'\', false!
 , \'#'+cl[i]+'\');';h+='<td><a href="javascript:'+c+'" style="backgrou
nd-color: #'+cl[i]+'" onclick="'+c+';return false;"></a></td>';if((i+1)%8==0)h+='</tr><tr>'}h+='</tr></table>';return h},_insertImage:function(src,alt,border,hspace,vspace,width,height,align,title,onmouseover,onmouseout){tinyMCE.execCommand('mceBeginUndoLevel');if(src=="")return;if(!tinyMCE.imgElement&&tinyMCE.isSafari){var html="";html+='<img src="'+src+'" alt="'+alt+'"';html+=' border="'+border+'" hspace="'+hspace+'"';html+=' vspace="'+vspace+'" width="'+width+'"';html+=' height="'+height+'" align="'+align+'" title="'+title+'" onmouseover="'+onmouseover+'" onmouseout="'+onmouseout+'" />';tinyMCE.execCommand("mceInsertContent",false,html)}else{if(!tinyMCE.imgElement&&tinyMCE.selectedInstance){if(tinyMCE.isSafari)tinyMCE.execCommand("mceInsertContent",false,'<img src="'+tinyMCE.uniqueURL+'" />');else tinyMCE.selectedInstance.contentDocument.execCommand("insertimage",false,tinyMCE.uniqueURL);tinyMCE.imgElement=tinyMCE.getElementByAttributeValue(tinyMCE.selectedInstance.conten!
 tDocument.body,"img","src",tinyMCE.uniqueURL)}}if(tinyMCE.imgElement){var needsRepaint=false;var msrc=src;src=eval(tinyMCE.settings['urlconverter_callback']+"(src, tinyMCE.imgElement);");if(tinyMCE.getParam('convert_urls'))msrc=src;if(onmouseover&&onmouseover!="")onmouseover="this.src='"+eval(tinyMCE.settings['urlconverter_callback']+"(onmouseover, tinyMCE.imgElement);")+"';";if(onmouseout&&onmouseout!="")onmouseout="this.src='"+eval(tinyMCE.settings['urlconverter_callback']+"(onmouseout, tinyMCE.imgElement);")+"';";if(typeof(title)=="undefined")title=alt;if(width!=tinyMCE.imgElement.getAttribute("width")||height!=tinyMCE.imgElement.getAttribute("height")||align!=tinyMCE.imgElement.getAttribute("align"))needsRepaint=true;tinyMCE.setAttrib(tinyMCE.imgElement,'src',src);tinyMCE.setAttrib(tinyMCE.imgElement,'mce_src',msrc);tinyMCE.setAttrib(tinyMCE.imgElement,'alt',alt);tinyMCE.setAttrib(tinyMCE.imgElement,'title',title);tinyMCE.setAttrib(tinyMCE.imgElement,'align',align);tiny!
 MCE.setAttrib(tinyMCE.imgElement,'border',border,true);tinyMCE.setAttr
ib(tinyMCE.imgElement,'hspace',hspace,true);tinyMCE.setAttrib(tinyMCE.imgElement,'vspace',vspace,true);tinyMCE.setAttrib(tinyMCE.imgElement,'width',width,true);tinyMCE.setAttrib(tinyMCE.imgElement,'height',height,true);tinyMCE.setAttrib(tinyMCE.imgElement,'onmouseover',onmouseover);tinyMCE.setAttrib(tinyMCE.imgElement,'onmouseout',onmouseout);if(width&&width!="")tinyMCE.imgElement.style.pixelWidth=width;if(height&&height!="")tinyMCE.imgElement.style.pixelHeight=height;if(needsRepaint)tinyMCE.selectedInstance.repaint()}tinyMCE.execCommand('mceEndUndoLevel')},_insertLink:function(href,target,title,onclick,style_class){tinyMCE.execCommand('mceBeginUndoLevel');if(tinyMCE.selectedInstance&&tinyMCE.selectedElement&&tinyMCE.selectedElement.nodeName.toLowerCase()=="img"){var doc=tinyMCE.selectedInstance.getDoc();var linkElement=tinyMCE.getParentElement(tinyMCE.selectedElement,"a");var newLink=false;if(!linkElement){linkElement=doc.createElement("a");newLink=true}var mhref=href;var t!
 href=eval(tinyMCE.settings['urlconverter_callback']+"(href, linkElement);");mhref=tinyMCE.getParam('convert_urls')?href:mhref;tinyMCE.setAttrib(linkElement,'href',thref);tinyMCE.setAttrib(linkElement,'mce_href',mhref);tinyMCE.setAttrib(linkElement,'target',target);tinyMCE.setAttrib(linkElement,'title',title);tinyMCE.setAttrib(linkElement,'onclick',onclick);tinyMCE.setAttrib(linkElement,'class',style_class);if(newLink){linkElement.appendChild(tinyMCE.selectedElement.cloneNode(true));tinyMCE.selectedElement.parentNode.replaceChild(linkElement,tinyMCE.selectedElement)}return}if(!tinyMCE.linkElement&&tinyMCE.selectedInstance){if(tinyMCE.isSafari){tinyMCE.execCommand("mceInsertContent",false,'<a href="'+tinyMCE.uniqueURL+'">'+tinyMCE.selectedInstance.selection.getSelectedHTML()+'</a>')}else tinyMCE.selectedInstance.contentDocument.execCommand("createlink",false,tinyMCE.uniqueURL);tinyMCE.linkElement=tinyMCE.getElementByAttributeValue(tinyMCE.selectedInstance.contentDocument.body!
 ,"a","href",tinyMCE.uniqueURL);var elementArray=tinyMCE.getElementsByA
ttributeValue(tinyMCE.selectedInstance.contentDocument.body,"a","href",tinyMCE.uniqueURL);for(var i=0;i<elementArray.length;i++){var mhref=href;var thref=eval(tinyMCE.settings['urlconverter_callback']+"(href, elementArray[i]);");mhref=tinyMCE.getParam('convert_urls')?href:mhref;tinyMCE.setAttrib(elementArray[i],'href',thref);tinyMCE.setAttrib(elementArray[i],'mce_href',mhref);tinyMCE.setAttrib(elementArray[i],'target',target);tinyMCE.setAttrib(elementArray[i],'title',title);tinyMCE.setAttrib(elementArray[i],'onclick',onclick);tinyMCE.setAttrib(elementArray[i],'class',style_class)}tinyMCE.linkElement=elementArray[0]}if(tinyMCE.linkElement){var mhref=href;href=eval(tinyMCE.settings['urlconverter_callback']+"(href, tinyMCE.linkElement);");mhref=tinyMCE.getParam('convert_urls')?href:mhref;tinyMCE.setAttrib(tinyMCE.linkElement,'href',href);tinyMCE.setAttrib(tinyMCE.linkElement,'mce_href',mhref);tinyMCE.setAttrib(tinyMCE.linkElement,'target',target);tinyMCE.setAttrib(tinyMCE.linkE!
 lement,'title',title);tinyMCE.setAttrib(tinyMCE.linkElement,'onclick',onclick);tinyMCE.setAttrib(tinyMCE.linkElement,'class',style_class)}tinyMCE.execCommand('mceEndUndoLevel')}};tinyMCE.addTheme("advanced",TinyMCE_AdvancedTheme);tinyMCE.addButtonMap(TinyMCE_AdvancedTheme._buttonMap);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_template_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_template_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_template_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1534 @@
+/**
+ * $Id: editor_template_src.js 5756 2006-12-04 18:16:39Z roy.russo at jboss.com $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import theme specific language pack */
+tinyMCE.importThemeLanguagePack('advanced');
+
+var TinyMCE_AdvancedTheme = {
+	// Private theme fields
+	_defColors : "000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF",
+	_autoImportCSSClasses : true,
+	_resizer : {},
+	_buttons : [
+		// Control id, button img, button title, command, user_interface, value
+		['bold', '{$lang_bold_img}', 'lang_bold_desc', 'Bold'],
+		['italic', '{$lang_italic_img}', 'lang_italic_desc', 'Italic'],
+		['underline', '{$lang_underline_img}', 'lang_underline_desc', 'Underline'],
+		['strikethrough', 'strikethrough.gif', 'lang_striketrough_desc', 'Strikethrough'],
+		['justifyleft', 'justifyleft.gif', 'lang_justifyleft_desc', 'JustifyLeft'],
+		['justifycenter', 'justifycenter.gif', 'lang_justifycenter_desc', 'JustifyCenter'],
+		['justifyright', 'justifyright.gif', 'lang_justifyright_desc', 'JustifyRight'],
+		['justifyfull', 'justifyfull.gif', 'lang_justifyfull_desc', 'JustifyFull'],
+		['bullist', 'bullist.gif', 'lang_bullist_desc', 'InsertUnorderedList'],
+		['numlist', 'numlist.gif', 'lang_numlist_desc', 'InsertOrderedList'],
+		['outdent', 'outdent.gif', 'lang_outdent_desc', 'Outdent'],
+		['indent', 'indent.gif', 'lang_indent_desc', 'Indent'],
+		['cut', 'cut.gif', 'lang_cut_desc', 'Cut'],
+		['copy', 'copy.gif', 'lang_copy_desc', 'Copy'],
+		['paste', 'paste.gif', 'lang_paste_desc', 'Paste'],
+		['undo', 'undo.gif', 'lang_undo_desc', 'Undo'],
+		['redo', 'redo.gif', 'lang_redo_desc', 'Redo'],
+		['link', 'link.gif', 'lang_link_desc', 'mceLink', true],
+		['unlink', 'unlink.gif', 'lang_unlink_desc', 'unlink'],
+		['image', 'image.gif', 'lang_image_desc', 'mceImage', true],
+		['cleanup', 'cleanup.gif', 'lang_cleanup_desc', 'mceCleanup'],
+		['help', 'help.gif', 'lang_help_desc', 'mceHelp'],
+		['code', 'code.gif', 'lang_theme_code_desc', 'mceCodeEditor'],
+		['hr', 'hr.gif', 'lang_theme_hr_desc', 'inserthorizontalrule'],
+		['removeformat', 'removeformat.gif', 'lang_theme_removeformat_desc', 'removeformat'],
+		['sub', 'sub.gif', 'lang_theme_sub_desc', 'subscript'],
+		['sup', 'sup.gif', 'lang_theme_sup_desc', 'superscript'],
+		['forecolor', 'forecolor.gif', 'lang_theme_forecolor_desc', 'forecolor', true],
+		['backcolor', 'backcolor.gif', 'lang_theme_backcolor_desc', 'HiliteColor', true],
+		['charmap', 'charmap.gif', 'lang_theme_charmap_desc', 'mceCharMap'],
+		['visualaid', 'visualaid.gif', 'lang_theme_visualaid_desc', 'mceToggleVisualAid'],
+		['anchor', 'anchor.gif', 'lang_theme_anchor_desc', 'mceInsertAnchor'],
+		['newdocument', 'newdocument.gif', 'lang_newdocument_desc', 'mceNewDocument']
+	],
+
+	_buttonMap : 'anchor,backcolor,bold,bullist,charmap,cleanup,code,copy,cut,forecolor,help,hr,image,indent,italic,justifycenter,justifyfull,justifyleft,justifyright,link,newdocument,numlist,outdent,paste,redo,removeformat,strikethrough,sub,sup,underline,undo,unlink,visualaid,advhr,ltr,rtl,emotions,flash,fullpage,fullscreen,iespell,insertdate,inserttime,pastetext,pasteword,selectall,preview,print,save,replace,search,table,cell_props,delete_col,delete_row,col_after,col_before,row_after,row_before,merge_cells,row_props,split_cells,delete_table',
+
+	/**
+	 * Returns HTML code for the specificed control.
+	 */
+	getControlHTML : function(button_name) {
+		var i, x, but;
+
+		// Lookup button in button list
+		for (i=0; i<TinyMCE_AdvancedTheme._buttons.length; i++) {
+			but = TinyMCE_AdvancedTheme._buttons[i];
+
+			if (but[0] == button_name && (button_name == "forecolor" || button_name == "backcolor"))
+				return tinyMCE.getMenuButtonHTML(but[0], but[2], '{$themeurl}/images/' + but[1], but[3] + "Menu", but[3], (but.length > 4 ? but[4] : false), (but.length > 5 ? but[5] : null));
+
+			if (but[0] == button_name)
+				return tinyMCE.getButtonHTML(but[0], but[2], '{$themeurl}/images/' + but[1], but[3], (but.length > 4 ? but[4] : false), (but.length > 5 ? but[5] : null));
+		}
+
+		// Custom controlls other than buttons
+		switch (button_name) {
+			case "formatselect":
+				var html = '<select id="{$editor_id}_formatSelect" name="{$editor_id}_formatSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FormatBlock\',false,this.options[this.selectedIndex].value);" class="mceSelectList">';
+				var formats = tinyMCE.getParam("theme_advanced_blockformats", "p,address,pre,h1,h2,h3,h4,h5,h6", true).split(',');
+				var lookup = [
+					['p', '{$lang_theme_paragraph}'],
+					['address', '{$lang_theme_address}'],
+					['pre', '{$lang_theme_pre}'],
+					['h1', '{$lang_theme_h1}'],
+					['h2', '{$lang_theme_h2}'],
+					['h3', '{$lang_theme_h3}'],
+					['h4', '{$lang_theme_h4}'],
+					['h5', '{$lang_theme_h5}'],
+					['h6', '{$lang_theme_h6}'],
+					['div', '{$lang_theme_div}'],
+					['blockquote', '{$lang_theme_blockquote}'],
+					['code', '{$lang_theme_code}'],
+					['dt', '{$lang_theme_dt}'],
+					['dd', '{$lang_theme_dd}'],
+					['samp', '{$lang_theme_samp}']
+				];
+
+				html += '<option value="">{$lang_theme_block}</option>';
+
+				// Build format select
+				for (var i=0; i<formats.length; i++) {
+					for (var x=0; x<lookup.length; x++) {
+						if (formats[i] == lookup[x][0])
+							html += '<option value="&lt;' + lookup[x][0] + '&gt;">' + lookup[x][1] + '</option>';
+					}
+				}
+
+				html += '</select>';
+
+				return html;
+
+			case "styleselect":
+				return '<select id="{$editor_id}_styleSelect" onmousedown="tinyMCE.themes.advanced._setupCSSClasses(\'{$editor_id}\');" name="{$editor_id}_styleSelect" onfocus="tinyMCE.addSelectAccessibility(event,this,window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceSetCSSClass\',false,this.options[this.selectedIndex].value);" class="mceSelectList">{$style_select_options}</select>';
+
+			case "fontselect":
+				var fontHTML = '<select id="{$editor_id}_fontNameSelect" name="{$editor_id}_fontNameSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontName\',false,this.options[this.selectedIndex].value);" class="mceSelectList"><option value="">{$lang_theme_fontdefault}</option>';
+				var iFonts = 'Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings';
+				var nFonts = 'Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sand;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats';
+				var fonts = tinyMCE.getParam("theme_advanced_fonts", nFonts).split(';');
+				for (i=0; i<fonts.length; i++) {
+					if (fonts[i] != '') {
+						var parts = fonts[i].split('=');
+						fontHTML += '<option value="' + parts[1] + '">' + parts[0] + '</option>';
+					}
+				}
+
+				fontHTML += '</select>';
+				return fontHTML;
+
+			case "fontsizeselect":
+				return '<select id="{$editor_id}_fontSizeSelect" name="{$editor_id}_fontSizeSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontSize\',false,this.options[this.selectedIndex].value);" class="mceSelectList">'+
+						'<option value="0">{$lang_theme_font_size}</option>'+
+						'<option value="1">1 (8 pt)</option>'+
+						'<option value="2">2 (10 pt)</option>'+
+						'<option value="3">3 (12 pt)</option>'+
+						'<option value="4">4 (14 pt)</option>'+
+						'<option value="5">5 (18 pt)</option>'+
+						'<option value="6">6 (24 pt)</option>'+
+						'<option value="7">7 (36 pt)</option>'+
+						'</select>';
+
+			case "|":
+			case "separator":
+				return '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';
+
+			case "spacer":
+				return '<img src="{$themeurl}/images/separator.gif" width="2" height="15" border="0" class="mceSeparatorLine" style="vertical-align: middle" />';
+
+			case "rowseparator":
+				return '<br />';
+		}
+
+		return "";
+	},
+
+	/**
+	 * Theme specific execcommand handling.
+	 */
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		switch (command) {
+			case 'mceHelp':
+				tinyMCE.openWindow({
+					file : 'about.htm',
+					width : 480,
+					height : 380
+				}, {
+					tinymce_version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion,
+					tinymce_releasedate : tinyMCE.releaseDate,
+					inline : "yes"
+				});
+			return true;
+
+			case "mceLink":
+				var inst = tinyMCE.getInstanceById(editor_id);
+				var doc = inst.getDoc();
+				var selectedText = "";
+
+				if (tinyMCE.isMSIE) {
+					var rng = doc.selection.createRange();
+					selectedText = rng.text;
+				} else
+					selectedText = inst.getSel().toString();
+
+				if (!tinyMCE.linkElement) {
+					if ((tinyMCE.selectedElement.nodeName.toLowerCase() != "img") && (selectedText.length <= 0))
+						return true;
+				}
+
+				var href = "", target = "", title = "", onclick = "", action = "insert", style_class = "";
+
+				if (tinyMCE.selectedElement.nodeName.toLowerCase() == "a")
+					tinyMCE.linkElement = tinyMCE.selectedElement;
+
+				// Is anchor not a link
+				if (tinyMCE.linkElement != null && tinyMCE.getAttrib(tinyMCE.linkElement, 'href') == "")
+					tinyMCE.linkElement = null;
+
+				if (tinyMCE.linkElement) {
+					href = tinyMCE.getAttrib(tinyMCE.linkElement, 'href');
+					target = tinyMCE.getAttrib(tinyMCE.linkElement, 'target');
+					title = tinyMCE.getAttrib(tinyMCE.linkElement, 'title');
+					onclick = tinyMCE.getAttrib(tinyMCE.linkElement, 'onclick');
+					style_class = tinyMCE.getAttrib(tinyMCE.linkElement, 'class');
+
+					// Try old onclick to if copy/pasted content
+					if (onclick == "")
+						onclick = tinyMCE.getAttrib(tinyMCE.linkElement, 'onclick');
+
+					onclick = tinyMCE.cleanupEventStr(onclick);
+
+					href = eval(tinyMCE.settings['urlconverter_callback'] + "(href, tinyMCE.linkElement, true);");
+
+					// Use mce_href if defined
+					mceRealHref = tinyMCE.getAttrib(tinyMCE.linkElement, 'mce_href');
+					if (mceRealHref != "") {
+						href = mceRealHref;
+
+						if (tinyMCE.getParam('convert_urls'))
+							href = eval(tinyMCE.settings['urlconverter_callback'] + "(href, tinyMCE.linkElement, true);");
+					}
+
+					action = "update";
+				}
+
+				var template = new Array();
+
+				template['file'] = 'link.htm';
+				template['width'] = 310;
+				template['height'] = 200;
+
+				// Language specific width and height addons
+				template['width'] += tinyMCE.getLang('lang_insert_link_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_insert_link_delta_height', 0);
+
+				if (inst.settings['insertlink_callback']) {
+					var returnVal = eval(inst.settings['insertlink_callback'] + "(href, target, title, onclick, action, style_class);");
+					if (returnVal && returnVal['href'])
+						TinyMCE_AdvancedTheme._insertLink(returnVal['href'], returnVal['target'], returnVal['title'], returnVal['onclick'], returnVal['style_class']);
+				} else {
+					tinyMCE.openWindow(template, {href : href, target : target, title : title, onclick : onclick, action : action, className : style_class, inline : "yes"});
+				}
+
+				return true;
+
+			case "mceImage":
+				var src = "", alt = "", border = "", hspace = "", vspace = "", width = "", height = "", align = "";
+				var title = "", onmouseover = "", onmouseout = "", action = "insert";
+				var img = tinyMCE.imgElement;
+				var inst = tinyMCE.getInstanceById(editor_id);
+
+				if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "img") {
+					img = tinyMCE.selectedElement;
+					tinyMCE.imgElement = img;
+				}
+
+				if (img) {
+					// Is it a internal MCE visual aid image, then skip this one.
+					if (tinyMCE.getAttrib(img, 'name').indexOf('mce_') == 0)
+						return true;
+
+					src = tinyMCE.getAttrib(img, 'src');
+					alt = tinyMCE.getAttrib(img, 'alt');
+
+					// Try polling out the title
+					if (alt == "")
+						alt = tinyMCE.getAttrib(img, 'title');
+
+					// Fix width/height attributes if the styles is specified
+					if (tinyMCE.isGecko) {
+						var w = img.style.width;
+						if (w != null && w != "")
+							img.setAttribute("width", w);
+
+						var h = img.style.height;
+						if (h != null && h != "")
+							img.setAttribute("height", h);
+					}
+
+					border = tinyMCE.getAttrib(img, 'border');
+					hspace = tinyMCE.getAttrib(img, 'hspace');
+					vspace = tinyMCE.getAttrib(img, 'vspace');
+					width = tinyMCE.getAttrib(img, 'width');
+					height = tinyMCE.getAttrib(img, 'height');
+					align = tinyMCE.getAttrib(img, 'align');
+					onmouseover = tinyMCE.getAttrib(img, 'onmouseover');
+					onmouseout = tinyMCE.getAttrib(img, 'onmouseout');
+					title = tinyMCE.getAttrib(img, 'title');
+
+					// Is realy specified?
+					if (tinyMCE.isMSIE) {
+						width = img.attributes['width'].specified ? width : "";
+						height = img.attributes['height'].specified ? height : "";
+					}
+
+					//onmouseover = tinyMCE.getImageSrc(tinyMCE.cleanupEventStr(onmouseover));
+					//onmouseout = tinyMCE.getImageSrc(tinyMCE.cleanupEventStr(onmouseout));
+
+					src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, img, true);");
+
+					// Use mce_src if defined
+					mceRealSrc = tinyMCE.getAttrib(img, 'mce_src');
+					if (mceRealSrc != "") {
+						src = mceRealSrc;
+
+						if (tinyMCE.getParam('convert_urls'))
+							src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, img, true);");
+					}
+
+					//if (onmouseover != "")
+					//	onmouseover = eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseover, img, true);");
+
+					//if (onmouseout != "")
+					//	onmouseout = eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseout, img, true);");
+
+					action = "update";
+				}
+
+				var template = new Array();
+
+				template['file'] = 'image.htm?src={$src}';
+				template['width'] = 355;
+				template['height'] = 265 + (tinyMCE.isMSIE ? 25 : 0);
+
+				// Language specific width and height addons
+				template['width'] += tinyMCE.getLang('lang_insert_image_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_insert_image_delta_height', 0);
+
+				if (inst.settings['insertimage_callback']) {
+					var returnVal = eval(inst.settings['insertimage_callback'] + "(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout, action);");
+					if (returnVal && returnVal['src'])
+						TinyMCE_AdvancedTheme._insertImage(returnVal['src'], returnVal['alt'], returnVal['border'], returnVal['hspace'], returnVal['vspace'], returnVal['width'], returnVal['height'], returnVal['align'], returnVal['title'], returnVal['onmouseover'], returnVal['onmouseout']);
+				} else
+					tinyMCE.openWindow(template, {src : src, alt : alt, border : border, hspace : hspace, vspace : vspace, width : width, height : height, align : align, title : title, onmouseover : onmouseover, onmouseout : onmouseout, action : action, inline : "yes"});
+
+				return true;
+
+			case "forecolor":
+				var fcp = new TinyMCE_Layer(editor_id + '_fcPreview', false), p, img, elm;
+
+				TinyMCE_AdvancedTheme._hideMenus(editor_id);
+
+				if (!fcp.exists()) {
+					fcp.create('div', 'mceColorPreview', document.getElementById(editor_id + '_toolbar'));
+					elm = fcp.getElement();
+					elm._editor_id = editor_id;
+					elm._command = "forecolor";
+					elm._switchId = editor_id + "_forecolor";
+					tinyMCE.addEvent(elm, 'click', TinyMCE_AdvancedTheme._handleMenuEvent);
+					tinyMCE.addEvent(elm, 'mouseover', TinyMCE_AdvancedTheme._handleMenuEvent);
+					tinyMCE.addEvent(elm, 'mouseout', TinyMCE_AdvancedTheme._handleMenuEvent);
+				}
+
+				img = tinyMCE.selectNodes(document.getElementById(editor_id + "_forecolor"), function(n) {return n.nodeName == "IMG";})[0];
+				p = tinyMCE.getAbsPosition(img, document.getElementById(editor_id + '_toolbar'));
+
+				fcp.moveTo(p.absLeft, p.absTop);
+				fcp.getElement().style.backgroundColor = value != null ? value : tinyMCE.getInstanceById(editor_id).foreColor;
+				fcp.show();
+
+				return false;
+
+			case "forecolorMenu":
+				TinyMCE_AdvancedTheme._hideMenus(editor_id);
+
+				// Create color layer
+				var ml = new TinyMCE_Layer(editor_id + '_fcMenu');
+
+				if (!ml.exists())
+					ml.create('div', 'mceMenu', document.body, TinyMCE_AdvancedTheme._getColorHTML(editor_id, 'theme_advanced_text_colors', 'forecolor'));
+
+				tinyMCE.switchClass(editor_id + '_forecolor', 'mceMenuButtonFocus');
+				ml.moveRelativeTo(document.getElementById(editor_id + "_forecolor"), 'bl');
+
+				ml.moveBy(tinyMCE.isMSIE && !tinyMCE.isOpera ? -1 : 1, -1);
+
+				if (tinyMCE.isOpera)
+					ml.moveBy(0, -2);
+
+				ml.show();
+			return true;
+
+			case "HiliteColor":
+				var bcp = new TinyMCE_Layer(editor_id + '_bcPreview', false), p, img;
+
+				TinyMCE_AdvancedTheme._hideMenus(editor_id);
+
+				if (!bcp.exists()) {
+					bcp.create('div', 'mceColorPreview', document.getElementById(editor_id + '_toolbar'));
+					elm = bcp.getElement();
+					elm._editor_id = editor_id;
+					elm._command = "HiliteColor";
+					elm._switchId = editor_id + "_backcolor";
+					tinyMCE.addEvent(elm, 'click', TinyMCE_AdvancedTheme._handleMenuEvent);
+					tinyMCE.addEvent(elm, 'mouseover', TinyMCE_AdvancedTheme._handleMenuEvent);
+					tinyMCE.addEvent(elm, 'mouseout', TinyMCE_AdvancedTheme._handleMenuEvent);
+				}
+
+				img = tinyMCE.selectNodes(document.getElementById(editor_id + "_backcolor"), function(n) {return n.nodeName == "IMG";})[0];
+				p = tinyMCE.getAbsPosition(img, document.getElementById(editor_id + '_toolbar'));
+
+				bcp.moveTo(p.absLeft, p.absTop);
+				bcp.getElement().style.backgroundColor = value != null ? value : tinyMCE.getInstanceById(editor_id).backColor;
+				bcp.show();
+
+				return false;
+
+			case "HiliteColorMenu":
+				TinyMCE_AdvancedTheme._hideMenus(editor_id);
+
+				// Create color layer
+				var ml = new TinyMCE_Layer(editor_id + '_bcMenu');
+
+				if (!ml.exists())
+					ml.create('div', 'mceMenu', document.body, TinyMCE_AdvancedTheme._getColorHTML(editor_id, 'theme_advanced_background_colors', 'HiliteColor'));
+
+				tinyMCE.switchClass(editor_id + '_backcolor', 'mceMenuButtonFocus');
+				ml.moveRelativeTo(document.getElementById(editor_id + "_backcolor"), 'bl');
+
+				ml.moveBy(tinyMCE.isMSIE && !tinyMCE.isOpera ? -1 : 1, -1);
+
+				if (tinyMCE.isOpera)
+					ml.moveBy(0, -2);
+
+				ml.show();
+			return true;
+
+			case "mceColorPicker":
+				if (user_interface) {
+					var template = new Array();
+					var inputColor = value['document'].getElementById(value['element_id']).value;
+
+					template['file'] = 'color_picker.htm';
+					template['width'] = 220;
+					template['height'] = 190;
+					template['close_previous'] = "no";
+
+					template['width'] += tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_width', 0);
+					template['height'] += tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_height', 0);
+
+					if (typeof(value['store_selection']) == "undefined")
+						value['store_selection'] = true;
+
+					tinyMCE.lastColorPickerValue = value;
+					tinyMCE.openWindow(template, {editor_id : editor_id, mce_store_selection : value['store_selection'], inline : "yes", command : "mceColorPicker", input_color : inputColor});
+				} else {
+					var savedVal = tinyMCE.lastColorPickerValue;
+					var elm = savedVal['document'].getElementById(savedVal['element_id']);
+					elm.value = value;
+
+					if (elm.onchange != null && elm.onchange != '')
+						eval('elm.onchange();');
+				}
+			return true;
+
+			case "mceCodeEditor":
+				var template = new Array();
+
+				template['file'] = 'source_editor.htm';
+				template['width'] = parseInt(tinyMCE.getParam("theme_advanced_source_editor_width", 720));
+				template['height'] = parseInt(tinyMCE.getParam("theme_advanced_source_editor_height", 580));
+
+				tinyMCE.openWindow(template, {editor_id : editor_id, resizable : "yes", scrollbars : "no", inline : "yes"});
+				return true;
+
+			case "mceCharMap":
+				var template = new Array();
+
+				template['file'] = 'charmap.htm';
+				template['width'] = 550 + (tinyMCE.isOpera ? 40 : 0);
+				template['height'] = 250;
+
+				template['width'] += tinyMCE.getLang('lang_theme_advanced_charmap_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_theme_advanced_charmap_delta_height', 0);
+
+				tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"});
+				return true;
+
+			case "mceInsertAnchor":
+				var template = new Array();
+
+				template['file'] = 'anchor.htm';
+				template['width'] = 320;
+				template['height'] = 90 + (tinyMCE.isNS7 ? 30 : 0);
+
+				template['width'] += tinyMCE.getLang('lang_theme_advanced_anchor_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_theme_advanced_anchor_delta_height', 0);
+
+				tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"});
+				return true;
+
+			case "mceNewDocument":
+				if (confirm(tinyMCE.getLang('lang_newdocument')))
+					tinyMCE.execInstanceCommand(editor_id, 'mceSetContent', false, ' ');
+
+				return true;
+		}
+
+		return false;
+	},
+
+	/**
+	 * Editor instance template function.
+	 */
+	getEditorTemplate : function(settings, editorId) {
+		function removeFromArray(in_array, remove_array) {
+			var outArray = new Array(), skip;
+			
+			for (var i=0; i<in_array.length; i++) {
+				skip = false;
+
+				for (var j=0; j<remove_array.length; j++) {
+					if (in_array[i] == remove_array[j]) {
+						skip = true;
+					}
+				}
+
+				if (!skip) {
+					outArray[outArray.length] = in_array[i];
+				}
+			}
+
+			return outArray;
+		}
+
+		function addToArray(in_array, add_array) {
+			for (var i=0; i<add_array.length; i++) {
+				in_array[in_array.length] = add_array[i];
+			}
+
+			return in_array;
+		}
+
+		var template = new Array();
+		var deltaHeight = 0;
+		var resizing = tinyMCE.getParam("theme_advanced_resizing", false);
+		var path = tinyMCE.getParam("theme_advanced_path", true);
+		var statusbarHTML = '<div id="{$editor_id}_path" class="mceStatusbarPathText" style="display: ' + (path ? "block" : "none") + '">&#160;</div><div id="{$editor_id}_resize" class="mceStatusbarResize" style="display: ' + (resizing ? "block" : "none") + '" onmousedown="tinyMCE.themes.advanced._setResizing(event,\'{$editor_id}\',true);"></div><br style="clear: both" />';
+		var layoutManager = tinyMCE.getParam("theme_advanced_layout_manager", "SimpleLayout");
+
+		// Setup style select options -- MOVED UP FOR EXTERNAL TOOLBAR COMPATABILITY!
+		var styleSelectHTML = '<option value="">{$lang_theme_style_select}</option>';
+		if (settings['theme_advanced_styles']) {
+			var stylesAr = settings['theme_advanced_styles'].split(';');
+			
+			for (var i=0; i<stylesAr.length; i++) {
+				var key, value;
+
+				key = stylesAr[i].split('=')[0];
+				value = stylesAr[i].split('=')[1];
+
+				styleSelectHTML += '<option value="' + value + '">' + key + '</option>';
+			}
+
+			TinyMCE_AdvancedTheme._autoImportCSSClasses = false;
+		}
+
+		switch(layoutManager) {
+			case "SimpleLayout" : //the default TinyMCE Layout (for backwards compatibility)...
+				var toolbarHTML = "";
+				var toolbarLocation = tinyMCE.getParam("theme_advanced_toolbar_location", "bottom");
+				var toolbarAlign = tinyMCE.getParam("theme_advanced_toolbar_align", "center");
+				var pathLocation = tinyMCE.getParam("theme_advanced_path_location", "none"); // Compatiblity
+				var statusbarLocation = tinyMCE.getParam("theme_advanced_statusbar_location", pathLocation);
+				var defVals = {
+					theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect",
+					theme_advanced_buttons2 : "bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code",
+					theme_advanced_buttons3 : "hr,removeformat,visualaid,separator,sub,sup,separator,charmap"
+				};
+
+				// Add accessibility control
+				toolbarHTML += '<a href="#" accesskey="q" title="' + tinyMCE.getLang("lang_toolbar_focus") + '"';
+
+				if (!tinyMCE.getParam("accessibility_focus"))
+					toolbarHTML += ' onfocus="tinyMCE.getInstanceById(\'' + editorId + '\').getWin().focus();"';
+
+				toolbarHTML += '></a>';
+
+				// Render rows
+				for (var i=1; i<100; i++) {
+					var def = defVals["theme_advanced_buttons" + i];
+
+					var buttons = tinyMCE.getParam("theme_advanced_buttons" + i, def == null ? '' : def, true, ',');
+					if (buttons.length == 0)
+						break;
+
+					buttons = removeFromArray(buttons, tinyMCE.getParam("theme_advanced_disable", "", true, ','));
+					buttons = addToArray(buttons, tinyMCE.getParam("theme_advanced_buttons" + i + "_add", "", true, ','));
+					buttons = addToArray(tinyMCE.getParam("theme_advanced_buttons" + i + "_add_before", "", true, ','), buttons);
+
+					for (var b=0; b<buttons.length; b++)
+						toolbarHTML += tinyMCE.getControlHTML(buttons[b]);
+
+					if (buttons.length > 0) {
+						toolbarHTML += "<br />";
+						deltaHeight -= 23;
+					}
+				}
+
+				// Add accessibility control
+				toolbarHTML += '<a href="#" accesskey="z" onfocus="tinyMCE.getInstanceById(\'' + editorId + '\').getWin().focus();"></a>';
+
+				// Setup template html
+				template['html'] = '<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}" style="width:{$width_style};height:{$height_style}"><tbody>';
+
+				if (toolbarLocation == "top") {
+					template['html'] += '<tr><td class="mceToolbarTop" align="' + toolbarAlign + '" height="1" nowrap="nowrap"><span id="' + editorId + '_toolbar" class="mceToolbarContainer">' + toolbarHTML + '</span></td></tr>';
+				}
+
+				if (statusbarLocation == "top") {
+					template['html'] += '<tr><td class="mceStatusbarTop" height="1">' + statusbarHTML + '</td></tr>';
+					deltaHeight -= 23;
+				}
+
+				template['html'] += '<tr><td align="center"><span id="{$editor_id}"></span></td></tr>';
+
+				if (toolbarLocation == "bottom") {
+					template['html'] += '<tr><td class="mceToolbarBottom" align="' + toolbarAlign + '" height="1"><span id="' + editorId + '_toolbar" class="mceToolbarContainer">' + toolbarHTML + '</span></td></tr>';
+				}
+
+				// External toolbar changes
+				if (toolbarLocation == "external") {
+					var bod = document.body;
+					var elm = document.createElement ("div");
+
+					toolbarHTML = tinyMCE.replaceVar(toolbarHTML, 'style_select_options', styleSelectHTML);
+					toolbarHTML = tinyMCE.applyTemplate(toolbarHTML, {editor_id : editorId});
+
+					elm.className = "mceToolbarExternal";
+					elm.id = editorId+"_toolbar";
+					elm.innerHTML = '<table width="100%" border="0" align="center"><tr><td align="center">'+toolbarHTML+'</td></tr></table>';
+					bod.appendChild (elm);
+					// bod.style.marginTop = elm.offsetHeight + "px";
+
+					deltaHeight = 0;
+					tinyMCE.getInstanceById(editorId).toolbarElement = elm;
+
+					//template['html'] = '<div id="mceExternalToolbar" align="center" class="mceToolbarExternal"><table width="100%" border="0" align="center"><tr><td align="center">'+toolbarHTML+'</td></tr></table></div>' + template["html"];
+				} else {
+					tinyMCE.getInstanceById(editorId).toolbarElement = null;
+				}
+
+				if (statusbarLocation == "bottom") {
+					template['html'] += '<tr><td class="mceStatusbarBottom" height="1">' + statusbarHTML + '</td></tr>';
+					deltaHeight -= 23;
+				}
+
+				template['html'] += '</tbody></table>';
+				//"SimpleLayout"
+			break;
+
+			case "RowLayout" : //Container Layout - containers defined in "theme_advanced_containers" are rendered from top to bottom.
+				template['html'] = '<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}" style="width:{$width}px;height:{$height}px"><tbody>';
+
+				var containers = tinyMCE.getParam("theme_advanced_containers", "", true, ",");
+				var defaultContainerCSS = tinyMCE.getParam("theme_advanced_containers_default_class", "container");
+				var defaultContainerAlign = tinyMCE.getParam("theme_advanced_containers_default_align", "center");
+
+				//Render Containers:
+				for (var i = 0; i < containers.length; i++)
+				{
+					if (containers[i] == "mceEditor") //Exceptions for mceEditor and ...
+						template['html'] += '<tr><td align="center" class="mceEditor_border"><span id="{$editor_id}"></span></td></tr>';
+					else if (containers[i] == "mceElementpath" || containers[i] == "mceStatusbar") // ... mceElementpath:
+					{
+						var pathClass = "mceStatusbar";
+
+						if (i == containers.length-1)
+						{
+							pathClass = "mceStatusbarBottom";
+						}
+						else if (i == 0)
+						{
+							pathClass = "mceStatusbar";
+						}
+						else
+						{
+							deltaHeight-=2;
+						}
+
+						template['html'] += '<tr><td class="' + pathClass + '" height="1">' + statusbarHTML + '</td></tr>';
+						deltaHeight -= 22;
+					} else { // Render normal Container
+						var curContainer = tinyMCE.getParam("theme_advanced_container_"+containers[i], "", true, ',');
+						var curContainerHTML = "";
+						var curAlign = tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_align", defaultContainerAlign);
+						var curCSS = tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_class", defaultContainerCSS);
+
+						curContainer = removeFromArray(curContainer, tinyMCE.getParam("theme_advanced_disable", "", true, ','));
+
+						for (var j=0; j<curContainer.length; j++)
+							curContainerHTML += tinyMCE.getControlHTML(curContainer[j]);
+
+						if (curContainer.length > 0) {
+							curContainerHTML += "<br />";
+							deltaHeight -= 23;
+						}
+
+						template['html'] += '<tr><td class="' + curCSS + '" align="' + curAlign + '" height="1">' + curContainerHTML + '</td></tr>';
+					}
+				}
+
+				template['html'] += '</tbody></table>';
+				//RowLayout
+			break;
+
+			case "CustomLayout" : //User defined layout callback...
+				var customLayout = tinyMCE.getParam("theme_advanced_custom_layout","");
+
+				if (customLayout != "" && eval("typeof(" + customLayout + ")") != "undefined") {
+					template = eval(customLayout + "(template);");
+				}
+			break;
+		}
+
+		if (resizing)
+			template['html'] += '<span id="{$editor_id}_resize_box" class="mceResizeBox"></span>';
+
+		template['html'] = tinyMCE.replaceVar(template['html'], 'style_select_options', styleSelectHTML);
+		template['delta_width'] = 0;
+		template['delta_height'] = deltaHeight;
+
+		return template;
+	},
+
+	initInstance : function(inst) {
+		if (tinyMCE.getParam("theme_advanced_resizing", false)) {
+			if (tinyMCE.getParam("theme_advanced_resizing_use_cookie", true)) {
+				var w = TinyMCE_AdvancedTheme._getCookie("TinyMCE_" + inst.editorId + "_width");
+				var h = TinyMCE_AdvancedTheme._getCookie("TinyMCE_" + inst.editorId + "_height");
+
+				TinyMCE_AdvancedTheme._resizeTo(inst, w, h, tinyMCE.getParam("theme_advanced_resize_horizontal", true));
+			}
+		}
+
+		inst.addShortcut('ctrl', 'k', 'lang_link_desc', 'mceLink');
+	},
+
+	_handleMenuEvent : function(e) {
+		var te = tinyMCE.isMSIE ? window.event.srcElement : e.target;
+		tinyMCE._menuButtonEvent(e.type == "mouseover" ? "over" : "out", document.getElementById(te._switchId));
+
+		if (e.type == "click")
+			tinyMCE.execInstanceCommand(te._editor_id, te._command);
+	},
+
+	_hideMenus : function(id) {
+		var fcml = new TinyMCE_Layer(id + '_fcMenu'), bcml = new TinyMCE_Layer(id + '_bcMenu');
+
+		if (fcml.exists() && fcml.isVisible()) {
+			tinyMCE.switchClass(id + '_forecolor', 'mceMenuButton');
+			fcml.hide();
+		}
+
+		if (bcml.exists() && bcml.isVisible()) {
+			tinyMCE.switchClass(id + '_backcolor', 'mceMenuButton');
+			bcml.hide();
+		}
+	},
+
+	/**
+	 * Node change handler.
+	 */
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection, setup_content) {
+		var alignNode, breakOut, classNode;
+
+		function selectByValue(select_elm, value, first_index) {
+			first_index = typeof(first_index) == "undefined" ? false : true;
+
+			if (select_elm) {
+				for (var i=0; i<select_elm.options.length; i++) {
+					var ov = "" + select_elm.options[i].value;
+
+					if (first_index && ov.toLowerCase().indexOf(value.toLowerCase()) == 0) {
+						select_elm.selectedIndex = i;
+						return true;
+					}
+
+					if (ov == value) {
+						select_elm.selectedIndex = i;
+						return true;
+					}
+				}
+			}
+
+			return false;
+		};
+
+		function getAttrib(elm, name) {
+			return elm.getAttribute(name) ? elm.getAttribute(name) : "";
+		};
+
+		// No node provided
+		if (node == null)
+			return;
+
+		// Update path
+		var pathElm = document.getElementById(editor_id + "_path");
+		var inst = tinyMCE.getInstanceById(editor_id);
+		var doc = inst.getDoc();
+		TinyMCE_AdvancedTheme._hideMenus(editor_id);
+
+		if (pathElm) {
+			// Get node path
+			var parentNode = node;
+			var path = new Array();
+			
+			while (parentNode != null) {
+				if (parentNode.nodeName.toUpperCase() == "BODY") {
+					break;
+				}
+
+				// Only append element nodes to path
+				if (parentNode.nodeType == 1 && tinyMCE.getAttrib(parentNode, "class").indexOf('mceItemHidden') == -1) {
+					path[path.length] = parentNode;
+				}
+
+				parentNode = parentNode.parentNode;
+			}
+
+			// Setup HTML
+			var html = "";
+			for (var i=path.length-1; i>=0; i--) {
+				var nodeName = path[i].nodeName.toLowerCase();
+				var nodeData = "";
+
+				if (nodeName.indexOf("html:") == 0)
+					nodeName = nodeName.substring(5);
+
+				if (nodeName == "b") {
+					nodeName = "strong";
+				}
+
+				if (nodeName == "i") {
+					nodeName = "em";
+				}
+
+				if (nodeName == "span") {
+					var cn = tinyMCE.getAttrib(path[i], "class");
+					if (cn != "" && cn.indexOf('mceItem') == -1)
+						nodeData += "class: " + cn + " ";
+
+					var st = tinyMCE.getAttrib(path[i], "style");
+					if (st != "") {
+						st = tinyMCE.serializeStyle(tinyMCE.parseStyle(st));
+						nodeData += "style: " + st + " ";
+					}
+				}
+
+				if (nodeName == "font") {
+					if (tinyMCE.getParam("convert_fonts_to_spans"))
+						nodeName = "span";
+
+					var face = tinyMCE.getAttrib(path[i], "face");
+					if (face != "")
+						nodeData += "font: " + face + " ";
+
+					var size = tinyMCE.getAttrib(path[i], "size");
+					if (size != "")
+						nodeData += "size: " + size + " ";
+
+					var color = tinyMCE.getAttrib(path[i], "color");
+					if (color != "")
+						nodeData += "color: " + color + " ";
+				}
+
+				if (getAttrib(path[i], 'id') != "") {
+					nodeData += "id: " + path[i].getAttribute('id') + " ";
+				}
+
+				var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i], "class"), false);
+				if (className != "" && className.indexOf('mceItem') == -1)
+					nodeData += "class: " + className + " ";
+
+				if (getAttrib(path[i], 'src') != "") {
+					var src = tinyMCE.getAttrib(path[i], "mce_src");
+
+					if (src == "")
+						 src = tinyMCE.getAttrib(path[i], "src");
+
+					nodeData += "src: " + src + " ";
+				}
+
+				if (path[i].nodeName == 'A' && getAttrib(path[i], 'href') != "") {
+					var href = tinyMCE.getAttrib(path[i], "mce_href");
+
+					if (href == "")
+						 href = tinyMCE.getAttrib(path[i], "href");
+
+					nodeData += "href: " + href + " ";
+				}
+
+				className = tinyMCE.getAttrib(path[i], "class");
+				if ((nodeName == "img" || nodeName == "span") && className.indexOf('mceItem') != -1) {
+					nodeName = className.replace(/mceItem([a-z]+)/gi, '$1').toLowerCase();
+					nodeData = path[i].getAttribute('title');
+				}
+
+				if (nodeName == "a" && (anchor = tinyMCE.getAttrib(path[i], "name")) != "") {
+					nodeName = "a";
+					nodeName += "#" + anchor;
+					nodeData = "";
+				}
+
+				if (getAttrib(path[i], 'name').indexOf("mce_") != 0) {
+					var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i], "class"), false);
+					if (className != "" && className.indexOf('mceItem') == -1) {
+						nodeName += "." + className;
+					}
+				}
+
+				var cmd = 'tinyMCE.execInstanceCommand(\'' + editor_id + '\',\'mceSelectNodeDepth\',false,\'' + i + '\');';
+				html += '<a title="' + nodeData + '" href="javascript:' + cmd + '" onclick="' + cmd + 'return false;" onmousedown="return false;" target="_self" class="mcePathItem">' + nodeName + '</a>';
+
+				if (i > 0) {
+					html += " &raquo; ";
+				}
+			}
+
+			pathElm.innerHTML = '<a href="#" accesskey="x"></a>' + tinyMCE.getLang('lang_theme_path') + ": " + html + '&#160;';
+		}
+
+		// Reset old states
+		tinyMCE.switchClass(editor_id + '_justifyleft', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_justifyright', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_justifycenter', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_justifyfull', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_bold', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_italic', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_underline', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_strikethrough', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_bullist', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_numlist', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_sub', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_sup', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_anchor', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_link', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_unlink', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_outdent', 'mceButtonDisabled');
+		tinyMCE.switchClass(editor_id + '_image', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_hr', 'mceButtonNormal');
+
+		if (node.nodeName == "A" && tinyMCE.getAttrib(node, "class").indexOf('mceItemAnchor') != -1)
+			tinyMCE.switchClass(editor_id + '_anchor', 'mceButtonSelected');
+
+		// Get link
+		var anchorLink = tinyMCE.getParentElement(node, "a", "href");
+
+		if (anchorLink || any_selection) {
+			tinyMCE.switchClass(editor_id + '_link', anchorLink ? 'mceButtonSelected' : 'mceButtonNormal');
+			tinyMCE.switchClass(editor_id + '_unlink', anchorLink ? 'mceButtonSelected' : 'mceButtonNormal');
+		}
+
+		// Handle visual aid
+		tinyMCE.switchClass(editor_id + '_visualaid', visual_aid ? 'mceButtonSelected' : 'mceButtonNormal');
+
+		if (undo_levels != -1) {
+			tinyMCE.switchClass(editor_id + '_undo', 'mceButtonDisabled');
+			tinyMCE.switchClass(editor_id + '_redo', 'mceButtonDisabled');
+		}
+
+		// Within li, blockquote
+		if (tinyMCE.getParentElement(node, "li,blockquote"))
+			tinyMCE.switchClass(editor_id + '_outdent', 'mceButtonNormal');
+
+		// Has redo levels
+		if (undo_index != -1 && (undo_index < undo_levels-1 && undo_levels > 0))
+			tinyMCE.switchClass(editor_id + '_redo', 'mceButtonNormal');
+
+		// Has undo levels
+		if (undo_index != -1 && (undo_index > 0 && undo_levels > 0))
+			tinyMCE.switchClass(editor_id + '_undo', 'mceButtonNormal');
+
+		// Select class in select box
+		var selectElm = document.getElementById(editor_id + "_styleSelect");
+		
+		if (selectElm) {
+			TinyMCE_AdvancedTheme._setupCSSClasses(editor_id);
+
+			classNode = node;
+			breakOut = false;
+			var index = 0;
+
+			do {
+				if (classNode && classNode.className) {
+					for (var i=0; i<selectElm.options.length; i++) {
+						if (selectElm.options[i].value == classNode.className) {
+							index = i;
+							breakOut = true;
+							break;
+						}
+					}
+				}
+			} while (!breakOut && classNode != null && (classNode = classNode.parentNode) != null);
+
+			selectElm.selectedIndex = index;
+		}
+
+		// Select formatblock
+		var selectElm = document.getElementById(editor_id + "_formatSelect");
+		if (selectElm) {
+			var elm = tinyMCE.getParentElement(node, "p,div,h1,h2,h3,h4,h5,h6,pre,address");
+
+			if (elm)
+				selectByValue(selectElm, "<" + elm.nodeName.toLowerCase() + ">");
+			else
+				selectByValue(selectElm, "");
+		}
+
+		// Select fontselect
+		var selectElm = document.getElementById(editor_id + "_fontNameSelect");
+		if (selectElm) {
+			if (!tinyMCE.isSafari && !(tinyMCE.isMSIE && !tinyMCE.isOpera)) {
+				var face = inst.queryCommandValue('FontName');
+
+				face = face == null || face == "" ? "" : face;
+
+				selectByValue(selectElm, face, face != "");
+			} else {
+				var elm = tinyMCE.getParentElement(node, "font", "face");
+
+				if (elm) {
+					var family = tinyMCE.getAttrib(elm, "face");
+
+					if (family == '')
+						family = '' + elm.style.fontFamily;
+
+					if (!selectByValue(selectElm, family, family != ""))
+						selectByValue(selectElm, "");
+				} else
+					selectByValue(selectElm, "");
+			}
+		}
+
+		// Select fontsize
+		var selectElm = document.getElementById(editor_id + "_fontSizeSelect");
+		if (selectElm) {
+			if (!tinyMCE.isSafari && !tinyMCE.isOpera) {
+				var size = inst.queryCommandValue('FontSize');
+				selectByValue(selectElm, size == null || size == "" ? "0" : size);
+			} else {
+				var elm = tinyMCE.getParentElement(node, "font", "size");
+				if (elm) {
+					var size = tinyMCE.getAttrib(elm, "size");
+
+					if (size == '') {
+						var sizes = new Array('', '8px', '10px', '12px', '14px', '18px', '24px', '36px');
+
+						size = '' + elm.style.fontSize;
+
+						for (var i=0; i<sizes.length; i++) {
+							if (('' + sizes[i]) == size) {
+								size = i;
+								break;
+							}
+						}
+					}
+
+					if (!selectByValue(selectElm, size))
+						selectByValue(selectElm, "");
+				} else
+					selectByValue(selectElm, "0");
+			}
+		}
+
+		// Handle align attributes
+		alignNode = node;
+		breakOut = false;
+		do {
+			if (!alignNode.getAttribute || !alignNode.getAttribute('align'))
+				continue;
+
+			switch (alignNode.getAttribute('align').toLowerCase()) {
+				case "left":
+					tinyMCE.switchClass(editor_id + '_justifyleft', 'mceButtonSelected');
+					breakOut = true;
+				break;
+
+				case "right":
+					tinyMCE.switchClass(editor_id + '_justifyright', 'mceButtonSelected');
+					breakOut = true;
+				break;
+
+				case "middle":
+				case "center":
+					tinyMCE.switchClass(editor_id + '_justifycenter', 'mceButtonSelected');
+					breakOut = true;
+				break;
+
+				case "justify":
+					tinyMCE.switchClass(editor_id + '_justifyfull', 'mceButtonSelected');
+					breakOut = true;
+				break;
+			}
+		} while (!breakOut && (alignNode = alignNode.parentNode) != null);
+
+		// Div justification
+		var div = tinyMCE.getParentElement(node, "div");
+		if (div && div.style.textAlign == "center")
+			tinyMCE.switchClass(editor_id + '_justifycenter', 'mceButtonSelected');
+
+		// Do special text
+		if (!setup_content) {
+			// , "JustifyLeft", "_justifyleft", "JustifyCenter", "justifycenter", "JustifyRight", "justifyright", "JustifyFull", "justifyfull", "InsertUnorderedList", "bullist", "InsertOrderedList", "numlist", "InsertUnorderedList", "bullist", "Outdent", "outdent", "Indent", "indent", "subscript", "sub"
+			var ar = new Array("Bold", "_bold", "Italic", "_italic", "Strikethrough", "_strikethrough", "superscript", "_sup", "subscript", "_sub");
+			for (var i=0; i<ar.length; i+=2) {
+				if (inst.queryCommandState(ar[i]))
+					tinyMCE.switchClass(editor_id + ar[i+1], 'mceButtonSelected');
+			}
+
+			if (inst.queryCommandState("Underline") && (node.parentNode == null || node.parentNode.nodeName != "A"))
+				tinyMCE.switchClass(editor_id + '_underline', 'mceButtonSelected');
+		}
+
+		// Handle elements
+		do {
+			switch (node.nodeName) {
+				case "UL":
+					tinyMCE.switchClass(editor_id + '_bullist', 'mceButtonSelected');
+				break;
+
+				case "OL":
+					tinyMCE.switchClass(editor_id + '_numlist', 'mceButtonSelected');
+				break;
+
+				case "HR":
+					 tinyMCE.switchClass(editor_id + '_hr', 'mceButtonSelected');
+				break;
+
+				case "IMG":
+				if (getAttrib(node, 'name').indexOf('mce_') != 0 && tinyMCE.getAttrib(node, 'class').indexOf('mceItem') == -1) {
+					tinyMCE.switchClass(editor_id + '_image', 'mceButtonSelected');
+				}
+				break;
+			}
+		} while ((node = node.parentNode) != null);
+	},
+
+	// Private theme internal functions
+
+	// This function auto imports CSS classes into the class selection droplist
+	_setupCSSClasses : function(editor_id) {
+		var i, selectElm;
+
+		if (!TinyMCE_AdvancedTheme._autoImportCSSClasses)
+			return;
+
+		selectElm = document.getElementById(editor_id + '_styleSelect');
+
+		if (selectElm && selectElm.getAttribute('cssImported') != 'true') {
+			var csses = tinyMCE.getCSSClasses(editor_id);
+			if (csses && selectElm)	{
+				for (i=0; i<csses.length; i++)
+					selectElm.options[selectElm.options.length] = new Option(csses[i], csses[i]);
+			}
+
+			// Only do this once
+			if (csses != null && csses.length > 0)
+				selectElm.setAttribute('cssImported', 'true');
+		}
+	},
+
+	_setCookie : function(name, value, expires, path, domain, secure) {
+		var curCookie = name + "=" + escape(value) +
+			((expires) ? "; expires=" + expires.toGMTString() : "") +
+			((path) ? "; path=" + escape(path) : "") +
+			((domain) ? "; domain=" + domain : "") +
+			((secure) ? "; secure" : "");
+
+		document.cookie = curCookie;
+	},
+
+	_getCookie : function(name) {
+		var dc = document.cookie;
+		var prefix = name + "=";
+		var begin = dc.indexOf("; " + prefix);
+
+		if (begin == -1) {
+			begin = dc.indexOf(prefix);
+
+			if (begin != 0)
+				return null;
+		} else
+			begin += 2;
+
+		var end = document.cookie.indexOf(";", begin);
+
+		if (end == -1)
+			end = dc.length;
+
+		return unescape(dc.substring(begin + prefix.length, end));
+	},
+
+	_resizeTo : function(inst, w, h, set_w) {
+		var editorContainer = document.getElementById(inst.editorId + '_parent');
+		var tableElm = editorContainer.firstChild;
+		var iframe = inst.iframeElement;
+
+		if (w == null || w == "null") {
+			set_w = false;
+			w = 0;
+		}
+
+		if (h == null || h == "null")
+			return;
+
+		w = parseInt(w);
+		h = parseInt(h);
+
+		if (tinyMCE.isGecko) {
+			w += 2;
+			h += 2;
+		}
+
+		var dx = w - tableElm.clientWidth;
+		var dy = h - tableElm.clientHeight;
+
+		w = w < 1 ? 30 : w;
+		h = h < 1 ? 30 : h;
+
+		if (set_w)
+			tableElm.style.width = w + "px";
+
+		tableElm.style.height = h + "px";
+
+		iw = iframe.clientWidth + dx;
+		ih = iframe.clientHeight + dy;
+
+		iw = iw < 1 ? 30 : iw;
+		ih = ih < 1 ? 30 : ih;
+
+		if (tinyMCE.isGecko) {
+			iw -= 2;
+			ih -= 2;
+		}
+
+		if (set_w)
+			iframe.style.width = iw + "px";
+
+		iframe.style.height = ih + "px";
+
+		// Is it to small, make it bigger again
+		if (set_w) {
+			var tableBodyElm = tableElm.firstChild;
+			var minIframeWidth = tableBodyElm.scrollWidth;
+			if (inst.iframeElement.clientWidth < minIframeWidth) {
+				dx = minIframeWidth - inst.iframeElement.clientWidth;
+
+				inst.iframeElement.style.width = (iw + dx) + "px";
+			}
+		}
+
+		// Remove pesky table controls
+		inst.useCSS = false;
+	},
+
+	/**
+	 * Handles resizing events.
+	 */
+	_resizeEventHandler : function(e) {
+		var resizer = TinyMCE_AdvancedTheme._resizer;
+
+		// Do nothing
+		if (!resizer.resizing)
+			return;
+
+		e = typeof(e) == "undefined" ? window.event : e;
+
+		var dx = e.screenX - resizer.downX;
+		var dy = e.screenY - resizer.downY;
+		var resizeBox = resizer.resizeBox;
+		var editorId = resizer.editorId;
+
+		switch (e.type) {
+			case "mousemove":
+				var w, h;
+
+				w = resizer.width + dx;
+				h = resizer.height + dy;
+
+				w = w < 1 ? 1 : w;
+				h = h < 1 ? 1 : h;
+
+				if (resizer.horizontal)
+					resizeBox.style.width = w + "px";
+
+				resizeBox.style.height = h + "px";
+				break;
+
+			case "mouseup":
+				TinyMCE_AdvancedTheme._setResizing(e, editorId, false);
+				TinyMCE_AdvancedTheme._resizeTo(tinyMCE.getInstanceById(editorId), resizer.width + dx, resizer.height + dy, resizer.horizontal);
+
+				// Expire in a month
+				if (tinyMCE.getParam("theme_advanced_resizing_use_cookie", true)) {
+					var expires = new Date();
+					expires.setTime(expires.getTime() + 3600000 * 24 * 30);
+
+					// Set the cookies
+					TinyMCE_AdvancedTheme._setCookie("TinyMCE_" + editorId + "_width", "" + (resizer.horizontal ? resizer.width + dx : ""), expires);
+					TinyMCE_AdvancedTheme._setCookie("TinyMCE_" + editorId + "_height", "" + (resizer.height + dy), expires);
+				}
+				break;
+		}
+	},
+
+	/**
+	 * Starts/stops the editor resizing.
+	 */
+	_setResizing : function(e, editor_id, state) {
+		e = typeof(e) == "undefined" ? window.event : e;
+
+		var resizer = TinyMCE_AdvancedTheme._resizer;
+		var editorContainer = document.getElementById(editor_id + '_parent');
+		var editorArea = document.getElementById(editor_id + '_parent').firstChild;
+		var resizeBox = document.getElementById(editor_id + '_resize_box');
+		var inst = tinyMCE.getInstanceById(editor_id);
+
+		if (state) {
+			// Place box over editor area
+			var width = editorArea.clientWidth;
+			var height = editorArea.clientHeight;
+
+			resizeBox.style.width = width + "px";
+			resizeBox.style.height = height + "px";
+
+			resizer.iframeWidth = inst.iframeElement.clientWidth;
+			resizer.iframeHeight = inst.iframeElement.clientHeight;
+
+			// Hide editor and show resize box
+			editorArea.style.display = "none";
+			resizeBox.style.display = "block";
+
+			// Add event handlers, only once
+			if (!resizer.eventHandlers) {
+				if (tinyMCE.isMSIE)
+					tinyMCE.addEvent(document, "mousemove", TinyMCE_AdvancedTheme._resizeEventHandler);
+				else
+					tinyMCE.addEvent(window, "mousemove", TinyMCE_AdvancedTheme._resizeEventHandler);
+
+				tinyMCE.addEvent(document, "mouseup", TinyMCE_AdvancedTheme._resizeEventHandler);
+
+				resizer.eventHandlers = true;
+			}
+
+			resizer.resizing = true;
+			resizer.downX = e.screenX;
+			resizer.downY = e.screenY;
+			resizer.width = parseInt(resizeBox.style.width);
+			resizer.height = parseInt(resizeBox.style.height);
+			resizer.editorId = editor_id;
+			resizer.resizeBox = resizeBox;
+			resizer.horizontal = tinyMCE.getParam("theme_advanced_resize_horizontal", true);
+		} else {
+			resizer.resizing = false;
+			resizeBox.style.display = "none";
+			editorArea.style.display = tinyMCE.isMSIE && !tinyMCE.isOpera ? "block" : "table";
+			tinyMCE.execCommand('mceResetDesignMode');
+		}
+	},
+
+	_getColorHTML : function(id, n, cm) {
+		var i, h, cl;
+
+		h = '<span class="mceMenuLine"></span>';
+		cl = tinyMCE.getParam(n, TinyMCE_AdvancedTheme._defColors).split(',');
+
+		h += '<table class="mceColors"><tr>';
+		for (i=0; i<cl.length; i++) {
+			c = 'tinyMCE.execInstanceCommand(\'' + id + '\', \'' + cm + '\', false, \'#' + cl[i] + '\');';
+			h += '<td><a href="javascript:' + c + '" style="background-color: #' + cl[i] + '" onclick="' + c + ';return false;"></a></td>';
+
+			if ((i+1) % 8 == 0)
+				h += '</tr><tr>';
+		}
+
+		h += '</tr></table>';
+		/*
+		h += '<a href="" class="mceMoreColors">More colors</a>';
+		*/
+
+		return h;
+	},
+
+	_insertImage : function(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout) {
+		tinyMCE.execCommand('mceBeginUndoLevel');
+
+		if (src == "")
+			return;
+
+		if (!tinyMCE.imgElement && tinyMCE.isSafari) {
+			var html = "";
+
+			html += '<img src="' + src + '" alt="' + alt + '"';
+			html += ' border="' + border + '" hspace="' + hspace + '"';
+			html += ' vspace="' + vspace + '" width="' + width + '"';
+			html += ' height="' + height + '" align="' + align + '" title="' + title + '" onmouseover="' + onmouseover + '" onmouseout="' + onmouseout + '" />';
+
+			tinyMCE.execCommand("mceInsertContent", false, html);
+		} else {
+			if (!tinyMCE.imgElement && tinyMCE.selectedInstance) {
+				if (tinyMCE.isSafari)
+					tinyMCE.execCommand("mceInsertContent", false, '<img src="' + tinyMCE.uniqueURL + '" />');
+				else
+					tinyMCE.selectedInstance.contentDocument.execCommand("insertimage", false, tinyMCE.uniqueURL);
+
+				tinyMCE.imgElement = tinyMCE.getElementByAttributeValue(tinyMCE.selectedInstance.contentDocument.body, "img", "src", tinyMCE.uniqueURL);
+			}
+		}
+
+		if (tinyMCE.imgElement) {
+			var needsRepaint = false;
+			var msrc = src;
+
+			src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, tinyMCE.imgElement);");
+
+			if (tinyMCE.getParam('convert_urls'))
+				msrc = src;
+
+			if (onmouseover && onmouseover != "")
+				onmouseover = "this.src='" + eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseover, tinyMCE.imgElement);") + "';";
+
+			if (onmouseout && onmouseout != "")
+				onmouseout = "this.src='" + eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseout, tinyMCE.imgElement);") + "';";
+
+			// Use alt as title if it's undefined
+			if (typeof(title) == "undefined")
+				title = alt;
+
+			if (width != tinyMCE.imgElement.getAttribute("width") || height != tinyMCE.imgElement.getAttribute("height") || align != tinyMCE.imgElement.getAttribute("align"))
+				needsRepaint = true;
+
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'src', src);
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'mce_src', msrc);
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'alt', alt);
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'title', title);
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'align', align);
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'border', border, true);
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'hspace', hspace, true);
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'vspace', vspace, true);
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'width', width, true);
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'height', height, true);
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'onmouseover', onmouseover);
+			tinyMCE.setAttrib(tinyMCE.imgElement, 'onmouseout', onmouseout);
+
+			// Fix for bug #989846 - Image resize bug
+			if (width && width != "")
+				tinyMCE.imgElement.style.pixelWidth = width;
+
+			if (height && height != "")
+				tinyMCE.imgElement.style.pixelHeight = height;
+
+			if (needsRepaint)
+				tinyMCE.selectedInstance.repaint();
+		}
+
+		tinyMCE.execCommand('mceEndUndoLevel');
+	},
+
+	_insertLink : function(href, target, title, onclick, style_class) {
+		tinyMCE.execCommand('mceBeginUndoLevel');
+
+		if (tinyMCE.selectedInstance && tinyMCE.selectedElement && tinyMCE.selectedElement.nodeName.toLowerCase() == "img") {
+			var doc = tinyMCE.selectedInstance.getDoc();
+			var linkElement = tinyMCE.getParentElement(tinyMCE.selectedElement, "a");
+			var newLink = false;
+
+			if (!linkElement) {
+				linkElement = doc.createElement("a");
+				newLink = true;
+			}
+
+			var mhref = href;
+			var thref = eval(tinyMCE.settings['urlconverter_callback'] + "(href, linkElement);");
+			mhref = tinyMCE.getParam('convert_urls') ? href : mhref;
+
+			tinyMCE.setAttrib(linkElement, 'href', thref);
+			tinyMCE.setAttrib(linkElement, 'mce_href', mhref);
+			tinyMCE.setAttrib(linkElement, 'target', target);
+			tinyMCE.setAttrib(linkElement, 'title', title);
+			tinyMCE.setAttrib(linkElement, 'onclick', onclick);
+			tinyMCE.setAttrib(linkElement, 'class', style_class);
+
+			if (newLink) {
+				linkElement.appendChild(tinyMCE.selectedElement.cloneNode(true));
+				tinyMCE.selectedElement.parentNode.replaceChild(linkElement, tinyMCE.selectedElement);
+			}
+
+			return;
+		}
+
+		if (!tinyMCE.linkElement && tinyMCE.selectedInstance) {
+			if (tinyMCE.isSafari) {
+				tinyMCE.execCommand("mceInsertContent", false, '<a href="' + tinyMCE.uniqueURL + '">' + tinyMCE.selectedInstance.selection.getSelectedHTML() + '</a>');
+			} else
+				tinyMCE.selectedInstance.contentDocument.execCommand("createlink", false, tinyMCE.uniqueURL);
+
+			tinyMCE.linkElement = tinyMCE.getElementByAttributeValue(tinyMCE.selectedInstance.contentDocument.body, "a", "href", tinyMCE.uniqueURL);
+
+			var elementArray = tinyMCE.getElementsByAttributeValue(tinyMCE.selectedInstance.contentDocument.body, "a", "href", tinyMCE.uniqueURL);
+
+			for (var i=0; i<elementArray.length; i++) {
+				var mhref = href;
+				var thref = eval(tinyMCE.settings['urlconverter_callback'] + "(href, elementArray[i]);");
+				mhref = tinyMCE.getParam('convert_urls') ? href : mhref;
+
+				tinyMCE.setAttrib(elementArray[i], 'href', thref);
+				tinyMCE.setAttrib(elementArray[i], 'mce_href', mhref);
+				tinyMCE.setAttrib(elementArray[i], 'target', target);
+				tinyMCE.setAttrib(elementArray[i], 'title', title);
+				tinyMCE.setAttrib(elementArray[i], 'onclick', onclick);
+				tinyMCE.setAttrib(elementArray[i], 'class', style_class);
+			}
+
+			tinyMCE.linkElement = elementArray[0];
+		}
+
+		if (tinyMCE.linkElement) {
+			var mhref = href;
+			href = eval(tinyMCE.settings['urlconverter_callback'] + "(href, tinyMCE.linkElement);");
+			mhref = tinyMCE.getParam('convert_urls') ? href : mhref;
+
+			tinyMCE.setAttrib(tinyMCE.linkElement, 'href', href);
+			tinyMCE.setAttrib(tinyMCE.linkElement, 'mce_href', mhref);
+			tinyMCE.setAttrib(tinyMCE.linkElement, 'target', target);
+			tinyMCE.setAttrib(tinyMCE.linkElement, 'title', title);
+			tinyMCE.setAttrib(tinyMCE.linkElement, 'onclick', onclick);
+			tinyMCE.setAttrib(tinyMCE.linkElement, 'class', style_class);
+		}
+
+		tinyMCE.execCommand('mceEndUndoLevel');
+	}
+};
+
+tinyMCE.addTheme("advanced", TinyMCE_AdvancedTheme);
+
+// Add default buttons maps for advanced theme and all internal plugins
+tinyMCE.addButtonMap(TinyMCE_AdvancedTheme._buttonMap);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_ui.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_ui.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/editor_ui.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,118 @@
+.mceButtonNormal, .mceButtonOver, .mceButtonDown, .mceSeparator, .mceButtonDisabled, .mceButtonSelected {
+	margin-top: 1px;
+	margin-left: 1px;
+}
+
+.mceButtonNormal {
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-color: #F0F0EE;
+	cursor: hand
+}
+
+.mceButtonOver {
+	border-top: 1px solid buttonhighlight;
+	border-left: 1px solid buttonhighlight;
+	border-bottom: 1px solid buttonshadow;
+	border-right: 1px solid buttonshadow;
+	cursor: hand
+}
+
+.mceButtonDown {
+	border-bottom: 1px solid buttonhighlight;
+	border-right: 1px solid buttonhighlight;
+	border-top: 1px solid buttonshadow;
+	border-left: 1px solid buttonshadow;
+	cursor: hand
+}
+
+.mceButtonSelected {
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-color: #C0C0BB;
+	cursor: hand
+}
+
+.mceButtonDisabled {
+	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);
+	-moz-opacity:0.3;
+	opacity: 0.3;
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-color: #F0F0EE;
+	cursor: text
+}
+
+.mceSeparator {
+	border-top: 1px solid buttonhighlight;
+	border-left: 1px solid buttonhighlight;
+	border-bottom: 1px solid buttonshadow;
+	border-right: 1px solid buttonshadow;
+	margin-right: 2px;
+	margin-left: 2px;
+}
+
+.mceSeparatorLine {
+	margin:2px;
+	margin-left: 4px;
+	background-color: #F0F0EE;
+	border-top: 1px solid buttonshadow;
+	border-left: 1px solid buttonshadow;
+	border-bottom: 1px solid buttonhighlight;
+	border-right: 1px solid buttonhighlight;
+	width: 0px;
+	height: 15px;
+}
+
+.mceSelectList {
+	font-family: "MS Sans Serif";
+	font-size: 7pt;
+	font-weight: normal;
+	margin-top: 3px;
+	padding: 0px;
+	display: inline;
+	vertical-align: top;
+	background-color: #F0F0EE
+}
+
+.mceLabel, .mceLabelDisabled {
+	font-family: "MS Sans Serif";
+	font-size: 9pt;
+}
+
+.mceLabel {
+	color: #000000;
+}
+
+.mceLabelDisabled {
+	cursor: text;
+	color: #999999;
+}
+
+.mceEditor {
+	background: #F0F0EE;
+	border: 1px solid #cccccc;
+}
+
+.mceEditorArea {
+	font-family: "MS Sans Serif";
+	background: #FFFFFF;
+}
+
+.mceToolbarTop, .mceToolbarBottom {
+	background: #F0F0EE;
+}
+
+.mceToolbarTop {
+	border-bottom: 1px solid #cccccc;
+}
+
+.mceToolbarBottom {
+	border-top: 1px solid #cccccc;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/image.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/image.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/image.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,100 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_insert_image_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/image.js"></script>
+	<base target="_self" />
+</head>
+<body id="image" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+<form onsubmit="insertImage();return false;" action="#">
+	<div class="tabs">
+		<ul>
+			<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_insert_image_title}</a></span></li>
+		</ul>
+	</div>
+
+	<div class="panel_wrapper">
+		<div id="general_panel" class="panel current">
+     <table border="0" cellpadding="4" cellspacing="0">
+          <tr>
+            <td nowrap="nowrap"><label for="src">{$lang_insert_image_src}</label></td>
+            <td><table border="0" cellspacing="0" cellpadding="0">
+                <tr>
+                  <td><input id="src" name="src" type="text" value="" style="width: 200px" onchange="getImageData();"></td>
+                  <td id="srcbrowsercontainer">&nbsp;</td>
+                </tr>
+              </table></td>
+          </tr>
+		  <!-- Image list -->
+		  <script language="javascript">
+			if (typeof(tinyMCEImageList) != "undefined" && tinyMCEImageList.length > 0) {
+				var html = "";
+
+				html += '<tr><td><label for="image_list">{$lang_image_list}</label></td>';
+				html += '<td><select id="image_list" name="image_list" style="width: 200px" onchange="this.form.src.value=this.options[this.selectedIndex].value;resetImageData();getImageData();">';
+				html += '<option value="">---</option>';
+
+				for (var i=0; i<tinyMCEImageList.length; i++)
+					html += '<option value="' + tinyMCEImageList[i][1] + '">' + tinyMCEImageList[i][0] + '</option>';
+
+				html += '</select></td></tr>';
+
+				document.write(html);
+			}
+		  </script>
+		  <!-- /Image list -->
+          <tr>
+            <td nowrap="nowrap"><label for="alt">{$lang_insert_image_alt}</label></td>
+            <td><input id="alt" name="alt" type="text" value="" style="width: 200px"></td>
+          </tr>
+          <tr>
+            <td nowrap="nowrap"><label for="align">{$lang_insert_image_align}</label></td>
+            <td><select id="align" name="align">
+                <option value="">{$lang_insert_image_align_default}</option>
+                <option value="baseline">{$lang_insert_image_align_baseline}</option>
+                <option value="top">{$lang_insert_image_align_top}</option>
+                <option value="middle">{$lang_insert_image_align_middle}</option>
+                <option value="bottom">{$lang_insert_image_align_bottom}</option>
+                <option value="texttop">{$lang_insert_image_align_texttop}</option>
+                <option value="absmiddle">{$lang_insert_image_align_absmiddle}</option>
+                <option value="absbottom">{$lang_insert_image_align_absbottom}</option>
+                <option value="left">{$lang_insert_image_align_left}</option>
+                <option value="right">{$lang_insert_image_align_right}</option>
+              </select></td>
+          </tr>
+          <tr>
+            <td nowrap="nowrap"><label for="width">{$lang_insert_image_dimensions}</label></td>
+            <td><input id="width" name="width" type="text" value="" size="3" maxlength="3">
+              x
+              <input id="height" name="height" type="text" value="" size="3" maxlength="3"></td>
+          </tr>
+          <tr>
+            <td nowrap="nowrap"><label for="border">{$lang_insert_image_border}</label></td>
+            <td><input id="border" name="border" type="text" value="" size="3" maxlength="3"></td>
+          </tr>
+          <tr>
+            <td nowrap="nowrap"><label for="vspace">{$lang_insert_image_vspace}</label></td>
+            <td><input id="vspace" name="vspace" type="text" value="" size="3" maxlength="3"></td>
+          </tr>
+          <tr>
+            <td nowrap="nowrap"><label for="hspace">{$lang_insert_image_hspace}</label></td>
+            <td><input id="hspace" name="hspace" type="text" value="" size="3" maxlength="3"></td>
+          </tr>
+        </table>
+		</div>
+	</div>
+
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertImage();" />
+		</div>
+
+		<div style="float: right">
+			<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/anchor.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/anchor.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/anchor_symbol.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/anchor_symbol.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/backcolor.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/backcolor.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_de_se.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_de_se.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_es.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_es.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_fr.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_fr.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_ru.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_ru.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_tw.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bold_tw.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/browse.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/browse.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bullist.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/bullist.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/button_menu.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/button_menu.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/buttons.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/buttons.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/cancel_button_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/cancel_button_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/center.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/center.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/charmap.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/charmap.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/cleanup.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/cleanup.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/close.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/close.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/code.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/code.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/color.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/color.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/copy.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/copy.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/custom_1.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/custom_1.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/cut.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/cut.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/forecolor.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/forecolor.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/full.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/full.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/help.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/help.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/hr.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/hr.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/image.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/image.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/indent.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/indent.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/insert_button_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/insert_button_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_de_se.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_de_se.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_es.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_es.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_ru.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_ru.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_tw.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/italic_tw.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifycenter.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifycenter.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifyfull.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifyfull.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifyleft.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifyleft.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifyright.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/justifyright.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/link.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/link.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/menu_check.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/menu_check.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/newdocument.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/newdocument.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/numlist.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/numlist.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/opacity.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/opacity.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/outdent.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/outdent.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/paste.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/paste.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/redo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/redo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/removeformat.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/removeformat.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/separator.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/separator.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/statusbar_resize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/statusbar_resize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/strikethrough.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/strikethrough.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/sub.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/sub.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/sup.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/sup.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_delete_col.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_delete_col.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_delete_row.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_delete_row.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_col_after.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_col_after.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_col_before.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_col_before.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_row_after.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_row_after.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_row_before.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/table_insert_row_before.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_es.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_es.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_fr.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_fr.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_ru.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_ru.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_tw.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/underline_tw.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/undo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/undo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/unlink.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/unlink.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/visualaid.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/visualaid.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_end.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_end.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tabs_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/images/xp/tabs_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/about.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/about.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/about.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,75 @@
+function init() {
+	var inst;
+
+	tinyMCEPopup.resizeToInnerSize();
+	inst = tinyMCE.selectedInstance;
+
+	// Give FF some time
+	window.setTimeout('insertHelpIFrame();', 10);
+
+	var tcont = document.getElementById('plugintablecontainer');
+	var plugins = tinyMCE.getParam('plugins', '', true, ',');
+	if (plugins.length == 0)
+		document.getElementById('plugins_tab').style.display = 'none';
+
+	var html = "";
+	html += '<table id="plugintable">';
+	html += '<thead>';
+	html += '<tr>';
+	html += '<td>' + tinyMCE.getLang('lang_plugin') + '</td>';
+	html += '<td>' + tinyMCE.getLang('lang_author') + '</td>';
+	html += '<td>' + tinyMCE.getLang('lang_version') + '</td>';
+	html += '</tr>';
+	html += '</thead>';
+	html += '<tbody>';
+
+	for (var i=0; i<inst.plugins.length; i++) {
+		var info = getPluginInfo(inst.plugins[i]);
+
+		html += '<tr>';
+
+		if (info.infourl != null && info.infourl != '')
+			html += '<td width="50%" title="' + plugins[i] + '"><a href="' + info.infourl + '" target="mceplugin">' + info.longname + '</a></td>';
+		else
+			html += '<td width="50%" title="' + plugins[i] + '">' + info.longname + '</td>';
+
+		if (info.authorurl != null && info.authorurl != '')
+			html += '<td width="35%"><a href="' + info.authorurl + '" target="mceplugin">' + info.author + '</a></td>';
+		else
+			html += '<td width="35%">' + info.author + '</td>';
+
+		html += '<td width="15%">' + info.version + '</td>';
+		html += '</tr>';
+	}
+
+	html += '</tbody>';
+	html += '</table>';
+
+	tcont.innerHTML = html;
+}
+
+function getPluginInfo(name) {
+	if (tinyMCE.plugins[name].getInfo)
+		return tinyMCE.plugins[name].getInfo();
+
+	return {
+		longname : name,
+		authorurl : '',
+		infourl : '',
+		author : '--',
+		version : '--'
+	};
+}
+
+function insertHelpIFrame() {
+	var html = '<iframe width="100%" height="300" src="' + tinyMCE.themeURL + "/docs/" + tinyMCE.settings['docs_language'] + "/index.htm" + '"></iframe>';
+
+	document.getElementById('iframecontainer').innerHTML = html;
+
+	html = '';
+	html += '<a href="http://www.moxiecode.com" target="_blank"><img src="http://tinymce.moxiecode.com/images/gotmoxie.png" alt="Got Moxie?" border="0" /></a> ';
+	html += '<a href="http://sourceforge.net/projects/tinymce/" target="_blank"><img src="http://sourceforge.net/sflogo.php?group_id=103281" alt="Hosted By Sourceforge" border="0" /></a> ';
+	html += '<a href="http://www.freshmeat.net/projects/tinymce" target="_blank"><img src="http://tinymce.moxiecode.com/images/fm.gif" alt="Also on freshmeat" border="0" /></a> ';
+
+	document.getElementById('buttoncontainer').innerHTML = html;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/anchor.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/anchor.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/anchor.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,74 @@
+var action, element;
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
+	var anchor = tinyMCE.getParentElement(inst.getFocusElement(), "a", "name");
+	var img = inst.getFocusElement();
+	action = 'insert';
+
+	if (anchor != null) {
+		element = anchor;
+		action = "update";
+	}
+
+	if (tinyMCE.getAttrib(img, "class") == "mceItemAnchor") {
+		element = img;
+		action = "update";
+	}
+
+	if (action == "update")
+		document.forms[0].anchorName.value = element.nodeName == "IMG" ? element.getAttribute("title") : element.getAttribute("name");
+
+	document.forms[0].insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true);
+}
+
+function insertAnchor() {
+	var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id'));
+	var name = document.forms[0].anchorName.value, e;
+
+	tinyMCEPopup.execCommand("mceBeginUndoLevel");
+
+	if (action == "update") {
+		if (element.nodeName == "IMG")
+			element.setAttribute("title", name);
+		else
+			element.setAttribute("name", name);
+	} else {
+		var rng = inst.getRng();
+
+		if (rng.collapse)
+			rng.collapse(false);
+
+		name = name.replace(/&/g, '&amp;');
+		name = name.replace(/\"/g, '&quot;');
+		name = name.replace(/</g, '&lt;');
+		name = name.replace(/>/g, '&gt;');
+
+		// Fix for bug #1447335
+		if (tinyMCE.isGecko)
+			html = '<a id="mceNewAnchor" name="' + name + '"></a>';
+		else
+			html = '<a name="' + name + '"></a>';
+
+		tinyMCEPopup.execCommand("mceInsertContent", false, html);
+
+		// Fix for bug #1447335 force cursor after the anchor element
+		if (tinyMCE.isGecko) {
+			e = inst.getDoc().getElementById('mceNewAnchor');
+
+			if (e) {
+				inst.selection.selectNode(e, true, false, false);
+				e.removeAttribute('id');
+			}
+		}
+
+		tinyMCE.handleVisualAid(inst.getBody(), true, inst.visualAid, inst);
+	}
+
+	tinyMCEPopup.execCommand("mceEndUndoLevel");
+
+	tinyMCE.triggerNodeChange();
+	tinyMCEPopup.close();
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/charmap.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/charmap.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/charmap.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,326 @@
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+}
+
+var charmap = new Array();
+
+// for mor details please see w3c.org
+// now here is the complete list ;)
+
+charmap = [
+	['&nbsp;',    '&#160;',  true, 'no-break space'],
+	['&amp;',     '&#38;',   true, 'ampersand'],
+	['&quot;',    '&#34;',   true, 'quotation mark'],
+// finance
+	['&cent;',    '&#162;',  true, 'cent sign'],
+	['&euro;',    '&#8364;', true, 'euro sign'],
+	['&pound;',   '&#163;',  true, 'pound sign'],
+	['&yen;',     '&#165;',  true, 'yen sign'],
+// signs
+	['&copy;',    '&#169;',  true, 'copyright sign'],
+	['&reg;',     '&#174;',  true, 'registered sign'],
+	['&trade;',   '&#8482;', true, 'trade mark sign'],
+	['&permil;',  '&#8240;', true, 'per mille sign'],
+	['&micro;',   '&#181;',  true, 'micro sign'],
+	['&middot;',  '&#183;',  true, 'middle dot'],
+	['&bull;',    '&#8226;', true, 'bullet'],
+	['&hellip;',  '&#8230;', true, 'three dot leader'],
+	['&prime;',   '&#8242;', true, 'minutes / feet'],
+	['&Prime;',   '&#8243;', true, 'seconds / inches'],
+	['&sect;',    '&#167;',  true, 'section sign'],
+	['&para;',    '&#182;',  true, 'paragraph sign'],
+	['&szlig;',   '&#223;',  true, 'sharp s / ess-zed'],
+// quotations
+	['&lsaquo;',  '&#8249;', true, 'single left-pointing angle quotation mark'],
+	['&rsaquo;',  '&#8250;', true, 'single right-pointing angle quotation mark'],
+	['&laquo;',   '&#171;',  true, 'left pointing guillemet'],
+	['&raquo;',   '&#187;',  true, 'right pointing guillemet'],
+	['&lsquo;',   '&#8216;', true, 'left single quotation mark'],
+	['&rsquo;',   '&#8217;', true, 'right single quotation mark'],
+	['&ldquo;',   '&#8220;', true, 'left double quotation mark'],
+	['&rdquo;',   '&#8221;', true, 'right double quotation mark'],
+	['&sbquo;',   '&#8218;', true, 'single low-9 quotation mark'],
+	['&bdquo;',   '&#8222;', true, 'double low-9 quotation mark'],
+	['&lt;',      '&#60;',   true, 'less-than sign'],
+	['&gt;',      '&#62;',   true, 'greater-than sign'],
+	['&le;',      '&#8804;', true, 'less-than or equal to'],
+	['&ge;',      '&#8805;', true, 'greater-than or equal to'],
+	['&ndash;',   '&#8211;', true, 'en dash'],
+	['&mdash;',   '&#8212;', true, 'em dash'],
+	['&macr;',    '&#175;',  true, 'macron'],
+	['&oline;',   '&#8254;', true, 'overline'],
+	['&curren;',  '&#164;',  true, 'currency sign'],
+	['&brvbar;',  '&#166;',  true, 'broken bar'],
+	['&uml;',     '&#168;',  true, 'diaeresis'],
+	['&iexcl;',   '&#161;',  true, 'inverted exclamation mark'],
+	['&iquest;',  '&#191;',  true, 'turned question mark'],
+	['&circ;',    '&#710;',  true, 'circumflex accent'],
+	['&tilde;',   '&#732;',  true, 'small tilde'],
+	['&deg;',     '&#176;',  true, 'degree sign'],
+	['&minus;',   '&#8722;', true, 'minus sign'],
+	['&plusmn;',  '&#177;',  true, 'plus-minus sign'],
+	['&divide;',  '&#247;',  true, 'division sign'],
+	['&frasl;',   '&#8260;', true, 'fraction slash'],
+	['&times;',   '&#215;',  true, 'multiplication sign'],
+	['&sup1;',    '&#185;',  true, 'superscript one'],
+	['&sup2;',    '&#178;',  true, 'superscript two'],
+	['&sup3;',    '&#179;',  true, 'superscript three'],
+	['&frac14;',  '&#188;',  true, 'fraction one quarter'],
+	['&frac12;',  '&#189;',  true, 'fraction one half'],
+	['&frac34;',  '&#190;',  true, 'fraction three quarters'],
+// math / logical
+	['&fnof;',    '&#402;',  true, 'function / florin'],
+	['&int;',     '&#8747;', true, 'integral'],
+	['&sum;',     '&#8721;', true, 'n-ary sumation'],
+	['&infin;',   '&#8734;', true, 'infinity'],
+	['&radic;',   '&#8730;', true, 'square root'],
+	['&sim;',     '&#8764;', false,'similar to'],
+	['&cong;',    '&#8773;', false,'approximately equal to'],
+	['&asymp;',   '&#8776;', true, 'almost equal to'],
+	['&ne;',      '&#8800;', true, 'not equal to'],
+	['&equiv;',   '&#8801;', true, 'identical to'],
+	['&isin;',    '&#8712;', false,'element of'],
+	['&notin;',   '&#8713;', false,'not an element of'],
+	['&ni;',      '&#8715;', false,'contains as member'],
+	['&prod;',    '&#8719;', true, 'n-ary product'],
+	['&and;',     '&#8743;', false,'logical and'],
+	['&or;',      '&#8744;', false,'logical or'],
+	['&not;',     '&#172;',  true, 'not sign'],
+	['&cap;',     '&#8745;', true, 'intersection'],
+	['&cup;',     '&#8746;', false,'union'],
+	['&part;',    '&#8706;', true, 'partial differential'],
+	['&forall;',  '&#8704;', false,'for all'],
+	['&exist;',   '&#8707;', false,'there exists'],
+	['&empty;',   '&#8709;', false,'diameter'],
+	['&nabla;',   '&#8711;', false,'backward difference'],
+	['&lowast;',  '&#8727;', false,'asterisk operator'],
+	['&prop;',    '&#8733;', false,'proportional to'],
+	['&ang;',     '&#8736;', false,'angle'],
+// undefined
+	['&acute;',   '&#180;',  true, 'acute accent'],
+	['&cedil;',   '&#184;',  true, 'cedilla'],
+	['&ordf;',    '&#170;',  true, 'feminine ordinal indicator'],
+	['&ordm;',    '&#186;',  true, 'masculine ordinal indicator'],
+	['&dagger;',  '&#8224;', true, 'dagger'],
+	['&Dagger;',  '&#8225;', true, 'double dagger'],
+// alphabetical special chars
+	['&Agrave;',  '&#192;',  true, 'A - grave'],
+	['&Aacute;',  '&#193;',  true, 'A - acute'],
+	['&Acirc;',   '&#194;',  true, 'A - circumflex'],
+	['&Atilde;',  '&#195;',  true, 'A - tilde'],
+	['&Auml;',    '&#196;',  true, 'A - diaeresis'],
+	['&Aring;',   '&#197;',  true, 'A - ring above'],
+	['&AElig;',   '&#198;',  true, 'ligature AE'],
+	['&Ccedil;',  '&#199;',  true, 'C - cedilla'],
+	['&Egrave;',  '&#200;',  true, 'E - grave'],
+	['&Eacute;',  '&#201;',  true, 'E - acute'],
+	['&Ecirc;',   '&#202;',  true, 'E - circumflex'],
+	['&Euml;',    '&#203;',  true, 'E - diaeresis'],
+	['&Igrave;',  '&#204;',  true, 'I - grave'],
+	['&Iacute;',  '&#205;',  true, 'I - acute'],
+	['&Icirc;',   '&#206;',  true, 'I - circumflex'],
+	['&Iuml;',    '&#207;',  true, 'I - diaeresis'],
+	['&ETH;',     '&#208;',  true, 'ETH'],
+	['&Ntilde;',  '&#209;',  true, 'N - tilde'],
+	['&Ograve;',  '&#210;',  true, 'O - grave'],
+	['&Oacute;',  '&#211;',  true, 'O - acute'],
+	['&Ocirc;',   '&#212;',  true, 'O - circumflex'],
+	['&Otilde;',  '&#213;',  true, 'O - tilde'],
+	['&Ouml;',    '&#214;',  true, 'O - diaeresis'],
+	['&Oslash;',  '&#216;',  true, 'O - slash'],
+	['&OElig;',   '&#338;',  true, 'ligature OE'],
+	['&Scaron;',  '&#352;',  true, 'S - caron'],
+	['&Ugrave;',  '&#217;',  true, 'U - grave'],
+	['&Uacute;',  '&#218;',  true, 'U - acute'],
+	['&Ucirc;',   '&#219;',  true, 'U - circumflex'],
+	['&Uuml;',    '&#220;',  true, 'U - diaeresis'],
+	['&Yacute;',  '&#221;',  true, 'Y - acute'],
+	['&Yuml;',    '&#376;',  true, 'Y - diaeresis'],
+	['&THORN;',   '&#222;',  true, 'THORN'],
+	['&agrave;',  '&#224;',  true, 'a - grave'],
+	['&aacute;',  '&#225;',  true, 'a - acute'],
+	['&acirc;',   '&#226;',  true, 'a - circumflex'],
+	['&atilde;',  '&#227;',  true, 'a - tilde'],
+	['&auml;',    '&#228;',  true, 'a - diaeresis'],
+	['&aring;',   '&#229;',  true, 'a - ring above'],
+	['&aelig;',   '&#230;',  true, 'ligature ae'],
+	['&ccedil;',  '&#231;',  true, 'c - cedilla'],
+	['&egrave;',  '&#232;',  true, 'e - grave'],
+	['&eacute;',  '&#233;',  true, 'e - acute'],
+	['&ecirc;',   '&#234;',  true, 'e - circumflex'],
+	['&euml;',    '&#235;',  true, 'e - diaeresis'],
+	['&igrave;',  '&#236;',  true, 'i - grave'],
+	['&iacute;',  '&#237;',  true, 'i - acute'],
+	['&icirc;',   '&#238;',  true, 'i - circumflex'],
+	['&iuml;',    '&#239;',  true, 'i - diaeresis'],
+	['&eth;',     '&#240;',  true, 'eth'],
+	['&ntilde;',  '&#241;',  true, 'n - tilde'],
+	['&ograve;',  '&#242;',  true, 'o - grave'],
+	['&oacute;',  '&#243;',  true, 'o - acute'],
+	['&ocirc;',   '&#244;',  true, 'o - circumflex'],
+	['&otilde;',  '&#245;',  true, 'o - tilde'],
+	['&ouml;',    '&#246;',  true, 'o - diaeresis'],
+	['&oslash;',  '&#248;',  true, 'o slash'],
+	['&oelig;',   '&#339;',  true, 'ligature oe'],
+	['&scaron;',  '&#353;',  true, 's - caron'],
+	['&ugrave;',  '&#249;',  true, 'u - grave'],
+	['&uacute;',  '&#250;',  true, 'u - acute'],
+	['&ucirc;',   '&#251;',  true, 'u - circumflex'],
+	['&uuml;',    '&#252;',  true, 'u - diaeresis'],
+	['&yacute;',  '&#253;',  true, 'y - acute'],
+	['&thorn;',   '&#254;',  true, 'thorn'],
+	['&yuml;',    '&#255;',  true, 'y - diaeresis'],
+    ['&Alpha;',   '&#913;',  true, 'Alpha'],
+	['&Beta;',    '&#914;',  true, 'Beta'],
+	['&Gamma;',   '&#915;',  true, 'Gamma'],
+	['&Delta;',   '&#916;',  true, 'Delta'],
+	['&Epsilon;', '&#917;',  true, 'Epsilon'],
+	['&Zeta;',    '&#918;',  true, 'Zeta'],
+	['&Eta;',     '&#919;',  true, 'Eta'],
+	['&Theta;',   '&#920;',  true, 'Theta'],
+	['&Iota;',    '&#921;',  true, 'Iota'],
+	['&Kappa;',   '&#922;',  true, 'Kappa'],
+	['&Lambda;',  '&#923;',  true, 'Lambda'],
+	['&Mu;',      '&#924;',  true, 'Mu'],
+	['&Nu;',      '&#925;',  true, 'Nu'],
+	['&Xi;',      '&#926;',  true, 'Xi'],
+	['&Omicron;', '&#927;',  true, 'Omicron'],
+	['&Pi;',      '&#928;',  true, 'Pi'],
+	['&Rho;',     '&#929;',  true, 'Rho'],
+	['&Sigma;',   '&#931;',  true, 'Sigma'],
+	['&Tau;',     '&#932;',  true, 'Tau'],
+	['&Upsilon;', '&#933;',  true, 'Upsilon'],
+	['&Phi;',     '&#934;',  true, 'Phi'],
+	['&Chi;',     '&#935;',  true, 'Chi'],
+	['&Psi;',     '&#936;',  true, 'Psi'],
+	['&Omega;',   '&#937;',  true, 'Omega'],
+	['&alpha;',   '&#945;',  true, 'alpha'],
+	['&beta;',    '&#946;',  true, 'beta'],
+	['&gamma;',   '&#947;',  true, 'gamma'],
+	['&delta;',   '&#948;',  true, 'delta'],
+	['&epsilon;', '&#949;',  true, 'epsilon'],
+	['&zeta;',    '&#950;',  true, 'zeta'],
+	['&eta;',     '&#951;',  true, 'eta'],
+	['&theta;',   '&#952;',  true, 'theta'],
+	['&iota;',    '&#953;',  true, 'iota'],
+	['&kappa;',   '&#954;',  true, 'kappa'],
+	['&lambda;',  '&#955;',  true, 'lambda'],
+	['&mu;',      '&#956;',  true, 'mu'],
+	['&nu;',      '&#957;',  true, 'nu'],
+	['&xi;',      '&#958;',  true, 'xi'],
+	['&omicron;', '&#959;',  true, 'omicron'],
+	['&pi;',      '&#960;',  true, 'pi'],
+	['&rho;',     '&#961;',  true, 'rho'],
+	['&sigmaf;',  '&#962;',  true, 'final sigma'],
+	['&sigma;',   '&#963;',  true, 'sigma'],
+	['&tau;',     '&#964;',  true, 'tau'],
+	['&upsilon;', '&#965;',  true, 'upsilon'],
+	['&phi;',     '&#966;',  true, 'phi'],
+	['&chi;',     '&#967;',  true, 'chi'],
+	['&psi;',     '&#968;',  true, 'psi'],
+	['&omega;',   '&#969;',  true, 'omega'],
+// symbols
+	['&alefsym;', '&#8501;', false,'alef symbol'],
+	['&piv;',     '&#982;',  false,'pi symbol'],
+	['&real;',    '&#8476;', false,'real part symbol'],
+	['&thetasym;','&#977;',  false,'theta symbol'],
+	['&upsih;',   '&#978;',  false,'upsilon - hook symbol'],
+	['&weierp;',  '&#8472;', false,'Weierstrass p'],
+	['&image;',   '&#8465;', false,'imaginary part'],
+// arrows
+	['&larr;',    '&#8592;', true, 'leftwards arrow'],
+	['&uarr;',    '&#8593;', true, 'upwards arrow'],
+	['&rarr;',    '&#8594;', true, 'rightwards arrow'],
+	['&darr;',    '&#8595;', true, 'downwards arrow'],
+	['&harr;',    '&#8596;', true, 'left right arrow'],
+	['&crarr;',   '&#8629;', false,'carriage return'],
+	['&lArr;',    '&#8656;', false,'leftwards double arrow'],
+	['&uArr;',    '&#8657;', false,'upwards double arrow'],
+	['&rArr;',    '&#8658;', false,'rightwards double arrow'],
+	['&dArr;',    '&#8659;', false,'downwards double arrow'],
+	['&hArr;',    '&#8660;', false,'left right double arrow'],
+	['&there4;',  '&#8756;', false,'therefore'],
+	['&sub;',     '&#8834;', false,'subset of'],
+	['&sup;',     '&#8835;', false,'superset of'],
+	['&nsub;',    '&#8836;', false,'not a subset of'],
+	['&sube;',    '&#8838;', false,'subset of or equal to'],
+	['&supe;',    '&#8839;', false,'superset of or equal to'],
+	['&oplus;',   '&#8853;', false,'circled plus'],
+	['&otimes;',  '&#8855;', false,'circled times'],
+	['&perp;',    '&#8869;', false,'perpendicular'],
+	['&sdot;',    '&#8901;', false,'dot operator'],
+	['&lceil;',   '&#8968;', false,'left ceiling'],
+	['&rceil;',   '&#8969;', false,'right ceiling'],
+	['&lfloor;',  '&#8970;', false,'left floor'],
+	['&rfloor;',  '&#8971;', false,'right floor'],
+	['&lang;',    '&#9001;', false,'left-pointing angle bracket'],
+	['&rang;',    '&#9002;', false,'right-pointing angle bracket'],
+	['&loz;',     '&#9674;', true,'lozenge'],
+	['&spades;',  '&#9824;', false,'black spade suit'],
+	['&clubs;',   '&#9827;', true, 'black club suit'],
+	['&hearts;',  '&#9829;', true, 'black heart suit'],
+	['&diams;',   '&#9830;', true, 'black diamond suit'],
+	['&ensp;',    '&#8194;', false,'en space'],
+	['&emsp;',    '&#8195;', false,'em space'],
+	['&thinsp;',  '&#8201;', false,'thin space'],
+	['&zwnj;',    '&#8204;', false,'zero width non-joiner'],
+	['&zwj;',     '&#8205;', false,'zero width joiner'],
+	['&lrm;',     '&#8206;', false,'left-to-right mark'],
+	['&rlm;',     '&#8207;', false,'right-to-left mark'],
+	['&shy;',     '&#173;',  false,'soft hyphen']
+];
+
+function renderCharMapHTML() {
+	var charsPerRow = 20, tdWidth=20, tdHeight=20;
+	var html = '<table border="0" cellspacing="1" cellpadding="0" width="' + (tdWidth*charsPerRow) + '"><tr height="' + tdHeight + '">';
+	var cols=-1;
+	for (var i=0; i<charmap.length; i++) {
+		if (charmap[i][2]==true) {
+			cols++;
+			html += ''
+				+ '<td width="' + tdWidth + '" height="' + tdHeight + '" class="charmap"'
+				+ ' onmouseover="this.className=\'charmapOver\';'
+				+ 'previewChar(\'' + charmap[i][1].substring(1,charmap[i][1].length) + '\',\'' + charmap[i][0].substring(1,charmap[i][0].length) + '\',\'' + charmap[i][3] + '\');"'
+				+ ' onmouseout="this.className=\'charmap\';"'
+				+ ' nowrap="nowrap" onclick="insertChar(\'' + charmap[i][1].substring(2,charmap[i][1].length-1) + '\');"><a style="text-decoration: none;" onfocus="previewChar(\'' + charmap[i][1].substring(1,charmap[i][1].length) + '\',\'' + charmap[i][0].substring(1,charmap[i][0].length) + '\',\'' + charmap[i][3] + '\');" href="javascript:insertChar(\'' + charmap[i][1].substring(2,charmap[i][1].length-1) + '\');" onclick="return false;" onmousedown="return false;" title="' + charmap[i][3] + '">'
+				+ charmap[i][1]
+				+ '</a></td>';
+			if ((cols+1) % charsPerRow == 0)
+				html += '</tr><tr height="' + tdHeight + '">';
+		}
+	 }
+	if (cols % charsPerRow > 0) {
+		var padd = charsPerRow - (cols % charsPerRow);
+		for (var i=0; i<padd-1; i++)
+			html += '<td width="' + tdWidth + '" height="' + tdHeight + '" class="charmap">&nbsp;</td>';
+	}
+	html += '</tr></table>';
+	document.write(html);
+}
+
+function insertChar(chr) {
+	tinyMCEPopup.execCommand('mceInsertContent', false, '&#' + chr + ';');
+
+	// Refocus in window
+	if (tinyMCEPopup.isWindow)
+		window.focus();
+
+	tinyMCEPopup.close();
+}
+
+function previewChar(codeA, codeB, codeN) {
+	var elmA = document.getElementById('codeA');
+	var elmB = document.getElementById('codeB');
+	var elmV = document.getElementById('codeV');
+	var elmN = document.getElementById('codeN');
+
+	if (codeA=='#160;') {
+		elmV.innerHTML = '__';
+	} else {
+		elmV.innerHTML = '&' + codeA;
+	}
+
+	elmB.innerHTML = '&amp;' + codeA;
+	elmA.innerHTML = '&amp;' + codeB;
+	elmN.innerHTML = codeN;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/color_picker.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/color_picker.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/color_picker.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,108 @@
+function init() {
+	if (tinyMCE.isMSIE)
+		tinyMCEPopup.resizeToInnerSize();
+}
+
+function selectColor() {
+	var color = document.getElementById("selectedColorBox").value;
+
+	tinyMCEPopup.execCommand(tinyMCE.getWindowArg('command'), false, color);
+	tinyMCEPopup.close();
+}
+
+function showColor(color) {
+	document.getElementById("selectedColor").style.backgroundColor = color;
+	document.getElementById("selectedColorBox").value = color;
+}
+
+var colors = new Array(
+	"#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033",
+	"#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099",
+	"#6600cc","#6600ff","#990000","#990033","#990066","#990099","#9900cc","#9900ff",
+	"#cc0000","#cc0033","#cc0066","#cc0099","#cc00cc","#cc00ff","#ff0000","#ff0033",
+	"#ff0066","#ff0099","#ff00cc","#ff00ff","#003300","#003333","#003366","#003399",
+	"#0033cc","#0033ff","#333300","#333333","#333366","#333399","#3333cc","#3333ff",
+	"#663300","#663333","#663366","#663399","#6633cc","#6633ff","#993300","#993333",
+	"#993366","#993399","#9933cc","#9933ff","#cc3300","#cc3333","#cc3366","#cc3399",
+	"#cc33cc","#cc33ff","#ff3300","#ff3333","#ff3366","#ff3399","#ff33cc","#ff33ff",
+	"#006600","#006633","#006666","#006699","#0066cc","#0066ff","#336600","#336633",
+	"#336666","#336699","#3366cc","#3366ff","#666600","#666633","#666666","#666699",
+	"#6666cc","#6666ff","#996600","#996633","#996666","#996699","#9966cc","#9966ff",
+	"#cc6600","#cc6633","#cc6666","#cc6699","#cc66cc","#cc66ff","#ff6600","#ff6633",
+	"#ff6666","#ff6699","#ff66cc","#ff66ff","#009900","#009933","#009966","#009999",
+	"#0099cc","#0099ff","#339900","#339933","#339966","#339999","#3399cc","#3399ff",
+	"#669900","#669933","#669966","#669999","#6699cc","#6699ff","#999900","#999933",
+	"#999966","#999999","#9999cc","#9999ff","#cc9900","#cc9933","#cc9966","#cc9999",
+	"#cc99cc","#cc99ff","#ff9900","#ff9933","#ff9966","#ff9999","#ff99cc","#ff99ff",
+	"#00cc00","#00cc33","#00cc66","#00cc99","#00cccc","#00ccff","#33cc00","#33cc33",
+	"#33cc66","#33cc99","#33cccc","#33ccff","#66cc00","#66cc33","#66cc66","#66cc99",
+	"#66cccc","#66ccff","#99cc00","#99cc33","#99cc66","#99cc99","#99cccc","#99ccff",
+	"#cccc00","#cccc33","#cccc66","#cccc99","#cccccc","#ccccff","#ffcc00","#ffcc33",
+	"#ffcc66","#ffcc99","#ffcccc","#ffccff","#00ff00","#00ff33","#00ff66","#00ff99",
+	"#00ffcc","#00ffff","#33ff00","#33ff33","#33ff66","#33ff99","#33ffcc","#33ffff",
+	"#66ff00","#66ff33","#66ff66","#66ff99","#66ffcc","#66ffff","#99ff00","#99ff33",
+	"#99ff66","#99ff99","#99ffcc","#99ffff","#ccff00","#ccff33","#ccff66","#ccff99",
+	"#ccffcc","#ccffff","#ffff00","#ffff33","#ffff66","#ffff99","#ffffcc","#ffffff"
+);
+
+function convertRGBToHex(col) {
+	var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi");
+
+	var rgb = col.replace(re, "$1,$2,$3").split(',');
+	if (rgb.length == 3) {
+		r = parseInt(rgb[0]).toString(16);
+		g = parseInt(rgb[1]).toString(16);
+		b = parseInt(rgb[2]).toString(16);
+
+		r = r.length == 1 ? '0' + r : r;
+		g = g.length == 1 ? '0' + g : g;
+		b = b.length == 1 ? '0' + b : b;
+
+		return "#" + r + g + b;
+	}
+
+	return col;
+}
+
+function convertHexToRGB(col) {
+	if (col.indexOf('#') != -1) {
+		col = col.replace(new RegExp('[^0-9A-F]', 'gi'), '');
+
+		r = parseInt(col.substring(0, 2), 16);
+		g = parseInt(col.substring(2, 4), 16);
+		b = parseInt(col.substring(4, 6), 16);
+
+		return "rgb(" + r + "," + g + "," + b + ")";
+	}
+
+	return col;
+}
+
+function renderColorMap() {
+	var html = "";
+	var inputColor = convertRGBToHex(tinyMCE.getWindowArg('input_color'));
+
+	html += '<table border="0" cellspacing="1" cellpadding="0">'
+		+ '<tr>';
+	for (var i=0; i<colors.length; i++) {
+		html += '<td bgcolor="' + colors[i] + '">'
+			+ '<a href="javascript:selectColor();" onfocus="showColor(\'' + colors[i] +  '\');" onmouseover="showColor(\'' + colors[i] +  '\');">'
+			+ '<img border="0" src="images/spacer.gif" width="10" height="10" title="' + colors[i] +  '" alt="' + colors[i] +  '" /></a></td>';
+		if ((i+1) % 18 == 0)
+			html += '</tr><tr>';
+	}
+	html += '<tr><td colspan="18">'
+		+ '<table width="100%" border="0" cellspacing="0" cellpadding="0">'
+		+ '<tr><td>'
+		+ '<img id="selectedColor" style="background-color:' + tinyMCE.getWindowArg('input_color') + '" border="0" src="images/spacer.gif" width="80" height="16" />'
+		+ '</td><td align="right">'
+		+ '<input id="selectedColorBox" name="selectedColorBox" type="text" size="7" maxlength="7" style="width:65px" value="' + inputColor + '" />'
+		+ '</td></tr>'
+		+ '</table>'
+		+ '<div style="float: left"><input type="button" id="insert" name="insert" value="{$lang_theme_colorpicker_apply}" style="margin-top:3px" onclick="selectColor();"></div>'
+		+ '<div style="float: right"><input type="button" name="cancel" value="{$lang_cancel}" style="margin-top:3px" onclick="tinyMCEPopup.close();" id="cancel" /></div>'
+		+ '</td></tr>'
+		+ '</table>';
+
+	document.write(html);
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/image.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/image.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/image.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,81 @@
+var url = tinyMCE.getParam("external_image_list_url");
+if (url != null) {
+	// Fix relative
+	if (url.charAt(0) != '/' && url.indexOf('://') == -1)
+		url = tinyMCE.documentBasePath + "/" + url;
+
+	document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></sc'+'ript>');
+}
+
+function insertImage() {
+	var src = document.forms[0].src.value;
+	var alt = document.forms[0].alt.value;
+	var border = document.forms[0].border.value;
+	var vspace = document.forms[0].vspace.value;
+	var hspace = document.forms[0].hspace.value;
+	var width = document.forms[0].width.value;
+	var height = document.forms[0].height.value;
+	var align = document.forms[0].align.options[document.forms[0].align.selectedIndex].value;
+
+	tinyMCEPopup.restoreSelection();
+	tinyMCE.themes['advanced']._insertImage(src, alt, border, hspace, vspace, width, height, align);
+	tinyMCEPopup.close();
+}
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image');
+
+	var formObj = document.forms[0];
+
+	for (var i=0; i<document.forms[0].align.options.length; i++) {
+		if (document.forms[0].align.options[i].value == tinyMCE.getWindowArg('align'))
+			document.forms[0].align.options.selectedIndex = i;
+	}
+
+	formObj.src.value = tinyMCE.getWindowArg('src');
+	formObj.alt.value = tinyMCE.getWindowArg('alt');
+	formObj.border.value = tinyMCE.getWindowArg('border');
+	formObj.vspace.value = tinyMCE.getWindowArg('vspace');
+	formObj.hspace.value = tinyMCE.getWindowArg('hspace');
+	formObj.width.value = tinyMCE.getWindowArg('width');
+	formObj.height.value = tinyMCE.getWindowArg('height');
+	formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'), 'Insert', true); 
+
+	// Handle file browser
+	if (isVisible('srcbrowser'))
+		document.getElementById('src').style.width = '180px';
+
+	// Auto select image in list
+	if (typeof(tinyMCEImageList) != "undefined" && tinyMCEImageList.length > 0) {
+		for (var i=0; i<formObj.image_list.length; i++) {
+			if (formObj.image_list.options[i].value == tinyMCE.getWindowArg('src'))
+				formObj.image_list.options[i].selected = true;
+		}
+	}
+}
+
+var preloadImg = new Image();
+
+function resetImageData() {
+	var formObj = document.forms[0];
+	formObj.width.value = formObj.height.value = "";	
+}
+
+function updateImageData() {
+	var formObj = document.forms[0];
+
+	if (formObj.width.value == "")
+		formObj.width.value = preloadImg.width;
+
+	if (formObj.height.value == "")
+		formObj.height.value = preloadImg.height;
+}
+
+function getImageData() {
+	preloadImg = new Image();
+	tinyMCE.addEvent(preloadImg, "load", updateImageData);
+	tinyMCE.addEvent(preloadImg, "error", function () {var formObj = document.forms[0];formObj.width.value = formObj.height.value = "";});
+	preloadImg.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], document.forms[0].src.value);
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/link.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/link.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/link.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,70 @@
+var url = tinyMCE.getParam("external_link_list_url");
+if (url != null) {
+	// Fix relative
+	if (url.charAt(0) != '/' && url.indexOf('://') == -1)
+		url = tinyMCE.documentBasePath + "/" + url;
+
+	document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></sc'+'ript>');
+}
+
+function init() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','theme_advanced_link');
+
+	// Handle file browser
+	if (isVisible('hrefbrowser'))
+		document.getElementById('href').style.width = '180px';
+
+	var formObj = document.forms[0];
+
+	for (var i=0; i<document.forms[0].target.options.length; i++) {
+		var option = document.forms[0].target.options[i];
+
+		if (option.value == tinyMCE.getWindowArg('target'))
+			option.selected = true;
+	}
+
+	document.forms[0].href.value = tinyMCE.getWindowArg('href');
+	document.forms[0].linktitle.value = tinyMCE.getWindowArg('title');
+	document.forms[0].insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'), 'Insert', true); 
+
+	addClassesToList('styleSelect', 'theme_advanced_link_styles');
+	selectByValue(formObj, 'styleSelect', tinyMCE.getWindowArg('className'), true);
+
+	// Hide css select row if no CSS classes
+	if (formObj.styleSelect && formObj.styleSelect.options.length <= 1) {
+		var sr = document.getElementById('styleSelectRow');
+		sr.style.display = 'none';
+		sr.parentNode.removeChild(sr);
+	}
+
+	// Auto select link in list
+	if (typeof(tinyMCELinkList) != "undefined" && tinyMCELinkList.length > 0) {
+		var formObj = document.forms[0];
+
+		for (var i=0; i<formObj.link_list.length; i++) {
+			if (formObj.link_list.options[i].value == tinyMCE.getWindowArg('href'))
+				formObj.link_list.options[i].selected = true;
+		}
+	}
+}
+
+function insertLink() {
+	var href = document.forms[0].href.value;
+	var target = document.forms[0].target.options[document.forms[0].target.selectedIndex].value;
+	var title = document.forms[0].linktitle.value;
+	var style_class = document.forms[0].styleSelect ? document.forms[0].styleSelect.value : "";
+	var dummy;
+
+	// Make anchors absolute
+	if (href.charAt(0) == '#')
+		href = tinyMCE.settings['document_base_url'] + href;
+
+	if (target == '_self')
+		target = '';
+
+	tinyMCEPopup.restoreSelection();
+	tinyMCE.themes['advanced']._insertLink(href, target, title, dummy, style_class);
+	tinyMCEPopup.close();
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/source_editor.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/source_editor.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/jscripts/source_editor.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,60 @@
+function saveContent() {
+	tinyMCE.setContent(document.getElementById('htmlSource').value);
+	tinyMCE.closeWindow(window);
+}
+
+function onLoadInit() {
+	tinyMCEPopup.resizeToInnerSize();
+
+	// Remove Gecko spellchecking
+	if (tinyMCE.isGecko)
+		document.body.spellcheck = tinyMCE.getParam("gecko_spellcheck");
+
+	document.getElementById('htmlSource').value = tinyMCE.getContent(tinyMCE.getWindowArg('editor_id'));
+
+	resizeInputs();
+
+	if (tinyMCE.getParam("theme_advanced_source_editor_wrap", true)) {
+		setWrap('soft');
+		document.getElementById('wraped').checked = true;
+	}
+}
+
+function setWrap(val) {
+	var s = document.getElementById('htmlSource');
+
+	s.wrap = val;
+
+	if (tinyMCE.isGecko) {
+		var v = s.value;
+		var n = s.cloneNode(false);
+		n.setAttribute("wrap", val);
+		s.parentNode.replaceChild(n, s);
+		n.value = v;
+	}
+}
+
+function toggleWordWrap(elm) {
+	if (elm.checked)
+		setWrap('soft');
+	else
+		setWrap('off');
+}
+
+var wHeight=0, wWidth=0, owHeight=0, owWidth=0;
+
+function resizeInputs() {
+	var el = document.getElementById('htmlSource');
+
+	if (!tinyMCE.isMSIE) {
+		 wHeight = self.innerHeight-80;
+		 wWidth = self.innerWidth-16;
+	} else {
+		 wHeight = document.body.clientHeight - 80;
+		 wWidth = document.body.clientWidth - 16;
+	}
+
+	el.style.height = Math.abs(wHeight) + 'px';
+	el.style.width  = Math.abs(wWidth) + 'px';
+}
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ar.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ar.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ar.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,72 @@
+// Arabic lang variables
+
+tinyMCELang['lang_theme_style_select'] = '&#1578;&#1589;&#1575;&#1605;&#1610;&#1605;';
+tinyMCELang['lang_theme_code_desc'] = '&#1588;&#1601;&#1585;&#1577; &#1575;&#1604;&#1605;&#1589;&#1583;&#1585;';
+tinyMCELang['lang_theme_code_title'] = '&#1588;&#1601;&#1585;&#1577; &#1575;&#1604;&#1605;&#1589;&#1583;&#1585;';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = '&#1605;&#1606;&#1582;&#1601;&#1590;';
+tinyMCELang['lang_theme_sup_desc'] = '&#1605;&#1585;&#1578;&#1601;&#1593;';
+tinyMCELang['lang_theme_hr_desc'] = '&#1573;&#1583;&#1585;&#1575;&#1580; &#1582;&#1591; &#1601;&#1575;&#1589;&#1604;';
+tinyMCELang['lang_theme_removeformat_desc'] = '&#1573;&#1586;&#1575;&#1604;&#1577; &#1575;&#1604;&#1578;&#1606;&#1587;&#1610;&#1602;&#1575;&#1578;';
+tinyMCELang['lang_theme_table_desc'] = '&#1573;&#1583;&#1585;&#1575;&#1580;/&#1578;&#1581;&#1585;&#1610;&#1585; &#1580;&#1583;&#1608;&#1604;';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Insert row before';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Insert row after';
+tinyMCELang['lang_theme_table_delete_row_desc'] = '&#1581;&#1584;&#1601; &#1589;&#1601;&#1608;&#1601;';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Insert column before';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Insert column after';
+tinyMCELang['lang_theme_table_delete_col_desc'] = '&#1581;&#1584;&#1601; &#1571;&#1593;&#1605;&#1583;&#1577;';
+tinyMCELang['lang_theme_custom1_desc'] = 'Your custom description here';
+tinyMCELang['lang_insert_image_border'] = '&#1587;&#1605;&#1603; &#1575;&#1604;&#1581;&#1583;&#1608;&#1583;';
+tinyMCELang['lang_insert_image_dimensions'] = '&#1575;&#1604;&#1605;&#1608;&#1575;&#1589;&#1601;&#1575;&#1578;';
+tinyMCELang['lang_insert_image_vspace'] = '&#1578;&#1576;&#1575;&#1593;&#1583; &#1593;&#1605;&#1608;&#1583;&#1610;';
+tinyMCELang['lang_insert_image_hspace'] = '&#1578;&#1576;&#1575;&#1593;&#1583; &#1571;&#1601;&#1602;&#1610;';
+tinyMCELang['lang_insert_image_align'] = '&#1605;&#1581;&#1575;&#1584;&#1575;&#1577;';
+tinyMCELang['lang_insert_image_align_default'] = 'Default';
+tinyMCELang['lang_insert_image_align_baseline'] = '&#1593;&#1604;&#1609; &#1575;&#1604;&#1587;&#1591;&#1585;';
+tinyMCELang['lang_insert_image_align_top'] = '&#1571;&#1593;&#1604;&#1609;';
+tinyMCELang['lang_insert_image_align_middle'] = '&#1608;&#1587;&#1591;';
+tinyMCELang['lang_insert_image_align_bottom'] = '&#1571;&#1587;&#1601;&#1604;';
+tinyMCELang['lang_insert_image_align_texttop'] = '&#1571;&#1593;&#1604;&#1609; &#1575;&#1604;&#1606;&#1589;';
+tinyMCELang['lang_insert_image_align_absmiddle'] = '&#1608;&#1587;&#1591; &#1575;&#1604;&#1587;&#1591;&#1585;';
+tinyMCELang['lang_insert_image_align_absbottom'] = '&#1571;&#1587;&#1601;&#1604; &#1575;&#1604;&#1606;&#1589;';
+tinyMCELang['lang_insert_image_align_left'] = '&#1610;&#1587;&#1575;&#1585;';
+tinyMCELang['lang_insert_image_align_right'] = '&#1610;&#1605;&#1610;&#1606;';
+tinyMCELang['lang_insert_table_title'] = '&#1573;&#1583;&#1585;&#1575;&#1580;/&#1578;&#1581;&#1585;&#1610;&#1585; &#1580;&#1583;&#1608;&#1604;';
+tinyMCELang['lang_insert_table_width'] = '&#1575;&#1604;&#1593;&#1585;&#1590;';
+tinyMCELang['lang_insert_table_height'] = '&#1575;&#1604;&#1575;&#1585;&#1578;&#1601;&#1575;&#1593;';
+tinyMCELang['lang_insert_table_cols'] = '&#1571;&#1593;&#1605;&#1583;&#1577;';
+tinyMCELang['lang_insert_table_rows'] = '&#1589;&#1601;&#1608;&#1601;';
+tinyMCELang['lang_insert_table_cellspacing'] = '&#1578;&#1576;&#1575;&#1593;&#1583; &#1575;&#1604;&#1582;&#1604;&#1575;&#1610;&#1575;';
+tinyMCELang['lang_insert_table_cellpadding'] = '&#1575;&#1604;&#1605;&#1587;&#1575;&#1601;&#1577; &#1575;&#1604;&#1576;&#1575;&#1583;&#1574;&#1577;';
+tinyMCELang['lang_insert_table_border'] = '&#1587;&#1605;&#1603; &#1575;&#1604;&#1581;&#1583;&#1608;&#1583;';
+tinyMCELang['lang_insert_table_align'] = '&#1575;&#1604;&#1605;&#1581;&#1575;&#1584;&#1575;&#1577;';
+tinyMCELang['lang_insert_table_align_default'] = 'Default';
+tinyMCELang['lang_insert_table_align_left'] = '&#1610;&#1587;&#1575;&#1585;';
+tinyMCELang['lang_insert_table_align_right'] = '&#1610;&#1605;&#1610;&#1606;';
+tinyMCELang['lang_insert_table_align_middle'] = '&#1608;&#1587;&#1591;';
+tinyMCELang['lang_insert_table_class'] = 'Class';
+tinyMCELang['lang_theme_fontdefault'] = 'Default';
+tinyMCELang['lang_theme_paragraph'] = 'Paragraph';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Address';
+tinyMCELang['lang_theme_pre'] = 'Preformatted';
+tinyMCELang['lang_theme_h1'] = 'Heading 1';
+tinyMCELang['lang_theme_h2'] = 'Heading 2';
+tinyMCELang['lang_theme_h3'] = 'Heading 3';
+tinyMCELang['lang_theme_h4'] = 'Heading 4';
+tinyMCELang['lang_theme_h5'] = 'Heading 5';
+tinyMCELang['lang_theme_h6'] = 'Heading 6';
+tinyMCELang['lang_theme_colorpicker_title'] = '&#1604;&#1608;&#1606; &#1575;&#1604;&#1606;&#1589;';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Apply';
+tinyMCELang['lang_theme_forecolor_desc'] = '&#1604;&#1608;&#1606; &#1575;&#1604;&#1606;&#1589;';
+tinyMCELang['lang_theme_charmap_title'] = '&#1573;&#1583;&#1585;&#1575;&#1580;  &#1585;&#1605;&#1586;..&#1616;';
+tinyMCELang['lang_theme_charmap_desc'] = '&#1573;&#1583;&#1585;&#1575;&#1580;  &#1585;&#1605;&#1586;..&#1616;';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Toggle guidelines/invisible elements';
+tinyMCELang['lang_insert_anchor_title'] = 'Insert/edit anchor';
+tinyMCELang['lang_insert_anchor_name'] = 'Anchor name';
+tinyMCELang['lang_theme_anchor_desc'] = 'Insert/edit anchor';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Title';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ca_fr.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ca_fr.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ca_fr.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,72 @@
+// Canadian French lang variables by Virtuelcom
+
+tinyMCELang['lang_theme_style_select'] = 'Styles';
+tinyMCELang['lang_theme_code_desc'] = 'Modifier le code source HTML';
+tinyMCELang['lang_theme_code_title'] = '&Eacute;diteur de code source HTML';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Souscrit';
+tinyMCELang['lang_theme_sup_desc'] = 'Indice sup&eacute;rieur';
+tinyMCELang['lang_theme_hr_desc'] = 'Ins&eacute;rer un s&eacute;parateur horizontal';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Supprimer le formattage';
+tinyMCELang['lang_theme_table_desc'] = 'Ins&eacute;rer un nouveau tableau';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Ins&eacute;rer une ligne avant';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Ins&eacute;rer une ligne apr&eacute;s';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Supprimer la ligne';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Ins&eacute;rer une colonne avant';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Ins&eacute;rer une colonne apr&eacute;s';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Supprimer la colonne';
+tinyMCELang['lang_theme_custom1_desc'] = 'Votre description personnalis&eacute;e ici';
+tinyMCELang['lang_insert_image_border'] = 'Bordure';
+tinyMCELang['lang_insert_image_dimensions'] = 'Dimensions';
+tinyMCELang['lang_insert_image_vspace'] = 'VSpace';
+tinyMCELang['lang_insert_image_hspace'] = 'HSpace';
+tinyMCELang['lang_insert_image_align'] = 'Alignement';
+tinyMCELang['lang_insert_image_align_default'] = 'D&eacute;faut';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Baseline';
+tinyMCELang['lang_insert_image_align_top'] = 'Haut';
+tinyMCELang['lang_insert_image_align_middle'] = 'Milieu';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Bas';
+tinyMCELang['lang_insert_image_align_texttop'] = 'TextTop';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Milieu absolu';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Bas absolu';
+tinyMCELang['lang_insert_image_align_left'] = 'Gauche';
+tinyMCELang['lang_insert_image_align_right'] = 'Droit';
+tinyMCELang['lang_insert_table_title'] = 'Ins&eacute;rer/Modifier le tableau';
+tinyMCELang['lang_insert_table_width'] = 'Largeur';
+tinyMCELang['lang_insert_table_height'] = 'Hauteur';
+tinyMCELang['lang_insert_table_cols'] = 'Colonnes';
+tinyMCELang['lang_insert_table_rows'] = 'Lignes';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Cellspacing';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Cellpadding';
+tinyMCELang['lang_insert_table_border'] = 'Bordure';
+tinyMCELang['lang_insert_table_align'] = 'Alignement';
+tinyMCELang['lang_insert_table_align_default'] = 'D&eacute;faut';
+tinyMCELang['lang_insert_table_align_left'] = 'Gauche';
+tinyMCELang['lang_insert_table_align_right'] = 'Droit';
+tinyMCELang['lang_insert_table_align_middle'] = 'Milieu';
+tinyMCELang['lang_insert_table_class'] = 'Classe CSS';
+tinyMCELang['lang_theme_fontdefault'] = 'D&eacute;faut';
+tinyMCELang['lang_theme_paragraph'] = 'Paragraphe';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Addresse';
+tinyMCELang['lang_theme_pre'] = 'Pr&eacute;formatt&eacute;';
+tinyMCELang['lang_theme_h1'] = 'Ent&ecirc;te 1';
+tinyMCELang['lang_theme_h2'] = 'Ent&ecirc;te 2';
+tinyMCELang['lang_theme_h3'] = 'Ent&ecirc;te 3';
+tinyMCELang['lang_theme_h4'] = 'Ent&ecirc;te 4';
+tinyMCELang['lang_theme_h5'] = 'Ent&ecirc;te 5';
+tinyMCELang['lang_theme_h6'] = 'Ent&ecirc;te 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Choisir une couleur';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Appliquer';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Choisir la couleur d\'avant plan';
+tinyMCELang['lang_theme_charmap_title'] = 'S&eacute;lectionner un charact&egrave;re sp&eacute;cial';
+tinyMCELang['lang_theme_charmap_desc'] = 'Ins&eacute;rer un charact&egrave;re sp&eacute;cial';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Active/D&eacute;sactive les lignes guides et les &eacute;l&eacute;ments invisibles';
+tinyMCELang['lang_insert_anchor_title'] = 'Ins&eacute;rer/Modifier une ancre';
+tinyMCELang['lang_insert_anchor_name'] = 'Nom de l\'ancre';
+tinyMCELang['lang_theme_anchor_desc'] = 'Ins&eacute;rer/Modifier une ancre';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Titre';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/cz.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/cz.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/cz.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,72 @@
+// CZ lang variables thanks to "Pavel Novák"
+
+tinyMCELang['lang_theme_style_select'] = 'Styly';
+tinyMCELang['lang_theme_code_desc'] = 'Zobrazit zdroj HTML';
+tinyMCELang['lang_theme_code_title'] = 'Editor HTML zdroje';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Dopln&#237; index';
+tinyMCELang['lang_theme_sup_desc'] = 'Horn&#237; index';
+tinyMCELang['lang_theme_hr_desc'] = 'Vlo&#190;it vodorovn&#253; odd&#236;lova&#232;';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Odebrat form&#225;tov&#225;n&#237;';
+tinyMCELang['lang_theme_table_desc'] = 'Vlo&#190;it novou tabulku';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Vlo&#190;it &#248;&#225;dek p&#248;ed';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Vlo&#190;it &#248;&#225;dek po';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Smazat &#248;&#225;dek';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Vlo&#190;it sloupec p&#248;ed';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Vlo&#190;it sloupec po';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Odstranit sloupec';
+tinyMCELang['lang_theme_custom1_desc'] = 'V&#225;&#185; libovoln&#253; popisek';
+tinyMCELang['lang_insert_image_border'] = 'R&#225;me&#232;ek';
+tinyMCELang['lang_insert_image_dimensions'] = 'Rozm&#236;ry';
+tinyMCELang['lang_insert_image_vspace'] = 'Vertik&#225;ln&#237; okraj';
+tinyMCELang['lang_insert_image_hspace'] = 'Horizont&#225;ln&#237; okraj';
+tinyMCELang['lang_insert_image_align'] = 'Zarovn&#225;n&#237;';
+tinyMCELang['lang_insert_image_align_default'] = 'V&#253;choz&#237;';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Na &#250;&#232;a&#248;&#237;';
+tinyMCELang['lang_insert_image_align_top'] = 'Nahoru';
+tinyMCELang['lang_insert_image_align_middle'] = 'Na st&#248;ed';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Dolu';
+tinyMCELang['lang_insert_image_align_texttop'] = 'Nejvy&#185;&#185;&#237; bod textu';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'St&#248;ed &#248;&#225;dku';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Spodek &#248;&#225;dku';
+tinyMCELang['lang_insert_image_align_left'] = 'Vlevo';
+tinyMCELang['lang_insert_image_align_right'] = 'Vpravo';
+tinyMCELang['lang_insert_table_title'] = 'Vlo&#190;it/upravit tabulku';
+tinyMCELang['lang_insert_table_width'] = '&#169;&#237;&#248;ka';
+tinyMCELang['lang_insert_table_height'] = 'V&#253;&#185;ka';
+tinyMCELang['lang_insert_table_cols'] = 'Sloupce';
+tinyMCELang['lang_insert_table_rows'] = '&#216;&#225;dky';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Vn&#236;j&#185;&#237; okraj bun&#236;k';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Vnit&#248;n&#237; okraj bun&#236;k';
+tinyMCELang['lang_insert_table_border'] = 'R&#225;me&#232;ek';
+tinyMCELang['lang_insert_table_align'] = 'Zarovn&#225;n&#237;';
+tinyMCELang['lang_insert_table_align_default'] = 'V&#253;choz&#237;';
+tinyMCELang['lang_insert_table_align_left'] = 'Vlevo';
+tinyMCELang['lang_insert_table_align_right'] = 'Vpravo';
+tinyMCELang['lang_insert_table_align_middle'] = 'Na st&#248;ed';
+tinyMCELang['lang_insert_table_class'] = 'Class';
+tinyMCELang['lang_theme_fontdefault'] = 'Default';
+tinyMCELang['lang_theme_paragraph'] = 'Paragraph';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Address';
+tinyMCELang['lang_theme_pre'] = 'Preformatted';
+tinyMCELang['lang_theme_h1'] = 'Heading 1';
+tinyMCELang['lang_theme_h2'] = 'Heading 2';
+tinyMCELang['lang_theme_h3'] = 'Heading 3';
+tinyMCELang['lang_theme_h4'] = 'Heading 4';
+tinyMCELang['lang_theme_h5'] = 'Heading 5';
+tinyMCELang['lang_theme_h6'] = 'Heading 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Select a color';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Apply';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Select forecolor';
+tinyMCELang['lang_theme_charmap_title'] = 'Select custom character';
+tinyMCELang['lang_theme_charmap_desc'] = 'Insert custom character';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Toggle guidelines/invisible elements';
+tinyMCELang['lang_insert_anchor_title'] = 'Insert/edit anchor';
+tinyMCELang['lang_insert_anchor_name'] = 'Anchor name';
+tinyMCELang['lang_theme_anchor_desc'] = 'Insert/edit anchor';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Title';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/de.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/de.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/de.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,75 @@
+// DE lang variables
+// Translated 2004 by Crazy Chrissi
+// Edited 2004 by Krokogras
+
+tinyMCELang['lang_theme_style_select'] = 'Styles';
+tinyMCELang['lang_theme_code_desc'] = 'HTML-Modus';
+tinyMCELang['lang_theme_code_title'] = 'HTML-Code Editor';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Tiefergestellt';
+tinyMCELang['lang_theme_sup_desc'] = 'H&ouml;hergestellt';
+tinyMCELang['lang_theme_hr_desc'] = 'Horizontale Linie einf&uuml;gen';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Formatierung l&ouml;schen';
+tinyMCELang['lang_theme_table_desc'] = 'Neue Tabelle einf&uuml;gen / Tabelle bearbeiten';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Davor Zeile einf&uuml;gen';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Danach Zeile einf&uuml;gen';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Zeile l&ouml;schen';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Davor Spalte einf&uuml;gen';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Danach Spalte einf&uuml;gen';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Spalte l&ouml;schen';
+tinyMCELang['lang_theme_custom1_desc'] = 'Beschreibung eingeben';
+tinyMCELang['lang_insert_image_border'] = 'Rahmen';
+tinyMCELang['lang_insert_image_dimensions'] = 'Gr&ouml;&szlig;e';
+tinyMCELang['lang_insert_image_vspace'] = 'Vertikal einr&uuml;cken';
+tinyMCELang['lang_insert_image_hspace'] = 'Horizontal einr&uuml;cken';
+tinyMCELang['lang_insert_image_align'] = 'Ausrichten';
+tinyMCELang['lang_insert_image_align_default'] = 'Normal';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Grundlinie';
+tinyMCELang['lang_insert_image_align_top'] = 'Oben';
+tinyMCELang['lang_insert_image_align_middle'] = 'Mitte';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Unten';
+tinyMCELang['lang_insert_image_align_texttop'] = 'Textoberkante';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absolute Mitte';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Absolut unten';
+tinyMCELang['lang_insert_image_align_left'] = 'Links';
+tinyMCELang['lang_insert_image_align_right'] = 'Rechts';
+tinyMCELang['lang_insert_table_title'] = 'Tabelle Einf&uuml;gen/Bearbeiten';
+tinyMCELang['lang_insert_table_width'] = 'Breite';
+tinyMCELang['lang_insert_table_height'] = 'H&ouml;he';
+tinyMCELang['lang_insert_table_cols'] = 'Spalten';
+tinyMCELang['lang_insert_table_rows'] = 'Zeilen';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Au&szlig;enabstand';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Innenabstand';
+tinyMCELang['lang_insert_table_border'] = 'Rahmen';
+tinyMCELang['lang_insert_table_align'] = 'Ausrichten';
+tinyMCELang['lang_insert_table_align_default'] = 'Normal';
+tinyMCELang['lang_insert_table_align_left'] = 'Links';
+tinyMCELang['lang_insert_table_align_right'] = 'Rechts';
+tinyMCELang['lang_insert_table_align_middle'] = 'Zentriert';
+tinyMCELang['lang_insert_table_class'] = 'Klasse';
+tinyMCELang['lang_insert_table_delta_width'] = 30;
+tinyMCELang['lang_theme_fontdefault'] = 'Normal';
+tinyMCELang['lang_theme_paragraph'] = 'Standard-Text';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Addresse';
+tinyMCELang['lang_theme_pre'] = 'Vorformatiert (pre)';
+tinyMCELang['lang_theme_h1'] = '&Uuml;berschrift 1';
+tinyMCELang['lang_theme_h2'] = '&Uuml;berschrift 2';
+tinyMCELang['lang_theme_h3'] = '&Uuml;berschrift 3';
+tinyMCELang['lang_theme_h4'] = '&Uuml;berschrift 4';
+tinyMCELang['lang_theme_h5'] = '&Uuml;berschrift 5';
+tinyMCELang['lang_theme_h6'] = '&Uuml;berschrift 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'W&auml;hle eine Farbe';
+tinyMCELang['lang_theme_colorpicker_apply'] = '&Uuml;bernehmen';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Schriftfarbe ausw„hlen';
+tinyMCELang['lang_theme_charmap_title'] = 'W&auml;hle ein Sonderzeichen';
+tinyMCELang['lang_theme_charmap_desc'] = 'Sonderzeichen einf&uuml;gen';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Anzeige von Hilfslinien / unsichtbaren Elementen an/aus';
+tinyMCELang['lang_insert_anchor_title'] = 'Anker einf&uuml;gen/bearbeiten';
+tinyMCELang['lang_insert_anchor_name'] = 'Ankername';
+tinyMCELang['lang_theme_anchor_desc'] = 'Anker einf&uuml;gen/bearbeiten';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Title';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/dk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/dk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/dk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,72 @@
+// DK lang variables contributed by Jan Moelgaard
+
+tinyMCELang['lang_theme_style_select'] = 'Styles';
+tinyMCELang['lang_theme_code_desc'] = 'Rediger html-kode';
+tinyMCELang['lang_theme_code_title'] = 'HTML Kodeeditor';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'S&#230;nket skrift';
+tinyMCELang['lang_theme_sup_desc'] = 'H&#230;vet skrift';
+tinyMCELang['lang_theme_hr_desc'] = 'Inds&#230;t horisontal linje';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Fjern formatering';
+tinyMCELang['lang_theme_table_desc'] = 'Inds&#230;tter en ny tabel';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Inds&#230;t r&#230;kke foran';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Inds&#230;t r&#230;kke efter';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Slet r&#230;kke';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Inds&#230;t kolonne foran';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Indslt kolonne efter';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Fjern kolonne';
+tinyMCELang['lang_theme_custom1_desc'] = 'Inds&#230;t din egen beskrivelse her';
+tinyMCELang['lang_insert_image_border'] = 'Kant';
+tinyMCELang['lang_insert_image_dimensions'] = 'Dimensioner';
+tinyMCELang['lang_insert_image_vspace'] = 'VSpace';
+tinyMCELang['lang_insert_image_hspace'] = 'HSpace';
+tinyMCELang['lang_insert_image_align'] = 'Justering';
+tinyMCELang['lang_insert_image_align_default'] = 'Standard';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Bundlinje';
+tinyMCELang['lang_insert_image_align_top'] = 'Top';
+tinyMCELang['lang_insert_image_align_middle'] = 'Midt i';
+tinyMCELang['lang_insert_image_align_bottom'] = 'I bunden';
+tinyMCELang['lang_insert_image_align_texttop'] = 'I toppen af teksten';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Abslut midte';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Absolut bund';
+tinyMCELang['lang_insert_image_align_left'] = 'Venstre';
+tinyMCELang['lang_insert_image_align_right'] = 'H&#248;jre';
+tinyMCELang['lang_insert_table_title'] = 'Inds&#230;t/rediger tabel';
+tinyMCELang['lang_insert_table_width'] = 'Bredde';
+tinyMCELang['lang_insert_table_height'] = 'H&#248;jde';
+tinyMCELang['lang_insert_table_cols'] = 'Kolonner';
+tinyMCELang['lang_insert_table_rows'] = 'R&#230;kker';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Afstand mellem celler';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Cellemargen';
+tinyMCELang['lang_insert_table_border'] = 'Kant';
+tinyMCELang['lang_insert_table_align'] = 'Justering';
+tinyMCELang['lang_insert_table_align_default'] = 'Standard';
+tinyMCELang['lang_insert_table_align_left'] = 'Venstre';
+tinyMCELang['lang_insert_table_align_right'] = 'H&#248;jre';
+tinyMCELang['lang_insert_table_align_middle'] = 'Midt i';
+tinyMCELang['lang_insert_table_class'] = 'Klasse';
+tinyMCELang['lang_theme_fontdefault'] = 'Standard';
+tinyMCELang['lang_theme_paragraph'] = 'Afsnit';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Addresse';
+tinyMCELang['lang_theme_pre'] = 'Pr&#230;formateret';
+tinyMCELang['lang_theme_h1'] = 'Overskrift 1';
+tinyMCELang['lang_theme_h2'] = 'Overskrift 2';
+tinyMCELang['lang_theme_h3'] = 'Overskrift 3';
+tinyMCELang['lang_theme_h4'] = 'Overskrift 4';
+tinyMCELang['lang_theme_h5'] = 'Overskrift 5';
+tinyMCELang['lang_theme_h6'] = 'Overskrift 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'V&#230;lg en farve';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Anvend';
+tinyMCELang['lang_theme_forecolor_desc'] = 'V&#230;lg forgrundsfarve';
+tinyMCELang['lang_theme_charmap_title'] = 'V&#230;lg specialkarakter';
+tinyMCELang['lang_theme_charmap_desc'] = 'Inds&#230;t specialkarakter';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Sl&#229; linjer/usynlige elementer til og fra';
+tinyMCELang['lang_insert_anchor_title'] = 'Inds&#230;t/rediger bogm&#230;rke';
+tinyMCELang['lang_insert_anchor_name'] = 'Bogm&#230;rkets navn';
+tinyMCELang['lang_theme_anchor_desc'] = 'Inds&#230;t/rediger bogm&#230;rke';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Title';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/el.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/el.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/el.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,72 @@
+// Greek lang variables by Jacaranda Bill
+
+tinyMCELang['lang_theme_style_select'] = 'ÈÝìáôá';
+tinyMCELang['lang_theme_code_desc'] = 'Åðåîåñãáóßá HTML êþäéêá';
+tinyMCELang['lang_theme_code_title'] = 'ÅðåîåñãáóôÞò HTML';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Äåßêôçò';
+tinyMCELang['lang_theme_sup_desc'] = 'ÅêèÝôçò';
+tinyMCELang['lang_theme_hr_desc'] = 'ÅéóáãùãÞ ïñéæüíôéáò ãñáììÞò';
+tinyMCELang['lang_theme_removeformat_desc'] = 'ÁðáëïéöÞ ìïñöïðïßçóçò';
+tinyMCELang['lang_theme_table_desc'] = 'ÅéóáãùãÞ ðßíáêá';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'ÅéóáãùãÞ ãñáììÞò åðÜíù';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'ÅéóáãùãÞ ãñáììÞò êÜôù';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'ÄéáãñáöÞ ãñáììÞò';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'ÅéóáãùãÞ óôÞëçò áñéóôåñÜ';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'ÅéóáãùãÞ óôÞëçò äåîéÜ';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'ÄéáãñáöÞ óôÞëçò';
+tinyMCELang['lang_theme_custom1_desc'] = 'ÐåñéãñáöÞ';
+tinyMCELang['lang_insert_image_border'] = 'Ðåñßãñáììá';
+tinyMCELang['lang_insert_image_dimensions'] = 'ÄéáóôÜóåéò';
+tinyMCELang['lang_insert_image_vspace'] = 'ÊÜè. ðåñéèþñéï';
+tinyMCELang['lang_insert_image_hspace'] = 'Ïñéæ. ðåñéèþñéï';
+tinyMCELang['lang_insert_image_align'] = 'Óôïß÷éóç';
+tinyMCELang['lang_insert_image_align_default'] = 'ÐñïêáèïñéóìÝíç';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Óå åõèõãñÜììéóç ìå ôï êåßìåíï';
+tinyMCELang['lang_insert_image_align_top'] = 'ÐÜíù';
+tinyMCELang['lang_insert_image_align_middle'] = 'Óôï êÝíôñï';
+tinyMCELang['lang_insert_image_align_bottom'] = 'ÊÜôù';
+tinyMCELang['lang_insert_image_align_texttop'] = 'Ôï êåßìåíï ðÜíù';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Áðüëõôá óôï êÝíôñï';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Áðüëõôá êÜôù';
+tinyMCELang['lang_insert_image_align_left'] = 'ÁñéóôåñÜ';
+tinyMCELang['lang_insert_image_align_right'] = 'ÄåîéÜ';
+tinyMCELang['lang_insert_table_title'] = 'ÅéóáãùãÞ/Äéüñèùóç ðßíáêá';
+tinyMCELang['lang_insert_table_width'] = 'ÐëÜôïò';
+tinyMCELang['lang_insert_table_height'] = '¾øïò';
+tinyMCELang['lang_insert_table_cols'] = 'ÓôÞëåò';
+tinyMCELang['lang_insert_table_rows'] = 'ÃñáììÝò';
+tinyMCELang['lang_insert_table_cellspacing'] = 'ÄéÜóôé÷ï';
+tinyMCELang['lang_insert_table_cellpadding'] = 'ÃÝìéóìá';
+tinyMCELang['lang_insert_table_border'] = 'Ðåñßãñáììá';
+tinyMCELang['lang_insert_table_align'] = 'Óôïß÷éóç';
+tinyMCELang['lang_insert_table_align_default'] = 'Ðñïêáè.';
+tinyMCELang['lang_insert_table_align_left'] = 'ÁñéóôåñÜ';
+tinyMCELang['lang_insert_table_align_right'] = 'ÄåîéÜ';
+tinyMCELang['lang_insert_table_align_middle'] = 'Óôï êÝíôñï';
+tinyMCELang['lang_insert_table_class'] = 'ÊëÜóç';
+tinyMCELang['lang_theme_fontdefault'] = 'ÐñïêáèïñéóìÝíç';
+tinyMCELang['lang_theme_paragraph'] = 'ÐáñÜãñáöïò';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Äéåýèõíóç';
+tinyMCELang['lang_theme_pre'] = 'Preformatted';
+tinyMCELang['lang_theme_h1'] = 'Åðéêåöáëßäá 1';
+tinyMCELang['lang_theme_h2'] = 'Åðéêåöáëßäá 2';
+tinyMCELang['lang_theme_h3'] = 'Åðéêåöáëßäá 3';
+tinyMCELang['lang_theme_h4'] = 'Åðéêåöáëßäá 4';
+tinyMCELang['lang_theme_h5'] = 'Åðéêåöáëßäá 5';
+tinyMCELang['lang_theme_h6'] = 'Åðéêåöáëßäá 6';
+tinyMCELang['lang_theme_colorpicker_title'] = '×ñþìáôá';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'ÅöáñìïãÞ';
+tinyMCELang['lang_theme_forecolor_desc'] = 'ÅðéëïãÞ ÷ñþìáôïò ãñáììáôïóåéñÜò';
+tinyMCELang['lang_theme_charmap_title'] = 'ÅðéëïãÞ åéäéêïý ÷áñáêôÞñá';
+tinyMCELang['lang_theme_charmap_desc'] = 'ÅéóáãùãÞ åéäéêïý ÷áñáêôÞñá';
+tinyMCELang['lang_theme_visualaid_desc'] = 'ÅìöÜíéóç/Áðüêñõøç ãñáììþí';
+tinyMCELang['lang_insert_anchor_title'] = 'ÅéóáãùãÞ/Äéüñèùóç Üãêõñáò';
+tinyMCELang['lang_insert_anchor_name'] = 'Ïíïìáóßá Üãêõñáò';
+tinyMCELang['lang_theme_anchor_desc'] = 'ÅéóáãùãÞ/Äéüñèùóç Üãêõñáò';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Ôßôëïò';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/en.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/en.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/en.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,82 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+theme_style_select : '-- Styles --',
+theme_code_desc : 'Edit HTML Source',
+theme_code_title : 'HTML Source Editor',
+theme_code_wordwrap : 'Word wrap',
+theme_sub_desc : 'Subscript',
+theme_sup_desc : 'Superscript',
+theme_hr_desc : 'Insert horizontal ruler',
+theme_removeformat_desc : 'Remove formatting',
+theme_custom1_desc : 'Your custom description here',
+insert_image_border : 'Border',
+insert_image_dimensions : 'Dimensions',
+insert_image_vspace : 'Vertical space',
+insert_image_hspace : 'Horizontal space',
+insert_image_align : 'Alignment',
+insert_image_align_default : '-- Not set --',
+insert_image_align_baseline : 'Baseline',
+insert_image_align_top : 'Top',
+insert_image_align_middle : 'Middle',
+insert_image_align_bottom : 'Bottom',
+insert_image_align_texttop : 'TextTop',
+insert_image_align_absmiddle : 'Absolute Middle',
+insert_image_align_absbottom : 'Absolute Bottom',
+insert_image_align_left : 'Left',
+insert_image_align_right : 'Right',
+theme_font_size : '-- Font size --',
+theme_fontdefault : '-- Font family --',
+theme_block : '-- Format --',
+theme_paragraph : 'Paragraph',
+theme_div : 'Div',
+theme_address : 'Address',
+theme_pre : 'Preformatted',
+theme_h1 : 'Heading 1',
+theme_h2 : 'Heading 2',
+theme_h3 : 'Heading 3',
+theme_h4 : 'Heading 4',
+theme_h5 : 'Heading 5',
+theme_h6 : 'Heading 6',
+theme_blockquote : 'Blockquote',
+theme_code : 'Code',
+theme_samp : 'Code sample',
+theme_dt : 'Definition term ',
+theme_dd : 'Definition description',
+theme_colorpicker_title : 'Select a color',
+theme_colorpicker_apply : 'Apply',
+theme_forecolor_desc : 'Select text color',
+theme_backcolor_desc : 'Select background color',
+theme_charmap_title : 'Select custom character',
+theme_charmap_desc : 'Insert custom character',
+theme_visualaid_desc : 'Toggle guidelines/invisible elements',
+insert_anchor_title : 'Insert/edit anchor',
+insert_anchor_name : 'Anchor name',
+theme_anchor_desc : 'Insert/edit anchor',
+theme_insert_link_titlefield : 'Title',
+theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?',
+theme_path : 'Path',
+cut_desc : 'Cut',
+copy_desc : 'Copy',
+paste_desc : 'Paste',
+link_list : 'Link list',
+image_list : 'Image list',
+browse : 'Browse',
+image_props_desc : 'Image properties',
+newdocument_desc : 'New document',
+class_name : 'Class',
+newdocument : 'Are you sure you want clear all contents?',
+about_title : 'About TinyMCE',
+about : 'About',
+license : 'License',
+plugins : 'Plugins',
+plugin : 'Plugin',
+author : 'Author',
+version : 'Version',
+loaded_plugins : 'Loaded plugins',
+help : 'Help',
+not_set : '-- Not set --',
+close : 'Close',
+toolbar_focus : 'Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X',
+invalid_data : 'Error: Invalid values entered, these are marked in red.'
+});

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/es.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/es.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/es.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,75 @@
+// ES lang variables by Alvaro Velasco
+
+tinyMCELang['lang_theme_style_select'] = 'Estilos';
+tinyMCELang['lang_theme_code_desc'] = 'Editar codigo HTML';
+tinyMCELang['lang_theme_code_title'] = 'Editor codigo HTML';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Subindice';
+tinyMCELang['lang_theme_sup_desc'] = 'Superindice';
+tinyMCELang['lang_theme_hr_desc'] = 'Insertar un separador horizontal';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Quitar formato';
+tinyMCELang['lang_theme_table_desc'] = 'Insertar una tabla nueva';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Insertar una fila antes';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Insertar una fila despues';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Eliminar una fila';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Insertar una columna before';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Insertar columna after';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Eliminar una columna';
+tinyMCELang['lang_theme_custom1_desc'] = 'Tu descricion';
+tinyMCELang['lang_insert_image_border'] = 'Borde';
+tinyMCELang['lang_insert_image_dimensions'] = 'Dimensiones';
+tinyMCELang['lang_insert_image_vspace'] = 'Espacio vertical';
+tinyMCELang['lang_insert_image_hspace'] = 'Espacio horizontal';
+tinyMCELang['lang_insert_image_align'] = 'Alineamiento';
+tinyMCELang['lang_insert_image_align_default'] = 'Por defecto';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Baseline';
+tinyMCELang['lang_insert_image_align_top'] = 'Superior';
+tinyMCELang['lang_insert_image_align_middle'] = 'Centro';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Inferior';
+tinyMCELang['lang_insert_image_align_texttop'] = 'Alinear texto arriba';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Centrado horizontal';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Centrado abajo';
+tinyMCELang['lang_insert_image_align_left'] = 'Izquierda';
+tinyMCELang['lang_insert_image_align_right'] = 'Derecha';
+tinyMCELang['lang_insert_table_title'] = 'Insertar/Modificar tabla';
+tinyMCELang['lang_insert_table_width'] = 'Anchura';
+tinyMCELang['lang_insert_table_height'] = 'Altura';
+tinyMCELang['lang_insert_table_cols'] = 'Columnas';
+tinyMCELang['lang_insert_table_rows'] = 'Filas';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Espacio entre celdas';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Desplazamiento entre celdas';
+tinyMCELang['lang_insert_table_border'] = 'Borde';
+tinyMCELang['lang_insert_table_align'] = 'Alineamiento';
+tinyMCELang['lang_insert_table_align_default'] = 'Por defecto';
+tinyMCELang['lang_insert_table_align_left'] = 'Izquierda';
+tinyMCELang['lang_insert_table_align_right'] = 'Derecha';
+tinyMCELang['lang_insert_table_align_middle'] = 'Centro';
+tinyMCELang['lang_insert_table_delta_width'] = 10;
+tinyMCELang['lang_insert_table_delta_height'] = 20;
+tinyMCELang['lang_insert_image_delta_height'] = 10;
+tinyMCELang['lang_insert_table_class'] = 'Class';
+tinyMCELang['lang_theme_fontdefault'] = 'Default';
+tinyMCELang['lang_theme_paragraph'] = 'Paragraph';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Address';
+tinyMCELang['lang_theme_pre'] = 'Preformatted';
+tinyMCELang['lang_theme_h1'] = 'Heading 1';
+tinyMCELang['lang_theme_h2'] = 'Heading 2';
+tinyMCELang['lang_theme_h3'] = 'Heading 3';
+tinyMCELang['lang_theme_h4'] = 'Heading 4';
+tinyMCELang['lang_theme_h5'] = 'Heading 5';
+tinyMCELang['lang_theme_h6'] = 'Heading 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Select a color';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Apply';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Select forecolor';
+tinyMCELang['lang_theme_charmap_title'] = 'Select custom character';
+tinyMCELang['lang_theme_charmap_desc'] = 'Insert custom character';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Toggle guidelines/invisible elements';
+tinyMCELang['lang_insert_anchor_title'] = 'Insert/edit anchor';
+tinyMCELang['lang_insert_anchor_name'] = 'Anchor name';
+tinyMCELang['lang_theme_anchor_desc'] = 'Insert/edit anchor';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Title';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/fi.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/fi.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/fi.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,73 @@
+// FI lang variables by Urho Konttori from Absolutions
+
+tinyMCELang['lang_theme_style_select'] = 'Tyylit';
+tinyMCELang['lang_theme_code_desc'] = 'Muokkaa HTML lähdekoodia';
+tinyMCELang['lang_theme_code_title'] = 'HTML Lähdekoodin muokkaus';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Alamääre';
+tinyMCELang['lang_theme_sup_desc'] = 'Ylämääre';
+tinyMCELang['lang_theme_hr_desc'] = 'Lisää vaakaviiva';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Poista muotoilu';
+tinyMCELang['lang_theme_table_desc'] = 'Lisää uusi taulu';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Lisää rivi edelle';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Lisää rivi jälkeen';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Posita rivi';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Lisää sarake edelle';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Lisää sarake jälkeen';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Poista sarake';
+tinyMCELang['lang_theme_custom1_desc'] = 'Kirjoita oma selityksesi tähän';
+tinyMCELang['lang_insert_image_border'] = 'Reuna';
+tinyMCELang['lang_insert_image_dimensions'] = 'Mitat';
+tinyMCELang['lang_insert_image_vspace'] = 'Pystyväli';
+tinyMCELang['lang_insert_image_hspace'] = 'Vaakaväli';
+tinyMCELang['lang_insert_image_align'] = 'Asettelu';
+tinyMCELang['lang_insert_image_align_default'] = 'Oletus';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Perustasoon';
+tinyMCELang['lang_insert_image_align_top'] = 'Ylälaitaan';
+tinyMCELang['lang_insert_image_align_middle'] = 'Keskelle';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Alalaitaan';
+tinyMCELang['lang_insert_image_align_texttop'] = 'Tekstin ylälaitaan';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absoluuttisen keskelle';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Absoluuttisen alas';
+tinyMCELang['lang_insert_image_align_left'] = 'Vasemmalle';
+tinyMCELang['lang_insert_image_align_right'] = 'Oikealle';
+tinyMCELang['lang_insert_table_title'] = 'Lisää/muokkaa taulua';
+tinyMCELang['lang_insert_table_width'] = 'Leveys';
+tinyMCELang['lang_insert_table_height'] = 'Korkeus';
+tinyMCELang['lang_insert_table_cols'] = 'Sarakkeet';
+tinyMCELang['lang_insert_table_rows'] = 'Rivit';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Solujen väli';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Solun reunan ja sisällön väli';
+tinyMCELang['lang_insert_table_border'] = 'Reuna';
+tinyMCELang['lang_insert_table_align'] = 'Asettelu';
+tinyMCELang['lang_insert_table_align_default'] = 'Oletus';
+tinyMCELang['lang_insert_table_align_left'] = 'Vasen';
+tinyMCELang['lang_insert_table_align_right'] = 'Oikea';
+tinyMCELang['lang_insert_table_align_middle'] = 'Keskelle';
+tinyMCELang['lang_insert_table_delta_height'] = 20;
+tinyMCELang['lang_theme_fontdefault'] = 'Oletus';
+tinyMCELang['lang_theme_paragraph'] = 'Kappale';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Osoite';
+tinyMCELang['lang_theme_pre'] = 'Etukäteen muotoiltu';
+tinyMCELang['lang_theme_h1'] = 'Otsikko 1';
+tinyMCELang['lang_theme_h2'] = 'Otsikko 2';
+tinyMCELang['lang_theme_h3'] = 'Otsikko 3';
+tinyMCELang['lang_theme_h4'] = 'Otsikko 4';
+tinyMCELang['lang_theme_h5'] = 'Otsikko 5';
+tinyMCELang['lang_theme_h6'] = 'Otsikko 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Valitse väri';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Aseta väri';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Valitse etuväri';
+tinyMCELang['lang_insert_table_class'] = 'Luokka';
+tinyMCELang['lang_theme_charmap_title'] = 'Select custom character';
+tinyMCELang['lang_theme_charmap_desc'] = 'Insert custom character';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Toggle guidelines/invisible elements';
+tinyMCELang['lang_insert_anchor_title'] = 'Insert/edit anchor';
+tinyMCELang['lang_insert_anchor_name'] = 'Anchor name';
+tinyMCELang['lang_theme_anchor_desc'] = 'Insert/edit anchor';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Title';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/hu.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/hu.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/hu.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,74 @@
+// HU lang variables
+// Edited by 2XP (2xp at dino.hu)
+
+tinyMCELang['lang_theme_style_select'] = 'St&#237;lusok';
+tinyMCELang['lang_theme_code_desc'] = 'HTML k&#243;d szerkeszt&#233;se';
+tinyMCELang['lang_theme_code_title'] = 'HTML k&#243;dszerkezt&#245;';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Als&#243; index';
+tinyMCELang['lang_theme_sup_desc'] = 'Fels&#245; index';
+tinyMCELang['lang_theme_hr_desc'] = 'V&#237;zszintes vonal beilleszt&#233;se';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Form&#225;z&#225;s elt&#225;vol&#237;t&#225;sa';
+tinyMCELang['lang_theme_table_desc'] = '&#218;j t&#225;bl&#225;zat beilleszt&#233;se';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Sor beilleszt&#233;se el&#233;';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Sor beilleszt&#233;se ut&#225;na';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Sor t&#246;rl&#233;se';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Oszlop beillszt&#233;se el&#233;';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Oszlop beilleszt&#233;se ut&#225;na';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Oszlop elt&#225;vol&#237;t&#225;sa';
+tinyMCELang['lang_theme_custom1_desc'] = 'Az &#214;n &#225;ltal kiv&#225;lasztott le&#237;r&#225;s';
+tinyMCELang['lang_insert_image_border'] = 'Keret';
+tinyMCELang['lang_insert_image_dimensions'] = 'M&#233;retek';
+tinyMCELang['lang_insert_image_vspace'] = 'F&#252;gg&#245;leges t&#233;rk&#246;z';
+tinyMCELang['lang_insert_image_hspace'] = 'V&#237;zszintes t&#233;rk&#246;z';
+tinyMCELang['lang_insert_image_align'] = 'Igaz&#237;t&#233;s';
+tinyMCELang['lang_insert_image_align_default'] = 'Alap&#233;rtelmezett';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Alapvonalra';
+tinyMCELang['lang_insert_image_align_top'] = 'Fel&#252;lre';
+tinyMCELang['lang_insert_image_align_middle'] = 'K&#246;z&#233;pre';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Alulra';
+tinyMCELang['lang_insert_image_align_texttop'] = 'TextTop';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Abszol&#250;t k&#246;z&#233;pre';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Abszol&#250;t alulra';
+tinyMCELang['lang_insert_image_align_left'] = 'Balra';
+tinyMCELang['lang_insert_image_align_right'] = 'Jobbra';
+tinyMCELang['lang_insert_table_title'] = 'T&#225;bla beilleszt&#233;se/m&#243;dos&#237;t&#225;sa';
+tinyMCELang['lang_insert_table_width'] = 'Sz&#233;less&#233;g';
+tinyMCELang['lang_insert_table_height'] = 'Magass&#225;g';
+tinyMCELang['lang_insert_table_cols'] = 'Oszlopok';
+tinyMCELang['lang_insert_table_rows'] = 'Sorok';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Cellspacing';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Cellpadding';
+tinyMCELang['lang_insert_table_border'] = 'Keret';
+tinyMCELang['lang_insert_table_align'] = 'Igaz&#237;t&#225;s';
+tinyMCELang['lang_insert_table_align_default'] = 'Alap&#233;rtelmezett';
+tinyMCELang['lang_insert_table_align_left'] = 'Balra';
+tinyMCELang['lang_insert_table_align_right'] = 'Jobbra';
+tinyMCELang['lang_insert_table_align_middle'] = 'K&#246;z&#233;pre';
+tinyMCELang['lang_insert_table_class'] = 'Class';
+tinyMCELang['lang_insert_table_delta_width'] = 55;
+tinyMCELang['lang_theme_fontdefault'] = 'Default';
+tinyMCELang['lang_theme_paragraph'] = 'Paragraph';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Address';
+tinyMCELang['lang_theme_pre'] = 'Preformatted';
+tinyMCELang['lang_theme_h1'] = 'Heading 1';
+tinyMCELang['lang_theme_h2'] = 'Heading 2';
+tinyMCELang['lang_theme_h3'] = 'Heading 3';
+tinyMCELang['lang_theme_h4'] = 'Heading 4';
+tinyMCELang['lang_theme_h5'] = 'Heading 5';
+tinyMCELang['lang_theme_h6'] = 'Heading 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Select a color';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Apply';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Select forecolor';
+tinyMCELang['lang_theme_charmap_title'] = 'Select custom character';
+tinyMCELang['lang_theme_charmap_desc'] = 'Insert custom character';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Toggle guidelines/invisible elements';
+tinyMCELang['lang_insert_anchor_title'] = 'Insert/edit anchor';
+tinyMCELang['lang_insert_anchor_name'] = 'Anchor name';
+tinyMCELang['lang_theme_anchor_desc'] = 'Insert/edit anchor';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Title';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/it.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/it.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/it.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,73 @@
+// Variabili di lingua IT - fabrix.xm at lombardiacom.it
+
+tinyMCELang['lang_theme_style_select'] = 'Stili';
+tinyMCELang['lang_theme_code_desc'] = 'Edita il sorgente HTML';
+tinyMCELang['lang_theme_code_title'] = 'Editor Sorgente HTML';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Pedice';
+tinyMCELang['lang_theme_sup_desc'] = 'Apice';
+tinyMCELang['lang_theme_hr_desc'] = 'Inserisce linea orizzontale';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Rimuovi formattazione';
+tinyMCELang['lang_theme_table_desc'] = 'Inserisci una nuova tabella';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Inserisci una riga prima';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Inserisci una riga dopo';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Cancella riga';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Inserisci colonna prima';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Inserisci colonna dopo';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Rimuovi colonna';
+tinyMCELang['lang_theme_custom1_desc'] = 'Scrivi qui la tua descrizione personalizzata';
+tinyMCELang['lang_insert_image_border'] = 'Bordo';
+tinyMCELang['lang_insert_image_dimensions'] = 'Dimensioni';
+tinyMCELang['lang_insert_image_vspace'] = 'Spazio verticale';
+tinyMCELang['lang_insert_image_hspace'] = 'Spazio orizzontale';
+tinyMCELang['lang_insert_image_align'] = 'Allineamento';
+tinyMCELang['lang_insert_image_align_default'] = 'Default';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Baseline';
+tinyMCELang['lang_insert_image_align_top'] = 'Superiore';
+tinyMCELang['lang_insert_image_align_middle'] = 'Centrale';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Inferiore';
+tinyMCELang['lang_insert_image_align_texttop'] = 'TextTop';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Centro assoluto';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Inferiore assoluto';
+tinyMCELang['lang_insert_image_align_left'] = 'Sinistra';
+tinyMCELang['lang_insert_image_align_right'] = 'Destra';
+tinyMCELang['lang_insert_table_title'] = 'Inserisci/modifica tabella';
+tinyMCELang['lang_insert_table_width'] = 'Larghezza';
+tinyMCELang['lang_insert_table_height'] = 'Altezza';
+tinyMCELang['lang_insert_table_cols'] = 'Colonne';
+tinyMCELang['lang_insert_table_rows'] = 'Righe';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Cellspacing';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Cellpadding';
+tinyMCELang['lang_insert_table_border'] = 'Bordo';
+tinyMCELang['lang_insert_table_align'] = 'Allineamento';
+tinyMCELang['lang_insert_table_align_default'] = 'Default';
+tinyMCELang['lang_insert_table_align_left'] = 'Sinistra';
+tinyMCELang['lang_insert_table_align_right'] = 'Destra';
+tinyMCELang['lang_insert_table_align_middle'] = 'Centro';
+tinyMCELang['lang_insert_table_class'] = 'Classe';
+tinyMCELang['lang_insert_table_delta_width'] = 10;
+tinyMCELang['lang_theme_fontdefault'] = 'Default';
+tinyMCELang['lang_theme_paragraph'] = 'Paragrafo';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Indirizzo';
+tinyMCELang['lang_theme_pre'] = 'Preformattato';
+tinyMCELang['lang_theme_h1'] = 'Intestazione 1';
+tinyMCELang['lang_theme_h2'] = 'Intestazione 2';
+tinyMCELang['lang_theme_h3'] = 'Intestazione 3';
+tinyMCELang['lang_theme_h4'] = 'Intestazione 4';
+tinyMCELang['lang_theme_h5'] = 'Intestazione 5';
+tinyMCELang['lang_theme_h6'] = 'Intestazione 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Seleziona un colore';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Appplica';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Seleziona il colore';
+tinyMCELang['lang_theme_charmap_title'] = 'Seleziona un carattere custom';
+tinyMCELang['lang_theme_charmap_desc'] = 'Inserisci un carattere custom';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Mostra/nascondi linee guida e elementi invisibili';
+tinyMCELang['lang_insert_anchor_title'] = 'Inserisci/modifica &agrave;ncora';
+tinyMCELang['lang_insert_anchor_name'] = 'Nome &agrave;ncora';
+tinyMCELang['lang_theme_anchor_desc'] = 'Inserisci/modifica &agrave;ncora';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Titolo';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/jp.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/jp.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/jp.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,70 @@
+// JP lang variables
+
+tinyMCELang['lang_theme_style_select'] = '$B%9%?%$%k(B';
+tinyMCELang['lang_theme_paragraph'] = '$BJ8L.(B';
+tinyMCELang['lang_theme_address'] = '$B%"%I%l%9(B';
+tinyMCELang['lang_theme_pre'] = '$B at 07A:Q$_(B';
+tinyMCELang['lang_theme_h1'] = 'H1';
+tinyMCELang['lang_theme_h2'] = 'H2';
+tinyMCELang['lang_theme_h3'] = 'H3';
+tinyMCELang['lang_theme_h4'] = 'H4';
+tinyMCELang['lang_theme_h5'] = 'H5';
+tinyMCELang['lang_theme_h6'] = 'H6';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_insert_anchor_title'] = '$B%"%s%+!<$NA^F~(B/$BJT=8(B';
+tinyMCELang['lang_insert_anchor_name'] = '$B%"%s%+!<$NL>A0(B';
+tinyMCELang['lang_theme_anchor_desc'] = '$B%"%s%+!<$NA^F~(B/$BJT=8(B';
+tinyMCELang['lang_theme_code_desc'] = 'HTML$B$ND>@\JT=8(B';
+tinyMCELang['lang_theme_code_title'] = 'HTML$B$NJT=8(B';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_table_desc'] = '$B%F!<%V%k(B';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = '$B9TA^F~(B($BA0(B)';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = '$B9TA^F~(B($B8e(B)';
+tinyMCELang['lang_theme_table_delete_row_desc'] = '$B9T:o=|(B';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = '$BNsA^F~(B($BA0(B)';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = '$BNsA^F~(B($B8e(B)';
+tinyMCELang['lang_theme_table_delete_col_desc'] = '$BNs:o=|(B';
+tinyMCELang['lang_theme_hr_desc'] = '$B?eJ?@~(B';
+tinyMCELang['lang_theme_removeformat_desc'] = '$B at 07A>pJs:o=|(B';
+tinyMCELang['lang_theme_visualaid_desc'] = '$BJd=u>pJs$N;k3P2=(B($B%H%0%k(B)';
+tinyMCELang['lang_theme_sub_desc'] = '$BE:;z2<(B';
+tinyMCELang['lang_theme_sup_desc'] = '$BE:;z>e(B';
+tinyMCELang['lang_theme_charmap_desc'] = '$BFC<lJ8;z$NF~NO(B';
+tinyMCELang['lang_theme_charmap_title'] = '$BFC<lJ8;z$rA*Br$7$F2<$5$$(B';
+tinyMCELang['lang_insert_image_dimensions'] = '$BBg$-$5;XDj(B';
+tinyMCELang['lang_insert_image_border'] = '$B6-3&I}(B';
+tinyMCELang['lang_insert_image_vspace'] = '$B=DM>Gr(B';
+tinyMCELang['lang_insert_image_hspace'] = '$B2#M>Gr(B';
+tinyMCELang['lang_insert_image_align'] = '$B0LCV9g$o$;(B';
+tinyMCELang['lang_insert_image_align_default'] = '$B0EL[(B';
+tinyMCELang['lang_insert_image_align_baseline'] = '$B4p=`@~(B';
+tinyMCELang['lang_insert_image_align_top'] = '$B>e(B';
+tinyMCELang['lang_insert_image_align_middle'] = '$BCf(B';
+tinyMCELang['lang_insert_image_align_bottom'] = '$B2<(B';
+tinyMCELang['lang_insert_image_align_texttop'] = '$BJ8;z$N>e(B';
+tinyMCELang['lang_insert_image_align_absmiddle'] = '$B at dBP$KCf(B';
+tinyMCELang['lang_insert_image_align_absbottom'] = '$B at dBP$K2<(B';
+tinyMCELang['lang_insert_image_align_left'] = '$B:8(B';
+tinyMCELang['lang_insert_image_align_right'] = '$B1&(B';
+tinyMCELang['lang_insert_table_title'] = '$B%F!<%V%k$NA^F~(B/$BJT=8(B';
+tinyMCELang['lang_insert_table_cols'] = '$BNs?t(B';
+tinyMCELang['lang_insert_table_rows'] = '$B9T?t(B';
+tinyMCELang['lang_insert_table_cellspacing'] = '$B%;%kM>Gr(B';
+tinyMCELang['lang_insert_table_cellpadding'] = '$B%;%k5M$a(B';
+tinyMCELang['lang_insert_table_align'] = '$B0LCVD4 at 0(B';
+tinyMCELang['lang_insert_table_align_default'] = '$B0EL[(B';
+tinyMCELang['lang_insert_table_align_left'] = '$B:85M$a(B';
+tinyMCELang['lang_insert_table_align_right'] = '$B1&5M$a(B';
+tinyMCELang['lang_insert_table_align_middle'] = '$BCf1{4s$;(B';
+tinyMCELang['lang_insert_table_width'] = '$BI}(B';
+tinyMCELang['lang_insert_table_height'] = '$B9b$5(B';
+tinyMCELang['lang_insert_table_border'] = '$B6-3&@~(B';
+tinyMCELang['lang_insert_table_class'] = '$B%/%i%9(B';
+tinyMCELang['lang_theme_fontdefault'] = '$BI8=`(B';
+tinyMCELang['lang_theme_colorpicker_title'] = '$B?\'$N;XDj(B';
+tinyMCELang['lang_theme_colorpicker_apply'] = '$BE,MQ(B';
+tinyMCELang['lang_theme_forecolor_desc'] = '$BA07J?\'(B';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ko.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ko.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/ko.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,73 @@
+// KO lang variables
+
+tinyMCELang['lang_theme_style_select'] = '½ºÅ¸ÀÏ';
+tinyMCELang['lang_theme_code_desc'] = 'HTML ¼Ò½º °íÄ¡±â';
+tinyMCELang['lang_theme_code_title'] = 'HTML ¼Ò½º ÆíÁý±â';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_code_save'] = 'ÀúÀå';
+tinyMCELang['lang_theme_sub_desc'] = '¾Æ·¡Ã·ÀÚ';
+tinyMCELang['lang_theme_sup_desc'] = 'À§Ã·ÀÚ';
+tinyMCELang['lang_theme_hr_desc'] = '°¡·ÎÁÙ ³Ö±â';
+tinyMCELang['lang_theme_removeformat_desc'] = '¼Ó¼º Áö¿ì±â';
+tinyMCELang['lang_theme_table_desc'] = 'Ç¥ ³Ö±â';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = '¾Õ¿¡ Çà ³Ö±â';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'µÚ¿¡ Çà ³Ö±â';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Çà Áö¿ì±â';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = '¾Õ¿¡ ¿­ ³Ö±â';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'µÚ¿¡ ¿­ ³Ö±â';
+tinyMCELang['lang_theme_table_delete_col_desc'] = '¿­ Áö¿ì±â';
+tinyMCELang['lang_theme_custom1_desc'] = 'Your custom description here';
+tinyMCELang['lang_insert_image_border'] = 'Å׵θ®';
+tinyMCELang['lang_insert_image_dimensions'] = 'Å©±â';
+tinyMCELang['lang_insert_image_vspace'] = '¼¼·Î ¿©¹é';
+tinyMCELang['lang_insert_image_hspace'] = '°¡·Î ¿©¹é';
+tinyMCELang['lang_insert_image_align'] = 'Á¤·Ä';
+tinyMCELang['lang_insert_image_align_default'] = '±âº»°ª';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Baseline';
+tinyMCELang['lang_insert_image_align_top'] = 'Top';
+tinyMCELang['lang_insert_image_align_middle'] = 'Middle';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Bottom';
+tinyMCELang['lang_insert_image_align_texttop'] = 'TextTop';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absolute Middle';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Absolute Bottom';
+tinyMCELang['lang_insert_image_align_left'] = 'Left';
+tinyMCELang['lang_insert_image_align_right'] = 'Right';
+tinyMCELang['lang_insert_table_title'] = 'Ç¥ ³Ö±â/°íÄ¡±â';
+tinyMCELang['lang_insert_table_width'] = '³Êºñ';
+tinyMCELang['lang_insert_table_height'] = '³ôÀÌ';
+tinyMCELang['lang_insert_table_cols'] = 'Çà';
+tinyMCELang['lang_insert_table_rows'] = '¿­';
+tinyMCELang['lang_insert_table_cellspacing'] = '¼¿ °£°Ý';
+tinyMCELang['lang_insert_table_cellpadding'] = '¼¿ ¿©¹é';
+tinyMCELang['lang_insert_table_border'] = 'Å׵θ®';
+tinyMCELang['lang_insert_table_align'] = 'Á¤·Ä';
+tinyMCELang['lang_insert_table_align_default'] = '±âº»°ª';
+tinyMCELang['lang_insert_table_align_left'] = '¿ÞÂÊ';
+tinyMCELang['lang_insert_table_align_right'] = '¿À¸¥ÂÊ';
+tinyMCELang['lang_insert_table_align_middle'] = '°¡¿îµ¥';
+tinyMCELang['lang_insert_table_class'] = 'Ŭ·¡½º';
+tinyMCELang['lang_theme_fontdefault'] = '±âº»°ª';
+tinyMCELang['lang_theme_paragraph'] = '´Ü¶ô';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'ÁÖ¼Ò';
+tinyMCELang['lang_theme_pre'] = '¼­½Ä ÀÖÀ½';
+tinyMCELang['lang_theme_h1'] = 'Á¦¸ñ 1';
+tinyMCELang['lang_theme_h2'] = 'Á¦¸ñ 2';
+tinyMCELang['lang_theme_h3'] = 'Á¦¸ñ 3';
+tinyMCELang['lang_theme_h4'] = 'Á¦¸ñ 4';
+tinyMCELang['lang_theme_h5'] = 'Á¦¸ñ 5';
+tinyMCELang['lang_theme_h6'] = 'Á¦¸ñ 6';
+tinyMCELang['lang_theme_colorpicker_title'] = '»ö»ó ¼±ÅÃ';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Àû¿ë';
+tinyMCELang['lang_theme_forecolor_desc'] = '±ÛÀÚ »ö»ó';
+tinyMCELang['lang_theme_charmap_title'] = 'Select custom character';
+tinyMCELang['lang_theme_charmap_desc'] = 'Insert custom character';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Toggle guidelines/invisible elements';
+tinyMCELang['lang_insert_anchor_title'] = '¾ÞÄ¿ ³Ö±â/°íÄ¡±â';
+tinyMCELang['lang_insert_anchor_name'] = '¾ÞÄ¿ À̸§';
+tinyMCELang['lang_theme_anchor_desc'] = '¾ÞÄ¿ ³Ö±â/°íÄ¡±â';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Á¦¸ñ';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/nl.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/nl.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/nl.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,75 @@
+// NL lang variables
+
+tinyMCELang['lang_theme_style_select'] = 'Stijlen';
+tinyMCELang['lang_theme_code_desc'] = 'Toon/bewerk HTML broncode';
+tinyMCELang['lang_theme_code_title'] = 'HTML broncode editor';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Subscript';
+tinyMCELang['lang_theme_sup_desc'] = 'Superscript';
+tinyMCELang['lang_theme_hr_desc'] = 'Invoegen horizontale lijn';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Verwijder opmaak';
+tinyMCELang['lang_theme_table_desc'] = 'Voeg een nieuwe tabel in';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Voeg rij in voor ...';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Voeg rij in na ...';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Verwijder rij';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Voeg kolom in voor ...';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Voeg kolom in na ...';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Verwijder kolom';
+tinyMCELang['lang_theme_custom1_desc'] = 'Uw eigen omschrijving hier';
+tinyMCELang['lang_insert_image_border'] = 'Omranding (pixels)';
+tinyMCELang['lang_insert_image_dimensions'] = 'Afmetingen (Leeg: Originele afm.)';
+tinyMCELang['lang_insert_image_vspace'] = 'Verticale marge (pixels)';
+tinyMCELang['lang_insert_image_hspace'] = 'Horizontale marge (pixels)';
+tinyMCELang['lang_insert_image_align'] = 'Uitlijning';
+tinyMCELang['lang_insert_image_align_default'] = 'Standaard';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Basislijn';
+tinyMCELang['lang_insert_image_align_top'] = 'Boven';
+tinyMCELang['lang_insert_image_align_middle'] = 'Midden';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Onder';
+tinyMCELang['lang_insert_image_align_texttop'] = 'TextTop';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absoluut Midden';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Absoluut Onder';
+tinyMCELang['lang_insert_image_align_left'] = 'Links';
+tinyMCELang['lang_insert_image_align_right'] = 'Rechts';
+tinyMCELang['lang_insert_table_title'] = 'Invoegen/Bewerken tabel';
+tinyMCELang['lang_insert_table_width'] = 'Breedte';
+tinyMCELang['lang_insert_table_height'] = 'Hoogte';
+tinyMCELang['lang_insert_table_cols'] = 'Kolommen';
+tinyMCELang['lang_insert_table_rows'] = 'Rijen';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Celafstand';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Celvulling';
+tinyMCELang['lang_insert_table_border'] = 'Omranding';
+tinyMCELang['lang_insert_table_align'] = 'Positionering';
+tinyMCELang['lang_insert_table_align_default'] = 'Standaard';
+tinyMCELang['lang_insert_table_align_left'] = 'Links';
+tinyMCELang['lang_insert_table_align_right'] = 'Rechts';
+tinyMCELang['lang_insert_table_align_middle'] = 'Midden';
+tinyMCELang['lang_insert_table_delta_width'] = 20;
+tinyMCELang['lang_insert_image_delta_height'] = 0;
+tinyMCELang['lang_insert_table_class'] = 'CSS-Stijl';
+tinyMCELang['lang_theme_fontdefault'] = 'Standaard';
+tinyMCELang['lang_theme_paragraph'] = 'Paragraaf';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Adres';
+tinyMCELang['lang_theme_pre'] = 'voorgeformatteerd';
+tinyMCELang['lang_theme_h1'] = 'Titel 1';
+tinyMCELang['lang_theme_h2'] = 'Titel 2';
+tinyMCELang['lang_theme_h3'] = 'Titel 3';
+tinyMCELang['lang_theme_h4'] = 'Titel 4';
+tinyMCELang['lang_theme_h5'] = 'Titel 5';
+tinyMCELang['lang_theme_h6'] = 'Titel 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Kies een kleur';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Toepassen';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Selecteer voorgrondkleur';
+tinyMCELang['lang_theme_charmap_title'] = 'Kies een bijzonder karakter';
+tinyMCELang['lang_theme_charmap_desc'] = 'Voeg een bijzonder karakter in';
+tinyMCELang['lang_theme_preview_desc'] = 'Toon de pagina in een nieuw venster';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Toon/verberg hulplijnen';
+tinyMCELang['lang_insert_anchor_title'] = 'Anker toevoegen/wijzigen';
+tinyMCELang['lang_insert_anchor_name'] = 'Anker naam';
+tinyMCELang['lang_theme_anchor_desc'] = 'Anker toevoegen/wijzigen';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Titel';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/no.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/no.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/no.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,74 @@
+// NO lang variables
+
+tinyMCELang['lang_theme_style_select'] = 'Stiler';
+tinyMCELang['lang_theme_code_desc'] = 'Redigere HTML Koden';
+tinyMCELang['lang_theme_code_title'] = 'HTML Kildekode Redigering';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_code_save'] = 'Lagre';
+tinyMCELang['lang_theme_sub_desc'] = 'Subscript';
+tinyMCELang['lang_theme_sup_desc'] = 'Superscript';
+tinyMCELang['lang_theme_hr_desc'] = 'Sett in horisontal linie';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Fjern formatering';
+tinyMCELang['lang_theme_table_desc'] = 'Opprett/endre tabell';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Opprett rad før';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Opprett rad etter';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Fjern rad';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Opprett kolonne før';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Opprett kolonne etter';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Fjern kolonne';
+tinyMCELang['lang_theme_custom1_desc'] = 'Din spesialfunksjons beskriving her';
+tinyMCELang['lang_insert_image_border'] = 'Ramme';
+tinyMCELang['lang_insert_image_dimensions'] = 'Dimensjoner';
+tinyMCELang['lang_insert_image_vspace'] = 'Vertikalt tomrom';
+tinyMCELang['lang_insert_image_hspace'] = 'Horizontellt tomrom';
+tinyMCELang['lang_insert_image_align'] = 'Justering';
+tinyMCELang['lang_insert_image_align_default'] = 'Intet';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Buttenlinjen';
+tinyMCELang['lang_insert_image_align_top'] = 'Lengst opp';
+tinyMCELang['lang_insert_image_align_middle'] = 'Midten';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Lengst ned';
+tinyMCELang['lang_insert_image_align_texttop'] = 'Tekstens top';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absolutt midten';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Absolutt lengst ned';
+tinyMCELang['lang_insert_image_align_left'] = 'Venstre';
+tinyMCELang['lang_insert_image_align_right'] = 'Høyre';
+tinyMCELang['lang_insert_image_delta_width'] = '';
+tinyMCELang['lang_insert_table_title'] = 'Opprett/endre tabell';
+tinyMCELang['lang_insert_table_width'] = 'Bredde';
+tinyMCELang['lang_insert_table_height'] = 'Høyde';
+tinyMCELang['lang_insert_table_cols'] = 'Kolonner';
+tinyMCELang['lang_insert_table_rows'] = 'Rader';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Celle-mellomrom';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Celle-padding';
+tinyMCELang['lang_insert_table_border'] = 'Rammebredde';
+tinyMCELang['lang_insert_table_align'] = 'Justering';
+tinyMCELang['lang_insert_table_align_default'] = 'Ingen';
+tinyMCELang['lang_insert_table_align_left'] = 'Venstre';
+tinyMCELang['lang_insert_table_align_right'] = 'Høyre';
+tinyMCELang['lang_insert_table_align_middle'] = 'Midten';
+tinyMCELang['lang_insert_table_class'] = 'Stil';
+tinyMCELang['lang_theme_fontdefault'] = 'Normal';
+tinyMCELang['lang_theme_paragraph'] = 'Paragraf';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Addresse';
+tinyMCELang['lang_theme_pre'] = 'Pre-formattert';
+tinyMCELang['lang_theme_h1'] = 'Overskrift 1';
+tinyMCELang['lang_theme_h2'] = 'Overskrift 2';
+tinyMCELang['lang_theme_h3'] = 'Overskrift 3';
+tinyMCELang['lang_theme_h4'] = 'Overskrift 4';
+tinyMCELang['lang_theme_h5'] = 'Overskrift 5';
+tinyMCELang['lang_theme_h6'] = 'Overskrift 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Velg en farge';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Bruk';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Velg forgrunnsfarge';
+tinyMCELang['lang_theme_charmap_title'] = 'Velg spesialtegn';
+tinyMCELang['lang_theme_charmap_desc'] = 'Sett inn spesialtegn';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Slå av/på usynlige elementer';
+tinyMCELang['lang_insert_anchor_title'] = 'Opprette/endre anker';
+tinyMCELang['lang_insert_anchor_name'] = 'Ankernavn';
+tinyMCELang['lang_theme_anchor_desc'] = 'Opprett/endre anker';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Tittel';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/pl.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/pl.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/pl.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,71 @@
+// PL lang variables
+tinyMCELang['lang_theme_style_select'] = 'Style';
+tinyMCELang['lang_theme_code_desc'] = 'Edytuj ¼ró³o HTML';
+tinyMCELang['lang_theme_code_title'] = 'Edytor ¼ród³a HTML';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Indeks dolny';
+tinyMCELang['lang_theme_sup_desc'] = 'Indeks górny';
+tinyMCELang['lang_theme_hr_desc'] = 'Wstaw liniê poziom±';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Usuñ formatowanie';
+tinyMCELang['lang_theme_table_desc'] = 'Wstaw now± tabelê';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Wstaw wiersz przed';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Wstaw wiersz za';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Usuñ wiersz';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Wstaw kolumnê przed';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Wstaw kolumnê za';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Usuñ kolumnê';
+tinyMCELang['lang_theme_custom1_desc'] = 'Opis';
+tinyMCELang['lang_insert_image_border'] = 'Krawêdzie';
+tinyMCELang['lang_insert_image_dimensions'] = 'Wymiary';
+tinyMCELang['lang_insert_image_vspace'] = 'Odstêp poziomy';
+tinyMCELang['lang_insert_image_hspace'] = 'Odstêp pionowy';
+tinyMCELang['lang_insert_image_align'] = 'Wyrównanie';
+tinyMCELang['lang_insert_image_align_default'] = 'Domy¶lne';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Do linii bazowej';
+tinyMCELang['lang_insert_image_align_top'] = 'Do góry';
+tinyMCELang['lang_insert_image_align_middle'] = 'Do ¶rodka';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Do do³u';
+tinyMCELang['lang_insert_image_align_texttop'] = 'Do góry tekstu';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Do ¶rodka absolutnego';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Do do³u bezwzglêdnego';
+tinyMCELang['lang_insert_image_align_left'] = 'Do lewej';
+tinyMCELang['lang_insert_image_align_right'] = 'Do prawej';
+tinyMCELang['lang_insert_table_title'] = 'Wstaw/Modyfikuj tabelê';
+tinyMCELang['lang_insert_table_width'] = 'Szeroko¶æ';
+tinyMCELang['lang_insert_table_height'] = 'Wysoko¶æ';
+tinyMCELang['lang_insert_table_cols'] = 'Kolumny';
+tinyMCELang['lang_insert_table_rows'] = 'Wiersze';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Cellspacing';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Cellpadding';
+tinyMCELang['lang_insert_table_border'] = 'Krawêdzie';
+tinyMCELang['lang_insert_table_align'] = 'Wyrównanie';
+tinyMCELang['lang_insert_table_align_default'] = 'Domy¶lne';
+tinyMCELang['lang_insert_table_align_left'] = 'Do lewej';
+tinyMCELang['lang_insert_table_align_right'] = 'Do prawej';
+tinyMCELang['lang_insert_table_align_middle'] = 'Do ¶rodka';
+tinyMCELang['lang_insert_table_class'] = 'Klasa';
+tinyMCELang['lang_theme_fontdefault'] = 'Domy¶lnie';
+tinyMCELang['lang_theme_paragraph'] = 'Domy¶lna czcionka akapitu';
+tinyMCELang['lang_theme_div'] = 'Linia pozioma';
+tinyMCELang['lang_theme_address'] = 'Adres';
+tinyMCELang['lang_theme_pre'] = 'Wstêpnie sformatowany';
+tinyMCELang['lang_theme_h1'] = 'Nag³ówek 1';
+tinyMCELang['lang_theme_h2'] = 'Nag³ówek 2';
+tinyMCELang['lang_theme_h3'] = 'Nag³ówek 3';
+tinyMCELang['lang_theme_h4'] = 'Nag³ówek 4';
+tinyMCELang['lang_theme_h5'] = 'Nag³ówek 5';
+tinyMCELang['lang_theme_h6'] = 'Nag³ówek 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Wybierz kolor';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Zastosuj';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Wybierz kolor dla czcionki';
+tinyMCELang['lang_theme_charmap_title'] = 'Wybierz symbol';
+tinyMCELang['lang_theme_charmap_desc'] = 'Wstaw symbol';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Poka¿ guidelines/niewidzialne elementy';
+tinyMCELang['lang_insert_anchor_title'] = 'Wstaw/edytuj zakotwiczenie';
+tinyMCELang['lang_insert_anchor_name'] = 'Nazwa zakotwiczenia';
+tinyMCELang['lang_theme_anchor_desc'] = 'Wstaw/edytuj zakotwiczenie';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Title';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Theme specific language packs.
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/se.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/se.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/se.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,74 @@
+// SE lang variables
+
+tinyMCELang['lang_theme_style_select'] = 'Stilar';
+tinyMCELang['lang_theme_code_desc'] = 'Redigera HTML K&#229;den';
+tinyMCELang['lang_theme_code_title'] = 'HTML K&#228;llk&#229;ds Redigerare';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Subscript';
+tinyMCELang['lang_theme_sup_desc'] = 'Superscript';
+tinyMCELang['lang_theme_hr_desc'] = 'S&#228;tt in horisontell linie';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Tabort formattering';
+tinyMCELang['lang_theme_table_desc'] = 'Skapa ny tabell';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Skapa rad f&#246;re';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Skapa rad efter';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Ta bort rad';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Skapa kolumn f&#246;re';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Skapa kolumn efter';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Ta bort kolumn';
+tinyMCELang['lang_theme_custom1_desc'] = 'Din specialfunktions beskriving h&#228;r';
+tinyMCELang['lang_insert_image_border'] = 'Ram';
+tinyMCELang['lang_insert_image_dimensions'] = 'Dimentioner';
+tinyMCELang['lang_insert_image_vspace'] = 'Vertikalt tomrum';
+tinyMCELang['lang_insert_image_hspace'] = 'Horisontellt tomrum';
+tinyMCELang['lang_insert_image_align'] = 'Justering';
+tinyMCELang['lang_insert_image_align_default'] = 'Ingen';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Bottenlinien';
+tinyMCELang['lang_insert_image_align_top'] = 'L&#228;ngstupp';
+tinyMCELang['lang_insert_image_align_middle'] = 'Mitten';
+tinyMCELang['lang_insert_image_align_bottom'] = 'L&#228;ngstner';
+tinyMCELang['lang_insert_image_align_texttop'] = 'Textens top';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absoluta mitten';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Absolut l&#228;ngstner';
+tinyMCELang['lang_insert_image_align_left'] = 'V&#228;nster';
+tinyMCELang['lang_insert_image_align_right'] = 'H&#246;ger';
+tinyMCELang['lang_insert_image_delta_width'] = 30;
+tinyMCELang['lang_insert_image_delta_height'] = 10;
+tinyMCELang['lang_insert_table_title'] = 'Skapa/Redigera tabell';
+tinyMCELang['lang_insert_table_width'] = 'Bredd';
+tinyMCELang['lang_insert_table_height'] = 'H&#246;jd';
+tinyMCELang['lang_insert_table_cols'] = 'Kolumner';
+tinyMCELang['lang_insert_table_rows'] = 'Rader';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Cellspacing';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Cellpadding';
+tinyMCELang['lang_insert_table_border'] = 'Rambredd';
+tinyMCELang['lang_insert_table_align'] = 'Justering';
+tinyMCELang['lang_insert_table_align_default'] = 'Ingen';
+tinyMCELang['lang_insert_table_align_left'] = 'V&#228;nster';
+tinyMCELang['lang_insert_table_align_right'] = 'H&#246;ger';
+tinyMCELang['lang_insert_table_align_middle'] = 'Mitten';
+tinyMCELang['lang_insert_table_class'] = 'Stil';
+tinyMCELang['lang_theme_fontdefault'] = 'Normal';
+tinyMCELang['lang_theme_paragraph'] = 'Paragraf';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Adress';
+tinyMCELang['lang_theme_pre'] = 'F&#246;rformatterad';
+tinyMCELang['lang_theme_h1'] = 'Rubrik 1';
+tinyMCELang['lang_theme_h2'] = 'Rubrik 2';
+tinyMCELang['lang_theme_h3'] = 'Rubrik 3';
+tinyMCELang['lang_theme_h4'] = 'Rubrik 4';
+tinyMCELang['lang_theme_h5'] = 'Rubrik 5';
+tinyMCELang['lang_theme_h6'] = 'Rubrik 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Välj en färg';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Applicera';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Välj förgrundsfärg';
+tinyMCELang['lang_theme_charmap_title'] = 'Välj specialtecken';
+tinyMCELang['lang_theme_charmap_desc'] = 'Sätt in specialtecken';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Slå av/på osynliga element';
+tinyMCELang['lang_insert_anchor_title'] = 'Skapa/redigera ankare';
+tinyMCELang['lang_insert_anchor_name'] = 'Ankarnamn';
+tinyMCELang['lang_theme_anchor_desc'] = 'Skapa/redigera ankare';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Titel';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Klipput/Kopiera/Klistra fungerar inte Mozilla och Firefox. Vill du veta mer om detta?';
+tinyMCELang['lang_cut_desc'] = 'Klipput';
+tinyMCELang['lang_copy_desc'] = 'Kopiera';
+tinyMCELang['lang_paste_desc'] = 'Klistra in';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/tw.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/tw.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/tw.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,101 @@
+// TW lang variables contributed by Jim Kou
+
+tinyMCELang['lang_bold_desc'] = '²ÊÅé';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_bullist_desc'] = '²Å¸¹¶µ¥Ø';
+tinyMCELang['lang_cancel'] = '¨ú®ø';
+tinyMCELang['lang_cleanup_desc'] = '²M°£';
+tinyMCELang['lang_help_desc'] = '»²§U»¡©ú';
+tinyMCELang['lang_image_desc'] = '¹Ï¤ù';
+tinyMCELang['lang_indent_desc'] = 'ÁY±Æ';
+tinyMCELang['lang_insert'] = '·s¼W';
+tinyMCELang['lang_insert_anchor_name'] = '¼Ðµù¦WºÙ';
+tinyMCELang['lang_insert_anchor_title'] = '·s¼W¼Ðµù';
+tinyMCELang['lang_insert_image_align'] = '¹ï»ô';
+tinyMCELang['lang_insert_image_align_absbottom'] = '±j¨î»ô¤U';
+tinyMCELang['lang_insert_image_align_absmiddle'] = '±j¨î¸m¤¤';
+tinyMCELang['lang_insert_image_align_baseline'] = '°ò·Ç½u';
+tinyMCELang['lang_insert_image_align_bottom'] = '»ô¤U';
+tinyMCELang['lang_insert_image_align_default'] = '¼Ð·Ç';
+tinyMCELang['lang_insert_image_align_left'] = '»ô¥ª';
+tinyMCELang['lang_insert_image_align_middle'] = '¸m¤¤';
+tinyMCELang['lang_insert_image_align_right'] = '»ô¥k';
+tinyMCELang['lang_insert_image_align_texttop'] = '¤å¦r¤W¤è';
+tinyMCELang['lang_insert_image_align_top'] = '»ô¤W';
+tinyMCELang['lang_insert_image_alt'] = '¹Ï¤ù»¡©ú';
+tinyMCELang['lang_insert_image_border'] = '¥~®Ø';
+tinyMCELang['lang_insert_image_dimensions'] = '¤Ø¤o';
+tinyMCELang['lang_insert_image_hspace'] = '¤ô¥­¶¡»Ø';
+tinyMCELang['lang_insert_image_src'] = '¹Ï¤ù¨Ó·½';
+tinyMCELang['lang_insert_image_title'] = '·s¼W¹Ï¤ù';
+tinyMCELang['lang_insert_image_vspace'] = '««ª½¶¡»Ø';
+tinyMCELang['lang_insert_link_target'] = '¥Ø¼Ð';
+tinyMCELang['lang_insert_link_target_blank'] = 'Åã¥Ü©ó·sµøµ¡¤¤';
+tinyMCELang['lang_insert_link_target_same'] = 'Åã¥Ü©ó¦P¤@µøµ¡¤¤';
+tinyMCELang['lang_insert_link_title'] = '·s¼W¶W³sµ²';
+tinyMCELang['lang_insert_link_url'] = '¶W³sµ²';
+tinyMCELang['lang_insert_table_align'] = '¹ï»ô';
+tinyMCELang['lang_insert_table_align_default'] = '¼Ð·Ç';
+tinyMCELang['lang_insert_table_align_left'] = '»ô¥ª';
+tinyMCELang['lang_insert_table_align_middle'] = '¸m¤¤';
+tinyMCELang['lang_insert_table_align_right'] = '»ô¥k';
+tinyMCELang['lang_insert_table_border'] = '®Ø½u';
+tinyMCELang['lang_insert_table_cellpadding'] = '¦rÅé»PÀx¦s®æ¶¡»Ø';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Àx¦s®æ¶¡»Ø';
+tinyMCELang['lang_insert_table_class'] = '¼Ë¦¡';
+tinyMCELang['lang_insert_table_cols'] = '¦æ';
+tinyMCELang['lang_insert_table_height'] = '°ª«×';
+tinyMCELang['lang_insert_table_rows'] = '¦C';
+tinyMCELang['lang_insert_table_title'] = 'ªí®æ¼ÐÃD';
+tinyMCELang['lang_insert_table_width'] = '¼e«×';
+tinyMCELang['lang_italic_desc'] = '±×Åé';
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_justifycenter_desc'] = '»ô¤¤';
+tinyMCELang['lang_justifyfull_desc'] = '¶ñº¡';
+tinyMCELang['lang_justifyleft_desc'] = '»ô¥ª';
+tinyMCELang['lang_justifyright_desc'] = '»ô¥k';
+tinyMCELang['lang_link_desc'] = '«Ø¥ß³sµ²';
+tinyMCELang['lang_numlist_desc'] = '¼Æ¦r¶µ¥Ø';
+tinyMCELang['lang_outdent_desc'] = '¥Y±Æ';
+tinyMCELang['lang_redo_desc'] = '­«°µ';
+tinyMCELang['lang_striketrough_desc'] = '§R°£½u';
+tinyMCELang['lang_theme_address'] = '¦a§}';
+tinyMCELang['lang_theme_anchor_desc'] = '¼Ðµù';
+tinyMCELang['lang_theme_charmap_desc'] = '¯S®í¦r¤¸';
+tinyMCELang['lang_theme_charmap_title'] = '¯S®í¦r¤¸²M³æ';
+tinyMCELang['lang_theme_code_desc'] = 'Åã¥Ü HTML ­ì©l½X';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_code_title'] = 'HTML ­ì©l½X';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Åܧó';
+tinyMCELang['lang_theme_colorpicker_title'] = 'ÃC¦â';
+tinyMCELang['lang_theme_fontdefault'] = '¹w³]¦r«¬';
+tinyMCELang['lang_theme_forecolor_desc'] = '¦r«¬ÃC¦â';
+tinyMCELang['lang_theme_h1'] = '¼ÐÃD1';
+tinyMCELang['lang_theme_h2'] = '¼ÐÃD2';
+tinyMCELang['lang_theme_h3'] = '¼ÐÃD3';
+tinyMCELang['lang_theme_h4'] = '¼ÐÃD4';
+tinyMCELang['lang_theme_h5'] = '¼ÐÃD5';
+tinyMCELang['lang_theme_h6'] = '¼ÐÃD6';
+tinyMCELang['lang_theme_hr_desc'] = '·s¼W¾î½u';
+tinyMCELang['lang_theme_paragraph'] = '¬q¸¨';
+tinyMCELang['lang_theme_pre'] = '¤º©w®æ¦¡';
+tinyMCELang['lang_theme_removeformat_desc'] = '²M°£®æ¦¡³]©w';
+tinyMCELang['lang_theme_style_select'] = '¼Ë¦¡';
+tinyMCELang['lang_theme_sub_desc'] = '¤U¼Ð';
+tinyMCELang['lang_theme_sup_desc'] = '¤W¼Ð';
+tinyMCELang['lang_theme_table_delete_col_desc'] = '§R°£¤@¦æÀx¦s®æ';
+tinyMCELang['lang_theme_table_delete_row_desc'] = '§R°£¤@¦CÀx¦s®æ';
+tinyMCELang['lang_theme_table_desc'] = 'ªí®æ';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = '·s¼W¤@¦æÀx¦s®æ(«á)';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = '·s¼W¤@¦æÀx¦s®æ(«e)';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = '·s¼W¤@¦CÀx¦s®æ(«á)';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = '·s¼W¤@¦CÀx¦s®æ(«e)';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Åã¥Ü/ÁôÂëD¥i¨£ªº¤¸¯À';
+tinyMCELang['lang_underline_desc'] = '©³½u';
+tinyMCELang['lang_undo_desc'] = '´_­ì';
+tinyMCELang['lang_unlink_desc'] = '¨ú®ø³sµ²';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/uk.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/uk.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/langs/uk.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,72 @@
+// UK lang variables
+
+tinyMCELang['lang_theme_style_select'] = 'Styles';
+tinyMCELang['lang_theme_code_desc'] = 'Edit HTML Source';
+tinyMCELang['lang_theme_code_title'] = 'HTML Source Editor';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Word wrap';
+tinyMCELang['lang_theme_sub_desc'] = 'Subscript';
+tinyMCELang['lang_theme_sup_desc'] = 'Superscript';
+tinyMCELang['lang_theme_hr_desc'] = 'Insert horizontal ruler';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Remove formatting';
+tinyMCELang['lang_theme_table_desc'] = 'Inserts a new table';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Insert row before';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Insert row after';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Delete row';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Insert column before';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Insert column after';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Remove col';
+tinyMCELang['lang_theme_custom1_desc'] = 'Your custom description here';
+tinyMCELang['lang_insert_image_border'] = 'Border';
+tinyMCELang['lang_insert_image_dimensions'] = 'Dimensions';
+tinyMCELang['lang_insert_image_vspace'] = 'VSpace';
+tinyMCELang['lang_insert_image_hspace'] = 'HSpace';
+tinyMCELang['lang_insert_image_align'] = 'Alignment';
+tinyMCELang['lang_insert_image_align_default'] = 'Default';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Baseline';
+tinyMCELang['lang_insert_image_align_top'] = 'Top';
+tinyMCELang['lang_insert_image_align_middle'] = 'Middle';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Bottom';
+tinyMCELang['lang_insert_image_align_texttop'] = 'TextTop';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absolute Middle';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Absolute Bottom';
+tinyMCELang['lang_insert_image_align_left'] = 'Left';
+tinyMCELang['lang_insert_image_align_right'] = 'Right';
+tinyMCELang['lang_insert_table_title'] = 'Insert/Modify table';
+tinyMCELang['lang_insert_table_width'] = 'Width';
+tinyMCELang['lang_insert_table_height'] = 'Height';
+tinyMCELang['lang_insert_table_cols'] = 'Columns';
+tinyMCELang['lang_insert_table_rows'] = 'Rows';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Cellspacing';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Cellpadding';
+tinyMCELang['lang_insert_table_border'] = 'Border';
+tinyMCELang['lang_insert_table_align'] = 'Alignment';
+tinyMCELang['lang_insert_table_align_default'] = 'Default';
+tinyMCELang['lang_insert_table_align_left'] = 'Left';
+tinyMCELang['lang_insert_table_align_right'] = 'Right';
+tinyMCELang['lang_insert_table_align_middle'] = 'Middle';
+tinyMCELang['lang_insert_table_class'] = 'Class';
+tinyMCELang['lang_theme_fontdefault'] = 'Default';
+tinyMCELang['lang_theme_paragraph'] = 'Paragraph';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Address';
+tinyMCELang['lang_theme_pre'] = 'Preformatted';
+tinyMCELang['lang_theme_h1'] = 'Heading 1';
+tinyMCELang['lang_theme_h2'] = 'Heading 2';
+tinyMCELang['lang_theme_h3'] = 'Heading 3';
+tinyMCELang['lang_theme_h4'] = 'Heading 4';
+tinyMCELang['lang_theme_h5'] = 'Heading 5';
+tinyMCELang['lang_theme_h6'] = 'Heading 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Select a color';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Apply';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Select forecolor';
+tinyMCELang['lang_theme_charmap_title'] = 'Select custom character';
+tinyMCELang['lang_theme_charmap_desc'] = 'Insert custom character';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Toggle guidelines/invisible elements';
+tinyMCELang['lang_insert_anchor_title'] = 'Insert/edit anchor';
+tinyMCELang['lang_insert_anchor_name'] = 'Anchor name';
+tinyMCELang['lang_theme_anchor_desc'] = 'Insert/edit anchor';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Title';
+tinyMCELang['lang_theme_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
+tinyMCELang['lang_cut_desc'] = 'Cut';
+tinyMCELang['lang_copy_desc'] = 'Copy';
+tinyMCELang['lang_paste_desc'] = 'Paste';

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/link.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/link.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/link.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,100 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_insert_link_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/link.js"></script>
+	<base target="_self" />
+</head>
+<body id="link" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
+<form onsubmit="insertLink();return false;" action="#">
+	<div class="tabs">
+		<ul>
+			<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_insert_link_title}</a></span></li>
+		</ul>
+	</div>
+
+	<div class="panel_wrapper">
+		<div id="general_panel" class="panel current">
+
+		<table border="0" cellpadding="4" cellspacing="0">
+          <tr>
+            <td nowrap="nowrap"><label for="href">{$lang_insert_link_url}</label></td>
+            <td><table border="0" cellspacing="0" cellpadding="0"> 
+				  <tr> 
+					<td><input id="href" name="href" type="text" value="" style="width: 200px" /></td> 
+					<td id="hrefbrowsercontainer">&nbsp;</td>
+				  </tr> 
+				</table></td>
+          </tr>
+		  <!-- Link list -->
+		  <script language="javascript">
+			if (typeof(tinyMCELinkList) != "undefined" && tinyMCELinkList.length > 0) {
+				var html = "";
+
+				html += '<tr><td><label for="link_list">{$lang_link_list}</label></td>';
+				html += '<td><select id="link_list" name="link_list" style="width: 200px" onchange="this.form.href.value=this.options[this.selectedIndex].value;">';
+				html += '<option value="">---</option>';
+
+				for (var i=0; i<tinyMCELinkList.length; i++)
+					html += '<option value="' + tinyMCELinkList[i][1] + '">' + tinyMCELinkList[i][0] + '</option>';
+
+				html += '</select></td></tr>';
+
+				document.write(html);
+			}
+		  </script>
+		  <!-- /Link list -->
+          <tr>
+            <td nowrap="nowrap"><label for="target">{$lang_insert_link_target}</label></td>
+            <td><select id="target" name="target" style="width: 200px">
+                <option value="_self">{$lang_insert_link_target_same}</option>
+                <option value="_blank">{$lang_insert_link_target_blank}</option>
+				<script language="javascript">
+					var html = "";
+					var targets = tinyMCE.getParam('theme_advanced_link_targets', '').split(';');
+
+					for (var i=0; i<targets.length; i++) {
+						var key, value;
+
+						if (targets[i] == "")
+							continue;
+
+						key = targets[i].split('=')[0];
+						value = targets[i].split('=')[1];
+
+						html += '<option value="' + value + '">' + key + '</option>';
+					}
+
+					document.write(html);
+				</script>
+            </select></td>
+          </tr>
+          <tr>
+            <td nowrap="nowrap"><label for="linktitle">{$lang_theme_insert_link_titlefield}</label></td>
+            <td><input id="linktitle" name="linktitle" type="text" value="" style="width: 200px"></td>
+          </tr>
+          <tr id="styleSelectRow">
+            <td><label for="styleSelect">{$lang_class_name}</label></td>
+            <td>
+			 <select id="styleSelect" name="styleSelect">
+                <option value="" selected>{$lang_theme_style_select}</option>
+             </select></td>
+          </tr>
+        </table>
+		</div>
+	</div>
+
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertLink();" />
+		</div>
+
+		<div style="float: right">
+			<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/source_editor.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/source_editor.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/source_editor.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+	<title>{$lang_theme_code_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/source_editor.js"></script>
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('onLoadInit();');" onresize="resizeInputs();" style="display: none">
+	<form name="source" onsubmit="saveContent();" action="#">
+		<div style="float: left" class="title">{$lang_theme_code_title}</div>
+
+		<div id="wrapline" style="float: right">
+			<input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{$lang_theme_code_wordwrap}</label>
+		</div>
+
+		<br style="clear: both" />
+
+		<textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,mono; font-size: 12px" dir="ltr" wrap="off"></textarea>
+
+		<div class="mceActionPanel">
+			<div style="float: left">
+				<input type="button" name="insert" value="{$lang_update}" onclick="saveContent();" id="insert" />
+			</div>
+
+			<div style="float: right">
+				<input type="button" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
+			</div>
+		</div>
+	</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/table.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/table.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/advanced/table.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>{$lang_insert_table_title}</title>
+<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+<script language="javascript" type="text/javascript">
+function insertTable() {
+	if (window.opener) {
+		var args = new Array();
+		args["cols"] = document.forms[0].cols.value;
+		args["rows"] = document.forms[0].rows.value;
+		args["border"] = document.forms[0].border.value;
+		args["cellpadding"] = document.forms[0].cellpadding.value;
+		args["cellspacing"] = document.forms[0].cellspacing.value;
+		args["width"] = document.forms[0].width.value;
+		args["height"] = document.forms[0].height.value;
+		args["align"] = document.forms[0].align.options[document.forms[0].align.selectedIndex].value;
+		args["className"] = document.forms[0].styleSelect.options[document.forms[0].styleSelect.selectedIndex].value;
+
+		window.opener.tinyMCE.execCommand("mceInsertTable", false, args);
+		top.close();
+	}
+}
+
+function init() {
+	for (var i=0; i<document.forms[0].align.options.length; i++) {
+		if (document.forms[0].align.options[i].value == tinyMCE.getWindowArg('align'))
+			document.forms[0].align.options.selectedIndex = i;
+	}
+
+	var className = tinyMCE.getWindowArg('className');
+	var styleSelectElm = document.forms[0].styleSelect;
+	var stylesAr = tinyMCE.getParam('theme_advanced_styles', false);
+	if (stylesAr) {
+		stylesAr = stylesAr.split(';');
+
+		for (var i=0; i<stylesAr.length; i++) {
+			var key, value;
+
+			key = stylesAr[i].split('=')[0];
+			value = stylesAr[i].split('=')[1];
+
+			styleSelectElm.options[styleSelectElm.length] = new Option(key, value);
+			if (value == className)
+				styleSelectElm.options.selectedIndex = styleSelectElm.options.length-1;
+		}
+	} else {
+		var csses = tinyMCE.getCSSClasses(tinyMCE.getWindowArg('editor_id'));
+		for (var i=0; i<csses.length; i++) {
+			styleSelectElm.options[styleSelectElm.length] = new Option(csses[i], csses[i]);
+			if (csses[i] == className)
+				styleSelectElm.options.selectedIndex = styleSelectElm.options.length-1;
+		}
+	}
+
+	if (tinyMCE.getWindowArg('action') == "update") {
+		document.forms[0].cols.disabled = true;
+		document.forms[0].rows.disabled = true;
+	}
+
+	var formObj = document.forms[0];
+	formObj.cols.value = tinyMCE.getWindowArg('cols');
+	formObj.rows.value = tinyMCE.getWindowArg('rows');
+	formObj.border.value = tinyMCE.getWindowArg('border');
+	formObj.cellpadding.value = tinyMCE.getWindowArg('cellpadding');
+	formObj.cellspacing.value = tinyMCE.getWindowArg('cellspacing');
+	formObj.width.value = tinyMCE.getWindowArg('width');
+	formObj.height.value = tinyMCE.getWindowArg('height');
+	formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action')); 
+
+	window.focus();
+}
+
+function cancelAction() {
+	top.close();
+}
+</script>
+</head>
+<body onload="window.focus();init();">
+<form onsubmit="insertTable();return false;">
+  <table border="0" cellpadding="0" cellspacing="0" width="100%">
+    <tr>
+      <td align="center" valign="middle"><table border="0" cellpadding="4" cellspacing="0">
+          <tr>
+            <td colspan="4" class="title">{$lang_insert_table_title}</td>
+          </tr>
+          <tr>
+            <td>{$lang_insert_table_cols}:</td>
+            <td><input name="cols" type="text" id="cols" value="" size="3" maxlength="3"></td>
+            <td>{$lang_insert_table_rows}:</td>
+            <td><input name="rows" type="text" id="rows" value="" size="3" maxlength="3"></td>
+          </tr>
+          <tr>
+            <td>{$lang_insert_table_cellpadding}:</td>
+            <td><input name="cellpadding" type="text" id="cellpadding" value="" size="3" maxlength="3"></td>
+            <td>{$lang_insert_table_cellspacing}:</td>
+            <td><input name="cellspacing" type="text" id="cellspacing" value="" size="3" maxlength="3"></td>
+          </tr>
+          <tr>
+            <td>{$lang_insert_table_align}:</td>
+            <td><select name="align">
+                <option value="">{$lang_insert_table_align_default}</option>
+                <option value="center">{$lang_insert_table_align_middle}</option>
+                <option value="left">{$lang_insert_table_align_left}</option>
+                <option value="right">{$lang_insert_table_align_right}</option>
+              </select></td>
+            <td>{$lang_insert_table_border}:</td>
+            <td><input name="border" type="text" id="border" value="" size="3" maxlength="3"></td>
+          </tr>
+          <tr>
+            <td>{$lang_insert_table_width}:</td>
+            <td><input name="width" type="text" id="width" value="" size="4" maxlength="4"></td>
+            <td>{$lang_insert_table_height}: </td>
+            <td><input name="height" type="text" id="height" value="" size="4" maxlength="4"></td>
+          </tr>
+          <tr>
+            <td>{$lang_insert_table_class}:</td>
+            <td>
+			 <select name="styleSelect">
+                <option value="" selected>-- {$lang_theme_style_select} --</option>
+             </select></td>
+            <td align="right">&nbsp;</td>
+            <td align="right">&nbsp;</td>
+          </tr>
+          <tr>
+            <td><input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertTable();"></td>
+            <td align="right">&nbsp;</td>
+            <td align="right">&nbsp;</td>
+            <td align="right"><input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="cancelAction();"></td>
+          </tr>
+        </table></td>
+    </tr>
+  </table>
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>&Agrave; propos de TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">&Agrave; propos de TinyMCE</span></td>
+    <td align="right"><a href="index.htm">Table des mati&egrave;res</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE est un petit &eacute;diteur "WYSIWYG" pour page Web comme MSIE ou Mozilla qui
+vous permet de manipuler du contenu HTML d'une fa&ccedil;on plus intuitive.
+Il est simple d'utilisation et poss&egrave;de les fonctionalit&eacute;s ls plus r&eacute;pendues que l'on peut retrouver dans
+les traitements de texte.
+<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Aller &agrave;: <a href="index.htm">Table des mati&egrave;res</a></td>
+    <td align="right"><a href="#">Haut de page</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,112 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Outils communs</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Outils communs</span></td>
+    <td align="right"><a href="index.htm">Table des mati&egrave;res</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Ci-dessous une courte description de chacuns des outils.<img src="../../images/spacer.gif" width="1" height="1"> 
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold_fr.gif" width="20" height="20"></td>
+    <td>Met le texte s&eacute;lectionn&eacute; en gras.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Met le texte s&eacute;lectionn&eacute; en italique.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Souligne le texte s&eacute;lectionn&eacute;.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Barre le texte s&eacute;lectionn&eacute;.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Alignement &agrave; gauche.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Alignement au centr&eacute;.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Alignement &agrave; droite.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Texte justifi&eacute;.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Liste &agrave; puces.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Liste num&eacute;rot&eacute;e</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>R&eacute;duit l'indentation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Augmente l'indentation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Annule la derni&egrave;re op&eacute;ration.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Refait la derni&egrave;re op&eacute;ration annul&eacute;e.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Ins&egrave;re ou modifie un hyperlien. Allez &agrave; la page <a href="insert_link_button.htm">
+        Outil d'ajout d'hyperliens</a> pour plus de d&eacute;tails.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Efface les hyperliens qui sont s&eacute;lection&eacute;es.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Ins&egrave;re ou modifie une image. Allez &agrave; la page <a href="insert_image_button.htm">
+        Outil d'ajout d'images</a> pour plus de d&eacute;tails.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Nettoie le code et retire les param&egrave;tres non d&eacute;sir&eacute;s.  Cet outil
+    est tr&egrave;s utile lorsque vous copiez du contenu provenant de logiciels
+    de bureatique.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Affiche cette page d'aide.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Aller &agrave;: <a href="index.htm">Table des mati&egrave;res</a></td>
+    <td align="right"><a href="#">Haut de page</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/images/Thumbs.db
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/images/Thumbs.db
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Table des mati&egrave;res de l'aide</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Table des mati&egrave;res</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Faites votre s&eacute;lection parmis les th&egrave;mes suivants:
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">&Agrave; propos de TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Outils communs</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Outil d'ajout d'images</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Outil d'ajout d'hyperliens</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Outil d'ajout d'images</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Outil d'ajout d'images</span></td>
+    <td align="right"><a href="index.htm">Table des mati&egrave;res</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+L'outil d'ajout d'images ouvre la fen&ecirc;tre ci-dessous.<br>
+<br>
+<img src="images/insert_image_window.gif"><br>
+<br>
+Vous entrez tout simplement l'adresse de l'image que vous d&eacute;sirez ajouter et
+entrez une description facultative.  La description sera affich&eacute;e en texte alternatif
+sur l'image lorsqu'elle sera publi&eacute;e.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Aller &agrave;: <a href="index.htm">Table des mati&egrave;res</a></td>
+    <td align="right"><a href="#">Haut de page</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Outil d'ajout d'hyperliens</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Outil d'ajout d'hyperliens</span></td>
+    <td align="right"><a href="index.htm">Table des mati&egrave;res</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+L'outil d'ajout d'hyperlien ouvre la fen&ecirc;tre ci-dessous.<br>
+<br>
+<img src="images/insert_link_window.gif"><br>
+<br>
+Il y a deux champs dans cette fen&ecirc;tre. L'Adresse URL est l'adresse
+de l'hyperlien.  La destination vous permet de choisir de quelle fa&ccedil;on
+l'hyperlien sera ouvert.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Aller &agrave;: <a href="index.htm">Table des mati&egrave;res</a></td>
+    <td align="right"><a href="#">Haut de page</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/ca_fr/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>O TinyMCE</TITLE>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">O TinyMCE</span></td>
+    <td align="right"><a href="index.htm">Obsah</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE je malý WYSIWYG editor pro webové prohlí¾eèe jako jsou MSIE nebo Mozilla,
+kterým lze HTML obsah upravovat mnohem jednodu¹eji. Obsahuje bì¾né funkce,
+je¾ lze nalézt ve vìt¹inì textových editorù, proto by jeho pou¾ívání nemìlo být slo¾ité.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Jdi na: <a href="index.htm">Obsah</a></td>
+    <td align="right"><a href="#">Nahoru</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,123 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Bì¾ná tlaèítka</TITLE>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Bì¾ná tlaèítka</span></td>
+    <td align="right"><a href="index.htm">Obsah</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Ní¾e je krátce popsáno ka¾dé tlaèítko.
+<img src="../../images/spacer.gif" width="1" height="1"> 
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/cut.gif" width="20" height="20"></td>
+    <td>Zkopíruje aktuálnì vybraný obsah do schránky. (Ctrl+C)</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/copy.gif" width="20" height="20"></td>
+    <td>Vyjme aktuálnì vybraný obsah do schránky. (Ctrl+X)</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/paste.gif" width="20" height="20"></td>
+    <td>Vlo¾í obsah schránky do okna editoru. (Ctrl+P)</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Ztuèní text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Naformátuje text kurzívou.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Podtrhne text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Pøe¹krtne text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Zarovná vlevo.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Zarovná na støed.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Zarovná vpravo.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Zarovná do bloku.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Neøazený seznam/seznam s odrá¾ky.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Øazený seznam/èíslovaný seznam.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Pøedsadí/sní¾í odsazení.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Odsadí/zvý¹í odsazení.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Vrátí zpìt naposledy provedenou akci.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Obnoví poslední akci.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Vlo¾í nový odkaz, více o této funkci v èásti <a href="insert_link_button.htm">Vlo¾it odkaz</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Zru¹í odkaz v aktuálním výbìru/odstranit v¹echny vybrané odkazy.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Vlo¾í nový obrázek, více o této funkci v èásti <a href="insert_image_button.htm">Vlo¾it obrázek</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Vyèistí kód/odstraní nechtìné formátování. Tato funkce se hodí kdy¾
+      kopírujete obsah napøíklad z kanceláøského balíku.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Zobrazí tuto nápovìdu.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Jdi na: <a href="index.htm">Obsah</a></td>
+    <td align="right"><a href="#">Nahoru</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/images/insert_image_window.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/images/insert_image_window.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/images/insert_link_window.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/images/insert_link_window.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Nápovìda</TITLE>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Obsah</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Kliknutím na odkazy ní¾e zvolte po¾adovanou èást nápovìdy.
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">O TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Bì¾ná tlaèítka</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Tlaèítko vlo¾it obrázek</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Tlaèítko vlo¾it odkaz</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Tlaèítko vlo¾it obrázek</TITLE>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Tlaèítko vlo¾it obrázek</span></td>
+    <td align="right"><a href="index.htm">Obsah</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Tlaèítko vlo¾it obrázek otevøe následující okno.<br>
+<br>
+<img src="images/insert_image_window.png" width="348" height="160"><br>
+<br>
+Jen vlo¾te URL obrázku, který chcete pøidat a zadáte jeho popis, jen¾ bude
+zobrazován jako alternativní popisek obrázku.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Jdi na: <a href="index.htm">Obsah</a></td>
+    <td align="right"><a href="#">Nahoru</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Tlaèítko vlo¾it odkaz</TITLE>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Tlaèítko vlo¾it odkaz</span></td>
+    <td align="right"><a href="index.htm">Obsah</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Toto tlaèítko otevøe nové okno s mo¾ností vlo¾ení/úpravy odkazu.<br>
+<br>
+<img src="images/insert_link_window.png" width="328" height="160"><br>
+<br>
+V tomto oknì jsou dvì políèka. &quot;URL odkazu&quot; je adresa stránky, na 
+kterou odkazujeme. &quot;Cíl&quot; urèuje, jak má být odkazovaná stránka otevøena.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Jdi na: <a href="index.htm">Obsah</a></td>
+    <td align="right"><a href="#">Nahoru</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/cz/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: 0; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>&Uuml;ber TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">&Uuml;ber TinyMCE</span></td>
+    <td align="right"><a href="index.htm">Inhalt</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE ist ein kompakter WYSIWYG-Editor f&uuml;r Webbrowser wie MSIE oder Mozilla
+der es Ihnen erm&ouml;glicht HTML-Inhalte auf eine benutzerfreundliche Weise zu
+editieren. Es verf&uuml;gt über die wichtigsten Funktionen die in den meisten
+Textverarbeitungen vorkommen und sollte einfach zu benutzen sein.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Gehe zu: <a href="index.htm">Inhaltsverzeichnis</a></td>
+    <td align="right"><a href="#">nach oben</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,108 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Allgemeine Schaltfl&auml;chen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Allgemeine Schaltfl&auml;chen</span></td>
+    <td align="right"><a href="index.htm">Inhalt</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Untenstehend eine kurze Beschreibung jeder Schaltfl&auml;che.<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold_de_se.gif" width="20" height="20"></td>
+    <td>Fetter Text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic_de_se.gif" width="20" height="20"></td>
+    <td>Kursiver Text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Unterstrichener Text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Durchgestrichener Text.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Linksb&uuml;ndig.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Zentriert.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Rechtsb&uuml;ndig.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Blocksatz.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Unsortierte Liste / Punktierte Liste.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Sortierte Liste / Nummerierte Liste.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Einzug verkleinern.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Einzug vergr&ouml;ssern.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Letzte Aktion r&uuml;ckg&auml;ngig machen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Letzte Aktion wiederholen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Einen neuen Hyperlink einf&uuml;gen, lesen Sie mehr &uuml;ber diese Funktion im Kapitel <a href="insert_link_button.htm">Hyperlink einf&uuml;gen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Den gegenw&auml;rtige markierten Hyperlink entfernen / Alle gegenw&auml;rtig markierten Hyperlinks entfernen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Ein neues Bild einf&uuml;gen, lesen Sie mehr &uuml;ber diese Funktion im Kapitel <a href="insert_image_button.htm">Bild einf&uuml;gen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>unsauberen Code aufr&auml;umen / Entfernt ungewollte Formatierungen. Diese Funktion ist n&uuml;tzlich,
+		wenn Sie beispielsweise Inhalte aus einem Office Produkt kopieren.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Zeigt diese Hilfe an.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Gehe zu: <a href="index.htm">Inhaltsverzeichnis</a></td>
+    <td align="right"><a href="#">nach oben</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Inhaltsverzeichnis der Hilfe</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Inhaltsverzeichnis</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Klicken Sie auf die untenstehenden Links um die verschiedenen Bereiche der Hilfe zu betrachten. 
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">&Uuml;ber TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Allgemeine Schaltfl&auml;chen</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Schaltfl&auml;che Bild einf&uuml;gen</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Schaltfl&auml;che Hyperlink einf&uuml;gen</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Schaltfl&auml;che Bild einf&uuml;gen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Schaltfl&auml;che Bild einf&uuml;gen</span></td>
+    <td align="right"><a href="index.htm">Inhalt</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Die Schaltfl&auml;che &quot;Bild einf&uuml;gen&quot; &ouml;ffnet das unten gezeigte Fenster.<br>
+<br>
+<img src="images/insert_image_window.gif" width="350" height="166"><br>
+<br>
+Sie geben einfach die URL zu dem Bild ein, das Sie verknüpfen möchten und eine
+Beschreibung des Bildes, welche dann als alternative Textbeschreibung verwendet wird.
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Gehe zu: <a href="index.htm">Inhaltsverzeichnis</a></td>
+    <td align="right"><a href="#">nach oben</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Schaltfl&auml;che Hyperlink einf&uuml;gen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Schaltfl&auml;che Hyperlink einf&uuml;gen</span></td>
+    <td align="right"><a href="index.htm">Inhalt</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Diese Schaltfl&auml;che &ouml;ffnet das Fenster f&uuml;r die &quot;Hyperlink einf&uuml;gen / bearbeiten&quot;-Funktion.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="166"><br>
+<br>
+Zwei Felder sind in diesem Fenster auszufüllen. Das Erste, &quot;Hyperlink URL&quot;, ist f&uuml;r
+die URL der Verknüpfung. Das &quot;Ziel&quot; erlaubt Ihnen auszuwählen wie die Verkn&uuml;pfung
+ge&ouml;ffnet werden soll.
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Gehe zu: <a href="index.htm">Inhaltsverzeichnis</a></td>
+    <td align="right"><a href="#">nach oben</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/de/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Acerca de TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Acerca de  TinyMCE</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE es un editor WYSIWYG para navegadores como  MSIE o Mozilla que te permite editar el contenido HTML de una manera m&aacute;s amigable. Tiene la mayor&iacute;a de las opciones de un procesador de texto y no deber&iacute;a ser dificil de usar.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ir a: <a href="index.htm">Lista de contenidos</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,108 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Botones de uso com&uacute;n<TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Botones de uso com&uacute;n</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Peque&ntilde;a descripci&oacute;n de cada bot&oacute;n.<img src="../../images/spacer.gif" width="1" height="1"> 
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Texto en negrita.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Texto en cursiva.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Texto subrayado.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Texto tachado.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Alinear a la izquierda.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Alinear al centro.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Alinear a la derecha.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Alinear justificado.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Lista desordenada/lista por puntos.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Lista ordenada/lista numerada</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Disminuir la sangr&iacute;a.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Aumentar la sangr&iacute;a.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Deshacer la &uacute;ltima operaci&oacute;n.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Rehacer la &uacute;ltima operaci&oacute;n.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Insertar un enlace, m&aacute;s informaci&oacute;n en <a href="insert_link_button.htm">insertar enlace</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Quita el enlace al texto seleccionado.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Inserta una nueva imagen, m&aacute;s informaci&oacute;n en <a href="insert_image_button.htm">insertar imagen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Limpiar c&oacute;digo. Esta funci&oacute;n es &uacute;til cuando copias el c&oacute;digo de otra p&aacute;gina.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Muestra esta ventana de ayuda.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ir a: <a href="index.htm">Lista de contenidos</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Indice de la ayuda</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Lista de contenidos</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Selecciona una secci&oacute;n para ver la ayuda. 
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">Acerca de  TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Botones</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Insertar imagen</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Insertar enlaces</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insertar imagen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insertar imagen</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+El bot&oacute;n insertar imagen abre la siguiente ventana.<br>
+<br>
+<img src="images/insert_image_window.gif" width="350" height="159"><br>
+<br>
+Tu s&oacute;lo tienes que escribir la URL de la imagen que quieres que aparezca y escribir una descripci&oacute;n de esta, esta descripci&oacute;n aparecera como un texto alternativo que describa la imagen.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ir a: <a href="index.htm">Lista de contenidos</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insertar enlaces</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insertar enlaces</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Este bot&oacute;n abre una nueva ventana con la funci&oacute;n insertar/editar enlace.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="159"><br>
+<br>
+Hay dos campos en esta ventana, el primero &quot;Link URL&quot; es donde hay que escribir la direcci&oacute;n del enlace. El segundo &quot;Target&quot; indica c&oacute;mo se abrir&aacute; el enlace.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ir a: <a href="index.htm">Lista de contenidos</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/es/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>&Uuml;ber TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">A TinyMCE-r&#337;l</span></td>
+    <td align="right"><a href="index.htm">Tartalom</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+A TinyMCE egy kompakt WYSIWYG-szerkeszt&#337; az MSIE-hoz &eacute;s a Mozill&aacute;hoz hasonl&oacute; webb&ouml;ng&eacute;sz&#337;k sz&aacute;m&aacute;ra, mely lehet&#337;s&eacute;get ny&uacute;jt &ouml;nnek a HTML tartalmak egyszer&#369; szerkeszt&eacute;s&eacute;re. A legt&ouml;bb sz&ouml;vegszerkeszt&#337;ben el&eacute;rhet&#337; funkci&oacute;kat ny&uacute;jtja egyszer&#369;en kezelhet&#337; form&aacute;ban.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ugr&aacute;s a <a href="index.htm">Tartalomjegyz&eacute;kre</a></td>
+    <td align="right"><a href="#">ugr&aacute;s a lap tetej&eacute;re </a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,107 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Allgemeine Schaltfl&auml;chen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Allgemeine Schaltfl&auml;chen</span></td>
+    <td align="right"><a href="index.htm">Tartalom</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Untenstehend eine kurze Beschreibung jeder Schaltfl&auml;che.<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Félkövér szöveg.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Dõlt szöveg .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Aláhúzott szöveg .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Áthúzott szöveg .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Balra igazítás .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Középre igazítás .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Jobbra igazíás .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Sorkizárt.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Felsorolás / pontozott lista. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Felsorolás / számozott lista.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Behúzás balra .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>behúzás jobbra .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Utolsó parancs visszavonása .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Utolsó parancs ismétlése .</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Új link beillesztése, bõvebb információért olvassa el a <a href="insert_link_button.htm">Link beillesztését</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>A kijelölt link eltávolítása  / Az összes kijelölt link eltávolítása.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Egy új kép beillesztése, bõvebb információért olvassa el a <a href="insert_image_button.htm">Kép beillesztését </a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Kód tisztítása  / Eltávolítja a nemkívánt formázásokat. Ez a funkció akkor hasznos, ha például Office dokumentumból másol tartalmat.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Ennek a segítségnek az elérése.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ugrás a <a href="index.htm">Tartalomjegyzékre</a></td>
+    <td align="right"><a href="#">ugrás a lap tetejére </a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Inhaltsverzeichnis der Hilfe</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Tartalomjegyzék</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Kattintson az alábbi linkekre a segítség különbözõ részeinek eléréséhez.
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">A TinyMCE-rõl</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Általános gombok </a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Kép beillesztése gomb </a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Link beillesztése gomb </a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Schaltfl&auml;che Bild einf&uuml;gen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">K&eacute;p beilleszt&eacute;se gomb </span></td>
+    <td align="right"><a href="index.htm">Tartalom</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br> 
+A K&eacute;p beilleszt&eacute;se gomb az al&aacute;bbi ablakot nyitja meg.
+<br>
+<br>
+<img src="images/insert_image_window.gif" width="350" height="166"><br>
+<br>
+Egyszer&#369;en meg kell adni a beilleszteni k&iacute;v&aacute;nt k&eacute;p el&eacute;r&eacute;s&eacute;nek URL-j&eacute;t, valamint egy r&ouml;vd le&iacute;r&aacute;st, mely alternat&iacute;v sz&ouml;vegk&eacute;nt ker&uuml;l megjelen&iacute;t&eacute;sre (pl. nem grafikus b&ouml;ng&eacute;sz&#337;kben).<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ugr&aacute;s a <a href="index.htm">Tartalomjegyz&eacute;kre</a></td>
+    <td align="right"><a href="#">ugr&aacute;s a lap tetej&eacute;re </a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Schaltfl&auml;che Hyperlink einf&uuml;gen</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Link beilleszt&eacute;se gomb </span></td>
+    <td align="right"><a href="index.htm">Tartalom</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+A Link beilleszt&eacute;se gomb az al&aacute;bbi ablakot nyitja meg.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="166"><br>
+<br>
+K&eacute;t mez&#337;t kell kit&ouml;ltenie ebben az ablakban. Az els&#337; - &quot;Link URL&quot; - a hivatkoz&aacute;s URL-je. A m&aacute;sodik lehet&#337;s&eacute;get ad &Ouml;nnek a hivatkozt&aacute;s megjelen&iacute;t&eacute;s&eacute;nek kiv&aacute;laszt&aacute;s&aacute;hoz.<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Ugr&aacute;s a <a href="index.htm">Tartalomjegyz&eacute;kre</a></td>
+    <td align="right"><a href="#">ugr&aacute;s a lap tetej&eacute;re </a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/hu/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+  <title>Informazioni su TinyMCE</title>
+  <link href="style.css" rel="stylesheet" type="text/css">
+</head>
+<body>
+<table class="pageheader" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td><span class="title">Informazioni su TinyMCE</span></td>
+      <td align="right"><a href="index.htm">TOC</a></td>
+    </tr>
+  </tbody>
+</table>
+<hr noshade="noshade">
+<br>
+TinyMCE &egrave; un piccolo WYSIWYG (What You See Is What You Get,
+quello che vedi &egrave; quello che ottieni) editor per i web browser
+come MSIE o Mozilla che permette di editare HTML in modo comodo. Ha le
+funzionalit&agrave; comuni di molti word processor e non dovrebbe
+essere difficile da usare.<br>
+<br>
+<hr noshade="noshade">
+<table class="pagefooter" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td>Vai a: <a href="index.htm">Tavola dei contenuti</a></td>
+      <td align="right"><a href="#">Su</a></td>
+    </tr>
+  </tbody>
+</table>
+<br>
+<br>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,126 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+  <title>Pulsanti comuni</title>
+  <link href="style.css" rel="stylesheet" type="text/css">
+</head>
+<body>
+<table class="pageheader" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td><span class="title">Pulsanti comuni<br>
+      </span></td>
+      <td align="right"><a href="index.htm">TOC</a></td>
+    </tr>
+  </tbody>
+</table>
+<hr noshade="noshade">
+<br>
+Di seguito una breve descrizione di ogni pulsante.<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tbody>
+    <tr>
+      <td><img src="../../images/bold.gif" height="20" width="20"></td>
+      <td>Testo <span style="font-weight: bold;">grassetto</span>.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/italic.gif" height="20" width="20"></td>
+      <td>Testo <span style="font-style: italic;">corsivo</span>.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/underline.gif" height="20" width="20"></td>
+      <td>Testo <span style="text-decoration: underline;">sottolineato</span>.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/strikethrough.gif" height="20"
+ width="20"></td>
+      <td>Testo <span style="text-decoration: line-through;">barrato</span>.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/left.gif" height="20" width="20"></td>
+      <td>Allinea a sinistra.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/center.gif" height="20" width="20"></td>
+      <td>Allinea al centro.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/right.gif" height="20" width="20"></td>
+      <td>Allinea a destra.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/full.gif" height="20" width="20"></td>
+      <td>Giustifica.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/bullist.gif" height="20" width="20"></td>
+      <td>Lista non ordinata.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/numlist.gif" height="20" width="20"></td>
+      <td>Lista ordianta.<br>
+      </td>
+    </tr>
+    <tr>
+      <td><img src="../../images/outdent.gif" height="20" width="20"></td>
+      <td>Diminuisci l'indentazione.<br>
+      </td>
+    </tr>
+    <tr>
+      <td><img src="../../images/indent.gif" height="20" width="20"></td>
+      <td>Aumenta l'indentazione.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/undo.gif" height="20" width="20"></td>
+      <td>Annulla l'ultima operazione.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/redo.gif" height="20" width="20"></td>
+      <td>Ripeti l'ultima operazione.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/link.gif" height="20" width="20"></td>
+      <td>Inserieci un nuovo collegamento, maggiori informazioni su
+questa funzione nella <a href="insert_link_button.htm">Sezione
+'Inserisci un collegamento'</a></td>
+    </tr>
+    <tr>
+      <td><img src="../../images/unlink.gif" height="20" width="20"></td>
+      <td>Rimuovi tutti i collegamenti selezionati<br>
+      </td>
+    </tr>
+    <tr>
+      <td><img src="../../images/image.gif" height="20" width="20"></td>
+      <td>Inserieci una nuova immagine, maggiori informazioni su questa
+funzione nella <a href="insert_image_button.htm">Sezione 'Inserisci
+una immagine'</a>.</td>
+    </tr>
+    <tr>
+      <td><img src="../../images/cleanup.gif" height="20" width="20"></td>
+      <td>Ripulisci il codice/rimuovi la formattazione non voluta.
+Questa funzione &egrave; utile quando si copia per esempio da un
+programma office<br>
+      </td>
+    </tr>
+    <tr>
+      <td><img src="../../images/help.gif" height="20" width="20"></td>
+      <td>Mostra questa guida<br>
+      </td>
+    </tr>
+  </tbody>
+</table>
+<br>
+<hr noshade="noshade">
+<table class="pagefooter" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td>Vai a: <a href="index.htm">Tavola dei contenuti</a></td>
+      <td align="right"><a href="#">Su</a></td>
+    </tr>
+  </tbody>
+</table>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+  <title>Indice della guida</title>
+  <link href="style.css" rel="stylesheet" type="text/css">
+</head>
+<body onload="window.focus();">
+<table class="pageheader" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td><span class="title">Tavola dei contenuti<br>
+      </span></td>
+      <td align="right">&nbsp;</td>
+    </tr>
+  </tbody>
+</table>
+<hr noshade="noshade">
+<br>
+Seleziona un argomento:<br>
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">Informazioni su TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Pulsanti comuni</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Pulsante
+'Inserisci immagine'<br>
+    </a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Pulsante
+'Inserisci collegamento'</a></li>
+</ul>
+<hr noshade="noshade">
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+  <title>Pulsante 'Inserisci immagine'</title>
+  <link href="style.css" rel="stylesheet" type="text/css">
+</head>
+<body>
+<table class="pageheader" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td><span class="title">Pulsante 'Inserisci immagine'<br>
+      </span></td>
+      <td align="right"><a href="index.htm">TOC</a></td>
+    </tr>
+  </tbody>
+</table>
+<hr noshade="noshade">
+<br>
+Il pulsante 'inserisci immagine' apre questa finestra.<br>
+<br>
+<img src="images/insert_image_window.gif" height="156" width="346"><br>
+<br>
+Semplicemente, inserite l'inidirzzo all'immagine che volete collegare e
+datene una descrizione, che sar&agrave; poi visualizzata come testo
+alternativo all'immagine nella pagina.<br>
+<br>
+<hr noshade="noshade">
+<table class="pagefooter" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td>Vai a: <a href="index.htm">Tavola dei contenuti</a></td>
+      <td align="right"><a href="#">Su</a></td>
+    </tr>
+  </tbody>
+</table>
+<br>
+<br>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+  <title>Pulsante 'Inserisci collegamento'</title>
+  <link href="style.css" rel="stylesheet" type="text/css">
+</head>
+<body>
+<table class="pageheader" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td><span class="title">Pulsante 'Inserisci collegamento'<br>
+      </span></td>
+      <td align="right"><a href="index.htm">TOC</a></td>
+    </tr>
+  </tbody>
+</table>
+<hr noshade="noshade">
+<br>
+Questo pulsante apre una nuova finstra con le funzioni di
+inserimento/modifica del collegamento.<br>
+<br>
+<img src="images/insert_link_window.gif" height="156" width="326"><br>
+<br>
+Ci sono due campi in questa finestra: il primo, "Link URL" &egrave;
+l'indirizzo del collegamento. Il 'target' permette di selezionare come
+il collegamento deve essere aperto.<br>
+<br>
+<hr noshade="noshade">
+<table class="pagefooter" border="0" cellpadding="1" cellspacing="3"
+ width="100%">
+  <tbody>
+    <tr>
+      <td>Vai a: <a href="index.htm">Tavola dei contenuti</a></td>
+      <td align="right"><a href="#">Su</a></td>
+    </tr>
+  </tbody>
+</table>
+<br>
+<br>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/it/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>O TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">O TinyMCE</span></td>
+    <td align="right"><a href="index.htm">Spis tre¶ci</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE jest ma³ym edytorem WYSWIWYG dla przegl±darek internetowych takich jak MSIE
+lub Mozilla, pozwalaj±cym na edytowanie zawarto¶ci strony HTML w sposób przyjazny dla
+u¿ytkownika. Posiada szeref funkcji znanych z popularnych edytorów tekstu, wiêc powinien
+byæ ³atwy w u¿yciu.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Spis tre¶ci</a></td>
+    <td align="right"><a href="#">Do góry</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>Wa¿niejsze przyciski</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Wa¿niejsze przyciski</span></td>
+    <td align="right"><a href="index.htm">Spis tre¶ci</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Poni¿ej znajduje siê krótki opis ka¿dego przycisku.<img src="../../images/spacer.gif" width="1" height="1">
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Pogrubienie tekstu.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Pochylenie tekstu.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Podkre¶lenie tekstu.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Przekre¶lenie tekstu.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Wyrównanie do lewej</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Wy¶rodkowanie.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Wyrównanie do prawej.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Wyjustowanie.</td>
+  </tr>
+   <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Lista nieuporz±dkowana/lista punktów.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Lista uporz±dkowana/lista ponumerowana</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Wysuniêcie/zmniejsz wciêcie.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Wciêcie/zwiêksz wciêcie.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Cofniêcie ostatnio wykonanej czynno¶ci</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Ponowienie ostatnio wykonanej czynno¶ci</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Wstawienie nowego ³±cza, przeczytaj wiêcej o tej funkcji sekcji <a href="insert_link_button.htm">Wstaw
+      ³±cze</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Usuniêcie ³±cz z zaznaczonej czê¶ci/usuniêcie wszystkich zaznaczonych ³±cz.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Wstawienie nowego zdjêcia, przeczytaj wiêcej o tej funkcji w sekcji <a href="insert_image_button.htm">Wstaw
+      zdjêcie</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Oczyszczenie kodu/usuniêcie niechcianeg formatowania. Ta funkcja jest pomocna kiedy
+      kopiujesz zawarto¶æ np. z worda.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Pokazanie tego okna pomocy.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Spis tre¶ci</a></td>
+    <td align="right"><a href="#">Di góry</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>Spis pomocy</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Spis tre¶ci</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Aby zobaczyæ poszczególne sekcje pomocy kliknij jeden z poni¿szych linków
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">O TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Lista wa¿niejszych przycisków</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Przycisk "Wstaw zdjêcie"</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Przycisk "Wstaw ³±cze"</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>Przycisk "Wstaw zdjêcie"</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Przycisk "Wstaw ³±cze"</span></td>
+    <td align="right"><a href="index.htm">Spis tre¶ci</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Przycisk "Wstaw zdjêcie" otwiera okno pokazane poni¿ej.<br>
+<br>
+<img src="images/insert_image_window.gif"><br>
+<br>
+Nale¿y podaæ adres URL lub scie¿kê dostêpu do zdjêcia które ma byæ wstawione i podaæ krótki opis
+zdjêcia, jest on wy¶wietlany jako alternatyny tekstowy opis zdjêcia umieszczonego na stronie.
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Id¼ do: <a href="index.htm">Spis tre¶ci</a></td>
+    <td align="right"><a href="#">Do góry</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<meta name="generator" content="WebSite PRO 4.3" />
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
+<TITLE>Przycisk "Wstaw ³±cze"</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Przycisk "Wstaw ³±cze"</span></td>
+    <td align="right"><a href="index.htm">Spis tre¶ci</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Ten przycisk otwiera nowe okno, pozwalaj±ce na wstawienie lub edytowanie ³±cza.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="159"><br>
+<br>
+S± dwa pola w tym oknie, pierwsze &quot;Adres URL&quot; jest adresem URL ³±cza
+. "Cel" umo¿liwia ustalenie jak ³±cze ma byæ otwarte.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Id¼ do: <a href="index.htm">Spis tre¶ci</a></td>
+    <td align="right"><a href="#">Do góry</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/pl/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>About TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Om TinyMCE</span></td>
+    <td align="right"><a href="index.htm">IF</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE &auml;r en liten WYSIWYG editor kontroll f&ouml;r webl&auml;sare som t.ex 
+MSIE och Mozilla som m&ouml;jligg&ouml;r f&ouml;r anv&auml;ndare att redigera 
+HTML inneh&aring;ll i p&aring; mer anv&auml;ndarv&auml;nligt s&auml;tt. Applikationen 
+har funktioner som liknar dem man finner i vanliga ordbehandlare och borde inte 
+vara speciellt sv&aring;rt att anv&auml;nda om man har datorvana.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>G&aring; till: <a href="index.htm">Inneh&aring;llsf&ouml;rtecking</a></td>
+    <td align="right"><a href="#">Toppen</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,111 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Common buttons</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Grundl&auml;ggande knappar</span></td>
+    <td align="right"><a href="index.htm">IF</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Nedan finner du en kort beskrivning om varje knapp/funktion.<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold_de_se.gif" width="20" height="20"></td>
+    <td>Fet text stil.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic_de_se.gif" width="20" height="20"></td>
+    <td>Kursiv text stil.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Understruken text stil.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Genomstruken text stil.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>V&auml;nster justera.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Centrera.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>H&ouml;ger justera.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Full justera.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Osorterad lista/Punktlista.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Sorterad lista/numrerad lista</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Minska indrag.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>&Ouml;ka utdrag.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>&Aring;ngra senaste operationen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>G&ouml;r om senaste operationen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Skapa/Redigera l&auml;nk, l&auml;s mer om denna funktion i <a href="insert_link_button.htm">Skapa/Redigera 
+      l&auml;nk sektionen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Ta bort l&auml;nkar fr&aring;n den nuvarande markeringen.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Skapa/Redigera bild, l&auml;r mer om denna funktion i <a href="insert_image_button.htm">Skapa/Redigera 
+      bild sektionen</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Rensa/St&auml;da k&aring;den. Denna funktion tar bort on&ouml;dig formatering. 
+      B&ouml;r anv&auml;ndas n&auml;r man t.ex klipper text fr&aring;n Office 
+      produkter. </td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Visad denna hj&auml;lp funktion</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>G&aring; till: <a href="index.htm">Inneh&aring;llsf&ouml;rtecking</a></td>
+    <td align="right"><a href="#">Toppen</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Help Index</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Inneh&aring;llsf&ouml;rtecking</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Klicka p&aring; l&auml;nkarna nedan f&ouml;r att g&aring; till olika hj&auml;lp 
+sektioner. 
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">Om TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Grundl&auml;ggande funktioner</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Skapa/Redigera bild</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Skapa/Redigera l&auml;nk</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insert image button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Skapa/Redigera bild</span></td>
+    <td align="right"><a href="index.htm">IF</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Skapa/Redigera bild funktionen &ouml;ppnar ett nytt f&ouml;nster som ser ut som 
+bilden nedan.<br>
+<br>
+<img src="images/insert_image_window.gif" width="330" height="159"><br>
+<br>
+I detta f&ouml;nster skriver du in URL:en till bilden du vill l&auml;nka till 
+samt en bild beskrivning, denna beskrivning kommer att visas som en alternativ 
+text till bilden f&ouml;r t.ex handikappade.<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>G&aring; till: <a href="index.htm">Inneh&aring;llsf&ouml;rteckning</a></td>
+    <td align="right"><a href="#">Toppen</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insert link button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Skapa/Redigera l&auml;nk</span></td>
+    <td align="right"><a href="index.htm">IF</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Denna funktion &ouml;ppnar ett nytt f&ouml;nster liknande det nedan.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="159"><br>
+<br>
+Detta f&ouml;nster har tv&aring; f&auml;lt l&auml;nkens URL/adress samt hur l&auml;nken 
+skall &ouml;ppnas.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>G&aring; till: <a href="index.htm">Inneh&aring;llsf&ouml;rteckning</a></td>
+    <td align="right"><a href="#">Toppen</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/se/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/about.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/about.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/about.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>About TinyMCE</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">About TinyMCE</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+TinyMCE is a small WYSIWYG editor control for web browsers such as MSIE or Mozilla 
+that enables you to edit HTML contents in a more user friendly way. It has common 
+features that are found in most word processors and should not be difficult to 
+use.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/common_buttons.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/common_buttons.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/common_buttons.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,111 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Common buttons</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Common buttons</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Below is a short description about each button.<img src="../../images/spacer.gif" width="1" height="1"> 
+<br>
+<br>
+<table border="1" cellpadding="3" cellspacing="0">
+  <tr>
+    <td><img src="../../images/bold.gif" width="20" height="20"></td>
+    <td>Bold text style.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/italic.gif" width="20" height="20"></td>
+    <td>Italic text style.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/underline.gif" width="20" height="20"></td>
+    <td>Underline text style.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/strikethrough.gif" width="20" height="20"></td>
+    <td>Strikethrough text style.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/left.gif" width="20" height="20"></td>
+    <td>Align left.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/center.gif" width="20" height="20"></td>
+    <td>Align center.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/right.gif" width="20" height="20"></td>
+    <td>Align right.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/full.gif" width="20" height="20"></td>
+    <td>Align full.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/bullist.gif" width="20" height="20"></td>
+    <td>Unordered list/bullet list.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/numlist.gif" width="20" height="20"></td>
+    <td>Ordered list/numbered list</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/outdent.gif" width="20" height="20"></td>
+    <td>Outdent/decrease indentation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/indent.gif" width="20" height="20"></td>
+    <td>Indent/incread indentation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/undo.gif" width="20" height="20"></td>
+    <td>Undo the last operation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/redo.gif" width="20" height="20"></td>
+    <td>Redo the last operation.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/link.gif" width="20" height="20"></td>
+    <td>Insert a new link, read more about this function in the <a href="insert_link_button.htm">Insert 
+      link section</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/unlink.gif" width="20" height="20"></td>
+    <td>Unlinks the current selection/removes all selected links.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/image.gif" width="20" height="20"></td>
+    <td>Insert a new image, read more about this function in the <a href="insert_image_button.htm">Insert 
+      image section</a>.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/cleanup.gif" width="20" height="20"></td>
+    <td>Cleanup code/Removes unwanted formating. This function is useful when 
+      you copy contents from for example a office product.</td>
+  </tr>
+  <tr>
+    <td><img src="../../images/help.gif" width="20" height="20"></td>
+    <td>Shows this help window.</td>
+  </tr>
+</table>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/images/insert_image_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/images/insert_image_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/images/insert_link_window.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/images/insert_link_window.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/index.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/index.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/index.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Help Index</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY onload="window.focus();">
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Table of contents</span></td>
+    <td align="right">&nbsp;</td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+Click the links below to go to the different help sections. 
+<ul class="toc_ul">
+  <li class="toc_li"><a href="about.htm">About TinyMCE</a></li>
+  <li class="toc_li"><a href="common_buttons.htm">Common buttons</a></li>
+  <li class="toc_li"><a href="insert_image_button.htm">Insert image button</a></li>
+  <li class="toc_li"><a href="insert_link_button.htm">Insert link button</a></li>
+</ul>
+<hr noshade>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/insert_image_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/insert_image_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/insert_image_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insert image button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insert image button</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+The insert image button opens the window shown below.<br>
+<br>
+<img src="images/insert_image_window.gif" width="350" height="159"><br>
+<br>
+You simply enter a URL to the image you want to link to and enter a image description, 
+this is then displayed as an alternative text descripton of the image on the page.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/insert_link_button.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/insert_link_button.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/insert_link_button.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Insert link button</TITLE>
+<link href="style.css" rel="stylesheet" type="text/css">
+</HEAD>
+
+<BODY>
+
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
+  <tr> 
+    <td><span class="title">Insert link button</span></td>
+    <td align="right"><a href="index.htm">TOC</a></td>
+  </tr>
+</table>
+<hr noshade>
+<br>
+This button opens a new window with the insert/edit link function.<br>
+<br>
+<img src="images/insert_link_window.gif" width="330" height="159"><br>
+<br>
+There are two fields in this window the first one &quot;Link URL&quot; is the 
+URL of the link. The target enables you to select how the link is to be opened.<br>
+<br>
+<hr noshade>
+<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
+  <tr> 
+    <td>Go to: <a href="index.htm">Table of contents</a></td>
+    <td align="right"><a href="#">Top</a></td>
+  </tr>
+</table>
+<br>
+</BODY>
+</HTML>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/docs/uk/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,28 @@
+body { background-color: #FFFFFF; }
+body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; }
+.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; }
+.subtitle { font-size: 12px; font-weight: bold; }
+
+.toc_ul, .toc_li { margin-left: 8 px; line-height: 16px; }
+.step_ol, .step_li { margin-left: 11 px; line-height: 16px; }
+img { border: #000000 solid 1px; }
+
+a:visited { color: #666666; text-decoration: underline; }
+a:active { color: #666666; text-decoration: underline; }
+a:hover { color: #666666; text-decoration: underline; }
+a { color: #666666; text-decoration: underline; }
+
+.pageheader { border: #E0E0E0 solid 1px; }
+.pagefooter { border: #E0E0E0 solid 1px; }
+.sample { background-color: #FFFFFF; border: #000000 solid 1px; }
+.samplecontent { font-size: 10px; }
+
+.code { background-color: #FFFFFF; border: #000000 solid 1px; }
+.codecontent { font-size: 10px; }
+.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold }
+.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold  }
+.codecontent a { color: #666666; text-decoration: none; font-weight: bold  }
+
+hr { height: 1px; }
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_content.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_content.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_content.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+body {
+	background-color: #FFFFFF;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+	scrollbar-3dlight-color: #F0F0EE;
+	scrollbar-arrow-color: #676662;
+	scrollbar-base-color: #F0F0EE;
+	scrollbar-darkshadow-color: #DDDDDD;
+	scrollbar-face-color: #E0E0DD;
+	scrollbar-highlight-color: #F0F0EE;
+	scrollbar-shadow-color: #F0F0EE;
+	scrollbar-track-color: #F5F5F5;
+}
+
+td {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+
+pre {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_popup.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_popup.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_popup.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+body {
+	background-color: #F0F0EE;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+	scrollbar-3dlight-color: #F0F0EE;
+	scrollbar-arrow-color: #676662;
+	scrollbar-base-color: #F0F0EE;
+	scrollbar-darkshadow-color: #DDDDDD;
+	scrollbar-face-color: #E0E0DD;
+	scrollbar-highlight-color: #F0F0EE;
+	scrollbar-shadow-color: #F0F0EE;
+	scrollbar-track-color: #F5F5F5;
+}
+
+td {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+}
+
+input {
+	background: #FFFFFF;
+	border: 1px solid #cccccc;
+}
+
+td, input, select, textarea {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+
+input, select, textarea {
+	border: 1px solid #808080;
+}
+
+.input_noborder {
+	border: 0px solid #808080;
+}
+
+.title {
+	font-size: 12px;
+	font-weight: bold;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_template.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_template.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_template.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,151 @@
+function TinyMCE_default_getEditorTemplate() {
+	var template = new Array();
+
+	template['html'] = '\
+<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}">\
+<tr><td align="center">\
+<span id="{$editor_id}">IFRAME</span>\
+</td></tr>\
+<tr><td class="mceToolbar" align="center" height="1">\
+<img id="{$editor_id}_bold" src="{$themeurl}/images/{$lang_bold_img}" title="{$lang_bold_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'Bold\')">\
+<img id="{$editor_id}_italic" src="{$themeurl}/images/{$lang_italic_img}" title="{$lang_italic_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'Italic\')">\
+<img id="{$editor_id}_underline" src="{$themeurl}/images/{$lang_underline_img}" title="{$lang_underline_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'Underline\')">\
+<img id="{$editor_id}_strikethrough" src="{$themeurl}/images/strikethrough.gif" title="{$lang_striketrough_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'Strikethrough\')">\
+<img src="{$themeurl}/images/spacer.gif" width="1" height="15" class="mceSeparatorLine">\
+<img id="{$editor_id}_left" src="{$themeurl}/images/left.gif" title="{$lang_justifyleft_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'JustifyLeft\')">\
+<img id="{$editor_id}_center" src="{$themeurl}/images/center.gif" title="{$lang_justifycenter_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'JustifyCenter\')">\
+<img id="{$editor_id}_right" src="{$themeurl}/images/right.gif" title="{$lang_justifyright_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'JustifyRight\')">\
+<img id="{$editor_id}_full" src="{$themeurl}/images/full.gif" title="{$lang_justifyfull_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'JustifyFull\')">\
+<img src="{$themeurl}/images/spacer.gif" width="1" height="15" class="mceSeparatorLine">\
+<img src="{$themeurl}/images/outdent.gif" title="{$lang_outdent_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'Outdent\')">\
+<img src="{$themeurl}/images/indent.gif" title="{$lang_indent_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'Indent\')">\
+<br>\
+<img id="{$editor_id}_bullist" src="{$themeurl}/images/bullist.gif" title="{$lang_bullist_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'InsertUnorderedList\')">\
+<img id="{$editor_id}_numlist" src="{$themeurl}/images/numlist.gif" title="{$lang_numlist_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'InsertOrderedList\')">\
+<img src="{$themeurl}/images/spacer.gif" width="1" height="15" width="20" height="20" class="mceSeparatorLine">\
+<img src="{$themeurl}/images/undo.gif" title="{$lang_undo_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'Undo\')">\
+<img src="{$themeurl}/images/redo.gif" title="{$lang_redo_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'Redo\')">\
+<img src="{$themeurl}/images/spacer.gif" width="1" height="15" class="mceSeparatorLine">\
+<img id="{$editor_id}_link" src="{$themeurl}/images/link.gif" title="{$lang_link_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceLink\', true)">\
+<img src="{$themeurl}/images/unlink.gif" title="{$lang_unlink_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'unlink\')">\
+<img id="{$editor_id}_image" src="{$themeurl}/images/image.gif" title="{$lang_image_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceImage\', true)">\
+<img src="{$themeurl}/images/cleanup.gif" title="{$lang_cleanup_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceCleanup\')">\
+<img src="{$themeurl}/images/help.gif" title="{$lang_help_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceHelp\')">\
+</td></tr>\
+</table>';
+
+	template['delta_width'] = 0;
+	template['delta_height'] = -40;
+
+	return template;
+}
+
+/**
+ * Insert link template function.
+ */
+function TinyMCE_default_getInsertLinkTemplate() {
+	var template = new Array();
+
+	template['file'] = 'link.htm';
+	template['width'] = 320;
+	template['height'] = 145;
+
+	// Language specific width and height addons
+	template['width'] += tinyMCE.getLang('lang_insert_link_delta_width', 0);
+	template['height'] += tinyMCE.getLang('lang_insert_link_delta_height', 0);
+
+	return template;
+}
+
+/**
+ * Insert image template function.
+ */
+function TinyMCE_default_getInsertImageTemplate() {
+	var template = new Array();
+
+	template['file'] = 'image.htm';
+	template['width'] = 360;
+	template['height'] = 145;
+
+	// Language specific width and height addons
+	template['width'] += tinyMCE.getLang('lang_insert_image_delta_width', 0);
+	template['height'] += tinyMCE.getLang('lang_insert_image_delta_height', 0);
+
+	return template;
+}
+
+function TinyMCE_default_handleNodeChange(editor_id, node) {
+	// Reset old states
+	tinyMCE.switchClassSticky(editor_id + '_left', 'mceButtonNormal');
+	tinyMCE.switchClassSticky(editor_id + '_right', 'mceButtonNormal');
+	tinyMCE.switchClassSticky(editor_id + '_center', 'mceButtonNormal');
+	tinyMCE.switchClassSticky(editor_id + '_full', 'mceButtonNormal');
+	tinyMCE.switchClassSticky(editor_id + '_bold', 'mceButtonNormal');
+	tinyMCE.switchClassSticky(editor_id + '_italic', 'mceButtonNormal');
+	tinyMCE.switchClassSticky(editor_id + '_underline', 'mceButtonNormal');
+	tinyMCE.switchClassSticky(editor_id + '_strikethrough', 'mceButtonNormal');
+	tinyMCE.switchClassSticky(editor_id + '_bullist', 'mceButtonNormal');
+	tinyMCE.switchClassSticky(editor_id + '_numlist', 'mceButtonNormal');
+
+	// Handle align attributes
+	alignNode = node;
+	breakOut = false;
+	do {
+		if (!alignNode.getAttribute || !alignNode.getAttribute('align'))
+			continue;
+
+		switch (alignNode.getAttribute('align').toLowerCase()) {
+			case "left":
+				tinyMCE.switchClassSticky(editor_id + '_left', 'mceButtonSelected');
+				breakOut = true;
+			break;
+
+			case "right":
+				tinyMCE.switchClassSticky(editor_id + '_right', 'mceButtonSelected');
+				breakOut = true;
+			break;
+
+			case "middle":
+			case "center":
+				tinyMCE.switchClassSticky(editor_id + '_center', 'mceButtonSelected');
+				breakOut = true;
+			break;
+
+			case "justify":
+				tinyMCE.switchClassSticky(editor_id + '_full', 'mceButtonSelected');
+				breakOut = true;
+			break;
+		}
+	} while (!breakOut && (alignNode = alignNode.parentNode));
+
+	// Handle elements
+	do {
+		switch (node.nodeName.toLowerCase()) {
+			case "b":
+			case "strong":
+				tinyMCE.switchClassSticky(editor_id + '_bold', 'mceButtonSelected');
+			break;
+
+			case "i":
+			case "em":
+				tinyMCE.switchClassSticky(editor_id + '_italic', 'mceButtonSelected');
+			break;
+
+			case "u":
+				tinyMCE.switchClassSticky(editor_id + '_underline', 'mceButtonSelected');
+			break;
+
+			case "strike":
+				tinyMCE.switchClassSticky(editor_id + '_strikethrough', 'mceButtonSelected');
+			break;
+			
+			case "ul":
+				tinyMCE.switchClassSticky(editor_id + '_bullist', 'mceButtonSelected');
+			break;
+
+			case "ol":
+				tinyMCE.switchClassSticky(editor_id + '_numlist', 'mceButtonSelected');
+			break;
+		}
+	} while ((node = node.parentNode));
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_ui.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_ui.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/editor_ui.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,105 @@
+.mceButtonNormal, .mceButtonOver, .mceButtonDown, .mceSeparator, .mceButtonDisabled, .mceButtonSelected {
+	margin-top: 1px;
+	margin-left: 1px;
+}
+
+.mceButtonNormal {
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-color: #F0F0EE;
+	cursor: hand
+}
+
+.mceButtonOver {
+	border-top: 1px solid buttonhighlight;
+	border-left: 1px solid buttonhighlight;
+	border-bottom: 1px solid buttonshadow;
+	border-right: 1px solid buttonshadow;
+	cursor: hand
+}
+
+.mceButtonDown {
+	border-bottom: 1px solid buttonhighlight;
+	border-right: 1px solid buttonhighlight;
+	border-top: 1px solid buttonshadow;
+	border-left: 1px solid buttonshadow;
+	cursor: hand
+}
+
+.mceButtonSelected {
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-color: #C0C0BB;
+	cursor: hand
+}
+
+.mceButtonDisabled {
+	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-color: #F0F0EE;
+	cursor: text
+}
+
+.mceSeparator {
+	border-top: 1px solid buttonhighlight;
+	border-left: 1px solid buttonhighlight;
+	border-bottom: 1px solid buttonshadow;
+	border-right: 1px solid buttonshadow;
+	margin-right: 2px;
+	margin-left: 2px;
+}
+
+.mceSeparatorLine {
+	margin:2px;
+	margin-left: 4px;
+	background-color: #F0F0EE;
+	border-top: 1px solid buttonshadow;
+	border-left: 1px solid buttonshadow;
+	border-bottom: 1px solid buttonhighlight;
+	border-right: 1px solid buttonhighlight;
+	width: 0px;
+	height: 15px;
+}
+
+.mceSelectList {
+	font-family: "MS Sans Serif";
+	font-size: 7pt;
+	font-weight: normal;
+	margin-top: 2px;
+}
+
+.mceLabel, .mceLabelDisabled {
+	font-family: "MS Sans Serif";
+	font-size: 9pt;
+}
+
+.mceLabel {
+	color: #000000;
+}
+
+.mceLabelDisabled {
+	cursor: text;
+	color: #999999;
+}
+
+.mceEditor {
+	background: #F0F0EE;
+	border: 1px solid #cccccc;
+}
+
+.mceEditorArea {
+	font-family: "MS Sans Serif";
+	background: #FFFFFF;
+}
+
+.mceToolbar {
+	background: #F0F0EE;
+	border-top: 1px solid #cccccc;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/image.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/image.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/image.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,56 @@
+<html>
+<head>
+<title>{$lang_insert_image_title}</title>
+<script language="javascript" src="../../tiny_mce_popup.js"></script>
+<script language="javascript">
+	function insertImage() {
+		if (window.opener) {
+			var src = document.forms[0].src.value;
+			var alt = document.forms[0].alt.value;
+
+			window.opener.tinyMCE.insertImage(src, alt, 0, 0, 0);
+			top.close();
+		}
+	}
+
+	function init() {
+		var formObj = document.forms[0];
+
+		formObj.src.value = tinyMCE.getWindowArg('src');
+		formObj.alt.value = tinyMCE.getWindowArg('alt');
+
+		window.focus();
+	}
+
+	function cancelAction() {
+		top.close();
+	}
+</script>
+</head>
+<body onload="window.focus();init();">
+<form onsubmit="insertImage();return false;">
+  <table border="0" cellpadding="0" cellspacing="0" width="100%">
+    <tr>
+      <td align="center" valign="middle"><table border="0" cellpadding="4" cellspacing="0">
+          <tr>
+            <td colspan="2" class="title">{$lang_insert_image_title}</td>
+          </tr>
+          <tr>
+            <td>{$lang_insert_image_src}:</td>
+            <td><input name="src" type="text" id="src" value="" style="width: 200px"></td>
+          </tr>
+          <tr>
+            <td>{$lang_insert_image_alt}:</td>
+            <td><input name="alt" type="text" id="alt" value="" style="width: 200px"></td>
+          </tr>
+          <tr>
+            <td><input type="button" name="insert" value="{$lang_insert}" onclick="insertImage();">
+            </td>
+            <td align="right"><input type="button" name="cancel" value="{$lang_cancel}" onclick="cancelAction();"></td>
+          </tr>
+        </table></td>
+    </tr>
+  </table>
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold_de_se.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold_de_se.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold_fr.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold_fr.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold_ru.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bold_ru.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bullist.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/bullist.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/center.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/center.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/cleanup.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/cleanup.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/copy.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/copy.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/cut.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/cut.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/full.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/full.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/help.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/help.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/image.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/image.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/indent.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/indent.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/italic.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/italic.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/italic_de_se.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/italic_de_se.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/italic_ru.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/italic_ru.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/link.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/link.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/numlist.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/numlist.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/outdent.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/outdent.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/paste.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/paste.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/redo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/redo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/strikethrough.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/strikethrough.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/underline.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/underline.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/underline_ru.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/underline_ru.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/undo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/undo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/unlink.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/images/unlink.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/link.htm
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/link.htm	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/default/link.htm	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,63 @@
+<html>
+<head>
+<title>{$lang_insert_link_title}</title>
+<script language="javascript" src="../../tiny_mce_popup.js"></script>
+<script language="javascript">
+	function init() {
+		for (var i=0; i<document.forms[0].target.options.length; i++) {
+			var option = document.forms[0].target.options[i];
+
+			if (option.value == tinyMCE.getWindowArg('target'))
+				option.selected = true;
+		}
+
+		document.forms[0].href.value = tinyMCE.getWindowArg('href');
+
+		window.focus();
+	}
+
+	function insertLink() {
+		if (window.opener) {
+			var href = document.forms[0].href.value;
+			var target = document.forms[0].target.options[document.forms[0].target.selectedIndex].value;
+
+			window.opener.tinyMCE.insertLink(href, target);
+			top.close();
+		}
+	}
+
+	function cancelAction() {
+		top.close();
+	}
+</script>
+</head>
+<body onload="init();">
+<form onsubmit="insertLink();return false;">
+  <table border="0" cellpadding="0" cellspacing="0" width="100%">
+    <tr>
+      <td align="center" valign="middle"><table border="0" cellpadding="4" cellspacing="0">
+          <tr>
+            <td colspan="2" class="title">{$lang_insert_link_title}</td>
+          </tr>
+          <tr>
+            <td>{$lang_insert_link_url}:</td>
+            <td><input name="href" type="text" id="href" value="" style="width: 200px"></td>
+          </tr>
+          <tr>
+            <td>{$lang_insert_link_target}:</td>
+            <td><select name="target" style="width: 200px">
+                <option value="_self">{$lang_insert_link_target_same}</option>
+                <option value="_blank">{$lang_insert_link_target_blank}</option>
+              </select></td>
+          </tr>
+          <tr>
+            <td><input type="button" name="insert" value="{$lang_insert}" onclick="insertLink();">
+            </td>
+            <td align="right"><input type="button" name="cancel" value="{$lang_cancel}" onclick="cancelAction();"></td>
+          </tr>
+        </table></td>
+    </tr>
+  </table>
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_content.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_content.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_content.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+body, td, pre {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+
+body {
+	background-color: #FFFFFF;
+}
+
+.mceVisualAid {
+	border: 1px dashed #BBBBBB;
+}
+
+/* MSIE specific */
+
+* html body {
+	scrollbar-3dlight-color: #F0F0EE;
+	scrollbar-arrow-color: #676662;
+	scrollbar-base-color: #F0F0EE;
+	scrollbar-darkshadow-color: #DDDDDD;
+	scrollbar-face-color: #E0E0DD;
+	scrollbar-highlight-color: #F0F0EE;
+	scrollbar-shadow-color: #F0F0EE;
+	scrollbar-track-color: #F5F5F5;	
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_popup.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_popup.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_popup.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+body {
+	background-color: #F0F0EE;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+	scrollbar-3dlight-color: #F0F0EE;
+	scrollbar-arrow-color: #676662;
+	scrollbar-base-color: #F0F0EE;
+	scrollbar-darkshadow-color: #DDDDDD;
+	scrollbar-face-color: #E0E0DD;
+	scrollbar-highlight-color: #F0F0EE;
+	scrollbar-shadow-color: #F0F0EE;
+	scrollbar-track-color: #F5F5F5;
+}
+
+td {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+}
+
+input {
+	background: #FFFFFF;
+	border: 1px solid #cccccc;
+}
+
+td, input, select, textarea {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+
+input, select, textarea {
+	border: 1px solid #808080;
+}
+
+.input_noborder {
+	border: 0;
+}
+
+.title {
+	font-size: 12px;
+	font-weight: bold;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_ui.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_ui.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/css/editor_ui.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,125 @@
+.mceSeparatorLine {
+	border: 0;
+	padding: 0;
+	margin-left: 4px;
+	margin-right: 2px;
+}
+
+.mceSelectList {
+	font-family: "MS Sans Serif";
+	font-size: 7pt;
+	font-weight: normal;
+	margin-top: 2px;
+}
+
+.mceLabel, .mceLabelDisabled {
+	font-family: "MS Sans Serif";
+	font-size: 9pt;
+}
+
+.mceLabel {
+	color: #000000;
+}
+
+.mceLabelDisabled {
+	cursor: text;
+	color: #999999;
+}
+
+.mceEditor {
+	background: #F0F0EE;
+	border: 1px solid #cccccc;
+}
+
+.mceEditorArea {
+	font-family: "MS Sans Serif";
+	background: #FFFFFF;
+}
+
+.mceToolbar {
+	background: #F0F0EE;
+	border-top: 1px solid #cccccc;
+	line-height: 1px;
+	font-size: 1px;
+	padding-bottom: 1px;
+}
+
+.mceEditorIframe {
+	border: 0;
+}
+
+/* Button CSS rules */
+
+a.mceButtonDisabled img, a.mceButtonNormal img, a.mceButtonSelected img {
+	width: 20px;
+	height: 20px;
+	cursor: default;
+	margin-top: 1px;
+	margin-left: 1px;
+}
+
+a.mceButtonDisabled img {
+	border: 0 !important;
+}
+
+a.mceButtonNormal img, a.mceButtonSelected img {
+	border: 1px solid #F0F0EE !important;
+}
+
+a.mceButtonSelected img {
+	border: 1px solid #C0C0BB !important;
+}
+
+a.mceButtonNormal img:hover, a.mceButtonSelected img:hover {
+	border: 1px solid #0A246A !important;
+	cursor: default;
+	background-color: #B6BDD2;
+}
+
+a.mceButtonDisabled img {
+	-moz-opacity:0.3;
+	opacity: 0.3;
+	border: 1px solid #F0F0EE !important;
+	cursor: default;
+}
+
+a.mceTiledButton img {
+	background-image: url('../images/buttons.gif');
+	background-repeat: no-repeat;
+}
+
+/* MSIE specific rules */
+
+* html a.mceButtonNormal img, * html a.mceButtonSelected img, * html a.mceButtonDisabled img {
+	border: 0px !important;
+	margin-top: 2px;
+	margin-bottom: 1px;
+}
+
+* html a.mceButtonDisabled img {
+	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);
+	border: 0px !important;
+}
+
+* html a.mceButtonDisabled {
+	border: 1px solid #F0F0EE !important;
+}
+
+* html a.mceButtonNormal, * html a.mceButtonSelected {
+	border: 1px solid #F0F0EE;
+	cursor: default;
+}
+
+* html a.mceButtonSelected {
+	border: 1px solid #C0C0BB;
+}
+
+* html a.mceButtonNormal:hover, * html a.mceButtonSelected:hover {
+	border: 1px solid #0A246A;
+	cursor: default;
+	background-color: #B6BDD2;
+}
+
+* html .mceSelectList {
+	margin-top: 2px;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_content.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_content.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_content.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+body {
+	background-color: #FFFFFF;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+	scrollbar-3dlight-color: #F0F0EE;
+	scrollbar-arrow-color: #676662;
+	scrollbar-base-color: #F0F0EE;
+	scrollbar-darkshadow-color: #DDDDDD;
+	scrollbar-face-color: #E0E0DD;
+	scrollbar-highlight-color: #F0F0EE;
+	scrollbar-shadow-color: #F0F0EE;
+	scrollbar-track-color: #F5F5F5;
+}
+
+td {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+
+pre {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_popup.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_popup.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_popup.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+body {
+	background-color: #F0F0EE;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+	scrollbar-3dlight-color: #F0F0EE;
+	scrollbar-arrow-color: #676662;
+	scrollbar-base-color: #F0F0EE;
+	scrollbar-darkshadow-color: #DDDDDD;
+	scrollbar-face-color: #E0E0DD;
+	scrollbar-highlight-color: #F0F0EE;
+	scrollbar-shadow-color: #F0F0EE;
+	scrollbar-track-color: #F5F5F5;
+}
+
+td {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+}
+
+input {
+	background: #FFFFFF;
+	border: 1px solid #cccccc;
+}
+
+td, input, select, textarea {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+}
+
+input, select, textarea {
+	border: 1px solid #808080;
+}
+
+.input_noborder {
+	border: 0px solid #808080;
+}
+
+.title {
+	font-size: 12px;
+	font-weight: bold;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_template.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_template.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_template.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+var TinyMCE_SimpleTheme={_buttonMap:'bold,bullist,cleanup,italic,numlist,redo,strikethrough,underline,undo',getEditorTemplate:function(){var html='';html+='<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}">';html+='<tr><td align="center">';html+='<span id="{$editor_id}">IFRAME</span>';html+='</td></tr>';html+='<tr><td class="mceToolbar" align="center" height="1">';html+=tinyMCE.getButtonHTML('bold','lang_bold_desc','{$themeurl}/images/{$lang_bold_img}','Bold');html+=tinyMCE.getButtonHTML('italic','lang_italic_desc','{$themeurl}/images/{$lang_italic_img}','Italic');html+=tinyMCE.getButtonHTML('underline','lang_underline_desc','{$themeurl}/images/{$lang_underline_img}','Underline');html+=tinyMCE.getButtonHTML('strikethrough','lang_striketrough_desc','{$themeurl}/images/strikethrough.gif','Strikethrough');html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';html+=tinyMCE.getB!
 uttonHTML('undo','lang_undo_desc','{$themeurl}/images/undo.gif','Undo');html+=tinyMCE.getButtonHTML('redo','lang_redo_desc','{$themeurl}/images/redo.gif','Redo');html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';html+=tinyMCE.getButtonHTML('cleanup','lang_cleanup_desc','{$themeurl}/images/cleanup.gif','mceCleanup');html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';html+=tinyMCE.getButtonHTML('bullist','lang_bullist_desc','{$themeurl}/images/bullist.gif','InsertUnorderedList');html+=tinyMCE.getButtonHTML('numlist','lang_numlist_desc','{$themeurl}/images/numlist.gif','InsertOrderedList');html+='</td></tr></table>';return{delta_width:0,delta_height:20,html:html}},handleNodeChange:function(editor_id,node){tinyMCE.switchClass(editor_id+'_bold','mceButtonNormal');tinyMCE.switchClass(editor_id+'_italic','mceButtonNormal');tinyMCE.switchClass(editor_id+'_underline','mceButtonNorm!
 al');tinyMCE.switchClass(editor_id+'_strikethrough','mceButtonNormal')
;tinyMCE.switchClass(editor_id+'_bullist','mceButtonNormal');tinyMCE.switchClass(editor_id+'_numlist','mceButtonNormal');do{switch(node.nodeName.toLowerCase()){case"b":case"strong":tinyMCE.switchClass(editor_id+'_bold','mceButtonSelected');break;case"i":case"em":tinyMCE.switchClass(editor_id+'_italic','mceButtonSelected');break;case"u":tinyMCE.switchClass(editor_id+'_underline','mceButtonSelected');break;case"strike":tinyMCE.switchClass(editor_id+'_strikethrough','mceButtonSelected');break;case"ul":tinyMCE.switchClass(editor_id+'_bullist','mceButtonSelected');break;case"ol":tinyMCE.switchClass(editor_id+'_numlist','mceButtonSelected');break}}while((node=node.parentNode)!=null)}};tinyMCE.addTheme("simple",TinyMCE_SimpleTheme);tinyMCE.addButtonMap(TinyMCE_SimpleTheme._buttonMap);
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_template_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_template_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_template_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,84 @@
+/**
+ * $Id: editor_template_src.js 114 2006-10-17 09:29:32Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+var TinyMCE_SimpleTheme = {
+	// List of button ids in tile map
+	_buttonMap : 'bold,bullist,cleanup,italic,numlist,redo,strikethrough,underline,undo',
+
+	getEditorTemplate : function() {
+		var html = '';
+
+		html += '<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}">';
+		html += '<tr><td align="center">';
+		html += '<span id="{$editor_id}">IFRAME</span>';
+		html += '</td></tr>';
+		html += '<tr><td class="mceToolbar" align="center" height="1">';
+		html += tinyMCE.getButtonHTML('bold', 'lang_bold_desc', '{$themeurl}/images/{$lang_bold_img}', 'Bold');
+		html += tinyMCE.getButtonHTML('italic', 'lang_italic_desc', '{$themeurl}/images/{$lang_italic_img}', 'Italic');
+		html += tinyMCE.getButtonHTML('underline', 'lang_underline_desc', '{$themeurl}/images/{$lang_underline_img}', 'Underline');
+		html += tinyMCE.getButtonHTML('strikethrough', 'lang_striketrough_desc', '{$themeurl}/images/strikethrough.gif', 'Strikethrough');
+		html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';
+		html += tinyMCE.getButtonHTML('undo', 'lang_undo_desc', '{$themeurl}/images/undo.gif', 'Undo');
+		html += tinyMCE.getButtonHTML('redo', 'lang_redo_desc', '{$themeurl}/images/redo.gif', 'Redo');
+		html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';
+		html += tinyMCE.getButtonHTML('cleanup', 'lang_cleanup_desc', '{$themeurl}/images/cleanup.gif', 'mceCleanup');
+		html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';
+		html += tinyMCE.getButtonHTML('bullist', 'lang_bullist_desc', '{$themeurl}/images/bullist.gif', 'InsertUnorderedList');
+		html += tinyMCE.getButtonHTML('numlist', 'lang_numlist_desc', '{$themeurl}/images/numlist.gif', 'InsertOrderedList');
+		html += '</td></tr></table>';
+
+		return {
+			delta_width : 0,
+			delta_height : 20,
+			html : html
+		};
+	},
+
+	handleNodeChange : function(editor_id, node) {
+		// Reset old states
+		tinyMCE.switchClass(editor_id + '_bold', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_italic', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_underline', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_strikethrough', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_bullist', 'mceButtonNormal');
+		tinyMCE.switchClass(editor_id + '_numlist', 'mceButtonNormal');
+
+		// Handle elements
+		do {
+			switch (node.nodeName.toLowerCase()) {
+				case "b":
+				case "strong":
+					tinyMCE.switchClass(editor_id + '_bold', 'mceButtonSelected');
+				break;
+
+				case "i":
+				case "em":
+					tinyMCE.switchClass(editor_id + '_italic', 'mceButtonSelected');
+				break;
+
+				case "u":
+					tinyMCE.switchClass(editor_id + '_underline', 'mceButtonSelected');
+				break;
+
+				case "strike":
+					tinyMCE.switchClass(editor_id + '_strikethrough', 'mceButtonSelected');
+				break;
+				
+				case "ul":
+					tinyMCE.switchClass(editor_id + '_bullist', 'mceButtonSelected');
+				break;
+
+				case "ol":
+					tinyMCE.switchClass(editor_id + '_numlist', 'mceButtonSelected');
+				break;
+			}
+		} while ((node = node.parentNode) != null);
+	}
+};
+
+tinyMCE.addTheme("simple", TinyMCE_SimpleTheme);
+tinyMCE.addButtonMap(TinyMCE_SimpleTheme._buttonMap);

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_ui.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_ui.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/editor_ui.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,105 @@
+.mceButtonNormal, .mceButtonOver, .mceButtonDown, .mceSeparator, .mceButtonDisabled, .mceButtonSelected {
+	margin-top: 1px;
+	margin-left: 1px;
+}
+
+.mceButtonNormal {
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-color: #F0F0EE;
+	cursor: hand
+}
+
+.mceButtonOver {
+	border-top: 1px solid buttonhighlight;
+	border-left: 1px solid buttonhighlight;
+	border-bottom: 1px solid buttonshadow;
+	border-right: 1px solid buttonshadow;
+	cursor: hand
+}
+
+.mceButtonDown {
+	border-bottom: 1px solid buttonhighlight;
+	border-right: 1px solid buttonhighlight;
+	border-top: 1px solid buttonshadow;
+	border-left: 1px solid buttonshadow;
+	cursor: hand
+}
+
+.mceButtonSelected {
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-color: #C0C0BB;
+	cursor: hand
+}
+
+.mceButtonDisabled {
+	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);
+	border-top: 1px solid;
+	border-left: 1px solid;
+	border-bottom: 1px solid;
+	border-right: 1px solid;
+	border-color: #F0F0EE;
+	cursor: text
+}
+
+.mceSeparator {
+	border-top: 1px solid buttonhighlight;
+	border-left: 1px solid buttonhighlight;
+	border-bottom: 1px solid buttonshadow;
+	border-right: 1px solid buttonshadow;
+	margin-right: 2px;
+	margin-left: 2px;
+}
+
+.mceSeparatorLine {
+	margin:2px;
+	margin-left: 4px;
+	background-color: #F0F0EE;
+	border-top: 1px solid buttonshadow;
+	border-left: 1px solid buttonshadow;
+	border-bottom: 1px solid buttonhighlight;
+	border-right: 1px solid buttonhighlight;
+	width: 0px;
+	height: 15px;
+}
+
+.mceSelectList {
+	font-family: "MS Sans Serif";
+	font-size: 7pt;
+	font-weight: normal;
+	margin-top: 2px;
+}
+
+.mceLabel, .mceLabelDisabled {
+	font-family: "MS Sans Serif";
+	font-size: 9pt;
+}
+
+.mceLabel {
+	color: #000000;
+}
+
+.mceLabelDisabled {
+	cursor: text;
+	color: #999999;
+}
+
+.mceEditor {
+	background: #F0F0EE;
+	border: 1px solid #cccccc;
+}
+
+.mceEditorArea {
+	font-family: "MS Sans Serif";
+	background: #FFFFFF;
+}
+
+.mceToolbar {
+	background: #F0F0EE;
+	border-top: 1px solid #cccccc;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_de_se.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_de_se.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_fr.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_fr.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_ru.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_ru.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_tw.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bold_tw.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bullist.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/bullist.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/buttons.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/buttons.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/cleanup.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/cleanup.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic_de_se.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic_de_se.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic_ru.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic_ru.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic_tw.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/italic_tw.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/numlist.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/numlist.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/redo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/redo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/separator.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/separator.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/strikethrough.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/strikethrough.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline_fr.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline_fr.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline_ru.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline_ru.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline_tw.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/underline_tw.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/undo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/themes/simple/images/undo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+function TinyMCE_Engine(){var ua;this.majorVersion="2";this.minorVersion="0.8";this.releaseDate="2006-10-23";this.instances=new Array();this.switchClassCache=new Array();this.windowArgs=new Array();this.loadedFiles=new Array();this.pendingFiles=new Array();this.loadingIndex=0;this.configs=new Array();this.currentConfig=0;this.eventHandlers=new Array();this.log=new Array();this.undoLevels=[];this.undoIndex=0;this.typingUndoIndex=-1;ua=navigator.userAgent;this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.isMSIE5=this.isMSIE&&(ua.indexOf('MSIE 5')!=-1);this.isMSIE5_0=this.isMSIE&&(ua.indexOf('MSIE 5.0')!=-1);this.isMSIE7=this.isMSIE&&(ua.indexOf('MSIE 7')!=-1);this.isGecko=ua.indexOf('Gecko')!=-1;this.isSafari=ua.indexOf('Safari')!=-1;this.isOpera=ua.indexOf('Opera')!=-1;this.isMac=ua.indexOf('Mac')!=-1;this.isNS7=ua.indexOf('Netscape/7')!=-1;this.isNS71=ua.indexOf('Netscape/7.1')!=-1;this.dialogCounter=0;this.plugins=new Array();this.themes=new Array();this.!
 menus=new Array();this.loadedPlugins=new Array();this.buttonMap=new Array();this.isLoaded=false;if(this.isOpera){this.isMSIE=true;this.isGecko=false;this.isSafari=false}this.isIE=this.isMSIE;this.isRealIE=this.isMSIE&&!this.isOpera;this.idCounter=0};TinyMCE_Engine.prototype={init:function(settings){var theme,nl,baseHREF="",i;if(this.isMSIE5_0)return;this.settings=settings;if(typeof(document.execCommand)=='undefined')return;if(!tinyMCE.baseURL){var elements=document.getElementsByTagName('script');nl=document.getElementsByTagName('base');for(i=0;i<nl.length;i++){if(nl[i].href)baseHREF=nl[i].href}for(var i=0;i<elements.length;i++){if(elements[i].src&&(elements[i].src.indexOf("tiny_mce.js")!=-1||elements[i].src.indexOf("tiny_mce_dev.js")!=-1||elements[i].src.indexOf("tiny_mce_src.js")!=-1||elements[i].src.indexOf("tiny_mce_gzip")!=-1)){var src=elements[i].src;tinyMCE.srcMode=(src.indexOf('_src')!=-1||src.indexOf('_dev')!=-1)?'_src':'';tinyMCE.gzipMode=src.indexOf('_gzip')!=-1;s!
 rc=src.substring(0,src.lastIndexOf('/'));if(settings.exec_mode=="src"|
|settings.exec_mode=="normal")tinyMCE.srcMode=settings.exec_mode=="src"?'_src':'';if(baseHREF!=""&&src.indexOf('://')==-1)tinyMCE.baseURL=baseHREF+src;else tinyMCE.baseURL=src;break}}}this.documentBasePath=document.location.href;if(this.documentBasePath.indexOf('?')!=-1)this.documentBasePath=this.documentBasePath.substring(0,this.documentBasePath.indexOf('?'));this.documentURL=this.documentBasePath;this.documentBasePath=this.documentBasePath.substring(0,this.documentBasePath.lastIndexOf('/'));if(tinyMCE.baseURL.indexOf('://')==-1&&tinyMCE.baseURL.charAt(0)!='/'){tinyMCE.baseURL=this.documentBasePath+"/"+tinyMCE.baseURL}this._def("mode","none");this._def("theme","advanced");this._def("plugins","",true);this._def("language","en");this._def("docs_language",this.settings['language']);this._def("elements","");this._def("textarea_trigger","mce_editable");this._def("editor_selector","");this._def("editor_deselector","mceNoEditor");this._def("valid_elements","+a[id|style|rel|rev|cha!
 rset|hreflang|dir|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],-strong/-b[class|style],-em/-i[class|style],-strike[class|style],-u[class|style],#p[id|style|dir|class|align],-ol[class|style],-ul[class|style],-li[class|style],br,img[id|dir|lang|longdesc|usemap|style|class|src|onmouseover|onmouseout|border|alt=|title|hspace|vspace|width|height|align],-sub[style|class],-sup[style|class],-blockquote[dir|style],-table[border=0|cellspacing|cellpadding|width|height|class|align|summary|style|dir|id|lang|bgcolor|background|bordercolor],-tr[id|lang|dir|class|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor],tbody[id|class],thead[id|class],tfoot[id|class],#td[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor|scope],-th[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|sc!
 ope],caption[id|lang|dir|class|style],-div[id|dir|class|align|style],-
span[style|class|align],-pre[class|align|style],address[class|align|style],-h1[id|style|dir|class|align],-h2[id|style|dir|class|align],-h3[id|style|dir|class|align],-h4[id|style|dir|class|align],-h5[id|style|dir|class|align],-h6[id|style|dir|class|align],hr[class|style],-font[face|size|style|id|class|dir|color],dd[id|class|title|style|dir|lang],dl[id|class|title|style|dir|lang],dt[id|class|title|style|dir|lang],cite[title|id|class|style|dir|lang],abbr[title|id|class|style|dir|lang],acronym[title|id|class|style|dir|lang],del[title|id|class|style|dir|lang|datetime|cite],ins[title|id|class|style|dir|lang|datetime|cite]");this._def("extended_valid_elements","");this._def("invalid_elements","");this._def("encoding","");this._def("urlconverter_callback",tinyMCE.getParam("urlconvertor_callback","TinyMCE_Engine.prototype.convertURL"));this._def("save_callback","");this._def("debug",false);this._def("force_br_newlines",false);this._def("force_p_newlines",true);this._def("add_form_sub!
 mit_trigger",true);this._def("relative_urls",true);this._def("remove_script_host",true);this._def("focus_alert",true);this._def("document_base_url",this.documentURL);this._def("visual",true);this._def("visual_table_class","mceVisualAid");this._def("setupcontent_callback","");this._def("fix_content_duplication",true);this._def("custom_undo_redo",true);this._def("custom_undo_redo_levels",-1);this._def("custom_undo_redo_keyboard_shortcuts",true);this._def("custom_undo_redo_restore_selection",true);this._def("custom_undo_redo_global",false);this._def("verify_html",true);this._def("apply_source_formatting",false);this._def("directionality","ltr");this._def("cleanup_on_startup",false);this._def("inline_styles",false);this._def("convert_newlines_to_brs",false);this._def("auto_reset_designmode",true);this._def("entities","39,#39,160,nbsp,161,iexcl,162,cent,163,pound,164,curren,165,yen,166,brvbar,167,sect,168,uml,169,copy,170,ordf,171,laquo,172,not,173,shy,174,reg,175,macr,176,deg,1!
 77,plusmn,178,sup2,179,sup3,180,acute,181,micro,182,para,183,middot,18
4,cedil,185,sup1,186,ordm,187,raquo,188,frac14,189,frac12,190,frac34,191,iquest,192,Agrave,193,Aacute,194,Acirc,195,Atilde,196,Auml,197,Aring,198,AElig,199,Ccedil,200,Egrave,201,Eacute,202,Ecirc,203,Euml,204,Igrave,205,Iacute,206,Icirc,207,Iuml,208,ETH,209,Ntilde,210,Ograve,211,Oacute,212,Ocirc,213,Otilde,214,Ouml,215,times,216,Oslash,217,Ugrave,218,Uacute,219,Ucirc,220,Uuml,221,Yacute,222,THORN,223,szlig,224,agrave,225,aacute,226,acirc,227,atilde,228,auml,229,aring,230,aelig,231,ccedil,232,egrave,233,eacute,234,ecirc,235,euml,236,igrave,237,iacute,238,icirc,239,iuml,240,eth,241,ntilde,242,ograve,243,oacute,244,ocirc,245,otilde,246,ouml,247,divide,248,oslash,249,ugrave,250,uacute,251,ucirc,252,uuml,253,yacute,254,thorn,255,yuml,402,fnof,913,Alpha,914,Beta,915,Gamma,916,Delta,917,Epsilon,918,Zeta,919,Eta,920,Theta,921,Iota,922,Kappa,923,Lambda,924,Mu,925,Nu,926,Xi,927,Omicron,928,Pi,929,Rho,931,Sigma,932,Tau,933,Upsilon,934,Phi,935,Chi,936,Psi,937,Omega,945,alpha,946,beta,947!
 ,gamma,948,delta,949,epsilon,950,zeta,951,eta,952,theta,953,iota,954,kappa,955,lambda,956,mu,957,nu,958,xi,959,omicron,960,pi,961,rho,962,sigmaf,963,sigma,964,tau,965,upsilon,966,phi,967,chi,968,psi,969,omega,977,thetasym,978,upsih,982,piv,8226,bull,8230,hellip,8242,prime,8243,Prime,8254,oline,8260,frasl,8472,weierp,8465,image,8476,real,8482,trade,8501,alefsym,8592,larr,8593,uarr,8594,rarr,8595,darr,8596,harr,8629,crarr,8656,lArr,8657,uArr,8658,rArr,8659,dArr,8660,hArr,8704,forall,8706,part,8707,exist,8709,empty,8711,nabla,8712,isin,8713,notin,8715,ni,8719,prod,8721,sum,8722,minus,8727,lowast,8730,radic,8733,prop,8734,infin,8736,ang,8743,and,8744,or,8745,cap,8746,cup,8747,int,8756,there4,8764,sim,8773,cong,8776,asymp,8800,ne,8801,equiv,8804,le,8805,ge,8834,sub,8835,sup,8836,nsub,8838,sube,8839,supe,8853,oplus,8855,otimes,8869,perp,8901,sdot,8968,lceil,8969,rceil,8970,lfloor,8971,rfloor,9001,lang,9002,rang,9674,loz,9824,spades,9827,clubs,9829,hearts,9830,diams,34,quot,38,amp!
 ,60,lt,62,gt,338,OElig,339,oelig,352,Scaron,353,scaron,376,Yuml,710,ci
rc,732,tilde,8194,ensp,8195,emsp,8201,thinsp,8204,zwnj,8205,zwj,8206,lrm,8207,rlm,8211,ndash,8212,mdash,8216,lsquo,8217,rsquo,8218,sbquo,8220,ldquo,8221,rdquo,8222,bdquo,8224,dagger,8225,Dagger,8240,permil,8249,lsaquo,8250,rsaquo,8364,euro",true);this._def("entity_encoding","named");this._def("cleanup_callback","");this._def("add_unload_trigger",true);this._def("ask",false);this._def("nowrap",false);this._def("auto_resize",false);this._def("auto_focus",false);this._def("cleanup",true);this._def("remove_linebreaks",true);this._def("button_tile_map",false);this._def("submit_patch",true);this._def("browsers","msie,safari,gecko,opera",true);this._def("dialog_type","window");this._def("accessibility_warnings",true);this._def("accessibility_focus",true);this._def("merge_styles_invalid_parents","");this._def("force_hex_style_colors",true);this._def("trim_span_elements",true);this._def("convert_fonts_to_spans",false);this._def("doctype",'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 T!
 ransitional//EN">');this._def("font_size_classes",'');this._def("font_size_style_values",'xx-small,x-small,small,medium,large,x-large,xx-large',true);this._def("event_elements",'a,img',true);this._def("convert_urls",true);this._def("table_inline_editing",false);this._def("object_resizing",true);this._def("custom_shortcuts",true);this._def("convert_on_click",false);this._def("content_css",'');this._def("fix_list_elements",false);this._def("fix_table_elements",false);this._def("strict_loading_mode",document.contentType=='application/xhtml+xml');this._def("hidden_tab_class",'');this._def("display_tab_class",'');this._def("gecko_spellcheck",false);if(this.isMSIE&&!this.isOpera)this.settings.strict_loading_mode=false;if(this.isMSIE&&this.settings['browsers'].indexOf('msie')==-1)return;if(this.isGecko&&this.settings['browsers'].indexOf('gecko')==-1)return;if(this.isSafari&&this.settings['browsers'].indexOf('safari')==-1)return;if(this.isOpera&&this.settings['browsers'].indexOf('o!
 pera')==-1)return;baseHREF=tinyMCE.settings['document_base_url'];var h
=document.location.href;var p=h.indexOf('://');if(p>0&&document.location.protocol!="file:"){p=h.indexOf('/',p+3);h=h.substring(0,p);if(baseHREF.indexOf('://')==-1)baseHREF=h+baseHREF;tinyMCE.settings['document_base_url']=baseHREF;tinyMCE.settings['document_base_prefix']=h}if(baseHREF.indexOf('?')!=-1)baseHREF=baseHREF.substring(0,baseHREF.indexOf('?'));this.settings['base_href']=baseHREF.substring(0,baseHREF.lastIndexOf('/'))+"/";theme=this.settings['theme'];this.inlineStrict='A|BR|SPAN|BDO|MAP|OBJECT|IMG|TT|I|B|BIG|SMALL|EM|STRONG|DFN|CODE|Q|SAMP|KBD|VAR|CITE|ABBR|ACRONYM|SUB|SUP|#text|#comment';this.inlineTransitional='A|BR|SPAN|BDO|OBJECT|APPLET|IMG|MAP|IFRAME|TT|I|B|U|S|STRIKE|BIG|SMALL|FONT|BASEFONT|EM|STRONG|DFN|CODE|Q|SAMP|KBD|VAR|CITE|ABBR|ACRONYM|SUB|SUP|INPUT|SELECT|TEXTAREA|LABEL|BUTTON|#text|#comment';this.blockElms='H[1-6]|P|DIV|ADDRESS|PRE|FORM|TABLE|LI|OL|UL|TD|BLOCKQUOTE|CENTER|DL|DT|DD|DIR|FIELDSET|FORM|NOSCRIPT|NOFRAMES|MENU|ISINDEX|SAMP';this.blockRegExp=n!
 ew RegExp("^("+this.blockElms+")$","i");this.posKeyCodes=new Array(13,45,36,35,33,34,37,38,39,40);this.uniqueURL='javascript:TINYMCE_UNIQUEURL();';this.uniqueTag='<div id="mceTMPElement" style="display: none">TMP</div>';this.callbacks=new Array('onInit','getInfo','getEditorTemplate','setupContent','onChange','onPageLoad','handleNodeChange','initInstance','execCommand','getControlHTML','handleEvent','cleanup');this.settings['theme_href']=tinyMCE.baseURL+"/themes/"+theme;if(!tinyMCE.isIE||tinyMCE.isOpera)this.settings['force_br_newlines']=false;if(tinyMCE.getParam("popups_css",false)){var cssPath=tinyMCE.getParam("popups_css","");if(cssPath.indexOf('://')==-1&&cssPath.charAt(0)!='/')this.settings['popups_css']=this.documentBasePath+"/"+cssPath;else this.settings['popups_css']=cssPath}else this.settings['popups_css']=tinyMCE.baseURL+"/themes/"+theme+"/css/editor_popup.css";if(tinyMCE.getParam("editor_css",false)){var cssPath=tinyMCE.getParam("editor_css","");if(cssPath.indexOf!
 ('://')==-1&&cssPath.charAt(0)!='/')this.settings['editor_css']=this.d
ocumentBasePath+"/"+cssPath;else this.settings['editor_css']=cssPath}else{if(this.settings.editor_css!='')this.settings['editor_css']=tinyMCE.baseURL+"/themes/"+theme+"/css/editor_ui.css"}if(tinyMCE.settings['debug']){var msg="Debug: \n";msg+="baseURL: "+this.baseURL+"\n";msg+="documentBasePath: "+this.documentBasePath+"\n";msg+="content_css: "+this.settings['content_css']+"\n";msg+="popups_css: "+this.settings['popups_css']+"\n";msg+="editor_css: "+this.settings['editor_css']+"\n";alert(msg)}if(this.configs.length==0){if(typeof(TinyMCECompressed)=="undefined"){tinyMCE.addEvent(window,"DOMContentLoaded",TinyMCE_Engine.prototype.onLoad);if(tinyMCE.isRealIE){if(document.body)tinyMCE.addEvent(document.body,"readystatechange",TinyMCE_Engine.prototype.onLoad);else tinyMCE.addEvent(document,"readystatechange",TinyMCE_Engine.prototype.onLoad)}tinyMCE.addEvent(window,"load",TinyMCE_Engine.prototype.onLoad);tinyMCE._addUnloadEvents()}}this.loadScript(tinyMCE.baseURL+'/themes/'+this.s!
 ettings['theme']+'/editor_template'+tinyMCE.srcMode+'.js');this.loadScript(tinyMCE.baseURL+'/langs/'+this.settings['language']+'.js');this.loadCSS(this.settings['editor_css']);var p=tinyMCE.getParam('plugins','',true,',');if(p.length>0){for(var i=0;i<p.length;i++){if(p[i].charAt(0)!='-')this.loadScript(tinyMCE.baseURL+'/plugins/'+p[i]+'/editor_plugin'+tinyMCE.srcMode+'.js')}}if(tinyMCE.getParam('entity_encoding')=='named'){settings['cleanup_entities']=new Array();var entities=tinyMCE.getParam('entities','',true,',');for(var i=0;i<entities.length;i+=2)settings['cleanup_entities']['c'+entities[i]]=entities[i+1]}settings['index']=this.configs.length;this.configs[this.configs.length]=settings;this.loadNextScript();if(this.isIE&&!this.isOpera){try{document.execCommand('BackgroundImageCache',false,true)}catch(e){}}},_addUnloadEvents:function(){if(tinyMCE.isIE){if(tinyMCE.settings['add_unload_trigger']){tinyMCE.addEvent(window,"unload",TinyMCE_Engine.prototype.unloadHandler);tinyM!
 CE.addEvent(window.document,"beforeunload",TinyMCE_Engine.prototype.un
loadHandler)}}else{if(tinyMCE.settings['add_unload_trigger'])tinyMCE.addEvent(window,"unload",function(){tinyMCE.triggerSave(true,true)})}},_def:function(key,def_val,t){var v=tinyMCE.getParam(key,def_val);v=t?v.replace(/\s+/g,""):v;this.settings[key]=v},hasPlugin:function(n){return typeof(this.plugins[n])!="undefined"&&this.plugins[n]!=null},addPlugin:function(n,p){var op=this.plugins[n];p.baseURL=op?op.baseURL:tinyMCE.baseURL+"/plugins/"+n;this.plugins[n]=p;this.loadNextScript()},setPluginBaseURL:function(n,u){var op=this.plugins[n];if(op)op.baseURL=u;else this.plugins[n]={baseURL:u}},loadPlugin:function(n,u){u=u.indexOf('.js')!=-1?u.substring(0,u.lastIndexOf('/')):u;u=u.charAt(u.length-1)=='/'?u.substring(0,u.length-1):u;this.plugins[n]={baseURL:u};this.loadScript(u+"/editor_plugin"+(tinyMCE.srcMode?'_src':'')+".js")},hasTheme:function(n){return typeof(this.themes[n])!="undefined"&&this.themes[n]!=null},addTheme:function(n,t){this.themes[n]=t;this.loadNextScript()},addMenu!
 :function(n,m){this.menus[n]=m},hasMenu:function(n){return typeof(this.plugins[n])!="undefined"&&this.plugins[n]!=null},loadScript:function(url){var i;for(i=0;i<this.loadedFiles.length;i++){if(this.loadedFiles[i]==url)return}if(tinyMCE.settings.strict_loading_mode)this.pendingFiles[this.pendingFiles.length]=url;else document.write('<sc'+'ript language="javascript" type="text/javascript" src="'+url+'"></script>');this.loadedFiles[this.loadedFiles.length]=url},loadNextScript:function(){var d=document,se;if(!tinyMCE.settings.strict_loading_mode)return;if(this.loadingIndex<this.pendingFiles.length){se=d.createElementNS('http://www.w3.org/1999/xhtml','script');se.setAttribute('language','javascript');se.setAttribute('type','text/javascript');se.setAttribute('src',this.pendingFiles[this.loadingIndex++]);d.getElementsByTagName("head")[0].appendChild(se)}else this.loadingIndex=-1;},loadCSS:function(url){var ar=url.replace(/\s+/,'').split(',');var lflen=0,csslen=0;var skip=false;var!
  x=0,i=0,nl,le;for(x=0,csslen=ar.length;x<csslen;x++){if(ar[x]!=null&&
ar[x]!='null'&&ar[x].length>0){for(i=0,lflen=this.loadedFiles.length;i<lflen;i++){if(this.loadedFiles[i]==ar[x]){skip=true;break}}if(!skip){if(tinyMCE.settings.strict_loading_mode){nl=document.getElementsByTagName("head");le=document.createElement('link');le.setAttribute('href',ar[x]);le.setAttribute('rel','stylesheet');le.setAttribute('type','text/css');nl[0].appendChild(le)}else document.write('<link href="'+ar[x]+'" rel="stylesheet" type="text/css" />');this.loadedFiles[this.loadedFiles.length]=ar[x]}}}},importCSS:function(doc,css){var css_ary=css.replace(/\s+/,'').split(',');var csslen,elm,headArr,x,css_file;for(x=0,csslen=css_ary.length;x<csslen;x++){css_file=css_ary[x];if(css_file!=null&&css_file!='null'&&css_file.length>0){if(css_file.indexOf('://')==-1&&css_file.charAt(0)!='/')css_file=this.documentBasePath+"/"+css_file;if(typeof(doc.createStyleSheet)=="undefined"){elm=doc.createElement("link");elm.rel="stylesheet";elm.href=css_file;if((headArr=doc.getElementsByTagNa!
 me("head"))!=null&&headArr.length>0)headArr[0].appendChild(elm)}else doc.createStyleSheet(css_file)}}},confirmAdd:function(e,settings){var elm=tinyMCE.isIE?event.srcElement:e.target;var elementId=elm.name?elm.name:elm.id;tinyMCE.settings=settings;if(tinyMCE.settings['convert_on_click']||(!elm.getAttribute('mce_noask')&&confirm(tinyMCELang['lang_edit_confirm'])))tinyMCE.addMCEControl(elm,elementId);elm.setAttribute('mce_noask','true')},updateContent:function(form_element_name){var formElement=document.getElementById(form_element_name);for(var n in tinyMCE.instances){var inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.switchSettings();if(inst.formElement==formElement){var doc=inst.getDoc();tinyMCE._setHTML(doc,inst.formElement.value);if(!tinyMCE.isIE)doc.body.innerHTML=tinyMCE._cleanupHTML(inst,doc,this.settings,doc.body,inst.visualAid)}}},addMCEControl:function(replace_element,form_element_name,target_document){var id="mce_editor_"+tinyMCE.idCounter++;va!
 r inst=new TinyMCE_Control(tinyMCE.settings);inst.editorId=id;this.ins
tances[id]=inst;inst._onAdd(replace_element,form_element_name,target_document)},removeInstance:function(ti){var t=[],n,i;for(n in tinyMCE.instances){i=tinyMCE.instances[n];if(tinyMCE.isInstance(i)&&ti!=i)t[n]=i}tinyMCE.instances=t;n=[];t=tinyMCE.undoLevels;for(i=0;i<t.length;i++){if(t[i]!=ti)n.push(t[i])}tinyMCE.undoLevels=n;tinyMCE.undoIndex=n.length;return ti},removeMCEControl:function(editor_id){var inst=tinyMCE.getInstanceById(editor_id),h,re,ot,tn;if(inst){inst.switchSettings();editor_id=inst.editorId;h=tinyMCE.getContent(editor_id);this.removeInstance(inst);tinyMCE.selectedElement=null;tinyMCE.selectedInstance=null;re=document.getElementById(editor_id+"_parent");ot=inst.oldTargetElement;tn=ot.nodeName.toLowerCase();if(tn=="textarea"||tn=="input"){re.parentNode.removeChild(re);ot.style.display="inline";ot.value=h}else{ot.innerHTML=h;ot.style.display='block';re.parentNode.insertBefore(ot,re);re.parentNode.removeChild(re)}}},triggerSave:function(skip_cleanup,skip_callback!
 ){var inst,n;if(typeof(skip_cleanup)=="undefined")skip_cleanup=false;if(typeof(skip_callback)=="undefined")skip_callback=false;for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.triggerSave(skip_cleanup,skip_callback)}},resetForm:function(form_index){var i,inst,n,formObj=document.forms[form_index];for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.switchSettings();for(i=0;i<formObj.elements.length;i++){if(inst.formTargetElementId==formObj.elements[i].name)inst.getBody().innerHTML=inst.startContent}}},execInstanceCommand:function(editor_id,command,user_interface,value,focus){var inst=tinyMCE.getInstanceById(editor_id),r;if(inst){r=inst.selection.getRng();if(typeof(focus)=="undefined")focus=true;if(focus&&(!r||!r.item))inst.contentWindow.focus();inst.autoResetDesignMode();this.selectedElement=inst.getFocusElement();inst.select();tinyMCE.execCommand(command,user_interface,value);if(tiny!
 MCE.isIE&&window.event!=null)tinyMCE.cancelEvent(window.event)}},execC
ommand:function(command,user_interface,value){var inst=tinyMCE.selectedInstance;user_interface=user_interface?user_interface:false;value=value?value:null;if(inst)inst.switchSettings();switch(command){case"Undo":if(this.getParam('custom_undo_redo_global')){if(this.undoIndex>0){tinyMCE.nextUndoRedoAction='Undo';inst=this.undoLevels[--this.undoIndex];inst.select();if(!tinyMCE.nextUndoRedoInstanceId)inst.execCommand('Undo')}}else inst.execCommand('Undo');return true;case"Redo":if(this.getParam('custom_undo_redo_global')){if(this.undoIndex<=this.undoLevels.length-1){tinyMCE.nextUndoRedoAction='Redo';inst=this.undoLevels[this.undoIndex++];inst.select();if(!tinyMCE.nextUndoRedoInstanceId)inst.execCommand('Redo')}}else inst.execCommand('Redo');return true;case'mceFocus':var inst=tinyMCE.getInstanceById(value);if(inst)inst.getWin().focus();return;case"mceAddControl":case"mceAddEditor":tinyMCE.addMCEControl(tinyMCE._getElementById(value),value);return;case"mceAddFrameControl":tinyMCE.!
 addMCEControl(tinyMCE._getElementById(value['element'],value['document']),value['element'],value['document']);return;case"mceRemoveControl":case"mceRemoveEditor":tinyMCE.removeMCEControl(value);return;case"mceResetDesignMode":if(!tinyMCE.isIE){for(var n in tinyMCE.instances){if(!tinyMCE.isInstance(tinyMCE.instances[n]))continue;try{tinyMCE.instances[n].getDoc().designMode="on"}catch(e){}}}return}if(inst){inst.execCommand(command,user_interface,value)}else if(tinyMCE.settings['focus_alert'])alert(tinyMCELang['lang_focus_alert'])},_createIFrame:function(replace_element,doc,win){var iframe,id=replace_element.getAttribute("id");var aw,ah;if(typeof(doc)=="undefined")doc=document;if(typeof(win)=="undefined")win=window;iframe=doc.createElement("iframe");aw=""+tinyMCE.settings['area_width'];ah=""+tinyMCE.settings['area_height'];if(aw.indexOf('%')==-1){aw=parseInt(aw);aw=(isNaN(aw)||aw<0)?300:aw;aw=aw+"px"}if(ah.indexOf('%')==-1){ah=parseInt(ah);ah=(isNaN(ah)||ah<0)?240:ah;ah=ah+"px!
 "}iframe.setAttribute("id",id);iframe.setAttribute("name",id);iframe.s
etAttribute("class","mceEditorIframe");iframe.setAttribute("border","0");iframe.setAttribute("frameBorder","0");iframe.setAttribute("marginWidth","0");iframe.setAttribute("marginHeight","0");iframe.setAttribute("leftMargin","0");iframe.setAttribute("topMargin","0");iframe.setAttribute("width",aw);iframe.setAttribute("height",ah);iframe.setAttribute("allowtransparency","true");iframe.className='mceEditorIframe';if(tinyMCE.settings["auto_resize"])iframe.setAttribute("scrolling","no");if(tinyMCE.isRealIE)iframe.setAttribute("src",this.settings['default_document']);iframe.style.width=aw;iframe.style.height=ah;if(tinyMCE.settings.strict_loading_mode)iframe.style.marginBottom='-5px';if(tinyMCE.isRealIE)replace_element.outerHTML=iframe.outerHTML;else replace_element.parentNode.replaceChild(iframe,replace_element);if(tinyMCE.isRealIE)return win.frames[id];else return iframe},setupContent:function(editor_id){var inst=tinyMCE.instances[editor_id],i;var doc=inst.getDoc();var head=doc.g!
 etElementsByTagName('head').item(0);var content=inst.startContent;if(tinyMCE.settings.strict_loading_mode){content=content.replace(/&lt;/g,'<');content=content.replace(/&gt;/g,'>');content=content.replace(/&quot;/g,'"');content=content.replace(/&amp;/g,'&')}inst.switchSettings();if(!tinyMCE.isIE&&tinyMCE.getParam("setupcontent_reload",false)&&doc.title!="blank_page"){try{doc.location.href=tinyMCE.baseURL+"/blank.htm"}catch(ex){}window.setTimeout("tinyMCE.setupContent('"+editor_id+"');",1000);return}if(!head){window.setTimeout("tinyMCE.setupContent('"+editor_id+"');",10);return}tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/themes/"+inst.settings['theme']+"/css/editor_content.css");tinyMCE.importCSS(inst.getDoc(),inst.settings['content_css']);tinyMCE.dispatchCallback(inst,'init_instance_callback','initInstance',inst);if(tinyMCE.getParam('custom_undo_redo_keyboard_shortcuts')){inst.addShortcut('ctrl','z','lang_undo_desc','Undo');inst.addShortcut('ctrl','y','lang_redo_desc'!
 ,'Redo')}for(i=1;i<=6;i++)inst.addShortcut('ctrl',''+i,'','FormatBlock
',false,'<h'+i+'>');inst.addShortcut('ctrl','7','','FormatBlock',false,'<p>');inst.addShortcut('ctrl','8','','FormatBlock',false,'<div>');inst.addShortcut('ctrl','9','','FormatBlock',false,'<address>');if(tinyMCE.isGecko){inst.addShortcut('ctrl','b','lang_bold_desc','Bold');inst.addShortcut('ctrl','i','lang_italic_desc','Italic');inst.addShortcut('ctrl','u','lang_underline_desc','Underline')}if(tinyMCE.getParam("convert_fonts_to_spans"))inst.getBody().setAttribute('id','mceSpanFonts');if(tinyMCE.settings['nowrap'])doc.body.style.whiteSpace="nowrap";doc.body.dir=this.settings['directionality'];doc.editorId=editor_id;if(!tinyMCE.isIE)doc.documentElement.editorId=editor_id;inst.setBaseHREF(tinyMCE.settings['base_href']);if(tinyMCE.settings['convert_newlines_to_brs']){content=tinyMCE.regexpReplace(content,"\r\n","<br />","gi");content=tinyMCE.regexpReplace(content,"\r","<br />","gi");content=tinyMCE.regexpReplace(content,"\n","<br />","gi")}content=tinyMCE.storeAwayURLs(content)!
 ;content=tinyMCE._customCleanup(inst,"insert_to_editor",content);if(tinyMCE.isIE){window.setInterval('try{tinyMCE.getCSSClasses(tinyMCE.instances["'+editor_id+'"].getDoc(), "'+editor_id+'");}catch(e){}',500);if(tinyMCE.settings["force_br_newlines"])doc.styleSheets[0].addRule("p","margin: 0;");var body=inst.getBody();body.editorId=editor_id}content=tinyMCE.cleanupHTMLCode(content);if(!tinyMCE.isIE){var contentElement=inst.getDoc().createElement("body");var doc=inst.getDoc();contentElement.innerHTML=content;if(tinyMCE.isGecko&&tinyMCE.settings['remove_lt_gt'])content=content.replace(new RegExp('&lt;&gt;','g'),"");if(tinyMCE.settings['cleanup_on_startup'])tinyMCE.setInnerHTML(inst.getBody(),tinyMCE._cleanupHTML(inst,doc,this.settings,contentElement));else tinyMCE.setInnerHTML(inst.getBody(),content);tinyMCE.convertAllRelativeURLs(inst.getBody())}else{if(tinyMCE.settings['cleanup_on_startup']){tinyMCE._setHTML(inst.getDoc(),content);eval('try {tinyMCE.setInnerHTML(inst.getBody(!
 ), tinyMCE._cleanupHTML(inst, inst.contentDocument, this.settings, ins
t.getBody()));} catch(e) {}')}else tinyMCE._setHTML(inst.getDoc(),content)}var parentElm=inst.targetDoc.getElementById(inst.editorId+'_parent');inst.formElement=tinyMCE.isGecko?parentElm.previousSibling:parentElm.nextSibling;tinyMCE.handleVisualAid(inst.getBody(),true,tinyMCE.settings['visual'],inst);tinyMCE.dispatchCallback(inst,'setupcontent_callback','setupContent',editor_id,inst.getBody(),inst.getDoc());if(!tinyMCE.isIE)tinyMCE.addEventHandlers(inst);if(tinyMCE.isIE){tinyMCE.addEvent(inst.getBody(),"blur",TinyMCE_Engine.prototype._eventPatch);tinyMCE.addEvent(inst.getBody(),"beforedeactivate",TinyMCE_Engine.prototype._eventPatch);if(!tinyMCE.isOpera){tinyMCE.addEvent(doc.body,"mousemove",TinyMCE_Engine.prototype.onMouseMove);tinyMCE.addEvent(doc.body,"beforepaste",TinyMCE_Engine.prototype._eventPatch);tinyMCE.addEvent(doc.body,"drop",TinyMCE_Engine.prototype._eventPatch)}}inst.select();tinyMCE.selectedElement=inst.contentWindow.document.body;tinyMCE._customCleanup(inst,"!
 insert_to_editor_dom",inst.getBody());tinyMCE._customCleanup(inst,"setup_content_dom",inst.getBody());tinyMCE._setEventsEnabled(inst.getBody(),false);tinyMCE.cleanupAnchors(inst.getDoc());if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(inst.getDoc());inst.startContent=tinyMCE.trim(inst.getBody().innerHTML);inst.undoRedo.add({content:inst.startContent});if(tinyMCE.isGecko){tinyMCE.selectNodes(inst.getBody(),function(n){if(n.nodeType==3||n.nodeType==8)n.nodeValue=n.nodeValue.replace(new RegExp('\\s(mce_src|mce_href)=\"[^\"]*\"','gi'),"");return false})}if(tinyMCE.isGecko)inst.getBody().spellcheck=tinyMCE.getParam("gecko_spellcheck");tinyMCE._removeInternal(inst.getBody());inst.select();tinyMCE.triggerNodeChange(false,true)},storeAwayURLs:function(s){if(!s.match(/(mce_src|mce_href)/gi,s)){s=s.replace(new RegExp('src\\s*=\\s*\"([^ >\"]*)\"','gi'),'src="$1" mce_src="$1"');s=s.replace(new RegExp('href\\s*=\\s*\"([^ >\"]*)\"','gi'),'href="$1" mce_href="$1!
 "')}return s},_removeInternal:function(n){if(tinyMCE.isGecko){tinyMCE.
selectNodes(n,function(n){if(n.nodeType==3||n.nodeType==8)n.nodeValue=n.nodeValue.replace(new RegExp('\\s(mce_src|mce_href)=\"[^\"]*\"','gi'),"");return false})}},handleEvent:function(e){var inst=tinyMCE.selectedInstance;if(typeof(tinyMCE)=="undefined")return true;if(tinyMCE.executeCallback(tinyMCE.selectedInstance,'handle_event_callback','handleEvent',e))return false;switch(e.type){case"beforedeactivate":case"blur":if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.execCommand('mceEndTyping');tinyMCE.hideMenus();return;case"drop":case"beforepaste":if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.setBaseHREF(null);if(tinyMCE.isRealIE){var ife=tinyMCE.selectedInstance.iframeElement;if(ife.style.height.indexOf('%')!=-1){ife._oldHeight=ife.style.height;ife.style.height=ife.clientHeight}}window.setTimeout("tinyMCE.selectedInstance.setBaseHREF(tinyMCE.settings['base_href']);tinyMCE._resetIframeHeight();",1);return;case"submit":tinyMCE.triggerSave();tinyMCE.isNotDirty=true;r!
 eturn;case"reset":var formObj=tinyMCE.isIE?window.event.srcElement:e.target;for(var i=0;i<document.forms.length;i++){if(document.forms[i]==formObj)window.setTimeout('tinyMCE.resetForm('+i+');',10)}return;case"keypress":if(inst&&inst.handleShortcut(e))return false;if(e.target.editorId){tinyMCE.instances[e.target.editorId].select()}else{if(e.target.ownerDocument.editorId)tinyMCE.instances[e.target.ownerDocument.editorId].select()}if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.switchSettings();if((tinyMCE.isGecko||tinyMCE.isOpera||tinyMCE.isSafari)&&tinyMCE.settings['force_p_newlines']&&e.keyCode==13&&!e.shiftKey){if(TinyMCE_ForceParagraphs._insertPara(tinyMCE.selectedInstance,e)){tinyMCE.execCommand("mceAddUndoLevel");return tinyMCE.cancelEvent(e)}}if((tinyMCE.isGecko&&!tinyMCE.isSafari)&&tinyMCE.settings['force_p_newlines']&&(e.keyCode==8||e.keyCode==46)&&!e.shiftKey){if(TinyMCE_ForceParagraphs._handleBackSpace(tinyMCE.selectedInstance,e.type)){tinyMCE.execCommand("mce!
 AddUndoLevel");return tinyMCE.cancelEvent(e)}}if(tinyMCE.isIE&&tinyMCE
.settings['force_br_newlines']&&e.keyCode==13){if(e.target.editorId)tinyMCE.instances[e.target.editorId].select();if(tinyMCE.selectedInstance){var sel=tinyMCE.selectedInstance.getDoc().selection;var rng=sel.createRange();if(tinyMCE.getParentElement(rng.parentElement(),"li")!=null)return false;e.returnValue=false;e.cancelBubble=true;rng.pasteHTML("<br />");rng.collapse(false);rng.select();tinyMCE.execCommand("mceAddUndoLevel");tinyMCE.triggerNodeChange(false);return false}}if(e.keyCode==8||e.keyCode==46){tinyMCE.selectedElement=e.target;tinyMCE.linkElement=tinyMCE.getParentElement(e.target,"a");tinyMCE.imgElement=tinyMCE.getParentElement(e.target,"img");tinyMCE.triggerNodeChange(false)}return false;break;case"keyup":case"keydown":tinyMCE.hideMenus();tinyMCE.hasMouseMoved=false;if(inst&&inst.handleShortcut(e))return false;if(e.target.editorId)tinyMCE.instances[e.target.editorId].select();if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.switchSettings();var inst=tinyMCE.sel!
 ectedInstance;if(tinyMCE.isGecko&&tinyMCE.settings['force_p_newlines']&&(e.keyCode==8||e.keyCode==46)&&!e.shiftKey){if(TinyMCE_ForceParagraphs._handleBackSpace(tinyMCE.selectedInstance,e.type)){tinyMCE.execCommand("mceAddUndoLevel");e.preventDefault();return false}}tinyMCE.selectedElement=null;tinyMCE.selectedNode=null;var elm=tinyMCE.selectedInstance.getFocusElement();tinyMCE.linkElement=tinyMCE.getParentElement(elm,"a");tinyMCE.imgElement=tinyMCE.getParentElement(elm,"img");tinyMCE.selectedElement=elm;if(tinyMCE.isGecko&&e.type=="keyup"&&e.keyCode==9)tinyMCE.handleVisualAid(tinyMCE.selectedInstance.getBody(),true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);if(tinyMCE.isIE&&e.type=="keydown"&&e.keyCode==13)tinyMCE.enterKeyElement=tinyMCE.selectedInstance.getFocusElement();if(tinyMCE.isIE&&e.type=="keyup"&&e.keyCode==13){var elm=tinyMCE.enterKeyElement;if(elm){var re=new RegExp('^HR|IMG|BR$','g');var dre=new RegExp('^H[1-6]$','g');if(!elm.hasChildNodes()&&!re.test(!
 elm.nodeName)){if(dre.test(elm.nodeName))elm.innerHTML="&nbsp;&nbsp;";
else elm.innerHTML="&nbsp;"}}}var keys=tinyMCE.posKeyCodes;var posKey=false;for(var i=0;i<keys.length;i++){if(keys[i]==e.keyCode){posKey=true;break}}if(tinyMCE.isIE&&tinyMCE.settings['custom_undo_redo']){var keys=new Array(8,46);for(var i=0;i<keys.length;i++){if(keys[i]==e.keyCode){if(e.type=="keyup")tinyMCE.triggerNodeChange(false)}}}if(e.keyCode==17)return true;if(tinyMCE.isGecko){if(!posKey&&e.type=="keyup"&&!e.ctrlKey||(e.ctrlKey&&(e.keyCode==86||e.keyCode==88)))tinyMCE.execCommand("mceStartTyping")}else{if(!posKey&&e.type=="keyup")tinyMCE.execCommand("mceStartTyping")}if(e.type=="keydown"&&(posKey||e.ctrlKey)&&inst)inst.undoBookmark=inst.selection.getBookmark();if(e.type=="keyup"&&(posKey||e.ctrlKey))tinyMCE.execCommand("mceEndTyping");if(posKey&&e.type=="keyup")tinyMCE.triggerNodeChange(false);if(tinyMCE.isIE&&e.ctrlKey)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);break;case"mousedown":case"mouseup":case"click":case"dblclick":case"focus":tinyMCE.hideMenus()!
 ;if(tinyMCE.selectedInstance){tinyMCE.selectedInstance.switchSettings();tinyMCE.selectedInstance.isFocused=true}var targetBody=tinyMCE.getParentElement(e.target,"html");for(var instanceName in tinyMCE.instances){if(!tinyMCE.isInstance(tinyMCE.instances[instanceName]))continue;var inst=tinyMCE.instances[instanceName];inst.autoResetDesignMode();if(inst.getBody().parentNode==targetBody){inst.select();tinyMCE.selectedElement=e.target;tinyMCE.linkElement=tinyMCE.getParentElement(tinyMCE.selectedElement,"a");tinyMCE.imgElement=tinyMCE.getParentElement(tinyMCE.selectedElement,"img");break}}if(!tinyMCE.selectedInstance.undoRedo.undoLevels[0].bookmark&&(e.type=="mouseup"||e.type=="dblclick"))tinyMCE.selectedInstance.undoRedo.undoLevels[0].bookmark=tinyMCE.selectedInstance.selection.getBookmark();if(e.type!="focus")tinyMCE.selectedNode=null;tinyMCE.triggerNodeChange(false);tinyMCE.execCommand("mceEndTyping");if(e.type=="mouseup")tinyMCE.execCommand("mceAddUndoLevel");if(!tinyMCE.sele!
 ctedInstance&&e.target.editorId)tinyMCE.instances[e.target.editorId].s
elect();return false;break}},getButtonHTML:function(id,lang,img,cmd,ui,val){var h='',m,x,io='';cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+cmd+'\'';if(typeof(ui)!="undefined"&&ui!=null)cmd+=','+ui;if(typeof(val)!="undefined"&&val!=null)cmd+=",'"+val+"'";cmd+=');';if(tinyMCE.isRealIE)io='onmouseover="tinyMCE.lastHover = this;"';if(tinyMCE.getParam('button_tile_map')&&(!tinyMCE.isIE||tinyMCE.isOpera)&&(m=this.buttonMap[id])!=null&&(tinyMCE.getParam("language")=="en"||img.indexOf('$lang')==-1)){x=0-(m*20)==0?'0':0-(m*20);h+='<a id="{$editor_id}_'+id+'" href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" '+io+' class="mceTiledButton mceButtonNormal" target="_self">';h+='<img src="{$themeurl}/images/spacer.gif" style="background-position: '+x+'px 0" title="{$'+lang+'}" />';h+='</a>'}else{h+='<a id="{$editor_id}_'+id+'" href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" '+io+' class="mceButtonNormal" targ!
 et="_self">';h+='<img src="'+img+'" title="{$'+lang+'}" />';h+='</a>'}return h},getMenuButtonHTML:function(id,lang,img,mcmd,cmd,ui,val){var h='',m,x;mcmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+mcmd+'\');';cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+cmd+'\'';if(typeof(ui)!="undefined"&&ui!=null)cmd+=','+ui;if(typeof(val)!="undefined"&&val!=null)cmd+=",'"+val+"'";cmd+=');';if(tinyMCE.getParam('button_tile_map')&&(!tinyMCE.isIE||tinyMCE.isOpera)&&(m=tinyMCE.buttonMap[id])!=null&&(tinyMCE.getParam("language")=="en"||img.indexOf('$lang')==-1)){x=0-(m*20)==0?'0':0-(m*20);if(tinyMCE.isRealIE)h+='<span id="{$editor_id}_'+id+'" class="mceMenuButton" onmouseover="tinyMCE._menuButtonEvent(\'over\',this);tinyMCE.lastHover = this;" onmouseout="tinyMCE._menuButtonEvent(\'out\',this);">';else h+='<span id="{$editor_id}_'+id+'" class="mceMenuButton">';h+='<a href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" class="mceTiledButton mceMe!
 nuButtonNormal" target="_self">';h+='<img src="{$themeurl}/images/spac
er.gif" style="width: 20px; height: 20px; background-position: '+x+'px 0" title="{$'+lang+'}" /></a>';h+='<a href="javascript:'+mcmd+'" onclick="'+mcmd+'return false;" onmousedown="return false;"><img src="{$themeurl}/images/button_menu.gif" title="{$'+lang+'}" class="mceMenuButton" />';h+='</a></span>'}else{if(tinyMCE.isRealIE)h+='<span id="{$editor_id}_'+id+'" class="mceMenuButton" onmouseover="tinyMCE._menuButtonEvent(\'over\',this);tinyMCE.lastHover = this;" onmouseout="tinyMCE._menuButtonEvent(\'out\',this);">';else h+='<span id="{$editor_id}_'+id+'" class="mceMenuButton">';h+='<a href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" class="mceMenuButtonNormal" target="_self">';h+='<img src="'+img+'" title="{$'+lang+'}" /></a>';h+='<a href="javascript:'+mcmd+'" onclick="'+mcmd+'return false;" onmousedown="return false;"><img src="{$themeurl}/images/button_menu.gif" title="{$'+lang+'}" class="mceMenuButton" />';h+='</a></span>'}return h},_m!
 enuButtonEvent:function(e,o){if(o.className=='mceMenuButtonFocus')return;if(e=='over')o.className=o.className+' mceMenuHover';else o.className=o.className.replace(/\s.*$/,'')},addButtonMap:function(m){var i,a=m.replace(/\s+/,'').split(',');for(i=0;i<a.length;i++)this.buttonMap[a[i]]=i},submitPatch:function(){tinyMCE.triggerSave();tinyMCE.isNotDirty=true;this.mceOldSubmit()},onLoad:function(){var r;if(tinyMCE.settings.strict_loading_mode&&this.loadingIndex!=-1){window.setTimeout('tinyMCE.onLoad();',1);return}if(tinyMCE.isRealIE&&window.event.type=="readystatechange"&&document.readyState!="complete")return true;if(tinyMCE.isLoaded)return true;tinyMCE.isLoaded=true;if(tinyMCE.isRealIE&&document.body){r=document.body.createTextRange();r.collapse(true);r.select()}tinyMCE.dispatchCallback(null,'onpageload','onPageLoad');for(var c=0;c<tinyMCE.configs.length;c++){tinyMCE.settings=tinyMCE.configs[c];var selector=tinyMCE.getParam("editor_selector");var deselector=tinyMCE.getParam("ed!
 itor_deselector");var elementRefAr=new Array();if(document.forms&&tiny
MCE.settings['add_form_submit_trigger']&&!tinyMCE.submitTriggers){for(var i=0;i<document.forms.length;i++){var form=document.forms[i];tinyMCE.addEvent(form,"submit",TinyMCE_Engine.prototype.handleEvent);tinyMCE.addEvent(form,"reset",TinyMCE_Engine.prototype.handleEvent);tinyMCE.submitTriggers=true;if(tinyMCE.settings['submit_patch']){try{form.mceOldSubmit=form.submit;form.submit=TinyMCE_Engine.prototype.submitPatch}catch(e){}}}}var mode=tinyMCE.settings['mode'];switch(mode){case"exact":var elements=tinyMCE.getParam('elements','',true,',');for(var i=0;i<elements.length;i++){var element=tinyMCE._getElementById(elements[i]);var trigger=element?element.getAttribute(tinyMCE.settings['textarea_trigger']):"";if(new RegExp('\\b'+deselector+'\\b').test(tinyMCE.getAttrib(element,"class")))continue;if(trigger=="false")continue;if((tinyMCE.settings['ask']||tinyMCE.settings['convert_on_click'])&&element){elementRefAr[elementRefAr.length]=element;continue}if(element)tinyMCE.addMCEControl(!
 element,elements[i]);else if(tinyMCE.settings['debug'])alert("Error: Could not find element by id or name: "+elements[i])}break;case"specific_textareas":case"textareas":var nodeList=document.getElementsByTagName("textarea");for(var i=0;i<nodeList.length;i++){var elm=nodeList.item(i);var trigger=elm.getAttribute(tinyMCE.settings['textarea_trigger']);if(selector!=''&&!new RegExp('\\b'+selector+'\\b').test(tinyMCE.getAttrib(elm,"class")))continue;if(selector!='')trigger=selector!=""?"true":"";if(new RegExp('\\b'+deselector+'\\b').test(tinyMCE.getAttrib(elm,"class")))continue;if((mode=="specific_textareas"&&trigger=="true")||(mode=="textareas"&&trigger!="false"))elementRefAr[elementRefAr.length]=elm}break}for(var i=0;i<elementRefAr.length;i++){var element=elementRefAr[i];var elementId=element.name?element.name:element.id;if(tinyMCE.settings['ask']||tinyMCE.settings['convert_on_click']){if(tinyMCE.isGecko){var settings=tinyMCE.settings;tinyMCE.addEvent(element,"focus",function(e!
 ){window.setTimeout(function(){TinyMCE_Engine.prototype.confirmAdd(e,s
ettings)},10)});if(element.nodeName!="TEXTAREA"&&element.nodeName!="INPUT")tinyMCE.addEvent(element,"click",function(e){window.setTimeout(function(){TinyMCE_Engine.prototype.confirmAdd(e,settings)},10)});}else{var settings=tinyMCE.settings;tinyMCE.addEvent(element,"focus",function(){TinyMCE_Engine.prototype.confirmAdd(null,settings)});tinyMCE.addEvent(element,"click",function(){TinyMCE_Engine.prototype.confirmAdd(null,settings)});}}else tinyMCE.addMCEControl(element,elementId)}if(tinyMCE.settings['auto_focus']){window.setTimeout(function(){var inst=tinyMCE.getInstanceById(tinyMCE.settings['auto_focus']);inst.selection.selectNode(inst.getBody(),true,true);inst.contentWindow.focus()},100)}tinyMCE.dispatchCallback(null,'oninit','onInit')}},isInstance:function(o){return o!=null&&typeof(o)=="object"&&o.isTinyMCE_Control},getParam:function(name,default_value,strip_whitespace,split_chr){var value=(typeof(this.settings[name])=="undefined")?default_value:this.settings[name];if(value=!
 ="true"||value=="false")return(value=="true");if(strip_whitespace)value=tinyMCE.regexpReplace(value,"[ \t\r\n]","");if(typeof(split_chr)!="undefined"&&split_chr!=null){value=value.split(split_chr);var outArray=new Array();for(var i=0;i<value.length;i++){if(value[i]&&value[i]!="")outArray[outArray.length]=value[i]}value=outArray}return value},getLang:function(name,default_value,parse_entities,va){var v=(typeof(tinyMCELang[name])=="undefined")?default_value:tinyMCELang[name],n;if(parse_entities)v=tinyMCE.entityDecode(v);if(va){for(n in va)v=this.replaceVar(v,n,va[n])}return v},entityDecode:function(s){var e=document.createElement("div");e.innerHTML=s;return e.firstChild.nodeValue},addToLang:function(prefix,ar){for(var key in ar){if(typeof(ar[key])=='function')continue;tinyMCELang[(key.indexOf('lang_')==-1?'lang_':'')+(prefix!=''?(prefix+"_"):'')+key]=ar[key]}this.loadNextScript();},triggerNodeChange:function(focus,setup_content){if(tinyMCE.selectedInstance){var inst=tinyMCE.s!
 electedInstance;var editorId=inst.editorId;var elm=(typeof(setup_conte
nt)!="undefined"&&setup_content)?tinyMCE.selectedElement:inst.getFocusElement();var undoIndex=-1,doc;var undoLevels=-1;var anySelection=false;var selectedText=inst.selection.getSelectedText();if(tinyMCE.settings.auto_resize)inst.resizeToContent();if(setup_content&&tinyMCE.isGecko&&inst.isHidden())elm=inst.getBody();inst.switchSettings();if(tinyMCE.selectedElement)anySelection=(tinyMCE.selectedElement.nodeName.toLowerCase()=="img")||(selectedText&&selectedText.length>0);if(tinyMCE.settings['custom_undo_redo']){undoIndex=inst.undoRedo.undoIndex;undoLevels=inst.undoRedo.undoLevels.length}tinyMCE.dispatchCallback(inst,'handle_node_change_callback','handleNodeChange',editorId,elm,undoIndex,undoLevels,inst.visualAid,anySelection,setup_content)}if(this.selectedInstance&&(typeof(focus)=="undefined"||focus))this.selectedInstance.contentWindow.focus()},_customCleanup:function(inst,type,content){var pl,po,i;var customCleanup=tinyMCE.settings['cleanup_callback'];if(customCleanup!=""&&ev!
 al("typeof("+customCleanup+")")!="undefined")content=eval(customCleanup+"(type, content, inst);");po=tinyMCE.themes[tinyMCE.settings['theme']];if(po&&po.cleanup)content=po.cleanup(type,content,inst);pl=inst.plugins;for(i=0;i<pl.length;i++){po=tinyMCE.plugins[pl[i]];if(po&&po.cleanup)content=po.cleanup(type,content,inst)}return content},setContent:function(h){if(tinyMCE.selectedInstance){tinyMCE.selectedInstance.execCommand('mceSetContent',false,h);tinyMCE.selectedInstance.repaint()}},importThemeLanguagePack:function(name){if(typeof(name)=="undefined")name=tinyMCE.settings['theme'];tinyMCE.loadScript(tinyMCE.baseURL+'/themes/'+name+'/langs/'+tinyMCE.settings['language']+'.js')},importPluginLanguagePack:function(name){var b=tinyMCE.baseURL+'/plugins/'+name;if(this.plugins[name])b=this.plugins[name].baseURL;tinyMCE.loadScript(b+'/langs/'+tinyMCE.settings['language']+'.js')},applyTemplate:function(h,as){return h.replace(new RegExp('\\{\\$([a-z0-9_]+)\\}','gi'),function(m,s){if(!
 s.indexOf('lang_')==0&&tinyMCELang[s])return tinyMCELang[s];if(as&&as[
s])return as[s];if(tinyMCE.settings[s])return tinyMCE.settings[s];if(m=='themeurl')return tinyMCE.themeURL;return m})},replaceVar:function(h,r,v){return h.replace(new RegExp('{\\\$'+r+'}','g'),v)},openWindow:function(template,args){var html,width,height,x,y,resizable,scrollbars,url;args['mce_template_file']=template['file'];args['mce_width']=template['width'];args['mce_height']=template['height'];tinyMCE.windowArgs=args;html=template['html'];if(!(width=parseInt(template['width'])))width=320;if(!(height=parseInt(template['height'])))height=200;if(tinyMCE.isIE)height+=40;else height+=20;x=parseInt(screen.width/ 2.0) - (width /2.0);y=parseInt(screen.height/ 2.0) - (height /2.0);resizable=(args&&args['resizable'])?args['resizable']:"no";scrollbars=(args&&args['scrollbars'])?args['scrollbars']:"no";if(template['file'].charAt(0)!='/'&&template['file'].indexOf('://')==-1)url=tinyMCE.baseURL+"/themes/"+tinyMCE.getParam("theme")+"/"+template['file'];else url=template['file'];for(var !
 name in args){if(typeof(args[name])=='function')continue;url=tinyMCE.replaceVar(url,name,escape(args[name]))}if(html){html=tinyMCE.replaceVar(html,"css",this.settings['popups_css']);html=tinyMCE.applyTemplate(html,args);var win=window.open("","mcePopup"+new Date().getTime(),"top="+y+",left="+x+",scrollbars="+scrollbars+",dialog=yes,minimizable="+resizable+",modal=yes,width="+width+",height="+height+",resizable="+resizable);if(win==null){alert(tinyMCELang['lang_popup_blocked']);return}win.document.write(html);win.document.close();win.resizeTo(width,height);win.focus()}else{if((tinyMCE.isRealIE)&&resizable!='yes'&&tinyMCE.settings["dialog_type"]=="modal"){height+=10;var features="resizable:"+resizable+";scroll:"+scrollbars+";status:yes;center:yes;help:no;dialogWidth:"+width+"px;dialogHeight:"+height+"px;";window.showModalDialog(url,window,features)}else{var modal=(resizable=="yes")?"no":"yes";if(tinyMCE.isGecko&&tinyMCE.isMac)modal="no";if(template['close_previous']!="no")try!
 {tinyMCE.lastWindow.close()}catch(ex){}var win=window.open(url,"mcePop
up"+new Date().getTime(),"top="+y+",left="+x+",scrollbars="+scrollbars+",dialog="+modal+",minimizable="+resizable+",modal="+modal+",width="+width+",height="+height+",resizable="+resizable);if(win==null){alert(tinyMCELang['lang_popup_blocked']);return}if(template['close_previous']!="no")tinyMCE.lastWindow=win;eval('try { win.resizeTo(width, height); } catch(e) { }');if(tinyMCE.isGecko){if(win.document.defaultView.statusbar.visible)win.resizeBy(0,tinyMCE.isMac?10:24)}win.focus()}}},closeWindow:function(win){win.close()},getVisualAidClass:function(class_name,state){var aidClass=tinyMCE.settings['visual_table_class'];if(typeof(state)=="undefined")state=tinyMCE.settings['visual'];var classNames=new Array();var ar=class_name.split(' ');for(var i=0;i<ar.length;i++){if(ar[i]==aidClass)ar[i]="";if(ar[i]!="")classNames[classNames.length]=ar[i]}if(state)classNames[classNames.length]=aidClass;var className="";for(var i=0;i<classNames.length;i++){if(i>0)className+=" ";className+=classNam!
 es[i]}return className},handleVisualAid:function(el,deep,state,inst,skip_dispatch){if(!el)return;if(!skip_dispatch)tinyMCE.dispatchCallback(inst,'handle_visual_aid_callback','handleVisualAid',el,deep,state,inst);var tableElement=null;switch(el.nodeName){case"TABLE":var oldW=el.style.width;var oldH=el.style.height;var bo=tinyMCE.getAttrib(el,"border");bo=bo==""||bo=="0"?true:false;tinyMCE.setAttrib(el,"class",tinyMCE.getVisualAidClass(tinyMCE.getAttrib(el,"class"),state&&bo));el.style.width=oldW;el.style.height=oldH;for(var y=0;y<el.rows.length;y++){for(var x=0;x<el.rows[y].cells.length;x++){var cn=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(el.rows[y].cells[x],"class"),state&&bo);tinyMCE.setAttrib(el.rows[y].cells[x],"class",cn)}}break;case"A":var anchorName=tinyMCE.getAttrib(el,"name");if(anchorName!=''&&state){el.title=anchorName;tinyMCE.addCSSClass(el,'mceItemAnchor')}else if(anchorName!=''&&!state)el.className='';break}if(deep&&el.hasChildNodes()){for(var i=0;i<el.child!
 Nodes.length;i++)tinyMCE.handleVisualAid(el.childNodes[i],deep,state,i
nst,true)}},fixGeckoBaseHREFBug:function(m,e,h){var xsrc,xhref;if(tinyMCE.isGecko){if(m==1){h=h.replace(/\ssrc=/gi," mce_tsrc=");h=h.replace(/\shref=/gi," mce_thref=");return h}else{if(!new RegExp('(src|href)=','g').test(h))return h;tinyMCE.selectElements(e,'A,IMG,SELECT,AREA,IFRAME,BASE,INPUT,SCRIPT,EMBED,OBJECT,LINK',function(n){xsrc=tinyMCE.getAttrib(n,"mce_tsrc");xhref=tinyMCE.getAttrib(n,"mce_thref");if(xsrc!=""){try{n.src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],xsrc)}catch(e){}n.removeAttribute("mce_tsrc")}if(xhref!=""){try{n.href=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],xhref)}catch(e){}n.removeAttribute("mce_thref")}return false});tinyMCE.selectNodes(e,function(n){if(n.nodeType==3||n.nodeType==8){n.nodeValue=n.nodeValue.replace(/\smce_tsrc=/gi," src=");n.nodeValue=n.nodeValue.replace(/\smce_thref=/gi," href=")}return false})}}return h},_setHTML:function(doc,html_content){html_content=tinyMCE.cleanupHTMLCode(html_co!
 ntent);try{tinyMCE.setInnerHTML(doc.body,html_content)}catch(e){if(this.isMSIE)doc.body.createTextRange().pasteHTML(html_content)}if(tinyMCE.isIE&&tinyMCE.settings['fix_content_duplication']){var paras=doc.getElementsByTagName("P");for(var i=0;i<paras.length;i++){var node=paras[i];while((node=node.parentNode)!=null){if(node.nodeName=="P")node.outerHTML=node.innerHTML}}var html=doc.body.innerHTML;tinyMCE.setInnerHTML(doc.body,html)}tinyMCE.cleanupAnchors(doc);if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(doc)},getEditorId:function(form_element){var inst=this.getInstanceById(form_element);if(!inst)return null;return inst.editorId},getInstanceById:function(editor_id){var inst=this.instances[editor_id];if(!inst){for(var n in tinyMCE.instances){var instance=tinyMCE.instances[n];if(!tinyMCE.isInstance(instance))continue;if(instance.formTargetElementId==editor_id){inst=instance;break}}}return inst},queryInstanceCommandValue:function(editor_id,command){v!
 ar inst=tinyMCE.getInstanceById(editor_id);if(inst)return inst.queryCo
mmandValue(command);return false},queryInstanceCommandState:function(editor_id,command){var inst=tinyMCE.getInstanceById(editor_id);if(inst)return inst.queryCommandState(command);return null},setWindowArg:function(n,v){this.windowArgs[n]=v},getWindowArg:function(n,d){return(typeof(this.windowArgs[n])=="undefined")?d:this.windowArgs[n]},getCSSClasses:function(editor_id,doc){var output=new Array();if(typeof(tinyMCE.cssClasses)!="undefined")return tinyMCE.cssClasses;if(typeof(editor_id)=="undefined"&&typeof(doc)=="undefined"){var instance;for(var instanceName in tinyMCE.instances){instance=tinyMCE.instances[instanceName];if(!tinyMCE.isInstance(instance))continue;break}doc=instance.getDoc()}if(typeof(doc)=="undefined"){var instance=tinyMCE.getInstanceById(editor_id);doc=instance.getDoc()}if(doc){var styles=doc.styleSheets;if(styles&&styles.length>0){for(var x=0;x<styles.length;x++){var csses=null;eval("try {var csses = tinyMCE.isIE ? doc.styleSheets("+x+").rules : styles["+x+"].!
 cssRules;} catch(e) {}");if(!csses)return new Array();for(var i=0;i<csses.length;i++){var selectorText=csses[i].selectorText;if(selectorText){var rules=selectorText.split(',');for(var c=0;c<rules.length;c++){var rule=rules[c];while(rule.indexOf(' ')==0)rule=rule.substring(1);if(rule.indexOf(' ')!=-1||rule.indexOf(':')!=-1||rule.indexOf('mceItem')!=-1)continue;if(rule.indexOf(tinyMCE.settings['visual_table_class'])!=-1||rule.indexOf('mceEditable')!=-1||rule.indexOf('mceNonEditable')!=-1)continue;if(rule.indexOf('.')!=-1){var cssClass=rule.substring(rule.indexOf('.')+1);var addClass=true;for(var p=0;p<output.length&&addClass;p++){if(output[p]==cssClass)addClass=false}if(addClass)output[output.length]=cssClass}}}}}}}if(output.length>0)tinyMCE.cssClasses=output;return output},regexpReplace:function(in_str,reg_exp,replace_str,opts){if(in_str==null)return in_str;if(typeof(opts)=="undefined")opts='g';var re=new RegExp(reg_exp,opts);return in_str.replace(re,replace_str)},trim:funct!
 ion(s){return s.replace(/^\s*|\s*$/g,"")},cleanupEventStr:function(s){
s=""+s;s=s.replace('function anonymous()\n{\n','');s=s.replace('\n}','');s=s.replace(/^return true;/gi,'');return s},getControlHTML:function(c){var i,l,n,o,v;l=tinyMCE.plugins;for(n in l){o=l[n];if(o.getControlHTML&&(v=o.getControlHTML(c))!='')return tinyMCE.replaceVar(v,"pluginurl",o.baseURL)}o=tinyMCE.themes[tinyMCE.settings['theme']];if(o.getControlHTML&&(v=o.getControlHTML(c))!='')return v;return''},evalFunc:function(f,idx,a,o){var s='(',i;for(i=idx;i<a.length;i++){s+='a['+i+']';if(i<a.length-1)s+=','}s+=');';return o?eval("o."+f+s):eval("f"+s)},dispatchCallback:function(i,p,n){return this.callFunc(i,p,n,0,this.dispatchCallback.arguments)},executeCallback:function(i,p,n){return this.callFunc(i,p,n,1,this.executeCallback.arguments)},execCommandCallback:function(i,p,n){return this.callFunc(i,p,n,2,this.execCommandCallback.arguments)},callFunc:function(ins,p,n,m,a){var l,i,on,o,s,v;s=m==2;l=tinyMCE.getParam(p,'');if(l!=''&&(v=tinyMCE.evalFunc(typeof(l)=="function"?l:eval(l)!
 ,3,a))==s&&m>0)return true;if(ins!=null){for(i=0,l=ins.plugins;i<l.length;i++){o=tinyMCE.plugins[l[i]];if(o[n]&&(v=tinyMCE.evalFunc(n,3,a,o))==s&&m>0)return true}}l=tinyMCE.themes;for(on in l){o=l[on];if(o[n]&&(v=tinyMCE.evalFunc(n,3,a,o))==s&&m>0)return true}return false},xmlEncode:function(s){return s?(''+s).replace(new RegExp('[<>&"\']','g'),function(c,b){switch(c){case'&':return'&amp;';case'"':return'&quot;';case'\'':return'&#39;';case'<':return'&lt;';case'>':return'&gt;'}return c}):s},extend:function(p,np){var o={};o.parent=p;for(n in p)o[n]=p[n];for(n in np)o[n]=np[n];return o},hideMenus:function(){var e=tinyMCE.lastSelectedMenuBtn;if(tinyMCE.lastMenu){tinyMCE.lastMenu.hide();tinyMCE.lastMenu=null}if(e){tinyMCE.switchClass(e,tinyMCE.lastMenuBtnClass);tinyMCE.lastSelectedMenuBtn=null}}};var TinyMCE=TinyMCE_Engine;var tinyMCE=new TinyMCE_Engine();var tinyMCELang={};function TinyMCE_Control(settings){var t,i,to,fu,p,x,fn,fu,pn,s=settings;this.undoRedoLevel=true;this.isTi!
 nyMCE_Control=true;this.settings=s;this.settings['theme']=tinyMCE.getP
aram("theme","default");this.settings['width']=tinyMCE.getParam("width",-1);this.settings['height']=tinyMCE.getParam("height",-1);this.selection=new TinyMCE_Selection(this);this.undoRedo=new TinyMCE_UndoRedo(this);this.cleanup=new TinyMCE_Cleanup();this.shortcuts=new Array();this.hasMouseMoved=false;this.foreColor=this.backColor="#999999";this.data={};this.cleanup.init({valid_elements:s.valid_elements,extended_valid_elements:s.extended_valid_elements,valid_child_elements:s.valid_child_elements,entities:s.entities,entity_encoding:s.entity_encoding,debug:s.cleanup_debug,url_converter:'TinyMCE_Cleanup.prototype._urlConverter',indent:s.apply_source_formatting,invalid_elements:s.invalid_elements,verify_html:s.verify_html,fix_content_duplication:s.fix_content_duplication});t=this.settings['theme'];if(!tinyMCE.hasTheme(t)){fn=tinyMCE.callbacks;to={};for(i=0;i<fn.length;i++){if((fu=window['TinyMCE_'+t+"_"+fn[i]]))to[fn[i]]=fu}tinyMCE.addTheme(t,to)}this.plugins=new Array();p=tinyMCE!
 .getParam('plugins','',true,',');if(p.length>0){for(i=0;i<p.length;i++){pn=p[i];if(pn.charAt(0)=='-')pn=pn.substring(1);if(!tinyMCE.hasPlugin(pn)){fn=tinyMCE.callbacks;to={};for(x=0;x<fn.length;x++){if((fu=window['TinyMCE_'+pn+"_"+fn[x]]))to[fn[x]]=fu}tinyMCE.addPlugin(pn,to)}this.plugins[this.plugins.length]=pn}}};TinyMCE_Control.prototype={selection:null,settings:null,cleanup:null,getData:function(na){var o=this.data[na];if(!o)o=this.data[na]={};return o},hasPlugin:function(n){var i;for(i=0;i<this.plugins.length;i++){if(this.plugins[i]==n)return true}return false},addPlugin:function(n,p){if(!this.hasPlugin(n)){tinyMCE.addPlugin(n,p);this.plugins[this.plugins.length]=n}},repaint:function(){var s,b,ex;if(tinyMCE.isRealIE)return;try{s=this.selection;b=s.getBookmark(true);this.getBody().style.display='none';this.getDoc().execCommand('selectall',false,null);this.getSel().collapseToStart();this.getBody().style.display='block';s.moveToBookmark(b)}catch(ex){}},switchSettings:func!
 tion(){if(tinyMCE.configs.length>1&&tinyMCE.currentConfig!=this.settin
gs['index']){tinyMCE.settings=this.settings;tinyMCE.currentConfig=this.settings['index']}},select:function(){var oldInst=tinyMCE.selectedInstance;if(oldInst!=this){if(oldInst)oldInst.execCommand('mceEndTyping');tinyMCE.dispatchCallback(this,'select_instance_callback','selectInstance',this,oldInst);tinyMCE.selectedInstance=this}},getBody:function(){return this.contentBody?this.contentBody:this.getDoc().body},getDoc:function(){return this.contentWindow.document},getWin:function(){return this.contentWindow},getContainerWin:function(){return this.containerWindow?this.containerWindow:window},getViewPort:function(){return tinyMCE.getViewPort(this.getWin())},getParentNode:function(n,f){return tinyMCE.getParentNode(n,f,this.getBody())},getParentElement:function(n,na,f){return tinyMCE.getParentElement(n,na,f,this.getBody())},getParentBlockElement:function(n){return tinyMCE.getParentBlockElement(n,this.getBody())},resizeToContent:function(){var d=this.getDoc(),b=d.body,de=d.documentEl!
 ement;this.iframeElement.style.height=(tinyMCE.isRealIE)?b.scrollHeight:de.offsetHeight+'px'},addShortcut:function(m,k,d,cmd,ui,va){var n=typeof(k)=="number",ie=tinyMCE.isIE,c,sc,i,scl=this.shortcuts;if(!tinyMCE.getParam('custom_shortcuts'))return false;m=m.toLowerCase();k=ie&&!n?k.toUpperCase():k;c=n?null:k.charCodeAt(0);d=d&&d.indexOf('lang_')==0?tinyMCE.getLang(d):d;sc={alt:m.indexOf('alt')!=-1,ctrl:m.indexOf('ctrl')!=-1,shift:m.indexOf('shift')!=-1,charCode:c,keyCode:n?k:(ie?c:null),desc:d,cmd:cmd,ui:ui,val:va};for(i=0;i<scl.length;i++){if(sc.alt==scl[i].alt&&sc.ctrl==scl[i].ctrl&&sc.shift==scl[i].shift&&sc.charCode==scl[i].charCode&&sc.keyCode==scl[i].keyCode){return false}}scl[scl.length]=sc;return true},handleShortcut:function(e){var i,s=this.shortcuts,o;for(i=0;i<s.length;i++){o=s[i];if(o.alt==e.altKey&&o.ctrl==e.ctrlKey&&(o.keyCode==e.keyCode||o.charCode==e.charCode)){if(o.cmd&&(e.type=="keydown"||(e.type=="keypress"&&!tinyMCE.isOpera)))tinyMCE.execCommand(o.cmd,o.!
 ui,o.val);tinyMCE.cancelEvent(e);return true}}return false},autoResetD
esignMode:function(){if(!tinyMCE.isIE&&this.isHidden()&&tinyMCE.getParam('auto_reset_designmode'))eval('try { this.getDoc().designMode = "On"; this.useCSS = false; } catch(e) {}')},isHidden:function(){var s;if(tinyMCE.isIE)return false;s=this.getSel();return(!s||!s.rangeCount||s.rangeCount==0)},isDirty:function(){return tinyMCE.trim(this.startContent)!=tinyMCE.trim(this.getBody().innerHTML)&&!tinyMCE.isNotDirty},_mergeElements:function(scmd,pa,ch,override){if(scmd=="removeformat"){pa.className="";pa.style.cssText="";ch.className="";ch.style.cssText="";return}var st=tinyMCE.parseStyle(tinyMCE.getAttrib(pa,"style"));var stc=tinyMCE.parseStyle(tinyMCE.getAttrib(ch,"style"));var className=tinyMCE.getAttrib(pa,"class");className=tinyMCE.getAttrib(ch,"class");if(override){for(var n in st){if(typeof(st[n])=='function')continue;stc[n]=st[n]}}else{for(var n in stc){if(typeof(stc[n])=='function')continue;st[n]=stc[n]}}tinyMCE.setAttrib(pa,"style",tinyMCE.serializeStyle(st));tinyMCE.se!
 tAttrib(pa,"class",tinyMCE.trim(className));ch.className="";ch.style.cssText="";ch.removeAttribute("class");ch.removeAttribute("style")},_setUseCSS:function(b){var d=this.getDoc();try{d.execCommand("useCSS",false,!b)}catch(ex){}try{d.execCommand("styleWithCSS",false,b)}catch(ex){}if(!tinyMCE.getParam("table_inline_editing"))try{d.execCommand('enableInlineTableEditing',false,"false")}catch(ex){}if(!tinyMCE.getParam("object_resizing"))try{d.execCommand('enableObjectResizing',false,"false")}catch(ex){}},execCommand:function(command,user_interface,value){var doc=this.getDoc(),win=this.getWin(),focusElm=this.getFocusElement();if(!new RegExp('mceStartTyping|mceEndTyping|mceBeginUndoLevel|mceEndUndoLevel|mceAddUndoLevel','gi').test(command))this.undoBookmark=null;if(!tinyMCE.isIE&&!this.useCSS){this._setUseCSS(false);this.useCSS=true}this.contentDocument=doc;if(tinyMCE.execCommandCallback(this,'execcommand_callback','execCommand',this.editorId,this.getBody(),command,user_interface!
 ,value))return;if(focusElm&&focusElm.nodeName=="IMG"){var align=focusE
lm.getAttribute('align');var img=command=="JustifyCenter"?focusElm.cloneNode(false):focusElm;switch(command){case"JustifyLeft":if(align=='left')img.removeAttribute('align');else img.setAttribute('align','left');var div=focusElm.parentNode;if(div&&div.nodeName=="DIV"&&div.childNodes.length==1&&div.parentNode)div.parentNode.replaceChild(img,div);this.selection.selectNode(img);this.repaint();tinyMCE.triggerNodeChange();return;case"JustifyCenter":img.removeAttribute('align');var div=tinyMCE.getParentElement(focusElm,"div");if(div&&div.style.textAlign=="center"){if(div.nodeName=="DIV"&&div.childNodes.length==1&&div.parentNode)div.parentNode.replaceChild(img,div)}else{var div=this.getDoc().createElement("div");div.style.textAlign='center';div.appendChild(img);focusElm.parentNode.replaceChild(div,focusElm)}this.selection.selectNode(img);this.repaint();tinyMCE.triggerNodeChange();return;case"JustifyRight":if(align=='right')img.removeAttribute('align');else img.setAttribute('align','!
 right');var div=focusElm.parentNode;if(div&&div.nodeName=="DIV"&&div.childNodes.length==1&&div.parentNode)div.parentNode.replaceChild(img,div);this.selection.selectNode(img);this.repaint();tinyMCE.triggerNodeChange();return}}if(tinyMCE.settings['force_br_newlines']){var alignValue="";if(doc.selection.type!="Control"){switch(command){case"JustifyLeft":alignValue="left";break;case"JustifyCenter":alignValue="center";break;case"JustifyFull":alignValue="justify";break;case"JustifyRight":alignValue="right";break}if(alignValue!=""){var rng=doc.selection.createRange();if((divElm=tinyMCE.getParentElement(rng.parentElement(),"div"))!=null)divElm.setAttribute("align",alignValue);else if(rng.pasteHTML&&rng.htmlText.length>0)rng.pasteHTML('<div align="'+alignValue+'">'+rng.htmlText+"</div>");tinyMCE.triggerNodeChange();return}}}switch(command){case"mceRepaint":this.repaint();return true;case"unlink":if(tinyMCE.isGecko&&this.getSel().isCollapsed){focusElm=tinyMCE.getParentElement(focusEl!
 m,'A');if(focusElm)this.selection.selectNode(focusElm,false)}this.getD
oc().execCommand(command,user_interface,value);tinyMCE.isGecko&&this.getSel().collapseToEnd();tinyMCE.triggerNodeChange();return true;case"FormatBlock":if(!this.cleanup.isValid(value))return true;this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case"InsertUnorderedList":case"InsertOrderedList":this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case"Strikethrough":this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case"mceSelectNode":this.selection.selectNode(value);tinyMCE.triggerNodeChange();tinyMCE.selectedNode=value;break;case"FormatBlock":if(value==null||value==""){var elm=tinyMCE.getParentElement(this.getFocusElement(),"p,div,h1,h2,h3,h4,h5,h6,pre,address,blockquote,dt,dl,dd,samp");if(elm)this.execCommand("mceRemoveNode",false,elm)}else{if(tinyMCE.isGecko&&new RegExp('<(div|blockquote|code|dt|dd|dl|samp)>','gi').test(value))value=value.replace(/[^a-z]/g!
 i,'');if(tinyMCE.isIE&&new RegExp('blockquote|code|samp','gi').test(value)){var b=this.selection.getBookmark();this.getDoc().execCommand("FormatBlock",false,'<p>');tinyMCE.renameElement(tinyMCE.getParentBlockElement(this.getFocusElement()),value);this.selection.moveToBookmark(b)}else this.getDoc().execCommand("FormatBlock",false,value)}tinyMCE.triggerNodeChange();break;case"mceRemoveNode":if(!value)value=tinyMCE.getParentElement(this.getFocusElement());if(tinyMCE.isIE){value.outerHTML=value.innerHTML}else{var rng=value.ownerDocument.createRange();rng.setStartBefore(value);rng.setEndAfter(value);rng.deleteContents();rng.insertNode(rng.createContextualFragment(value.innerHTML))}tinyMCE.triggerNodeChange();break;case"mceSelectNodeDepth":var parentNode=this.getFocusElement();for(var i=0;parentNode;i++){if(parentNode.nodeName.toLowerCase()=="body")break;if(parentNode.nodeName.toLowerCase()=="#text"){i--;parentNode=parentNode.parentNode;continue}if(i==value){this.selection.select!
 Node(parentNode,false);tinyMCE.triggerNodeChange();tinyMCE.selectedNod
e=parentNode;return}parentNode=parentNode.parentNode}break;case"SetStyleInfo":var rng=this.getRng();var sel=this.getSel();var scmd=value['command'];var sname=value['name'];var svalue=value['value']==null?'':value['value'];var wrapper=value['wrapper']?value['wrapper']:"span";var parentElm=null;var invalidRe=new RegExp("^BODY|HTML$","g");var invalidParentsRe=tinyMCE.settings['merge_styles_invalid_parents']!=''?new RegExp(tinyMCE.settings['merge_styles_invalid_parents'],"gi"):null;if(tinyMCE.isIE){if(rng.item)parentElm=rng.item(0);else{var pelm=rng.parentElement();var prng=doc.selection.createRange();prng.moveToElementText(pelm);if(rng.htmlText==prng.htmlText||rng.boundingWidth==0){if(invalidParentsRe==null||!invalidParentsRe.test(pelm.nodeName))parentElm=pelm}}}else{var felm=this.getFocusElement();if(sel.isCollapsed||(new RegExp('td|tr|tbody|table','gi').test(felm.nodeName)&&sel.anchorNode==felm.parentNode))parentElm=felm}if(parentElm&&!invalidRe.test(parentElm.nodeName)){if(s!
 cmd=="setstyle")tinyMCE.setStyleAttrib(parentElm,sname,svalue);if(scmd=="setattrib")tinyMCE.setAttrib(parentElm,sname,svalue);if(scmd=="removeformat"){parentElm.style.cssText='';tinyMCE.setAttrib(parentElm,'class','')}var ch=tinyMCE.getNodeTree(parentElm,new Array(),1);for(var z=0;z<ch.length;z++){if(ch[z]==parentElm)continue;if(scmd=="setstyle")tinyMCE.setStyleAttrib(ch[z],sname,'');if(scmd=="setattrib")tinyMCE.setAttrib(ch[z],sname,'');if(scmd=="removeformat"){ch[z].style.cssText='';tinyMCE.setAttrib(ch[z],'class','')}}}else{this._setUseCSS(false);doc.execCommand("FontName",false,"#mce_temp_font#");var elementArray=tinyMCE.getElementsByAttributeValue(this.getBody(),"font","face","#mce_temp_font#");for(var x=0;x<elementArray.length;x++){elm=elementArray[x];if(elm){var spanElm=doc.createElement(wrapper);if(scmd=="setstyle")tinyMCE.setStyleAttrib(spanElm,sname,svalue);if(scmd=="setattrib")tinyMCE.setAttrib(spanElm,sname,svalue);if(scmd=="removeformat"){spanElm.style.cssText=!
 '';tinyMCE.setAttrib(spanElm,'class','')}if(elm.hasChildNodes()){for(v
ar i=0;i<elm.childNodes.length;i++)spanElm.appendChild(elm.childNodes[i].cloneNode(true))}spanElm.setAttribute("mce_new","true");elm.parentNode.replaceChild(spanElm,elm);var ch=tinyMCE.getNodeTree(spanElm,new Array(),1);for(var z=0;z<ch.length;z++){if(ch[z]==spanElm)continue;if(scmd=="setstyle")tinyMCE.setStyleAttrib(ch[z],sname,'');if(scmd=="setattrib")tinyMCE.setAttrib(ch[z],sname,'');if(scmd=="removeformat"){ch[z].style.cssText='';tinyMCE.setAttrib(ch[z],'class','')}}}}}var nodes=doc.getElementsByTagName(wrapper);for(var i=nodes.length-1;i>=0;i--){var elm=nodes[i];var isNew=tinyMCE.getAttrib(elm,"mce_new")=="true";elm.removeAttribute("mce_new");if(elm.childNodes&&elm.childNodes.length==1&&elm.childNodes[0].nodeType==1){this._mergeElements(scmd,elm,elm.childNodes[0],isNew);continue}if(elm.parentNode.childNodes.length==1&&!invalidRe.test(elm.nodeName)&&!invalidRe.test(elm.parentNode.nodeName)){if(invalidParentsRe==null||!invalidParentsRe.test(elm.parentNode.nodeName))this._!
 mergeElements(scmd,elm.parentNode,elm,false)}}var nodes=doc.getElementsByTagName(wrapper);for(var i=nodes.length-1;i>=0;i--){var elm=nodes[i];var isEmpty=true;var tmp=doc.createElement("body");tmp.appendChild(elm.cloneNode(false));tmp.innerHTML=tmp.innerHTML.replace(new RegExp('style=""|class=""','gi'),'');if(new RegExp('<span>','gi').test(tmp.innerHTML)){for(var x=0;x<elm.childNodes.length;x++){if(elm.parentNode!=null)elm.parentNode.insertBefore(elm.childNodes[x].cloneNode(true),elm)}elm.parentNode.removeChild(elm)}}if(scmd=="removeformat")tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE.triggerNodeChange();break;case"FontName":if(value==null){var s=this.getSel();if(tinyMCE.isGecko&&s.isCollapsed){var f=tinyMCE.getParentElement(this.getFocusElement(),"font");if(f!=null)this.selection.selectNode(f,false)}this.getDoc().execCommand("RemoveFormat",false,null);if(f!=null&&tinyMCE.isGecko){var r=this.getRng().cloneRange();r.collapse(true);s.removeAllRange!
 s();s.addRange(r)}}else this.getDoc().execCommand('FontName',false,val
ue);if(tinyMCE.isGecko)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);return;case"FontSize":this.getDoc().execCommand('FontSize',false,value);if(tinyMCE.isGecko)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);return;case"forecolor":value=value==null?this.foreColor:value;value=tinyMCE.trim(value);value=value.charAt(0)!='#'?(isNaN('0x'+value)?value:'#'+value):value;this.foreColor=value;this.getDoc().execCommand('forecolor',false,value);break;case"HiliteColor":value=value==null?this.backColor:value;value=tinyMCE.trim(value);value=value.charAt(0)!='#'?(isNaN('0x'+value)?value:'#'+value):value;this.backColor=value;if(tinyMCE.isGecko){this._setUseCSS(true);this.getDoc().execCommand('hilitecolor',false,value);this._setUseCSS(false)}else this.getDoc().execCommand('BackColor',false,value);break;case"Cut":case"Copy":case"Paste":var cmdFailed=false;eval('try {this.getDoc().execCommand(command, user_interface, value);} catch (e) {cmdFailed = true;}');if(tinyMCE.isOper!
 a&&cmdFailed)alert('Currently not supported by your browser, use keyboard shortcuts instead.');if(tinyMCE.isGecko&&cmdFailed){if(confirm(tinyMCE.entityDecode(tinyMCE.getLang('lang_clipboard_msg'))))window.open('http://www.mozilla.org/editor/midasdemo/securityprefs.html','mceExternal');return}else tinyMCE.triggerNodeChange();break;case"mceSetContent":if(!value)value="";value=tinyMCE.storeAwayURLs(value);value=tinyMCE._customCleanup(this,"insert_to_editor",value);if(this.getBody().nodeName=='BODY')tinyMCE._setHTML(doc,value);else this.getBody().innerHTML=value;tinyMCE.setInnerHTML(this.getBody(),tinyMCE._cleanupHTML(this,doc,this.settings,this.getBody(),false,false,false,true));tinyMCE.convertAllRelativeURLs(this.getBody());tinyMCE._removeInternal(this.getBody());if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(doc);tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE._setEventsEnabled(this.getBody(),false);return true;case"mceClea!
 nup":var b=this.selection.getBookmark();tinyMCE._setHTML(this.contentD
ocument,this.getBody().innerHTML);tinyMCE.setInnerHTML(this.getBody(),tinyMCE._cleanupHTML(this,this.contentDocument,this.settings,this.getBody(),this.visualAid));tinyMCE.convertAllRelativeURLs(doc.body);if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(doc);tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE._setEventsEnabled(this.getBody(),false);this.repaint();this.selection.moveToBookmark(b);tinyMCE.triggerNodeChange();break;case"mceReplaceContent":if(!value)value='';this.getWin().focus();var selectedText="";if(tinyMCE.isIE){var rng=doc.selection.createRange();selectedText=rng.text}else selectedText=this.getSel().toString();if(selectedText.length>0){value=tinyMCE.replaceVar(value,"selection",selectedText);tinyMCE.execCommand('mceInsertContent',false,value)}tinyMCE.triggerNodeChange();break;case"mceSetAttribute":if(typeof(value)=='object'){var targetElms=(typeof(value['targets'])=="undefined")?"p,img,span,div,td,h1,h2,h3,h4,h5,!
 h6,pre,address":value['targets'];var targetNode=tinyMCE.getParentElement(this.getFocusElement(),targetElms);if(targetNode){targetNode.setAttribute(value['name'],value['value']);tinyMCE.triggerNodeChange()}}break;case"mceSetCSSClass":this.execCommand("SetStyleInfo",false,{command:"setattrib",name:"class",value:value});break;case"mceInsertRawHTML":var key='tiny_mce_marker';this.execCommand('mceBeginUndoLevel');this.execCommand('mceInsertContent',false,key);var scrollX=this.getBody().scrollLeft+this.getDoc().documentElement.scrollLeft;var scrollY=this.getBody().scrollTop+this.getDoc().documentElement.scrollTop;var html=this.getBody().innerHTML;if((pos=html.indexOf(key))!=-1)tinyMCE.setInnerHTML(this.getBody(),html.substring(0,pos)+value+html.substring(pos+key.length));this.contentWindow.scrollTo(scrollX,scrollY);this.execCommand('mceEndUndoLevel');break;case"mceInsertContent":if(!value)value='';var insertHTMLFailed=false;if(tinyMCE.isGecko||tinyMCE.isOpera){try{if(value.indexO!
 f('<')==-1&&!value.match(/(&#38;|&#160;|&#60;|&#62;)/g)){var r=this.ge
tRng();var n=this.getDoc().createTextNode(tinyMCE.entityDecode(value));var s=this.getSel();var r2=r.cloneRange();s.removeAllRanges();r.deleteContents();r.insertNode(n);r2.selectNode(n);r2.collapse(false);s.removeAllRanges();s.addRange(r2)}else{value=tinyMCE.fixGeckoBaseHREFBug(1,this.getDoc(),value);this.getDoc().execCommand('inserthtml',false,value);tinyMCE.fixGeckoBaseHREFBug(2,this.getDoc(),value)}}catch(ex){insertHTMLFailed=true}if(!insertHTMLFailed){tinyMCE.triggerNodeChange();return}}if(!tinyMCE.isIE){var isHTML=value.indexOf('<')!=-1;var sel=this.getSel();var rng=this.getRng();if(isHTML){if(tinyMCE.isSafari){var tmpRng=this.getDoc().createRange();tmpRng.setStart(this.getBody(),0);tmpRng.setEnd(this.getBody(),0);value=tmpRng.createContextualFragment(value)}else value=rng.createContextualFragment(value)}else{var el=document.createElement("div");el.innerHTML=value;value=el.firstChild.nodeValue;value=doc.createTextNode(value)}if(tinyMCE.isSafari&&!isHTML){this.execCommand!
 ('InsertText',false,value.nodeValue);tinyMCE.triggerNodeChange();return true}else if(tinyMCE.isSafari&&isHTML){rng.deleteContents();rng.insertNode(value);tinyMCE.triggerNodeChange();return true}rng.deleteContents();if(rng.startContainer.nodeType==3){var node=rng.startContainer.splitText(rng.startOffset);node.parentNode.insertBefore(value,node)}else rng.insertNode(value);if(!isHTML){sel.selectAllChildren(doc.body);sel.removeAllRanges();var rng=doc.createRange();rng.selectNode(value);rng.collapse(false);sel.addRange(rng)}else rng.collapse(false);tinyMCE.fixGeckoBaseHREFBug(2,this.getDoc(),value)}else{var rng=doc.selection.createRange(),tmpRng=null;var c=value.indexOf('<!--')!=-1;if(c)value=tinyMCE.uniqueTag+value;if(rng.item)rng.item(0).outerHTML=value;else rng.pasteHTML(value);if(c){var e=this.getDoc().getElementById('mceTMPElement');e.parentNode.removeChild(e)}}tinyMCE.execCommand("mceAddUndoLevel");tinyMCE.triggerNodeChange();break;case"mceStartTyping":if(tinyMCE.settings[!
 'custom_undo_redo']&&this.undoRedo.typingUndoIndex==-1){this.undoRedo.
typingUndoIndex=this.undoRedo.undoIndex;tinyMCE.typingUndoIndex=tinyMCE.undoIndex;this.execCommand('mceAddUndoLevel')}break;case"mceEndTyping":if(tinyMCE.settings['custom_undo_redo']&&this.undoRedo.typingUndoIndex!=-1){this.execCommand('mceAddUndoLevel');this.undoRedo.typingUndoIndex=-1}tinyMCE.typingUndoIndex=-1;break;case"mceBeginUndoLevel":this.undoRedoLevel=false;break;case"mceEndUndoLevel":this.undoRedoLevel=true;this.execCommand('mceAddUndoLevel');break;case"mceAddUndoLevel":if(tinyMCE.settings['custom_undo_redo']&&this.undoRedoLevel){if(this.undoRedo.add())tinyMCE.triggerNodeChange(false)}break;case"Undo":if(tinyMCE.settings['custom_undo_redo']){tinyMCE.execCommand("mceEndTyping");this.undoRedo.undo();tinyMCE.triggerNodeChange()}else this.getDoc().execCommand(command,user_interface,value);break;case"Redo":if(tinyMCE.settings['custom_undo_redo']){tinyMCE.execCommand("mceEndTyping");this.undoRedo.redo();tinyMCE.triggerNodeChange()}else this.getDoc().execCommand(command,!
 user_interface,value);break;case"mceToggleVisualAid":this.visualAid=!this.visualAid;tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE.triggerNodeChange();break;case"Indent":this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();if(tinyMCE.isIE){var n=tinyMCE.getParentElement(this.getFocusElement(),"blockquote");do{if(n&&n.nodeName=="BLOCKQUOTE"){n.removeAttribute("dir");n.removeAttribute("style")}}while(n!=null&&(n=n.parentNode)!=null)}break;case"removeformat":var text=this.selection.getSelectedText();if(tinyMCE.isOpera){this.getDoc().execCommand("RemoveFormat",false,null);return}if(tinyMCE.isIE){try{var rng=doc.selection.createRange();rng.execCommand("RemoveFormat",false,null)}catch(e){}this.execCommand("SetStyleInfo",false,{command:"removeformat"})}else{this.getDoc().execCommand(command,user_interface,value);this.execCommand("SetStyleInfo",false,{command:"removeformat"})}if(text.length==0)this.execCommand("mceSetCSSClass!
 ",false,"");tinyMCE.triggerNodeChange();break;default:this.getDoc().ex
ecCommand(command,user_interface,value);if(tinyMCE.isGecko)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);else tinyMCE.triggerNodeChange()}if(command!="mceAddUndoLevel"&&command!="Undo"&&command!="Redo"&&command!="mceStartTyping"&&command!="mceEndTyping")tinyMCE.execCommand("mceAddUndoLevel")},queryCommandValue:function(c){try{return this.getDoc().queryCommandValue(c)}catch(e){return null}},queryCommandState:function(c){return this.getDoc().queryCommandState(c)},_onAdd:function(replace_element,form_element_name,target_document){var hc,th,to,editorTemplate;th=this.settings['theme'];to=tinyMCE.themes[th];var targetDoc=target_document?target_document:document;this.targetDoc=targetDoc;tinyMCE.themeURL=tinyMCE.baseURL+"/themes/"+this.settings['theme'];this.settings['themeurl']=tinyMCE.themeURL;if(!replace_element){alert("Error: Could not find the target element.");return false}if(to.getEditorTemplate)editorTemplate=to.getEditorTemplate(this.settings,this.editorId);var d!
 eltaWidth=editorTemplate['delta_width']?editorTemplate['delta_width']:0;var deltaHeight=editorTemplate['delta_height']?editorTemplate['delta_height']:0;var html='<span id="'+this.editorId+'_parent" class="mceEditorContainer">'+editorTemplate['html'];html=tinyMCE.replaceVar(html,"editor_id",this.editorId);this.settings['default_document']=tinyMCE.baseURL+"/blank.htm";this.settings['old_width']=this.settings['width'];this.settings['old_height']=this.settings['height'];if(this.settings['width']==-1)this.settings['width']=replace_element.offsetWidth;if(this.settings['height']==-1)this.settings['height']=replace_element.offsetHeight;if(this.settings['width']==0)this.settings['width']=replace_element.style.width;if(this.settings['height']==0)this.settings['height']=replace_element.style.height;if(this.settings['width']==0)this.settings['width']=320;if(this.settings['height']==0)this.settings['height']=240;this.settings['area_width']=parseInt(this.settings['width']);this.settings[!
 'area_height']=parseInt(this.settings['height']);this.settings['area_w
idth']+=deltaWidth;this.settings['area_height']+=deltaHeight;this.settings['width_style']=""+this.settings['width'];this.settings['height_style']=""+this.settings['height'];if((""+this.settings['width']).indexOf('%')!=-1)this.settings['area_width']="100%";else this.settings['width_style']+='px';if((""+this.settings['height']).indexOf('%')!=-1)this.settings['area_height']="100%";else this.settings['height_style']+='px';if((""+replace_element.style.width).indexOf('%')!=-1){this.settings['width']=replace_element.style.width;this.settings['area_width']="100%";this.settings['width_style']="100%"}if((""+replace_element.style.height).indexOf('%')!=-1){this.settings['height']=replace_element.style.height;this.settings['area_height']="100%";this.settings['height_style']="100%"}html=tinyMCE.applyTemplate(html);this.settings['width']=this.settings['old_width'];this.settings['height']=this.settings['old_height'];this.visualAid=this.settings['visual'];this.formTargetElementId=form_elemen!
 t_name;if(replace_element.nodeName=="TEXTAREA"||replace_element.nodeName=="INPUT")this.startContent=replace_element.value;else this.startContent=replace_element.innerHTML;if(replace_element.nodeName!="TEXTAREA"&&replace_element.nodeName!="INPUT"){this.oldTargetElement=replace_element;if(tinyMCE.settings['debug']){hc='<textarea wrap="off" id="'+form_element_name+'" name="'+form_element_name+'" cols="100" rows="15"></textarea>'}else{hc='<input type="hidden" id="'+form_element_name+'" name="'+form_element_name+'" />';this.oldTargetElement.style.display="none"}html+='</span>';if(tinyMCE.isGecko)html=hc+html;else html+=hc;if(tinyMCE.isGecko){var rng=replace_element.ownerDocument.createRange();rng.setStartBefore(replace_element);var fragment=rng.createContextualFragment(html);tinyMCE.insertAfter(fragment,replace_element)}else replace_element.insertAdjacentHTML("beforeBegin",html)}else{html+='</span>';this.oldTargetElement=replace_element;if(!tinyMCE.settings['debug'])this.oldTarg!
 etElement.style.display="none";if(tinyMCE.isGecko){var rng=replace_ele
ment.ownerDocument.createRange();rng.setStartBefore(replace_element);var fragment=rng.createContextualFragment(html);tinyMCE.insertAfter(fragment,replace_element)}else replace_element.insertAdjacentHTML("beforeBegin",html)}var dynamicIFrame=false;var tElm=targetDoc.getElementById(this.editorId);if(!tinyMCE.isIE){if(tElm&&(tElm.nodeName=="SPAN"||tElm.nodeName=="span")){tElm=tinyMCE._createIFrame(tElm,targetDoc);dynamicIFrame=true}this.targetElement=tElm;this.iframeElement=tElm;this.contentDocument=tElm.contentDocument;this.contentWindow=tElm.contentWindow;}else{if(tElm&&tElm.nodeName=="SPAN")tElm=tinyMCE._createIFrame(tElm,targetDoc,targetDoc.parentWindow);else tElm=targetDoc.frames[this.editorId];this.targetElement=tElm;this.iframeElement=targetDoc.getElementById(this.editorId);if(tinyMCE.isOpera){this.contentDocument=this.iframeElement.contentDocument;this.contentWindow=this.iframeElement.contentWindow;dynamicIFrame=true}else{this.contentDocument=tElm.window.document;this.c!
 ontentWindow=tElm.window}this.getDoc().designMode="on"}var doc=this.contentDocument;if(dynamicIFrame){var html=tinyMCE.getParam('doctype')+'<html><head xmlns="http://www.w3.org/1999/xhtml"><base href="'+tinyMCE.settings['base_href']+'" /><title>blank_page</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body class="mceContentBody"></body></html>';try{if(!this.isHidden())this.getDoc().designMode="on";doc.open();doc.write(html);doc.close()}catch(e){this.getDoc().location.href=tinyMCE.baseURL+"/blank.htm"}}if(tinyMCE.isIE)window.setTimeout("tinyMCE.addEventHandlers(tinyMCE.instances[\""+this.editorId+"\"]);",1);tinyMCE.setupContent(this.editorId,true);return true},setBaseHREF:function(u){var h,b,d,nl;d=this.getDoc();nl=d.getElementsByTagName("base");b=nl.length>0?nl[0]:null;if(!b){nl=d.getElementsByTagName("head");h=nl.length>0?nl[0]:null;b=d.createElement("base");b.setAttribute('href',u);h.appendChild(b)}else{if(u==""||u==null)b.parentNode.rem!
 oveChild(b);else b.setAttribute('href',u)}},getHTML:function(r){var h,
d=this.getDoc(),b=this.getBody();if(r)return b.innerHTML;h=tinyMCE._cleanupHTML(this,d,this.settings,b,false,true,false,true);if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(d);return h},setHTML:function(h){this.execCommand('mceSetContent',false,h);this.repaint()},getFocusElement:function(){return this.selection.getFocusElement()},getSel:function(){return this.selection.getSel()},getRng:function(){return this.selection.getRng()},triggerSave:function(skip_cleanup,skip_callback){var e,nl=[],i,s;this.switchSettings();s=tinyMCE.settings;if(tinyMCE.isRealIE){e=this.iframeElement;do{if(e.style&&e.style.display=='none'){e.style.display='block';nl[nl.length]={elm:e,type:'style'}}if(e.style&&s.hidden_tab_class.length>0&&e.className.indexOf(s.hidden_tab_class)!=-1){e.className=s.display_tab_class;nl[nl.length]={elm:e,type:'class'}}}while((e=e.parentNode)!=null)}tinyMCE.settings['preformatted']=false;if(typeof(skip_cleanup)=="undefined")skip_cleanup=false;if(t!
 ypeof(skip_callback)=="undefined")skip_callback=false;tinyMCE._setHTML(this.getDoc(),this.getBody().innerHTML);if(this.settings['cleanup']==false){tinyMCE.handleVisualAid(this.getBody(),true,false,this);tinyMCE._setEventsEnabled(this.getBody(),true)}tinyMCE._customCleanup(this,"submit_content_dom",this.contentWindow.document.body);var htm=skip_cleanup?this.getBody().innerHTML:tinyMCE._cleanupHTML(this,this.getDoc(),this.settings,this.getBody(),tinyMCE.visualAid,true,true);htm=tinyMCE._customCleanup(this,"submit_content",htm);if(!skip_callback&&tinyMCE.settings['save_callback']!="")var content=eval(tinyMCE.settings['save_callback']+"(this.formTargetElementId,htm,this.getBody());");if((typeof(content)!="undefined")&&content!=null)htm=content;htm=tinyMCE.regexpReplace(htm,"&#40;","(","gi");htm=tinyMCE.regexpReplace(htm,"&#41;",")","gi");htm=tinyMCE.regexpReplace(htm,"&#59;",";","gi");htm=tinyMCE.regexpReplace(htm,"&#34;","&quot;","gi");htm=tinyMCE.regexpReplace(htm,"&#94;","^"!
 ,"gi");if(this.formElement)this.formElement.value=htm;if(tinyMCE.isSaf
ari&&this.formElement)this.formElement.innerText=htm;for(i=0;i<nl.length;i++){if(nl[i].type=='style')nl[i].elm.style.display='none';else nl[i].elm.className=s.hidden_tab_class}}};TinyMCE_Engine.prototype.cleanupHTMLCode=function(s){s=s.replace(new RegExp('<p \\/>','gi'),'<p>&nbsp;</p>');s=s.replace(new RegExp('<p>\\s*<\\/p>','gi'),'<p>&nbsp;</p>');s=s.replace(new RegExp('<br>\\s*<\\/br>','gi'),'<br />');s=s.replace(new RegExp('<(h[1-6]|p|div|address|pre|form|table|li|ol|ul|td|b|font|em|strong|i|strike|u|span|a|ul|ol|li|blockquote)([a-z]*)([^\\\\|>]*)\\/>','gi'),'<$1$2$3></$1$2>');s=s.replace(new RegExp('\\s+></','gi'),'></');s=s.replace(new RegExp('<(img|br|hr)([^>]*)><\\/(img|br|hr)>','gi'),'<$1$2 />');if(tinyMCE.isIE)s=s.replace(new RegExp('<p><hr \\/><\\/p>','gi'),"<hr>");if(tinyMCE.isIE)s=s.replace(/<!(\s*)\/>/g,'');return s};TinyMCE_Engine.prototype.parseStyle=function(str){var ar=new Array();if(str==null)return ar;var st=str.split(';');tinyMCE.clearArray(ar);for(var i=!
 0;i<st.length;i++){if(st[i]=='')continue;var re=new RegExp('^\\s*([^:]*):\\s*(.*)\\s*$');var pa=st[i].replace(re,'$1||$2').split('||');if(pa.length==2)ar[pa[0].toLowerCase()]=pa[1]}return ar};TinyMCE_Engine.prototype.compressStyle=function(ar,pr,sf,res){var box=new Array();box[0]=ar[pr+'-top'+sf];box[1]=ar[pr+'-left'+sf];box[2]=ar[pr+'-right'+sf];box[3]=ar[pr+'-bottom'+sf];for(var i=0;i<box.length;i++){if(box[i]==null)return;for(var a=0;a<box.length;a++){if(box[a]!=box[i])return}}ar[res]=box[0];ar[pr+'-top'+sf]=null;ar[pr+'-left'+sf]=null;ar[pr+'-right'+sf]=null;ar[pr+'-bottom'+sf]=null};TinyMCE_Engine.prototype.serializeStyle=function(ar){var str="";tinyMCE.compressStyle(ar,"border","","border");tinyMCE.compressStyle(ar,"border","-width","border-width");tinyMCE.compressStyle(ar,"border","-color","border-color");tinyMCE.compressStyle(ar,"border","-style","border-style");tinyMCE.compressStyle(ar,"padding","","padding");tinyMCE.compressStyle(ar,"margin","","margin");for(var k!
 ey in ar){var val=ar[key];if(typeof(val)=='function')continue;if(key.i
ndexOf('mso-')==0)continue;if(val!=null&&val!=''){val=''+val;val=val.replace(new RegExp("url\\(\\'?([^\\']*)\\'?\\)",'gi'),"url('$1')");if(val.indexOf('url(')!=-1&&tinyMCE.getParam('convert_urls')){var m=new RegExp("url\\('(.*?)'\\)").exec(val);if(m.length>1)val="url('"+eval(tinyMCE.getParam('urlconverter_callback')+"(m[1], null, true);")+"')"}if(tinyMCE.getParam("force_hex_style_colors"))val=tinyMCE.convertRGBToHex(val,true);if(val!="url('')")str+=key.toLowerCase()+": "+val+"; "}}if(new RegExp('; $').test(str))str=str.substring(0,str.length-2);return str};TinyMCE_Engine.prototype.convertRGBToHex=function(s,k){if(s.toLowerCase().indexOf('rgb')!=-1){var re=new RegExp("(.*?)rgb\\s*?\\(\\s*?([0-9]+).*?,\\s*?([0-9]+).*?,\\s*?([0-9]+).*?\\)(.*?)","gi");var rgb=s.replace(re,"$1,$2,$3,$4,$5").split(',');if(rgb.length==5){r=parseInt(rgb[1]).toString(16);g=parseInt(rgb[2]).toString(16);b=parseInt(rgb[3]).toString(16);r=r.length==1?'0'+r:r;g=g.length==1?'0'+g:g;b=b.length==1?'0'+b:b;s!
 ="#"+r+g+b;if(k)s=rgb[0]+s+rgb[4]}}return s};TinyMCE_Engine.prototype.convertHexToRGB=function(s){if(s.indexOf('#')!=-1){s=s.replace(new RegExp('[^0-9A-F]','gi'),'');return"rgb("+parseInt(s.substring(0,2),16)+","+parseInt(s.substring(2,4),16)+","+parseInt(s.substring(4,6),16)+")"}return s};TinyMCE_Engine.prototype.convertSpansToFonts=function(doc){var sizes=tinyMCE.getParam('font_size_style_values').replace(/\s+/,'').split(',');var h=doc.body.innerHTML;h=h.replace(/<span/gi,'<font');h=h.replace(/<\/span/gi,'</font');tinyMCE.setInnerHTML(doc.body,h);var s=doc.getElementsByTagName("font");for(var i=0;i<s.length;i++){var size=tinyMCE.trim(s[i].style.fontSize).toLowerCase();var fSize=0;for(var x=0;x<sizes.length;x++){if(sizes[x]==size){fSize=x+1;break}}if(fSize>0){tinyMCE.setAttrib(s[i],'size',fSize);s[i].style.fontSize=''}var fFace=s[i].style.fontFamily;if(fFace!=null&&fFace!=""){tinyMCE.setAttrib(s[i],'face',fFace);s[i].style.fontFamily=''}var fColor=s[i].style.color;if(fColo!
 r!=null&&fColor!=""){tinyMCE.setAttrib(s[i],'color',tinyMCE.convertRGB
ToHex(fColor));s[i].style.color=''}}};TinyMCE_Engine.prototype.convertFontsToSpans=function(doc){var sizes=tinyMCE.getParam('font_size_style_values').replace(/\s+/,'').split(',');var h=doc.body.innerHTML;h=h.replace(/<font/gi,'<span');h=h.replace(/<\/font/gi,'</span');tinyMCE.setInnerHTML(doc.body,h);var fsClasses=tinyMCE.getParam('font_size_classes');if(fsClasses!='')fsClasses=fsClasses.replace(/\s+/,'').split(',');else fsClasses=null;var s=doc.getElementsByTagName("span");for(var i=0;i<s.length;i++){var fSize,fFace,fColor;fSize=tinyMCE.getAttrib(s[i],'size');fFace=tinyMCE.getAttrib(s[i],'face');fColor=tinyMCE.getAttrib(s[i],'color');if(fSize!=""){fSize=parseInt(fSize);if(fSize>0&&fSize<8){if(fsClasses!=null)tinyMCE.setAttrib(s[i],'class',fsClasses[fSize-1]);else s[i].style.fontSize=sizes[fSize-1]}s[i].removeAttribute('size')}if(fFace!=""){s[i].style.fontFamily=fFace;s[i].removeAttribute('face')}if(fColor!=""){s[i].style.color=fColor;s[i].removeAttribute('color')}}};TinyMCE!
 _Engine.prototype.cleanupAnchors=function(doc){var i,cn,x,an=doc.getElementsByTagName("a");for(i=an.length-1;i>=0;i--){if(tinyMCE.getAttrib(an[i],"name")!=""&&tinyMCE.getAttrib(an[i],"href")==""){cn=an[i].childNodes;for(x=cn.length-1;x>=0;x--)tinyMCE.insertAfter(cn[x],an[i])}}};TinyMCE_Engine.prototype.getContent=function(editor_id){if(typeof(editor_id)!="undefined")tinyMCE.getInstanceById(editor_id).select();if(tinyMCE.selectedInstance)return tinyMCE.selectedInstance.getHTML();return null};TinyMCE_Engine.prototype._fixListElements=function(d){var nl,x,a=['ol','ul'],i,n,p,r=new RegExp('^(OL|UL)$'),np;for(x=0;x<a.length;x++){nl=d.getElementsByTagName(a[x]);for(i=0;i<nl.length;i++){n=nl[i];p=n.parentNode;if(r.test(p.nodeName)){np=tinyMCE.prevNode(n,'LI');if(!np){np=d.createElement('li');np.innerHTML='&nbsp;';np.appendChild(n);p.insertBefore(np,p.firstChild)}else np.appendChild(n)}}}};TinyMCE_Engine.prototype._fixTables=function(d){var nl,i,n,p,np,x,t;nl=d.getElementsByTagName!
 ('table');for(i=0;i<nl.length;i++){n=nl[i];if((p=tinyMCE.getParentElem
ent(n,'p,div,h1,h2,h3,h4,h5,h6'))!=null){np=p.cloneNode(false);np.removeAttribute('id');t=n;while((n=n.nextSibling))np.appendChild(n);tinyMCE.insertAfter(np,p);tinyMCE.insertAfter(t,p)}}};TinyMCE_Engine.prototype._cleanupHTML=function(inst,doc,config,elm,visual,on_save,on_submit,inn){var h,d,t1,t2,t3,t4,t5,c,s,nb;if(!tinyMCE.getParam('cleanup'))return elm.innerHTML;on_save=typeof(on_save)=='undefined'?false:on_save;c=inst.cleanup;s=inst.settings;d=c.settings.debug;if(d)t1=new Date().getTime();if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertFontsToSpans(doc);if(tinyMCE.getParam("fix_list_elements"))tinyMCE._fixListElements(doc);if(tinyMCE.getParam("fix_table_elements"))tinyMCE._fixTables(doc);tinyMCE._customCleanup(inst,on_save?"get_from_editor_dom":"insert_to_editor_dom",doc.body);if(d)t2=new Date().getTime();c.settings.on_save=on_save;c.idCount=0;c.serializationId++;c.serializedNodes=new Array();c.sourceIndex=-1;if(s.cleanup_serializer=="xml")h=c.serializeNodeA!
 sXML(elm,inn);else h=c.serializeNodeAsHTML(elm,inn);if(d)t3=new Date().getTime();nb=tinyMCE.getParam('entity_encoding')=='numeric'?'&#160;':'&nbsp;';h=h.replace(/<\/?(body|head|html)[^>]*>/gi,'');h=h.replace(new RegExp(' (rowspan="1"|colspan="1")','g'),'');h=h.replace(/<p><hr \/><\/p>/g,'<hr />');h=h.replace(/<p>(&nbsp;|&#160;)<\/p><hr \/><p>(&nbsp;|&#160;)<\/p>/g,'<hr />');h=h.replace(/<td>\s*<br \/>\s*<\/td>/g,'<td>'+nb+'</td>');h=h.replace(/<p>\s*<br \/>\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(/<br \/>$/,'');h=h.replace(/<br \/><\/p>/g,'</p>');h=h.replace(/<p>\s*(&nbsp;|&#160;)\s*<br \/>\s*(&nbsp;|&#160;)\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(/<p>\s*(&nbsp;|&#160;)\s*<br \/>\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(/<p>\s*<br \/>\s*&nbsp;\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(new RegExp('<a>(.*?)<\\/a>','g'),'$1');h=h.replace(/<p([^>]*)>\s*<\/p>/g,'<p$1>'+nb+'</p>');if(/^\s*(<br \/>|<p>&nbsp;<\/p>|<p>&#160;<\/p>|<p><\/p>)\s*$/.test(h))h='';if(s.preformatted){h=h.replace(/!
 ^<pre>/,'');h=h.replace(/<\/pre>$/,'');h='<pre>'+h+'</pre>'}if(tinyMCE
.isGecko){h=h.replace(/<o:p _moz-userdefined="" \/>/g,'');h=h.replace(/<td([^>]*)>\s*<br \/>\s*<\/td>/g,'<td$1>'+nb+'</td>')}if(s.force_br_newlines)h=h.replace(/<p>(&nbsp;|&#160;)<\/p>/g,'<br />');h=tinyMCE._customCleanup(inst,on_save?"get_from_editor":"insert_to_editor",h);if(on_save){h=h.replace(new RegExp(' ?(mceItem[a-zA-Z0-9]*|'+s.visual_table_class+')','g'),'');h=h.replace(new RegExp(' ?class=""','g'),'')}if(s.remove_linebreaks&&!c.settings.indent)h=h.replace(/\n|\r/g,' ');if(d)t4=new Date().getTime();if(on_save&&c.settings.indent)h=c.formatHTML(h);if(on_submit&&(s.encoding=="xml"||s.encoding=="html"))h=c.xmlEncode(h);if(d)t5=new Date().getTime();if(c.settings.debug)tinyMCE.debug("Cleanup in ms: Pre="+(t2-t1)+", Serialize: "+(t3-t2)+", Post: "+(t4-t3)+", Format: "+(t5-t4)+", Sum: "+(t5-t1)+".");return h};function TinyMCE_Cleanup(){this.isIE=(navigator.appName=="Microsoft Internet Explorer");this.rules=tinyMCE.clearArray(new Array());this.settings={indent_elements:'head!
 ,table,tbody,thead,tfoot,form,tr,ul,ol,blockquote,object',newline_before_elements:'h1,h2,h3,h4,h5,h6,pre,address,div,ul,ol,li,meta,option,area,title,link,base,script,td',newline_after_elements:'br,hr,p,pre,address,div,ul,ol,meta,option,area,link,base,script',newline_before_after_elements:'html,head,body,table,thead,tbody,tfoot,tr,form,ul,ol,blockquote,p,object,param,hr,div',indent_char:'\t',indent_levels:1,entity_encoding:'raw',valid_elements:'*[*]',entities:'',url_converter:'',invalid_elements:'',verify_html:false};this.vElements=tinyMCE.clearArray(new Array());this.vElementsRe='';this.closeElementsRe=/^(IMG|BR|HR|LINK|META|BASE|INPUT|AREA)$/;this.codeElementsRe=/^(SCRIPT|STYLE)$/;this.serializationId=0;this.mceAttribs={href:'mce_href',src:'mce_src',type:'mce_type'}}TinyMCE_Cleanup.prototype={init:function(s){var n,a,i,ir,or,st;for(n in s)this.settings[n]=s[n];s=this.settings;this.inRe=this._arrayToRe(s.indent_elements.split(','),'','^<(',')[^>]*');this.ouRe=this._arrayToR!
 e(s.indent_elements.split(','),'','^<\\/(',')[^>]*');this.nlBeforeRe=t
his._arrayToRe(s.newline_before_elements.split(','),'gi','<(',')([^>]*)>');this.nlAfterRe=this._arrayToRe(s.newline_after_elements.split(','),'gi','<(',')([^>]*)>');this.nlBeforeAfterRe=this._arrayToRe(s.newline_before_after_elements.split(','),'gi','<(\\/?)(',')([^>]*)>');this.serializedNodes=[];if(s.invalid_elements!='')this.iveRe=this._arrayToRe(s.invalid_elements.toUpperCase().split(','),'g','^(',')$');else this.iveRe=null;st='';for(i=0;i<s.indent_levels;i++)st+=s.indent_char;this.inStr=st;if(!s.verify_html){s.valid_elements='*[*]';s.extended_valid_elements=''}this.fillStr=s.entity_encoding=="named"?"&nbsp;":"&#160;";this.idCount=0},addRuleStr:function(s){var r=this.parseRuleStr(s);var n;for(n in r){if(r[n])this.rules[n]=r[n]}this.vElements=tinyMCE.clearArray(new Array());for(n in this.rules){if(this.rules[n])this.vElements[this.vElements.length]=this.rules[n].tag}this.vElementsRe=this._arrayToRe(this.vElements,'')},isValid:function(n){this._setupRules();n=n.replace(/[^a!
 -z0-9]+/gi,'').toUpperCase();return!tinyMCE.getParam('cleanup')||this.vElementsRe.test(n)},addChildRemoveRuleStr:function(s){var x,y,p,i,t,tn,ta,cl,r;if(!s)return;ta=s.split(',');for(x=0;x<ta.length;x++){s=ta[x];p=this.split(/\[|\]/,s);if(p==null||p.length<1)t=s.toUpperCase();else t=p[0].toUpperCase();tn=this.split('/',t);for(y=0;y<tn.length;y++){r="^(";cl=this.split(/\|/,p[1]);for(i=0;i<cl.length;i++){if(cl[i]=='%istrict')r+=tinyMCE.inlineStrict;else if(cl[i]=='%itrans')r+=tinyMCE.inlineTransitional;else if(cl[i]=='%istrict_na')r+=tinyMCE.inlineStrict.substring(2);else if(cl[i]=='%itrans_na')r+=tinyMCE.inlineTransitional.substring(2);else if(cl[i]=='%btrans')r+=tinyMCE.blockElms;else if(cl[i]=='%strict')r+=tinyMCE.blockStrict;else r+=(cl[i].charAt(0)!='#'?cl[i].toUpperCase():cl[i]);r+=(i!=cl.length-1?'|':'')}r+=')$';if(this.childRules==null)this.childRules=tinyMCE.clearArray(new Array());this.childRules[tn[y]]=new RegExp(r);if(p.length>1)this.childRules[tn[y]].wrapTag=p[2]!
 }}},parseRuleStr:function(s){var ta,p,r,a,i,x,px,t,tn,y,av,or=tinyMCE.
clearArray(new Array()),dv;if(s==null||s.length==0)return or;ta=s.split(',');for(x=0;x<ta.length;x++){s=ta[x];if(s.length==0)continue;p=this.split(/\[|\]/,s);if(p==null||p.length<1)t=s.toUpperCase();else t=p[0].toUpperCase();tn=this.split('/',t);for(y=0;y<tn.length;y++){r={};r.tag=tn[y];r.forceAttribs=null;r.defaultAttribs=null;r.validAttribValues=null;px=r.tag.charAt(0);r.forceOpen=px=='+';r.removeEmpty=px=='-';r.fill=px=='#';r.tag=r.tag.replace(/\+|-|#/g,'');r.oTagName=tn[0].replace(/\+|-|#/g,'').toLowerCase();r.isWild=new RegExp('\\*|\\?|\\+','g').test(r.tag);r.validRe=new RegExp(this._wildcardToRe('^'+r.tag+'$'));if(p.length>1){r.vAttribsRe='^(';a=this.split(/\|/,p[1]);for(i=0;i<a.length;i++){t=a[i];if(t.charAt(0)=='!'){a[i]=t=t.substring(1);if(!r.reqAttribsRe)r.reqAttribsRe='\\s+('+t;else r.reqAttribsRe+='|'+t}av=new RegExp('(=|:|<)(.*?)$').exec(t);t=t.replace(new RegExp('(=|:|<).*?$'),'');if(av&&av.length>0){if(av[0].charAt(0)==':'){if(!r.forceAttribs)r.forceAttribs=ti!
 nyMCE.clearArray(new Array());r.forceAttribs[t.toLowerCase()]=av[0].substring(1)}else if(av[0].charAt(0)=='='){if(!r.defaultAttribs)r.defaultAttribs=tinyMCE.clearArray(new Array());dv=av[0].substring(1);r.defaultAttribs[t.toLowerCase()]=dv==""?"mce_empty":dv}else if(av[0].charAt(0)=='<'){if(!r.validAttribValues)r.validAttribValues=tinyMCE.clearArray(new Array());r.validAttribValues[t.toLowerCase()]=this._arrayToRe(this.split('?',av[0].substring(1)),'i')}}r.vAttribsRe+=''+t.toLowerCase()+(i!=a.length-1?'|':'');a[i]=t.toLowerCase()}if(r.reqAttribsRe)r.reqAttribsRe=new RegExp(r.reqAttribsRe+')=\"','g');r.vAttribsRe+=')$';r.vAttribsRe=this._wildcardToRe(r.vAttribsRe);r.vAttribsReIsWild=new RegExp('\\*|\\?|\\+','g').test(r.vAttribsRe);r.vAttribsRe=new RegExp(r.vAttribsRe);r.vAttribs=a.reverse();}else{r.vAttribsRe='';r.vAttribs=tinyMCE.clearArray(new Array());r.vAttribsReIsWild=false}or[r.tag]=r}}return or},serializeNodeAsXML:function(n){var s,b;if(!this.xmlDoc){if(this.isIE){try!
 {this.xmlDoc=new ActiveXObject('MSXML2.DOMDocument')}catch(e){}if(!thi
s.xmlDoc)try{this.xmlDoc=new ActiveXObject('Microsoft.XmlDom')}catch(e){}}else this.xmlDoc=document.implementation.createDocument('','',null);if(!this.xmlDoc)alert("Error XML Parser could not be found.")}if(this.xmlDoc.firstChild)this.xmlDoc.removeChild(this.xmlDoc.firstChild);b=this.xmlDoc.createElement("html");b=this.xmlDoc.appendChild(b);this._convertToXML(n,b);if(this.isIE)return this.xmlDoc.xml;else return new XMLSerializer().serializeToString(this.xmlDoc)},_convertToXML:function(n,xn){var xd,el,i,l,cn,at,no,hc=false;if(this._isDuplicate(n))return;xd=this.xmlDoc;switch(n.nodeType){case 1:hc=n.hasChildNodes();el=xd.createElement(n.nodeName.toLowerCase());at=n.attributes;for(i=at.length-1;i>-1;i--){no=at[i];if(no.specified&&no.nodeValue)el.setAttribute(no.nodeName.toLowerCase(),no.nodeValue)}if(!hc&&!this.closeElementsRe.test(n.nodeName))el.appendChild(xd.createTextNode(""));xn=xn.appendChild(el);break;case 3:xn.appendChild(xd.createTextNode(n.nodeValue));return;case 8:xn!
 .appendChild(xd.createComment(n.nodeValue));return}if(hc){cn=n.childNodes;for(i=0,l=cn.length;i<l;i++)this._convertToXML(cn[i],xn)}},serializeNodeAsHTML:function(n,inn){var en,no,h='',i,l,t,st,r,cn,va=false,f=false,at,hc,cr;this._setupRules();if(this._isDuplicate(n))return'';if(n.parentNode&&this.childRules!=null){cr=this.childRules[n.parentNode.nodeName];if(typeof(cr)!="undefined"&&!cr.test(n.nodeName)){st=true;t=null}}switch(n.nodeType){case 1:hc=n.hasChildNodes();if(st)break;if((tinyMCE.isRealIE)&&n.nodeName.indexOf('/')!=-1)break;if(this.vElementsRe.test(n.nodeName)&&(!this.iveRe||!this.iveRe.test(n.nodeName))&&!inn){va=true;r=this.rules[n.nodeName];if(!r){at=this.rules;for(no in at){if(at[no]&&at[no].validRe.test(n.nodeName)){r=at[no];break}}}en=r.isWild?n.nodeName.toLowerCase():r.oTagName;f=r.fill;if(r.removeEmpty&&!hc)return"";t='<'+en;if(r.vAttribsReIsWild){at=n.attributes;for(i=at.length-1;i>-1;i--){no=at[i];if(no.specified&&r.vAttribsRe.test(no.nodeName))t+=this._!
 serializeAttribute(n,r,no.nodeName)}}else{for(i=r.vAttribs.length-1;i>
-1;i--)t+=this._serializeAttribute(n,r,r.vAttribs[i])}if(!this.settings.on_save){at=this.mceAttribs;for(no in at){if(at[no])t+=this._serializeAttribute(n,r,at[no])}}if(r.reqAttribsRe&&!t.match(r.reqAttribsRe))t=null;if(t!=null&&this.closeElementsRe.test(n.nodeName))return t+' />';if(t!=null)h+=t+'>';if(this.isIE&&this.codeElementsRe.test(n.nodeName))h+=n.innerHTML}break;case 3:if(st)break;if(n.parentNode&&this.codeElementsRe.test(n.parentNode.nodeName))return this.isIE?'':n.nodeValue;return this.xmlEncode(n.nodeValue);case 8:if(st)break;return"<!--"+this._trimComment(n.nodeValue)+"-->"}if(hc){cn=n.childNodes;for(i=0,l=cn.length;i<l;i++)h+=this.serializeNodeAsHTML(cn[i])}if(f&&!hc)h+=this.fillStr;if(t!=null&&va)h+='</'+en+'>';return h},_serializeAttribute:function(n,r,an){var av='',t,os=this.settings.on_save;if(os&&(an.indexOf('mce_')==0||an.indexOf('_moz')==0))return'';if(os&&this.mceAttribs[an])av=this._getAttrib(n,this.mceAttribs[an]);if(av.length==0)av=this._getAttrib(n,a!
 n);if(av.length==0&&r.defaultAttribs&&(t=r.defaultAttribs[an])){av=t;if(av=="mce_empty")return" "+an+'=""'}if(r.forceAttribs&&(t=r.forceAttribs[an]))av=t;if(os&&av.length!=0&&this.settings.url_converter.length!=0&&/^(src|href|longdesc)$/.test(an))av=eval(this.settings.url_converter+'(this, n, av)');if(av.length!=0&&r.validAttribValues&&r.validAttribValues[an]&&!r.validAttribValues[an].test(av))return"";if(av.length!=0&&av=="{$uid}")av="uid_"+(this.idCount++);if(av.length!=0){if(an.indexOf('on')!=0)av=this.xmlEncode(av);return" "+an+"="+'"'+av+'"'}return""},formatHTML:function(h){var s=this.settings,p='',i=0,li=0,o='',l;h=h.replace(/<pre([^>]*)>(.*?)<\/pre>/gi,function(a,b,c){c=c.replace(/<br\s*\/>/gi,'\n');return'<pre'+b+'>'+c+'</pre>'});h=h.replace(/\r/g,'');h='\n'+h;h=h.replace(new RegExp('\\n\\s+','gi'),'\n');h=h.replace(this.nlBeforeRe,'\n<$1$2>');h=h.replace(this.nlAfterRe,'<$1$2>\n');h=h.replace(this.nlBeforeAfterRe,'\n<$1$2$3>\n');h+='\n';while((i=h.indexOf('\n',i+1)!
 )!=-1){if((l=h.substring(li+1,i)).length!=0){if(this.ouRe.test(l)&&p.l
ength>=s.indent_levels)p=p.substring(s.indent_levels);o+=p+l+'\n';if(this.inRe.test(l))p+=this.inStr}li=i}return o},xmlEncode:function(s){var cl=this;this._setupEntities();switch(this.settings.entity_encoding){case"raw":return tinyMCE.xmlEncode(s);case"named":return s.replace(new RegExp('[\u007F-\uFFFF<>&"\']','g'),function(c,b){b=cl.entities[c.charCodeAt(0)];return b?'&'+b+';':c});case"numeric":return s.replace(new RegExp('[\u007F-\uFFFF<>&"\']','g'),function(c,b){return b?'&#'+c.charCodeAt(0)+';':c})}return s},split:function(re,s){var c=s.split(re);var i,l,o=new Array();for(i=0,l=c.length;i<l;i++){if(c[i]!='')o[i]=c[i]}return o},_trimComment:function(s){s=s.replace(new RegExp('\\smce_src=\"[^\"]*\"','gi'),"");s=s.replace(new RegExp('\\smce_href=\"[^\"]*\"','gi'),"");return s},_getAttrib:function(e,n,d){if(typeof(d)=="undefined")d="";if(!e||e.nodeType!=1)return d;var v=e.getAttribute(n,0);if(n=="class"&&!v)v=e.className;if(this.isIE&&n=="http-equiv")v=e.httpEquiv;if(this.is!
 IE&&e.nodeName=="FORM"&&n=="enctype"&&v=="application/x-www-form-urlencoded")v="";if(this.isIE&&e.nodeName=="INPUT"&&n=="size"&&v=="20")v="";if(this.isIE&&e.nodeName=="INPUT"&&n=="maxlength"&&v=="2147483647")v="";if(n=="style"&&!tinyMCE.isOpera)v=e.style.cssText;if(n=='style')v=tinyMCE.serializeStyle(tinyMCE.parseStyle(v));if(this.settings.on_save&&n.indexOf('on')!=-1&&this.settings.on_save&&v&&v!="")v=tinyMCE.cleanupEventStr(v);return(v&&v!="")?''+v:d},_urlConverter:function(c,n,v){if(!c.settings.on_save)return tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings.base_href,v);else if(tinyMCE.getParam('convert_urls'))return eval(tinyMCE.settings.urlconverter_callback+"(v, n, true);");return v},_arrayToRe:function(a,op,be,af){var i,r;op=typeof(op)=="undefined"?"gi":op;be=typeof(be)=="undefined"?"^(":be;af=typeof(af)=="undefined"?")$":af;r=be;for(i=0;i<a.length;i++)r+=this._wildcardToRe(a[i])+(i!=a.length-1?"|":"");r+=af;return new RegExp(r,op)},_wildcardToRe:function(s){s=s!
 .replace(/\?/g,'(\\S?)');s=s.replace(/\+/g,'(\\S+)');s=s.replace(/\*/g
,'(\\S*)');return s},_setupEntities:function(){var n,a,i,s=this.settings;if(!this.entitiesDone){if(s.entity_encoding=="named"){n=tinyMCE.clearArray(new Array());a=this.split(',',s.entities);for(i=0;i<a.length;i+=2)n[a[i]]=a[i+1];this.entities=n}this.entitiesDone=true}},_setupRules:function(){var s=this.settings;if(!this.rulesDone){this.addRuleStr(s.valid_elements);this.addRuleStr(s.extended_valid_elements);this.addChildRemoveRuleStr(s.valid_child_elements);this.rulesDone=true}},_isDuplicate:function(n){var i;if(!this.settings.fix_content_duplication)return false;if(tinyMCE.isRealIE&&n.nodeType==1){if(n.mce_serialized==this.serializationId)return true;n.setAttribute('mce_serialized',this.serializationId)}else{for(i=0;i<this.serializedNodes.length;i++){if(this.serializedNodes[i]==n)return true}this.serializedNodes[this.serializedNodes.length]=n}return false}};TinyMCE_Engine.prototype.createTagHTML=function(tn,a,h){var o='',f=tinyMCE.xmlEncode;o='<'+tn;if(a){for(n in a){if(type!
 of(a[n])!='function'&&a[n]!=null)o+=' '+f(n)+'="'+f(''+a[n])+'"'}}o+=!h?' />':'>'+h+'</'+tn+'>';return o};TinyMCE_Engine.prototype.createTag=function(d,tn,a,h){var o=d.createElement(tn);if(a){for(n in a){if(typeof(a[n])!='function'&&a[n]!=null)tinyMCE.setAttrib(o,n,a[n])}}if(h)o.innerHTML=h;return o};TinyMCE_Engine.prototype.getElementByAttributeValue=function(n,e,a,v){return(n=this.getElementsByAttributeValue(n,e,a,v)).length==0?null:n[0]};TinyMCE_Engine.prototype.getElementsByAttributeValue=function(n,e,a,v){var i,nl=n.getElementsByTagName(e),o=new Array();for(i=0;i<nl.length;i++){if(tinyMCE.getAttrib(nl[i],a).indexOf(v)!=-1)o[o.length]=nl[i]}return o};TinyMCE_Engine.prototype.isBlockElement=function(n){return n!=null&&n.nodeType==1&&this.blockRegExp.test(n.nodeName)};TinyMCE_Engine.prototype.getParentBlockElement=function(n,r){return this.getParentNode(n,function(n){return tinyMCE.isBlockElement(n)},r);return null};TinyMCE_Engine.prototype.insertAfter=function(n,r){if(r.!
 nextSibling)r.parentNode.insertBefore(n,r.nextSibling);else r.parentNo
de.appendChild(n)};TinyMCE_Engine.prototype.setInnerHTML=function(e,h){var i,nl,n;if(tinyMCE.isGecko){h=h.replace(/<strong/gi,'<b');h=h.replace(/<em(\/?)/gi,'<i');h=h.replace(/<em /gi,'<i');h=h.replace(/<\/strong>/gi,'</b>');h=h.replace(/<\/em>/gi,'</i>')}if(tinyMCE.isRealIE){h=h.replace(/\s\/>/g,'>');h=h.replace(/<p([^>]*)>\u00A0?<\/p>/gi,'<p$1 mce_keep="true">&nbsp;</p>');h=h.replace(/<p([^>]*)>\s*&nbsp;\s*<\/p>/gi,'<p$1 mce_keep="true">&nbsp;</p>');h=h.replace(/<p([^>]*)>\s+<\/p>/gi,'<p$1 mce_keep="true">&nbsp;</p>');e.innerHTML=tinyMCE.uniqueTag+h;e.firstChild.removeNode(true);nl=e.getElementsByTagName("p");for(i=nl.length-1;i>=0;i--){n=nl[i];if(n.nodeName=='P'&&!n.hasChildNodes()&&!n.mce_keep)n.parentNode.removeChild(n)}}else{h=this.fixGeckoBaseHREFBug(1,e,h);e.innerHTML=h;this.fixGeckoBaseHREFBug(2,e,h)}};TinyMCE_Engine.prototype.getOuterHTML=function(e){if(tinyMCE.isIE)return e.outerHTML;var d=e.ownerDocument.createElement("body");d.appendChild(e.cloneNode(true));retu!
 rn d.innerHTML};TinyMCE_Engine.prototype.setOuterHTML=function(e,h,d){var d=typeof(d)=="undefined"?e.ownerDocument:d,i,nl,t;if(tinyMCE.isIE&&e.nodeType==1)e.outerHTML=h;else{t=d.createElement("body");t.innerHTML=h;for(i=0,nl=t.childNodes;i<nl.length;i++)e.parentNode.insertBefore(nl[i].cloneNode(true),e);e.parentNode.removeChild(e)}};TinyMCE_Engine.prototype._getElementById=function(id,d){var e,i,j,f;if(typeof(d)=="undefined")d=document;e=d.getElementById(id);if(!e){f=d.forms;for(i=0;i<f.length;i++){for(j=0;j<f[i].elements.length;j++){if(f[i].elements[j].name==id){e=f[i].elements[j];break}}}}return e};TinyMCE_Engine.prototype.getNodeTree=function(n,na,t,nn){return this.selectNodes(n,function(n){return(!t||n.nodeType==t)&&(!nn||n.nodeName==nn)},na?na:new Array())};TinyMCE_Engine.prototype.getParentElement=function(n,na,f,r){var re=na?new RegExp('^('+na.toUpperCase().replace(/,/g,'|')+')$'):0,v;if(f&&typeof(f)=='string')return this.getParentElement(n,na,function(no){return tin!
 yMCE.getAttrib(no,f)!=''});return this.getParentNode(n,function(n){ret
urn((n.nodeType==1&&!re)||(re&&re.test(n.nodeName)))&&(!f||f(n))},r)};TinyMCE_Engine.prototype.getParentNode=function(n,f,r){while(n){if(n==r)return null;if(f(n))return n;n=n.parentNode}return null};TinyMCE_Engine.prototype.getAttrib=function(elm,name,dv){var v;if(typeof(dv)=="undefined")dv="";if(!elm||elm.nodeType!=1)return dv;v=elm.getAttribute(name);if(name=="class"&&!v)v=elm.className;if(tinyMCE.isGecko&&name=="src"&&elm.src!=null&&elm.src!="")v=elm.src;if(tinyMCE.isGecko&&name=="href"&&elm.href!=null&&elm.href!="")v=elm.href;if(name=="http-equiv"&&tinyMCE.isIE)v=elm.httpEquiv;if(name=="style"&&!tinyMCE.isOpera)v=elm.style.cssText;return(v&&v!="")?v:dv};TinyMCE_Engine.prototype.setAttrib=function(el,name,va,fix){if(typeof(va)=="number"&&va!=null)va=""+va;if(fix){if(va==null)va="";va=va.replace(/[^0-9%]/g,'')}if(name=="style")el.style.cssText=va;if(name=="class")el.className=va;if(va!=null&&va!=""&&va!=-1)el.setAttribute(name,va);else el.removeAttribute(name)};TinyMCE_Eng!
 ine.prototype.setStyleAttrib=function(e,n,v){e.style[n]=v;if(tinyMCE.isIE&&v==null||v==''){v=tinyMCE.serializeStyle(tinyMCE.parseStyle(e.style.cssText));e.style.cssText=v;e.setAttribute("style",v)}};TinyMCE_Engine.prototype.switchClass=function(ei,c){var e;if(tinyMCE.switchClassCache[ei])e=tinyMCE.switchClassCache[ei];else e=tinyMCE.switchClassCache[ei]=document.getElementById(ei);if(e){if(tinyMCE.settings.button_tile_map&&e.className&&e.className.indexOf('mceTiledButton')==0)c='mceTiledButton '+c;e.className=c}};TinyMCE_Engine.prototype.getAbsPosition=function(n,cn){var l=0,t=0;while(n&&n!=cn){l+=n.offsetLeft;t+=n.offsetTop;n=n.offsetParent}return{absLeft:l,absTop:t}};TinyMCE_Engine.prototype.prevNode=function(e,n){var a=n.split(','),i;while((e=e.previousSibling)!=null){for(i=0;i<a.length;i++){if(e.nodeName==a[i])return e}}return null};TinyMCE_Engine.prototype.nextNode=function(e,n){var a=n.split(','),i;while((e=e.nextSibling)!=null){for(i=0;i<a.length;i++){if(e.nodeName==!
 a[i])return e}}return null};TinyMCE_Engine.prototype.selectElements=fu
nction(n,na,f){var i,a=[],nl,x;for(x=0,na=na.split(',');x<na.length;x++)for(i=0,nl=n.getElementsByTagName(na[x]);i<nl.length;i++)(!f||f(nl[i]))&&a.push(nl[i]);return a};TinyMCE_Engine.prototype.selectNodes=function(n,f,a){var i;if(!a)a=new Array();if(f(n))a[a.length]=n;if(n.hasChildNodes()){for(i=0;i<n.childNodes.length;i++)tinyMCE.selectNodes(n.childNodes[i],f,a)}return a};TinyMCE_Engine.prototype.addCSSClass=function(e,c,b){var o=this.removeCSSClass(e,c);return e.className=b?c+(o!=''?(' '+o):''):(o!=''?(o+' '):'')+c};TinyMCE_Engine.prototype.removeCSSClass=function(e,c){c=e.className.replace(new RegExp("(^|\\s+)"+c+"(\\s+|$)"),' ');return e.className=c!=' '?c:''};TinyMCE_Engine.prototype.hasCSSClass=function(n,c){return new RegExp('\\b'+c+'\\b','g').test(n.className)};TinyMCE_Engine.prototype.renameElement=function(e,n,d){var ne,i,ar;d=typeof(d)=="undefined"?tinyMCE.selectedInstance.getDoc():d;if(e){ne=d.createElement(n);ar=e.attributes;for(i=ar.length-1;i>-1;i--){if(ar[i]!
 .specified&&ar[i].nodeValue)ne.setAttribute(ar[i].nodeName.toLowerCase(),ar[i].nodeValue)}ar=e.childNodes;for(i=0;i<ar.length;i++)ne.appendChild(ar[i].cloneNode(true));e.parentNode.replaceChild(ne,e)}};TinyMCE_Engine.prototype.getViewPort=function(w){var d=w.document,m=d.compatMode=='CSS1Compat',b=d.body,de=d.documentElement;return{left:w.pageXOffset||(m?de.scrollLeft:b.scrollLeft),top:w.pageYOffset||(m?de.scrollTop:b.scrollTop),width:w.innerWidth||(m?de.clientWidth:b.clientWidth),height:w.innerHeight||(m?de.clientHeight:b.clientHeight)}};TinyMCE_Engine.prototype.parseURL=function(url_str){var urlParts=new Array();if(url_str){var pos,lastPos;pos=url_str.indexOf('://');if(pos!=-1){urlParts['protocol']=url_str.substring(0,pos);lastPos=pos+3}for(var i=lastPos;i<url_str.length;i++){var chr=url_str.charAt(i);if(chr==':')break;if(chr=='/')break}pos=i;urlParts['host']=url_str.substring(lastPos,pos);urlParts['port']="";lastPos=pos;if(url_str.charAt(pos)==':'){pos=url_str.indexOf('/!
 ',lastPos);urlParts['port']=url_str.substring(lastPos+1,pos)}lastPos=p
os;pos=url_str.indexOf('?',lastPos);if(pos==-1)pos=url_str.indexOf('#',lastPos);if(pos==-1)pos=url_str.length;urlParts['path']=url_str.substring(lastPos,pos);lastPos=pos;if(url_str.charAt(pos)=='?'){pos=url_str.indexOf('#');pos=(pos==-1)?url_str.length:pos;urlParts['query']=url_str.substring(lastPos+1,pos)}lastPos=pos;if(url_str.charAt(pos)=='#'){pos=url_str.length;urlParts['anchor']=url_str.substring(lastPos+1,pos)}}return urlParts};TinyMCE_Engine.prototype.serializeURL=function(up){var o="";if(up['protocol'])o+=up['protocol']+"://";if(up['host'])o+=up['host'];if(up['port'])o+=":"+up['port'];if(up['path'])o+=up['path'];if(up['query'])o+="?"+up['query'];if(up['anchor'])o+="#"+up['anchor'];return o};TinyMCE_Engine.prototype.convertAbsoluteURLToRelativeURL=function(base_url,url_to_relative){var baseURL=this.parseURL(base_url);var targetURL=this.parseURL(url_to_relative);var strTok1;var strTok2;var breakPoint=0;var outPath="";var forceSlash=false;if(targetURL.path=="")targetURL!
 .path="/";else forceSlash=true;base_url=baseURL.path.substring(0,baseURL.path.lastIndexOf('/'));strTok1=base_url.split('/');strTok2=targetURL.path.split('/');if(strTok1.length>=strTok2.length){for(var i=0;i<strTok1.length;i++){if(i>=strTok2.length||strTok1[i]!=strTok2[i]){breakPoint=i+1;break}}}if(strTok1.length<strTok2.length){for(var i=0;i<strTok2.length;i++){if(i>=strTok1.length||strTok1[i]!=strTok2[i]){breakPoint=i+1;break}}}if(breakPoint==1)return targetURL.path;for(var i=0;i<(strTok1.length-(breakPoint-1));i++)outPath+="../";for(var i=breakPoint-1;i<strTok2.length;i++){if(i!=(breakPoint-1))outPath+="/"+strTok2[i];else outPath+=strTok2[i]}targetURL.protocol=null;targetURL.host=null;targetURL.port=null;targetURL.path=outPath==""&&forceSlash?"/":outPath;var fileName=baseURL.path;var pos;if((pos=fileName.lastIndexOf('/'))!=-1)fileName=fileName.substring(pos+1);if(fileName==targetURL.path&&targetURL.anchor!="")targetURL.path="";if(targetURL.path==""&&!targetURL.anchor)targ!
 etURL.path=fileName!=""?fileName:"/";return this.serializeURL(targetUR
L)};TinyMCE_Engine.prototype.convertRelativeToAbsoluteURL=function(base_url,relative_url){var baseURL=this.parseURL(base_url),baseURLParts,relURLParts;var relURL=this.parseURL(relative_url);if(relative_url==""||relative_url.indexOf('://')!=-1||/^(mailto:|javascript:|#|\/)/.test(relative_url))return relative_url;baseURLParts=baseURL['path'].split('/');relURLParts=relURL['path'].split('/');var newBaseURLParts=new Array();for(var i=baseURLParts.length-1;i>=0;i--){if(baseURLParts[i].length==0)continue;newBaseURLParts[newBaseURLParts.length]=baseURLParts[i]}baseURLParts=newBaseURLParts.reverse();var newRelURLParts=new Array();var numBack=0;for(var i=relURLParts.length-1;i>=0;i--){if(relURLParts[i].length==0||relURLParts[i]==".")continue;if(relURLParts[i]=='..'){numBack++;continue}if(numBack>0){numBack--;continue}newRelURLParts[newRelURLParts.length]=relURLParts[i]}relURLParts=newRelURLParts.reverse();var len=baseURLParts.length-numBack;var absPath=(len<=0?"":"/")+baseURLParts.sli!
 ce(0,len).join('/')+"/"+relURLParts.join('/');var start="",end="";relURL.protocol=baseURL.protocol;relURL.host=baseURL.host;relURL.port=baseURL.port;if(relURL.path.charAt(relURL.path.length-1)=="/")absPath+="/";relURL.path=absPath;return this.serializeURL(relURL)};TinyMCE_Engine.prototype.convertURL=function(url,node,on_save){var prot=document.location.protocol;var host=document.location.hostname;var port=document.location.port;if(prot=="file:")return url;url=tinyMCE.regexpReplace(url,'(http|https):///','/');if(url.indexOf('mailto:')!=-1||url.indexOf('javascript:')!=-1||tinyMCE.regexpReplace(url,'[ \t\r\n\+]|%20','').charAt(0)=="#")return url;if(!tinyMCE.isIE&&!on_save&&url.indexOf("://")==-1&&url.charAt(0)!='/')return tinyMCE.settings['base_href']+url;if(on_save&&tinyMCE.getParam('relative_urls')){var curl=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],url);if(curl.charAt(0)=='/')curl=tinyMCE.settings['document_base_prefix']+curl;var urlParts=tinyMCE.pa!
 rseURL(curl);var tmpUrlParts=tinyMCE.parseURL(tinyMCE.settings['docume
nt_base_url']);if(urlParts['host']==tmpUrlParts['host']&&(urlParts['port']==tmpUrlParts['port']))return tinyMCE.convertAbsoluteURLToRelativeURL(tinyMCE.settings['document_base_url'],curl)}if(!tinyMCE.getParam('relative_urls')){var urlParts=tinyMCE.parseURL(url);var baseUrlParts=tinyMCE.parseURL(tinyMCE.settings['base_href']);url=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],url);if(urlParts['anchor']&&urlParts['path']==baseUrlParts['path'])return"#"+urlParts['anchor']}if(tinyMCE.getParam('remove_script_host')){var start="",portPart="";if(port!="")portPart=":"+port;start=prot+"//"+host+portPart+"/";if(url.indexOf(start)==0)url=url.substring(start.length-1)}return url};TinyMCE_Engine.prototype.convertAllRelativeURLs=function(body){var i,elms,src,href,mhref,msrc;elms=body.getElementsByTagName("img");for(i=0;i<elms.length;i++){src=tinyMCE.getAttrib(elms[i],'src');msrc=tinyMCE.getAttrib(elms[i],'mce_src');if(msrc!="")src=msrc;if(src!=""){src=tinyMCE.convertRe!
 lativeToAbsoluteURL(tinyMCE.settings['base_href'],src);elms[i].setAttribute("src",src)}}elms=body.getElementsByTagName("a");for(i=0;i<elms.length;i++){href=tinyMCE.getAttrib(elms[i],'href');mhref=tinyMCE.getAttrib(elms[i],'mce_href');if(mhref!="")href=mhref;if(href&&href!=""){href=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],href);elms[i].setAttribute("href",href)}}};TinyMCE_Engine.prototype.clearArray=function(a){var n;for(n in a)a[n]=null;return a};TinyMCE_Engine.prototype.explode=function(d,s){var ar=s.split(d),oar=new Array(),i;for(i=0;i<ar.length;i++){if(ar[i]!="")oar[oar.length]=ar[i]}return oar};TinyMCE_Engine.prototype._setEventsEnabled=function(node,state){var evs,x,y,elms,i,event;var events=['onfocus','onblur','onclick','ondblclick','onmousedown','onmouseup','onmouseover','onmousemove','onmouseout','onkeypress','onkeydown','onkeydown','onkeyup'];evs=tinyMCE.settings['event_elements'].split(',');for(y=0;y<evs.length;y++){elms=node.getElementsB!
 yTagName(evs[y]);for(i=0;i<elms.length;i++){event="";for(x=0;x<events.
length;x++){if((event=tinyMCE.getAttrib(elms[i],events[x]))!=''){event=tinyMCE.cleanupEventStr(""+event);if(!state)event="return true;"+event;else event=event.replace(/^return true;/gi,'');elms[i].removeAttribute(events[x]);elms[i].setAttribute(events[x],event)}}}}};TinyMCE_Engine.prototype._eventPatch=function(editor_id){var n,inst,win,e;if(typeof(tinyMCE)=="undefined")return true;try{if(tinyMCE.selectedInstance){win=tinyMCE.selectedInstance.getWin();if(win&&win.event){e=win.event;if(!e.target)e.target=e.srcElement;TinyMCE_Engine.prototype.handleEvent(e);return}}for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.select();win=inst.getWin();if(win&&win.event){e=win.event;if(!e.target)e.target=e.srcElement;TinyMCE_Engine.prototype.handleEvent(e);return}}}catch(ex){}};TinyMCE_Engine.prototype.findEvent=function(e){var n,inst;if(e)return e;for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(tinyMCE.isInstance(inst)&&inst.getWin(!
 ).event)return inst.getWin().event}return null};TinyMCE_Engine.prototype.unloadHandler=function(){tinyMCE.triggerSave(true,true)};TinyMCE_Engine.prototype.addEventHandlers=function(inst){this.setEventHandlers(inst,1)};TinyMCE_Engine.prototype.setEventHandlers=function(inst,s){var doc=inst.getDoc(),ie,ot,i,f=s?tinyMCE.addEvent:tinyMCE.removeEvent;ie=['keypress','keyup','keydown','click','mouseup','mousedown','controlselect','dblclick'];ot=['keypress','keyup','keydown','click','mouseup','mousedown','focus','blur','dragdrop'];inst.switchSettings();if(tinyMCE.isIE){for(i=0;i<ie.length;i++)f(doc,ie[i],TinyMCE_Engine.prototype._eventPatch)}else{for(i=0;i<ot.length;i++)f(doc,ot[i],tinyMCE.handleEvent);eval('try { doc.designMode = "On"; } catch(e) {}');}};TinyMCE_Engine.prototype.onMouseMove=function(){var inst,lh;if(tinyMCE.lastHover){lh=tinyMCE.lastHover;if(lh.className.indexOf('mceMenu')!=-1)tinyMCE._menuButtonEvent('out',lh);else lh.className=lh.className;tinyMCE.lastHover=null!
 }if(!tinyMCE.hasMouseMoved){inst=tinyMCE.selectedInstance;if(inst.isFo
cused){inst.undoBookmark=inst.selection.getBookmark();tinyMCE.hasMouseMoved=true}}};TinyMCE_Engine.prototype.cancelEvent=function(e){if(!e)return false;if(tinyMCE.isIE){e.returnValue=false;e.cancelBubble=true}else{e.preventDefault();e.stopPropagation&&e.stopPropagation()}return false};TinyMCE_Engine.prototype.addEvent=function(o,n,h){if(n!='unload'){function clean(){var ex;try{tinyMCE.removeEvent(o,n,h);tinyMCE.removeEvent(window,'unload',clean);o=n=h=null}catch(ex){}}tinyMCE.addEvent(window,'unload',clean)}if(o.attachEvent)o.attachEvent("on"+n,h);else o.addEventListener(n,h,false)};TinyMCE_Engine.prototype.removeEvent=function(o,n,h){if(o.detachEvent)o.detachEvent("on"+n,h);else o.removeEventListener(n,h,false)};TinyMCE_Engine.prototype.addSelectAccessibility=function(e,s,w){if(!s._isAccessible){s.onkeydown=tinyMCE.accessibleEventHandler;s.onblur=tinyMCE.accessibleEventHandler;s._isAccessible=true;s._win=w}return false};TinyMCE_Engine.prototype.accessibleEventHandler=functi!
 on(e){var win=this._win;e=tinyMCE.isIE?win.event:e;var elm=tinyMCE.isIE?e.srcElement:e.target;if(e.type=="blur"){if(elm.oldonchange){elm.onchange=elm.oldonchange;elm.oldonchange=null}return true}if(elm.nodeName=="SELECT"&&!elm.oldonchange){elm.oldonchange=elm.onchange;elm.onchange=null}if(e.keyCode==13||e.keyCode==32){elm.onchange=elm.oldonchange;elm.onchange();elm.oldonchange=null;tinyMCE.cancelEvent(e);return false}return true};TinyMCE_Engine.prototype._resetIframeHeight=function(){var ife;if(tinyMCE.isRealIE){ife=tinyMCE.selectedInstance.iframeElement;if(ife._oldHeight){ife.style.height=ife._oldHeight;ife.height=ife._oldHeight}}};function TinyMCE_Selection(inst){this.instance=inst};TinyMCE_Selection.prototype={getSelectedHTML:function(){var inst=this.instance;var e,r=this.getRng(),h;if(!r)return null;e=document.createElement("body");if(r.cloneContents)e.appendChild(r.cloneContents());else if(typeof(r.item)!='undefined'||typeof(r.htmlText)!='undefined')e.innerHTML=r.item?!
 r.item(0).outerHTML:r.htmlText;else e.innerHTML=r.toString();h=tinyMCE
._cleanupHTML(inst,inst.contentDocument,inst.settings,e,e,false,true,false);if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(inst.getDoc());return h},getSelectedText:function(){var inst=this.instance;var d,r,s,t;if(tinyMCE.isIE){d=inst.getDoc();if(d.selection.type=="Text"){r=d.selection.createRange();t=r.text}else t=''}else{s=this.getSel();if(s&&s.toString)t=s.toString();else t=''}return t},getBookmark:function(simple){var inst=this.instance;var rng=this.getRng();var doc=inst.getDoc(),b=inst.getBody();var sp,le,s,e,nl,i,si,ei,w;var trng,sx,sy,xx=-999999999,vp=inst.getViewPort();sx=vp.left;sy=vp.top;if(tinyMCE.isSafari||tinyMCE.isOpera||simple)return{rng:rng,scrollX:sx,scrollY:sy};if(tinyMCE.isIE){if(rng.item){e=rng.item(0);nl=b.getElementsByTagName(e.nodeName);for(i=0;i<nl.length;i++){if(e==nl[i]){sp=i;break}}return{tag:e.nodeName,index:sp,scrollX:sx,scrollY:sy}}else{trng=doc.body.createTextRange();trng.moveToElementText(inst.getBody());trng.collapse!
 (true);bp=Math.abs(trng.move('character',xx));trng=rng.duplicate();trng.collapse(true);sp=Math.abs(trng.move('character',xx));trng=rng.duplicate();trng.collapse(false);le=Math.abs(trng.move('character',xx))-sp;return{start:sp-bp,length:le,scrollX:sx,scrollY:sy}}}if(tinyMCE.isGecko){s=this.getSel();e=this.getFocusElement();if(!s)return null;if(e&&e.nodeName=='IMG'){return{start:-1,end:-1,index:sp,scrollX:sx,scrollY:sy}}if(s.anchorNode==s.focusNode&&s.anchorOffset==s.focusOffset){e=this._getPosText(b,s.anchorNode,s.focusNode);if(!e)return{scrollX:sx,scrollY:sy};return{start:e.start+s.anchorOffset,end:e.end+s.focusOffset,scrollX:sx,scrollY:sy}}else{e=this._getPosText(b,rng.startContainer,rng.endContainer);if(!e)return{scrollX:sx,scrollY:sy};return{start:e.start+rng.startOffset,end:e.end+rng.endOffset,scrollX:sx,scrollY:sy}}}return null},moveToBookmark:function(bookmark){var inst=this.instance;var rng,nl,i,ex,b=inst.getBody(),sd;var doc=inst.getDoc();var win=inst.getWin();var s!
 el=this.getSel();if(!bookmark)return false;if(tinyMCE.isSafari){sel.se
tBaseAndExtent(bookmark.rng.startContainer,bookmark.rng.startOffset,bookmark.rng.endContainer,bookmark.rng.endOffset);return true}if(tinyMCE.isRealIE){if(bookmark.rng){try{bookmark.rng.select()}catch(ex){}return true}win.focus();if(bookmark.tag){rng=b.createControlRange();nl=b.getElementsByTagName(bookmark.tag);if(nl.length>bookmark.index){try{rng.addElement(nl[bookmark.index])}catch(ex){}}}else{try{if(bookmark.start<0)return true;rng=inst.getSel().createRange();rng.moveToElementText(inst.getBody());rng.collapse(true);rng.moveStart('character',bookmark.start);rng.moveEnd('character',bookmark.length)}catch(ex){return true}}rng.select();win.scrollTo(bookmark.scrollX,bookmark.scrollY);return true}if(tinyMCE.isGecko||tinyMCE.isOpera){if(bookmark.rng){sel.removeAllRanges();sel.addRange(bookmark.rng)}if(bookmark.start!=-1&&bookmark.end!=-1){try{sd=this._getTextPos(b,bookmark.start,bookmark.end);rng=doc.createRange();rng.setStart(sd.startNode,sd.startOffset);rng.setEnd(sd.endNode,s!
 d.endOffset);sel.removeAllRanges();sel.addRange(rng);win.focus()}catch(ex){}}win.scrollTo(bookmark.scrollX,bookmark.scrollY);return true}return false},_getPosText:function(r,sn,en){var w=document.createTreeWalker(r,NodeFilter.SHOW_TEXT,null,false),n,p=0,d={};while((n=w.nextNode())!=null){if(n==sn)d.start=p;if(n==en){d.end=p;return d}p+=n.nodeValue?n.nodeValue.length:0}return null},_getTextPos:function(r,sp,ep){var w=document.createTreeWalker(r,NodeFilter.SHOW_TEXT,null,false),n,p=0,d={};while((n=w.nextNode())!=null){p+=n.nodeValue?n.nodeValue.length:0;if(p>=sp&&!d.startNode){d.startNode=n;d.startOffset=sp-(p-n.nodeValue.length)}if(p>=ep){d.endNode=n;d.endOffset=ep-(p-n.nodeValue.length);return d}}return null},selectNode:function(node,collapse,select_text_node,to_start){var inst=this.instance,sel,rng,nodes;if(!node)return;if(typeof(collapse)=="undefined")collapse=true;if(typeof(select_text_node)=="undefined")select_text_node=false;if(typeof(to_start)=="undefined")to_start=tr!
 ue;if(inst.settings.auto_resize)inst.resizeToContent();if(tinyMCE.isRe
alIE){rng=inst.getDoc().body.createTextRange();try{rng.moveToElementText(node);if(collapse)rng.collapse(to_start);rng.select()}catch(e){}}else{sel=this.getSel();if(!sel)return;if(tinyMCE.isSafari){sel.setBaseAndExtent(node,0,node,node.innerText.length);if(collapse){if(to_start)sel.collapseToStart();else sel.collapseToEnd()}this.scrollToNode(node);return}rng=inst.getDoc().createRange();if(select_text_node){nodes=tinyMCE.getNodeTree(node,new Array(),3);if(nodes.length>0)rng.selectNodeContents(nodes[0]);else rng.selectNodeContents(node)}else rng.selectNode(node);if(collapse){if(!to_start&&node.nodeType==3){rng.setStart(node,node.nodeValue.length);rng.setEnd(node,node.nodeValue.length)}else rng.collapse(to_start)}sel.removeAllRanges();sel.addRange(rng)}this.scrollToNode(node);tinyMCE.selectedElement=null;if(node.nodeType==1)tinyMCE.selectedElement=node},scrollToNode:function(node){var inst=this.instance,w=inst.getWin(),vp=inst.getViewPort(),pos=tinyMCE.getAbsPosition(node),cvp,p!
 ,cwin;if(pos.absLeft<vp.left||pos.absLeft>vp.left+vp.width||pos.absTop<vp.top||pos.absTop>vp.top+(vp.height-25))w.scrollTo(pos.absLeft,pos.absTop-vp.height+25);if(inst.settings.auto_resize){cwin=inst.getContainerWin();cvp=tinyMCE.getViewPort(cwin);p=this.getAbsPosition(node);if(p.absLeft<cvp.left||p.absLeft>cvp.left+cvp.width||p.absTop<cvp.top||p.absTop>cvp.top+cvp.height)cwin.scrollTo(p.absLeft,p.absTop-cvp.height+25)}},getAbsPosition:function(n){var pos=tinyMCE.getAbsPosition(n),ipos=tinyMCE.getAbsPosition(this.instance.iframeElement);return{absLeft:ipos.absLeft+pos.absLeft,absTop:ipos.absTop+pos.absTop}},getSel:function(){var inst=this.instance;if(tinyMCE.isRealIE)return inst.getDoc().selection;return inst.contentWindow.getSelection()},getRng:function(){var s=this.getSel();if(s==null)return null;if(tinyMCE.isRealIE)return s.createRange();if(tinyMCE.isSafari&&!s.getRangeAt)return''+window.getSelection();return s.getRangeAt(0)},getFocusElement:function(){var inst=this.inst!
 ance,doc,rng,sel,elm;if(tinyMCE.isRealIE){doc=inst.getDoc();rng=doc.se
lection.createRange();elm=rng.item?rng.item(0):rng.parentElement()}else{if(!tinyMCE.isSafari&&inst.isHidden())return inst.getBody();sel=this.getSel();rng=this.getRng();if(!sel||!rng)return null;elm=rng.commonAncestorContainer;if(!rng.collapsed){if(rng.startContainer==rng.endContainer){if(rng.startOffset-rng.endOffset<2){if(rng.startContainer.hasChildNodes())elm=rng.startContainer.childNodes[rng.startOffset]}}}elm=tinyMCE.getParentElement(elm);}return elm}};function TinyMCE_UndoRedo(inst){this.instance=inst;this.undoLevels=new Array();this.undoIndex=0;this.typingUndoIndex=-1;this.undoRedo=true};TinyMCE_UndoRedo.prototype={add:function(l){var b,customUndoLevels,newHTML,inst=this.instance,i,ul,ur;if(l){this.undoLevels[this.undoLevels.length]=l;return true}if(this.typingUndoIndex!=-1){this.undoIndex=this.typingUndoIndex;if(tinyMCE.typingUndoIndex!=-1)tinyMCE.undoIndex=tinyMCE.typingUndoIndex}newHTML=tinyMCE.trim(inst.getBody().innerHTML);if(this.undoLevels[this.undoIndex]&&newHT!
 ML!=this.undoLevels[this.undoIndex].content){tinyMCE.dispatchCallback(inst,'onchange_callback','onChange',inst);customUndoLevels=tinyMCE.settings['custom_undo_redo_levels'];if(customUndoLevels!=-1&&this.undoLevels.length>customUndoLevels){for(i=0;i<this.undoLevels.length-1;i++)this.undoLevels[i]=this.undoLevels[i+1];this.undoLevels.length--;this.undoIndex--;}b=inst.undoBookmark;if(!b)b=inst.selection.getBookmark();this.undoIndex++;this.undoLevels[this.undoIndex]={content:newHTML,bookmark:b};ul=tinyMCE.undoLevels;for(i=tinyMCE.undoIndex+1;i<ul.length;i++){ur=ul[i].undoRedo;if(ur.undoIndex==ur.undoLevels.length-1)ur.undoIndex--;ur.undoLevels.length--}tinyMCE.undoLevels[tinyMCE.undoIndex++]=inst;tinyMCE.undoLevels.length=tinyMCE.undoIndex;this.undoLevels.length=this.undoIndex+1;return true}return false},undo:function(){var inst=this.instance;if(this.undoIndex>0){this.undoIndex--;tinyMCE.setInnerHTML(inst.getBody(),this.undoLevels[this.undoIndex].content);inst.repaint();if(inst!
 .settings.custom_undo_redo_restore_selection)inst.selection.moveToBook
mark(this.undoLevels[this.undoIndex].bookmark)}},redo:function(){var inst=this.instance;tinyMCE.execCommand("mceEndTyping");if(this.undoIndex<(this.undoLevels.length-1)){this.undoIndex++;tinyMCE.setInnerHTML(inst.getBody(),this.undoLevels[this.undoIndex].content);inst.repaint();if(inst.settings.custom_undo_redo_restore_selection)inst.selection.moveToBookmark(this.undoLevels[this.undoIndex].bookmark)}tinyMCE.triggerNodeChange()}};var TinyMCE_ForceParagraphs={_insertPara:function(inst,e){var doc=inst.getDoc(),sel=inst.getSel(),body=inst.getBody(),win=inst.contentWindow,rng=sel.getRangeAt(0);var rootElm=doc.documentElement,blockName="P",startNode,endNode,startBlock,endBlock;var rngBefore,rngAfter,direct,startNode,startOffset,endNode,endOffset,b=tinyMCE.isOpera?inst.selection.getBookmark():null;var paraBefore,paraAfter,startChop,endChop,contents;function isEmpty(para){function isEmptyHTML(html){return html.replace(new RegExp('[ \t\r\n]+','g'),'').toLowerCase()==""}if(para.getEle!
 mentsByTagName("img").length>0)return false;if(para.getElementsByTagName("table").length>0)return false;if(para.getElementsByTagName("hr").length>0)return false;var nodes=tinyMCE.getNodeTree(para,new Array(),3);for(var i=0;i<nodes.length;i++){if(!isEmptyHTML(nodes[i].nodeValue))return false}return true}rngBefore=doc.createRange();rngBefore.setStart(sel.anchorNode,sel.anchorOffset);rngBefore.collapse(true);rngAfter=doc.createRange();rngAfter.setStart(sel.focusNode,sel.focusOffset);rngAfter.collapse(true);direct=rngBefore.compareBoundaryPoints(rngBefore.START_TO_END,rngAfter)<0;startNode=direct?sel.anchorNode:sel.focusNode;startOffset=direct?sel.anchorOffset:sel.focusOffset;endNode=direct?sel.focusNode:sel.anchorNode;endOffset=direct?sel.focusOffset:sel.anchorOffset;startNode=startNode.nodeName=="BODY"?startNode.firstChild:startNode;endNode=endNode.nodeName=="BODY"?endNode.firstChild:endNode;startBlock=inst.getParentBlockElement(startNode);endBlock=inst.getParentBlockElement(!
 endNode);if(startBlock&&new RegExp('absolute|relative|static','gi').te
st(startBlock.style.position))startBlock=null;if(endBlock&&new RegExp('absolute|relative|static','gi').test(endBlock.style.position))endBlock=null;if(startBlock!=null){blockName=startBlock.nodeName;if(blockName=="TD"||blockName=="TABLE"||(blockName=="DIV"&&new RegExp('left|right','gi').test(startBlock.style.cssFloat)))blockName="P"}if(tinyMCE.getParentElement(startBlock,"OL,UL",null,body)!=null)return false;if((startBlock!=null&&startBlock.nodeName=="TABLE")||(endBlock!=null&&endBlock.nodeName=="TABLE"))startBlock=endBlock=null;paraBefore=(startBlock!=null&&startBlock.nodeName==blockName)?startBlock.cloneNode(false):doc.createElement(blockName);paraAfter=(endBlock!=null&&endBlock.nodeName==blockName)?endBlock.cloneNode(false):doc.createElement(blockName);if(/^(H[1-6])$/.test(blockName))paraAfter=doc.createElement("p");startChop=startNode;endChop=endNode;node=startChop;do{if(node==body||node.nodeType==9||tinyMCE.isBlockElement(node))break;startChop=node}while((node=node.previ!
 ousSibling?node.previousSibling:node.parentNode));node=endChop;do{if(node==body||node.nodeType==9||tinyMCE.isBlockElement(node))break;endChop=node}while((node=node.nextSibling?node.nextSibling:node.parentNode));if(startChop.nodeName=="TD")startChop=startChop.firstChild;if(endChop.nodeName=="TD")endChop=endChop.lastChild;if(startBlock==null){rng.deleteContents();if(!tinyMCE.isSafari)sel.removeAllRanges();if(startChop!=rootElm&&endChop!=rootElm){rngBefore=rng.cloneRange();if(startChop==body)rngBefore.setStart(startChop,0);else rngBefore.setStartBefore(startChop);paraBefore.appendChild(rngBefore.cloneContents());if(endChop.parentNode.nodeName==blockName)endChop=endChop.parentNode;rng.setEndAfter(endChop);if(endChop.nodeName!="#text"&&endChop.nodeName!="BODY")rngBefore.setEndAfter(endChop);contents=rng.cloneContents();if(contents.firstChild&&(contents.firstChild.nodeName==blockName||contents.firstChild.nodeName=="BODY"))paraAfter.innerHTML=contents.firstChild.innerHTML;else par!
 aAfter.appendChild(contents);if(isEmpty(paraBefore))paraBefore.innerHT
ML="&nbsp;";if(isEmpty(paraAfter))paraAfter.innerHTML="&nbsp;";rng.deleteContents();rngAfter.deleteContents();rngBefore.deleteContents();if(tinyMCE.isOpera){paraBefore.normalize();rngBefore.insertNode(paraBefore);paraAfter.normalize();rngBefore.insertNode(paraAfter)}else{paraAfter.normalize();rngBefore.insertNode(paraAfter);paraBefore.normalize();rngBefore.insertNode(paraBefore)}}else{body.innerHTML="<"+blockName+">&nbsp;</"+blockName+"><"+blockName+">&nbsp;</"+blockName+">";paraAfter=body.childNodes[1]}inst.selection.moveToBookmark(b);inst.selection.selectNode(paraAfter,true,true);return true}if(startChop.nodeName==blockName)rngBefore.setStart(startChop,0);else rngBefore.setStartBefore(startChop);rngBefore.setEnd(startNode,startOffset);paraBefore.appendChild(rngBefore.cloneContents());rngAfter.setEndAfter(endChop);rngAfter.setStart(endNode,endOffset);contents=rngAfter.cloneContents();if(contents.firstChild&&contents.firstChild.nodeName==blockName){paraAfter.innerHTML=conten!
 ts.firstChild.innerHTML}else paraAfter.appendChild(contents);if(isEmpty(paraBefore))paraBefore.innerHTML="&nbsp;";if(isEmpty(paraAfter))paraAfter.innerHTML="&nbsp;";rng=doc.createRange();if(!startChop.previousSibling&&startChop.parentNode.nodeName.toUpperCase()==blockName){rng.setStartBefore(startChop.parentNode)}else{if(rngBefore.startContainer.nodeName.toUpperCase()==blockName&&rngBefore.startOffset==0)rng.setStartBefore(rngBefore.startContainer);else rng.setStart(rngBefore.startContainer,rngBefore.startOffset)}if(!endChop.nextSibling&&endChop.parentNode.nodeName.toUpperCase()==blockName)rng.setEndAfter(endChop.parentNode);else rng.setEnd(rngAfter.endContainer,rngAfter.endOffset);rng.deleteContents();if(tinyMCE.isOpera){rng.insertNode(paraBefore);rng.insertNode(paraAfter)}else{rng.insertNode(paraAfter);rng.insertNode(paraBefore)}paraAfter.normalize();paraBefore.normalize();inst.selection.moveToBookmark(b);inst.selection.selectNode(paraAfter,true,true);return true},_handle!
 BackSpace:function(inst){var r=inst.getRng(),sn=r.startContainer,nv,s=
false;if(sn&&sn.nextSibling&&sn.nextSibling.nodeName=="BR"&&sn.parentNode.nodeName!="BODY"){nv=sn.nodeValue;if(nv!=null&&r.startOffset==nv.length)sn.nextSibling.parentNode.removeChild(sn.nextSibling)}if(inst.settings.auto_resize)inst.resizeToContent();return s}};function TinyMCE_Layer(id,bm){this.id=id;this.blockerElement=null;this.events=false;this.element=null;this.blockMode=typeof(bm)!='undefined'?bm:true;this.doc=document};TinyMCE_Layer.prototype={moveRelativeTo:function(re,p){var rep=this.getAbsPosition(re);var w=parseInt(re.offsetWidth);var h=parseInt(re.offsetHeight);var e=this.getElement();var ew=parseInt(e.offsetWidth);var eh=parseInt(e.offsetHeight);var x,y;switch(p){case"tl":x=rep.absLeft;y=rep.absTop;break;case"tr":x=rep.absLeft+w;y=rep.absTop;break;case"bl":x=rep.absLeft;y=rep.absTop+h;break;case"br":x=rep.absLeft+w;y=rep.absTop+h;break;case"cc":x=rep.absLeft+(w/ 2) - (ew /2);y=rep.absTop+(h/ 2) - (eh /2);break}this.moveTo(x,y)},moveBy:function(x,y){var e=this.g!
 etElement();this.moveTo(parseInt(e.style.left)+x,parseInt(e.style.top)+y)},moveTo:function(x,y){var e=this.getElement();e.style.left=x+"px";e.style.top=y+"px";this.updateBlocker()},resizeBy:function(w,h){var e=this.getElement();this.resizeTo(parseInt(e.style.width)+w,parseInt(e.style.height)+h)},resizeTo:function(w,h){var e=this.getElement();if(w!=null)e.style.width=w+"px";if(h!=null)e.style.height=h+"px";this.updateBlocker()},show:function(){this.getElement().style.display='block';this.updateBlocker()},hide:function(){this.getElement().style.display='none';this.updateBlocker()},isVisible:function(){return this.getElement().style.display=='block'},getElement:function(){if(!this.element)this.element=this.doc.getElementById(this.id);return this.element},setBlockMode:function(s){this.blockMode=s},updateBlocker:function(){var e,b,x,y,w,h;b=this.getBlocker();if(b){if(this.blockMode){e=this.getElement();x=this.parseInt(e.style.left);y=this.parseInt(e.style.top);w=this.parseInt(e.!
 offsetWidth);h=this.parseInt(e.offsetHeight);b.style.left=x+'px';b.sty
le.top=y+'px';b.style.width=w+'px';b.style.height=h+'px';b.style.display=e.style.display}else b.style.display='none'}},getBlocker:function(){var d,b;if(!this.blockerElement&&this.blockMode){d=this.doc;b=d.getElementById(this.id+"_blocker");if(!b){b=d.createElement("iframe");b.setAttribute('id',this.id+"_blocker");b.style.cssText='display: none; position: absolute; left: 0; top: 0';b.src='javascript:false;';b.frameBorder='0';b.scrolling='no';d.body.appendChild(b)}this.blockerElement=b}return this.blockerElement},getAbsPosition:function(n){var p={absLeft:0,absTop:0};while(n){p.absLeft+=n.offsetLeft;p.absTop+=n.offsetTop;n=n.offsetParent}return p},create:function(n,c,p,h){var d=this.doc,e=d.createElement(n);e.setAttribute('id',this.id);if(c)e.className=c;if(!p)p=d.body;if(h)e.innerHTML=h;p.appendChild(e);return this.element=e},exists:function(){return this.doc.getElementById(this.id)!=null},parseInt:function(s){if(s==null||s=='')return 0;return parseInt(s)}};function TinyMCE_Me!
 nu(){var id;if(typeof(tinyMCE.menuCounter)=="undefined")tinyMCE.menuCounter=0;id="mc_menu_"+tinyMCE.menuCounter++;TinyMCE_Layer.call(this,id,true);this.id=id;this.items=new Array();this.needsUpdate=true};TinyMCE_Menu.prototype=tinyMCE.extend(TinyMCE_Layer.prototype,{init:function(s){var n;this.settings={separator_class:'mceMenuSeparator',title_class:'mceMenuTitle',disabled_class:'mceMenuDisabled',menu_class:'mceMenu',drop_menu:true};for(n in s)this.settings[n]=s[n];this.create('div',this.settings.menu_class)},clear:function(){this.items=new Array()},addTitle:function(t){this.add({type:'title',text:t})},addDisabled:function(t){this.add({type:'disabled',text:t})},addSeparator:function(){this.add({type:'separator'})},addItem:function(t,js){this.add({text:t,js:js})},add:function(mi){this.items[this.items.length]=mi;this.needsUpdate=true},update:function(){var e=this.getElement(),h='',i,t,m=this.items,s=this.settings;if(this.settings.drop_menu)h+='<span class="mceMenuLine"></spa!
 n>';h+='<table border="0" cellpadding="0" cellspacing="0">';for(i=0;i<
m.length;i++){t=tinyMCE.xmlEncode(m[i].text);c=m[i].class_name?' class="'+m[i].class_name+'"':'';switch(m[i].type){case'separator':h+='<tr class="'+s.separator_class+'"><td>';break;case'title':h+='<tr class="'+s.title_class+'"><td><span'+c+'>'+t+'</span>';break;case'disabled':h+='<tr class="'+s.disabled_class+'"><td><span'+c+'>'+t+'</span>';break;default:h+='<tr><td><a href="#" onclick="return tinyMCE.cancelEvent(event);" onmousedown="return tinyMCE.cancelEvent(event);" onmouseup="'+tinyMCE.xmlEncode(m[i].js)+';return tinyMCE.cancelEvent(event);"><span'+c+'>'+t+'</span></a>'}h+='</td></tr>'}h+='</table>';e.innerHTML=h;this.needsUpdate=false;this.updateBlocker()},show:function(){var nl,i;if(tinyMCE.lastMenu==this)return;if(this.needsUpdate)this.update();if(tinyMCE.lastMenu&&tinyMCE.lastMenu!=this)tinyMCE.lastMenu.hide();TinyMCE_Layer.prototype.show.call(this);if(!tinyMCE.isOpera){}tinyMCE.lastMenu=this}});if(!Function.prototype.call){Function.prototype.call=function(){var a=a!
 rguments,s=a[0],i,as='',r,o;for(i=1;i<a.length;i++)as+=(i>1?',':'')+'a['+i+']';o=s._fu;s._fu=this;r=eval('s._fu('+as+')');s._fu=o;return r}};TinyMCE_Engine.prototype.debug=function(){var m="",a,i,l=tinyMCE.log.length;for(i=0,a=this.debug.arguments;i<a.length;i++){m+=a[i];if(i<a.length-1)m+=', '}if(l<1000)tinyMCE.log[l]="[debug] "+m};
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce_popup.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce_popup.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce_popup.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,288 @@
+// Some global instances, this will be filled later
+var tinyMCE = null, tinyMCELang = null;
+
+function TinyMCE_Popup() {
+};
+
+TinyMCE_Popup.prototype = {
+	findWin : function(w) {
+		var c;
+
+		// Check parents
+		c = w;
+		while (c && (c = c.parent) != null) {
+			if (typeof(c.tinyMCE) != "undefined")
+				return c;
+		}
+
+		// Check openers
+		c = w;
+		while (c && (c = c.opener) != null) {
+			if (typeof(c.tinyMCE) != "undefined")
+				return c;
+		}
+
+		// Try top
+		if (typeof(top.tinyMCE) != "undefined")
+			return top;
+
+		return null;
+	},
+
+	init : function() {
+		var win = window.opener ? window.opener : window.dialogArguments, c;
+		var inst;
+
+		if (!win)
+			win = this.findWin(window);
+
+		if (!win) {
+			alert("tinyMCE object reference not found from popup.");
+			return;
+		}
+
+		window.opener = win;
+		this.windowOpener = win;
+		this.onLoadEval = "";
+
+		// Setup parent references
+		tinyMCE = win.tinyMCE;
+		tinyMCELang = win.tinyMCELang;
+
+		inst = tinyMCE.selectedInstance;
+		this.isWindow = tinyMCE.getWindowArg('mce_inside_iframe', false) == false;
+		this.storeSelection = (tinyMCE.isRealIE) && !this.isWindow && tinyMCE.getWindowArg('mce_store_selection', true);
+
+		if (this.isWindow)
+			window.focus();
+
+		// Store selection
+		if (this.storeSelection)
+			inst.selectionBookmark = inst.selection.getBookmark(true);
+
+		// Setup dir
+		if (tinyMCELang['lang_dir'])
+			document.dir = tinyMCELang['lang_dir'];
+
+		// Setup title
+		var re = new RegExp('{|\\\$|}', 'g');
+		var title = document.title.replace(re, "");
+		if (typeof tinyMCELang[title] != "undefined") {
+			var divElm = document.createElement("div");
+			divElm.innerHTML = tinyMCELang[title];
+			document.title = divElm.innerHTML;
+
+			if (tinyMCE.setWindowTitle != null)
+				tinyMCE.setWindowTitle(window, divElm.innerHTML);
+		}
+
+		// Output Popup CSS class
+		document.write('<link href="' + tinyMCE.getParam("popups_css") + '" rel="stylesheet" type="text/css">');
+
+		if (tinyMCE.getParam("popups_css_add")) {
+			c = tinyMCE.getParam("popups_css_add");
+
+			// Is relative
+			if (c.indexOf('://') == -1 && c.charAt(0) != '/')
+				c = tinyMCE.documentBasePath + "/" + c;
+
+			document.write('<link href="' + c + '" rel="stylesheet" type="text/css">');
+		}
+
+		tinyMCE.addEvent(window, "load", this.onLoad);
+	},
+
+	onLoad : function() {
+		var dir, i, elms, body = document.body;
+
+		if (tinyMCE.getWindowArg('mce_replacevariables', true))
+			body.innerHTML = tinyMCE.applyTemplate(body.innerHTML, tinyMCE.windowArgs);
+
+		dir = tinyMCE.selectedInstance.settings['directionality'];
+		if (dir == "rtl" && document.forms && document.forms.length > 0) {
+			elms = document.forms[0].elements;
+			for (i=0; i<elms.length; i++) {
+				if ((elms[i].type == "text" || elms[i].type == "textarea") && elms[i].getAttribute("dir") != "ltr")
+					elms[i].dir = dir;
+			}
+		}
+
+		if (body.style.display == 'none')
+			body.style.display = 'block';
+
+		// Execute real onload (Opera fix)
+		if (tinyMCEPopup.onLoadEval != "")
+			eval(tinyMCEPopup.onLoadEval);
+	},
+
+	executeOnLoad : function(str) {
+		if (tinyMCE.isOpera)
+			this.onLoadEval = str;
+		else
+			eval(str);
+	},
+
+	resizeToInnerSize : function() {
+		// Netscape 7.1 workaround
+		if (this.isWindow && tinyMCE.isNS71) {
+			window.resizeBy(0, 10);
+			return;
+		}
+
+		if (this.isWindow) {
+			var doc = document;
+			var body = doc.body;
+			var oldMargin, wrapper, iframe, nodes, dx, dy;
+
+			if (body.style.display == 'none')
+				body.style.display = 'block';
+
+			// Remove margin
+			oldMargin = body.style.margin;
+			body.style.margin = '0';
+
+			// Create wrapper
+			wrapper = doc.createElement("div");
+			wrapper.id = 'mcBodyWrapper';
+			wrapper.style.display = 'none';
+			wrapper.style.margin = '0';
+
+			// Wrap body elements
+			nodes = doc.body.childNodes;
+			for (var i=nodes.length-1; i>=0; i--) {
+				if (wrapper.hasChildNodes())
+					wrapper.insertBefore(nodes[i].cloneNode(true), wrapper.firstChild);
+				else
+					wrapper.appendChild(nodes[i].cloneNode(true));
+
+				nodes[i].parentNode.removeChild(nodes[i]);
+			}
+
+			// Add wrapper
+			doc.body.appendChild(wrapper);
+
+			// Create iframe
+			iframe = document.createElement("iframe");
+			iframe.id = "mcWinIframe";
+			iframe.src = document.location.href.toLowerCase().indexOf('https') == -1 ? "about:blank" : tinyMCE.settings['default_document'];
+			iframe.width = "100%";
+			iframe.height = "100%";
+			iframe.style.margin = '0';
+
+			// Add iframe
+			doc.body.appendChild(iframe);
+
+			// Measure iframe
+			iframe = document.getElementById('mcWinIframe');
+			dx = tinyMCE.getWindowArg('mce_width') - iframe.clientWidth;
+			dy = tinyMCE.getWindowArg('mce_height') - iframe.clientHeight;
+
+			// Resize window
+			// tinyMCE.debug(tinyMCE.getWindowArg('mce_width') + "," + tinyMCE.getWindowArg('mce_height') + " - " + dx + "," + dy);
+			window.resizeBy(dx, dy);
+
+			// Hide iframe and show wrapper
+			body.style.margin = oldMargin;
+			iframe.style.display = 'none';
+			wrapper.style.display = 'block';
+		}
+	},
+
+	resizeToContent : function() {
+		var isMSIE = (navigator.appName == "Microsoft Internet Explorer");
+		var isOpera = (navigator.userAgent.indexOf("Opera") != -1);
+
+		if (isOpera)
+			return;
+
+		if (isMSIE) {
+			try { window.resizeTo(10, 10); } catch (e) {}
+
+			var elm = document.body;
+			var width = elm.offsetWidth;
+			var height = elm.offsetHeight;
+			var dx = (elm.scrollWidth - width) + 4;
+			var dy = elm.scrollHeight - height;
+
+			try { window.resizeBy(dx, dy); } catch (e) {}
+		} else {
+			window.scrollBy(1000, 1000);
+			if (window.scrollX > 0 || window.scrollY > 0) {
+				window.resizeBy(window.innerWidth * 2, window.innerHeight * 2);
+				window.sizeToContent();
+				window.scrollTo(0, 0);
+				var x = parseInt(screen.width / 2.0) - (window.outerWidth / 2.0);
+				var y = parseInt(screen.height / 2.0) - (window.outerHeight / 2.0);
+				window.moveTo(x, y);
+			}
+		}
+	},
+
+	getWindowArg : function(name, default_value) {
+		return tinyMCE.getWindowArg(name, default_value);
+	},
+
+	restoreSelection : function() {
+		if (this.storeSelection) {
+			var inst = tinyMCE.selectedInstance;
+
+			inst.getWin().focus();
+
+			if (inst.selectionBookmark)
+				inst.selection.moveToBookmark(inst.selectionBookmark);
+		}
+	},
+
+	execCommand : function(command, user_interface, value) {
+		var inst = tinyMCE.selectedInstance;
+
+		this.restoreSelection();
+		inst.execCommand(command, user_interface, value);
+
+		// Store selection
+		if (this.storeSelection)
+			inst.selectionBookmark = inst.selection.getBookmark(true);
+	},
+
+	close : function() {
+		tinyMCE.closeWindow(window);
+	},
+
+	pickColor : function(e, element_id) {
+		tinyMCE.selectedInstance.execCommand('mceColorPicker', true, {
+			element_id : element_id,
+			document : document,
+			window : window,
+			store_selection : false
+		});
+	},
+
+	openBrowser : function(element_id, type, option) {
+		var cb = tinyMCE.getParam(option, tinyMCE.getParam("file_browser_callback"));
+		var url = document.getElementById(element_id).value;
+
+		tinyMCE.setWindowArg("window", window);
+		tinyMCE.setWindowArg("document", document);
+
+		// Call to external callback
+		if (eval('typeof(tinyMCEPopup.windowOpener.' + cb + ')') == "undefined")
+			alert("Callback function: " + cb + " could not be found.");
+		else
+			eval("tinyMCEPopup.windowOpener." + cb + "(element_id, url, type, window);");
+	},
+
+	importClass : function(c) {
+		window[c] = function() {};
+
+		for (var n in window.opener[c].prototype)
+			window[c].prototype[n] = window.opener[c].prototype[n];
+
+		window[c].constructor = window.opener[c].constructor;
+	}
+
+	};
+
+// Setup global instance
+var tinyMCEPopup = new TinyMCE_Popup();
+
+tinyMCEPopup.init();

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce_src.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce_src.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/tiny_mce_src.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,7284 @@
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_Engine.class.js */
+
+function TinyMCE_Engine() {
+	var ua;
+
+	this.majorVersion = "2";
+	this.minorVersion = "0.8";
+	this.releaseDate = "2006-10-23";
+
+	this.instances = new Array();
+	this.switchClassCache = new Array();
+	this.windowArgs = new Array();
+	this.loadedFiles = new Array();
+	this.pendingFiles = new Array();
+	this.loadingIndex = 0;
+	this.configs = new Array();
+	this.currentConfig = 0;
+	this.eventHandlers = new Array();
+	this.log = new Array();
+	this.undoLevels = [];
+	this.undoIndex = 0;
+	this.typingUndoIndex = -1;
+
+	// Browser check
+	ua = navigator.userAgent;
+	this.isMSIE = (navigator.appName == "Microsoft Internet Explorer");
+	this.isMSIE5 = this.isMSIE && (ua.indexOf('MSIE 5') != -1);
+	this.isMSIE5_0 = this.isMSIE && (ua.indexOf('MSIE 5.0') != -1);
+	this.isMSIE7 = this.isMSIE && (ua.indexOf('MSIE 7') != -1);
+	this.isGecko = ua.indexOf('Gecko') != -1;
+	this.isSafari = ua.indexOf('Safari') != -1;
+	this.isOpera = ua.indexOf('Opera') != -1;
+	this.isMac = ua.indexOf('Mac') != -1;
+	this.isNS7 = ua.indexOf('Netscape/7') != -1;
+	this.isNS71 = ua.indexOf('Netscape/7.1') != -1;
+	this.dialogCounter = 0;
+	this.plugins = new Array();
+	this.themes = new Array();
+	this.menus = new Array();
+	this.loadedPlugins = new Array();
+	this.buttonMap = new Array();
+	this.isLoaded = false;
+
+	// Fake MSIE on Opera and if Opera fakes IE, Gecko or Safari cancel those
+	if (this.isOpera) {
+		this.isMSIE = true;
+		this.isGecko = false;
+		this.isSafari =  false;
+	}
+
+	this.isIE = this.isMSIE;
+	this.isRealIE = this.isMSIE && !this.isOpera;
+
+	// TinyMCE editor id instance counter
+	this.idCounter = 0;
+};
+
+TinyMCE_Engine.prototype = {
+	init : function(settings) {
+		var theme, nl, baseHREF = "", i;
+
+		// IE 5.0x is no longer supported since 5.5, 6.0 and 7.0 now exists. We can't support old browsers forever, sorry.
+		if (this.isMSIE5_0)
+			return;
+
+		this.settings = settings;
+
+		// Check if valid browser has execcommand support
+		if (typeof(document.execCommand) == 'undefined')
+			return;
+
+		// Get script base path
+		if (!tinyMCE.baseURL) {
+			var elements = document.getElementsByTagName('script');
+
+			// If base element found, add that infront of baseURL
+			nl = document.getElementsByTagName('base');
+			for (i=0; i<nl.length; i++) {
+				if (nl[i].href)
+					baseHREF = nl[i].href;
+			}
+
+			for (var i=0; i<elements.length; i++) {
+				if (elements[i].src && (elements[i].src.indexOf("tiny_mce.js") != -1 || elements[i].src.indexOf("tiny_mce_dev.js") != -1 || elements[i].src.indexOf("tiny_mce_src.js") != -1 || elements[i].src.indexOf("tiny_mce_gzip") != -1)) {
+					var src = elements[i].src;
+
+					tinyMCE.srcMode = (src.indexOf('_src') != -1 || src.indexOf('_dev') != -1) ? '_src' : '';
+					tinyMCE.gzipMode = src.indexOf('_gzip') != -1;
+					src = src.substring(0, src.lastIndexOf('/'));
+
+					if (settings.exec_mode == "src" || settings.exec_mode == "normal")
+						tinyMCE.srcMode = settings.exec_mode == "src" ? '_src' : '';
+
+					// Force it absolute if page has a base href
+					if (baseHREF != "" && src.indexOf('://') == -1)
+						tinyMCE.baseURL = baseHREF + src;
+					else
+						tinyMCE.baseURL = src;
+
+					break;
+				}
+			}
+		}
+
+		// Get document base path
+		this.documentBasePath = document.location.href;
+		if (this.documentBasePath.indexOf('?') != -1)
+			this.documentBasePath = this.documentBasePath.substring(0, this.documentBasePath.indexOf('?'));
+		this.documentURL = this.documentBasePath;
+		this.documentBasePath = this.documentBasePath.substring(0, this.documentBasePath.lastIndexOf('/'));
+
+		// If not HTTP absolute
+		if (tinyMCE.baseURL.indexOf('://') == -1 && tinyMCE.baseURL.charAt(0) != '/') {
+			// If site absolute
+			tinyMCE.baseURL = this.documentBasePath + "/" + tinyMCE.baseURL;
+		}
+
+		// Set default values on settings
+		this._def("mode", "none");
+		this._def("theme", "advanced");
+		this._def("plugins", "", true);
+		this._def("language", "en");
+		this._def("docs_language", this.settings['language']);
+		this._def("elements", "");
+		this._def("textarea_trigger", "mce_editable");
+		this._def("editor_selector", "");
+		this._def("editor_deselector", "mceNoEditor");
+		this._def("valid_elements", "+a[id|style|rel|rev|charset|hreflang|dir|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],-strong/-b[class|style],-em/-i[class|style],-strike[class|style],-u[class|style],#p[id|style|dir|class|align],-ol[class|style],-ul[class|style],-li[class|style],br,img[id|dir|lang|longdesc|usemap|style|class|src|onmouseover|onmouseout|border|alt=|title|hspace|vspace|width|height|align],-sub[style|class],-sup[style|class],-blockquote[dir|style],-table[border=0|cellspacing|cellpadding|width|height|class|align|summary|style|dir|id|lang|bgcolor|background|bordercolor],-tr[id|lang|dir|class|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor],tbody[id|class],thead[id|class],tfoot[id|class],#td[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor|scope],-th[id|lang|dir|cl!
 ass|colspan|rowspan|width|height|align|valign|style|scope],caption[id|lang|dir|class|style],-div[id|dir|class|align|style],-span[style|class|align],-pre[class|align|style],address[class|align|style],-h1[id|style|dir|class|align],-h2[id|style|dir|class|align],-h3[id|style|dir|class|align],-h4[id|style|dir|class|align],-h5[id|style|dir|class|align],-h6[id|style|dir|class|align],hr[class|style],-font[face|size|style|id|class|dir|color],dd[id|class|title|style|dir|lang],dl[id|class|title|style|dir|lang],dt[id|class|title|style|dir|lang],cite[title|id|class|style|dir|lang],abbr[title|id|class|style|dir|lang],acronym[title|id|class|style|dir|lang],del[title|id|class|style|dir|lang|datetime|cite],ins[title|id|class|style|dir|lang|datetime|cite]");
+		this._def("extended_valid_elements", "");
+		this._def("invalid_elements", "");
+		this._def("encoding", "");
+		this._def("urlconverter_callback", tinyMCE.getParam("urlconvertor_callback", "TinyMCE_Engine.prototype.convertURL"));
+		this._def("save_callback", "");
+		this._def("debug", false);
+		this._def("force_br_newlines", false);
+		this._def("force_p_newlines", true);
+		this._def("add_form_submit_trigger", true);
+		this._def("relative_urls", true);
+		this._def("remove_script_host", true);
+		this._def("focus_alert", true);
+		this._def("document_base_url", this.documentURL);
+		this._def("visual", true);
+		this._def("visual_table_class", "mceVisualAid");
+		this._def("setupcontent_callback", "");
+		this._def("fix_content_duplication", true);
+		this._def("custom_undo_redo", true);
+		this._def("custom_undo_redo_levels", -1);
+		this._def("custom_undo_redo_keyboard_shortcuts", true);
+		this._def("custom_undo_redo_restore_selection", true);
+		this._def("custom_undo_redo_global", false);
+		this._def("verify_html", true);
+		this._def("apply_source_formatting", false);
+		this._def("directionality", "ltr");
+		this._def("cleanup_on_startup", false);
+		this._def("inline_styles", false);
+		this._def("convert_newlines_to_brs", false);
+		this._def("auto_reset_designmode", true);
+		this._def("entities", "39,#39,160,nbsp,161,iexcl,162,cent,163,pound,164,curren,165,yen,166,brvbar,167,sect,168,uml,169,copy,170,ordf,171,laquo,172,not,173,shy,174,reg,175,macr,176,deg,177,plusmn,178,sup2,179,sup3,180,acute,181,micro,182,para,183,middot,184,cedil,185,sup1,186,ordm,187,raquo,188,frac14,189,frac12,190,frac34,191,iquest,192,Agrave,193,Aacute,194,Acirc,195,Atilde,196,Auml,197,Aring,198,AElig,199,Ccedil,200,Egrave,201,Eacute,202,Ecirc,203,Euml,204,Igrave,205,Iacute,206,Icirc,207,Iuml,208,ETH,209,Ntilde,210,Ograve,211,Oacute,212,Ocirc,213,Otilde,214,Ouml,215,times,216,Oslash,217,Ugrave,218,Uacute,219,Ucirc,220,Uuml,221,Yacute,222,THORN,223,szlig,224,agrave,225,aacute,226,acirc,227,atilde,228,auml,229,aring,230,aelig,231,ccedil,232,egrave,233,eacute,234,ecirc,235,euml,236,igrave,237,iacute,238,icirc,239,iuml,240,eth,241,ntilde,242,ograve,243,oacute,244,ocirc,245,otilde,246,ouml,247,divide,248,oslash,249,ugrave,250,uacute,251,ucirc,252,uuml,253,yacute,254,thorn,25!
 5,yuml,402,fnof,913,Alpha,914,Beta,915,Gamma,916,Delta,917,Epsilon,918,Zeta,919,Eta,920,Theta,921,Iota,922,Kappa,923,Lambda,924,Mu,925,Nu,926,Xi,927,Omicron,928,Pi,929,Rho,931,Sigma,932,Tau,933,Upsilon,934,Phi,935,Chi,936,Psi,937,Omega,945,alpha,946,beta,947,gamma,948,delta,949,epsilon,950,zeta,951,eta,952,theta,953,iota,954,kappa,955,lambda,956,mu,957,nu,958,xi,959,omicron,960,pi,961,rho,962,sigmaf,963,sigma,964,tau,965,upsilon,966,phi,967,chi,968,psi,969,omega,977,thetasym,978,upsih,982,piv,8226,bull,8230,hellip,8242,prime,8243,Prime,8254,oline,8260,frasl,8472,weierp,8465,image,8476,real,8482,trade,8501,alefsym,8592,larr,8593,uarr,8594,rarr,8595,darr,8596,harr,8629,crarr,8656,lArr,8657,uArr,8658,rArr,8659,dArr,8660,hArr,8704,forall,8706,part,8707,exist,8709,empty,8711,nabla,8712,isin,8713,notin,8715,ni,8719,prod,8721,sum,8722,minus,8727,lowast,8730,radic,8733,prop,8734,infin,8736,ang,8743,and,8744,or,8745,cap,8746,cup,8747,int,8756,there4,8764,sim,8773,cong,8776,asymp,880!
 0,ne,8801,equiv,8804,le,8805,ge,8834,sub,8835,sup,8836,nsub,8838,sube,
8839,supe,8853,oplus,8855,otimes,8869,perp,8901,sdot,8968,lceil,8969,rceil,8970,lfloor,8971,rfloor,9001,lang,9002,rang,9674,loz,9824,spades,9827,clubs,9829,hearts,9830,diams,34,quot,38,amp,60,lt,62,gt,338,OElig,339,oelig,352,Scaron,353,scaron,376,Yuml,710,circ,732,tilde,8194,ensp,8195,emsp,8201,thinsp,8204,zwnj,8205,zwj,8206,lrm,8207,rlm,8211,ndash,8212,mdash,8216,lsquo,8217,rsquo,8218,sbquo,8220,ldquo,8221,rdquo,8222,bdquo,8224,dagger,8225,Dagger,8240,permil,8249,lsaquo,8250,rsaquo,8364,euro", true);
+		this._def("entity_encoding", "named");
+		this._def("cleanup_callback", "");
+		this._def("add_unload_trigger", true);
+		this._def("ask", false);
+		this._def("nowrap", false);
+		this._def("auto_resize", false);
+		this._def("auto_focus", false);
+		this._def("cleanup", true);
+		this._def("remove_linebreaks", true);
+		this._def("button_tile_map", false);
+		this._def("submit_patch", true);
+		this._def("browsers", "msie,safari,gecko,opera", true);
+		this._def("dialog_type", "window");
+		this._def("accessibility_warnings", true);
+		this._def("accessibility_focus", true);
+		this._def("merge_styles_invalid_parents", "");
+		this._def("force_hex_style_colors", true);
+		this._def("trim_span_elements", true);
+		this._def("convert_fonts_to_spans", false);
+		this._def("doctype", '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">');
+		this._def("font_size_classes", '');
+		this._def("font_size_style_values", 'xx-small,x-small,small,medium,large,x-large,xx-large', true);
+		this._def("event_elements", 'a,img', true);
+		this._def("convert_urls", true);
+		this._def("table_inline_editing", false);
+		this._def("object_resizing", true);
+		this._def("custom_shortcuts", true);
+		this._def("convert_on_click", false);
+		this._def("content_css", '');
+		this._def("fix_list_elements", false);
+		this._def("fix_table_elements", false);
+		this._def("strict_loading_mode", document.contentType == 'application/xhtml+xml');
+		this._def("hidden_tab_class", '');
+		this._def("display_tab_class", '');
+		this._def("gecko_spellcheck", false);
+
+		// Force strict loading mode to false on non Gecko browsers
+		if (this.isMSIE && !this.isOpera)
+			this.settings.strict_loading_mode = false;
+
+		// Browser check IE
+		if (this.isMSIE && this.settings['browsers'].indexOf('msie') == -1)
+			return;
+
+		// Browser check Gecko
+		if (this.isGecko && this.settings['browsers'].indexOf('gecko') == -1)
+			return;
+
+		// Browser check Safari
+		if (this.isSafari && this.settings['browsers'].indexOf('safari') == -1)
+			return;
+
+		// Browser check Opera
+		if (this.isOpera && this.settings['browsers'].indexOf('opera') == -1)
+			return;
+
+		// If not super absolute make it so
+		baseHREF = tinyMCE.settings['document_base_url'];
+		var h = document.location.href;
+		var p = h.indexOf('://');
+		if (p > 0 && document.location.protocol != "file:") {
+			p = h.indexOf('/', p + 3);
+			h = h.substring(0, p);
+
+			if (baseHREF.indexOf('://') == -1)
+				baseHREF = h + baseHREF;
+
+			tinyMCE.settings['document_base_url'] = baseHREF;
+			tinyMCE.settings['document_base_prefix'] = h;
+		}
+
+		// Trim away query part
+		if (baseHREF.indexOf('?') != -1)
+			baseHREF = baseHREF.substring(0, baseHREF.indexOf('?'));
+
+		this.settings['base_href'] = baseHREF.substring(0, baseHREF.lastIndexOf('/')) + "/";
+
+		theme = this.settings['theme'];
+		this.inlineStrict = 'A|BR|SPAN|BDO|MAP|OBJECT|IMG|TT|I|B|BIG|SMALL|EM|STRONG|DFN|CODE|Q|SAMP|KBD|VAR|CITE|ABBR|ACRONYM|SUB|SUP|#text|#comment';
+		this.inlineTransitional = 'A|BR|SPAN|BDO|OBJECT|APPLET|IMG|MAP|IFRAME|TT|I|B|U|S|STRIKE|BIG|SMALL|FONT|BASEFONT|EM|STRONG|DFN|CODE|Q|SAMP|KBD|VAR|CITE|ABBR|ACRONYM|SUB|SUP|INPUT|SELECT|TEXTAREA|LABEL|BUTTON|#text|#comment';
+		this.blockElms = 'H[1-6]|P|DIV|ADDRESS|PRE|FORM|TABLE|LI|OL|UL|TD|BLOCKQUOTE|CENTER|DL|DT|DD|DIR|FIELDSET|FORM|NOSCRIPT|NOFRAMES|MENU|ISINDEX|SAMP';
+		this.blockRegExp = new RegExp("^(" + this.blockElms + ")$", "i");
+		this.posKeyCodes = new Array(13,45,36,35,33,34,37,38,39,40);
+		this.uniqueURL = 'javascript:TINYMCE_UNIQUEURL();'; // Make unique URL non real URL
+		this.uniqueTag = '<div id="mceTMPElement" style="display: none">TMP</div>';
+		this.callbacks = new Array('onInit', 'getInfo', 'getEditorTemplate', 'setupContent', 'onChange', 'onPageLoad', 'handleNodeChange', 'initInstance', 'execCommand', 'getControlHTML', 'handleEvent', 'cleanup');
+
+		// Theme url
+		this.settings['theme_href'] = tinyMCE.baseURL + "/themes/" + theme;
+
+		if (!tinyMCE.isIE || tinyMCE.isOpera)
+			this.settings['force_br_newlines'] = false;
+
+		if (tinyMCE.getParam("popups_css", false)) {
+			var cssPath = tinyMCE.getParam("popups_css", "");
+
+			// Is relative
+			if (cssPath.indexOf('://') == -1 && cssPath.charAt(0) != '/')
+				this.settings['popups_css'] = this.documentBasePath + "/" + cssPath;
+			else
+				this.settings['popups_css'] = cssPath;
+		} else
+			this.settings['popups_css'] = tinyMCE.baseURL + "/themes/" + theme + "/css/editor_popup.css";
+
+		if (tinyMCE.getParam("editor_css", false)) {
+			var cssPath = tinyMCE.getParam("editor_css", "");
+
+			// Is relative
+			if (cssPath.indexOf('://') == -1 && cssPath.charAt(0) != '/')
+				this.settings['editor_css'] = this.documentBasePath + "/" + cssPath;
+			else
+				this.settings['editor_css'] = cssPath;
+		} else {
+			if (this.settings.editor_css != '')
+				this.settings['editor_css'] = tinyMCE.baseURL + "/themes/" + theme + "/css/editor_ui.css";
+		}
+
+		if (tinyMCE.settings['debug']) {
+			var msg = "Debug: \n";
+
+			msg += "baseURL: " + this.baseURL + "\n";
+			msg += "documentBasePath: " + this.documentBasePath + "\n";
+			msg += "content_css: " + this.settings['content_css'] + "\n";
+			msg += "popups_css: " + this.settings['popups_css'] + "\n";
+			msg += "editor_css: " + this.settings['editor_css'] + "\n";
+
+			alert(msg);
+		}
+
+		// Only do this once
+		if (this.configs.length == 0) {
+			if (typeof(TinyMCECompressed) == "undefined") {
+				tinyMCE.addEvent(window, "DOMContentLoaded", TinyMCE_Engine.prototype.onLoad);
+
+				if (tinyMCE.isRealIE) {
+					if (document.body)
+						tinyMCE.addEvent(document.body, "readystatechange", TinyMCE_Engine.prototype.onLoad);
+					else
+						tinyMCE.addEvent(document, "readystatechange", TinyMCE_Engine.prototype.onLoad);
+				}
+
+				tinyMCE.addEvent(window, "load", TinyMCE_Engine.prototype.onLoad);
+				tinyMCE._addUnloadEvents();
+			}
+		}
+
+		this.loadScript(tinyMCE.baseURL + '/themes/' + this.settings['theme'] + '/editor_template' + tinyMCE.srcMode + '.js');
+		this.loadScript(tinyMCE.baseURL + '/langs/' + this.settings['language'] +  '.js');
+		this.loadCSS(this.settings['editor_css']);
+
+		// Add plugins
+		var p = tinyMCE.getParam('plugins', '', true, ',');
+		if (p.length > 0) {
+			for (var i=0; i<p.length; i++) {
+				if (p[i].charAt(0) != '-')
+					this.loadScript(tinyMCE.baseURL + '/plugins/' + p[i] + '/editor_plugin' + tinyMCE.srcMode + '.js');
+			}
+		}
+
+		// Setup entities
+		if (tinyMCE.getParam('entity_encoding') == 'named') {
+			settings['cleanup_entities'] = new Array();
+			var entities = tinyMCE.getParam('entities', '', true, ',');
+			for (var i=0; i<entities.length; i+=2)
+				settings['cleanup_entities']['c' + entities[i]] = entities[i+1];
+		}
+
+		// Save away this config
+		settings['index'] = this.configs.length;
+		this.configs[this.configs.length] = settings;
+
+		// Start loading first one in chain
+		this.loadNextScript();
+
+		// Force flicker free CSS backgrounds in IE
+		if (this.isIE && !this.isOpera) {
+			try {
+				document.execCommand('BackgroundImageCache', false, true);
+			} catch (e) {
+			}
+		}
+	},
+
+	_addUnloadEvents : function() {
+		if (tinyMCE.isIE) {
+			if (tinyMCE.settings['add_unload_trigger']) {
+				tinyMCE.addEvent(window, "unload", TinyMCE_Engine.prototype.unloadHandler);
+				tinyMCE.addEvent(window.document, "beforeunload", TinyMCE_Engine.prototype.unloadHandler);
+			}
+		} else {
+			if (tinyMCE.settings['add_unload_trigger'])
+				tinyMCE.addEvent(window, "unload", function () {tinyMCE.triggerSave(true, true);});
+		}
+	},
+
+	_def : function(key, def_val, t) {
+		var v = tinyMCE.getParam(key, def_val);
+
+		v = t ? v.replace(/\s+/g, "") : v;
+
+		this.settings[key] = v;
+	},
+
+	hasPlugin : function(n) {
+		return typeof(this.plugins[n]) != "undefined" && this.plugins[n] != null;
+	},
+
+	addPlugin : function(n, p) {
+		var op = this.plugins[n];
+
+		// Use the previous plugin object base URL used when loading external plugins
+		p.baseURL = op ? op.baseURL : tinyMCE.baseURL + "/plugins/" + n;
+		this.plugins[n] = p;
+
+		this.loadNextScript();
+	},
+
+	setPluginBaseURL : function(n, u) {
+		var op = this.plugins[n];
+
+		if (op)
+			op.baseURL = u;
+		else
+			this.plugins[n] = {baseURL : u};
+	},
+
+	loadPlugin : function(n, u) {
+		u = u.indexOf('.js') != -1 ? u.substring(0, u.lastIndexOf('/')) : u;
+		u = u.charAt(u.length-1) == '/' ? u.substring(0, u.length-1) : u;
+		this.plugins[n] = {baseURL : u};
+		this.loadScript(u + "/editor_plugin" + (tinyMCE.srcMode ? '_src' : '') + ".js");
+	},
+
+	hasTheme : function(n) {
+		return typeof(this.themes[n]) != "undefined" && this.themes[n] != null;
+	},
+
+	addTheme : function(n, t) {
+		this.themes[n] = t;
+
+		this.loadNextScript();
+	},
+
+	addMenu : function(n, m) {
+		this.menus[n] = m;
+	},
+
+	hasMenu : function(n) {
+		return typeof(this.plugins[n]) != "undefined" && this.plugins[n] != null;
+	},
+
+	loadScript : function(url) {
+		var i;
+
+		for (i=0; i<this.loadedFiles.length; i++) {
+			if (this.loadedFiles[i] == url)
+				return;
+		}
+
+		if (tinyMCE.settings.strict_loading_mode)
+			this.pendingFiles[this.pendingFiles.length] = url;
+		else
+			document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></script>');
+
+		this.loadedFiles[this.loadedFiles.length] = url;
+	},
+
+	loadNextScript : function() {
+		var d = document, se;
+
+		if (!tinyMCE.settings.strict_loading_mode)
+			return;
+
+		if (this.loadingIndex < this.pendingFiles.length) {
+			se = d.createElementNS('http://www.w3.org/1999/xhtml', 'script');
+			se.setAttribute('language', 'javascript');
+			se.setAttribute('type', 'text/javascript');
+			se.setAttribute('src', this.pendingFiles[this.loadingIndex++]);
+
+			d.getElementsByTagName("head")[0].appendChild(se);
+		} else
+			this.loadingIndex = -1; // Done with loading
+	},
+
+	loadCSS : function(url) {
+		var ar = url.replace(/\s+/, '').split(',');
+		var lflen = 0, csslen = 0;
+		var skip = false;
+		var x = 0, i = 0, nl, le;
+
+		for (x = 0,csslen = ar.length; x<csslen; x++) {
+			if (ar[x] != null && ar[x] != 'null' && ar[x].length > 0) {
+				/* Make sure it doesn't exist. */
+				for (i=0, lflen=this.loadedFiles.length; i<lflen; i++) {
+					if (this.loadedFiles[i] == ar[x]) {
+						skip = true;
+						break;
+					}
+				}
+
+				if (!skip) {
+					if (tinyMCE.settings.strict_loading_mode) {
+						nl = document.getElementsByTagName("head");
+
+						le = document.createElement('link');
+						le.setAttribute('href', ar[x]);
+						le.setAttribute('rel', 'stylesheet');
+						le.setAttribute('type', 'text/css');
+
+						nl[0].appendChild(le);			
+					} else
+						document.write('<link href="' + ar[x] + '" rel="stylesheet" type="text/css" />');
+
+					this.loadedFiles[this.loadedFiles.length] = ar[x];
+				}
+			}
+		}
+	},
+
+	importCSS : function(doc, css) {
+		var css_ary = css.replace(/\s+/, '').split(',');
+		var csslen, elm, headArr, x, css_file;
+
+		for (x = 0, csslen = css_ary.length; x<csslen; x++) {
+			css_file = css_ary[x];
+
+			if (css_file != null && css_file != 'null' && css_file.length > 0) {
+				// Is relative, make absolute
+				if (css_file.indexOf('://') == -1 && css_file.charAt(0) != '/')
+					css_file = this.documentBasePath + "/" + css_file;
+
+				if (typeof(doc.createStyleSheet) == "undefined") {
+					elm = doc.createElement("link");
+
+					elm.rel = "stylesheet";
+					elm.href = css_file;
+
+					if ((headArr = doc.getElementsByTagName("head")) != null && headArr.length > 0)
+						headArr[0].appendChild(elm);
+				} else
+					doc.createStyleSheet(css_file);
+			}
+		}
+	},
+
+	confirmAdd : function(e, settings) {
+		var elm = tinyMCE.isIE ? event.srcElement : e.target;
+		var elementId = elm.name ? elm.name : elm.id;
+
+		tinyMCE.settings = settings;
+
+		if (tinyMCE.settings['convert_on_click'] || (!elm.getAttribute('mce_noask') && confirm(tinyMCELang['lang_edit_confirm'])))
+			tinyMCE.addMCEControl(elm, elementId);
+
+		elm.setAttribute('mce_noask', 'true');
+	},
+
+	updateContent : function(form_element_name) {
+		// Find MCE instance linked to given form element and copy it's value
+		var formElement = document.getElementById(form_element_name);
+		for (var n in tinyMCE.instances) {
+			var inst = tinyMCE.instances[n];
+			if (!tinyMCE.isInstance(inst))
+				continue;
+
+			inst.switchSettings();
+
+			if (inst.formElement == formElement) {
+				var doc = inst.getDoc();
+		
+				tinyMCE._setHTML(doc, inst.formElement.value);
+
+				if (!tinyMCE.isIE)
+					doc.body.innerHTML = tinyMCE._cleanupHTML(inst, doc, this.settings, doc.body, inst.visualAid);
+			}
+		}
+	},
+
+	addMCEControl : function(replace_element, form_element_name, target_document) {
+		var id = "mce_editor_" + tinyMCE.idCounter++;
+		var inst = new TinyMCE_Control(tinyMCE.settings);
+
+		inst.editorId = id;
+		this.instances[id] = inst;
+
+		inst._onAdd(replace_element, form_element_name, target_document);
+	},
+
+	removeInstance : function(ti) {
+		var t = [], n, i;
+
+		// Remove from instances
+		for (n in tinyMCE.instances) {
+			i = tinyMCE.instances[n];
+
+			if (tinyMCE.isInstance(i) && ti != i)
+					t[n] = i;
+		}
+
+		tinyMCE.instances = t;
+
+		// Remove from global undo/redo
+		n = [];
+		t = tinyMCE.undoLevels;
+
+		for (i=0; i<t.length; i++) {
+			if (t[i] != ti)
+				n.push(t[i]);
+		}
+
+		tinyMCE.undoLevels = n;
+		tinyMCE.undoIndex = n.length;
+
+		return ti;
+	},
+
+	removeMCEControl : function(editor_id) {
+		var inst = tinyMCE.getInstanceById(editor_id), h, re, ot, tn;
+
+		if (inst) {
+			inst.switchSettings();
+
+			editor_id = inst.editorId;
+			h = tinyMCE.getContent(editor_id);
+
+			this.removeInstance(inst);
+
+			tinyMCE.selectedElement = null;
+			tinyMCE.selectedInstance = null;
+
+			// Remove element
+			re = document.getElementById(editor_id + "_parent");
+			ot = inst.oldTargetElement;
+			tn = ot.nodeName.toLowerCase();
+
+			if (tn == "textarea" || tn == "input") {
+				re.parentNode.removeChild(re);
+				ot.style.display = "inline";
+				ot.value = h;
+			} else {
+				ot.innerHTML = h;
+				ot.style.display = 'block';
+				re.parentNode.insertBefore(ot, re);
+				re.parentNode.removeChild(re);
+			}
+		}
+	},
+
+	triggerSave : function(skip_cleanup, skip_callback) {
+		var inst, n;
+
+		// Default to false
+		if (typeof(skip_cleanup) == "undefined")
+			skip_cleanup = false;
+
+		// Default to false
+		if (typeof(skip_callback) == "undefined")
+			skip_callback = false;
+
+		// Cleanup and set all form fields
+		for (n in tinyMCE.instances) {
+			inst = tinyMCE.instances[n];
+
+			if (!tinyMCE.isInstance(inst))
+				continue;
+
+			inst.triggerSave(skip_cleanup, skip_callback);
+		}
+	},
+
+	resetForm : function(form_index) {
+		var i, inst, n, formObj = document.forms[form_index];
+
+		for (n in tinyMCE.instances) {
+			inst = tinyMCE.instances[n];
+
+			if (!tinyMCE.isInstance(inst))
+				continue;
+
+			inst.switchSettings();
+
+			for (i=0; i<formObj.elements.length; i++) {
+				if (inst.formTargetElementId == formObj.elements[i].name)
+					inst.getBody().innerHTML = inst.startContent;
+			}
+		}
+	},
+
+	execInstanceCommand : function(editor_id, command, user_interface, value, focus) {
+		var inst = tinyMCE.getInstanceById(editor_id), r;
+
+		if (inst) {
+			r = inst.selection.getRng();
+
+			if (typeof(focus) == "undefined")
+				focus = true;
+
+			// IE bug lost focus on images in absolute divs Bug #1534575
+			if (focus && (!r || !r.item))
+				inst.contentWindow.focus();
+
+			// Reset design mode if lost
+			inst.autoResetDesignMode();
+
+			this.selectedElement = inst.getFocusElement();
+			inst.select();
+			tinyMCE.execCommand(command, user_interface, value);
+
+			// Cancel event so it doesn't call onbeforeonunlaod
+			if (tinyMCE.isIE && window.event != null)
+				tinyMCE.cancelEvent(window.event);
+		}
+	},
+
+	execCommand : function(command, user_interface, value) {
+		var inst = tinyMCE.selectedInstance;
+
+		// Default input
+		user_interface = user_interface ? user_interface : false;
+		value = value ? value : null;
+
+		if (inst)
+			inst.switchSettings();
+
+		switch (command) {
+			case "Undo":
+				if (this.getParam('custom_undo_redo_global')) {
+					if (this.undoIndex > 0) {
+						tinyMCE.nextUndoRedoAction = 'Undo';
+						inst = this.undoLevels[--this.undoIndex];
+						inst.select();
+
+						if (!tinyMCE.nextUndoRedoInstanceId)
+							inst.execCommand('Undo');
+					}
+				} else
+					inst.execCommand('Undo');
+				return true;
+
+			case "Redo":
+				if (this.getParam('custom_undo_redo_global')) {
+					if (this.undoIndex <= this.undoLevels.length - 1) {
+						tinyMCE.nextUndoRedoAction = 'Redo';
+						inst = this.undoLevels[this.undoIndex++];
+						inst.select();
+
+						if (!tinyMCE.nextUndoRedoInstanceId)
+							inst.execCommand('Redo');
+					}
+				} else
+					inst.execCommand('Redo');
+
+				return true;
+
+			case 'mceFocus':
+				var inst = tinyMCE.getInstanceById(value);
+				if (inst)
+					inst.getWin().focus();
+			return;
+
+			case "mceAddControl":
+			case "mceAddEditor":
+				tinyMCE.addMCEControl(tinyMCE._getElementById(value), value);
+				return;
+
+			case "mceAddFrameControl":
+				tinyMCE.addMCEControl(tinyMCE._getElementById(value['element'], value['document']), value['element'], value['document']);
+				return;
+
+			case "mceRemoveControl":
+			case "mceRemoveEditor":
+				tinyMCE.removeMCEControl(value);
+				return;
+
+			case "mceResetDesignMode":
+				// Resets the designmode state of the editors in Gecko
+				if (!tinyMCE.isIE) {
+					for (var n in tinyMCE.instances) {
+						if (!tinyMCE.isInstance(tinyMCE.instances[n]))
+							continue;
+
+						try {
+							tinyMCE.instances[n].getDoc().designMode = "on";
+						} catch (e) {
+							// Ignore any errors
+						}
+					}
+				}
+
+				return;
+		}
+
+		if (inst) {
+			inst.execCommand(command, user_interface, value);
+		} else if (tinyMCE.settings['focus_alert'])
+			alert(tinyMCELang['lang_focus_alert']);
+	},
+
+	_createIFrame : function(replace_element, doc, win) {
+		var iframe, id = replace_element.getAttribute("id");
+		var aw, ah;
+
+		if (typeof(doc) == "undefined")
+			doc = document;
+
+		if (typeof(win) == "undefined")
+			win = window;
+
+		iframe = doc.createElement("iframe");
+
+		aw = "" + tinyMCE.settings['area_width'];
+		ah = "" + tinyMCE.settings['area_height'];
+
+		if (aw.indexOf('%') == -1) {
+			aw = parseInt(aw);
+			aw = (isNaN(aw) || aw < 0) ? 300 : aw;
+			aw = aw + "px";
+		}
+
+		if (ah.indexOf('%') == -1) {
+			ah = parseInt(ah);
+			ah = (isNaN(ah) || ah < 0) ? 240 : ah;
+			ah = ah + "px";
+		}
+
+		iframe.setAttribute("id", id);
+		iframe.setAttribute("name", id);
+		iframe.setAttribute("class", "mceEditorIframe");
+		iframe.setAttribute("border", "0");
+		iframe.setAttribute("frameBorder", "0");
+		iframe.setAttribute("marginWidth", "0");
+		iframe.setAttribute("marginHeight", "0");
+		iframe.setAttribute("leftMargin", "0");
+		iframe.setAttribute("topMargin", "0");
+		iframe.setAttribute("width", aw);
+		iframe.setAttribute("height", ah);
+		iframe.setAttribute("allowtransparency", "true");
+		iframe.className = 'mceEditorIframe';
+
+		if (tinyMCE.settings["auto_resize"])
+			iframe.setAttribute("scrolling", "no");
+
+		// Must have a src element in MSIE HTTPs breaks aswell as absoute URLs
+		if (tinyMCE.isRealIE)
+			iframe.setAttribute("src", this.settings['default_document']);
+
+		iframe.style.width = aw;
+		iframe.style.height = ah;
+
+		// Ugly hack for Gecko problem in strict mode
+		if (tinyMCE.settings.strict_loading_mode)
+			iframe.style.marginBottom = '-5px';
+
+		// MSIE 5.0 issue
+		if (tinyMCE.isRealIE)
+			replace_element.outerHTML = iframe.outerHTML;
+		else
+			replace_element.parentNode.replaceChild(iframe, replace_element);
+
+		if (tinyMCE.isRealIE)
+			return win.frames[id];
+		else
+			return iframe;
+	},
+
+	setupContent : function(editor_id) {
+		var inst = tinyMCE.instances[editor_id], i;
+		var doc = inst.getDoc();
+		var head = doc.getElementsByTagName('head').item(0);
+		var content = inst.startContent;
+
+		// HTML values get XML encoded in strict mode
+		if (tinyMCE.settings.strict_loading_mode) {
+			content = content.replace(/&lt;/g, '<');
+			content = content.replace(/&gt;/g, '>');
+			content = content.replace(/&quot;/g, '"');
+			content = content.replace(/&amp;/g, '&');
+		}
+
+		inst.switchSettings();
+
+		// Not loaded correctly hit it again, Mozilla bug #997860
+		if (!tinyMCE.isIE && tinyMCE.getParam("setupcontent_reload", false) && doc.title != "blank_page") {
+			// This part will remove the designMode status
+			// Failes first time in Firefox 1.5b2 on Mac
+			try {doc.location.href = tinyMCE.baseURL + "/blank.htm";} catch (ex) {}
+			window.setTimeout("tinyMCE.setupContent('" + editor_id + "');", 1000);
+			return;
+		}
+
+		if (!head) {
+			window.setTimeout("tinyMCE.setupContent('" + editor_id + "');", 10);
+			return;
+		}
+
+		// Import theme specific content CSS the user specific
+		tinyMCE.importCSS(inst.getDoc(), tinyMCE.baseURL + "/themes/" + inst.settings['theme'] + "/css/editor_content.css");
+		tinyMCE.importCSS(inst.getDoc(), inst.settings['content_css']);
+		tinyMCE.dispatchCallback(inst, 'init_instance_callback', 'initInstance', inst);
+
+		// Setup keyboard shortcuts
+		if (tinyMCE.getParam('custom_undo_redo_keyboard_shortcuts')) {
+			inst.addShortcut('ctrl', 'z', 'lang_undo_desc', 'Undo');
+			inst.addShortcut('ctrl', 'y', 'lang_redo_desc', 'Redo');
+		}
+
+		// BlockFormat shortcuts keys
+		for (i=1; i<=6; i++)
+			inst.addShortcut('ctrl', '' + i, '', 'FormatBlock', false, '<h' + i + '>');
+
+		inst.addShortcut('ctrl', '7', '', 'FormatBlock', false, '<p>');
+		inst.addShortcut('ctrl', '8', '', 'FormatBlock', false, '<div>');
+		inst.addShortcut('ctrl', '9', '', 'FormatBlock', false, '<address>');
+
+		// Add default shortcuts for gecko
+		if (tinyMCE.isGecko) {
+			inst.addShortcut('ctrl', 'b', 'lang_bold_desc', 'Bold');
+			inst.addShortcut('ctrl', 'i', 'lang_italic_desc', 'Italic');
+			inst.addShortcut('ctrl', 'u', 'lang_underline_desc', 'Underline');
+		}
+
+		// Setup span styles
+		if (tinyMCE.getParam("convert_fonts_to_spans"))
+			inst.getBody().setAttribute('id', 'mceSpanFonts');
+
+		if (tinyMCE.settings['nowrap'])
+			doc.body.style.whiteSpace = "nowrap";
+
+		doc.body.dir = this.settings['directionality'];
+		doc.editorId = editor_id;
+
+		// Add on document element in Mozilla
+		if (!tinyMCE.isIE)
+			doc.documentElement.editorId = editor_id;
+
+		inst.setBaseHREF(tinyMCE.settings['base_href']);
+
+		// Replace new line characters to BRs
+		if (tinyMCE.settings['convert_newlines_to_brs']) {
+			content = tinyMCE.regexpReplace(content, "\r\n", "<br />", "gi");
+			content = tinyMCE.regexpReplace(content, "\r", "<br />", "gi");
+			content = tinyMCE.regexpReplace(content, "\n", "<br />", "gi");
+		}
+
+		// Open closed anchors
+	//	content = content.replace(new RegExp('<a(.*?)/>', 'gi'), '<a$1></a>');
+
+		// Call custom cleanup code
+		content = tinyMCE.storeAwayURLs(content);
+		content = tinyMCE._customCleanup(inst, "insert_to_editor", content);
+
+		if (tinyMCE.isIE) {
+			// Ugly!!!
+			window.setInterval('try{tinyMCE.getCSSClasses(tinyMCE.instances["' + editor_id + '"].getDoc(), "' + editor_id + '");}catch(e){}', 500);
+
+			if (tinyMCE.settings["force_br_newlines"])
+				doc.styleSheets[0].addRule("p", "margin: 0;");
+
+			var body = inst.getBody();
+			body.editorId = editor_id;
+		}
+
+		content = tinyMCE.cleanupHTMLCode(content);
+
+		// Fix for bug #958637
+		if (!tinyMCE.isIE) {
+			var contentElement = inst.getDoc().createElement("body");
+			var doc = inst.getDoc();
+
+			contentElement.innerHTML = content;
+
+			// Remove weridness!
+			if (tinyMCE.isGecko && tinyMCE.settings['remove_lt_gt'])
+				content = content.replace(new RegExp('&lt;&gt;', 'g'), "");
+
+			if (tinyMCE.settings['cleanup_on_startup'])
+				tinyMCE.setInnerHTML(inst.getBody(), tinyMCE._cleanupHTML(inst, doc, this.settings, contentElement));
+			else
+				tinyMCE.setInnerHTML(inst.getBody(), content);
+
+			tinyMCE.convertAllRelativeURLs(inst.getBody());
+		} else {
+			if (tinyMCE.settings['cleanup_on_startup']) {
+				tinyMCE._setHTML(inst.getDoc(), content);
+
+				// Produces permission denied error in MSIE 5.5
+				eval('try {tinyMCE.setInnerHTML(inst.getBody(), tinyMCE._cleanupHTML(inst, inst.contentDocument, this.settings, inst.getBody()));} catch(e) {}');
+			} else
+				tinyMCE._setHTML(inst.getDoc(), content);
+		}
+
+		// Fix for bug #957681
+		//inst.getDoc().designMode = inst.getDoc().designMode;
+
+		// Setup element references
+		var parentElm = inst.targetDoc.getElementById(inst.editorId + '_parent');
+		inst.formElement = tinyMCE.isGecko ? parentElm.previousSibling : parentElm.nextSibling;
+
+		tinyMCE.handleVisualAid(inst.getBody(), true, tinyMCE.settings['visual'], inst);
+		tinyMCE.dispatchCallback(inst, 'setupcontent_callback', 'setupContent', editor_id, inst.getBody(), inst.getDoc());
+
+		// Re-add design mode on mozilla
+		if (!tinyMCE.isIE)
+			tinyMCE.addEventHandlers(inst);
+
+		// Add blur handler
+		if (tinyMCE.isIE) {
+			tinyMCE.addEvent(inst.getBody(), "blur", TinyMCE_Engine.prototype._eventPatch);
+			tinyMCE.addEvent(inst.getBody(), "beforedeactivate", TinyMCE_Engine.prototype._eventPatch); // Bug #1439953
+
+			// Workaround for drag drop/copy paste base href bug
+			if (!tinyMCE.isOpera) {
+				tinyMCE.addEvent(doc.body, "mousemove", TinyMCE_Engine.prototype.onMouseMove);
+				tinyMCE.addEvent(doc.body, "beforepaste", TinyMCE_Engine.prototype._eventPatch);
+				tinyMCE.addEvent(doc.body, "drop", TinyMCE_Engine.prototype._eventPatch);
+			}
+		}
+
+		// Trigger node change, this call locks buttons for tables and so forth
+		inst.select();
+		tinyMCE.selectedElement = inst.contentWindow.document.body;
+
+		// Call custom DOM cleanup
+		tinyMCE._customCleanup(inst, "insert_to_editor_dom", inst.getBody());
+		tinyMCE._customCleanup(inst, "setup_content_dom", inst.getBody());
+		tinyMCE._setEventsEnabled(inst.getBody(), false);
+		tinyMCE.cleanupAnchors(inst.getDoc());
+
+		if (tinyMCE.getParam("convert_fonts_to_spans"))
+			tinyMCE.convertSpansToFonts(inst.getDoc());
+
+		inst.startContent = tinyMCE.trim(inst.getBody().innerHTML);
+		inst.undoRedo.add({ content : inst.startContent });
+
+		// Cleanup any mess left from storyAwayURLs
+		if (tinyMCE.isGecko) {
+			// Remove mce_src from textnodes and comments
+			tinyMCE.selectNodes(inst.getBody(), function(n) {
+				if (n.nodeType == 3 || n.nodeType == 8)
+					n.nodeValue = n.nodeValue.replace(new RegExp('\\s(mce_src|mce_href)=\"[^\"]*\"', 'gi'), "");
+
+				return false;
+			});
+		}
+
+		// Remove Gecko spellchecking
+		if (tinyMCE.isGecko)
+			inst.getBody().spellcheck = tinyMCE.getParam("gecko_spellcheck");
+
+		// Cleanup any mess left from storyAwayURLs
+		tinyMCE._removeInternal(inst.getBody());
+
+		inst.select();
+		tinyMCE.triggerNodeChange(false, true);
+	},
+
+	storeAwayURLs : function(s) {
+		// Remove all mce_src, mce_href and replace them with new ones
+	//	s = s.replace(new RegExp('mce_src\\s*=\\s*\"[^ >\"]*\"', 'gi'), '');
+	//	s = s.replace(new RegExp('mce_href\\s*=\\s*\"[^ >\"]*\"', 'gi'), '');
+
+		if (!s.match(/(mce_src|mce_href)/gi, s)) {
+			s = s.replace(new RegExp('src\\s*=\\s*\"([^ >\"]*)\"', 'gi'), 'src="$1" mce_src="$1"');
+			s = s.replace(new RegExp('href\\s*=\\s*\"([^ >\"]*)\"', 'gi'), 'href="$1" mce_href="$1"');
+		}
+
+		return s;
+	},
+
+	_removeInternal : function(n) {
+		if (tinyMCE.isGecko) {
+			// Remove mce_src from textnodes and comments
+			tinyMCE.selectNodes(n, function(n) {
+				if (n.nodeType == 3 || n.nodeType == 8)
+					n.nodeValue = n.nodeValue.replace(new RegExp('\\s(mce_src|mce_href)=\"[^\"]*\"', 'gi'), "");
+
+				return false;
+			});
+		}
+	},
+
+	handleEvent : function(e) {
+		var inst = tinyMCE.selectedInstance;
+
+		// Remove odd, error
+		if (typeof(tinyMCE) == "undefined")
+			return true;
+
+		//tinyMCE.debug(e.type + " " + e.target.nodeName + " " + (e.relatedTarget ? e.relatedTarget.nodeName : ""));
+
+		if (tinyMCE.executeCallback(tinyMCE.selectedInstance, 'handle_event_callback', 'handleEvent', e))
+			return false;
+
+		switch (e.type) {
+			case "beforedeactivate": // Was added due to bug #1439953
+			case "blur":
+				if (tinyMCE.selectedInstance)
+					tinyMCE.selectedInstance.execCommand('mceEndTyping');
+
+				tinyMCE.hideMenus();
+
+				return;
+
+			// Workaround for drag drop/copy paste base href bug
+			case "drop":
+			case "beforepaste":
+				if (tinyMCE.selectedInstance)
+					tinyMCE.selectedInstance.setBaseHREF(null);
+
+				// Fixes odd MSIE bug where drag/droping elements in a iframe with height 100% breaks
+				// This logic forces the width/height to be in pixels while the user is drag/dropping
+				if (tinyMCE.isRealIE) {
+					var ife = tinyMCE.selectedInstance.iframeElement;
+
+					/*if (ife.style.width.indexOf('%') != -1) {
+						ife._oldWidth = ife.width.height;
+						ife.style.width = ife.clientWidth;
+					}*/
+
+					if (ife.style.height.indexOf('%') != -1) {
+						ife._oldHeight = ife.style.height;
+						ife.style.height = ife.clientHeight;
+					}
+				}
+
+				window.setTimeout("tinyMCE.selectedInstance.setBaseHREF(tinyMCE.settings['base_href']);tinyMCE._resetIframeHeight();", 1);
+				return;
+
+			case "submit":
+				tinyMCE.triggerSave();
+				tinyMCE.isNotDirty = true;
+				return;
+
+			case "reset":
+				var formObj = tinyMCE.isIE ? window.event.srcElement : e.target;
+
+				for (var i=0; i<document.forms.length; i++) {
+					if (document.forms[i] == formObj)
+						window.setTimeout('tinyMCE.resetForm(' + i + ');', 10);
+				}
+
+				return;
+
+			case "keypress":
+				if (inst && inst.handleShortcut(e))
+					return false;
+
+				if (e.target.editorId) {
+					tinyMCE.instances[e.target.editorId].select();
+				} else {
+					if (e.target.ownerDocument.editorId)
+						tinyMCE.instances[e.target.ownerDocument.editorId].select();
+				}
+
+				if (tinyMCE.selectedInstance)
+					tinyMCE.selectedInstance.switchSettings();
+
+				// Insert P element
+				if ((tinyMCE.isGecko || tinyMCE.isOpera || tinyMCE.isSafari) && tinyMCE.settings['force_p_newlines'] && e.keyCode == 13 && !e.shiftKey) {
+					// Insert P element instead of BR
+					if (TinyMCE_ForceParagraphs._insertPara(tinyMCE.selectedInstance, e)) {
+						// Cancel event
+						tinyMCE.execCommand("mceAddUndoLevel");
+						return tinyMCE.cancelEvent(e);
+					}
+				}
+
+				// Handle backspace
+				if ((tinyMCE.isGecko && !tinyMCE.isSafari) && tinyMCE.settings['force_p_newlines'] && (e.keyCode == 8 || e.keyCode == 46) && !e.shiftKey) {
+					// Insert P element instead of BR
+					if (TinyMCE_ForceParagraphs._handleBackSpace(tinyMCE.selectedInstance, e.type)) {
+						// Cancel event
+						tinyMCE.execCommand("mceAddUndoLevel");
+						return tinyMCE.cancelEvent(e);
+					}
+				}
+
+				// Return key pressed
+				if (tinyMCE.isIE && tinyMCE.settings['force_br_newlines'] && e.keyCode == 13) {
+					if (e.target.editorId)
+						tinyMCE.instances[e.target.editorId].select();
+
+					if (tinyMCE.selectedInstance) {
+						var sel = tinyMCE.selectedInstance.getDoc().selection;
+						var rng = sel.createRange();
+
+						if (tinyMCE.getParentElement(rng.parentElement(), "li") != null)
+							return false;
+
+						// Cancel event
+						e.returnValue = false;
+						e.cancelBubble = true;
+
+						// Insert BR element
+						rng.pasteHTML("<br />");
+						rng.collapse(false);
+						rng.select();
+
+						tinyMCE.execCommand("mceAddUndoLevel");
+						tinyMCE.triggerNodeChange(false);
+						return false;
+					}
+				}
+
+				// Backspace or delete
+				if (e.keyCode == 8 || e.keyCode == 46) {
+					tinyMCE.selectedElement = e.target;
+					tinyMCE.linkElement = tinyMCE.getParentElement(e.target, "a");
+					tinyMCE.imgElement = tinyMCE.getParentElement(e.target, "img");
+					tinyMCE.triggerNodeChange(false);
+				}
+
+				return false;
+			break;
+
+			case "keyup":
+			case "keydown":
+				tinyMCE.hideMenus();
+				tinyMCE.hasMouseMoved = false;
+
+				if (inst && inst.handleShortcut(e))
+					return false;
+
+				if (e.target.editorId)
+					tinyMCE.instances[e.target.editorId].select();
+
+				if (tinyMCE.selectedInstance)
+					tinyMCE.selectedInstance.switchSettings();
+
+				var inst = tinyMCE.selectedInstance;
+
+				// Handle backspace
+				if (tinyMCE.isGecko && tinyMCE.settings['force_p_newlines'] && (e.keyCode == 8 || e.keyCode == 46) && !e.shiftKey) {
+					// Insert P element instead of BR
+					if (TinyMCE_ForceParagraphs._handleBackSpace(tinyMCE.selectedInstance, e.type)) {
+						// Cancel event
+						tinyMCE.execCommand("mceAddUndoLevel");
+						e.preventDefault();
+						return false;
+					}
+				}
+
+				tinyMCE.selectedElement = null;
+				tinyMCE.selectedNode = null;
+				var elm = tinyMCE.selectedInstance.getFocusElement();
+				tinyMCE.linkElement = tinyMCE.getParentElement(elm, "a");
+				tinyMCE.imgElement = tinyMCE.getParentElement(elm, "img");
+				tinyMCE.selectedElement = elm;
+
+				// Update visualaids on tabs
+				if (tinyMCE.isGecko && e.type == "keyup" && e.keyCode == 9)
+					tinyMCE.handleVisualAid(tinyMCE.selectedInstance.getBody(), true, tinyMCE.settings['visual'], tinyMCE.selectedInstance);
+
+				// Fix empty elements on return/enter, check where enter occured
+				if (tinyMCE.isIE && e.type == "keydown" && e.keyCode == 13)
+					tinyMCE.enterKeyElement = tinyMCE.selectedInstance.getFocusElement();
+
+				// Fix empty elements on return/enter
+				if (tinyMCE.isIE && e.type == "keyup" && e.keyCode == 13) {
+					var elm = tinyMCE.enterKeyElement;
+					if (elm) {
+						var re = new RegExp('^HR|IMG|BR$','g'); // Skip these
+						var dre = new RegExp('^H[1-6]$','g'); // Add double on these
+
+						if (!elm.hasChildNodes() && !re.test(elm.nodeName)) {
+							if (dre.test(elm.nodeName))
+								elm.innerHTML = "&nbsp;&nbsp;";
+							else
+								elm.innerHTML = "&nbsp;";
+						}
+					}
+				}
+
+				// Check if it's a position key
+				var keys = tinyMCE.posKeyCodes;
+				var posKey = false;
+				for (var i=0; i<keys.length; i++) {
+					if (keys[i] == e.keyCode) {
+						posKey = true;
+						break;
+					}
+				}
+
+				// MSIE custom key handling
+				if (tinyMCE.isIE && tinyMCE.settings['custom_undo_redo']) {
+					var keys = new Array(8,46); // Backspace,Delete
+
+					for (var i=0; i<keys.length; i++) {
+						if (keys[i] == e.keyCode) {
+							if (e.type == "keyup")
+								tinyMCE.triggerNodeChange(false);
+						}
+					}
+				}
+
+				// If Ctrl key
+				if (e.keyCode == 17)
+					return true;
+
+				// Handle Undo/Redo when typing content
+
+				if (tinyMCE.isGecko) {
+					// Start typing (not a position key or ctrl key, but ctrl+x and ctrl+p is ok)
+					if (!posKey && e.type == "keyup" && !e.ctrlKey || (e.ctrlKey && (e.keyCode == 86 || e.keyCode == 88)))
+						tinyMCE.execCommand("mceStartTyping");
+				} else {
+					// IE seems to be working better with this setting
+					if (!posKey && e.type == "keyup")
+						tinyMCE.execCommand("mceStartTyping");
+				}
+
+				// Store undo bookmark
+				if (e.type == "keydown" && (posKey || e.ctrlKey) && inst)
+					inst.undoBookmark = inst.selection.getBookmark();
+
+				// End typing (position key) or some Ctrl event
+				if (e.type == "keyup" && (posKey || e.ctrlKey))
+					tinyMCE.execCommand("mceEndTyping");
+
+				if (posKey && e.type == "keyup")
+					tinyMCE.triggerNodeChange(false);
+
+				if (tinyMCE.isIE && e.ctrlKey)
+					window.setTimeout('tinyMCE.triggerNodeChange(false);', 1);
+			break;
+
+			case "mousedown":
+			case "mouseup":
+			case "click":
+			case "dblclick":
+			case "focus":
+				tinyMCE.hideMenus();
+
+				if (tinyMCE.selectedInstance) {
+					tinyMCE.selectedInstance.switchSettings();
+					tinyMCE.selectedInstance.isFocused = true;
+				}
+
+				// Check instance event trigged on
+				var targetBody = tinyMCE.getParentElement(e.target, "html");
+				for (var instanceName in tinyMCE.instances) {
+					if (!tinyMCE.isInstance(tinyMCE.instances[instanceName]))
+						continue;
+
+					var inst = tinyMCE.instances[instanceName];
+
+					// Reset design mode if lost (on everything just in case)
+					inst.autoResetDesignMode();
+
+					// Use HTML element since users might click outside of body element
+					if (inst.getBody().parentNode == targetBody) {
+						inst.select();
+						tinyMCE.selectedElement = e.target;
+						tinyMCE.linkElement = tinyMCE.getParentElement(tinyMCE.selectedElement, "a");
+						tinyMCE.imgElement = tinyMCE.getParentElement(tinyMCE.selectedElement, "img");
+						break;
+					}
+				}
+
+				// Add first bookmark location
+				if (!tinyMCE.selectedInstance.undoRedo.undoLevels[0].bookmark && (e.type == "mouseup" || e.type == "dblclick"))
+					tinyMCE.selectedInstance.undoRedo.undoLevels[0].bookmark = tinyMCE.selectedInstance.selection.getBookmark();
+
+				// Reset selected node
+				if (e.type != "focus")
+					tinyMCE.selectedNode = null;
+
+				tinyMCE.triggerNodeChange(false);
+				tinyMCE.execCommand("mceEndTyping");
+
+				if (e.type == "mouseup")
+					tinyMCE.execCommand("mceAddUndoLevel");
+
+				// Just in case
+				if (!tinyMCE.selectedInstance && e.target.editorId)
+					tinyMCE.instances[e.target.editorId].select();
+
+				return false;
+			break;
+		}
+	},
+
+	getButtonHTML : function(id, lang, img, cmd, ui, val) {
+		var h = '', m, x, io = '';
+
+		cmd = 'tinyMCE.execInstanceCommand(\'{$editor_id}\',\'' + cmd + '\'';
+
+		if (typeof(ui) != "undefined" && ui != null)
+			cmd += ',' + ui;
+
+		if (typeof(val) != "undefined" && val != null)
+			cmd += ",'" + val + "'";
+
+		cmd += ');';
+
+		// Patch for IE7 bug with hover out not restoring correctly
+		if (tinyMCE.isRealIE)
+			io = 'onmouseover="tinyMCE.lastHover = this;"';
+
+		// Use tilemaps when enabled and found and never in MSIE since it loads the tile each time from cache if cahce is disabled
+		if (tinyMCE.getParam('button_tile_map') && (!tinyMCE.isIE || tinyMCE.isOpera) && (m = this.buttonMap[id]) != null && (tinyMCE.getParam("language") == "en" || img.indexOf('$lang') == -1)) {
+			// Tiled button
+			x = 0 - (m * 20) == 0 ? '0' : 0 - (m * 20);
+			h += '<a id="{$editor_id}_' + id + '" href="javascript:' + cmd + '" onclick="' + cmd + 'return false;" onmousedown="return false;" ' + io + ' class="mceTiledButton mceButtonNormal" target="_self">';
+			h += '<img src="{$themeurl}/images/spacer.gif" style="background-position: ' + x + 'px 0" title="{$' + lang + '}" />';
+			h += '</a>';
+		} else {
+			// Normal button
+			h += '<a id="{$editor_id}_' + id + '" href="javascript:' + cmd + '" onclick="' + cmd + 'return false;" onmousedown="return false;" ' + io + ' class="mceButtonNormal" target="_self">';
+			h += '<img src="' + img + '" title="{$' + lang + '}" />';
+			h += '</a>';
+		}
+
+		return h;
+	},
+
+	getMenuButtonHTML : function(id, lang, img, mcmd, cmd, ui, val) {
+		var h = '', m, x;
+
+		mcmd = 'tinyMCE.execInstanceCommand(\'{$editor_id}\',\'' + mcmd + '\');';
+		cmd = 'tinyMCE.execInstanceCommand(\'{$editor_id}\',\'' + cmd + '\'';
+
+		if (typeof(ui) != "undefined" && ui != null)
+			cmd += ',' + ui;
+
+		if (typeof(val) != "undefined" && val != null)
+			cmd += ",'" + val + "'";
+
+		cmd += ');';
+
+		// Use tilemaps when enabled and found and never in MSIE since it loads the tile each time from cache if cahce is disabled
+		if (tinyMCE.getParam('button_tile_map') && (!tinyMCE.isIE || tinyMCE.isOpera) && (m = tinyMCE.buttonMap[id]) != null && (tinyMCE.getParam("language") == "en" || img.indexOf('$lang') == -1)) {
+			x = 0 - (m * 20) == 0 ? '0' : 0 - (m * 20);
+
+			if (tinyMCE.isRealIE)
+				h += '<span id="{$editor_id}_' + id + '" class="mceMenuButton" onmouseover="tinyMCE._menuButtonEvent(\'over\',this);tinyMCE.lastHover = this;" onmouseout="tinyMCE._menuButtonEvent(\'out\',this);">';
+			else
+				h += '<span id="{$editor_id}_' + id + '" class="mceMenuButton">';
+
+			h += '<a href="javascript:' + cmd + '" onclick="' + cmd + 'return false;" onmousedown="return false;" class="mceTiledButton mceMenuButtonNormal" target="_self">';
+			h += '<img src="{$themeurl}/images/spacer.gif" style="width: 20px; height: 20px; background-position: ' + x + 'px 0" title="{$' + lang + '}" /></a>';
+			h += '<a href="javascript:' + mcmd + '" onclick="' + mcmd + 'return false;" onmousedown="return false;"><img src="{$themeurl}/images/button_menu.gif" title="{$' + lang + '}" class="mceMenuButton" />';
+			h += '</a></span>';
+		} else {
+			if (tinyMCE.isRealIE)
+				h += '<span id="{$editor_id}_' + id + '" class="mceMenuButton" onmouseover="tinyMCE._menuButtonEvent(\'over\',this);tinyMCE.lastHover = this;" onmouseout="tinyMCE._menuButtonEvent(\'out\',this);">';
+			else
+				h += '<span id="{$editor_id}_' + id + '" class="mceMenuButton">';
+
+			h += '<a href="javascript:' + cmd + '" onclick="' + cmd + 'return false;" onmousedown="return false;" class="mceMenuButtonNormal" target="_self">';
+			h += '<img src="' + img + '" title="{$' + lang + '}" /></a>';
+			h += '<a href="javascript:' + mcmd + '" onclick="' + mcmd + 'return false;" onmousedown="return false;"><img src="{$themeurl}/images/button_menu.gif" title="{$' + lang + '}" class="mceMenuButton" />';
+			h += '</a></span>';
+		}
+
+		return h;
+	},
+
+	_menuButtonEvent : function(e, o) {
+		if (o.className == 'mceMenuButtonFocus')
+			return;
+
+		if (e == 'over')
+			o.className = o.className + ' mceMenuHover';
+		else
+			o.className = o.className.replace(/\s.*$/, '');
+	},
+
+	addButtonMap : function(m) {
+		var i, a = m.replace(/\s+/, '').split(',');
+
+		for (i=0; i<a.length; i++)
+			this.buttonMap[a[i]] = i;
+	},
+
+	submitPatch : function() {
+		tinyMCE.triggerSave();
+		tinyMCE.isNotDirty = true;
+		this.mceOldSubmit();
+	},
+
+	onLoad : function() {
+		var r;
+
+		// Wait for everything to be loaded first
+		if (tinyMCE.settings.strict_loading_mode && this.loadingIndex != -1) {
+			window.setTimeout('tinyMCE.onLoad();', 1);
+			return;
+		}
+
+		if (tinyMCE.isRealIE && window.event.type == "readystatechange" && document.readyState != "complete")
+			return true;
+
+		if (tinyMCE.isLoaded)
+			return true;
+
+		tinyMCE.isLoaded = true;
+
+		// IE produces JS error if TinyMCE is placed in a frame
+		// It seems to have something to do with the selection not beeing
+		// correctly initialized in IE so this hack solves the problem
+		if (tinyMCE.isRealIE && document.body) {
+			r = document.body.createTextRange();
+			r.collapse(true);
+			r.select();
+		}
+
+		tinyMCE.dispatchCallback(null, 'onpageload', 'onPageLoad');
+
+		for (var c=0; c<tinyMCE.configs.length; c++) {
+			tinyMCE.settings = tinyMCE.configs[c];
+
+			var selector = tinyMCE.getParam("editor_selector");
+			var deselector = tinyMCE.getParam("editor_deselector");
+			var elementRefAr = new Array();
+
+			// Add submit triggers
+			if (document.forms && tinyMCE.settings['add_form_submit_trigger'] && !tinyMCE.submitTriggers) {
+				for (var i=0; i<document.forms.length; i++) {
+					var form = document.forms[i];
+
+					tinyMCE.addEvent(form, "submit", TinyMCE_Engine.prototype.handleEvent);
+					tinyMCE.addEvent(form, "reset", TinyMCE_Engine.prototype.handleEvent);
+					tinyMCE.submitTriggers = true; // Do it only once
+
+					// Patch the form.submit function
+					if (tinyMCE.settings['submit_patch']) {
+						try {
+							form.mceOldSubmit = form.submit;
+							form.submit = TinyMCE_Engine.prototype.submitPatch;
+						} catch (e) {
+							// Do nothing
+						}
+					}
+				}
+			}
+
+			// Add editor instances based on mode
+			var mode = tinyMCE.settings['mode'];
+			switch (mode) {
+				case "exact":
+					var elements = tinyMCE.getParam('elements', '', true, ',');
+
+					for (var i=0; i<elements.length; i++) {
+						var element = tinyMCE._getElementById(elements[i]);
+						var trigger = element ? element.getAttribute(tinyMCE.settings['textarea_trigger']) : "";
+
+						if (new RegExp('\\b' + deselector + '\\b').test(tinyMCE.getAttrib(element, "class")))
+							continue;
+
+						if (trigger == "false")
+							continue;
+
+						if ((tinyMCE.settings['ask'] || tinyMCE.settings['convert_on_click']) && element) {
+							elementRefAr[elementRefAr.length] = element;
+							continue;
+						}
+
+						if (element)
+							tinyMCE.addMCEControl(element, elements[i]);
+						else if (tinyMCE.settings['debug'])
+							alert("Error: Could not find element by id or name: " + elements[i]);
+					}
+				break;
+
+				case "specific_textareas":
+				case "textareas":
+					var nodeList = document.getElementsByTagName("textarea");
+
+					for (var i=0; i<nodeList.length; i++) {
+						var elm = nodeList.item(i);
+						var trigger = elm.getAttribute(tinyMCE.settings['textarea_trigger']);
+
+						if (selector != '' && !new RegExp('\\b' + selector + '\\b').test(tinyMCE.getAttrib(elm, "class")))
+							continue;
+
+						if (selector != '')
+							trigger = selector != "" ? "true" : "";
+
+						if (new RegExp('\\b' + deselector + '\\b').test(tinyMCE.getAttrib(elm, "class")))
+							continue;
+
+						if ((mode == "specific_textareas" && trigger == "true") || (mode == "textareas" && trigger != "false"))
+							elementRefAr[elementRefAr.length] = elm;
+					}
+				break;
+			}
+
+			for (var i=0; i<elementRefAr.length; i++) {
+				var element = elementRefAr[i];
+				var elementId = element.name ? element.name : element.id;
+
+				if (tinyMCE.settings['ask'] || tinyMCE.settings['convert_on_click']) {
+					// Focus breaks in Mozilla
+					if (tinyMCE.isGecko) {
+						var settings = tinyMCE.settings;
+
+						tinyMCE.addEvent(element, "focus", function (e) {window.setTimeout(function() {TinyMCE_Engine.prototype.confirmAdd(e, settings);}, 10);});
+
+						if (element.nodeName != "TEXTAREA" && element.nodeName != "INPUT")
+							tinyMCE.addEvent(element, "click", function (e) {window.setTimeout(function() {TinyMCE_Engine.prototype.confirmAdd(e, settings);}, 10);});
+						// tinyMCE.addEvent(element, "mouseover", function (e) {window.setTimeout(function() {TinyMCE_Engine.prototype.confirmAdd(e, settings);}, 10);});
+					} else {
+						var settings = tinyMCE.settings;
+
+						tinyMCE.addEvent(element, "focus", function () { TinyMCE_Engine.prototype.confirmAdd(null, settings); });
+						tinyMCE.addEvent(element, "click", function () { TinyMCE_Engine.prototype.confirmAdd(null, settings); });
+						// tinyMCE.addEvent(element, "mouseenter", function () { TinyMCE_Engine.prototype.confirmAdd(null, settings); });
+					}
+				} else
+					tinyMCE.addMCEControl(element, elementId);
+			}
+
+			// Handle auto focus
+			if (tinyMCE.settings['auto_focus']) {
+				window.setTimeout(function () {
+					var inst = tinyMCE.getInstanceById(tinyMCE.settings['auto_focus']);
+					inst.selection.selectNode(inst.getBody(), true, true);
+					inst.contentWindow.focus();
+				}, 100);
+			}
+
+			tinyMCE.dispatchCallback(null, 'oninit', 'onInit');
+		}
+	},
+
+	isInstance : function(o) {
+		return o != null && typeof(o) == "object" && o.isTinyMCE_Control;
+	},
+
+	getParam : function(name, default_value, strip_whitespace, split_chr) {
+		var value = (typeof(this.settings[name]) == "undefined") ? default_value : this.settings[name];
+
+		// Fix bool values
+		if (value == "true" || value == "false")
+			return (value == "true");
+
+		if (strip_whitespace)
+			value = tinyMCE.regexpReplace(value, "[ \t\r\n]", "");
+
+		if (typeof(split_chr) != "undefined" && split_chr != null) {
+			value = value.split(split_chr);
+			var outArray = new Array();
+
+			for (var i=0; i<value.length; i++) {
+				if (value[i] && value[i] != "")
+					outArray[outArray.length] = value[i];
+			}
+
+			value = outArray;
+		}
+
+		return value;
+	},
+
+	getLang : function(name, default_value, parse_entities, va) {
+		var v = (typeof(tinyMCELang[name]) == "undefined") ? default_value : tinyMCELang[name], n;
+
+		if (parse_entities)
+			v = tinyMCE.entityDecode(v);
+
+		if (va) {
+			for (n in va)
+				v = this.replaceVar(v, n, va[n]);
+		}
+
+		return v;
+	},
+
+	entityDecode : function(s) {
+		var e = document.createElement("div");
+
+		e.innerHTML = s;
+
+		return e.firstChild.nodeValue;
+	},
+
+	addToLang : function(prefix, ar) {
+		for (var key in ar) {
+			if (typeof(ar[key]) == 'function')
+				continue;
+
+			tinyMCELang[(key.indexOf('lang_') == -1 ? 'lang_' : '') + (prefix != '' ? (prefix + "_") : '') + key] = ar[key];
+		}
+
+		this.loadNextScript();
+
+	//	for (var key in ar)
+	//		tinyMCELang[(key.indexOf('lang_') == -1 ? 'lang_' : '') + (prefix != '' ? (prefix + "_") : '') + key] = "|" + ar[key] + "|";
+	},
+
+	triggerNodeChange : function(focus, setup_content) {
+		if (tinyMCE.selectedInstance) {
+			var inst = tinyMCE.selectedInstance;
+			var editorId = inst.editorId;
+			var elm = (typeof(setup_content) != "undefined" && setup_content) ? tinyMCE.selectedElement : inst.getFocusElement();
+			var undoIndex = -1, doc;
+			var undoLevels = -1;
+			var anySelection = false;
+			var selectedText = inst.selection.getSelectedText();
+
+			if (tinyMCE.settings.auto_resize)
+				inst.resizeToContent();
+
+			if (setup_content && tinyMCE.isGecko && inst.isHidden())
+				elm = inst.getBody();
+
+			inst.switchSettings();
+
+			if (tinyMCE.selectedElement)
+				anySelection = (tinyMCE.selectedElement.nodeName.toLowerCase() == "img") || (selectedText && selectedText.length > 0);
+
+			if (tinyMCE.settings['custom_undo_redo']) {
+				undoIndex = inst.undoRedo.undoIndex;
+				undoLevels = inst.undoRedo.undoLevels.length;
+			}
+
+			tinyMCE.dispatchCallback(inst, 'handle_node_change_callback', 'handleNodeChange', editorId, elm, undoIndex, undoLevels, inst.visualAid, anySelection, setup_content);
+		}
+
+		if (this.selectedInstance && (typeof(focus) == "undefined" || focus))
+			this.selectedInstance.contentWindow.focus();
+	},
+
+	_customCleanup : function(inst, type, content) {
+		var pl, po, i;
+
+		// Call custom cleanup
+		var customCleanup = tinyMCE.settings['cleanup_callback'];
+		if (customCleanup != "" && eval("typeof(" + customCleanup + ")") != "undefined")
+			content = eval(customCleanup + "(type, content, inst);");
+
+		// Trigger theme cleanup
+		po = tinyMCE.themes[tinyMCE.settings['theme']];
+		if (po && po.cleanup)
+			content = po.cleanup(type, content, inst);
+
+		// Trigger plugin cleanups
+		pl = inst.plugins;
+		for (i=0; i<pl.length; i++) {
+			po = tinyMCE.plugins[pl[i]];
+
+			if (po && po.cleanup)
+				content = po.cleanup(type, content, inst);
+		}
+
+		return content;
+	},
+
+	setContent : function(h) {
+		if (tinyMCE.selectedInstance) {
+			tinyMCE.selectedInstance.execCommand('mceSetContent', false, h);
+			tinyMCE.selectedInstance.repaint();
+		}
+	},
+
+	importThemeLanguagePack : function(name) {
+		if (typeof(name) == "undefined")
+			name = tinyMCE.settings['theme'];
+
+		tinyMCE.loadScript(tinyMCE.baseURL + '/themes/' + name + '/langs/' + tinyMCE.settings['language'] + '.js');
+	},
+
+	importPluginLanguagePack : function(name) {
+		var b = tinyMCE.baseURL + '/plugins/' + name;
+
+		if (this.plugins[name])
+			b = this.plugins[name].baseURL;
+
+		tinyMCE.loadScript(b + '/langs/' + tinyMCE.settings['language'] +  '.js');
+	},
+
+	applyTemplate : function(h, as) {
+		return h.replace(new RegExp('\\{\\$([a-z0-9_]+)\\}', 'gi'), function(m, s) {
+			if (s.indexOf('lang_') == 0 && tinyMCELang[s])
+				return tinyMCELang[s];
+
+			if (as && as[s])
+				return as[s];
+
+			if (tinyMCE.settings[s])
+				return tinyMCE.settings[s];
+
+			if (m == 'themeurl')
+				return tinyMCE.themeURL;
+
+			return m;
+		});
+	},
+
+	replaceVar : function(h, r, v) {
+		return h.replace(new RegExp('{\\\$' + r + '}', 'g'), v);
+	},
+
+	openWindow : function(template, args) {
+		var html, width, height, x, y, resizable, scrollbars, url;
+
+		args['mce_template_file'] = template['file'];
+		args['mce_width'] = template['width'];
+		args['mce_height'] = template['height'];
+		tinyMCE.windowArgs = args;
+
+		html = template['html'];
+		if (!(width = parseInt(template['width'])))
+			width = 320;
+
+		if (!(height = parseInt(template['height'])))
+			height = 200;
+
+		// Add to height in M$ due to SP2 WHY DON'T YOU GUYS IMPLEMENT innerWidth of windows!!
+		if (tinyMCE.isIE)
+			height += 40;
+		else
+			height += 20;
+
+		x = parseInt(screen.width / 2.0) - (width / 2.0);
+		y = parseInt(screen.height / 2.0) - (height / 2.0);
+
+		resizable = (args && args['resizable']) ? args['resizable'] : "no";
+		scrollbars = (args && args['scrollbars']) ? args['scrollbars'] : "no";
+
+		if (template['file'].charAt(0) != '/' && template['file'].indexOf('://') == -1)
+			url = tinyMCE.baseURL + "/themes/" + tinyMCE.getParam("theme") + "/" + template['file'];
+		else
+			url = template['file'];
+
+		// Replace all args as variables in URL
+		for (var name in args) {
+			if (typeof(args[name]) == 'function')
+				continue;
+
+			url = tinyMCE.replaceVar(url, name, escape(args[name]));
+		}
+
+		if (html) {
+			html = tinyMCE.replaceVar(html, "css", this.settings['popups_css']);
+			html = tinyMCE.applyTemplate(html, args);
+
+			var win = window.open("", "mcePopup" + new Date().getTime(), "top=" + y + ",left=" + x + ",scrollbars=" + scrollbars + ",dialog=yes,minimizable=" + resizable + ",modal=yes,width=" + width + ",height=" + height + ",resizable=" + resizable);
+			if (win == null) {
+				alert(tinyMCELang['lang_popup_blocked']);
+				return;
+			}
+
+			win.document.write(html);
+			win.document.close();
+			win.resizeTo(width, height);
+			win.focus();
+		} else {
+			if ((tinyMCE.isRealIE) && resizable != 'yes' && tinyMCE.settings["dialog_type"] == "modal") {
+				height += 10;
+
+				var features = "resizable:" + resizable 
+					+ ";scroll:"
+					+ scrollbars + ";status:yes;center:yes;help:no;dialogWidth:"
+					+ width + "px;dialogHeight:" + height + "px;";
+
+				window.showModalDialog(url, window, features);
+			} else {
+				var modal = (resizable == "yes") ? "no" : "yes";
+
+				if (tinyMCE.isGecko && tinyMCE.isMac)
+					modal = "no";
+
+				if (template['close_previous'] != "no")
+					try {tinyMCE.lastWindow.close();} catch (ex) {}
+
+				var win = window.open(url, "mcePopup" + new Date().getTime(), "top=" + y + ",left=" + x + ",scrollbars=" + scrollbars + ",dialog=" + modal + ",minimizable=" + resizable + ",modal=" + modal + ",width=" + width + ",height=" + height + ",resizable=" + resizable);
+				if (win == null) {
+					alert(tinyMCELang['lang_popup_blocked']);
+					return;
+				}
+
+				if (template['close_previous'] != "no")
+					tinyMCE.lastWindow = win;
+
+				eval('try { win.resizeTo(width, height); } catch(e) { }');
+
+				// Make it bigger if statusbar is forced
+				if (tinyMCE.isGecko) {
+					if (win.document.defaultView.statusbar.visible)
+						win.resizeBy(0, tinyMCE.isMac ? 10 : 24);
+				}
+
+				win.focus();
+			}
+		}
+	},
+
+	closeWindow : function(win) {
+		win.close();
+	},
+
+	getVisualAidClass : function(class_name, state) {
+		var aidClass = tinyMCE.settings['visual_table_class'];
+
+		if (typeof(state) == "undefined")
+			state = tinyMCE.settings['visual'];
+
+		// Split
+		var classNames = new Array();
+		var ar = class_name.split(' ');
+		for (var i=0; i<ar.length; i++) {
+			if (ar[i] == aidClass)
+				ar[i] = "";
+
+			if (ar[i] != "")
+				classNames[classNames.length] = ar[i];
+		}
+
+		if (state)
+			classNames[classNames.length] = aidClass;
+
+		// Glue
+		var className = "";
+		for (var i=0; i<classNames.length; i++) {
+			if (i > 0)
+				className += " ";
+
+			className += classNames[i];
+		}
+
+		return className;
+	},
+
+	handleVisualAid : function(el, deep, state, inst, skip_dispatch) {
+		if (!el)
+			return;
+
+		if (!skip_dispatch)
+			tinyMCE.dispatchCallback(inst, 'handle_visual_aid_callback', 'handleVisualAid', el, deep, state, inst);
+
+		var tableElement = null;
+
+		switch (el.nodeName) {
+			case "TABLE":
+				var oldW = el.style.width;
+				var oldH = el.style.height;
+				var bo = tinyMCE.getAttrib(el, "border");
+
+				bo = bo == "" || bo == "0" ? true : false;
+
+				tinyMCE.setAttrib(el, "class", tinyMCE.getVisualAidClass(tinyMCE.getAttrib(el, "class"), state && bo));
+
+				el.style.width = oldW;
+				el.style.height = oldH;
+
+				for (var y=0; y<el.rows.length; y++) {
+					for (var x=0; x<el.rows[y].cells.length; x++) {
+						var cn = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(el.rows[y].cells[x], "class"), state && bo);
+						tinyMCE.setAttrib(el.rows[y].cells[x], "class", cn);
+					}
+				}
+
+				break;
+
+			case "A":
+				var anchorName = tinyMCE.getAttrib(el, "name");
+
+				if (anchorName != '' && state) {
+					el.title = anchorName;
+					tinyMCE.addCSSClass(el, 'mceItemAnchor');
+				} else if (anchorName != '' && !state)
+					el.className = '';
+
+				break;
+		}
+
+		if (deep && el.hasChildNodes()) {
+			for (var i=0; i<el.childNodes.length; i++)
+				tinyMCE.handleVisualAid(el.childNodes[i], deep, state, inst, true);
+		}
+	},
+
+	/*
+	applyClassesToFonts : function(doc, size) {
+		var f = doc.getElementsByTagName("font");
+		for (var i=0; i<f.length; i++) {
+			var s = tinyMCE.getAttrib(f[i], "size");
+
+			if (s != "")
+				tinyMCE.setAttrib(f[i], 'class', "mceItemFont" + s);
+		}
+
+		if (typeof(size) != "undefined") {
+			var css = "";
+
+			for (var x=0; x<doc.styleSheets.length; x++) {
+				for (var i=0; i<doc.styleSheets[x].rules.length; i++) {
+					if (doc.styleSheets[x].rules[i].selectorText == '#mceSpanFonts .mceItemFont' + size) {
+						css = doc.styleSheets[x].rules[i].style.cssText;
+						break;
+					}
+				}
+
+				if (css != "")
+					break;
+			}
+
+			if (doc.styleSheets[0].rules[0].selectorText == "FONT")
+				doc.styleSheets[0].removeRule(0);
+
+			doc.styleSheets[0].addRule("FONT", css, 0);
+		}
+	},
+	*/
+
+	fixGeckoBaseHREFBug : function(m, e, h) {
+		var xsrc, xhref;
+
+		if (tinyMCE.isGecko) {
+			if (m == 1) {
+				h = h.replace(/\ssrc=/gi, " mce_tsrc=");
+				h = h.replace(/\shref=/gi, " mce_thref=");
+
+				return h;
+			} else {
+				// Why bother if there is no src or href broken
+				if (!new RegExp('(src|href)=', 'g').test(h))
+					return h;
+
+				// Restore src and href that gets messed up by Gecko
+				tinyMCE.selectElements(e, 'A,IMG,SELECT,AREA,IFRAME,BASE,INPUT,SCRIPT,EMBED,OBJECT,LINK', function (n) {
+					xsrc = tinyMCE.getAttrib(n, "mce_tsrc");
+					xhref = tinyMCE.getAttrib(n, "mce_thref");
+
+					if (xsrc != "") {
+						try {
+							n.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], xsrc);
+						} catch (e) {
+							// Ignore, Firefox cast exception if local file wasn't found
+						}
+
+						n.removeAttribute("mce_tsrc");
+					}
+
+					if (xhref != "") {
+						try {
+							n.href = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], xhref);
+						} catch (e) {
+							// Ignore, Firefox cast exception if local file wasn't found
+						}
+
+						n.removeAttribute("mce_thref");
+					}
+
+					return false;
+				});
+
+				// Restore text/comment nodes
+				tinyMCE.selectNodes(e, function(n) {
+					if (n.nodeType == 3 || n.nodeType == 8) {
+						n.nodeValue = n.nodeValue.replace(/\smce_tsrc=/gi, " src=");
+						n.nodeValue = n.nodeValue.replace(/\smce_thref=/gi, " href=");
+					}
+
+					return false;
+				});
+			}
+		}
+
+		return h;
+	},
+
+	_setHTML : function(doc, html_content) {
+		// Force closed anchors open
+		//html_content = html_content.replace(new RegExp('<a(.*?)/>', 'gi'), '<a$1></a>');
+
+		html_content = tinyMCE.cleanupHTMLCode(html_content);
+
+		// Try innerHTML if it fails use pasteHTML in MSIE
+		try {
+			tinyMCE.setInnerHTML(doc.body, html_content);
+		} catch (e) {
+			if (this.isMSIE)
+				doc.body.createTextRange().pasteHTML(html_content);
+		}
+
+		// Content duplication bug fix
+		if (tinyMCE.isIE && tinyMCE.settings['fix_content_duplication']) {
+			// Remove P elements in P elements
+			var paras = doc.getElementsByTagName("P");
+			for (var i=0; i<paras.length; i++) {
+				var node = paras[i];
+				while ((node = node.parentNode) != null) {
+					if (node.nodeName == "P")
+						node.outerHTML = node.innerHTML;
+				}
+			}
+
+			// Content duplication bug fix (Seems to be word crap)
+			var html = doc.body.innerHTML;
+/*
+			if (html.indexOf('="mso') != -1) {
+				for (var i=0; i<doc.body.all.length; i++) {
+					var el = doc.body.all[i];
+					el.removeAttribute("className","",0);
+					el.removeAttribute("style","",0);
+				}
+
+				html = doc.body.innerHTML;
+				html = tinyMCE.regexpReplace(html, "<o:p><\/o:p>", "<br />");
+				html = tinyMCE.regexpReplace(html, "<o:p>&nbsp;<\/o:p>", "");
+				html = tinyMCE.regexpReplace(html, "<st1:.*?>", "");
+				html = tinyMCE.regexpReplace(html, "<p><\/p>", "");
+				html = tinyMCE.regexpReplace(html, "<p><\/p>\r\n<p><\/p>", "");
+				html = tinyMCE.regexpReplace(html, "<p>&nbsp;<\/p>", "<br />");
+				html = tinyMCE.regexpReplace(html, "<p>\s*(<p>\s*)?", "<p>");
+				html = tinyMCE.regexpReplace(html, "<\/p>\s*(<\/p>\s*)?", "</p>");
+			}*/
+
+			// Always set the htmlText output
+			tinyMCE.setInnerHTML(doc.body, html);
+		}
+
+		tinyMCE.cleanupAnchors(doc);
+
+		if (tinyMCE.getParam("convert_fonts_to_spans"))
+			tinyMCE.convertSpansToFonts(doc);
+	},
+
+	getEditorId : function(form_element) {
+		var inst = this.getInstanceById(form_element);
+		if (!inst)
+			return null;
+
+		return inst.editorId;
+	},
+
+	getInstanceById : function(editor_id) {
+		var inst = this.instances[editor_id];
+		if (!inst) {
+			for (var n in tinyMCE.instances) {
+				var instance = tinyMCE.instances[n];
+				if (!tinyMCE.isInstance(instance))
+					continue;
+
+				if (instance.formTargetElementId == editor_id) {
+					inst = instance;
+					break;
+				}
+			}
+		}
+
+		return inst;
+	},
+
+	queryInstanceCommandValue : function(editor_id, command) {
+		var inst = tinyMCE.getInstanceById(editor_id);
+		if (inst)
+			return inst.queryCommandValue(command);
+
+		return false;
+	},
+
+	queryInstanceCommandState : function(editor_id, command) {
+		var inst = tinyMCE.getInstanceById(editor_id);
+		if (inst)
+			return inst.queryCommandState(command);
+
+		return null;
+	},
+
+	setWindowArg : function(n, v) {
+		this.windowArgs[n] = v;
+	},
+
+	getWindowArg : function(n, d) {
+		return (typeof(this.windowArgs[n]) == "undefined") ? d : this.windowArgs[n];
+	},
+
+	getCSSClasses : function(editor_id, doc) {
+		var output = new Array();
+
+		// Is cached, use that
+		if (typeof(tinyMCE.cssClasses) != "undefined")
+			return tinyMCE.cssClasses;
+
+		if (typeof(editor_id) == "undefined" && typeof(doc) == "undefined") {
+			var instance;
+
+			for (var instanceName in tinyMCE.instances) {
+				instance = tinyMCE.instances[instanceName];
+				if (!tinyMCE.isInstance(instance))
+					continue;
+
+				break;
+			}
+
+			doc = instance.getDoc();
+		}
+
+		if (typeof(doc) == "undefined") {
+			var instance = tinyMCE.getInstanceById(editor_id);
+			doc = instance.getDoc();
+		}
+
+		if (doc) {
+			var styles = doc.styleSheets;
+
+			if (styles && styles.length > 0) {
+				for (var x=0; x<styles.length; x++) {
+					var csses = null;
+
+					// Just ignore any errors
+					eval("try {var csses = tinyMCE.isIE ? doc.styleSheets(" + x + ").rules : styles[" + x + "].cssRules;} catch(e) {}");
+					if (!csses)
+						return new Array();
+
+					for (var i=0; i<csses.length; i++) {
+						var selectorText = csses[i].selectorText;
+
+						// Can be multiple rules per selector
+						if (selectorText) {
+							var rules = selectorText.split(',');
+							for (var c=0; c<rules.length; c++) {
+								var rule = rules[c];
+
+								// Strip spaces between selectors
+								while (rule.indexOf(' ') == 0)
+									rule = rule.substring(1);
+
+								// Invalid rule
+								if (rule.indexOf(' ') != -1 || rule.indexOf(':') != -1 || rule.indexOf('mceItem') != -1)
+									continue;
+
+								if (rule.indexOf(tinyMCE.settings['visual_table_class']) != -1 || rule.indexOf('mceEditable') != -1 || rule.indexOf('mceNonEditable') != -1)
+									continue;
+
+								// Is class rule
+								if (rule.indexOf('.') != -1) {
+									var cssClass = rule.substring(rule.indexOf('.') + 1);
+									var addClass = true;
+
+									for (var p=0; p<output.length && addClass; p++) {
+										if (output[p] == cssClass)
+											addClass = false;
+									}
+
+									if (addClass)
+										output[output.length] = cssClass;
+								}
+							}
+						}
+					}
+				}
+			}
+		}
+
+		// Cache em
+		if (output.length > 0)
+			tinyMCE.cssClasses = output;
+
+		return output;
+	},
+
+	regexpReplace : function(in_str, reg_exp, replace_str, opts) {
+		if (in_str == null)
+			return in_str;
+
+		if (typeof(opts) == "undefined")
+			opts = 'g';
+
+		var re = new RegExp(reg_exp, opts);
+		return in_str.replace(re, replace_str);
+	},
+
+	trim : function(s) {
+		return s.replace(/^\s*|\s*$/g, "");
+	},
+
+	cleanupEventStr : function(s) {
+		s = "" + s;
+		s = s.replace('function anonymous()\n{\n', '');
+		s = s.replace('\n}', '');
+		s = s.replace(/^return true;/gi, ''); // Remove event blocker
+
+		return s;
+	},
+
+	getControlHTML : function(c) {
+		var i, l, n, o, v;
+
+		l = tinyMCE.plugins;
+		for (n in l) {
+			o = l[n];
+
+			if (o.getControlHTML && (v = o.getControlHTML(c)) != '')
+				return tinyMCE.replaceVar(v, "pluginurl", o.baseURL);
+		}
+
+		o = tinyMCE.themes[tinyMCE.settings['theme']];
+		if (o.getControlHTML && (v = o.getControlHTML(c)) != '')
+			return v;
+
+		return '';
+	},
+
+	evalFunc : function(f, idx, a, o) {
+		var s = '(', i;
+
+		for (i=idx; i<a.length; i++) {
+			s += 'a[' + i + ']';
+
+			if (i < a.length-1)
+				s += ',';
+		}
+
+		s += ');';
+
+		return o ? eval("o." + f + s) : eval("f" + s);
+	},
+
+	dispatchCallback : function(i, p, n) {
+		return this.callFunc(i, p, n, 0, this.dispatchCallback.arguments);
+	},
+
+	executeCallback : function(i, p, n) {
+		return this.callFunc(i, p, n, 1, this.executeCallback.arguments);
+	},
+
+	execCommandCallback : function(i, p, n) {
+		return this.callFunc(i, p, n, 2, this.execCommandCallback.arguments);
+	},
+
+	callFunc : function(ins, p, n, m, a) {
+		var l, i, on, o, s, v;
+
+		s = m == 2;
+
+		l = tinyMCE.getParam(p, '');
+
+		if (l != '' && (v = tinyMCE.evalFunc(typeof(l) == "function" ? l : eval(l), 3, a)) == s && m > 0)
+			return true;
+
+		if (ins != null) {
+			for (i=0, l = ins.plugins; i<l.length; i++) {
+				o = tinyMCE.plugins[l[i]];
+
+				if (o[n] && (v = tinyMCE.evalFunc(n, 3, a, o)) == s && m > 0)
+					return true;
+			}
+		}
+
+		l = tinyMCE.themes;
+		for (on in l) {
+			o = l[on];
+
+			if (o[n] && (v = tinyMCE.evalFunc(n, 3, a, o)) == s && m > 0)
+				return true;
+		}
+
+		return false;
+	},
+
+	xmlEncode : function(s) {
+		return s ? ('' + s).replace(new RegExp('[<>&"\']', 'g'), function (c, b) {
+			switch (c) {
+				case '&':
+					return '&amp;';
+
+				case '"':
+					return '&quot;';
+
+				case '\'':
+					return '&#39;'; // &apos; is not working in MSIE
+
+				case '<':
+					return '&lt;';
+
+				case '>':
+					return '&gt;';
+			}
+
+			return c;
+		}) : s;
+	},
+
+	extend : function(p, np) {
+		var o = {};
+
+		o.parent = p;
+
+		for (n in p)
+			o[n] = p[n];
+
+		for (n in np)
+			o[n] = np[n];
+
+		return o;
+	},
+
+	hideMenus : function() {
+		var e = tinyMCE.lastSelectedMenuBtn;
+
+		if (tinyMCE.lastMenu) {
+			tinyMCE.lastMenu.hide();
+			tinyMCE.lastMenu = null;
+		}
+
+		if (e) {
+			tinyMCE.switchClass(e, tinyMCE.lastMenuBtnClass);
+			tinyMCE.lastSelectedMenuBtn = null;
+		}
+	}
+
+	};
+
+// Global instances
+var TinyMCE = TinyMCE_Engine; // Compatiblity with gzip compressors
+var tinyMCE = new TinyMCE_Engine();
+var tinyMCELang = {};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_Control.class.js */
+
+function TinyMCE_Control(settings) {
+	var t, i, to, fu, p, x, fn, fu, pn, s = settings;
+
+	this.undoRedoLevel = true;
+	this.isTinyMCE_Control = true;
+
+	// Default settings
+	this.settings = s;
+	this.settings['theme'] = tinyMCE.getParam("theme", "default");
+	this.settings['width'] = tinyMCE.getParam("width", -1);
+	this.settings['height'] = tinyMCE.getParam("height", -1);
+	this.selection = new TinyMCE_Selection(this);
+	this.undoRedo = new TinyMCE_UndoRedo(this);
+	this.cleanup = new TinyMCE_Cleanup();
+	this.shortcuts = new Array();
+	this.hasMouseMoved = false;
+	this.foreColor = this.backColor = "#999999";
+	this.data = {};
+
+	this.cleanup.init({
+		valid_elements : s.valid_elements,
+		extended_valid_elements : s.extended_valid_elements,
+		valid_child_elements : s.valid_child_elements,
+		entities : s.entities,
+		entity_encoding : s.entity_encoding,
+		debug : s.cleanup_debug,
+		url_converter : 'TinyMCE_Cleanup.prototype._urlConverter',
+		indent : s.apply_source_formatting,
+		invalid_elements : s.invalid_elements,
+		verify_html : s.verify_html,
+		fix_content_duplication : s.fix_content_duplication
+	});
+
+	// Wrap old theme
+	t = this.settings['theme'];
+	if (!tinyMCE.hasTheme(t)) {
+		fn = tinyMCE.callbacks;
+		to = {};
+
+		for (i=0; i<fn.length; i++) {
+			if ((fu = window['TinyMCE_' + t + "_" + fn[i]]))
+				to[fn[i]] = fu;
+		}
+
+		tinyMCE.addTheme(t, to);
+	}
+
+	// Wrap old plugins
+	this.plugins = new Array();
+	p = tinyMCE.getParam('plugins', '', true, ',');
+	if (p.length > 0) {
+		for (i=0; i<p.length; i++) {
+			pn = p[i];
+
+			if (pn.charAt(0) == '-')
+				pn = pn.substring(1);
+
+			if (!tinyMCE.hasPlugin(pn)) {
+				fn = tinyMCE.callbacks;
+				to = {};
+
+				for (x=0; x<fn.length; x++) {
+					if ((fu = window['TinyMCE_' + pn + "_" + fn[x]]))
+						to[fn[x]] = fu;
+				}
+
+				tinyMCE.addPlugin(pn, to);
+			}
+
+			this.plugins[this.plugins.length] = pn; 
+		}
+	}
+};
+
+TinyMCE_Control.prototype = {
+	selection : null,
+
+	settings : null,
+
+	cleanup : null,
+
+	getData : function(na) {
+		var o = this.data[na];
+
+		if (!o)
+			o = this.data[na] = {};
+
+		return o;
+	},
+
+	hasPlugin : function(n) {
+		var i;
+
+		for (i=0; i<this.plugins.length; i++) {
+			if (this.plugins[i] == n)
+				return true;
+		}
+
+		return false;
+	},
+
+	addPlugin : function(n, p) {
+		if (!this.hasPlugin(n)) {
+			tinyMCE.addPlugin(n, p);
+			this.plugins[this.plugins.length] = n;
+		}
+	},
+
+	repaint : function() {
+		var s, b, ex;
+
+		if (tinyMCE.isRealIE)
+			return;
+
+		try {
+			s = this.selection;
+			b = s.getBookmark(true);
+			this.getBody().style.display = 'none';
+			this.getDoc().execCommand('selectall', false, null);
+			this.getSel().collapseToStart();
+			this.getBody().style.display = 'block';
+			s.moveToBookmark(b);
+		} catch (ex) {
+			// Ignore
+		}
+	},
+
+	switchSettings : function() {
+		if (tinyMCE.configs.length > 1 && tinyMCE.currentConfig != this.settings['index']) {
+			tinyMCE.settings = this.settings;
+			tinyMCE.currentConfig = this.settings['index'];
+		}
+	},
+
+	select : function() {
+		var oldInst = tinyMCE.selectedInstance;
+
+		if (oldInst != this) {
+			if (oldInst)
+				oldInst.execCommand('mceEndTyping');
+
+			tinyMCE.dispatchCallback(this, 'select_instance_callback', 'selectInstance', this, oldInst);
+			tinyMCE.selectedInstance = this;
+		}
+	},
+
+	getBody : function() {
+		return this.contentBody ? this.contentBody : this.getDoc().body;
+	},
+
+	getDoc : function() {
+//		return this.contentDocument ? this.contentDocument : this.contentWindow.document; // Removed due to IE 5.5 ?
+		return this.contentWindow.document;
+	},
+
+	getWin : function() {
+		return this.contentWindow;
+	},
+
+	getContainerWin : function() {
+		return this.containerWindow ? this.containerWindow : window;
+	},
+
+	getViewPort : function() {
+		return tinyMCE.getViewPort(this.getWin());
+	},
+
+	getParentNode : function(n, f) {
+		return tinyMCE.getParentNode(n, f, this.getBody());
+	},
+
+	getParentElement : function(n, na, f) {
+		return tinyMCE.getParentElement(n, na, f, this.getBody());
+	},
+
+	getParentBlockElement : function(n) {
+		return tinyMCE.getParentBlockElement(n, this.getBody());
+	},
+
+	resizeToContent : function() {
+		var d = this.getDoc(), b = d.body, de = d.documentElement;
+
+		this.iframeElement.style.height = (tinyMCE.isRealIE) ? b.scrollHeight : de.offsetHeight + 'px';
+	},
+
+	addShortcut : function(m, k, d, cmd, ui, va) {
+		var n = typeof(k) == "number", ie = tinyMCE.isIE, c, sc, i, scl = this.shortcuts;
+
+		if (!tinyMCE.getParam('custom_shortcuts'))
+			return false;
+
+		m = m.toLowerCase();
+		k = ie && !n ? k.toUpperCase() : k;
+		c = n ? null : k.charCodeAt(0);
+		d = d && d.indexOf('lang_') == 0 ? tinyMCE.getLang(d) : d;
+
+		sc = {
+			alt : m.indexOf('alt') != -1,
+			ctrl : m.indexOf('ctrl') != -1,
+			shift : m.indexOf('shift') != -1,
+			charCode : c,
+			keyCode : n ? k : (ie ? c : null),
+			desc : d,
+			cmd : cmd,
+			ui : ui,
+			val : va
+		};
+
+		for (i=0; i<scl.length; i++) {
+			if (sc.alt == scl[i].alt && sc.ctrl == scl[i].ctrl && sc.shift == scl[i].shift
+				&& sc.charCode == scl[i].charCode && sc.keyCode == scl[i].keyCode) {
+				return false;
+			}
+		}
+
+		scl[scl.length] = sc;
+
+		return true;
+	},
+
+	handleShortcut : function(e) {
+		var i, s = this.shortcuts, o;
+
+		for (i=0; i<s.length; i++) {
+			o = s[i];
+
+			if (o.alt == e.altKey && o.ctrl == e.ctrlKey && (o.keyCode == e.keyCode || o.charCode == e.charCode)) {
+				if (o.cmd && (e.type == "keydown" || (e.type == "keypress" && !tinyMCE.isOpera)))
+					tinyMCE.execCommand(o.cmd, o.ui, o.val);
+
+				tinyMCE.cancelEvent(e);
+				return true;
+			}
+		}
+
+		return false;
+	},
+
+	autoResetDesignMode : function() {
+		// Add fix for tab/style.display none/block problems in Gecko
+		if (!tinyMCE.isIE && this.isHidden() && tinyMCE.getParam('auto_reset_designmode'))
+			eval('try { this.getDoc().designMode = "On"; this.useCSS = false; } catch(e) {}');
+	},
+
+	isHidden : function() {
+		var s;
+
+		if (tinyMCE.isIE)
+			return false;
+
+		s = this.getSel();
+
+		// Weird, wheres that cursor selection?
+		return (!s || !s.rangeCount || s.rangeCount == 0);
+	},
+
+	isDirty : function() {
+		// Is content modified and not in a submit procedure
+		return tinyMCE.trim(this.startContent) != tinyMCE.trim(this.getBody().innerHTML) && !tinyMCE.isNotDirty;
+	},
+
+	_mergeElements : function(scmd, pa, ch, override) {
+		if (scmd == "removeformat") {
+			pa.className = "";
+			pa.style.cssText = "";
+			ch.className = "";
+			ch.style.cssText = "";
+			return;
+		}
+
+		var st = tinyMCE.parseStyle(tinyMCE.getAttrib(pa, "style"));
+		var stc = tinyMCE.parseStyle(tinyMCE.getAttrib(ch, "style"));
+		var className = tinyMCE.getAttrib(pa, "class");
+
+		// Removed class adding due to bug #1478272
+		className = tinyMCE.getAttrib(ch, "class");
+
+		if (override) {
+			for (var n in st) {
+				if (typeof(st[n]) == 'function')
+					continue;
+
+				stc[n] = st[n];
+			}
+		} else {
+			for (var n in stc) {
+				if (typeof(stc[n]) == 'function')
+					continue;
+
+				st[n] = stc[n];
+			}
+		}
+
+		tinyMCE.setAttrib(pa, "style", tinyMCE.serializeStyle(st));
+		tinyMCE.setAttrib(pa, "class", tinyMCE.trim(className));
+		ch.className = "";
+		ch.style.cssText = "";
+		ch.removeAttribute("class");
+		ch.removeAttribute("style");
+	},
+
+	_setUseCSS : function(b) {
+		var d = this.getDoc();
+
+		try {d.execCommand("useCSS", false, !b);} catch (ex) {}
+		try {d.execCommand("styleWithCSS", false, b);} catch (ex) {}
+
+		if (!tinyMCE.getParam("table_inline_editing"))
+			try {d.execCommand('enableInlineTableEditing', false, "false");} catch (ex) {}
+
+		if (!tinyMCE.getParam("object_resizing"))
+			try {d.execCommand('enableObjectResizing', false, "false");} catch (ex) {}
+	},
+
+	execCommand : function(command, user_interface, value) {
+		var doc = this.getDoc(), win = this.getWin(), focusElm = this.getFocusElement();
+
+		// Is not a undo specific command
+		if (!new RegExp('mceStartTyping|mceEndTyping|mceBeginUndoLevel|mceEndUndoLevel|mceAddUndoLevel', 'gi').test(command))
+			this.undoBookmark = null;
+
+		// Mozilla issue
+		if (!tinyMCE.isIE && !this.useCSS) {
+			this._setUseCSS(false);
+			this.useCSS = true;
+		}
+
+		//debug("command: " + command + ", user_interface: " + user_interface + ", value: " + value);
+		this.contentDocument = doc; // <-- Strange, unless this is applied Mozilla 1.3 breaks
+
+		if (tinyMCE.execCommandCallback(this, 'execcommand_callback', 'execCommand', this.editorId, this.getBody(), command, user_interface, value))
+			return;
+
+		// Fix align on images
+		if (focusElm && focusElm.nodeName == "IMG") {
+			var align = focusElm.getAttribute('align');
+			var img = command == "JustifyCenter" ? focusElm.cloneNode(false) : focusElm;
+
+			switch (command) {
+				case "JustifyLeft":
+					if (align == 'left')
+						img.removeAttribute('align');
+					else
+						img.setAttribute('align', 'left');
+
+					// Remove the div
+					var div = focusElm.parentNode;
+					if (div && div.nodeName == "DIV" && div.childNodes.length == 1 && div.parentNode)
+						div.parentNode.replaceChild(img, div);
+
+					this.selection.selectNode(img);
+					this.repaint();
+					tinyMCE.triggerNodeChange();
+					return;
+
+				case "JustifyCenter":
+					img.removeAttribute('align');
+
+					// Is centered
+					var div = tinyMCE.getParentElement(focusElm, "div");
+					if (div && div.style.textAlign == "center") {
+						// Remove div
+						if (div.nodeName == "DIV" && div.childNodes.length == 1 && div.parentNode)
+							div.parentNode.replaceChild(img, div);
+					} else {
+						// Add div
+						var div = this.getDoc().createElement("div");
+						div.style.textAlign = 'center';
+						div.appendChild(img);
+						focusElm.parentNode.replaceChild(div, focusElm);
+					}
+
+					this.selection.selectNode(img);
+					this.repaint();
+					tinyMCE.triggerNodeChange();
+					return;
+
+				case "JustifyRight":
+					if (align == 'right')
+						img.removeAttribute('align');
+					else
+						img.setAttribute('align', 'right');
+
+					// Remove the div
+					var div = focusElm.parentNode;
+					if (div && div.nodeName == "DIV" && div.childNodes.length == 1 && div.parentNode)
+						div.parentNode.replaceChild(img, div);
+
+					this.selection.selectNode(img);
+					this.repaint();
+					tinyMCE.triggerNodeChange();
+					return;
+			}
+		}
+
+		if (tinyMCE.settings['force_br_newlines']) {
+			var alignValue = "";
+
+			if (doc.selection.type != "Control") {
+				switch (command) {
+						case "JustifyLeft":
+							alignValue = "left";
+							break;
+
+						case "JustifyCenter":
+							alignValue = "center";
+							break;
+
+						case "JustifyFull":
+							alignValue = "justify";
+							break;
+
+						case "JustifyRight":
+							alignValue = "right";
+							break;
+				}
+
+				if (alignValue != "") {
+					var rng = doc.selection.createRange();
+
+					if ((divElm = tinyMCE.getParentElement(rng.parentElement(), "div")) != null)
+						divElm.setAttribute("align", alignValue);
+					else if (rng.pasteHTML && rng.htmlText.length > 0)
+						rng.pasteHTML('<div align="' + alignValue + '">' + rng.htmlText + "</div>");
+
+					tinyMCE.triggerNodeChange();
+					return;
+				}
+			}
+		}
+
+		switch (command) {
+			case "mceRepaint":
+				this.repaint();
+				return true;
+
+			case "unlink":
+				// Unlink if caret is inside link
+				if (tinyMCE.isGecko && this.getSel().isCollapsed) {
+					focusElm = tinyMCE.getParentElement(focusElm, 'A');
+
+					if (focusElm)
+						this.selection.selectNode(focusElm, false);
+				}
+
+				this.getDoc().execCommand(command, user_interface, value);
+
+				tinyMCE.isGecko && this.getSel().collapseToEnd();
+
+				tinyMCE.triggerNodeChange();
+
+				return true;
+
+			case "FormatBlock":
+				if (!this.cleanup.isValid(value))
+					return true;
+
+				this.getDoc().execCommand(command, user_interface, value);
+				tinyMCE.triggerNodeChange();
+				break;
+
+			case "InsertUnorderedList":
+			case "InsertOrderedList":
+				this.getDoc().execCommand(command, user_interface, value);
+				tinyMCE.triggerNodeChange();
+				break;
+
+			case "Strikethrough":
+				this.getDoc().execCommand(command, user_interface, value);
+				tinyMCE.triggerNodeChange();
+				break;
+
+			case "mceSelectNode":
+				this.selection.selectNode(value);
+				tinyMCE.triggerNodeChange();
+				tinyMCE.selectedNode = value;
+				break;
+
+			case "FormatBlock":
+				if (value == null || value == "") {
+					var elm = tinyMCE.getParentElement(this.getFocusElement(), "p,div,h1,h2,h3,h4,h5,h6,pre,address,blockquote,dt,dl,dd,samp");
+
+					if (elm)
+						this.execCommand("mceRemoveNode", false, elm);
+				} else {
+					if (tinyMCE.isGecko && new RegExp('<(div|blockquote|code|dt|dd|dl|samp)>', 'gi').test(value))
+						value = value.replace(/[^a-z]/gi, '');
+
+					if (tinyMCE.isIE && new RegExp('blockquote|code|samp', 'gi').test(value)) {
+						var b = this.selection.getBookmark();
+						this.getDoc().execCommand("FormatBlock", false, '<p>');
+						tinyMCE.renameElement(tinyMCE.getParentBlockElement(this.getFocusElement()), value);
+						this.selection.moveToBookmark(b);
+					} else
+						this.getDoc().execCommand("FormatBlock", false, value);
+				}
+
+				tinyMCE.triggerNodeChange();
+
+				break;
+
+			case "mceRemoveNode":
+				if (!value)
+					value = tinyMCE.getParentElement(this.getFocusElement());
+
+				if (tinyMCE.isIE) {
+					value.outerHTML = value.innerHTML;
+				} else {
+					var rng = value.ownerDocument.createRange();
+					rng.setStartBefore(value);
+					rng.setEndAfter(value);
+					rng.deleteContents();
+					rng.insertNode(rng.createContextualFragment(value.innerHTML));
+				}
+
+				tinyMCE.triggerNodeChange();
+
+				break;
+
+			case "mceSelectNodeDepth":
+				var parentNode = this.getFocusElement();
+				for (var i=0; parentNode; i++) {
+					if (parentNode.nodeName.toLowerCase() == "body")
+						break;
+
+					if (parentNode.nodeName.toLowerCase() == "#text") {
+						i--;
+						parentNode = parentNode.parentNode;
+						continue;
+					}
+
+					if (i == value) {
+						this.selection.selectNode(parentNode, false);
+						tinyMCE.triggerNodeChange();
+						tinyMCE.selectedNode = parentNode;
+						return;
+					}
+
+					parentNode = parentNode.parentNode;
+				}
+
+				break;
+
+			case "SetStyleInfo":
+				var rng = this.getRng();
+				var sel = this.getSel();
+				var scmd = value['command'];
+				var sname = value['name'];
+				var svalue = value['value'] == null ? '' : value['value'];
+				//var svalue = value['value'] == null ? '' : value['value'];
+				var wrapper = value['wrapper'] ? value['wrapper'] : "span";
+				var parentElm = null;
+				var invalidRe = new RegExp("^BODY|HTML$", "g");
+				var invalidParentsRe = tinyMCE.settings['merge_styles_invalid_parents'] != '' ? new RegExp(tinyMCE.settings['merge_styles_invalid_parents'], "gi") : null;
+
+				// Whole element selected check
+				if (tinyMCE.isIE) {
+					// Control range
+					if (rng.item)
+						parentElm = rng.item(0);
+					else {
+						var pelm = rng.parentElement();
+						var prng = doc.selection.createRange();
+						prng.moveToElementText(pelm);
+
+						if (rng.htmlText == prng.htmlText || rng.boundingWidth == 0) {
+							if (invalidParentsRe == null || !invalidParentsRe.test(pelm.nodeName))
+								parentElm = pelm;
+						}
+					}
+				} else {
+					var felm = this.getFocusElement();
+					if (sel.isCollapsed || (new RegExp('td|tr|tbody|table', 'gi').test(felm.nodeName) && sel.anchorNode == felm.parentNode))
+						parentElm = felm;
+				}
+
+				// Whole element selected
+				if (parentElm && !invalidRe.test(parentElm.nodeName)) {
+					if (scmd == "setstyle")
+						tinyMCE.setStyleAttrib(parentElm, sname, svalue);
+
+					if (scmd == "setattrib")
+						tinyMCE.setAttrib(parentElm, sname, svalue);
+
+					if (scmd == "removeformat") {
+						parentElm.style.cssText = '';
+						tinyMCE.setAttrib(parentElm, 'class', '');
+					}
+
+					// Remove style/attribs from all children
+					var ch = tinyMCE.getNodeTree(parentElm, new Array(), 1);
+					for (var z=0; z<ch.length; z++) {
+						if (ch[z] == parentElm)
+							continue;
+
+						if (scmd == "setstyle")
+							tinyMCE.setStyleAttrib(ch[z], sname, '');
+
+						if (scmd == "setattrib")
+							tinyMCE.setAttrib(ch[z], sname, '');
+
+						if (scmd == "removeformat") {
+							ch[z].style.cssText = '';
+							tinyMCE.setAttrib(ch[z], 'class', '');
+						}
+					}
+				} else {
+					this._setUseCSS(false); // Bug in FF when running in fullscreen
+					doc.execCommand("FontName", false, "#mce_temp_font#");
+					var elementArray = tinyMCE.getElementsByAttributeValue(this.getBody(), "font", "face", "#mce_temp_font#");
+
+					// Change them all
+					for (var x=0; x<elementArray.length; x++) {
+						elm = elementArray[x];
+						if (elm) {
+							var spanElm = doc.createElement(wrapper);
+
+							if (scmd == "setstyle")
+								tinyMCE.setStyleAttrib(spanElm, sname, svalue);
+
+							if (scmd == "setattrib")
+								tinyMCE.setAttrib(spanElm, sname, svalue);
+
+							if (scmd == "removeformat") {
+								spanElm.style.cssText = '';
+								tinyMCE.setAttrib(spanElm, 'class', '');
+							}
+
+							if (elm.hasChildNodes()) {
+								for (var i=0; i<elm.childNodes.length; i++)
+									spanElm.appendChild(elm.childNodes[i].cloneNode(true));
+							}
+
+							spanElm.setAttribute("mce_new", "true");
+							elm.parentNode.replaceChild(spanElm, elm);
+
+							// Remove style/attribs from all children
+							var ch = tinyMCE.getNodeTree(spanElm, new Array(), 1);
+							for (var z=0; z<ch.length; z++) {
+								if (ch[z] == spanElm)
+									continue;
+
+								if (scmd == "setstyle")
+									tinyMCE.setStyleAttrib(ch[z], sname, '');
+
+								if (scmd == "setattrib")
+									tinyMCE.setAttrib(ch[z], sname, '');
+
+								if (scmd == "removeformat") {
+									ch[z].style.cssText = '';
+									tinyMCE.setAttrib(ch[z], 'class', '');
+								}
+							}
+						}
+					}
+				}
+
+				// Cleaup wrappers
+				var nodes = doc.getElementsByTagName(wrapper);
+				for (var i=nodes.length-1; i>=0; i--) {
+					var elm = nodes[i];
+					var isNew = tinyMCE.getAttrib(elm, "mce_new") == "true";
+
+					elm.removeAttribute("mce_new");
+
+					// Is only child a element
+					if (elm.childNodes && elm.childNodes.length == 1 && elm.childNodes[0].nodeType == 1) {
+						//tinyMCE.debug("merge1" + isNew);
+						this._mergeElements(scmd, elm, elm.childNodes[0], isNew);
+						continue;
+					}
+
+					// Is I the only child
+					if (elm.parentNode.childNodes.length == 1 && !invalidRe.test(elm.nodeName) && !invalidRe.test(elm.parentNode.nodeName)) {
+						//tinyMCE.debug("merge2" + isNew + "," + elm.nodeName + "," + elm.parentNode.nodeName);
+						if (invalidParentsRe == null || !invalidParentsRe.test(elm.parentNode.nodeName))
+							this._mergeElements(scmd, elm.parentNode, elm, false);
+					}
+				}
+
+				// Remove empty wrappers
+				var nodes = doc.getElementsByTagName(wrapper);
+				for (var i=nodes.length-1; i>=0; i--) {
+					var elm = nodes[i];
+					var isEmpty = true;
+
+					// Check if it has any attribs
+					var tmp = doc.createElement("body");
+					tmp.appendChild(elm.cloneNode(false));
+
+					// Is empty span, remove it
+					tmp.innerHTML = tmp.innerHTML.replace(new RegExp('style=""|class=""', 'gi'), '');
+					//tinyMCE.debug(tmp.innerHTML);
+					if (new RegExp('<span>', 'gi').test(tmp.innerHTML)) {
+						for (var x=0; x<elm.childNodes.length; x++) {
+							if (elm.parentNode != null)
+								elm.parentNode.insertBefore(elm.childNodes[x].cloneNode(true), elm);
+						}
+
+						elm.parentNode.removeChild(elm);
+					}
+				}
+
+				// Re add the visual aids
+				if (scmd == "removeformat")
+					tinyMCE.handleVisualAid(this.getBody(), true, this.visualAid, this);
+
+				tinyMCE.triggerNodeChange();
+
+				break;
+
+			case "FontName":
+				if (value == null) {
+					var s = this.getSel();
+
+					// Find font and select it
+					if (tinyMCE.isGecko && s.isCollapsed) {
+						var f = tinyMCE.getParentElement(this.getFocusElement(), "font");
+
+						if (f != null)
+							this.selection.selectNode(f, false);
+					}
+
+					// Remove format
+					this.getDoc().execCommand("RemoveFormat", false, null);
+
+					// Collapse range if font was found
+					if (f != null && tinyMCE.isGecko) {
+						var r = this.getRng().cloneRange();
+						r.collapse(true);
+						s.removeAllRanges();
+						s.addRange(r);
+					}
+				} else
+					this.getDoc().execCommand('FontName', false, value);
+
+				if (tinyMCE.isGecko)
+					window.setTimeout('tinyMCE.triggerNodeChange(false);', 1);
+
+				return;
+
+			case "FontSize":
+				this.getDoc().execCommand('FontSize', false, value);
+
+				if (tinyMCE.isGecko)
+					window.setTimeout('tinyMCE.triggerNodeChange(false);', 1);
+
+				return;
+
+			case "forecolor":
+				value = value == null ? this.foreColor : value;
+				value = tinyMCE.trim(value);
+				value = value.charAt(0) != '#' ? (isNaN('0x' + value) ? value : '#' + value) : value;
+
+				this.foreColor = value;
+				this.getDoc().execCommand('forecolor', false, value);
+				break;
+
+			case "HiliteColor":
+				value = value == null ? this.backColor : value;
+				value = tinyMCE.trim(value);
+				value = value.charAt(0) != '#' ? (isNaN('0x' + value) ? value : '#' + value) : value;
+				this.backColor = value;
+
+				if (tinyMCE.isGecko) {
+					this._setUseCSS(true);
+					this.getDoc().execCommand('hilitecolor', false, value);
+					this._setUseCSS(false);
+				} else
+					this.getDoc().execCommand('BackColor', false, value);
+				break;
+
+			case "Cut":
+			case "Copy":
+			case "Paste":
+				var cmdFailed = false;
+
+				// Try executing command
+				eval('try {this.getDoc().execCommand(command, user_interface, value);} catch (e) {cmdFailed = true;}');
+
+				if (tinyMCE.isOpera && cmdFailed)
+					alert('Currently not supported by your browser, use keyboard shortcuts instead.');
+
+				// Alert error in gecko if command failed
+				if (tinyMCE.isGecko && cmdFailed) {
+					// Confirm more info
+					if (confirm(tinyMCE.entityDecode(tinyMCE.getLang('lang_clipboard_msg'))))
+						window.open('http://www.mozilla.org/editor/midasdemo/securityprefs.html', 'mceExternal');
+
+					return;
+				} else
+					tinyMCE.triggerNodeChange();
+			break;
+
+			case "mceSetContent":
+				if (!value)
+					value = "";
+
+				// Call custom cleanup code
+				value = tinyMCE.storeAwayURLs(value);
+				value = tinyMCE._customCleanup(this, "insert_to_editor", value);
+
+				if (this.getBody().nodeName == 'BODY')
+					tinyMCE._setHTML(doc, value);
+				else
+					this.getBody().innerHTML = value;
+
+				tinyMCE.setInnerHTML(this.getBody(), tinyMCE._cleanupHTML(this, doc, this.settings, this.getBody(), false, false, false, true));
+				tinyMCE.convertAllRelativeURLs(this.getBody());
+
+				// Cleanup any mess left from storyAwayURLs
+				tinyMCE._removeInternal(this.getBody());
+
+				// When editing always use fonts internaly
+				if (tinyMCE.getParam("convert_fonts_to_spans"))
+					tinyMCE.convertSpansToFonts(doc);
+
+				tinyMCE.handleVisualAid(this.getBody(), true, this.visualAid, this);
+				tinyMCE._setEventsEnabled(this.getBody(), false);
+				return true;
+
+			case "mceCleanup":
+				var b = this.selection.getBookmark();
+				tinyMCE._setHTML(this.contentDocument, this.getBody().innerHTML);
+				tinyMCE.setInnerHTML(this.getBody(), tinyMCE._cleanupHTML(this, this.contentDocument, this.settings, this.getBody(), this.visualAid));
+				tinyMCE.convertAllRelativeURLs(doc.body);
+
+				// When editing always use fonts internaly
+				if (tinyMCE.getParam("convert_fonts_to_spans"))
+					tinyMCE.convertSpansToFonts(doc);
+
+				tinyMCE.handleVisualAid(this.getBody(), true, this.visualAid, this);
+				tinyMCE._setEventsEnabled(this.getBody(), false);
+				this.repaint();
+				this.selection.moveToBookmark(b);
+				tinyMCE.triggerNodeChange();
+			break;
+
+			case "mceReplaceContent":
+				// Force empty string
+				if (!value)
+					value = '';
+
+				this.getWin().focus();
+
+				var selectedText = "";
+
+				if (tinyMCE.isIE) {
+					var rng = doc.selection.createRange();
+					selectedText = rng.text;
+				} else
+					selectedText = this.getSel().toString();
+
+				if (selectedText.length > 0) {
+					value = tinyMCE.replaceVar(value, "selection", selectedText);
+					tinyMCE.execCommand('mceInsertContent', false, value);
+				}
+
+				tinyMCE.triggerNodeChange();
+			break;
+
+			case "mceSetAttribute":
+				if (typeof(value) == 'object') {
+					var targetElms = (typeof(value['targets']) == "undefined") ? "p,img,span,div,td,h1,h2,h3,h4,h5,h6,pre,address" : value['targets'];
+					var targetNode = tinyMCE.getParentElement(this.getFocusElement(), targetElms);
+
+					if (targetNode) {
+						targetNode.setAttribute(value['name'], value['value']);
+						tinyMCE.triggerNodeChange();
+					}
+				}
+			break;
+
+			case "mceSetCSSClass":
+				this.execCommand("SetStyleInfo", false, {command : "setattrib", name : "class", value : value});
+			break;
+
+			case "mceInsertRawHTML":
+				var key = 'tiny_mce_marker';
+
+				this.execCommand('mceBeginUndoLevel');
+
+				// Insert marker key
+				this.execCommand('mceInsertContent', false, key);
+
+				// Store away scroll pos
+				var scrollX = this.getBody().scrollLeft + this.getDoc().documentElement.scrollLeft;
+				var scrollY = this.getBody().scrollTop + this.getDoc().documentElement.scrollTop;
+
+				// Find marker and replace with RAW HTML
+				var html = this.getBody().innerHTML;
+				if ((pos = html.indexOf(key)) != -1)
+					tinyMCE.setInnerHTML(this.getBody(), html.substring(0, pos) + value + html.substring(pos + key.length));
+
+				// Restore scoll pos
+				this.contentWindow.scrollTo(scrollX, scrollY);
+
+				this.execCommand('mceEndUndoLevel');
+
+				break;
+
+			case "mceInsertContent":
+				// Force empty string
+				if (!value)
+					value = '';
+
+				var insertHTMLFailed = false;
+
+				// Removed since it produced problems in IE
+				// this.getWin().focus();
+
+				if (tinyMCE.isGecko || tinyMCE.isOpera) {
+					try {
+						// Is plain text or HTML, &amp;, &nbsp; etc will be encoded wrong in FF
+						if (value.indexOf('<') == -1 && !value.match(/(&#38;|&#160;|&#60;|&#62;)/g)) {
+							var r = this.getRng();
+							var n = this.getDoc().createTextNode(tinyMCE.entityDecode(value));
+							var s = this.getSel();
+							var r2 = r.cloneRange();
+
+							// Insert text at cursor position
+							s.removeAllRanges();
+							r.deleteContents();
+							r.insertNode(n);
+
+							// Move the cursor to the end of text
+							r2.selectNode(n);
+							r2.collapse(false);
+							s.removeAllRanges();
+							s.addRange(r2);
+						} else {
+							value = tinyMCE.fixGeckoBaseHREFBug(1, this.getDoc(), value);
+							this.getDoc().execCommand('inserthtml', false, value);
+							tinyMCE.fixGeckoBaseHREFBug(2, this.getDoc(), value);
+						}
+					} catch (ex) {
+						insertHTMLFailed = true;
+					}
+
+					if (!insertHTMLFailed) {
+						tinyMCE.triggerNodeChange();
+						return;
+					}
+				}
+
+				if (!tinyMCE.isIE) {
+					var isHTML = value.indexOf('<') != -1;
+					var sel = this.getSel();
+					var rng = this.getRng();
+
+					if (isHTML) {
+						if (tinyMCE.isSafari) {
+							var tmpRng = this.getDoc().createRange();
+
+							tmpRng.setStart(this.getBody(), 0);
+							tmpRng.setEnd(this.getBody(), 0);
+
+							value = tmpRng.createContextualFragment(value);
+						} else
+							value = rng.createContextualFragment(value);
+					} else {
+						// Setup text node
+						var el = document.createElement("div");
+						el.innerHTML = value;
+						value = el.firstChild.nodeValue;
+						value = doc.createTextNode(value);
+					}
+
+					// Insert plain text in Safari
+					if (tinyMCE.isSafari && !isHTML) {
+						this.execCommand('InsertText', false, value.nodeValue);
+						tinyMCE.triggerNodeChange();
+						return true;
+					} else if (tinyMCE.isSafari && isHTML) {
+						rng.deleteContents();
+						rng.insertNode(value);
+						tinyMCE.triggerNodeChange();
+						return true;
+					}
+
+					rng.deleteContents();
+
+					// If target node is text do special treatment, (Mozilla 1.3 fix)
+					if (rng.startContainer.nodeType == 3) {
+						var node = rng.startContainer.splitText(rng.startOffset);
+						node.parentNode.insertBefore(value, node); 
+					} else
+						rng.insertNode(value);
+
+					if (!isHTML) {
+						// Removes weird selection trails
+						sel.selectAllChildren(doc.body);
+						sel.removeAllRanges();
+
+						// Move cursor to end of content
+						var rng = doc.createRange();
+
+						rng.selectNode(value);
+						rng.collapse(false);
+
+						sel.addRange(rng);
+					} else
+						rng.collapse(false);
+
+					tinyMCE.fixGeckoBaseHREFBug(2, this.getDoc(), value);
+				} else {
+					var rng = doc.selection.createRange(), tmpRng = null;
+					var c = value.indexOf('<!--') != -1;
+
+					// Fix comment bug, add tag before comments
+					if (c)
+						value = tinyMCE.uniqueTag + value;
+
+					//	tmpRng = rng.duplicate(); // Store away range (Fixes Undo bookmark bug in IE)
+
+					if (rng.item)
+						rng.item(0).outerHTML = value;
+					else
+						rng.pasteHTML(value);
+
+					//if (tmpRng)
+					//	tmpRng.select(); // Restore range  (Fixes Undo bookmark bug in IE)
+
+					// Remove unique tag
+					if (c) {
+						var e = this.getDoc().getElementById('mceTMPElement');
+						e.parentNode.removeChild(e);
+					}
+				}
+
+				tinyMCE.execCommand("mceAddUndoLevel");
+				tinyMCE.triggerNodeChange();
+			break;
+
+			case "mceStartTyping":
+				if (tinyMCE.settings['custom_undo_redo'] && this.undoRedo.typingUndoIndex == -1) {
+					this.undoRedo.typingUndoIndex = this.undoRedo.undoIndex;
+					tinyMCE.typingUndoIndex = tinyMCE.undoIndex;
+					this.execCommand('mceAddUndoLevel');
+				}
+				break;
+
+			case "mceEndTyping":
+				if (tinyMCE.settings['custom_undo_redo'] && this.undoRedo.typingUndoIndex != -1) {
+					this.execCommand('mceAddUndoLevel');
+					this.undoRedo.typingUndoIndex = -1;
+				}
+
+				tinyMCE.typingUndoIndex = -1;
+				break;
+
+			case "mceBeginUndoLevel":
+				this.undoRedoLevel = false;
+				break;
+
+			case "mceEndUndoLevel":
+				this.undoRedoLevel = true;
+				this.execCommand('mceAddUndoLevel');
+				break;
+
+			case "mceAddUndoLevel":
+				if (tinyMCE.settings['custom_undo_redo'] && this.undoRedoLevel) {
+					if (this.undoRedo.add())
+						tinyMCE.triggerNodeChange(false);
+				}
+				break;
+
+			case "Undo":
+				if (tinyMCE.settings['custom_undo_redo']) {
+					tinyMCE.execCommand("mceEndTyping");
+					this.undoRedo.undo();
+					tinyMCE.triggerNodeChange();
+				} else
+					this.getDoc().execCommand(command, user_interface, value);
+				break;
+
+			case "Redo":
+				if (tinyMCE.settings['custom_undo_redo']) {
+					tinyMCE.execCommand("mceEndTyping");
+					this.undoRedo.redo();
+					tinyMCE.triggerNodeChange();
+				} else
+					this.getDoc().execCommand(command, user_interface, value);
+				break;
+
+			case "mceToggleVisualAid":
+				this.visualAid = !this.visualAid;
+				tinyMCE.handleVisualAid(this.getBody(), true, this.visualAid, this);
+				tinyMCE.triggerNodeChange();
+				break;
+
+			case "Indent":
+				this.getDoc().execCommand(command, user_interface, value);
+				tinyMCE.triggerNodeChange();
+
+				if (tinyMCE.isIE) {
+					var n = tinyMCE.getParentElement(this.getFocusElement(), "blockquote");
+					do {
+						if (n && n.nodeName == "BLOCKQUOTE") {
+							n.removeAttribute("dir");
+							n.removeAttribute("style");
+						}
+					} while (n != null && (n = n.parentNode) != null);
+				}
+				break;
+
+			case "removeformat":
+				var text = this.selection.getSelectedText();
+
+				if (tinyMCE.isOpera) {
+					this.getDoc().execCommand("RemoveFormat", false, null);
+					return;
+				}
+
+				if (tinyMCE.isIE) {
+					try {
+						var rng = doc.selection.createRange();
+						rng.execCommand("RemoveFormat", false, null);
+					} catch (e) {
+						// Do nothing
+					}
+
+					this.execCommand("SetStyleInfo", false, {command : "removeformat"});
+				} else {
+					this.getDoc().execCommand(command, user_interface, value);
+
+					this.execCommand("SetStyleInfo", false, {command : "removeformat"});
+				}
+
+				// Remove class
+				if (text.length == 0)
+					this.execCommand("mceSetCSSClass", false, "");
+
+				tinyMCE.triggerNodeChange();
+				break;
+
+			default:
+				this.getDoc().execCommand(command, user_interface, value);
+
+				if (tinyMCE.isGecko)
+					window.setTimeout('tinyMCE.triggerNodeChange(false);', 1);
+				else
+					tinyMCE.triggerNodeChange();
+		}
+
+		// Add undo level after modification
+		if (command != "mceAddUndoLevel" && command != "Undo" && command != "Redo" && command != "mceStartTyping" && command != "mceEndTyping")
+			tinyMCE.execCommand("mceAddUndoLevel");
+	},
+
+	queryCommandValue : function(c) {
+		try {
+			return this.getDoc().queryCommandValue(c);
+		} catch (e) {
+			return null;
+		}
+	},
+
+	queryCommandState : function(c) {
+		return this.getDoc().queryCommandState(c);
+	},
+
+	_onAdd : function(replace_element, form_element_name, target_document) {
+		var hc, th, to, editorTemplate;
+
+		th = this.settings['theme'];
+		to = tinyMCE.themes[th];
+
+		var targetDoc = target_document ? target_document : document;
+
+		this.targetDoc = targetDoc;
+
+		tinyMCE.themeURL = tinyMCE.baseURL + "/themes/" + this.settings['theme'];
+		this.settings['themeurl'] = tinyMCE.themeURL;
+
+		if (!replace_element) {
+			alert("Error: Could not find the target element.");
+			return false;
+		}
+
+		if (to.getEditorTemplate)
+			editorTemplate = to.getEditorTemplate(this.settings, this.editorId);
+
+		var deltaWidth = editorTemplate['delta_width'] ? editorTemplate['delta_width'] : 0;
+		var deltaHeight = editorTemplate['delta_height'] ? editorTemplate['delta_height'] : 0;
+		var html = '<span id="' + this.editorId + '_parent" class="mceEditorContainer">' + editorTemplate['html'];
+
+		html = tinyMCE.replaceVar(html, "editor_id", this.editorId);
+		this.settings['default_document'] = tinyMCE.baseURL + "/blank.htm";
+
+		this.settings['old_width'] = this.settings['width'];
+		this.settings['old_height'] = this.settings['height'];
+
+		// Set default width, height
+		if (this.settings['width'] == -1)
+			this.settings['width'] = replace_element.offsetWidth;
+
+		if (this.settings['height'] == -1)
+			this.settings['height'] = replace_element.offsetHeight;
+
+		// Try the style width
+		if (this.settings['width'] == 0)
+			this.settings['width'] = replace_element.style.width;
+
+		// Try the style height
+		if (this.settings['height'] == 0)
+			this.settings['height'] = replace_element.style.height; 
+
+		// If no width/height then default to 320x240, better than nothing
+		if (this.settings['width'] == 0)
+			this.settings['width'] = 320;
+
+		if (this.settings['height'] == 0)
+			this.settings['height'] = 240;
+
+		this.settings['area_width'] = parseInt(this.settings['width']);
+		this.settings['area_height'] = parseInt(this.settings['height']);
+		this.settings['area_width'] += deltaWidth;
+		this.settings['area_height'] += deltaHeight;
+
+		this.settings['width_style'] = "" + this.settings['width'];
+		this.settings['height_style'] = "" + this.settings['height'];
+
+		// Special % handling
+		if (("" + this.settings['width']).indexOf('%') != -1)
+			this.settings['area_width'] = "100%";
+		else
+			this.settings['width_style'] += 'px';
+
+		if (("" + this.settings['height']).indexOf('%') != -1)
+			this.settings['area_height'] = "100%";
+		else
+			this.settings['height_style'] += 'px';
+
+		if (("" + replace_element.style.width).indexOf('%') != -1) {
+			this.settings['width'] = replace_element.style.width;
+			this.settings['area_width'] = "100%";
+			this.settings['width_style'] = "100%";
+		}
+
+		if (("" + replace_element.style.height).indexOf('%') != -1) {
+			this.settings['height'] = replace_element.style.height;
+			this.settings['area_height'] = "100%";
+			this.settings['height_style'] = "100%";
+		}
+
+		html = tinyMCE.applyTemplate(html);
+
+		this.settings['width'] = this.settings['old_width'];
+		this.settings['height'] = this.settings['old_height'];
+
+		this.visualAid = this.settings['visual'];
+		this.formTargetElementId = form_element_name;
+
+		// Get replace_element contents
+		if (replace_element.nodeName == "TEXTAREA" || replace_element.nodeName == "INPUT")
+			this.startContent = replace_element.value;
+		else
+			this.startContent = replace_element.innerHTML;
+
+		// If not text area or input
+		if (replace_element.nodeName != "TEXTAREA" && replace_element.nodeName != "INPUT") {
+			this.oldTargetElement = replace_element;
+
+			// Debug mode
+			if (tinyMCE.settings['debug']) {
+				hc = '<textarea wrap="off" id="' + form_element_name + '" name="' + form_element_name + '" cols="100" rows="15"></textarea>';
+			} else {
+				hc = '<input type="hidden" id="' + form_element_name + '" name="' + form_element_name + '" />';
+				this.oldTargetElement.style.display = "none";
+			}
+
+			html += '</span>';
+
+			if (tinyMCE.isGecko)
+				html = hc + html;
+			else
+				html += hc;
+
+			// Output HTML and set editable
+			if (tinyMCE.isGecko) {
+				var rng = replace_element.ownerDocument.createRange();
+				rng.setStartBefore(replace_element);
+
+				var fragment = rng.createContextualFragment(html);
+				tinyMCE.insertAfter(fragment, replace_element);
+			} else
+				replace_element.insertAdjacentHTML("beforeBegin", html);
+		} else {
+			html += '</span>';
+
+			// Just hide the textarea element
+			this.oldTargetElement = replace_element;
+
+			if (!tinyMCE.settings['debug'])
+				this.oldTargetElement.style.display = "none";
+
+			// Output HTML and set editable
+			if (tinyMCE.isGecko) {
+				var rng = replace_element.ownerDocument.createRange();
+				rng.setStartBefore(replace_element);
+
+				var fragment = rng.createContextualFragment(html);
+				tinyMCE.insertAfter(fragment, replace_element);
+			} else
+				replace_element.insertAdjacentHTML("beforeBegin", html);
+		}
+
+		// Setup iframe
+		var dynamicIFrame = false;
+		var tElm = targetDoc.getElementById(this.editorId);
+
+		if (!tinyMCE.isIE) {
+			// Node case is preserved in XML strict mode
+			if (tElm && (tElm.nodeName == "SPAN" || tElm.nodeName == "span")) {
+				tElm = tinyMCE._createIFrame(tElm, targetDoc);
+				dynamicIFrame = true;
+			}
+
+			this.targetElement = tElm;
+			this.iframeElement = tElm;
+			this.contentDocument = tElm.contentDocument;
+			this.contentWindow = tElm.contentWindow;
+
+			//this.getDoc().designMode = "on";
+		} else {
+			if (tElm && tElm.nodeName == "SPAN")
+				tElm = tinyMCE._createIFrame(tElm, targetDoc, targetDoc.parentWindow);
+			else
+				tElm = targetDoc.frames[this.editorId];
+
+			this.targetElement = tElm;
+			this.iframeElement = targetDoc.getElementById(this.editorId);
+
+			if (tinyMCE.isOpera) {
+				this.contentDocument = this.iframeElement.contentDocument;
+				this.contentWindow = this.iframeElement.contentWindow;
+				dynamicIFrame = true;
+			} else {
+				this.contentDocument = tElm.window.document;
+				this.contentWindow = tElm.window;
+			}
+
+			this.getDoc().designMode = "on";
+		}
+
+		// Setup base HTML
+		var doc = this.contentDocument;
+		if (dynamicIFrame) {
+			var html = tinyMCE.getParam('doctype') + '<html><head xmlns="http://www.w3.org/1999/xhtml"><base href="' + tinyMCE.settings['base_href'] + '" /><title>blank_page</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body class="mceContentBody"></body></html>';
+
+			try {
+				if (!this.isHidden())
+					this.getDoc().designMode = "on";
+
+				doc.open();
+				doc.write(html);
+				doc.close();
+			} catch (e) {
+				// Failed Mozilla 1.3
+				this.getDoc().location.href = tinyMCE.baseURL + "/blank.htm";
+			}
+		}
+
+		// This timeout is needed in MSIE 5.5 for some odd reason
+		// it seems that the document.frames isn't initialized yet?
+		if (tinyMCE.isIE)
+			window.setTimeout("tinyMCE.addEventHandlers(tinyMCE.instances[\"" + this.editorId + "\"]);", 1);
+
+		tinyMCE.setupContent(this.editorId, true);
+
+		return true;
+	},
+
+	setBaseHREF : function(u) {
+		var h, b, d, nl;
+
+		d = this.getDoc();
+		nl = d.getElementsByTagName("base");
+		b = nl.length > 0 ? nl[0] : null;
+
+		if (!b) {
+			nl = d.getElementsByTagName("head");
+			h = nl.length > 0 ? nl[0] : null;
+
+			b = d.createElement("base");
+			b.setAttribute('href', u);
+			h.appendChild(b);
+		} else {
+			if (u == "" || u == null)
+				b.parentNode.removeChild(b);
+			else
+				b.setAttribute('href', u);
+		}
+	},
+
+	getHTML : function(r) {
+		var h, d = this.getDoc(), b = this.getBody();
+
+		if (r)
+			return b.innerHTML;
+
+		h = tinyMCE._cleanupHTML(this, d, this.settings, b, false, true, false, true);
+
+		if (tinyMCE.getParam("convert_fonts_to_spans"))
+			tinyMCE.convertSpansToFonts(d);
+
+		return h;
+	},
+
+	setHTML : function(h) {
+		this.execCommand('mceSetContent', false, h);
+		this.repaint();
+	},
+
+	getFocusElement : function() {
+		return this.selection.getFocusElement();
+	},
+
+	getSel : function() {
+		return this.selection.getSel();
+	},
+
+	getRng : function() {
+		return this.selection.getRng();
+	},
+
+	triggerSave : function(skip_cleanup, skip_callback) {
+		var e, nl = [], i, s;
+
+		this.switchSettings();
+		s = tinyMCE.settings;
+
+		// Force hidden tabs visible while serializing
+		if (tinyMCE.isRealIE) {
+			e = this.iframeElement;
+
+			do {
+				if (e.style && e.style.display == 'none') {
+					e.style.display = 'block';
+					nl[nl.length] = {elm : e, type : 'style'};
+				}
+
+				if (e.style && s.hidden_tab_class.length > 0 && e.className.indexOf(s.hidden_tab_class) != -1) {
+					e.className = s.display_tab_class;
+					nl[nl.length] = {elm : e, type : 'class'};
+				}
+			} while ((e = e.parentNode) != null)
+		}
+
+		tinyMCE.settings['preformatted'] = false;
+
+		// Default to false
+		if (typeof(skip_cleanup) == "undefined")
+			skip_cleanup = false;
+
+		// Default to false
+		if (typeof(skip_callback) == "undefined")
+			skip_callback = false;
+
+		tinyMCE._setHTML(this.getDoc(), this.getBody().innerHTML);
+
+		// Remove visual aids when cleanup is disabled
+		if (this.settings['cleanup'] == false) {
+			tinyMCE.handleVisualAid(this.getBody(), true, false, this);
+			tinyMCE._setEventsEnabled(this.getBody(), true);
+		}
+
+		tinyMCE._customCleanup(this, "submit_content_dom", this.contentWindow.document.body);
+		var htm = skip_cleanup ? this.getBody().innerHTML : tinyMCE._cleanupHTML(this, this.getDoc(), this.settings, this.getBody(), tinyMCE.visualAid, true, true);
+		htm = tinyMCE._customCleanup(this, "submit_content", htm);
+
+		if (!skip_callback && tinyMCE.settings['save_callback'] != "")
+			var content = eval(tinyMCE.settings['save_callback'] + "(this.formTargetElementId,htm,this.getBody());");
+
+		// Use callback content if available
+		if ((typeof(content) != "undefined") && content != null)
+			htm = content;
+
+		// Replace some weird entities (Bug: #1056343)
+		htm = tinyMCE.regexpReplace(htm, "&#40;", "(", "gi");
+		htm = tinyMCE.regexpReplace(htm, "&#41;", ")", "gi");
+		htm = tinyMCE.regexpReplace(htm, "&#59;", ";", "gi");
+		htm = tinyMCE.regexpReplace(htm, "&#34;", "&quot;", "gi");
+		htm = tinyMCE.regexpReplace(htm, "&#94;", "^", "gi");
+
+		if (this.formElement)
+			this.formElement.value = htm;
+
+		if (tinyMCE.isSafari && this.formElement)
+			this.formElement.innerText = htm;
+
+		// Hide them again (tabs in MSIE)
+		for (i=0; i<nl.length; i++) {
+			if (nl[i].type == 'style')
+				nl[i].elm.style.display = 'none';
+			else
+				nl[i].elm.className = s.hidden_tab_class;
+		}
+	}
+
+	};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_Cleanup.class.js */
+
+TinyMCE_Engine.prototype.cleanupHTMLCode = function(s) {
+	s = s.replace(new RegExp('<p \\/>', 'gi'), '<p>&nbsp;</p>');
+	s = s.replace(new RegExp('<p>\\s*<\\/p>', 'gi'), '<p>&nbsp;</p>');
+
+	// Fix close BR elements
+	s = s.replace(new RegExp('<br>\\s*<\\/br>', 'gi'), '<br />');
+
+	// Open closed tags like <b/> to <b></b>
+	s = s.replace(new RegExp('<(h[1-6]|p|div|address|pre|form|table|li|ol|ul|td|b|font|em|strong|i|strike|u|span|a|ul|ol|li|blockquote)([a-z]*)([^\\\\|>]*)\\/>', 'gi'), '<$1$2$3></$1$2>');
+
+	// Remove trailing space <b > to <b>
+	s = s.replace(new RegExp('\\s+></', 'gi'), '></');
+
+	// Close tags <img></img> to <img/>
+	s = s.replace(new RegExp('<(img|br|hr)([^>]*)><\\/(img|br|hr)>', 'gi'), '<$1$2 />');
+
+	// Weird MSIE bug, <p><hr /></p> breaks runtime?
+	if (tinyMCE.isIE)
+		s = s.replace(new RegExp('<p><hr \\/><\\/p>', 'gi'), "<hr>");
+
+	// Weird tags will make IE error #bug: 1538495
+	if (tinyMCE.isIE)
+		s = s.replace(/<!(\s*)\/>/g, '');
+
+	// Convert relative anchors to absolute URLs ex: #something to file.htm#something
+	// Removed: Since local document anchors should never be forced absolute example edit.php?id=something
+	//if (tinyMCE.getParam('convert_urls'))
+	//	s = s.replace(new RegExp('(href=\"{0,1})(\\s*#)', 'gi'), '$1' + tinyMCE.settings['document_base_url'] + "#");
+
+	return s;
+};
+
+TinyMCE_Engine.prototype.parseStyle = function(str) {
+	var ar = new Array();
+
+	if (str == null)
+		return ar;
+
+	var st = str.split(';');
+
+	tinyMCE.clearArray(ar);
+
+	for (var i=0; i<st.length; i++) {
+		if (st[i] == '')
+			continue;
+
+		var re = new RegExp('^\\s*([^:]*):\\s*(.*)\\s*$');
+		var pa = st[i].replace(re, '$1||$2').split('||');
+//tinyMCE.debug(str, pa[0] + "=" + pa[1], st[i].replace(re, '$1||$2'));
+		if (pa.length == 2)
+			ar[pa[0].toLowerCase()] = pa[1];
+	}
+
+	return ar;
+};
+
+TinyMCE_Engine.prototype.compressStyle = function(ar, pr, sf, res) {
+	var box = new Array();
+
+	box[0] = ar[pr + '-top' + sf];
+	box[1] = ar[pr + '-left' + sf];
+	box[2] = ar[pr + '-right' + sf];
+	box[3] = ar[pr + '-bottom' + sf];
+
+	for (var i=0; i<box.length; i++) {
+		if (box[i] == null)
+			return;
+
+		for (var a=0; a<box.length; a++) {
+			if (box[a] != box[i])
+				return;
+		}
+	}
+
+	// They are all the same
+	ar[res] = box[0];
+	ar[pr + '-top' + sf] = null;
+	ar[pr + '-left' + sf] = null;
+	ar[pr + '-right' + sf] = null;
+	ar[pr + '-bottom' + sf] = null;
+};
+
+TinyMCE_Engine.prototype.serializeStyle = function(ar) {
+	var str = "";
+
+	// Compress box
+	tinyMCE.compressStyle(ar, "border", "", "border");
+	tinyMCE.compressStyle(ar, "border", "-width", "border-width");
+	tinyMCE.compressStyle(ar, "border", "-color", "border-color");
+	tinyMCE.compressStyle(ar, "border", "-style", "border-style");
+	tinyMCE.compressStyle(ar, "padding", "", "padding");
+	tinyMCE.compressStyle(ar, "margin", "", "margin");
+
+	for (var key in ar) {
+		var val = ar[key];
+
+		if (typeof(val) == 'function')
+			continue;
+
+		if (key.indexOf('mso-') == 0)
+			continue;
+
+		if (val != null && val != '') {
+			val = '' + val; // Force string
+
+			// Fix style URL
+			val = val.replace(new RegExp("url\\(\\'?([^\\']*)\\'?\\)", 'gi'), "url('$1')");
+
+			// Convert URL
+			if (val.indexOf('url(') != -1 && tinyMCE.getParam('convert_urls')) {
+				var m = new RegExp("url\\('(.*?)'\\)").exec(val);
+
+				if (m.length > 1)
+					val = "url('" + eval(tinyMCE.getParam('urlconverter_callback') + "(m[1], null, true);") + "')";
+			}
+
+			// Force HEX colors
+			if (tinyMCE.getParam("force_hex_style_colors"))
+				val = tinyMCE.convertRGBToHex(val, true);
+
+			if (val != "url('')")
+				str += key.toLowerCase() + ": " + val + "; ";
+		}
+	}
+
+	if (new RegExp('; $').test(str))
+		str = str.substring(0, str.length - 2);
+
+	return str;
+};
+
+TinyMCE_Engine.prototype.convertRGBToHex = function(s, k) {
+	if (s.toLowerCase().indexOf('rgb') != -1) {
+		var re = new RegExp("(.*?)rgb\\s*?\\(\\s*?([0-9]+).*?,\\s*?([0-9]+).*?,\\s*?([0-9]+).*?\\)(.*?)", "gi");
+		var rgb = s.replace(re, "$1,$2,$3,$4,$5").split(',');
+		if (rgb.length == 5) {
+			r = parseInt(rgb[1]).toString(16);
+			g = parseInt(rgb[2]).toString(16);
+			b = parseInt(rgb[3]).toString(16);
+
+			r = r.length == 1 ? '0' + r : r;
+			g = g.length == 1 ? '0' + g : g;
+			b = b.length == 1 ? '0' + b : b;
+
+			s = "#" + r + g + b;
+
+			if (k)
+				s = rgb[0] + s + rgb[4];
+		}
+	}
+
+	return s;
+};
+
+TinyMCE_Engine.prototype.convertHexToRGB = function(s) {
+	if (s.indexOf('#') != -1) {
+		s = s.replace(new RegExp('[^0-9A-F]', 'gi'), '');
+		return "rgb(" + parseInt(s.substring(0, 2), 16) + "," + parseInt(s.substring(2, 4), 16) + "," + parseInt(s.substring(4, 6), 16) + ")";
+	}
+
+	return s;
+};
+
+TinyMCE_Engine.prototype.convertSpansToFonts = function(doc) {
+	var sizes = tinyMCE.getParam('font_size_style_values').replace(/\s+/, '').split(',');
+
+	var h = doc.body.innerHTML;
+	h = h.replace(/<span/gi, '<font');
+	h = h.replace(/<\/span/gi, '</font');
+	tinyMCE.setInnerHTML(doc.body, h);
+
+	var s = doc.getElementsByTagName("font");
+	for (var i=0; i<s.length; i++) {
+		var size = tinyMCE.trim(s[i].style.fontSize).toLowerCase();
+		var fSize = 0;
+
+		for (var x=0; x<sizes.length; x++) {
+			if (sizes[x] == size) {
+				fSize = x + 1;
+				break;
+			}
+		}
+
+		if (fSize > 0) {
+			tinyMCE.setAttrib(s[i], 'size', fSize);
+			s[i].style.fontSize = '';
+		}
+
+		var fFace = s[i].style.fontFamily;
+		if (fFace != null && fFace != "") {
+			tinyMCE.setAttrib(s[i], 'face', fFace);
+			s[i].style.fontFamily = '';
+		}
+
+		var fColor = s[i].style.color;
+		if (fColor != null && fColor != "") {
+			tinyMCE.setAttrib(s[i], 'color', tinyMCE.convertRGBToHex(fColor));
+			s[i].style.color = '';
+		}
+	}
+};
+
+TinyMCE_Engine.prototype.convertFontsToSpans = function(doc) {
+	var sizes = tinyMCE.getParam('font_size_style_values').replace(/\s+/, '').split(',');
+
+	var h = doc.body.innerHTML;
+	h = h.replace(/<font/gi, '<span');
+	h = h.replace(/<\/font/gi, '</span');
+	tinyMCE.setInnerHTML(doc.body, h);
+
+	var fsClasses = tinyMCE.getParam('font_size_classes');
+	if (fsClasses != '')
+		fsClasses = fsClasses.replace(/\s+/, '').split(',');
+	else
+		fsClasses = null;
+
+	var s = doc.getElementsByTagName("span");
+	for (var i=0; i<s.length; i++) {
+		var fSize, fFace, fColor;
+
+		fSize = tinyMCE.getAttrib(s[i], 'size');
+		fFace = tinyMCE.getAttrib(s[i], 'face');
+		fColor = tinyMCE.getAttrib(s[i], 'color');
+
+		if (fSize != "") {
+			fSize = parseInt(fSize);
+
+			if (fSize > 0 && fSize < 8) {
+				if (fsClasses != null)
+					tinyMCE.setAttrib(s[i], 'class', fsClasses[fSize-1]);
+				else
+					s[i].style.fontSize = sizes[fSize-1];
+			}
+
+			s[i].removeAttribute('size');
+		}
+
+		if (fFace != "") {
+			s[i].style.fontFamily = fFace;
+			s[i].removeAttribute('face');
+		}
+
+		if (fColor != "") {
+			s[i].style.color = fColor;
+			s[i].removeAttribute('color');
+		}
+	}
+};
+
+TinyMCE_Engine.prototype.cleanupAnchors = function(doc) {
+	var i, cn, x, an = doc.getElementsByTagName("a");
+
+	// Loops backwards due to bug #1467987
+	for (i=an.length-1; i>=0; i--) {
+		if (tinyMCE.getAttrib(an[i], "name") != "" && tinyMCE.getAttrib(an[i], "href") == "") {
+			cn = an[i].childNodes;
+
+			for (x=cn.length-1; x>=0; x--)
+				tinyMCE.insertAfter(cn[x], an[i]);
+		}
+	}
+};
+
+TinyMCE_Engine.prototype.getContent = function(editor_id) {
+	if (typeof(editor_id) != "undefined")
+		 tinyMCE.getInstanceById(editor_id).select();
+
+	if (tinyMCE.selectedInstance)
+		return tinyMCE.selectedInstance.getHTML();
+
+	return null;
+};
+
+TinyMCE_Engine.prototype._fixListElements = function(d) {
+	var nl, x, a = ['ol', 'ul'], i, n, p, r = new RegExp('^(OL|UL)$'), np;
+
+	for (x=0; x<a.length; x++) {
+		nl = d.getElementsByTagName(a[x]);
+
+		for (i=0; i<nl.length; i++) {
+			n = nl[i];
+			p = n.parentNode;
+
+			if (r.test(p.nodeName)) {
+				np = tinyMCE.prevNode(n, 'LI');
+
+				if (!np) {
+					np = d.createElement('li');
+					np.innerHTML = '&nbsp;';
+					np.appendChild(n);
+					p.insertBefore(np, p.firstChild);
+				} else
+					np.appendChild(n);
+			}
+		}
+	}
+};
+
+TinyMCE_Engine.prototype._fixTables = function(d) {
+	var nl, i, n, p, np, x, t;
+
+	nl = d.getElementsByTagName('table');
+	for (i=0; i<nl.length; i++) {
+		n = nl[i];
+
+		if ((p = tinyMCE.getParentElement(n, 'p,div,h1,h2,h3,h4,h5,h6')) != null) {
+			np = p.cloneNode(false);
+			np.removeAttribute('id');
+
+			t = n;
+
+			while ((n = n.nextSibling))
+				np.appendChild(n);
+
+			tinyMCE.insertAfter(np, p);
+			tinyMCE.insertAfter(t, p);
+		}
+	}
+};
+
+TinyMCE_Engine.prototype._cleanupHTML = function(inst, doc, config, elm, visual, on_save, on_submit, inn) {
+	var h, d, t1, t2, t3, t4, t5, c, s, nb;
+
+	if (!tinyMCE.getParam('cleanup'))
+		return elm.innerHTML;
+
+	on_save = typeof(on_save) == 'undefined' ? false : on_save;
+
+	c = inst.cleanup;
+	s = inst.settings;
+	d = c.settings.debug;
+
+	if (d)
+		t1 = new Date().getTime();
+
+	if (tinyMCE.getParam("convert_fonts_to_spans"))
+		tinyMCE.convertFontsToSpans(doc);
+
+	if (tinyMCE.getParam("fix_list_elements"))
+		tinyMCE._fixListElements(doc);
+
+	if (tinyMCE.getParam("fix_table_elements"))
+		tinyMCE._fixTables(doc);
+
+	// Call custom cleanup code
+	tinyMCE._customCleanup(inst, on_save ? "get_from_editor_dom" : "insert_to_editor_dom", doc.body);
+
+	if (d)
+		t2 = new Date().getTime();
+
+	c.settings.on_save = on_save;
+	//for (var i=0; i<100; i++)
+
+	c.idCount = 0;
+	c.serializationId++;
+	c.serializedNodes = new Array();
+	c.sourceIndex = -1;
+
+	if (s.cleanup_serializer == "xml")
+		h = c.serializeNodeAsXML(elm, inn);
+	else
+		h = c.serializeNodeAsHTML(elm, inn);
+
+	if (d)
+		t3 = new Date().getTime();
+
+	// Post processing
+	nb = tinyMCE.getParam('entity_encoding') == 'numeric' ? '&#160;' : '&nbsp;';
+	h = h.replace(/<\/?(body|head|html)[^>]*>/gi, '');
+	h = h.replace(new RegExp(' (rowspan="1"|colspan="1")', 'g'), '');
+	h = h.replace(/<p><hr \/><\/p>/g, '<hr />');
+	h = h.replace(/<p>(&nbsp;|&#160;)<\/p><hr \/><p>(&nbsp;|&#160;)<\/p>/g, '<hr />');
+	h = h.replace(/<td>\s*<br \/>\s*<\/td>/g, '<td>' + nb + '</td>');
+	h = h.replace(/<p>\s*<br \/>\s*<\/p>/g, '<p>' + nb + '</p>');
+	h = h.replace(/<br \/>$/, ''); // Remove last BR for Gecko
+	h = h.replace(/<br \/><\/p>/g, '</p>'); // Remove last BR in P tags for Gecko
+	h = h.replace(/<p>\s*(&nbsp;|&#160;)\s*<br \/>\s*(&nbsp;|&#160;)\s*<\/p>/g, '<p>' + nb + '</p>');
+	h = h.replace(/<p>\s*(&nbsp;|&#160;)\s*<br \/>\s*<\/p>/g, '<p>' + nb + '</p>');
+	h = h.replace(/<p>\s*<br \/>\s*&nbsp;\s*<\/p>/g, '<p>' + nb + '</p>');
+	h = h.replace(new RegExp('<a>(.*?)<\\/a>', 'g'), '$1');
+	h = h.replace(/<p([^>]*)>\s*<\/p>/g, '<p$1>' + nb + '</p>');
+
+	// Clean body
+	if (/^\s*(<br \/>|<p>&nbsp;<\/p>|<p>&#160;<\/p>|<p><\/p>)\s*$/.test(h))
+		h = '';
+
+	// If preformatted
+	if (s.preformatted) {
+		h = h.replace(/^<pre>/, '');
+		h = h.replace(/<\/pre>$/, '');
+		h = '<pre>' + h + '</pre>';
+	}
+
+	// Gecko specific processing
+	if (tinyMCE.isGecko) {
+		h = h.replace(/<o:p _moz-userdefined="" \/>/g, '');
+		h = h.replace(/<td([^>]*)>\s*<br \/>\s*<\/td>/g, '<td$1>' + nb + '</td>');
+	}
+
+	if (s.force_br_newlines)
+		h = h.replace(/<p>(&nbsp;|&#160;)<\/p>/g, '<br />');
+
+	// Call custom cleanup code
+	h = tinyMCE._customCleanup(inst, on_save ? "get_from_editor" : "insert_to_editor", h);
+
+	// Remove internal classes
+	if (on_save) {
+		h = h.replace(new RegExp(' ?(mceItem[a-zA-Z0-9]*|' + s.visual_table_class + ')', 'g'), '');
+		h = h.replace(new RegExp(' ?class=""', 'g'), '');
+	}
+
+	if (s.remove_linebreaks && !c.settings.indent)
+		h = h.replace(/\n|\r/g, ' ');
+
+	if (d)
+		t4 = new Date().getTime();
+
+	if (on_save && c.settings.indent)
+		h = c.formatHTML(h);
+
+	// If encoding (not recommended option)
+	if (on_submit && (s.encoding == "xml" || s.encoding == "html"))
+		h = c.xmlEncode(h);
+
+	if (d)
+		t5 = new Date().getTime();
+
+	if (c.settings.debug)
+		tinyMCE.debug("Cleanup in ms: Pre=" + (t2-t1) + ", Serialize: " + (t3-t2) + ", Post: " + (t4-t3) + ", Format: " + (t5-t4) + ", Sum: " + (t5-t1) + ".");
+
+	return h;
+};
+
+function TinyMCE_Cleanup() {
+	this.isIE = (navigator.appName == "Microsoft Internet Explorer");
+	this.rules = tinyMCE.clearArray(new Array());
+
+	// Default config
+	this.settings = {
+		indent_elements : 'head,table,tbody,thead,tfoot,form,tr,ul,ol,blockquote,object',
+		newline_before_elements : 'h1,h2,h3,h4,h5,h6,pre,address,div,ul,ol,li,meta,option,area,title,link,base,script,td',
+		newline_after_elements : 'br,hr,p,pre,address,div,ul,ol,meta,option,area,link,base,script',
+		newline_before_after_elements : 'html,head,body,table,thead,tbody,tfoot,tr,form,ul,ol,blockquote,p,object,param,hr,div',
+		indent_char : '\t',
+		indent_levels : 1,
+		entity_encoding : 'raw',
+		valid_elements : '*[*]',
+		entities : '',
+		url_converter : '',
+		invalid_elements : '',
+		verify_html : false
+	};
+
+	this.vElements = tinyMCE.clearArray(new Array());
+	this.vElementsRe = '';
+	this.closeElementsRe = /^(IMG|BR|HR|LINK|META|BASE|INPUT|AREA)$/;
+	this.codeElementsRe = /^(SCRIPT|STYLE)$/;
+	this.serializationId = 0;
+	this.mceAttribs = {
+		href : 'mce_href',
+		src : 'mce_src',
+		type : 'mce_type'
+	};
+}
+
+TinyMCE_Cleanup.prototype = {
+	init : function(s) {
+		var n, a, i, ir, or, st;
+
+		for (n in s)
+			this.settings[n] = s[n];
+
+		// Setup code formating
+		s = this.settings;
+
+		// Setup regexps
+		this.inRe = this._arrayToRe(s.indent_elements.split(','), '', '^<(', ')[^>]*');
+		this.ouRe = this._arrayToRe(s.indent_elements.split(','), '', '^<\\/(', ')[^>]*');
+		this.nlBeforeRe = this._arrayToRe(s.newline_before_elements.split(','), 'gi', '<(',  ')([^>]*)>');
+		this.nlAfterRe = this._arrayToRe(s.newline_after_elements.split(','), 'gi', '<(',  ')([^>]*)>');
+		this.nlBeforeAfterRe = this._arrayToRe(s.newline_before_after_elements.split(','), 'gi', '<(\\/?)(', ')([^>]*)>');
+		this.serializedNodes = [];
+
+		if (s.invalid_elements != '')
+			this.iveRe = this._arrayToRe(s.invalid_elements.toUpperCase().split(','), 'g', '^(', ')$');
+		else
+			this.iveRe = null;
+
+		// Setup separator
+		st = '';
+		for (i=0; i<s.indent_levels; i++)
+			st += s.indent_char;
+
+		this.inStr = st;
+
+		// If verify_html if false force *[*]
+		if (!s.verify_html) {
+			s.valid_elements = '*[*]';
+			s.extended_valid_elements = '';
+		}
+
+		this.fillStr = s.entity_encoding == "named" ? "&nbsp;" : "&#160;";
+		this.idCount = 0;
+	},
+
+	addRuleStr : function(s) {
+		var r = this.parseRuleStr(s);
+		var n;
+
+		for (n in r) {
+			if (r[n])
+				this.rules[n] = r[n];
+		}
+
+		this.vElements = tinyMCE.clearArray(new Array());
+
+		for (n in this.rules) {
+			if (this.rules[n])
+				this.vElements[this.vElements.length] = this.rules[n].tag;
+		}
+
+		this.vElementsRe = this._arrayToRe(this.vElements, '');
+	},
+
+	isValid : function(n) {
+		this._setupRules(); // Will initialize cleanup rules
+
+		// Clean the name up a bit
+		n = n.replace(/[^a-z0-9]+/gi, '').toUpperCase();
+
+		return !tinyMCE.getParam('cleanup') || this.vElementsRe.test(n);
+	},
+
+	addChildRemoveRuleStr : function(s) {
+		var x, y, p, i, t, tn, ta, cl, r;
+
+		if (!s)
+			return;
+
+		ta = s.split(',');
+		for (x=0; x<ta.length; x++) {
+			s = ta[x];
+
+			// Split tag/children
+			p = this.split(/\[|\]/, s);
+			if (p == null || p.length < 1)
+				t = s.toUpperCase();
+			else
+				t = p[0].toUpperCase();
+
+			// Handle all tag names
+			tn = this.split('/', t);
+			for (y=0; y<tn.length; y++) {
+				r = "^(";
+
+				// Build regex
+				cl = this.split(/\|/, p[1]);
+				for (i=0; i<cl.length; i++) {
+					if (cl[i] == '%istrict')
+						r += tinyMCE.inlineStrict;
+					else if (cl[i] == '%itrans')
+						r += tinyMCE.inlineTransitional;
+					else if (cl[i] == '%istrict_na')
+						r += tinyMCE.inlineStrict.substring(2);
+					else if (cl[i] == '%itrans_na')
+						r += tinyMCE.inlineTransitional.substring(2);
+					else if (cl[i] == '%btrans')
+						r += tinyMCE.blockElms;
+					else if (cl[i] == '%strict')
+						r += tinyMCE.blockStrict;
+					else
+						r += (cl[i].charAt(0) != '#' ? cl[i].toUpperCase() : cl[i]);
+
+					r += (i != cl.length - 1 ? '|' : '');
+				}
+
+				r += ')$';
+//tinyMCE.debug(t + "=" + r);
+				if (this.childRules == null)
+					this.childRules = tinyMCE.clearArray(new Array());
+
+				this.childRules[tn[y]] = new RegExp(r);
+
+				if (p.length > 1)
+					this.childRules[tn[y]].wrapTag = p[2];
+			}
+		}
+	},
+
+	parseRuleStr : function(s) {
+		var ta, p, r, a, i, x, px, t, tn, y, av, or = tinyMCE.clearArray(new Array()), dv;
+
+		if (s == null || s.length == 0)
+			return or;
+
+		ta = s.split(',');
+		for (x=0; x<ta.length; x++) {
+			s = ta[x];
+			if (s.length == 0)
+				continue;
+
+			// Split tag/attrs
+			p = this.split(/\[|\]/, s);
+			if (p == null || p.length < 1)
+				t = s.toUpperCase();
+			else
+				t = p[0].toUpperCase();
+
+			// Handle all tag names
+			tn = this.split('/', t);
+			for (y=0; y<tn.length; y++) {
+				r = {};
+
+				r.tag = tn[y];
+				r.forceAttribs = null;
+				r.defaultAttribs = null;
+				r.validAttribValues = null;
+
+				// Handle prefixes
+				px = r.tag.charAt(0);
+				r.forceOpen = px == '+';
+				r.removeEmpty = px == '-';
+				r.fill = px == '#';
+				r.tag = r.tag.replace(/\+|-|#/g, '');
+				r.oTagName = tn[0].replace(/\+|-|#/g, '').toLowerCase();
+				r.isWild = new RegExp('\\*|\\?|\\+', 'g').test(r.tag);
+				r.validRe = new RegExp(this._wildcardToRe('^' + r.tag + '$'));
+
+				// Setup valid attributes
+				if (p.length > 1) {
+					r.vAttribsRe = '^(';
+					a = this.split(/\|/, p[1]);
+
+					for (i=0; i<a.length; i++) {
+						t = a[i];
+
+						if (t.charAt(0) == '!') {
+							a[i] = t = t.substring(1);
+
+							if (!r.reqAttribsRe)
+								r.reqAttribsRe = '\\s+(' + t;
+							else
+								r.reqAttribsRe += '|' + t;
+						}
+
+						av = new RegExp('(=|:|<)(.*?)$').exec(t);
+						t = t.replace(new RegExp('(=|:|<).*?$'), '');
+						if (av && av.length > 0) {
+							if (av[0].charAt(0) == ':') {
+								if (!r.forceAttribs)
+									r.forceAttribs = tinyMCE.clearArray(new Array());
+
+								r.forceAttribs[t.toLowerCase()] = av[0].substring(1);
+							} else if (av[0].charAt(0) == '=') {
+								if (!r.defaultAttribs)
+									r.defaultAttribs = tinyMCE.clearArray(new Array());
+
+								dv = av[0].substring(1);
+
+								r.defaultAttribs[t.toLowerCase()] = dv == "" ? "mce_empty" : dv;
+							} else if (av[0].charAt(0) == '<') {
+								if (!r.validAttribValues)
+									r.validAttribValues = tinyMCE.clearArray(new Array());
+
+								r.validAttribValues[t.toLowerCase()] = this._arrayToRe(this.split('?', av[0].substring(1)), 'i');
+							}
+						}
+
+						r.vAttribsRe += '' + t.toLowerCase() + (i != a.length - 1 ? '|' : '');
+
+						a[i] = t.toLowerCase();
+					}
+
+					if (r.reqAttribsRe)
+						r.reqAttribsRe = new RegExp(r.reqAttribsRe + ')=\"', 'g');
+
+					r.vAttribsRe += ')$';
+					r.vAttribsRe = this._wildcardToRe(r.vAttribsRe);
+					r.vAttribsReIsWild = new RegExp('\\*|\\?|\\+', 'g').test(r.vAttribsRe);
+					r.vAttribsRe = new RegExp(r.vAttribsRe);
+					r.vAttribs = a.reverse();
+
+					//tinyMCE.debug(r.tag, r.oTagName, r.vAttribsRe, r.vAttribsReWC);
+				} else {
+					r.vAttribsRe = '';
+					r.vAttribs = tinyMCE.clearArray(new Array());
+					r.vAttribsReIsWild = false;
+				}
+
+				or[r.tag] = r;
+			}
+		}
+
+		return or;
+	},
+
+	serializeNodeAsXML : function(n) {
+		var s, b;
+
+		if (!this.xmlDoc) {
+			if (this.isIE) {
+				try {this.xmlDoc = new ActiveXObject('MSXML2.DOMDocument');} catch (e) {}
+
+				if (!this.xmlDoc)
+					try {this.xmlDoc = new ActiveXObject('Microsoft.XmlDom');} catch (e) {}
+			} else
+				this.xmlDoc = document.implementation.createDocument('', '', null);
+
+			if (!this.xmlDoc)
+				alert("Error XML Parser could not be found.");
+		}
+
+		if (this.xmlDoc.firstChild)
+			this.xmlDoc.removeChild(this.xmlDoc.firstChild);
+
+		b = this.xmlDoc.createElement("html");
+		b = this.xmlDoc.appendChild(b);
+
+		this._convertToXML(n, b);
+
+		if (this.isIE)
+			return this.xmlDoc.xml;
+		else
+			return new XMLSerializer().serializeToString(this.xmlDoc);
+	},
+
+	_convertToXML : function(n, xn) {
+		var xd, el, i, l, cn, at, no, hc = false;
+
+		if (this._isDuplicate(n))
+			return;
+
+		xd = this.xmlDoc;
+
+		switch (n.nodeType) {
+			case 1: // Element
+				hc = n.hasChildNodes();
+
+				el = xd.createElement(n.nodeName.toLowerCase());
+
+				at = n.attributes;
+				for (i=at.length-1; i>-1; i--) {
+					no = at[i];
+
+					if (no.specified && no.nodeValue)
+						el.setAttribute(no.nodeName.toLowerCase(), no.nodeValue);
+				}
+
+				if (!hc && !this.closeElementsRe.test(n.nodeName))
+					el.appendChild(xd.createTextNode(""));
+
+				xn = xn.appendChild(el);
+				break;
+
+			case 3: // Text
+				xn.appendChild(xd.createTextNode(n.nodeValue));
+				return;
+
+			case 8: // Comment
+				xn.appendChild(xd.createComment(n.nodeValue));
+				return;
+		}
+
+		if (hc) {
+			cn = n.childNodes;
+
+			for (i=0, l=cn.length; i<l; i++)
+				this._convertToXML(cn[i], xn);
+		}
+	},
+
+	serializeNodeAsHTML : function(n, inn) {
+		var en, no, h = '', i, l, t, st, r, cn, va = false, f = false, at, hc, cr;
+
+		this._setupRules(); // Will initialize cleanup rules
+
+		if (this._isDuplicate(n))
+			return '';
+
+		// Skip non valid child elements
+		if (n.parentNode && this.childRules != null) {
+			cr = this.childRules[n.parentNode.nodeName];
+
+			if (typeof(cr) != "undefined" && !cr.test(n.nodeName)) {
+				st = true;
+				t = null;
+			}
+		}
+
+		switch (n.nodeType) {
+			case 1: // Element
+				hc = n.hasChildNodes();
+
+				if (st)
+					break;
+
+				// MSIE sometimes produces <//tag>
+				if ((tinyMCE.isRealIE) && n.nodeName.indexOf('/') != -1)
+					break;
+
+				if (this.vElementsRe.test(n.nodeName) && (!this.iveRe || !this.iveRe.test(n.nodeName)) && !inn) {
+					va = true;
+
+					r = this.rules[n.nodeName];
+					if (!r) {
+						at = this.rules;
+						for (no in at) {
+							if (at[no] && at[no].validRe.test(n.nodeName)) {
+								r = at[no];
+								break;
+							}
+						}
+					}
+
+					en = r.isWild ? n.nodeName.toLowerCase() : r.oTagName;
+					f = r.fill;
+
+					if (r.removeEmpty && !hc)
+						return "";
+
+					t = '<' + en;
+
+					if (r.vAttribsReIsWild) {
+						// Serialize wildcard attributes
+						at = n.attributes;
+						for (i=at.length-1; i>-1; i--) {
+							no = at[i];
+							if (no.specified && r.vAttribsRe.test(no.nodeName))
+								t += this._serializeAttribute(n, r, no.nodeName);
+						}
+					} else {
+						// Serialize specific attributes
+						for (i=r.vAttribs.length-1; i>-1; i--)
+							t += this._serializeAttribute(n, r, r.vAttribs[i]);
+					}
+
+					// Serialize mce_ atts
+					if (!this.settings.on_save) {
+						at = this.mceAttribs;
+
+						for (no in at) {
+							if (at[no])
+								t += this._serializeAttribute(n, r, at[no]);
+						}
+					}
+
+					// Check for required attribs
+					if (r.reqAttribsRe && !t.match(r.reqAttribsRe))
+						t = null;
+
+					// Close these
+					if (t != null && this.closeElementsRe.test(n.nodeName))
+						return t + ' />';
+
+					if (t != null)
+						h += t + '>';
+
+					if (this.isIE && this.codeElementsRe.test(n.nodeName))
+						h += n.innerHTML;
+				}
+			break;
+
+			case 3: // Text
+				if (st)
+					break;
+
+				if (n.parentNode && this.codeElementsRe.test(n.parentNode.nodeName))
+					return this.isIE ? '' : n.nodeValue;
+
+				return this.xmlEncode(n.nodeValue);
+
+			case 8: // Comment
+				if (st)
+					break;
+
+				return "<!--" + this._trimComment(n.nodeValue) + "-->";
+		}
+
+		if (hc) {
+			cn = n.childNodes;
+
+			for (i=0, l=cn.length; i<l; i++)
+				h += this.serializeNodeAsHTML(cn[i]);
+		}
+
+		// Fill empty nodes
+		if (f && !hc)
+			h += this.fillStr;
+
+		// End element
+		if (t != null && va)
+			h += '</' + en + '>';
+
+		return h;
+	},
+
+	_serializeAttribute : function(n, r, an) {
+		var av = '', t, os = this.settings.on_save;
+
+		if (os && (an.indexOf('mce_') == 0 || an.indexOf('_moz') == 0))
+			return '';
+
+		if (os && this.mceAttribs[an])
+			av = this._getAttrib(n, this.mceAttribs[an]);
+
+		if (av.length == 0)
+			av = this._getAttrib(n, an);
+
+		if (av.length == 0 && r.defaultAttribs && (t = r.defaultAttribs[an])) {
+			av = t;
+
+			if (av == "mce_empty")
+				return " " + an + '=""';
+		}
+
+		if (r.forceAttribs && (t = r.forceAttribs[an]))
+			av = t;
+
+		if (os && av.length != 0 && this.settings.url_converter.length != 0 && /^(src|href|longdesc)$/.test(an))
+			av = eval(this.settings.url_converter + '(this, n, av)');
+
+		if (av.length != 0 && r.validAttribValues && r.validAttribValues[an] && !r.validAttribValues[an].test(av))
+			return "";
+
+		if (av.length != 0 && av == "{$uid}")
+			av = "uid_" + (this.idCount++);
+
+		if (av.length != 0) {
+			if (an.indexOf('on') != 0)
+				av = this.xmlEncode(av);
+
+			return " " + an + "=" + '"' + av + '"';
+		}
+
+		return "";
+	},
+
+	formatHTML : function(h) {
+		var s = this.settings, p = '', i = 0, li = 0, o = '', l;
+
+		// Replace BR in pre elements to \n
+		h = h.replace(/<pre([^>]*)>(.*?)<\/pre>/gi, function (a, b, c) {
+			c = c.replace(/<br\s*\/>/gi, '\n');
+			return '<pre' + b + '>' + c + '</pre>';
+		});
+
+		h = h.replace(/\r/g, ''); // Windows sux, isn't carriage return a thing of the past :)
+		h = '\n' + h;
+		h = h.replace(new RegExp('\\n\\s+', 'gi'), '\n'); // Remove previous formatting
+		h = h.replace(this.nlBeforeRe, '\n<$1$2>');
+		h = h.replace(this.nlAfterRe, '<$1$2>\n');
+		h = h.replace(this.nlBeforeAfterRe, '\n<$1$2$3>\n');
+		h += '\n';
+
+		//tinyMCE.debug(h);
+
+		while ((i = h.indexOf('\n', i + 1)) != -1) {
+			if ((l = h.substring(li + 1, i)).length != 0) {
+				if (this.ouRe.test(l) && p.length >= s.indent_levels)
+					p = p.substring(s.indent_levels);
+
+				o += p + l + '\n';
+	
+				if (this.inRe.test(l))
+					p += this.inStr;
+			}
+
+			li = i;
+		}
+
+		//tinyMCE.debug(h);
+
+		return o;
+	},
+
+	xmlEncode : function(s) {
+		var cl = this;
+
+		this._setupEntities(); // Will intialize lookup table
+
+		switch (this.settings.entity_encoding) {
+			case "raw":
+				return tinyMCE.xmlEncode(s);
+
+			case "named":
+				return s.replace(new RegExp('[\u007F-\uFFFF<>&"\']', 'g'), function (c, b) {
+					b = cl.entities[c.charCodeAt(0)];
+
+					return b ? '&' + b + ';' : c;
+				});
+
+			case "numeric":
+				return s.replace(new RegExp('[\u007F-\uFFFF<>&"\']', 'g'), function (c, b) {
+					return b ? '&#' + c.charCodeAt(0) + ';' : c;
+				});
+		}
+
+		return s;
+	},
+
+	split : function(re, s) {
+		var c = s.split(re);
+		var i, l, o = new Array();
+
+		for (i=0, l=c.length; i<l; i++) {
+			if (c[i] != '')
+				o[i] = c[i];
+		}
+
+		return o;
+	},
+
+	_trimComment : function(s) {
+		// Remove mce_src, mce_href
+		s = s.replace(new RegExp('\\smce_src=\"[^\"]*\"', 'gi'), "");
+		s = s.replace(new RegExp('\\smce_href=\"[^\"]*\"', 'gi'), "");
+
+		return s;
+	},
+
+	_getAttrib : function(e, n, d) {
+		if (typeof(d) == "undefined")
+			d = "";
+
+		if (!e || e.nodeType != 1)
+			return d;
+
+		var v = e.getAttribute(n, 0);
+
+		if (n == "class" && !v)
+			v = e.className;
+
+		if (this.isIE && n == "http-equiv")
+			v = e.httpEquiv;
+
+		if (this.isIE && e.nodeName == "FORM" && n == "enctype" && v == "application/x-www-form-urlencoded")
+			v = "";
+
+		if (this.isIE && e.nodeName == "INPUT" && n == "size" && v == "20")
+			v = "";
+
+		if (this.isIE && e.nodeName == "INPUT" && n == "maxlength" && v == "2147483647")
+			v = "";
+
+		if (n == "style" && !tinyMCE.isOpera)
+			v = e.style.cssText;
+
+		if (n == 'style')
+			v = tinyMCE.serializeStyle(tinyMCE.parseStyle(v));
+
+		if (this.settings.on_save && n.indexOf('on') != -1 && this.settings.on_save && v && v != "")
+			v = tinyMCE.cleanupEventStr(v);
+
+		return (v && v != "") ? '' + v : d;
+	},
+
+	_urlConverter : function(c, n, v) {
+		if (!c.settings.on_save)
+			return tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings.base_href, v);
+		else if (tinyMCE.getParam('convert_urls'))
+			return eval(tinyMCE.settings.urlconverter_callback + "(v, n, true);");
+
+		return v;
+	},
+
+	_arrayToRe : function(a, op, be, af) {
+		var i, r;
+
+		op = typeof(op) == "undefined" ? "gi" : op;
+		be = typeof(be) == "undefined" ? "^(" : be;
+		af = typeof(af) == "undefined" ? ")$" : af;
+
+		r = be;
+
+		for (i=0; i<a.length; i++)
+			r += this._wildcardToRe(a[i]) + (i != a.length-1 ? "|" : "");
+
+		r += af;
+
+		return new RegExp(r, op);
+	},
+
+	_wildcardToRe : function(s) {
+		s = s.replace(/\?/g, '(\\S?)');
+		s = s.replace(/\+/g, '(\\S+)');
+		s = s.replace(/\*/g, '(\\S*)');
+
+		return s;
+	},
+
+	_setupEntities : function() {
+		var n, a, i, s = this.settings;
+
+		// Setup entities
+		if (!this.entitiesDone) {
+			if (s.entity_encoding == "named") {
+				n = tinyMCE.clearArray(new Array());
+				a = this.split(',', s.entities);
+				for (i=0; i<a.length; i+=2)
+					n[a[i]] = a[i+1];
+
+				this.entities = n;
+			}
+
+			this.entitiesDone = true;
+		}
+	},
+
+	_setupRules : function() {
+		var s = this.settings;
+
+		// Setup default rule
+		if (!this.rulesDone) {
+			this.addRuleStr(s.valid_elements);
+			this.addRuleStr(s.extended_valid_elements);
+			this.addChildRemoveRuleStr(s.valid_child_elements);
+
+			this.rulesDone = true;
+		}
+	},
+
+	_isDuplicate : function(n) {
+		var i;
+
+		if (!this.settings.fix_content_duplication)
+			return false;
+
+		if (tinyMCE.isRealIE && n.nodeType == 1) {
+			// Mark elements
+			if (n.mce_serialized == this.serializationId)
+				return true;
+
+			n.setAttribute('mce_serialized', this.serializationId);
+		} else {
+			// Search lookup table for text nodes  and comments
+			for (i=0; i<this.serializedNodes.length; i++) {
+				if (this.serializedNodes[i] == n)
+					return true;
+			}
+
+			this.serializedNodes[this.serializedNodes.length] = n;
+		}
+
+		return false;
+	}
+
+	};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_DOMUtils.class.js */
+
+TinyMCE_Engine.prototype.createTagHTML = function(tn, a, h) {
+	var o = '', f = tinyMCE.xmlEncode;
+
+	o = '<' + tn;
+
+	if (a) {
+		for (n in a) {
+			if (typeof(a[n]) != 'function' && a[n] != null)
+				o += ' ' + f(n) + '="' + f('' + a[n]) + '"';
+		}
+	}
+
+	o += !h ? ' />' : '>' + h + '</' + tn + '>';
+
+	return o;
+};
+
+TinyMCE_Engine.prototype.createTag = function(d, tn, a, h) {
+	var o = d.createElement(tn);
+
+	if (a) {
+		for (n in a) {
+			if (typeof(a[n]) != 'function' && a[n] != null)
+				tinyMCE.setAttrib(o, n, a[n]);
+		}
+	}
+
+	if (h)
+		o.innerHTML = h;
+
+	return o;
+};
+
+TinyMCE_Engine.prototype.getElementByAttributeValue = function(n, e, a, v) {
+	return (n = this.getElementsByAttributeValue(n, e, a, v)).length == 0 ? null : n[0];
+};
+
+TinyMCE_Engine.prototype.getElementsByAttributeValue = function(n, e, a, v) {
+	var i, nl = n.getElementsByTagName(e), o = new Array();
+
+	for (i=0; i<nl.length; i++) {
+		if (tinyMCE.getAttrib(nl[i], a).indexOf(v) != -1)
+			o[o.length] = nl[i];
+	}
+
+	return o;
+};
+
+TinyMCE_Engine.prototype.isBlockElement = function(n) {
+	return n != null && n.nodeType == 1 && this.blockRegExp.test(n.nodeName);
+};
+
+TinyMCE_Engine.prototype.getParentBlockElement = function(n, r) {
+	return this.getParentNode(n, function(n) {
+		return tinyMCE.isBlockElement(n);
+	}, r);
+
+	return null;
+};
+
+TinyMCE_Engine.prototype.insertAfter = function(n, r){
+	if (r.nextSibling)
+		r.parentNode.insertBefore(n, r.nextSibling);
+	else
+		r.parentNode.appendChild(n);
+};
+
+TinyMCE_Engine.prototype.setInnerHTML = function(e, h) {
+	var i, nl, n;
+
+	// Convert all strong/em to b/i in Gecko
+	if (tinyMCE.isGecko) {
+		h = h.replace(/<strong/gi, '<b');
+		h = h.replace(/<em(\/?)/gi, '<i');
+		h = h.replace(/<em /gi, '<i');
+		h = h.replace(/<\/strong>/gi, '</b>');
+		h = h.replace(/<\/em>/gi, '</i>');
+	}
+
+	if (tinyMCE.isRealIE) {
+		// Since MSIE handles invalid HTML better that valid XHTML we
+		// need to make some things invalid. <hr /> gets converted to <hr>.
+		h = h.replace(/\s\/>/g, '>');
+
+		// Since MSIE auto generated emtpy P tags some times we must tell it to keep the real ones
+		h = h.replace(/<p([^>]*)>\u00A0?<\/p>/gi, '<p$1 mce_keep="true">&nbsp;</p>'); // Keep empty paragraphs
+		h = h.replace(/<p([^>]*)>\s*&nbsp;\s*<\/p>/gi, '<p$1 mce_keep="true">&nbsp;</p>'); // Keep empty paragraphs
+		h = h.replace(/<p([^>]*)>\s+<\/p>/gi, '<p$1 mce_keep="true">&nbsp;</p>'); // Keep empty paragraphs
+
+		// Remove first comment
+		e.innerHTML = tinyMCE.uniqueTag + h;
+		e.firstChild.removeNode(true);
+
+		// Remove weird auto generated empty paragraphs unless it's supposed to be there
+		nl = e.getElementsByTagName("p");
+		for (i=nl.length-1; i>=0; i--) {
+			n = nl[i];
+
+			if (n.nodeName == 'P' && !n.hasChildNodes() && !n.mce_keep)
+				n.parentNode.removeChild(n);
+		}
+	} else {
+		h = this.fixGeckoBaseHREFBug(1, e, h);
+		e.innerHTML = h;
+		this.fixGeckoBaseHREFBug(2, e, h);
+	}
+};
+
+TinyMCE_Engine.prototype.getOuterHTML = function(e) {
+	if (tinyMCE.isIE)
+		return e.outerHTML;
+
+	var d = e.ownerDocument.createElement("body");
+	d.appendChild(e.cloneNode(true));
+	return d.innerHTML;
+};
+
+TinyMCE_Engine.prototype.setOuterHTML = function(e, h, d) {
+	var d = typeof(d) == "undefined" ? e.ownerDocument : d, i, nl, t;
+
+	if (tinyMCE.isIE && e.nodeType == 1)
+		e.outerHTML = h;
+	else {
+		t = d.createElement("body");
+		t.innerHTML = h;
+
+		for (i=0, nl=t.childNodes; i<nl.length; i++)
+			e.parentNode.insertBefore(nl[i].cloneNode(true), e);
+
+		e.parentNode.removeChild(e);
+	}
+};
+
+TinyMCE_Engine.prototype._getElementById = function(id, d) {
+	var e, i, j, f;
+
+	if (typeof(d) == "undefined")
+		d = document;
+
+	e = d.getElementById(id);
+	if (!e) {
+		f = d.forms;
+
+		for (i=0; i<f.length; i++) {
+			for (j=0; j<f[i].elements.length; j++) {
+				if (f[i].elements[j].name == id) {
+					e = f[i].elements[j];
+					break;
+				}
+			}
+		}
+	}
+
+	return e;
+};
+
+TinyMCE_Engine.prototype.getNodeTree = function(n, na, t, nn) {
+	return this.selectNodes(n, function(n) {
+		return (!t || n.nodeType == t) && (!nn || n.nodeName == nn);
+	}, na ? na : new Array());
+};
+
+TinyMCE_Engine.prototype.getParentElement = function(n, na, f, r) {
+	var re = na ? new RegExp('^(' + na.toUpperCase().replace(/,/g, '|') + ')$') : 0, v;
+
+	// Compatiblity with old scripts where f param was a attribute string
+	if (f && typeof(f) == 'string')
+		return this.getParentElement(n, na, function(no) {return tinyMCE.getAttrib(no, f) != '';});
+
+	return this.getParentNode(n, function(n) {
+		return ((n.nodeType == 1 && !re) || (re && re.test(n.nodeName))) && (!f || f(n));
+	}, r);
+};
+
+TinyMCE_Engine.prototype.getParentNode = function(n, f, r) {
+	while (n) {
+		if (n == r)
+			return null;
+
+		if (f(n))
+			return n;
+
+		n = n.parentNode;
+	}
+
+	return null;
+};
+
+TinyMCE_Engine.prototype.getAttrib = function(elm, name, dv) {
+	var v;
+
+	if (typeof(dv) == "undefined")
+		dv = "";
+
+	// Not a element
+	if (!elm || elm.nodeType != 1)
+		return dv;
+
+	v = elm.getAttribute(name);
+
+	// Try className for class attrib
+	if (name == "class" && !v)
+		v = elm.className;
+
+	// Workaround for a issue with Firefox 1.5rc2+
+	if (tinyMCE.isGecko && name == "src" && elm.src != null && elm.src != "")
+		v = elm.src;
+
+	// Workaround for a issue with Firefox 1.5rc2+
+	if (tinyMCE.isGecko && name == "href" && elm.href != null && elm.href != "")
+		v = elm.href;
+
+	if (name == "http-equiv" && tinyMCE.isIE)
+		v = elm.httpEquiv;
+
+	if (name == "style" && !tinyMCE.isOpera)
+		v = elm.style.cssText;
+
+	return (v && v != "") ? v : dv;
+};
+
+TinyMCE_Engine.prototype.setAttrib = function(el, name, va, fix) {
+	if (typeof(va) == "number" && va != null)
+		va = "" + va;
+
+	if (fix) {
+		if (va == null)
+			va = "";
+
+		va = va.replace(/[^0-9%]/g, '');
+	}
+
+	if (name == "style")
+		el.style.cssText = va;
+
+	if (name == "class")
+		el.className = va;
+
+	if (va != null && va != "" && va != -1)
+		el.setAttribute(name, va);
+	else
+		el.removeAttribute(name);
+};
+
+TinyMCE_Engine.prototype.setStyleAttrib = function(e, n, v) {
+	e.style[n] = v;
+
+	// Style attrib deleted in IE
+	if (tinyMCE.isIE && v == null || v == '') {
+		v = tinyMCE.serializeStyle(tinyMCE.parseStyle(e.style.cssText));
+		e.style.cssText = v;
+		e.setAttribute("style", v);
+	}
+};
+
+TinyMCE_Engine.prototype.switchClass = function(ei, c) {
+	var e;
+
+	if (tinyMCE.switchClassCache[ei])
+		e = tinyMCE.switchClassCache[ei];
+	else
+		e = tinyMCE.switchClassCache[ei] = document.getElementById(ei);
+
+	if (e) {
+		// Keep tile mode
+		if (tinyMCE.settings.button_tile_map && e.className && e.className.indexOf('mceTiledButton') == 0)
+			c = 'mceTiledButton ' + c;
+
+		e.className = c;
+	}
+};
+
+TinyMCE_Engine.prototype.getAbsPosition = function(n, cn) {
+	var l = 0, t = 0;
+
+	while (n && n != cn) {
+		l += n.offsetLeft;
+		t += n.offsetTop;
+		n = n.offsetParent;
+	}
+
+	return {absLeft : l, absTop : t};
+};
+
+TinyMCE_Engine.prototype.prevNode = function(e, n) {
+	var a = n.split(','), i;
+
+	while ((e = e.previousSibling) != null) {
+		for (i=0; i<a.length; i++) {
+			if (e.nodeName == a[i])
+				return e;
+		}
+	}
+
+	return null;
+};
+
+TinyMCE_Engine.prototype.nextNode = function(e, n) {
+	var a = n.split(','), i;
+
+	while ((e = e.nextSibling) != null) {
+		for (i=0; i<a.length; i++) {
+			if (e.nodeName == a[i])
+				return e;
+		}
+	}
+
+	return null;
+};
+
+TinyMCE_Engine.prototype.selectElements = function(n, na, f) {
+	var i, a = [], nl, x;
+
+	for (x=0, na = na.split(','); x<na.length; x++)
+		for (i=0, nl = n.getElementsByTagName(na[x]); i<nl.length; i++)
+			(!f || f(nl[i])) && a.push(nl[i]);
+
+	return a;
+};
+
+TinyMCE_Engine.prototype.selectNodes = function(n, f, a) {
+	var i;
+
+	if (!a)
+		a = new Array();
+
+	if (f(n))
+		a[a.length] = n;
+
+	if (n.hasChildNodes()) {
+		for (i=0; i<n.childNodes.length; i++)
+			tinyMCE.selectNodes(n.childNodes[i], f, a);
+	}
+
+	return a;
+};
+
+TinyMCE_Engine.prototype.addCSSClass = function(e, c, b) {
+	var o = this.removeCSSClass(e, c);
+	return e.className = b ? c + (o != '' ? (' ' + o) : '') : (o != '' ? (o + ' ') : '') + c;
+};
+
+TinyMCE_Engine.prototype.removeCSSClass = function(e, c) {
+	c = e.className.replace(new RegExp("(^|\\s+)" + c + "(\\s+|$)"), ' ');
+	return e.className = c != ' ' ? c : '';
+};
+
+TinyMCE_Engine.prototype.hasCSSClass = function(n, c) {
+	return new RegExp('\\b' + c + '\\b', 'g').test(n.className);
+};
+
+TinyMCE_Engine.prototype.renameElement = function(e, n, d) {
+	var ne, i, ar;
+
+	d = typeof(d) == "undefined" ? tinyMCE.selectedInstance.getDoc() : d;
+
+	if (e) {
+		ne = d.createElement(n);
+
+		ar = e.attributes;
+		for (i=ar.length-1; i>-1; i--) {
+			if (ar[i].specified && ar[i].nodeValue)
+				ne.setAttribute(ar[i].nodeName.toLowerCase(), ar[i].nodeValue);
+		}
+
+		ar = e.childNodes;
+		for (i=0; i<ar.length; i++)
+			ne.appendChild(ar[i].cloneNode(true));
+
+		e.parentNode.replaceChild(ne, e);
+	}
+};
+
+TinyMCE_Engine.prototype.getViewPort = function(w) {
+	var d = w.document, m = d.compatMode == 'CSS1Compat', b = d.body, de = d.documentElement;
+
+	return {
+		left : w.pageXOffset || (m ? de.scrollLeft : b.scrollLeft),
+		top : w.pageYOffset || (m ? de.scrollTop : b.scrollTop),
+		width : w.innerWidth || (m ? de.clientWidth : b.clientWidth),
+		height : w.innerHeight || (m ? de.clientHeight : b.clientHeight)
+	};
+};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_URL.class.js */
+
+TinyMCE_Engine.prototype.parseURL = function(url_str) {
+	var urlParts = new Array();
+
+	if (url_str) {
+		var pos, lastPos;
+
+		// Parse protocol part
+		pos = url_str.indexOf('://');
+		if (pos != -1) {
+			urlParts['protocol'] = url_str.substring(0, pos);
+			lastPos = pos + 3;
+		}
+
+		// Find port or path start
+		for (var i=lastPos; i<url_str.length; i++) {
+			var chr = url_str.charAt(i);
+
+			if (chr == ':')
+				break;
+
+			if (chr == '/')
+				break;
+		}
+		pos = i;
+
+		// Get host
+		urlParts['host'] = url_str.substring(lastPos, pos);
+
+		// Get port
+		urlParts['port'] = "";
+		lastPos = pos;
+		if (url_str.charAt(pos) == ':') {
+			pos = url_str.indexOf('/', lastPos);
+			urlParts['port'] = url_str.substring(lastPos+1, pos);
+		}
+
+		// Get path
+		lastPos = pos;
+		pos = url_str.indexOf('?', lastPos);
+
+		if (pos == -1)
+			pos = url_str.indexOf('#', lastPos);
+
+		if (pos == -1)
+			pos = url_str.length;
+
+		urlParts['path'] = url_str.substring(lastPos, pos);
+
+		// Get query
+		lastPos = pos;
+		if (url_str.charAt(pos) == '?') {
+			pos = url_str.indexOf('#');
+			pos = (pos == -1) ? url_str.length : pos;
+			urlParts['query'] = url_str.substring(lastPos+1, pos);
+		}
+
+		// Get anchor
+		lastPos = pos;
+		if (url_str.charAt(pos) == '#') {
+			pos = url_str.length;
+			urlParts['anchor'] = url_str.substring(lastPos+1, pos);
+		}
+	}
+
+	return urlParts;
+};
+
+TinyMCE_Engine.prototype.serializeURL = function(up) {
+	var o = "";
+
+	if (up['protocol'])
+		o += up['protocol'] + "://";
+
+	if (up['host'])
+		o += up['host'];
+
+	if (up['port'])
+		o += ":" + up['port'];
+
+	if (up['path'])
+		o += up['path'];
+
+	if (up['query'])
+		o += "?" + up['query'];
+
+	if (up['anchor'])
+		o += "#" + up['anchor'];
+
+	return o;
+};
+
+TinyMCE_Engine.prototype.convertAbsoluteURLToRelativeURL = function(base_url, url_to_relative) {
+	var baseURL = this.parseURL(base_url);
+	var targetURL = this.parseURL(url_to_relative);
+	var strTok1;
+	var strTok2;
+	var breakPoint = 0;
+	var outPath = "";
+	var forceSlash = false;
+
+	if (targetURL.path == "")
+		targetURL.path = "/";
+	else
+		forceSlash = true;
+
+	// Crop away last path part
+	base_url = baseURL.path.substring(0, baseURL.path.lastIndexOf('/'));
+	strTok1 = base_url.split('/');
+	strTok2 = targetURL.path.split('/');
+
+	if (strTok1.length >= strTok2.length) {
+		for (var i=0; i<strTok1.length; i++) {
+			if (i >= strTok2.length || strTok1[i] != strTok2[i]) {
+				breakPoint = i + 1;
+				break;
+			}
+		}
+	}
+
+	if (strTok1.length < strTok2.length) {
+		for (var i=0; i<strTok2.length; i++) {
+			if (i >= strTok1.length || strTok1[i] != strTok2[i]) {
+				breakPoint = i + 1;
+				break;
+			}
+		}
+	}
+
+	if (breakPoint == 1)
+		return targetURL.path;
+
+	for (var i=0; i<(strTok1.length-(breakPoint-1)); i++)
+		outPath += "../";
+
+	for (var i=breakPoint-1; i<strTok2.length; i++) {
+		if (i != (breakPoint-1))
+			outPath += "/" + strTok2[i];
+		else
+			outPath += strTok2[i];
+	}
+
+	targetURL.protocol = null;
+	targetURL.host = null;
+	targetURL.port = null;
+	targetURL.path = outPath == "" && forceSlash ? "/" : outPath;
+
+	// Remove document prefix from local anchors
+	var fileName = baseURL.path;
+	var pos;
+
+	if ((pos = fileName.lastIndexOf('/')) != -1)
+		fileName = fileName.substring(pos + 1);
+
+	// Is local anchor
+	if (fileName == targetURL.path && targetURL.anchor != "")
+		targetURL.path = "";
+
+	// If empty and not local anchor force filename or slash
+	if (targetURL.path == "" && !targetURL.anchor)
+		targetURL.path = fileName != "" ? fileName : "/";
+
+	return this.serializeURL(targetURL);
+};
+
+TinyMCE_Engine.prototype.convertRelativeToAbsoluteURL = function(base_url, relative_url) {
+	var baseURL = this.parseURL(base_url), baseURLParts, relURLParts;
+	var relURL = this.parseURL(relative_url);
+
+	if (relative_url == "" || relative_url.indexOf('://') != -1 || /^(mailto:|javascript:|#|\/)/.test(relative_url))
+		return relative_url;
+
+	// Split parts
+	baseURLParts = baseURL['path'].split('/');
+	relURLParts = relURL['path'].split('/');
+
+	// Remove empty chunks
+	var newBaseURLParts = new Array();
+	for (var i=baseURLParts.length-1; i>=0; i--) {
+		if (baseURLParts[i].length == 0)
+			continue;
+
+		newBaseURLParts[newBaseURLParts.length] = baseURLParts[i];
+	}
+	baseURLParts = newBaseURLParts.reverse();
+
+	// Merge relURLParts chunks
+	var newRelURLParts = new Array();
+	var numBack = 0;
+	for (var i=relURLParts.length-1; i>=0; i--) {
+		if (relURLParts[i].length == 0 || relURLParts[i] == ".")
+			continue;
+
+		if (relURLParts[i] == '..') {
+			numBack++;
+			continue;
+		}
+
+		if (numBack > 0) {
+			numBack--;
+			continue;
+		}
+
+		newRelURLParts[newRelURLParts.length] = relURLParts[i];
+	}
+
+	relURLParts = newRelURLParts.reverse();
+
+	// Remove end from absolute path
+	var len = baseURLParts.length-numBack;
+	var absPath = (len <= 0 ? "" : "/") + baseURLParts.slice(0, len).join('/') + "/" + relURLParts.join('/');
+	var start = "", end = "";
+
+	// Build output URL
+	relURL.protocol = baseURL.protocol;
+	relURL.host = baseURL.host;
+	relURL.port = baseURL.port;
+
+	// Re-add trailing slash if it's removed
+	if (relURL.path.charAt(relURL.path.length-1) == "/")
+		absPath += "/";
+
+	relURL.path = absPath;
+
+	return this.serializeURL(relURL);
+};
+
+TinyMCE_Engine.prototype.convertURL = function(url, node, on_save) {
+	var prot = document.location.protocol;
+	var host = document.location.hostname;
+	var port = document.location.port;
+
+	// Pass through file protocol
+	if (prot == "file:")
+		return url;
+
+	// Something is wrong, remove weirdness
+	url = tinyMCE.regexpReplace(url, '(http|https):///', '/');
+
+	// Mailto link or anchor (Pass through)
+	if (url.indexOf('mailto:') != -1 || url.indexOf('javascript:') != -1 || tinyMCE.regexpReplace(url,'[ \t\r\n\+]|%20','').charAt(0) == "#")
+		return url;
+
+	// Fix relative/Mozilla
+	if (!tinyMCE.isIE && !on_save && url.indexOf("://") == -1 && url.charAt(0) != '/')
+		return tinyMCE.settings['base_href'] + url;
+
+	// Handle relative URLs
+	if (on_save && tinyMCE.getParam('relative_urls')) {
+		var curl = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], url);
+		if (curl.charAt(0) == '/')
+			curl = tinyMCE.settings['document_base_prefix'] + curl;
+
+		var urlParts = tinyMCE.parseURL(curl);
+		var tmpUrlParts = tinyMCE.parseURL(tinyMCE.settings['document_base_url']);
+
+		// Force relative
+		if (urlParts['host'] == tmpUrlParts['host'] && (urlParts['port'] == tmpUrlParts['port']))
+			return tinyMCE.convertAbsoluteURLToRelativeURL(tinyMCE.settings['document_base_url'], curl);
+	}
+
+	// Handle absolute URLs
+	if (!tinyMCE.getParam('relative_urls')) {
+		var urlParts = tinyMCE.parseURL(url);
+		var baseUrlParts = tinyMCE.parseURL(tinyMCE.settings['base_href']);
+
+		// Force absolute URLs from relative URLs
+		url = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], url);
+
+		// If anchor and path is the same page
+		if (urlParts['anchor'] && urlParts['path'] == baseUrlParts['path'])
+			return "#" + urlParts['anchor'];
+	}
+
+	// Remove current domain
+	if (tinyMCE.getParam('remove_script_host')) {
+		var start = "", portPart = "";
+
+		if (port != "")
+			portPart = ":" + port;
+
+		start = prot + "//" + host + portPart + "/";
+
+		if (url.indexOf(start) == 0)
+			url = url.substring(start.length-1);
+	}
+
+	return url;
+};
+
+TinyMCE_Engine.prototype.convertAllRelativeURLs = function(body) {
+	var i, elms, src, href, mhref, msrc;
+
+	// Convert all image URL:s to absolute URL
+	elms = body.getElementsByTagName("img");
+	for (i=0; i<elms.length; i++) {
+		src = tinyMCE.getAttrib(elms[i], 'src');
+
+		msrc = tinyMCE.getAttrib(elms[i], 'mce_src');
+		if (msrc != "")
+			src = msrc;
+
+		if (src != "") {
+			src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src);
+			elms[i].setAttribute("src", src);
+		}
+	}
+
+	// Convert all link URL:s to absolute URL
+	elms = body.getElementsByTagName("a");
+	for (i=0; i<elms.length; i++) {
+		href = tinyMCE.getAttrib(elms[i], 'href');
+
+		mhref = tinyMCE.getAttrib(elms[i], 'mce_href');
+		if (mhref != "")
+			href = mhref;
+
+		if (href && href != "") {
+			href = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], href);
+			elms[i].setAttribute("href", href);
+		}
+	}
+};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_Array.class.js */
+
+TinyMCE_Engine.prototype.clearArray = function(a) {
+	var n;
+
+	for (n in a)
+		a[n] = null;
+
+	return a;
+};
+
+TinyMCE_Engine.prototype.explode = function(d, s) {
+	var ar = s.split(d), oar = new Array(), i;
+
+	for (i = 0; i<ar.length; i++) {
+		if (ar[i] != "")
+			oar[oar.length] = ar[i];
+	}
+
+	return oar;
+};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_Event.class.js */
+
+TinyMCE_Engine.prototype._setEventsEnabled = function(node, state) {
+	var evs, x, y, elms, i, event;
+	var events = ['onfocus','onblur','onclick','ondblclick',
+				'onmousedown','onmouseup','onmouseover','onmousemove',
+				'onmouseout','onkeypress','onkeydown','onkeydown','onkeyup'];
+
+	evs = tinyMCE.settings['event_elements'].split(',');
+	for (y=0; y<evs.length; y++){
+		elms = node.getElementsByTagName(evs[y]);
+		for (i=0; i<elms.length; i++) {
+			event = "";
+
+			for (x=0; x<events.length; x++) {
+				if ((event = tinyMCE.getAttrib(elms[i], events[x])) != '') {
+					event = tinyMCE.cleanupEventStr("" + event);
+
+					if (!state)
+						event = "return true;" + event;
+					else
+						event = event.replace(/^return true;/gi, '');
+
+					elms[i].removeAttribute(events[x]);
+					elms[i].setAttribute(events[x], event);
+				}
+			}
+		}
+	}
+};
+
+TinyMCE_Engine.prototype._eventPatch = function(editor_id) {
+	var n, inst, win, e;
+
+	// Remove odd, error
+	if (typeof(tinyMCE) == "undefined")
+		return true;
+
+	try {
+		// Try selected instance first
+		if (tinyMCE.selectedInstance) {
+			win = tinyMCE.selectedInstance.getWin();
+
+			if (win && win.event) {
+				e = win.event;
+
+				if (!e.target)
+					e.target = e.srcElement;
+
+				TinyMCE_Engine.prototype.handleEvent(e);
+				return;
+			}
+		}
+
+		// Search for it
+		for (n in tinyMCE.instances) {
+			inst = tinyMCE.instances[n];
+
+			if (!tinyMCE.isInstance(inst))
+				continue;
+
+			inst.select();
+			win = inst.getWin();
+
+			if (win && win.event) {
+				e = win.event;
+
+				if (!e.target)
+					e.target = e.srcElement;
+
+				TinyMCE_Engine.prototype.handleEvent(e);
+				return;
+			}
+		}
+	} catch (ex) {
+		// Ignore error if iframe is pointing to external URL
+	}
+};
+
+TinyMCE_Engine.prototype.findEvent = function(e) {
+	var n, inst;
+
+	if (e)
+		return e;
+
+	for (n in tinyMCE.instances) {
+		inst = tinyMCE.instances[n];
+
+		if (tinyMCE.isInstance(inst) && inst.getWin().event)
+			return inst.getWin().event;
+	}
+
+	return null;
+};
+
+TinyMCE_Engine.prototype.unloadHandler = function() {
+	tinyMCE.triggerSave(true, true);
+};
+
+TinyMCE_Engine.prototype.addEventHandlers = function(inst) {
+	this.setEventHandlers(inst, 1);
+};
+
+TinyMCE_Engine.prototype.setEventHandlers = function(inst, s) {
+	var doc = inst.getDoc(), ie, ot, i, f = s ? tinyMCE.addEvent : tinyMCE.removeEvent;
+
+	ie = ['keypress', 'keyup', 'keydown', 'click', 'mouseup', 'mousedown', 'controlselect', 'dblclick'];
+	ot = ['keypress', 'keyup', 'keydown', 'click', 'mouseup', 'mousedown', 'focus', 'blur', 'dragdrop'];
+
+	inst.switchSettings();
+
+	if (tinyMCE.isIE) {
+		for (i=0; i<ie.length; i++)
+			f(doc, ie[i], TinyMCE_Engine.prototype._eventPatch);
+	} else {
+		for (i=0; i<ot.length; i++)
+			f(doc, ot[i], tinyMCE.handleEvent);
+
+		eval('try { doc.designMode = "On"; } catch(e) {}'); // Force designmode
+	}
+};
+
+TinyMCE_Engine.prototype.onMouseMove = function() {
+	var inst, lh;
+
+	// Fix for IE7 bug where it's not restoring hover on anchors correctly
+	if (tinyMCE.lastHover) {
+		lh = tinyMCE.lastHover;
+
+		// Call out on menus and refresh class on normal buttons
+		if (lh.className.indexOf('mceMenu') != -1)
+			tinyMCE._menuButtonEvent('out', lh);
+		else
+			lh.className = lh.className;
+
+		tinyMCE.lastHover = null;
+	}
+
+	if (!tinyMCE.hasMouseMoved) {
+		inst = tinyMCE.selectedInstance;
+
+		// Workaround for bug #1437457 (Odd MSIE bug)
+		if (inst.isFocused) {
+			inst.undoBookmark = inst.selection.getBookmark();
+			tinyMCE.hasMouseMoved = true;
+		}
+	}
+
+//	tinyMCE.cancelEvent(inst.getWin().event);
+//	return false;
+};
+
+TinyMCE_Engine.prototype.cancelEvent = function(e) {
+	if (!e)
+		return false;
+
+	if (tinyMCE.isIE) {
+		e.returnValue = false;
+		e.cancelBubble = true;
+	} else {
+		e.preventDefault();
+		e.stopPropagation && e.stopPropagation();
+	}
+
+	return false;
+};
+
+TinyMCE_Engine.prototype.addEvent = function(o, n, h) {
+	// Add cleanup for all non unload events
+	if (n != 'unload') {
+		function clean() {
+			var ex;
+
+			try {
+				tinyMCE.removeEvent(o, n, h);
+				tinyMCE.removeEvent(window, 'unload', clean);
+				o = n = h = null;
+			} catch (ex) {
+				// IE may produce access denied exception on unload
+			}
+		}
+
+		// Add memory cleaner
+		tinyMCE.addEvent(window, 'unload', clean);
+	}
+
+	if (o.attachEvent)
+		o.attachEvent("on" + n, h);
+	else
+		o.addEventListener(n, h, false);
+};
+
+TinyMCE_Engine.prototype.removeEvent = function(o, n, h) {
+	if (o.detachEvent)
+		o.detachEvent("on" + n, h);
+	else
+		o.removeEventListener(n, h, false);
+};
+
+TinyMCE_Engine.prototype.addSelectAccessibility = function(e, s, w) {
+	// Add event handlers 
+	if (!s._isAccessible) {
+		s.onkeydown = tinyMCE.accessibleEventHandler;
+		s.onblur = tinyMCE.accessibleEventHandler;
+		s._isAccessible = true;
+		s._win = w;
+	}
+
+	return false;
+};
+
+TinyMCE_Engine.prototype.accessibleEventHandler = function(e) {
+	var win = this._win;
+	e = tinyMCE.isIE ? win.event : e;
+	var elm = tinyMCE.isIE ? e.srcElement : e.target;
+
+	// Unpiggyback onchange on blur
+	if (e.type == "blur") {
+		if (elm.oldonchange) {
+			elm.onchange = elm.oldonchange;
+			elm.oldonchange = null;
+		}
+
+		return true;
+	}
+
+	// Piggyback onchange
+	if (elm.nodeName == "SELECT" && !elm.oldonchange) {
+		elm.oldonchange = elm.onchange;
+		elm.onchange = null;
+	}
+
+	// Execute onchange and remove piggyback
+	if (e.keyCode == 13 || e.keyCode == 32) {
+		elm.onchange = elm.oldonchange;
+		elm.onchange();
+		elm.oldonchange = null;
+
+		tinyMCE.cancelEvent(e);
+		return false;
+	}
+
+	return true;
+};
+
+TinyMCE_Engine.prototype._resetIframeHeight = function() {
+	var ife;
+
+	if (tinyMCE.isRealIE) {
+		ife = tinyMCE.selectedInstance.iframeElement;
+
+/*		if (ife._oldWidth) {
+			ife.style.width = ife._oldWidth;
+			ife.width = ife._oldWidth;
+		}*/
+
+		if (ife._oldHeight) {
+			ife.style.height = ife._oldHeight;
+			ife.height = ife._oldHeight;
+		}
+	}
+};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_Selection.class.js */
+
+function TinyMCE_Selection(inst) {
+	this.instance = inst;
+};
+
+TinyMCE_Selection.prototype = {
+	getSelectedHTML : function() {
+		var inst = this.instance;
+		var e, r = this.getRng(), h;
+
+		if (!r)
+			return null;
+
+		e = document.createElement("body");
+
+		if (r.cloneContents)
+			e.appendChild(r.cloneContents());
+		else if (typeof(r.item) != 'undefined' || typeof(r.htmlText) != 'undefined')
+			e.innerHTML = r.item ? r.item(0).outerHTML : r.htmlText;
+		else
+			e.innerHTML = r.toString(); // Failed, use text for now
+
+		h = tinyMCE._cleanupHTML(inst, inst.contentDocument, inst.settings, e, e, false, true, false);
+
+		// When editing always use fonts internaly
+		if (tinyMCE.getParam("convert_fonts_to_spans"))
+			tinyMCE.convertSpansToFonts(inst.getDoc());
+
+		return h;
+	},
+
+	getSelectedText : function() {
+		var inst = this.instance;
+		var d, r, s, t;
+
+		if (tinyMCE.isIE) {
+			d = inst.getDoc();
+
+			if (d.selection.type == "Text") {
+				r = d.selection.createRange();
+				t = r.text;
+			} else
+				t = '';
+		} else {
+			s = this.getSel();
+
+			if (s && s.toString)
+				t = s.toString();
+			else
+				t = '';
+		}
+
+		return t;
+	},
+
+	getBookmark : function(simple) {
+		var inst = this.instance;
+		var rng = this.getRng();
+		var doc = inst.getDoc(), b = inst.getBody();
+		var sp, le, s, e, nl, i, si, ei, w;
+		var trng, sx, sy, xx = -999999999, vp = inst.getViewPort();
+
+		sx = vp.left;
+		sy = vp.top;
+
+		if (tinyMCE.isSafari || tinyMCE.isOpera || simple)
+			return {rng : rng, scrollX : sx, scrollY : sy};
+
+		if (tinyMCE.isIE) {
+			if (rng.item) {
+				e = rng.item(0);
+
+				nl = b.getElementsByTagName(e.nodeName);
+				for (i=0; i<nl.length; i++) {
+					if (e == nl[i]) {
+						sp = i;
+						break;
+					}
+				}
+
+				return {
+					tag : e.nodeName,
+					index : sp,
+					scrollX : sx,
+					scrollY : sy
+				};
+			} else {
+				trng = doc.body.createTextRange();
+				trng.moveToElementText(inst.getBody());
+				trng.collapse(true);
+				bp = Math.abs(trng.move('character', xx));
+
+				trng = rng.duplicate();
+				trng.collapse(true);
+				sp = Math.abs(trng.move('character', xx));
+
+				trng = rng.duplicate();
+				trng.collapse(false);
+				le = Math.abs(trng.move('character', xx)) - sp;
+
+				return {
+					start : sp - bp,
+					length : le,
+					scrollX : sx,
+					scrollY : sy
+				};
+			}
+		}
+
+		if (tinyMCE.isGecko) {
+			s = this.getSel();
+			e = this.getFocusElement();
+
+			if (!s)
+				return null;
+
+			if (e && e.nodeName == 'IMG') {
+				/*nl = b.getElementsByTagName('IMG');
+				for (i=0; i<nl.length; i++) {
+					if (e == nl[i]) {
+						sp = i;
+						break;
+					}
+				}*/
+
+				return {
+					start : -1,
+					end : -1,
+					index : sp,
+					scrollX : sx,
+					scrollY : sy
+				};
+			}
+
+			// Caret or selection
+			if (s.anchorNode == s.focusNode && s.anchorOffset == s.focusOffset) {
+				e = this._getPosText(b, s.anchorNode, s.focusNode);
+
+				if (!e)
+					return {scrollX : sx, scrollY : sy};
+
+				return {
+					start : e.start + s.anchorOffset,
+					end : e.end + s.focusOffset,
+					scrollX : sx,
+					scrollY : sy
+				};
+			} else {
+				e = this._getPosText(b, rng.startContainer, rng.endContainer);
+
+				if (!e)
+					return {scrollX : sx, scrollY : sy};
+
+				return {
+					start : e.start + rng.startOffset,
+					end : e.end + rng.endOffset,
+					scrollX : sx,
+					scrollY : sy
+				};
+			}
+		}
+
+		return null;
+	},
+
+	moveToBookmark : function(bookmark) {
+		var inst = this.instance;
+		var rng, nl, i, ex, b = inst.getBody(), sd;
+		var doc = inst.getDoc();
+		var win = inst.getWin();
+		var sel = this.getSel();
+
+		if (!bookmark)
+			return false;
+
+		if (tinyMCE.isSafari) {
+			sel.setBaseAndExtent(bookmark.rng.startContainer, bookmark.rng.startOffset, bookmark.rng.endContainer, bookmark.rng.endOffset);
+			return true;
+		}
+
+		if (tinyMCE.isRealIE) {
+			if (bookmark.rng) {
+				try {
+					bookmark.rng.select();
+				} catch (ex) {
+					// Ignore
+				}
+
+				return true;
+			}
+
+			win.focus();
+
+			if (bookmark.tag) {
+				rng = b.createControlRange();
+
+				nl = b.getElementsByTagName(bookmark.tag);
+
+				if (nl.length > bookmark.index) {
+					try {
+						rng.addElement(nl[bookmark.index]);
+					} catch (ex) {
+						// Might be thrown if the node no longer exists
+					}
+				}
+			} else {
+				// Try/catch needed since this operation breaks when TinyMCE is placed in hidden divs/tabs
+				try {
+					// Incorrect bookmark
+					if (bookmark.start < 0)
+						return true;
+
+					rng = inst.getSel().createRange();
+					rng.moveToElementText(inst.getBody());
+					rng.collapse(true);
+					rng.moveStart('character', bookmark.start);
+					rng.moveEnd('character', bookmark.length);
+				} catch (ex) {
+					return true;
+				}
+			}
+
+			rng.select();
+
+			win.scrollTo(bookmark.scrollX, bookmark.scrollY);
+			return true;
+		}
+
+		if (tinyMCE.isGecko || tinyMCE.isOpera) {
+			if (bookmark.rng) {
+				sel.removeAllRanges();
+				sel.addRange(bookmark.rng);
+			}
+
+			if (bookmark.start != -1 && bookmark.end != -1) {
+				try {
+					sd = this._getTextPos(b, bookmark.start, bookmark.end);
+					rng = doc.createRange();
+					rng.setStart(sd.startNode, sd.startOffset);
+					rng.setEnd(sd.endNode, sd.endOffset);
+					sel.removeAllRanges();
+					sel.addRange(rng);
+					win.focus();
+				} catch (ex) {
+					// Ignore
+				}
+			}
+
+			/*
+			if (typeof(bookmark.index) != 'undefined') {
+				tinyMCE.selectElements(b, 'IMG', function (n) {
+					if (bookmark.index-- == 0) {
+						// Select image in Gecko here
+					}
+
+					return false;
+				});
+			}
+			*/
+
+			win.scrollTo(bookmark.scrollX, bookmark.scrollY);
+			return true;
+		}
+
+		return false;
+	},
+
+	_getPosText : function(r, sn, en) {
+		var w = document.createTreeWalker(r, NodeFilter.SHOW_TEXT, null, false), n, p = 0, d = {};
+
+		while ((n = w.nextNode()) != null) {
+			if (n == sn)
+				d.start = p;
+
+			if (n == en) {
+				d.end = p;
+				return d;
+			}
+
+			p += n.nodeValue ? n.nodeValue.length : 0;
+		}
+
+		return null;
+	},
+
+	_getTextPos : function(r, sp, ep) {
+		var w = document.createTreeWalker(r, NodeFilter.SHOW_TEXT, null, false), n, p = 0, d = {};
+
+		while ((n = w.nextNode()) != null) {
+			p += n.nodeValue ? n.nodeValue.length : 0;
+
+			if (p >= sp && !d.startNode) {
+				d.startNode = n;
+				d.startOffset = sp - (p - n.nodeValue.length);
+			}
+
+			if (p >= ep) {
+				d.endNode = n;
+				d.endOffset = ep - (p - n.nodeValue.length);
+
+				return d;
+			}
+		}
+
+		return null;
+	},
+
+	selectNode : function(node, collapse, select_text_node, to_start) {
+		var inst = this.instance, sel, rng, nodes;
+
+		if (!node)
+			return;
+
+		if (typeof(collapse) == "undefined")
+			collapse = true;
+
+		if (typeof(select_text_node) == "undefined")
+			select_text_node = false;
+
+		if (typeof(to_start) == "undefined")
+			to_start = true;
+
+		if (inst.settings.auto_resize)
+			inst.resizeToContent();
+
+		if (tinyMCE.isRealIE) {
+			rng = inst.getDoc().body.createTextRange();
+
+			try {
+				rng.moveToElementText(node);
+
+				if (collapse)
+					rng.collapse(to_start);
+
+				rng.select();
+			} catch (e) {
+				// Throws illigal agrument in MSIE some times
+			}
+		} else {
+			sel = this.getSel();
+
+			if (!sel)
+				return;
+
+			if (tinyMCE.isSafari) {
+				sel.setBaseAndExtent(node, 0, node, node.innerText.length);
+
+				if (collapse) {
+					if (to_start)
+						sel.collapseToStart();
+					else
+						sel.collapseToEnd();
+				}
+
+				this.scrollToNode(node);
+
+				return;
+			}
+
+			rng = inst.getDoc().createRange();
+
+			if (select_text_node) {
+				// Find first textnode in tree
+				nodes = tinyMCE.getNodeTree(node, new Array(), 3);
+				if (nodes.length > 0)
+					rng.selectNodeContents(nodes[0]);
+				else
+					rng.selectNodeContents(node);
+			} else
+				rng.selectNode(node);
+
+			if (collapse) {
+				// Special treatment of textnode collapse
+				if (!to_start && node.nodeType == 3) {
+					rng.setStart(node, node.nodeValue.length);
+					rng.setEnd(node, node.nodeValue.length);
+				} else
+					rng.collapse(to_start);
+			}
+
+			sel.removeAllRanges();
+			sel.addRange(rng);
+		}
+
+		this.scrollToNode(node);
+
+		// Set selected element
+		tinyMCE.selectedElement = null;
+		if (node.nodeType == 1)
+			tinyMCE.selectedElement = node;
+	},
+
+	scrollToNode : function(node) {
+		var inst = this.instance, w = inst.getWin(), vp = inst.getViewPort(), pos = tinyMCE.getAbsPosition(node), cvp, p, cwin;
+
+		// Only scroll if out of visible area
+		if (pos.absLeft < vp.left || pos.absLeft > vp.left + vp.width || pos.absTop < vp.top || pos.absTop > vp.top + (vp.height-25))
+			w.scrollTo(pos.absLeft, pos.absTop - vp.height + 25);
+
+		// Scroll container window
+		if (inst.settings.auto_resize) {
+			cwin = inst.getContainerWin();
+			cvp = tinyMCE.getViewPort(cwin);
+			p = this.getAbsPosition(node);
+
+			if (p.absLeft < cvp.left || p.absLeft > cvp.left + cvp.width || p.absTop < cvp.top || p.absTop > cvp.top + cvp.height)
+				cwin.scrollTo(p.absLeft, p.absTop - cvp.height + 25);
+		}
+	},
+
+	getAbsPosition : function(n) {
+		var pos = tinyMCE.getAbsPosition(n), ipos = tinyMCE.getAbsPosition(this.instance.iframeElement);
+
+		return {
+			absLeft : ipos.absLeft + pos.absLeft,
+			absTop : ipos.absTop + pos.absTop
+		};
+	},
+
+	getSel : function() {
+		var inst = this.instance;
+
+		if (tinyMCE.isRealIE)
+			return inst.getDoc().selection;
+
+		return inst.contentWindow.getSelection();
+	},
+
+	getRng : function() {
+		var s = this.getSel();
+
+		if (s == null)
+			return null;
+
+		if (tinyMCE.isRealIE)
+			return s.createRange();
+
+		if (tinyMCE.isSafari && !s.getRangeAt)
+			return '' + window.getSelection();
+
+		return s.getRangeAt(0);
+	},
+
+	getFocusElement : function() {
+		var inst = this.instance, doc, rng, sel, elm;
+
+		if (tinyMCE.isRealIE) {
+			doc = inst.getDoc();
+			rng = doc.selection.createRange();
+
+	//		if (rng.collapse)
+	//			rng.collapse(true);
+
+			elm = rng.item ? rng.item(0) : rng.parentElement();
+		} else {
+			if (!tinyMCE.isSafari && inst.isHidden())
+				return inst.getBody();
+
+			sel = this.getSel();
+			rng = this.getRng();
+
+			if (!sel || !rng)
+				return null;
+
+			elm = rng.commonAncestorContainer;
+			//elm = (sel && sel.anchorNode) ? sel.anchorNode : null;
+
+			// Handle selection a image or other control like element such as anchors
+			if (!rng.collapsed) {
+				// Is selection small
+				if (rng.startContainer == rng.endContainer) {
+					if (rng.startOffset - rng.endOffset < 2) {
+						if (rng.startContainer.hasChildNodes())
+							elm = rng.startContainer.childNodes[rng.startOffset];
+					}
+				}
+			}
+
+			// Get the element parent of the node
+			elm = tinyMCE.getParentElement(elm);
+
+			//if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "img")
+			//	elm = tinyMCE.selectedElement;
+		}
+
+		return elm;
+	}
+
+	};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_UndoRedo.class.js */
+
+function TinyMCE_UndoRedo(inst) {
+	this.instance = inst;
+	this.undoLevels = new Array();
+	this.undoIndex = 0;
+	this.typingUndoIndex = -1;
+	this.undoRedo = true;
+};
+
+TinyMCE_UndoRedo.prototype = {
+	add : function(l) {
+		var b, customUndoLevels, newHTML, inst = this.instance, i, ul, ur;
+
+		if (l) {
+			this.undoLevels[this.undoLevels.length] = l;
+			return true;
+		}
+
+		if (this.typingUndoIndex != -1) {
+			this.undoIndex = this.typingUndoIndex;
+
+			if (tinyMCE.typingUndoIndex != -1)
+				tinyMCE.undoIndex = tinyMCE.typingUndoIndex;
+		}
+
+		newHTML = tinyMCE.trim(inst.getBody().innerHTML);
+		if (this.undoLevels[this.undoIndex] && newHTML != this.undoLevels[this.undoIndex].content) {
+			//tinyMCE.debug(newHTML, this.undoLevels[this.undoIndex].content);
+
+			tinyMCE.dispatchCallback(inst, 'onchange_callback', 'onChange', inst);
+
+			// Time to compress
+			customUndoLevels = tinyMCE.settings['custom_undo_redo_levels'];
+			if (customUndoLevels != -1 && this.undoLevels.length > customUndoLevels) {
+				for (i=0; i<this.undoLevels.length-1; i++)
+					this.undoLevels[i] = this.undoLevels[i+1];
+
+				this.undoLevels.length--;
+				this.undoIndex--;
+
+				// Todo: Implement global undo/redo logic here
+			}
+
+			b = inst.undoBookmark;
+
+			if (!b)
+				b = inst.selection.getBookmark();
+
+			this.undoIndex++;
+			this.undoLevels[this.undoIndex] = {
+				content : newHTML,
+				bookmark : b
+			};
+
+			// Remove all above from global undo/redo
+			ul = tinyMCE.undoLevels;
+			for (i=tinyMCE.undoIndex + 1; i<ul.length; i++) {
+				ur = ul[i].undoRedo;
+
+				if (ur.undoIndex == ur.undoLevels.length -1)
+					ur.undoIndex--;
+
+				ur.undoLevels.length--;
+			}
+
+			// Add global undo level
+			tinyMCE.undoLevels[tinyMCE.undoIndex++] = inst;
+			tinyMCE.undoLevels.length = tinyMCE.undoIndex;
+
+			this.undoLevels.length = this.undoIndex + 1;
+
+			return true;
+		}
+
+		return false;
+	},
+
+	undo : function() {
+		var inst = this.instance;
+
+		// Do undo
+		if (this.undoIndex > 0) {
+			this.undoIndex--;
+
+			tinyMCE.setInnerHTML(inst.getBody(), this.undoLevels[this.undoIndex].content);
+			inst.repaint();
+
+			if (inst.settings.custom_undo_redo_restore_selection)
+				inst.selection.moveToBookmark(this.undoLevels[this.undoIndex].bookmark);
+		}
+	},
+
+	redo : function() {
+		var inst = this.instance;
+
+		tinyMCE.execCommand("mceEndTyping");
+
+		if (this.undoIndex < (this.undoLevels.length-1)) {
+			this.undoIndex++;
+
+			tinyMCE.setInnerHTML(inst.getBody(), this.undoLevels[this.undoIndex].content);
+			inst.repaint();
+
+			if (inst.settings.custom_undo_redo_restore_selection)
+				inst.selection.moveToBookmark(this.undoLevels[this.undoIndex].bookmark);
+		}
+
+		tinyMCE.triggerNodeChange();
+	}
+
+	};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_ForceParagraphs.class.js */
+
+var TinyMCE_ForceParagraphs = {
+	_insertPara : function(inst, e) {
+		var doc = inst.getDoc(), sel = inst.getSel(), body = inst.getBody(), win = inst.contentWindow, rng = sel.getRangeAt(0);
+		var rootElm = doc.documentElement, blockName = "P", startNode, endNode, startBlock, endBlock;
+		var rngBefore, rngAfter, direct, startNode, startOffset, endNode, endOffset, b = tinyMCE.isOpera ? inst.selection.getBookmark() : null;
+		var paraBefore, paraAfter, startChop, endChop, contents;
+
+		function isEmpty(para) {
+			function isEmptyHTML(html) {
+				return html.replace(new RegExp('[ \t\r\n]+', 'g'), '').toLowerCase() == "";
+			}
+
+			// Check for images
+			if (para.getElementsByTagName("img").length > 0)
+				return false;
+
+			// Check for tables
+			if (para.getElementsByTagName("table").length > 0)
+				return false;
+
+			// Check for HRs
+			if (para.getElementsByTagName("hr").length > 0)
+				return false;
+
+			// Check all textnodes
+			var nodes = tinyMCE.getNodeTree(para, new Array(), 3);
+			for (var i=0; i<nodes.length; i++) {
+				if (!isEmptyHTML(nodes[i].nodeValue))
+					return false;
+			}
+
+			// No images, no tables, no hrs, no text content then it's empty
+			return true;
+		}
+
+	//	tinyMCE.debug(body.innerHTML);
+
+	//	debug(e.target, sel.anchorNode.nodeName, sel.focusNode.nodeName, rng.startContainer, rng.endContainer, rng.commonAncestorContainer, sel.anchorOffset, sel.focusOffset, rng.toString());
+
+		// Setup before range
+		rngBefore = doc.createRange();
+		rngBefore.setStart(sel.anchorNode, sel.anchorOffset);
+		rngBefore.collapse(true);
+
+		// Setup after range
+		rngAfter = doc.createRange();
+		rngAfter.setStart(sel.focusNode, sel.focusOffset);
+		rngAfter.collapse(true);
+
+		// Setup start/end points
+		direct = rngBefore.compareBoundaryPoints(rngBefore.START_TO_END, rngAfter) < 0;
+		startNode = direct ? sel.anchorNode : sel.focusNode;
+		startOffset = direct ? sel.anchorOffset : sel.focusOffset;
+		endNode = direct ? sel.focusNode : sel.anchorNode;
+		endOffset = direct ? sel.focusOffset : sel.anchorOffset;
+
+		startNode = startNode.nodeName == "BODY" ? startNode.firstChild : startNode;
+		endNode = endNode.nodeName == "BODY" ? endNode.firstChild : endNode;
+
+		// Get block elements
+		startBlock = inst.getParentBlockElement(startNode);
+		endBlock = inst.getParentBlockElement(endNode);
+
+		// If absolute force paragraph generation within
+		if (startBlock && new RegExp('absolute|relative|static', 'gi').test(startBlock.style.position))
+			startBlock = null;
+
+		if (endBlock && new RegExp('absolute|relative|static', 'gi').test(endBlock.style.position))
+			endBlock = null;
+
+		// Use current block name
+		if (startBlock != null) {
+			blockName = startBlock.nodeName;
+
+			// Use P instead
+			if (blockName == "TD" || blockName == "TABLE" || (blockName == "DIV" && new RegExp('left|right', 'gi').test(startBlock.style.cssFloat)))
+				blockName = "P";
+		}
+
+		// Within a list use normal behaviour
+		if (tinyMCE.getParentElement(startBlock, "OL,UL", null, body) != null)
+			return false;
+
+		// Within a table create new paragraphs
+		if ((startBlock != null && startBlock.nodeName == "TABLE") || (endBlock != null && endBlock.nodeName == "TABLE"))
+			startBlock = endBlock = null;
+
+		// Setup new paragraphs
+		paraBefore = (startBlock != null && startBlock.nodeName == blockName) ? startBlock.cloneNode(false) : doc.createElement(blockName);
+		paraAfter = (endBlock != null && endBlock.nodeName == blockName) ? endBlock.cloneNode(false) : doc.createElement(blockName);
+
+		// Is header, then force paragraph under
+		if (/^(H[1-6])$/.test(blockName))
+			paraAfter = doc.createElement("p");
+
+		// Setup chop nodes
+		startChop = startNode;
+		endChop = endNode;
+
+		// Get startChop node
+		node = startChop;
+		do {
+			if (node == body || node.nodeType == 9 || tinyMCE.isBlockElement(node))
+				break;
+
+			startChop = node;
+		} while ((node = node.previousSibling ? node.previousSibling : node.parentNode));
+
+		// Get endChop node
+		node = endChop;
+		do {
+			if (node == body || node.nodeType == 9 || tinyMCE.isBlockElement(node))
+				break;
+
+			endChop = node;
+		} while ((node = node.nextSibling ? node.nextSibling : node.parentNode));
+
+		// Fix when only a image is within the TD
+		if (startChop.nodeName == "TD")
+			startChop = startChop.firstChild;
+
+		if (endChop.nodeName == "TD")
+			endChop = endChop.lastChild;
+
+		// If not in a block element
+		if (startBlock == null) {
+			// Delete selection
+			rng.deleteContents();
+
+			if (!tinyMCE.isSafari)
+				sel.removeAllRanges();
+
+			if (startChop != rootElm && endChop != rootElm) {
+				// Insert paragraph before
+				rngBefore = rng.cloneRange();
+
+				if (startChop == body)
+					rngBefore.setStart(startChop, 0);
+				else
+					rngBefore.setStartBefore(startChop);
+
+				paraBefore.appendChild(rngBefore.cloneContents());
+
+				// Insert paragraph after
+				if (endChop.parentNode.nodeName == blockName)
+					endChop = endChop.parentNode;
+
+				// If not after image
+				//if (rng.startContainer.nodeName != "BODY" && rng.endContainer.nodeName != "BODY")
+					rng.setEndAfter(endChop);
+
+				if (endChop.nodeName != "#text" && endChop.nodeName != "BODY")
+					rngBefore.setEndAfter(endChop);
+
+				contents = rng.cloneContents();
+				if (contents.firstChild && (contents.firstChild.nodeName == blockName || contents.firstChild.nodeName == "BODY"))
+					paraAfter.innerHTML = contents.firstChild.innerHTML;
+				else
+					paraAfter.appendChild(contents);
+
+				// Check if it's a empty paragraph
+				if (isEmpty(paraBefore))
+					paraBefore.innerHTML = "&nbsp;";
+
+				// Check if it's a empty paragraph
+				if (isEmpty(paraAfter))
+					paraAfter.innerHTML = "&nbsp;";
+
+				// Delete old contents
+				rng.deleteContents();
+				rngAfter.deleteContents();
+				rngBefore.deleteContents();
+
+				// Insert new paragraphs
+				if (tinyMCE.isOpera) {
+					paraBefore.normalize();
+					rngBefore.insertNode(paraBefore);
+					paraAfter.normalize();
+					rngBefore.insertNode(paraAfter);
+				} else {
+					paraAfter.normalize();
+					rngBefore.insertNode(paraAfter);
+					paraBefore.normalize();
+					rngBefore.insertNode(paraBefore);
+				}
+
+				//tinyMCE.debug("1: ", paraBefore.innerHTML, paraAfter.innerHTML);
+			} else {
+				body.innerHTML = "<" + blockName + ">&nbsp;</" + blockName + "><" + blockName + ">&nbsp;</" + blockName + ">";
+				paraAfter = body.childNodes[1];
+			}
+
+			inst.selection.moveToBookmark(b);
+			inst.selection.selectNode(paraAfter, true, true);
+
+			return true;
+		}
+
+		// Place first part within new paragraph
+		if (startChop.nodeName == blockName)
+			rngBefore.setStart(startChop, 0);
+		else
+			rngBefore.setStartBefore(startChop);
+
+		rngBefore.setEnd(startNode, startOffset);
+		paraBefore.appendChild(rngBefore.cloneContents());
+
+		// Place secound part within new paragraph
+		rngAfter.setEndAfter(endChop);
+		rngAfter.setStart(endNode, endOffset);
+		contents = rngAfter.cloneContents();
+
+		if (contents.firstChild && contents.firstChild.nodeName == blockName) {
+	/*		var nodes = contents.firstChild.childNodes;
+			for (var i=0; i<nodes.length; i++) {
+				//tinyMCE.debug(nodes[i].nodeName);
+				if (nodes[i].nodeName != "BODY")
+					paraAfter.appendChild(nodes[i]);
+			}
+	*/
+			paraAfter.innerHTML = contents.firstChild.innerHTML;
+		} else
+			paraAfter.appendChild(contents);
+
+		// Check if it's a empty paragraph
+		if (isEmpty(paraBefore))
+			paraBefore.innerHTML = "&nbsp;";
+
+		// Check if it's a empty paragraph
+		if (isEmpty(paraAfter))
+			paraAfter.innerHTML = "&nbsp;";
+
+		// Create a range around everything
+		rng = doc.createRange();
+
+		if (!startChop.previousSibling && startChop.parentNode.nodeName.toUpperCase() == blockName) {
+			rng.setStartBefore(startChop.parentNode);
+		} else {
+			if (rngBefore.startContainer.nodeName.toUpperCase() == blockName && rngBefore.startOffset == 0)
+				rng.setStartBefore(rngBefore.startContainer);
+			else
+				rng.setStart(rngBefore.startContainer, rngBefore.startOffset);
+		}
+
+		if (!endChop.nextSibling && endChop.parentNode.nodeName.toUpperCase() == blockName)
+			rng.setEndAfter(endChop.parentNode);
+		else
+			rng.setEnd(rngAfter.endContainer, rngAfter.endOffset);
+
+		// Delete all contents and insert new paragraphs
+		rng.deleteContents();
+
+		if (tinyMCE.isOpera) {
+			rng.insertNode(paraBefore);
+			rng.insertNode(paraAfter);
+		} else {
+			rng.insertNode(paraAfter);
+			rng.insertNode(paraBefore);
+		}
+
+		//tinyMCE.debug("2", paraBefore.innerHTML, paraAfter.innerHTML);
+
+		// Normalize
+		paraAfter.normalize();
+		paraBefore.normalize();
+
+		inst.selection.moveToBookmark(b);
+		inst.selection.selectNode(paraAfter, true, true);
+
+		return true;
+	},
+
+	_handleBackSpace : function(inst) {
+		var r = inst.getRng(), sn = r.startContainer, nv, s = false;
+
+		// Added body check for bug #1527787
+		if (sn && sn.nextSibling && sn.nextSibling.nodeName == "BR" && sn.parentNode.nodeName != "BODY") {
+			nv = sn.nodeValue;
+
+			// Handle if a backspace is pressed after a space character #bug 1466054 removed since fix for #1527787
+			/*if (nv != null && nv.length >= r.startOffset && nv.charAt(r.startOffset - 1) == ' ')
+				s = true;*/
+
+			// Only remove BRs if we are at the end of line #bug 1464152
+			if (nv != null && r.startOffset == nv.length)
+				sn.nextSibling.parentNode.removeChild(sn.nextSibling);
+		}
+
+		if (inst.settings.auto_resize)
+			inst.resizeToContent();
+
+		return s;
+	}
+
+	};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_Layer.class.js */
+
+function TinyMCE_Layer(id, bm) {
+	this.id = id;
+	this.blockerElement = null;
+	this.events = false;
+	this.element = null;
+	this.blockMode = typeof(bm) != 'undefined' ? bm : true;
+	this.doc = document;
+};
+
+TinyMCE_Layer.prototype = {
+	moveRelativeTo : function(re, p) {
+		var rep = this.getAbsPosition(re);
+		var w = parseInt(re.offsetWidth);
+		var h = parseInt(re.offsetHeight);
+		var e = this.getElement();
+		var ew = parseInt(e.offsetWidth);
+		var eh = parseInt(e.offsetHeight);
+		var x, y;
+
+		switch (p) {
+			case "tl":
+				x = rep.absLeft;
+				y = rep.absTop;
+				break;
+
+			case "tr":
+				x = rep.absLeft + w;
+				y = rep.absTop;
+				break;
+
+			case "bl":
+				x = rep.absLeft;
+				y = rep.absTop + h;
+				break;
+
+			case "br":
+				x = rep.absLeft + w;
+				y = rep.absTop + h;
+				break;
+
+			case "cc":
+				x = rep.absLeft + (w / 2) - (ew / 2);
+				y = rep.absTop + (h / 2) - (eh / 2);
+				break;
+		}
+
+		this.moveTo(x, y);
+	},
+
+	moveBy : function(x, y) {
+		var e = this.getElement();
+		this.moveTo(parseInt(e.style.left) + x, parseInt(e.style.top) + y);
+	},
+
+	moveTo : function(x, y) {
+		var e = this.getElement();
+
+		e.style.left = x + "px";
+		e.style.top = y + "px";
+
+		this.updateBlocker();
+	},
+
+	resizeBy : function(w, h) {
+		var e = this.getElement();
+		this.resizeTo(parseInt(e.style.width) + w, parseInt(e.style.height) + h);
+	},
+
+	resizeTo : function(w, h) {
+		var e = this.getElement();
+
+		if (w != null)
+			e.style.width = w + "px";
+
+		if (h != null)
+			e.style.height = h + "px";
+
+		this.updateBlocker();
+	},
+
+	show : function() {
+		this.getElement().style.display = 'block';
+		this.updateBlocker();
+	},
+
+	hide : function() {
+		this.getElement().style.display = 'none';
+		this.updateBlocker();
+	},
+
+	isVisible : function() {
+		return this.getElement().style.display == 'block';
+	},
+
+	getElement : function() {
+		if (!this.element)
+			this.element = this.doc.getElementById(this.id);
+
+		return this.element;
+	},
+
+	setBlockMode : function(s) {
+		this.blockMode = s;
+	},
+
+	updateBlocker : function() {
+		var e, b, x, y, w, h;
+
+		b = this.getBlocker();
+		if (b) {
+			if (this.blockMode) {
+				e = this.getElement();
+				x = this.parseInt(e.style.left);
+				y = this.parseInt(e.style.top);
+				w = this.parseInt(e.offsetWidth);
+				h = this.parseInt(e.offsetHeight);
+
+				b.style.left = x + 'px';
+				b.style.top = y + 'px';
+				b.style.width = w + 'px';
+				b.style.height = h + 'px';
+				b.style.display = e.style.display;
+			} else
+				b.style.display = 'none';
+		}
+	},
+
+	getBlocker : function() {
+		var d, b;
+
+		if (!this.blockerElement && this.blockMode) {
+			d = this.doc;
+			b = d.getElementById(this.id + "_blocker");
+
+			if (!b) {
+				b = d.createElement("iframe");
+
+				b.setAttribute('id', this.id + "_blocker");
+				b.style.cssText = 'display: none; position: absolute; left: 0; top: 0';
+				b.src = 'javascript:false;';
+				b.frameBorder = '0';
+				b.scrolling = 'no';
+	
+				d.body.appendChild(b);
+			}
+
+			this.blockerElement = b;
+		}
+
+		return this.blockerElement;
+	},
+
+	getAbsPosition : function(n) {
+		var p = {absLeft : 0, absTop : 0};
+
+		while (n) {
+			p.absLeft += n.offsetLeft;
+			p.absTop += n.offsetTop;
+			n = n.offsetParent;
+		}
+
+		return p;
+	},
+
+	create : function(n, c, p, h) {
+		var d = this.doc, e = d.createElement(n);
+
+		e.setAttribute('id', this.id);
+
+		if (c)
+			e.className = c;
+
+		if (!p)
+			p = d.body;
+
+		if (h)
+			e.innerHTML = h;
+
+		p.appendChild(e);
+
+		return this.element = e;
+	},
+
+	exists : function() {
+		return this.doc.getElementById(this.id) != null;
+	},
+
+	parseInt : function(s) {
+		if (s == null || s == '')
+			return 0;
+
+		return parseInt(s);
+	}
+
+	};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_Menu.class.js */
+
+function TinyMCE_Menu() {
+	var id;
+
+	if (typeof(tinyMCE.menuCounter) == "undefined")
+		tinyMCE.menuCounter = 0;
+
+	id = "mc_menu_" + tinyMCE.menuCounter++;
+
+	TinyMCE_Layer.call(this, id, true);
+
+	this.id = id;
+	this.items = new Array();
+	this.needsUpdate = true;
+};
+
+TinyMCE_Menu.prototype = tinyMCE.extend(TinyMCE_Layer.prototype, {
+	init : function(s) {
+		var n;
+
+		// Default params
+		this.settings = {
+			separator_class : 'mceMenuSeparator',
+			title_class : 'mceMenuTitle',
+			disabled_class : 'mceMenuDisabled',
+			menu_class : 'mceMenu',
+			drop_menu : true
+		};
+
+		for (n in s)
+			this.settings[n] = s[n];
+
+		this.create('div', this.settings.menu_class);
+	},
+
+	clear : function() {
+		this.items = new Array();
+	},
+
+	addTitle : function(t) {
+		this.add({type : 'title', text : t});
+	},
+
+	addDisabled : function(t) {
+		this.add({type : 'disabled', text : t});
+	},
+
+	addSeparator : function() {
+		this.add({type : 'separator'});
+	},
+
+	addItem : function(t, js) {
+		this.add({text : t, js : js});
+	},
+
+	add : function(mi) {
+		this.items[this.items.length] = mi;
+		this.needsUpdate = true;
+	},
+
+	update : function() {
+		var e = this.getElement(), h = '', i, t, m = this.items, s = this.settings;
+
+		if (this.settings.drop_menu)
+			h += '<span class="mceMenuLine"></span>';
+
+		h += '<table border="0" cellpadding="0" cellspacing="0">';
+
+		for (i=0; i<m.length; i++) {
+			t = tinyMCE.xmlEncode(m[i].text);
+			c = m[i].class_name ? ' class="' + m[i].class_name + '"' : '';
+
+			switch (m[i].type) {
+				case 'separator':
+					h += '<tr class="' + s.separator_class + '"><td>';
+					break;
+
+				case 'title':
+					h += '<tr class="' + s.title_class + '"><td><span' + c +'>' + t + '</span>';
+					break;
+
+				case 'disabled':
+					h += '<tr class="' + s.disabled_class + '"><td><span' + c +'>' + t + '</span>';
+					break;
+
+				default:
+					h += '<tr><td><a href="#" onclick="return tinyMCE.cancelEvent(event);" onmousedown="return tinyMCE.cancelEvent(event);" onmouseup="' + tinyMCE.xmlEncode(m[i].js) + ';return tinyMCE.cancelEvent(event);"><span' + c +'>' + t + '</span></a>';
+			}
+
+			h += '</td></tr>';
+		}
+
+		h += '</table>';
+
+		e.innerHTML = h;
+
+		this.needsUpdate = false;
+		this.updateBlocker();
+	},
+
+	show : function() {
+		var nl, i;
+
+		if (tinyMCE.lastMenu == this)
+			return;
+
+		if (this.needsUpdate)
+			this.update();
+
+		if (tinyMCE.lastMenu && tinyMCE.lastMenu != this)
+			tinyMCE.lastMenu.hide();
+
+		TinyMCE_Layer.prototype.show.call(this);
+
+		if (!tinyMCE.isOpera) {
+			// Accessibility stuff
+/*			nl = this.getElement().getElementsByTagName("a");
+			if (nl.length > 0)
+				nl[0].focus();*/
+		}
+
+		tinyMCE.lastMenu = this;
+	}
+
+	});
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_Compatibility.class.js */
+
+if (!Function.prototype.call) {
+	Function.prototype.call = function() {
+		var a = arguments, s = a[0], i, as = '', r, o;
+
+		for (i=1; i<a.length; i++)
+			as += (i > 1 ? ',' : '') + 'a[' + i + ']';
+
+		o = s._fu;
+		s._fu = this;
+		r = eval('s._fu(' + as + ')');
+		s._fu = o;
+
+		return r;
+	};
+};
+
+/* file:jscripts/tiny_mce/classes/TinyMCE_Debug.class.js */
+
+TinyMCE_Engine.prototype.debug = function() {
+	var m = "", a, i, l = tinyMCE.log.length;
+
+	for (i=0, a = this.debug.arguments; i<a.length; i++) {
+		m += a[i];
+
+		if (i<a.length-1)
+			m += ', ';
+	}
+
+	if (l < 1000)
+		tinyMCE.log[l] = "[debug] " + m;
+};
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/editable_selects.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/editable_selects.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/editable_selects.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,61 @@
+/**
+ * $Id: editable_selects.js 18 2006-06-29 14:11:23Z spocke $
+ *
+ * Makes select boxes editable.
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+var TinyMCE_EditableSelects = {
+	editSelectElm : null,
+
+	init : function() {
+		var nl = document.getElementsByTagName("select"), i, d = document, o;
+
+		for (i=0; i<nl.length; i++) {
+			if (nl[i].className.indexOf('mceEditableSelect') != -1) {
+				o = new Option('(value)', '__mce_add_custom__');
+
+				o.className = 'mceAddSelectValue';
+
+				nl[i].options[nl[i].options.length] = o;
+				nl[i].setAttribute('onchange', 'TinyMCE_EditableSelects.onChangeEditableSelect(this);');
+			}
+		}
+	},
+
+	onChangeEditableSelect : function(se) {
+		var d = document, ne;
+
+		if (se.options[se.selectedIndex].value == '__mce_add_custom__') {
+			ne = d.createElement("input");
+			ne.id = se.id + "_custom";
+			ne.name = se.name + "_custom";
+			ne.type = "text";
+
+			ne.style.width = se.clientWidth;
+			se.parentNode.insertBefore(ne, se);
+			se.style.display = 'none';
+			ne.focus();
+			ne.onblur = TinyMCE_EditableSelects.onBlurEditableSelectInput;
+			TinyMCE_EditableSelects.editSelectElm = se;
+		}
+	},
+
+	onBlurEditableSelectInput : function() {
+		var se = TinyMCE_EditableSelects.editSelectElm;
+
+		if (se) {
+			if (se.previousSibling.value != '') {
+				addSelectValue(document.forms[0], se.id, se.previousSibling.value, se.previousSibling.value);
+				selectByValue(document.forms[0], se.id, se.previousSibling.value);
+			} else
+				selectByValue(document.forms[0], se.id, '');
+
+			se.style.display = 'inline';
+			se.parentNode.removeChild(se.previousSibling);
+			TinyMCE_EditableSelects.editSelectElm = null;
+		}
+	}
+};

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/form_utils.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/form_utils.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/form_utils.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,210 @@
+/**
+ * $Id: form_utils.js 43 2006-08-08 16:10:07Z spocke $
+ *
+ * Various form utilitiy functions.
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+var themeBaseURL = tinyMCE.baseURL + '/themes/' + tinyMCE.getParam("theme");
+
+function getColorPickerHTML(id, target_form_element) {
+	var h = "";
+
+	h += '<a id="' + id + '_link" href="javascript:void(0);" onkeydown="pickColor(event,\'' + target_form_element +'\');" onmousedown="pickColor(event,\'' + target_form_element +'\');return false;">';
+	h += '<img id="' + id + '" src="' + themeBaseURL + '/images/color.gif"';
+	h += ' onmouseover="this.className=\'mceButtonOver\'"';
+	h += ' onmouseout="this.className=\'mceButtonNormal\'"';
+	h += ' onmousedown="this.className=\'mceButtonDown\'"';
+	h += ' width="20" height="16" border="0" title="' + tinyMCE.getLang('lang_browse') + '"';
+	h += ' class="mceButtonNormal" alt="' + tinyMCE.getLang('lang_browse') + '" /></a>';
+
+	return h;
+}
+
+function pickColor(e, target_form_element) {
+	if ((e.keyCode == 32 || e.keyCode == 13) || e.type == "mousedown")
+		tinyMCEPopup.pickColor(e, target_form_element);
+}
+
+function updateColor(img_id, form_element_id) {
+	document.getElementById(img_id).style.backgroundColor = document.forms[0].elements[form_element_id].value;
+}
+
+function setBrowserDisabled(id, state) {
+	var img = document.getElementById(id);
+	var lnk = document.getElementById(id + "_link");
+
+	if (lnk) {
+		if (state) {
+			lnk.setAttribute("realhref", lnk.getAttribute("href"));
+			lnk.removeAttribute("href");
+			tinyMCE.switchClass(img, 'mceButtonDisabled', true);
+		} else {
+			lnk.setAttribute("href", lnk.getAttribute("realhref"));
+			tinyMCE.switchClass(img, 'mceButtonNormal', false);
+		}
+	}
+}
+
+function getBrowserHTML(id, target_form_element, type, prefix) {
+	var option = prefix + "_" + type + "_browser_callback";
+	var cb = tinyMCE.getParam(option, tinyMCE.getParam("file_browser_callback"));
+	if (cb == null)
+		return "";
+
+	var html = "";
+
+	html += '<a id="' + id + '_link" href="javascript:openBrower(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;">';
+	html += '<img id="' + id + '" src="' + themeBaseURL + '/images/browse.gif"';
+	html += ' onmouseover="this.className=\'mceButtonOver\';"';
+	html += ' onmouseout="this.className=\'mceButtonNormal\';"';
+	html += ' onmousedown="this.className=\'mceButtonDown\';"';
+	html += ' width="20" height="18" border="0" title="' + tinyMCE.getLang('lang_browse') + '"';
+	html += ' class="mceButtonNormal" alt="' + tinyMCE.getLang('lang_browse') + '" /></a>';
+
+	return html;
+}
+
+function openBrower(img_id, target_form_element, type, option) {
+	var img = document.getElementById(img_id);
+
+	if (img.className != "mceButtonDisabled")
+		tinyMCEPopup.openBrowser(target_form_element, type, option);
+}
+
+function selectByValue(form_obj, field_name, value, add_custom, ignore_case) {
+	if (!form_obj || !form_obj.elements[field_name])
+		return;
+
+	var sel = form_obj.elements[field_name];
+
+	var found = false;
+	for (var i=0; i<sel.options.length; i++) {
+		var option = sel.options[i];
+
+		if (option.value == value || (ignore_case && option.value.toLowerCase() == value.toLowerCase())) {
+			option.selected = true;
+			found = true;
+		} else
+			option.selected = false;
+	}
+
+	if (!found && add_custom && value != '') {
+		var option = new Option(value, value);
+		option.selected = true;
+		sel.options[sel.options.length] = option;
+		sel.selectedIndex = sel.options.length - 1;
+	}
+
+	return found;
+}
+
+function getSelectValue(form_obj, field_name) {
+	var elm = form_obj.elements[field_name];
+
+	if (elm == null || elm.options == null)
+		return "";
+
+	return elm.options[elm.selectedIndex].value;
+}
+
+function addSelectValue(form_obj, field_name, name, value) {
+	var s = form_obj.elements[field_name];
+	var o = new Option(name, value);
+	s.options[s.options.length] = o;
+}
+
+function addClassesToList(list_id, specific_option) {
+	// Setup class droplist
+	var styleSelectElm = document.getElementById(list_id);
+	var styles = tinyMCE.getParam('theme_advanced_styles', false);
+	styles = tinyMCE.getParam(specific_option, styles);
+
+	if (styles) {
+		var stylesAr = styles.split(';');
+
+		for (var i=0; i<stylesAr.length; i++) {
+			if (stylesAr != "") {
+				var key, value;
+
+				key = stylesAr[i].split('=')[0];
+				value = stylesAr[i].split('=')[1];
+
+				styleSelectElm.options[styleSelectElm.length] = new Option(key, value);
+			}
+		}
+	} else {
+		// Use auto impored classes
+		var csses = tinyMCE.getCSSClasses(tinyMCE.getWindowArg('editor_id'));
+		for (var i=0; i<csses.length; i++)
+			styleSelectElm.options[styleSelectElm.length] = new Option(csses[i], csses[i]);
+	}
+}
+
+function isVisible(element_id) {
+	var elm = document.getElementById(element_id);
+
+	return elm && elm.style.display != "none";
+}
+
+function convertRGBToHex(col) {
+	var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi");
+
+	var rgb = col.replace(re, "$1,$2,$3").split(',');
+	if (rgb.length == 3) {
+		r = parseInt(rgb[0]).toString(16);
+		g = parseInt(rgb[1]).toString(16);
+		b = parseInt(rgb[2]).toString(16);
+
+		r = r.length == 1 ? '0' + r : r;
+		g = g.length == 1 ? '0' + g : g;
+		b = b.length == 1 ? '0' + b : b;
+
+		return "#" + r + g + b;
+	}
+
+	return col;
+}
+
+function convertHexToRGB(col) {
+	if (col.indexOf('#') != -1) {
+		col = col.replace(new RegExp('[^0-9A-F]', 'gi'), '');
+
+		r = parseInt(col.substring(0, 2), 16);
+		g = parseInt(col.substring(2, 4), 16);
+		b = parseInt(col.substring(4, 6), 16);
+
+		return "rgb(" + r + "," + g + "," + b + ")";
+	}
+
+	return col;
+}
+
+function trimSize(size) {
+	return size.replace(new RegExp('[^0-9%]', 'gi'), '');
+}
+
+function getCSSSize(size) {
+	size = trimSize(size);
+
+	if (size == "")
+		return "";
+
+	return size.indexOf('%') != -1 ? size : size + "px";
+}
+
+function getStyle(elm, attrib, style) {
+	var val = tinyMCE.getAttrib(elm, attrib);
+
+	if (val != '')
+		return '' + val;
+
+	if (typeof(style) == 'undefined')
+		style = attrib;
+
+	val = eval('elm.style.' + style);
+
+	return val == null ? '' : '' + val;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/mclayer.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/mclayer.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/mclayer.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,210 @@
+/**
+ * $Id: mclayer.js 18 2006-06-29 14:11:23Z spocke $
+ *
+ * Moxiecode floating layer script.
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+function MCLayer(id) {
+	this.id = id;
+	this.settings = new Array();
+	this.blockerElement = null;
+	this.isMSIE = navigator.appName == "Microsoft Internet Explorer";
+	this.events = false;
+	this.autoHideCallback = null;
+}
+
+MCLayer.prototype = {
+	moveRelativeTo : function(re, p, a) {
+		var rep = this.getAbsPosition(re);
+		var w = parseInt(re.offsetWidth);
+		var h = parseInt(re.offsetHeight);
+		var x, y;
+
+		switch (p) {
+			case "tl":
+				break;
+
+			case "tr":
+				x = rep.absLeft + w;
+				y = rep.absTop;
+				break;
+
+			case "bl":
+				break;
+
+			case "br":
+				break;
+		}
+
+		this.moveTo(x, y);
+	},
+
+	moveBy : function(dx, dy) {
+		var e = this.getElement();
+		var x = parseInt(e.style.left);
+		var y = parseInt(e.style.top);
+
+		e.style.left = (x + dx) + "px";
+		e.style.top = (y + dy) + "px";
+
+		this.updateBlocker();
+	},
+
+	moveTo : function(x, y) {
+		var e = this.getElement();
+
+		e.style.left = x + "px";
+		e.style.top = y + "px";
+
+		this.updateBlocker();
+	},
+
+	show : function() {
+		MCLayer.visibleLayer = this;
+
+		this.getElement().style.display = 'block';
+		this.updateBlocker();
+	},
+
+	hide : function() {
+		this.getElement().style.display = 'none';
+		this.updateBlocker();
+	},
+
+	setAutoHide : function(s, cb) {
+		this.autoHideCallback = cb;
+		this.registerEventHandlers();
+	},
+
+	getElement : function() {
+		return document.getElementById(this.id);
+	},
+
+	updateBlocker : function() {
+		if (!this.isMSIE)
+			return;
+
+		var e = this.getElement();
+		var b = this.getBlocker();
+		var x = this.parseInt(e.style.left);
+		var y = this.parseInt(e.style.top);
+		var w = this.parseInt(e.offsetWidth);
+		var h = this.parseInt(e.offsetHeight);
+
+		b.style.left = x + 'px';
+		b.style.top = y + 'px';
+		b.style.width = w + 'px';
+		b.style.height = h + 'px';
+		b.style.display = e.style.display;
+	},
+
+	getBlocker : function() {
+		if (!this.blockerElement) {
+			var d = document, b = d.createElement("iframe");
+
+			b.style.cssText = 'display: none; left: 0px; position: absolute; top: 0';
+			b.src = 'javascript:false;';
+			b.frameBorder = '0';
+			b.scrolling = 'no';
+
+			d.body.appendChild(b);
+			this.blockerElement = b;
+		}
+
+		return this.blockerElement;
+	},
+
+	getAbsPosition : function(n) {
+		var p = {absLeft : 0, absTop : 0};
+
+		while (n) {
+			p.absLeft += n.offsetLeft;
+			p.absTop += n.offsetTop;
+			n = n.offsetParent;
+		}
+
+		return p;
+	},
+
+	registerEventHandlers : function() {
+		if (!this.events) {
+			var d = document;
+
+			this.addEvent(d, 'mousedown', MCLayer.prototype.onMouseDown);
+
+			this.events = true;
+		}
+	},
+
+	addEvent : function(o, n, h) {
+		if (o.attachEvent)
+			o.attachEvent("on" + n, h);
+		else
+			o.addEventListener(n, h, false);
+	},
+
+	onMouseDown : function(e) {
+		e = typeof(e) == "undefined" ? window.event : e;
+		var b = document.body;
+		var l = MCLayer.visibleLayer;
+
+		if (l) {
+			var mx = l.isMSIE ? e.clientX + b.scrollLeft : e.pageX;
+			var my = l.isMSIE ? e.clientY + b.scrollTop : e.pageY;
+			var el = l.getElement();
+			var x = parseInt(el.style.left);
+			var y = parseInt(el.style.top);
+			var w = parseInt(el.offsetWidth);
+			var h = parseInt(el.offsetHeight);
+
+			if (!(mx > x && mx < x + w && my > y && my < y + h)) {
+				MCLayer.visibleLayer = null;
+
+				if (l.autoHideCallback && l.autoHideCallback(l, e, mx, my))
+					return true;
+
+				l.hide();
+			}
+		}
+	},
+
+	addCSSClass : function(e, c) {
+		this.removeCSSClass(e, c);
+		var a = this.explode(' ', e.className);
+		a[a.length] = c;
+		e.className = a.join(' ');
+	},
+
+	removeCSSClass : function(e, c) {
+		var a = this.explode(' ', e.className), i;
+
+		for (i=0; i<a.length; i++) {
+			if (a[i] == c)
+				a[i] = '';
+		}
+
+		e.className = a.join(' ');
+	},
+
+	explode : function(d, s) {
+		var ar = s.split(d);
+		var oar = new Array();
+
+		for (var i = 0; i<ar.length; i++) {
+			if (ar[i] != "")
+				oar[oar.length] = ar[i];
+		}
+
+		return oar;
+	},
+
+	parseInt : function(s) {
+		if (s == null || s == '')
+			return 0;
+
+		return parseInt(s);
+	}
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/mctabs.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/mctabs.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/mctabs.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,74 @@
+/**
+ * $Id: mctabs.js 18 2006-06-29 14:11:23Z spocke $
+ *
+ * Moxiecode DHTML Tabs script.
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+function MCTabs() {
+	this.settings = new Array();
+};
+
+MCTabs.prototype.init = function(settings) {
+	this.settings = settings;
+};
+
+MCTabs.prototype.getParam = function(name, default_value) {
+	var value = null;
+
+	value = (typeof(this.settings[name]) == "undefined") ? default_value : this.settings[name];
+
+	// Fix bool values
+	if (value == "true" || value == "false")
+		return (value == "true");
+
+	return value;
+};
+
+MCTabs.prototype.displayTab = function(tab_id, panel_id) {
+	var panelElm = document.getElementById(panel_id);
+	var panelContainerElm = panelElm ? panelElm.parentNode : null;
+	var tabElm = document.getElementById(tab_id);
+	var tabContainerElm = tabElm ? tabElm.parentNode : null;
+	var selectionClass = this.getParam('selection_class', 'current');
+
+	if (tabElm && tabContainerElm) {
+		var nodes = tabContainerElm.childNodes;
+
+		// Hide all other tabs
+		for (var i=0; i<nodes.length; i++) {
+			if (nodes[i].nodeName == "LI")
+				nodes[i].className = '';
+		}
+
+		// Show selected tab
+		tabElm.className = 'current';
+	}
+
+	if (panelElm && panelContainerElm) {
+		var nodes = panelContainerElm.childNodes;
+
+		// Hide all other panels
+		for (var i=0; i<nodes.length; i++) {
+			if (nodes[i].nodeName == "DIV")
+				nodes[i].className = 'panel';
+		}
+
+		// Show selected panel
+		panelElm.className = 'current';
+	}
+};
+
+MCTabs.prototype.getAnchor = function() {
+	var pos, url = document.location.href;
+
+	if ((pos = url.lastIndexOf('#')) != -1)
+		return url.substring(pos + 1);
+
+	return "";
+};
+
+// Global instance
+var mcTabs = new MCTabs();

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/validate.js
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/validate.js	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/tiny_mce/utils/validate.js	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,219 @@
+/**
+ * $Id: validate.js 65 2006-08-24 15:54:55Z spocke $
+ *
+ * Various form validation methods.
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/**
+	// String validation:
+
+	if (!Validator.isEmail('myemail'))
+		alert('Invalid email.');
+
+	// Form validation:
+
+	var f = document.forms['myform'];
+
+	if (!Validator.isEmail(f.myemail))
+		alert('Invalid email.');
+*/
+
+var Validator = {
+	isEmail : function(s) {
+		return this.test(s, '^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+@[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$');
+	},
+
+	isAbsUrl : function(s) {
+		return this.test(s, '^(news|telnet|nttp|file|http|ftp|https)://[-A-Za-z0-9\\.]+\\/?.*$');
+	},
+
+	isSize : function(s) {
+		return this.test(s, '^[0-9]+(px|%)?$');
+	},
+
+	isId : function(s) {
+		return this.test(s, '^[A-Za-z_]([A-Za-z0-9_])*$');
+	},
+
+	isEmpty : function(s) {
+		var nl, i;
+
+		if (s.nodeName == 'SELECT' && s.selectedIndex < 1)
+			return true;
+
+		if (s.type == 'checkbox' && !s.checked)
+			return true;
+
+		if (s.type == 'radio') {
+			for (i=0, nl = s.form.elements; i<nl.length; i++) {
+				if (nl[i].type == "radio" && nl[i].name == s.name && nl[i].checked)
+					return false;
+			}
+
+			return true;
+		}
+
+		return new RegExp('^\\s*$').test(s.nodeType == 1 ? s.value : s);
+	},
+
+	isNumber : function(s, d) {
+		return !isNaN(s.nodeType == 1 ? s.value : s) && (!d || !this.test(s, '^-?[0-9]*\\.[0-9]*$'));
+	},
+
+	test : function(s, p) {
+		s = s.nodeType == 1 ? s.value : s;
+
+		return s == '' || new RegExp(p).test(s);
+	}
+};
+
+var AutoValidator = {
+	settings : {
+		id_cls : 'id',
+		int_cls : 'int',
+		url_cls : 'url',
+		number_cls : 'number',
+		email_cls : 'email',
+		size_cls : 'size',
+		required_cls : 'required',
+		invalid_cls : 'invalid',
+		min_cls : 'min',
+		max_cls : 'max'
+	},
+
+	init : function(s) {
+		var n;
+
+		for (n in s)
+			this.settings[n] = s[n];
+	},
+
+	validate : function(f) {
+		var i, nl, s = this.settings, c = 0;
+
+		nl = this.tags(f, 'label');
+		for (i=0; i<nl.length; i++)
+			this.removeClass(nl[i], s.invalid_cls);
+
+		c += this.validateElms(f, 'input');
+		c += this.validateElms(f, 'select');
+		c += this.validateElms(f, 'textarea');
+
+		return c == 3;
+	},
+
+	invalidate : function(n) {
+		this.mark(n.form, n);
+	},
+
+	reset : function(e) {
+		var t = new Array('label', 'input', 'select', 'textarea');
+		var i, j, nl, s = this.settings;
+
+		if (e == null)
+			return;
+
+		for (i=0; i<t.length; i++) {
+			nl = this.tags(e.form ? e.form : e, t[i]);
+			for (j=0; j<nl.length; j++)
+				this.removeClass(nl[j], s.invalid_cls);
+		}
+	},
+
+	validateElms : function(f, e) {
+		var nl, i, n, s = this.settings, st = true, va = Validator, v;
+
+		nl = this.tags(f, e);
+		for (i=0; i<nl.length; i++) {
+			n = nl[i];
+
+			this.removeClass(n, s.invalid_cls);
+
+			if (this.hasClass(n, s.required_cls) && va.isEmpty(n))
+				st = this.mark(f, n);
+
+			if (this.hasClass(n, s.number_cls) && !va.isNumber(n))
+				st = this.mark(f, n);
+
+			if (this.hasClass(n, s.int_cls) && !va.isNumber(n, true))
+				st = this.mark(f, n);
+
+			if (this.hasClass(n, s.url_cls) && !va.isAbsUrl(n))
+				st = this.mark(f, n);
+
+			if (this.hasClass(n, s.email_cls) && !va.isEmail(n))
+				st = this.mark(f, n);
+
+			if (this.hasClass(n, s.size_cls) && !va.isSize(n))
+				st = this.mark(f, n);
+
+			if (this.hasClass(n, s.id_cls) && !va.isId(n))
+				st = this.mark(f, n);
+
+			if (this.hasClass(n, s.min_cls, true)) {
+				v = this.getNum(n, s.min_cls);
+
+				if (isNaN(v) || parseInt(n.value) < parseInt(v))
+					st = this.mark(f, n);
+			}
+
+			if (this.hasClass(n, s.max_cls, true)) {
+				v = this.getNum(n, s.max_cls);
+
+				if (isNaN(v) || parseInt(n.value) > parseInt(v))
+					st = this.mark(f, n);
+			}
+		}
+
+		return st;
+	},
+
+	hasClass : function(n, c, d) {
+		return new RegExp('\\b' + c + (d ? '[0-9]+' : '') + '\\b', 'g').test(n.className);
+	},
+
+	getNum : function(n, c) {
+		c = n.className.match(new RegExp('\\b' + c + '([0-9]+)\\b', 'g'))[0];
+		c = c.replace(/[^0-9]/g, '');
+
+		return c;
+	},
+
+	addClass : function(n, c, b) {
+		var o = this.removeClass(n, c);
+		n.className = b ? c + (o != '' ? (' ' + o) : '') : (o != '' ? (o + ' ') : '') + c;
+	},
+
+	removeClass : function(n, c) {
+		c = n.className.replace(new RegExp("(^|\\s+)" + c + "(\\s+|$)"), ' ');
+		return n.className = c != ' ' ? c : '';
+	},
+
+	tags : function(f, s) {
+		return f.getElementsByTagName(s);
+	},
+
+	mark : function(f, n) {
+		var s = this.settings;
+
+		this.addClass(n, s.invalid_cls);
+		this.markLabels(f, n, s.invalid_cls);
+
+		return false;
+	},
+
+	markLabels : function(f, n, ic) {
+		var nl, i;
+
+		nl = this.tags(f, "label");
+		for (i=0; i<nl.length; i++) {
+			if (nl[i].getAttribute("for") == n.id || nl[i].htmlFor == n.id)
+				this.addClass(nl[i], ic);
+		}
+
+		return null;
+	}
+};

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/up.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/up.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/upfolder.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/upfolder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/upload.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/upload.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/upload_archive.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/upload_archive.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/view.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/admin/view.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/back.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/back.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/bookmark.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/bookmark.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/jbportal_logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-cms.sar/portal-cms.war/images/cms/jbportal_logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,324 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+_ASREGISTERED=Don't have an account yet?  You can create <a href\="">one</a>.
+_BLOCKNICKNAME=Username
+_BLOCKPASSWORD=Password
+
+
+
+MessageOrder=Message order
+Ascending=Ascending
+Descending=Descending
+
+AIM=AIM Address
+ICQ=ICQ Number
+YIM=YIM Number
+MSNM=MSN Messenger
+
+YourAIM=Your AIM Address
+YourICQ=Your ICQ Number
+YourYIM=Your YIM Number
+YourMSNM=Your MSN Messenger
+
+MyEmail=My e-mail
+MyHomePage=My homepage
+
+Question=Secret question
+Answer=Secret answer
+Location=Location
+Occupation=Occupation
+Interests=Interests
+ExtraInfo=Extra Information
+YourLocation=Your location
+YourOccupation=Your occupation
+YourInterests=Your interests
+Signature=Signature
+
+LoginSite=Login.
+Register=Register.
+
+UserExist=Username already exists
+ToChangeInfo=to change your info
+EmailVerify=Activation link Emailed! Check your email and click the activation link to activate your account.
+AccountActivated=Account successfully activated!
+UnableActivate=Unable to validate new user.
+LoggingYou=Logging you in, hang tight\!
+YouAreLoggedOut=You are now logged out\!
+PassDifferent=The passwords are different. They need to be identical.
+YourPassMustBe=Sorry, your password must be at least
+CharLong=characters long
+UserNotExist=User doesn't exist\!
+UserRegLogin=User registration/login
+SelectOption=Please select an option from the menu below\:
+RetrievePass=Retrieve lost password.
+RegNewUser=New user registration
+PasswordAgain=Confirm your password
+Email=E-mail
+Options=Options
+AllowEmailView=Allow other users to view my e-mail address
+AsRegUser=As a registered user you can\:
+AsReg6=Select different themes
+AsReg5=Customize the comments
+AsReg4=Select how many news items to show on the homepage
+AsReg3=Have a personal box on the homepage
+AsReg2=Send news with your username
+AsReg1=Post comments with your username
+RegisterNow=Register now\! It's free\!
+WeDontGive=We won't sell/give others your personal info.
+WelcomeTo=Welcome to
+Registration=registration area.
+
+Over13_1=I am
+Over13_2=or over or I have parental consent
+MustBe_1=You must be
+MustBe_2=or over, or have parental permission to register here.
+Consent_1=(By clicking on the above link you certify that you are either<br>
+Consent_2=or over, or that you have parental consent to register here.)
+Under13_1=I am under
+Under13_2=and do not have parental consent.
+
+Sorry=Sorry.
+Click=Please click
+Here=here
+Return=to return to the main page.
+UserName=Username
+GoBack=Back
+Finish=Finish
+PersonalInfo=Personal information
+RealName=Real name
+Optional=(optional)
+CanKnowAbout=(255 characters max. Type what you'd like others to know about you)
+Language=Language
+255CharMax=(255 characters max. Type your signature with HTML coding)
+YourAvatar=Your avatar
+YourHomePage=Your website
+TimeZoneOffset=Time zone offset
+EmailNotPublic=(This e-mail will not be public but is required.  It will be used to send your password if you lose it)
+EmailPublic=(This e-mail will be public. Type what you'd like. Spam proof)
+RealEmail=Real e-mail
+FakeEmail=Fake e-mail
+NewUser=New user
+SaveChanges=Save Changes
+SaveChange=Save Change
+TypeNewPassword=(type a new password twice to change it)
+Search=Search
+All=All
+UsersFoundFor=users found for
+Pages=pages
+UsersShown=users shown
+Delete=Delete
+Edit=Edit
+Ok=Ok
+Cancel=Cancel
+AreYouSureToDeleteUser=Are you sure to delete user?
+UserDeleted=User deleted succesfully
+ReturnToMemberList=Return to member list
+Avatar=Avatar
+AdminFunctions=Admin functions
+URL=URL
+UpdateUser=Update user
+UserID=User ID
+ForChanges=(For changes only)
+MemberList=Member List
+SearchTip=Tip: choose a letter, display all or search for a user if you know its username  
+
+ThemeText1=This option will change the look for the whole site.
+ThemeText2=The changes will be valid only to you.
+ThemeText3=Each user can view the site with a different theme.
+SelectTheme=Select a theme
+ThemeSelection=Theme selection
+
+CannotLogin=Cannot proceed to login
+
+LoginInvalidName=the user name is not valid
+LoginNoSuchUser=the user name does not exist
+LoginBadPassword=your password does not match
+LoginUnexpectedError=unexpected error
+LoginUserDisabled=your account has been blocked. Please contact an administrator.
+
+Enable=Enable
+Disable=Disable
+StatusChanged=The user status has been succesfully changed
+
+NotAuth=You\'re not authorized to perform this operation
+
+
+REMEMBERME=Remember me
+LOGIN=Login
+USERNAME=Username
+PASSWORD=Password
+USERLOGIN=User login
+
+OPTIONAL=Optional
+REQUIRED=Required
+
+255MAX=(Signature of 255 characters max)
+
+NAMENOTAVAILABLE=N/A
+
+MODIFIED_PROFILE=Your profile has been modified, the portal will be running with your former profile until you log back in.
+
+# Registration
+REGISTER_NOT_LOGGED_IN=You are currently not logged in.
+REGISTER_REGISTER=You can create an account.
+REGISTER_REGISTER_LINK=create one
+REGISTER_REGISTER_ADMIN_LINK=Create User account
+REGISTER_TY=Thank you for registering.
+REGISTER_BASICINFO=Basic User Information
+REGISTER_IM=Instant Message Identities
+REGISTER_ADDITIONAL=Additional Optional User Information
+REGISTER_NEWUSER=New user registration
+REGISTER_PASSWORDAGAIN=Confirm your password
+REGISTER_REALEMAIL=Real e-mail
+REGISTER_EMAILNOTPUBLIC=(This e-mail will not be public but is required.  It will be used to send your password if you lose it)
+REGISTER_FAKEEMAIL=Fake e-mail
+REGISTER_EMAILPUBLIC=(This e-mail will be public. Type what you'd like. Spam proof)
+REGISTER_FAKEEMAIL_EXPLAIN=If this field is not empty, the real email will be used only to send notifications
+REGISTER_QUESTION=Secret question
+REGISTER_ANSWER=Secret answer
+REGISTER_ASREGUSER=As a registered user you can:
+REGISTER_ASREG6=Select different themes
+REGISTER_ASREG5=Customize the comments
+REGISTER_ASREG4=Select how many news items to show on the homepage
+REGISTER_ASREG3=Have a personal box on the homepage
+REGISTER_ASREG2=Send news with your username
+REGISTER_ASREG1=Post comments with your username
+REGISTER_REGISTERNOW=Register now! It's free!
+REGISTER_WEDONTGIVE=We won't sell/give others your personal info.
+REGISTER_ALREADYHAVEACCOUNT=You already have an account:
+REGISTER_SIGNIN=Sign in
+REGISTER_GIVENNAME=Firstname
+REGISTER_FAMILYNAME=Lastname
+REGISTER_PERSONALINFO=Personal information
+REGISTER_VIEWREALEMAIL=Allow other users to view my real e-mail address
+REGISTER_HOMEPAGE=Address of your personal website
+REGISTER_TIMEZONEOFFSET=Time zone offset
+REGISTER_THEME=Theme
+REGISTER_DEFAULT_THEME=Site Default
+REGISTER_ICQ=ICQ id
+REGISTER_AIM=AIM id
+REGISTER_YIM=Yahoo id
+REGISTER_MSNM=MSN messenger id
+REGISTER_SKYPE=Skype id
+REGISTER_XMMP=XMMP id
+REGISTER_LOCATION=Location
+REGISTER_LANGUAGE=Preferred language
+REGISTER_OCCUPATION=Occupation
+REGISTER_INTERESTS=Interests
+REGISTER_SIGNATURE=Signature
+REGISTER_EXTRAINFO=Extra information
+REGISTER_CANKNOWABOUT=(255 characters max. Type what you'd like others to know about you)
+REGISTER_SAVECHANGES=Save changes
+REGISTER_CONFIRMATIONEMAIL=Confirmation email
+
+REGISTER_SHOWMENU=Go back to the user menu
+
+REGISTER_ERROR_INVALIDUSERNAME=Username is not valid
+REGISTER_ERROR_EXISTINGUSERNAME=This username is already taken
+REGISTER_ERROR_INVALIDPASSWORD1=Password was not valid
+REGISTER_ERROR_INVALIDPASSWORD2=Password was not valid
+REGISTER_ERROR_PASSWORDMISMATCH=Passwords do not match
+REGISTER_ERROR_INVALIDREALEMAIL=Email address is not valid
+
+REGISTER_CONFIRM=User created successfully.
+REGISTER_ADMIN_SEARCH=View/Edit users
+
+
+MENU_LOGOUT=Logout
+MENU_EDITPROFILE=Edit your profile
+MENU_LISTUSERS=List of all the users
+
+LIST_FILTERS=Apply filters to the list
+LIST_USERSPERPAGE=Users per page
+LIST_USERNAMECONTAINS=Username contains
+LIST_FULLNAME=Fullname
+LIST_USERNAME=Username
+LIST_FIRSTNAME=Firstname
+LIST_LASTNAME=Lastname
+LIST_ROLES=Roles
+LIST_ACTIONS=Actions
+LIST_ACTIONSSHOWPROFILE=Profile
+LIST_ACTIONADDROLESTOUSER=Roles
+LIST_ACTIONEDITROLES=Edit Roles
+LIST_ACTIONDELETEUSER=Delete user
+LIST_CONFIRMDELETEUSER=You are about to delete a user
+LIST_SEARCHRESULTS=Search results for
+LIST_MATCHING=Matching Users
+FILTER=Filter
+
+NEXTPAGE=Next page
+PREVIOUSPAGE=Previous page
+
+ASSIGNROLES=Assign roles
+ASSIGNEDROLES=Roles to assign
+ROLESAVAILABLE=Available roles
+EDITROLESFORUSER=Edit roles for the user
+
+
+ROLE_THEREARE=There are
+ROLE_THEREIS=There is
+ROLE_ROLESDEFINED=roles defined
+ROLE_ROLEDEFINED=role defined
+
+ROLE_NAME=Name of the new role
+ROLE_DISPLAYNAME=Display name of the role
+ROLE_NEWDISPLAYNAME=New display name for the role
+ROLE_SELECTONETOMODIFY= Select the role to modify
+ROLE_SELECTONETODELETE= Select the role to delete
+ROLE_CREATE=Create user role
+ROLE_UPDATE=Update user role
+ROLE_EDIT=Edit user role
+ROLE_DELETE=Delete selected role
+ROLE_CONFIRM_DELETE=You are about to delete a role
+ROLE_DELETED=The role has been deleted
+ROLE_EDIT_MEMBERS=Edit role members
+ROLE_MAINLIST=Back to Role Edit
+ROLE_EDIT_USER=Editing users in Role
+ROLE_ADD=Add roles
+ROLE_REMOVE=Remove roles
+
+ROLE_ERROR_DISPLAYNAMEALREADYEXISTS=There is already a role with that display name
+ROLE_ERROR_NAMEALREADYEXISTS=There is already a role with that name
+ROLE_ERROR_NAMEEMPTY=The role name cannot be empty
+ROLE_ERROR_DISPLAYNAMEEMPTY=The role display name cannot be empty
+ROLE_ERROR_DELETE_FAILED=Could not delete the role
+
+MENU_CREATEROLE=Create new role
+MENU_EDITROLE=Edit existing role
+MENU_EDITROLEMEMBERS=Role member
+
+ROLE_TEXT_1=Use this portlet to create, edit, delete and add users to roles.
+ROLE_TEXT_2=These roles are used in the Management Portlet to set access rights.
+
+PERMISSION_PICKPORTLET=Portlet Permissions Administration
+PERMISSION_PERMISSIONS=Permissions to modify
+PERMISSION_TOP=Select a Component to Modify
+PERMISSION_FINERGRAIN=Select a sub-component to define its permissions
+PERMISSION_MODIFYROLES=Add/Remove roles
+PERMISSION_MODIFYINGROLES=Modifying roles for
+PERMISSION_DOMAIN=Domain
+PERMISSION_DOMAIN_MOD=Modify Domain
+PERMISSION_DEFINEDROLES=Defined roles
+PERMISSION_IMPLIEDROLES=Implied roles
+ 
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_es.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_es.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_es.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,296 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+_ASREGISTERED=�No tiene una cuenta todav�a? Puede crear <a href\="">una</a>.
+_BLOCKNICKNAME=Usuario
+_BLOCKPASSWORD=Clave
+
+
+
+MessageOrder=�rden de Mensajes
+Ascending=Ascendente
+Descending=Descendente
+
+AIM=AIM Direcci�n
+ICQ=ICQ N�mero
+YIM=YIM N�mero
+MSNM=MSN Messenger
+
+YourAIM=Su direcci�n AIM
+YourICQ=Su n�mero ICQ
+YourYIM=Su n�mero YIM
+YourMSNM=Su Messenger MSN
+
+MyEmail=Mi e-mail
+MyHomePage=Mi p�gina de inicio
+
+Question=Pregunta secreta
+Answer=Respuesta secreta
+Location=Residencia
+Occupation=Puesto
+Interests=Intereses
+ExtraInfo=Informaci�n extra
+YourLocation=Su residencia
+YourOccupation=Su puesto
+YourInterests=Sus intereses
+Signature=Firma
+
+LoginSite=Login.
+Register=Registro.
+
+UserExist=Ese usuario ya existe
+ToChangeInfo=para cambiar tu informaci�n
+EmailVerify=�Enlace de activaci�n enviado! Comprueba tu correo y pincha en en enlace de activaci�n para activar tu cuenta.
+AccountActivated=�Cuenta activada!
+UnableActivate=Imposible validar el nuevo usuario.
+LoggingYou=Autenticando, \�espere\!
+YouAreLoggedOut=\�Ahora ya est�s autenticado\!
+PassDifferent=Las claves son diferentes. Tienen que ser id�nticas.
+YourPassMustBe=Lo sentimos, su clave debe ser por lo menos de
+CharLong=caracteres
+UserNotExist=\�El usuario no existe\!
+UserRegLogin=Registro de usuario/autenticaci�n
+SelectOption=por favor, elija una opci�n del men� siguiente\:
+RetrievePass=Recuperar la clave perdida.
+RegNewUser=Registro de un nuevo usuario
+PasswordAgain=Confirme su clave
+Email=E-mail
+Options=Opciones
+AllowEmailView=Permitir a otros usuarios ver mi direcci�n de e-mail
+AsRegUser=Como usuario registrado, usted podr�\:
+AsReg6=Elegir diferentes estilos
+AsReg5=Personalizar los comentarios
+AsReg4=Elegir cu�ntos objetos nuevos mostrar en la p�gina de inicio
+AsReg3=Tener un buz�n personal en la p�gina de inicio
+AsReg2=Enviar noticias con su usuario
+AsReg1=Responder con su usuario.
+RegisterNow=\�Reg�strese ahora\! \�Es gratis\!
+WeDontGive=No venderemos o daremos a otros su informaci�n personal.
+WelcomeTo=Bienvenido a
+Registration=la zona de registro.
+
+Over13_1=Tengo
+Over13_2=o m�s a�os o tengo consentimiento paterno
+MustBe_1=Debe tener
+MustBe_2=o m�s a�os, o tener permiso paterno para registrarse.
+Consent_1=(Pinchando en el enlace superior usted certifica que tiene<br>
+Consent_2=o m�s a�os, o que tiene permiso paterno para registrarse.)
+Under13_1=Tengo menos de
+Under13_2=a�os y no tengo consentimiento paterno.
+
+Sorry=Lo sentimos.
+Click=Por favor, pinche
+Here=aqu�
+Return=para volver a la p�gina principal.
+UserName=Usuario
+GoBack=Atr�s
+Finish=Finalizar
+PersonalInfo=Informaci�n personal
+RealName=Nombre real
+Optional=(opcional)
+CanKnowAbout=(255 caracteres max. Introduzca lo que quiera que otros conozcan de usted)
+Language=Lenguaje
+255CharMax=(255 caracteres max. Introduzca su firma en c�digo HTML)
+YourAvatar=Su avatar
+YourHomePage=Su p�gina de inicio
+TimeZoneOffset=Zona horaria
+EmailNotPublic=(Este correo no ser� p�blico pero es necesario.  Se usar� para enviarle su clave en caso de p�rdida)
+EmailPublic=(Este correo ser� p�blico. Escriba lo que quiera. Prueba de Spam)
+RealEmail=E-mail real
+FakeEmail=E-mail de pega
+NewUser=Nuevo usuario
+SaveChanges=Guardar cambios
+SaveChange=Guardar cambio
+TypeNewPassword=(escriba una clave dos veces para cambiarla)
+Search=Buscar
+All=Todos
+UsersFoundFor=usuarios encontrados para
+Pages=p�ginas
+UsersShown=usuarios mostrados
+Delete=Borrar
+Edit=Editar
+Ok=Aceptar
+Cancel=Cancelar
+AreYouSureToDeleteUser=�De verdad quiere borrar el usuario?
+UserDeleted=Usuario borrado
+ReturnToMemberList=Volver a la lista de miembros
+Avatar=Avatar
+AdminFunctions=Tareas administrativas
+URL=URL
+UpdateUser=Actualizaci�n de usuario
+UserID=ID de usuario
+ForChanges=(S�lo para cambios)
+MemberList=Lista de miembros
+SearchTip=Sugerencia: escoja una letra, muestre todos o busque un usuario si conoce su nombre
+
+ThemeText1=Esta opci�n cambia la apariencia de todo el sitio.
+ThemeText2=Estos cambios s�lo le afectar�n a usted.
+ThemeText3=Cada usuario puede ver el sitio con una apariencia diferente.
+SelectTheme=Elegir un estilo
+ThemeSelection=Elecci�n de estilo
+
+CannotLogin=No se puede autenticar
+
+LoginInvalidName=El nombre de usuario no es v�lido
+LoginNoSuchUser=el nombre de usuario no existe
+LoginBadPassword=su contrase�a no coincide
+LoginUnexpectedError=error inesperado
+LoginUserDisabled=su cuenta ha sido bloqueada. Por favor, contacte con un administrador.
+
+Enable=Activar
+Disable=Desactivar
+StatusChanged=El estado del usuario ha sido cambiado
+
+NotAuth=Usted no est� autorizado para realizar esta operaci�n
+
+REMEMBERME=Recordarme
+LOGIN=Login
+USERNAME=Usuario
+PASSWORD=Clave
+USERLOGIN=Login de usuario
+
+OPTIONAL=Opcional
+REQUIRED=Obligatorio
+
+255MAX=(Firma de 255 caract�res max)
+
+NAMENOTAVAILABLE=N/A
+
+# Registration
+REGISTER_REGISTER=Puedes crear una cuenta.
+REGISTER_REGISTER_LINK=crear una
+REGISTER_REGISTER_ADMIN_LINK=Crear una cuenta
+REGISTER_NEWUSER=Registro de nuevo usuario
+REGISTER_PASSWORDAGAIN=Confirme su clave
+REGISTER_REALEMAIL=E-mail real
+REGISTER_EMAILNOTPUBLIC=(Este correo no ser� p�blico pero es necesario.  Se usar� para enviarle su clave en caso de p�rdida)
+REGISTER_FAKEEMAIL=E-mail de pega
+REGISTER_EMAILPUBLIC=(Este correo ser� p�blico. Escriba lo que quiera. Prueba de Spam)
+REGISTER_FAKEEMAIL_EXPLAIN= Si este campo no est� vac�o, el e-mail real s�lo se usar� para enviarle notificaciones
+REGISTER_QUESTION=Pregunta secreta
+REGISTER_ANSWER=Respuesta secreta
+REGISTER_ASREGUSER=Como usuario registrado, usted podr�:
+REGISTER_ASREG6=Elegir diferentes estilos
+REGISTER_ASREG5=Personalizar los comentarios
+REGISTER_ASREG4=Elegir cu�ntos objetos nuevos mostrar en la p�gina de inicio
+REGISTER_ASREG3=Tener un buz�n personal en la p�gina de inicio
+REGISTER_ASREG2=Enviar noticias con su usuario
+REGISTER_ASREG1=Responder con su usuario.
+REGISTER_REGISTERNOW=�Reg�strese ahora! �Es gratis!
+REGISTER_WEDONTGIVE=No venderemos o daremos a otros su informaci�n personal.
+REGISTER_ALREADYHAVEACCOUNT=Usted ya tiene una cuenta:
+REGISTER_SIGNIN=Entrar
+REGISTER_GIVENNAME=Nombre
+REGISTER_FAMILYNAME=Apellido
+REGISTER_PERSONALINFO=Informaci�n personal
+REGISTER_VIEWREALEMAIL=Permitir a otros usuarios ver mi direcci�n de e-mail real
+REGISTER_HOMEPAGE=Direcci�n de su pagina personal
+REGISTER_TIMEZONEOFFSET=Zona horaria
+REGISTER_THEME=Estilo
+REGISTER_DEFAULT_THEME=Site Default
+REGISTER_ICQ=ICQ id
+REGISTER_AIM=AIM id
+REGISTER_YIM=Yahoo id
+REGISTER_MSNM=MSN messenger id
+REGISTER_SKYPE=Skype id
+REGISTER_LOCATION=Residencia
+REGISTER_LANGUAGE=Lenguaje preferido
+REGISTER_OCCUPATION=Puesto
+REGISTER_INTERESTS=Intereses
+REGISTER_SIGNATURE=Firma
+REGISTER_EXTRAINFO=Informaci�n adicional
+REGISTER_CANKNOWABOUT=(255 caracteres max. Introduzca lo que quiera que otros conozcan de usted)
+REGISTER_SAVECHANGES=Guardar cambios
+REGISTER_CONFIRMATIONEMAIL=email de confirmaci�n
+
+REGISTER_SHOWMENU=Volver al men� de usuario
+
+REGISTER_ERROR_INVALIDUSERNAME=El usuario no es v�lido
+REGISTER_ERROR_EXISTINGUSERNAME=Este usuario ya existe
+REGISTER_ERROR_INVALIDPASSWORD1=La clave no es v�lida
+REGISTER_ERROR_INVALIDPASSWORD2=La clave no es v�lida
+REGISTER_ERROR_PASSWORDMISMATCH=Las Claves no coincide
+REGISTER_ERROR_INVALIDREALEMAIL=La direcci�n de E-mail no es v�lida
+
+MENU_LOGOUT=Desconectarse
+MENU_EDITPROFILE=Editar su perfil
+MENU_LISTUSERS=Listar todos los usuarios
+
+LIST_FILTERS=Aplicar filtros a la lista
+LIST_USERSPERPAGE=N�mero de usuarios por p�gina
+LIST_USERNAMECONTAINS=Usuario contiene
+LIST_FULLNAME=Nombre completo
+LIST_USERNAME=Nombre de usuario
+LIST_ROLES=Roles
+LIST_ACTIONS=Acciones
+LIST_ACTIONSSHOWPROFILE=Perfil
+LIST_ACTIONADDROLESTOUSER=Roles
+LIST_ACTIONEDITROLES=Editar Roles
+LIST_ACTIONDELETEUSER=Borrar el usario
+FILTER=Filtro
+
+NEXTPAGE=P�gina siguiente
+PREVIOUSPAGE=P�gina anterior
+
+ASSIGNROLES=Asignar roles
+ROLESAVAILABLE=Roles disponibles
+EDITROLESFORUSER=Editar roles para el usuario
+
+
+ROLE_THEREARE=Hay
+ROLE_THEREIS=Hay
+ROLE_ROLESDEFINED=roles definidos
+ROLE_ROLEDEFINED=rol definido
+
+ROLE_NAME=Nombre del nuevo rol
+ROLE_DISPLAYNAME=Nombre para mostrar del rol
+ROLE_NEWDISPLAYNAME=Nombre para mostrar del nuevo rol
+ROLE_SELECTONETOMODIFY= Elegir el rol para modificar
+ROLE_SELECTONETODELETE= Elegir el rol para borrar
+ROLE_CREATE=Crear un rol de usuario
+ROLE_UPDATE=Modificar un rol de usuario
+ROLE_EDIT=Editar un rol de usuario
+ROLE_DELETE=Borrar el rol elegido
+ROLE_DELETED=El rol ha sido borrado
+ROLE_EDIT_MEMBERS=Editar miembros del rol
+ROLE_MAINLIST=Volver a edici�n de roles
+
+ROLE_ERROR_DISPLAYNAMEALREADYEXISTS=Ya existe un rol con ese nombre para mostrar
+ROLE_ERROR_NAMEALREADYEXISTS=Ya existe un rol con ese nombre
+ROLE_ERROR_NAMEEMPTY=El nombre del rol no puede dejarse en blanco
+ROLE_ERROR_DISPLAYNAMEEMPTY=El nombre para visualizar del rol no puede dejarse en blanco
+ROLE_ERROR_DELETE_FAILED=No se puede borrar el rol
+ROLE_EDIT_USER=Editar usuarios del rol
+
+MENU_CREATEROLE=Crear un nuevo rol
+MENU_EDITROLE=Editar un rol existente
+MENU_EDITROLEMEMBERS=Editar los miembros de un rol
+
+PERMISSION_PICKPORTLET=Permisos de administraci�n de portlets
+PERMISSION_PERMISSIONS=Permisos para modificaci�n
+PERMISSION_TOP=Elegir un componente para modificar
+PERMISSION_FINERGRAIN=Elegir un sub-componente para definir sus permisos
+PERMISSION_MODIFYROLES=A�adir/Borrar roles
+PERMISSION_MODIFYINGROLES=Modificar roles para
+PERMISSION_DOMAIN=Dominio
+PERMISSION_DOMAIN_MOD=Modificar el dominio

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_fr.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_fr.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_fr.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,284 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+_BLOCKNICKNAME=Identifiant
+_BLOCKPASSWORD=Mot de passe
+
+MessageOrder=Ordre des messages
+Ascending=Ascendant
+Descending=Descendant
+
+AIM=Addresse AIM
+ICQ=num\u00E9ro ICQ
+YIM=num\u00E9ro YIM
+MSNM=identifiant MSN
+
+YourAIM=Votre Addresse AIM
+YourICQ=Votre num\u00E9ro ICQ
+YourYIM=Votre identifiant YIM
+YourMSNM=Votre identifiant MSN
+
+MyEmail=Mon e-mail
+MyHomePage=Ma homepage
+
+Location=R\u00E9sidence
+Occupation=Occupation
+Interests=Centres d'int\u00E9r\u00EAts
+ExtraInfo=Informations compl\u00E9mentaires
+YourLocation=Votre lieu de r\u00E9sidence
+YourOccupation=Votre m\u00E9tier
+YourInterests=Vos centres d'int\u00E9r\u00EAts
+Signature=Signature
+
+LoginSite=Login.
+Register=Enregistrement.
+
+UserExist=Cet identifiant existe d\u00E9j\u00E0
+ToChangeInfo=Pour changer vos informations personnelles
+LoggingYou=Bienvenue, connexion en cours ...
+YouAreLoggedOut=Deconnexion en cours ... \u00E9 bient\u00F4t \!
+PassDifferent=Les mots de passe sont diff\u00E9rents, ils doivent etre identiques
+YourPassMustBe=D\u00E9sol\u00E9 votre mot de passe doit comporter au moins
+CharLong=caracteres
+UserNotExist=Cet identifiant n\'existe pas \!
+UserRegLogin=Enregistrement/login
+SelectOption=Choisir une des options suivantes \:
+RetrievePass=Mot de passe perdu
+Email=E-mail
+Options=Options
+AllowEmailView=Autoriser les autres utilisateurs \u00E9 voir mon adresse e-mail
+WelcomeTo=Bienvenue sur
+Registration=enregistrement
+
+Over13_1=J'ai
+Over13_2=ou plus ou j'ai l'autorisation de mes parents
+MustBe_1=Vous devez avoir
+MustBe_2=ou plus ou avoir l'autorisation de vos parents
+Consent_1=(En cliquant sur le lien ci-dessus vous d\u00E9clarez \u00EAtre majeur<br>
+Consent_2=ou avoir l'autorisation de vos parents)
+Under13_1=Je ne suis pas majeur
+Under13_2=et je n'ai pas l'autorisation de mes parents
+
+Sorry=D\u00E9sol\u00E9.
+Click=Cliquez
+Here=ici
+Return=pour revenir \u00EA la page d'accueil
+UserName=Identifiant
+GoBack=Back
+Finish=Terminer
+PersonalInfo=Informations personnelles
+RealName=Nom r\u00E9el
+Optional=(optionel)
+CanKnowAbout=(255 caracteres max. Pr\u00E9cisez ce que les autres peuvent savoir de vous)
+Language=Langage
+255CharMax=
+YourAvatar=Votre avatar
+YourHomePage=Votre site web
+TimeZoneOffset=D\u00E9calage GMT
+EmailNotPublic=(Email obligatoire mais non publique. Utilis\u00E9 pour vous envoyer votre mot de passe)
+EmailPublic=(Eail public.)
+SaveChanges=Enregistrer les modifications
+SaveChange=Enregistrer la modification
+TypeNewPassword=(saisissez un nouveau mot de passe 2 fois pour valider)
+Search=Chercher
+All=Tous
+UsersFoundFor=utilisateurs trouv\u00E9s
+Pages=pages
+UsersShown=utilisateurs montr\u00E9s
+Delete=Supprimer
+Edit=Editer
+Ok=Ok
+Cancel=Annuler
+AreYouSureToDeleteUser=Voulez-vous vraiment supprimer l\'utilisateur \?
+UserDeleted=Utilisateur supprim\u00E9
+ReturnToMemberList=Revenir \u00EA la liste des membres
+Avatar=Avatar
+AdminFunctions=Fonctions d\'administration
+URL=URL
+UpdateUser=Mise \u00EA jour
+UserID=Identifiant Utilisateur
+ForChanges=(modifications seulement)
+MemberList=Liste des membres
+SearchTip=Choisir une lettre, cliquer sur Tous ou entrez un nom de membre
+
+ThemeText1=Cette option change le style pour tout le site
+ThemeText2=Les changement ne concernent que vous
+ThemeText3=Chaque utilisateur peut consulter le site avec le theme de son choix
+SelectTheme=Selectionner un theme
+ThemeSelection=Selection d\'un theme
+
+CannotLogin=Connexion impossible
+
+LoginInvalidName=L'identifiant n\'est pas valide
+LoginNoSuchUser=L\'utilisateur n\'existe pas
+LoginBadPassword=Le mot de passe n\'est pas valide
+LoginUnexpectedError=Erreur inconnue
+LoginUserDisabled=Votre compte est bloqu\u00E9. Consultez un aministrateur
+
+Enable=Permettre
+Disable=Interdire
+StatusChanged=Le status de l\'utilisateur a \u00E9t\u00E9 chang\u00E9
+
+NotAuth=Op\u00E9ration non autoris\u00E9e
+
+REMEMBERME=Enregistrer
+LOGIN=Login
+USERNAME=Identifiant
+PASSWORD=Mot de passe
+USERLOGIN=Pseudo utilisateur
+
+OPTIONAL=Facultatif
+REQUIRED=Requis
+
+255MAX=(Signature de 255 caracteres max)
+
+NAMENOTAVAILABLE=N/D
+
+# Registration
+REGISTER_NOT_LOGGED_IN=Vous n'\u00EAtes pas connect\u00E9
+REGISTER_REGISTER=Cr\u00E9er un compte
+REGISTER_REGISTER_ADMIN_LINK=Cr\u00E9er un compte
+REGISTER_NEWUSER=Enregistrement d'un nouvel utilisateur
+REGISTER_PASSWORDAGAIN=Comfirmer votre mot de passe
+REGISTER_REALEMAIL=e-mail r\u00E9el
+REGISTER_FAKEEMAIL=E-mail public
+REGISTER_FAKEEMAIL_EXPLAIN=Si ce champ n'est pas vide, l'email r\u00E9el ne sera utilis\u00E9 que pour envoyer des notifications
+REGISTER_QUESTION=Question secr\u00E8te
+REGISTER_ANSWER=R\u00E9ponse secr\u00E8te
+REGISTER_ASREGUSER=En \u00E9tant enregistr\u00E9 vous pouvez:
+REGISTER_ASREG6=Choisir parmi plusieurs th\u00E8mes
+REGISTER_ASREG5=Personnaliser les commentaires
+REGISTER_ASREG4=Personnaliser la page d'accueil
+REGISTER_ASREG3=Avoir une boite de saisie de mot de passe sur la page d'accueil
+REGISTER_ASREG2=Poster des news
+REGISTER_ASREG1=Poster des commentaires
+REGISTER_REGISTERNOW=Enregistrez-vous! C'est gratuit!
+REGISTER_WEDONTGIVE=Nous ne communiquons pas les donn\u00E9es personnelles
+
+REGISTER_ALREADYHAVEACCOUNT=Vous avex deja un compte:
+REGISTER_SIGNIN=Se connecter
+REGISTER_GIVENNAME=Pr\u00E9nom
+REGISTER_FAMILYNAME=Nom
+REGISTER_PERSONALINFO=Information personelles
+REGISTER_VIEWREALEMAIL=Permet aux autres utilisateurs de voir ma vraie adresse e-mail.
+REGISTER_HOMEPAGE=Addresse de votre site web
+REGISTER_TIMEZONEOFFSET=Time zone
+REGISTER_THEME=Th\u00E8me
+REGISTER_DEFAULT_THEME=Site Default
+REGISTER_ICQ=Numero ICQ
+REGISTER_AIM=Identifiant AIM
+REGISTER_YIM=Identifiant Yahoo
+REGISTER_MSNM=Adresse MSN
+REGISTER_SKYPE=Identifiant Skype
+REGISTER_LOCATION=Place
+REGISTER_LANGUAGE=Language prefere
+REGISTER_OCCUPATION=Occupation
+REGISTER_INTERESTS=Interets
+REGISTER_SIGNATURE=Signature
+REGISTER_EXTRAINFO=Informations complementaires
+REGISTER_CANKNOWABOUT=(255 caracteres max.)
+REGISTER_SAVECHANGES=Enregistrer les changements
+REGISTER_CONFIRMATIONEMAIL=Email de confirmation
+
+REGISTER_SHOWMENU=Retour au menu utilisateur
+
+REGISTER_ERROR_INVALIDUSERNAME=L'identifiant n'est pas valide
+REGISTER_ERROR_EXISTINGUSERNAME=Cet identifiant est d\u00E9j\u00E0 pris
+REGISTER_ERROR_INVALIDPASSWORD1=Le mot de passe n'est pas valide
+REGISTER_ERROR_INVALIDPASSWORD2=Le mot de passe n'est pas valide
+REGISTER_ERROR_PASSWORDMISMATCH=les mots de passe sont diff\u00E9rents
+REGISTER_ERROR_INVALIDREALEMAIL=Adresse email invalide
+
+MENU_LOGOUT=Deconnection
+MENU_EDITPROFILE=Editer votre profile
+MENU_LISTUSERS=Liste des utilisateurs
+
+LIST_FILTERS=Filtrer la liste
+LIST_USERSPERPAGE=Utilisateurs par page
+LIST_USERNAMECONTAINS=Identifiant contient
+LIST_FULLNAME=Nom complet
+LIST_USERNAME=Identifiant
+LIST_ROLES=Roles
+LIST_ACTIONS=Actions
+LIST_ACTIONSSHOWPROFILE=Profil
+LIST_ACTIONADDROLESTOUSER=Roles
+LIST_ACTIONDELETEUSER=Supprimer un utilisateur
+FILTER=Filtre
+
+NEXTPAGE=Page suivante
+PREVIOUSPAGE=Page precedente
+
+ASSIGNROLES=Assigner roles
+ROLESAVAILABLE=Roles disponibles
+EDITROLESFORUSER=Editer roles pour l'utilisateur
+
+
+ROLE_THEREARE=Il y a
+ROLE_THEREIS=Il y a
+ROLE_ROLESDEFINED=roles existants
+ROLE_ROLEDEFINED=role existant
+
+ROLE_NAME=Nom du nouveau role
+ROLE_DISPLAYNAME=Nom affiche du nouveau role
+ROLE_NEWDISPLAYNAME=Nouveau nom afficher pour le role
+ROLE_SELECTONETOMODIFY= Selectionner le role a modifier
+ROLE_CREATE=Creer un role
+ROLE_UPDATE=Modifier un role
+ROLE_EDIT=Modifier un role
+
+ROLE_ERROR_DISPLAYNAMEALREADYEXISTS=Il existe deja un role avec ce nom
+ROLE_ERROR_NAMEALREADYEXISTS=Il existe deja un role avec ce nom affiche
+ROLE_ERROR_NAMEEMPTY=Le nom de role ne peut pas etre vide
+ROLE_ERROR_DISPLAYNAMEEMPTY=Le nom affiche de role ne peut pas etre vide
+
+MENU_CREATEROLE=Creer nouveau role
+MENU_EDITROLE=Editer un role existant
+
+TITLE_FILEBROWSE=Explorateur de fichier
+_ASREGISTERED=Vous n'avez pas de compte? vous pouvez en cr\u00E9er <a href\="">un</a>.
+Question=Question secr\u00E8te
+Answer=R\u00E9ponse secr\u00E8te
+EmailVerify=Liens d'activation envoy\u00E9 par email! Consultez vos emails et clickez sur le client d'activation pour activer votre compte.
+AccountActivated=Compte activ\u00E9
+UnableActivate=Impossible de v\u00E9rifier l'utilisateur
+RegNewUser=Enregistrement d'un nouvel utilisateur
+PasswordAgain=Confirmez votre mot de passe
+AsRegUser=En tant qu'utilisateur enregistr\u00E9 vous pouvez\:
+AsReg6=Selectionnez parmis les diff\u00E9rents th\u00E8mes
+AsReg5=Pesonnalizez les commentaires
+AsReg4=Choisissez combien d'items vous voulez afficher sur votre page
+AsReg2=Envoyez une news avec votre nom d'utilisateur
+AsReg1=Soumettre un commentaire avec votre nom
+RegisterNow=Enregistrez vous\! c'est gratuit\!
+WeDontGive=Nous ne donnons ni ne vendons vos informations personelles.
+REGISTER_EMAILNOTPUBLIC=(Cet e-mail ne sera pas public mais est obligatoire. Il sera utilis\u00E9 pour vous envoyer votre mot de passe)
+REGISTER_EMAILPUBLIC=(Cet e-mail sera public. Mettez ce que vous d\u00E9sirez)
+LIST_ACTIONEDITROLES=Editer les roles
+ROLE_SELECTONETODELETE=Selectionnez un role \u00EA supprimer
+ROLE_DELETE=Supprimer le role selectionn\u00E9
+ROLE_DELETED=Le role a \u00E9t\u00E9 supprim\u00E9
+ROLE_EDIT_MEMBERS=Edit les roles
+ROLE_MAINLIST=Retour \u00E0 l'\u00E9dition de roles
+ROLE_EDIT_USER=Editez les utilisateurs pour un role donn\u00E9
+ROLE_ERROR_DELETE_FAILED=Le role n'a pu etre supprim\u00E9
+MENU_EDITROLEMEMBERS=Editer les roles

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_it.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_it.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_it.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,320 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+_ASREGISTERED=Non hai ancora un account?  Puoi <a href\="index.html?module=user&op=getlogin">crearne uno</a>.
+_BLOCKNICKNAME=Username
+_BLOCKPASSWORD=Password
+
+
+
+MessageOrder=Ordine del messaggio
+Ascending=Ascendente
+Descending=Discendente
+
+AIM=Indirizzo AIM
+ICQ=Numero ICQ
+YIM=Numero YIM
+MSNM=MSN Messenger
+
+YourAIM=Il tuo indirizzo AIM
+YourICQ=Il tuo numero ICQ
+YourYIM=Il tuo numero YIM 
+YourMSNM=Il tuo MSN Messenger
+
+MyEmail=La mia e-mail
+MyHomePage=La mia homepage
+
+Question=Domanda segreta
+Answer=Risposta segreta
+Location=Localita'
+Occupation=Occupazione
+Interests=Interessi
+ExtraInfo=Informazioni extra
+YourLocation=La tua localita'
+YourOccupation=La tua occupazione
+YourInterests=Tuoi interessi
+Signature=Firma
+
+LoginSite=Login.
+Register=Registra.
+
+UserExist=Lo Username esiste gia
+ToChangeInfo=per cambiare le tue info
+EmailVerify=Mandato il link di attivazione! Leggi la tua e-mail e clicca sul link per l'attivazione.
+AccountActivated=Account creato con successo!
+UnableActivate=Impossibile validare il nuovo utente.
+LoggingYou=Login in atto, attenti un po'\!
+YouAreLoggedOut=Sei uscito\!
+PassDifferent=Le passwords sono differenti. Devono essere identiche.
+YourPassMustBe=Mi spiace, la tua password deve essere di almeno
+CharLong=caratteri
+UserNotExist=L'utente non esiste\!
+UserRegLogin=Registrazione utente/login
+SelectOption=Seleziona un'opzione dal menu in basso\:
+RetrievePass=Ricevi la password persa.
+RegNewUser=Nuova registrazione utente
+PasswordAgain=Conferma la tua password
+Email=E-mail
+Options=Opzioni
+AllowEmailView=Permetti agli altri utenti di vedere la mia e-mail
+AsRegUser=Come utente registrato puoi\:
+AsReg6=Seleziona differenti temi
+AsReg5=Personalizza i commenti
+AsReg4=Seleziona quanti nuovi oggetti da mostrare sulla homepage
+AsReg3=Prendi un box personale sulla homepage
+AsReg2=Manda news con il tuo username
+AsReg1=Rispondi con il tuo username
+RegisterNow=Registrati ora\! E' gratis\!
+WeDontGive=Non vogliamo darti altre informazioni personali.
+WelcomeTo=Benvenuto su
+Registration=area di registrazione.
+
+Over13_1=Io sono
+Over13_2=o al di sopra o con il consenso dei genitori
+MustBe_1=Devi essere
+MustBe_2=o al di sopra, o con il consenso dei genitori per registrarmi qui.
+Consent_1=(Cliccando sul link qui sopra per verificare quanto detto<br>
+Consent_2=o al di sopra, o con il consenso dei genitori per registrarmi qui.)
+Under13_1=Sono al di sotto
+Under13_2=e non ho il consenso dei genitori.
+
+Sorry=Mi spiace.
+Click=Per favore clicca
+Here=qui
+Return=per ritornare alla pagina principale.
+UserName=Username
+GoBack=Indietro
+Finish=Termina
+PersonalInfo=Informazione personale
+RealName=nome reale
+Optional=(opzionale)
+CanKnowAbout=(massimo 255 caratteri. Scrivi cosa vorresti far sapere agli altri)
+Language=Lingua
+255CharMax=(massimo 255 caratteri. Scrivi la tua firma con la codifica HTML)
+YourAvatar=La tua identita'
+YourHomePage=Il tuo sito web
+TimeZoneOffset=Fuso orario
+EmailNotPublic=(Questa e-mail non sara' pubblica ma e' richiesta.  Sara' usata per inviarti la password nel caso la perdessi)
+EmailPublic=(Questa e-mail sara' pubblica. Scrivi quello che vuoi. A prova di spam)
+RealEmail=e-mail principale
+FakeEmail=e-mail secondaria
+NewUser=Nuovo utente
+SaveChanges=Salva le modifiche
+SaveChange=Salva la modifica
+TypeNewPassword=(digita una nuova password due volte per cambiarla)
+Search=Cerca
+All=Tutto
+UsersFoundFor=utenti trovati per
+Pages=pagine
+UsersShown=utenti mostrati
+Delete=Cancella
+Edit=Modifica
+Ok=Ok
+Cancel=Cancella
+AreYouSureToDeleteUser=Sei sicuro di voler cancellare l' utente?
+UserDeleted=Utente cancellato con successo
+ReturnToMemberList=Ritorna alla lista dei membri
+Avatar=Identita'
+AdminFunctions=Funzioni di amministrazione
+URL=URL
+UpdateUser=Aggiorna l'utente
+UserID=User ID
+ForChanges=(Solo per le modifiche)
+MemberList=Lista dei membri
+SearchTip=Consiglio: scegli una lettera, visualizza tutto o cerca un utente se conosci lo username  
+
+ThemeText1=Quest'opzione cambiera' il look all'intero sito.
+ThemeText2=Le modifiche saranno valide solo per te.
+ThemeText3=Ogni utente puo' vedere il sito con un tema differente.
+SelectTheme=Seleziona un tema
+ThemeSelection=Selezione del tema
+
+CannotLogin=Non posso procedere con la login
+
+LoginInvalidName=il nome utente non e' valido
+LoginNoSuchUser=il nome utente non esiste
+LoginBadPassword=la tua password non e' corretta
+LoginUnexpectedError=errore inaspettato
+LoginUserDisabled=il tuo account e' stato bloccato. Per favore contatta l'amministratore.
+
+Enable=Attiva
+Disable=Disattiva
+StatusChanged=Lo stato dell'utente e' stato modificato con successo
+
+NotAuth=Non sei autorizzato ad eseguire quest\'operazione
+
+
+REMEMBERME=Ricordami
+LOGIN=Login
+USERNAME=Username
+PASSWORD=Password
+USERLOGIN=Login utente
+
+OPTIONAL=Opzionale
+REQUIRED=Obbligatorio
+
+255MAX=(Firma di massimo 255 caratteri)
+
+NAMENOTAVAILABLE=N/A
+
+MODIFIED_PROFILE=Il tuo profilo e' stato modificato, il portale lavorera' con il vecchio profilo finche' non ti ricolleghi.
+
+# Registration
+REGISTER_NOT_LOGGED_IN=Non sei al momento loggato.
+REGISTER_REGISTER=Puoi creare un account
+REGISTER_REGISTER_LINK=Creane uno
+REGISTER_REGISTER_ADMIN_LINK=Crea un account
+REGISTER_TY=Grazie per la registrazione.
+REGISTER_BASICINFO=Informazioni base sull'utente
+REGISTER_IM=Identita' del messaggio istantaneo
+REGISTER_ADDITIONAL=Informazioni sull'utente opzionali e aggiuntive
+REGISTER_NEWUSER=Registrazione nuovo utente
+REGISTER_PASSWORDAGAIN=Conferma la tua password
+REGISTER_REALEMAIL=e-mail principale
+REGISTER_EMAILNOTPUBLIC=(Questa e-mail non sara' pubblica ma e' richiesta.  Sara' usata per inviarti la password nel caso la perdessi)
+REGISTER_FAKEEMAIL=e-mail secondaria
+REGISTER_EMAILPUBLIC=(Questa e-mail sara' pubblica. Scrivi quello che vuoi. A prova di spam)
+REGISTER_FAKEEMAIL_EXPLAIN=Se questo campo non e' vuoto, l'e-mail principale sara' usata solo per mandare notifiche
+REGISTER_QUESTION=Domanda segreta
+REGISTER_ANSWER=Risposta segreta
+REGISTER_ASREGUSER=Come utente registrato puoi:
+REGISTER_ASREG6=Seleziona differenti temi
+REGISTER_ASREG5=Personalizza i commenti
+REGISTER_ASREG4=Seleziona quanti nuovi oggetti mostrare sulla homepage
+REGISTER_ASREG3=Ottieni un box personale sulla homepage
+REGISTER_ASREG2=Manda news con il tuo username
+REGISTER_ASREG1=Rispondi ai commenti con il tuo username
+REGISTER_REGISTERNOW=Registrati ora! E' gratis!
+REGISTER_WEDONTGIVE=Non vogliamo dare agli altri le tue informazioni personali.
+REGISTER_ALREADYHAVEACCOUNT=Hai gia' un account:
+REGISTER_SIGNIN=Registrati
+REGISTER_GIVENNAME=Nome
+REGISTER_FAMILYNAME=Cognome
+REGISTER_PERSONALINFO=Informazione personale
+REGISTER_VIEWREALEMAIL=Permetti agli altri utenti di vedere il mio indirizzo di posta
+REGISTER_HOMEPAGE=Indirizzo del tuo sito personale
+REGISTER_TIMEZONEOFFSET=Fuso orario
+REGISTER_THEME=Tema
+REGISTER_DEFAULT_THEME=Sito di default
+REGISTER_ICQ=Id ICQ
+REGISTER_AIM=Id AIM
+REGISTER_YIM=Id Yahoo
+REGISTER_MSNM=Id MSN messenger
+REGISTER_SKYPE=Id Skype
+REGISTER_LOCATION=Localita'
+REGISTER_LANGUAGE=Lingua preferita
+REGISTER_OCCUPATION=Occupazione
+REGISTER_INTERESTS=Interessi
+REGISTER_SIGNATURE=Firma
+REGISTER_EXTRAINFO=Informazioni extra
+REGISTER_CANKNOWABOUT=(massimo 255 caratteri. Scrivi quello che vuoi che gli altri sappiano di te)
+REGISTER_SAVECHANGES=Salva le modifiche
+REGISTER_CONFIRMATIONEMAIL=E-mail di conferma
+
+REGISTER_SHOWMENU=Torna al menu utenti
+
+REGISTER_ERROR_INVALIDUSERNAME=Il nome utente non e' valido
+REGISTER_ERROR_EXISTINGUSERNAME=Questo nome utente e' gia' stato preso
+REGISTER_ERROR_INVALIDPASSWORD1=La password non e' valida
+REGISTER_ERROR_INVALIDPASSWORD2=La password non e' valida
+REGISTER_ERROR_PASSWORDMISMATCH=La password non corrisponde
+REGISTER_ERROR_INVALIDREALEMAIL=L'indirizzo di posta non e' valido
+
+REGISTER_CONFIRM=L'utente e' stato creato con successo.
+REGISTER_ADMIN_SEARCH=Visualizza/edita gli utenti
+
+
+MENU_LOGOUT=Logout
+MENU_EDITPROFILE=Modifica il tuo profilo
+MENU_LISTUSERS=Lista di tutti gli utenti
+
+LIST_FILTERS=Applica i filtri alla lista
+LIST_USERSPERPAGE=Utenti per pagina
+LIST_USERNAMECONTAINS=Contiene lo username
+LIST_FULLNAME=Nome per intero
+LIST_USERNAME=Nome utente
+LIST_FIRSTNAME=Nome
+LIST_LASTNAME=Cognome
+LIST_ROLES=Ruoli
+LIST_ACTIONS=Azioni
+LIST_ACTIONSSHOWPROFILE=Profilo
+LIST_ACTIONADDROLESTOUSER=Ruoli
+LIST_ACTIONEDITROLES=Modifica i ruoli
+LIST_ACTIONDELETEUSER=Cancella l'utente
+LIST_CONFIRMDELETEUSER=Stai per cancellare un utente
+LIST_SEARCHRESULTS=Cerca i risultati per
+LIST_MATCHING=Utenti trovati
+FILTER=Filtro
+
+NEXTPAGE=Prossima pagina
+PREVIOUSPAGE=Pagina precedente
+
+ASSIGNROLES=Assegna i ruoli
+ROLESAVAILABLE=Ruoli attivi
+EDITROLESFORUSER=Modifica i ruoli per l'utente
+
+
+ROLE_THEREARE=Ci sono
+ROLE_THEREIS=C'e'
+ROLE_ROLESDEFINED=ruoli definiti
+ROLE_ROLEDEFINED=ruolo definito
+
+ROLE_NAME=Nome del nuovo ruolo
+ROLE_DISPLAYNAME=Nome visualizzabile del ruolo
+ROLE_NEWDISPLAYNAME=Nuovo nome visualizzato del ruolo
+ROLE_SELECTONETOMODIFY= Seleziona il ruolo da modificare
+ROLE_SELECTONETODELETE= Seleziona il ruolo da cancellare
+ROLE_CREATE=Crea un nuovo ruolo utente
+ROLE_UPDATE=Aggiorna il ruolo utente
+ROLE_EDIT=Modifica il ruolo utente
+ROLE_DELETE=Cancella il ruolo selezionato
+ROLE_CONFIRM_DELETE=Stai per cancellare un ruolo
+ROLE_DELETED=Il ruolo e'stato cancellato
+ROLE_EDIT_MEMBERS=Modifica il ruolo dei membri
+ROLE_MAINLIST=Torna alla modifica del ruolo
+ROLE_EDIT_USER=Modifica i ruoli degli utenti
+
+ROLE_ERROR_DISPLAYNAMEALREADYEXISTS=Esiste gia' un ruolo con quel nome visualizzabile
+ROLE_ERROR_NAMEALREADYEXISTS=Esiste gia' un ruolo con quel nome
+ROLE_ERROR_NAMEEMPTY=Il nome del ruolo non puo' essere vuoto
+ROLE_ERROR_DISPLAYNAMEEMPTY=Il nome visualizzabile del ruolo non puo' essere vuoto
+ROLE_ERROR_DELETE_FAILED=Non si puo' cancellare il ruolo
+
+MENU_CREATEROLE=Crea un nuovo ruolo
+MENU_EDITROLE=Modifica il ruolo esistente
+MENU_EDITROLEMEMBERS=Modifica i membri del ruolo
+
+ROLE_TEXT_1=Usa questa portlet per creare,editare,cancellare e aggiungere i ruoli agli utenti.
+ROLE_TEXT_2=Questi ruoli sono usati nella portlet di gestione per configurare i permessi.
+
+PERMISSION_PICKPORTLET=Amministrazione dei permessi per le portlet
+PERMISSION_PERMISSIONS=Permessi di modifica
+PERMISSION_TOP=Seleziona un componente da modificare
+PERMISSION_FINERGRAIN=Seleziona un sotto componente per definire i suoi permessi
+PERMISSION_MODIFYROLES=Aggiungi/Rimuovi ruoli
+PERMISSION_MODIFYINGROLES=Modifica i ruoli per
+PERMISSION_DOMAIN=Dominio
+PERMISSION_DOMAIN_MOD=Modifica Dominio
+PERMISSION_DEFINEDROLES=Ruoli definiti
+PERMISSION_IMPLIEDROLES=Ruoli impliciti
+ 
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_pt_BR.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_pt_BR.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/Resource_pt_BR.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,294 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+_ASREGISTERED=Ainda n�o possu� uma conta? Voc� pode <a href\="">criar uma</a>.
+_BLOCKNICKNAME=Usu�rio
+_BLOCKPASSWORD=Senha
+
+MessageOrder=Ordem
+Ascending=Crescente
+Descending=Decrescente
+
+AIM=AIM
+ICQ=ICQ
+YIM=YIM
+MSNM=MSN
+
+YourAIM=AIM
+YourICQ=ICQ
+YourYIM=YIM
+YourMSNM=MSN
+
+MyEmail=Meu e-mail
+MyHomePage=Minha homepage
+
+Question=Pergunta secreta
+Answer=Resposta secreta
+Location=Localidade
+Occupation=Profiss�o
+Interests=Interesses
+ExtraInfo=Informa��o Extra
+YourLocation=Sua localidade
+YourOccupation=Sua profiss�o
+YourInterests=Seus interesses
+Signature=Assinatura
+
+LoginSite=Entrar.
+Register=Registrar.
+
+UserExist=Usu�rio j� existe
+ToChangeInfo=para mudar seus dados
+EmailVerify=Endere�o de ativa��o enviado! Verifique seu email e clique no link de ativa��o para ativar sua conta.
+AccountActivated=Conta ativada com sucesso!
+UnableActivate=N�o foi possivel v�lidar usu�rio.
+LoggingYou=Entrando, aguarde\!
+YouAreLoggedOut=Voc� n�o est� deslogado\!
+PassDifferent=As senhas s�o diferentes. Devem ser id�nticas.
+YourPassMustBe=Desculpe, sua senha deve ter pelo menos
+CharLong=d�gitos
+UserNotExist=Usu�rio n�o encontrado\!
+UserRegLogin=User registration/login
+SelectOption=Selecione uma op��o do menu abaixo\:
+RetrievePass=Recuperar senha.
+RegNewUser=New user registration
+PasswordAgain=Confirme sua senha
+Email=E-mail
+Options=Op��es
+AllowEmailView=Permitir outros usu�rios visualizarem meu endere�o e-mail
+AsRegUser=Como usu�rio registrado voc� pode\:
+AsReg6=Selecionar temas diferentes
+AsReg5=Personalizar os coment�rios
+AsReg4=Seleciona quantos items devem ser mostrados na p�gina principal
+AsReg3=
+AsReg2=Enviar not�cias com seu nome de usu�rio
+AsReg1=Postar coment�rios com seu nome de usu�rio
+RegisterNow=Registre agora\! � de gra�a\!
+WeDontGive=N�s n�o vendemos/distribu�mos suas informa��es pessoais.
+WelcomeTo=Bem-vido �
+Registration=�rea de registro.
+
+Over13_1=Eu sou
+Over13_2=de maior ou tenho consentimento de respons�veis
+MustBe_1=Voc� deve ser
+MustBe_2=de maior, ou permiss�o de respons�veis para me registrar aqui.
+Consent_1=(Ao clicar no link acima voc� garante que voc� �<br>
+Consent_2=de maior, ou possu� permiss�o de respons�veis para se registrar.)
+Under13_1=Eu sou de menor
+Under13_2=e n�o tenho permiss�o de respons�veis.
+
+Sorry=Desculpe.
+Click=Por favor, clique
+Here=aqui
+Return=para retornar � p�gina principal.
+UserName=Usu�rio
+GoBack=Voltar
+Finish=Terminar
+PersonalInfo=Informa��o Pessoal
+RealName=Nome Real
+Optional=(opcional)
+CanKnowAbout=(255 letras no m�x. Digite o que voc� gostaria que os outros soubessem sobre voc�)
+Language=L�ngua
+255CharMax=(255 letras no m�x. Digite sua assinatura com c�digos HMTL)
+YourAvatar=Seu avatar
+YourHomePage=Seu website
+TimeZoneOffset=Fuso hor�rio
+EmailNotPublic=(Esse email n�o ser� mostrado, mas � necess�rio. Ser� usado para enviar sua senha em caso de perda.)
+EmailPublic=(Esse email ser� mostrado. Entre o que desejar.)
+RealEmail=E-mail real
+FakeEmail=E-mail falso
+Required=(necess�rio)
+NewUser=Novo usu�rio
+SaveChanges=Salvar Mudan�as
+SaveChange=Salvar Mudan�a
+TypeNewPassword=(digite uma senha nova duas vezes para alter�-la)
+Search=Procurar
+All=Todos
+UsersFoundFor=usu�rios encontrados para
+Pages=p�ginas
+UsersShown=usu�rios mostrados
+Delete=Remover
+Edit=Editar
+Ok=Ok
+Cancel=Cancelar
+AreYouSureToDeleteUser=Voc� tem certeza que deseja remover o usu�rio?
+UserDeleted=Usu�rio removido
+ReturnToMemberList=Voltar � lista de usu�rios
+Avatar=Avatar
+AdminFunctions=Opera��es Admin
+URL=URL
+UpdateUser=Atualizar usu�rio
+UserID=ID do Usu�rio
+ForChanges=(Para altera��es apenas)
+MemberList=Lista de membros
+SearchTip=Dica: escolha uma letra, mostre todos ou procure por um usu�rio se voc� sabe seu nome.
+
+ThemeText1=Essa op��o vai alterar o visual de todo o site.
+ThemeText2=Essas mudan�as ser�o v�lidas apenas para voc�.
+ThemeText3=Cada usu�rio pode ver o site com um tema diferente.
+SelectTheme=Selecione um tema
+ThemeSelection=Sele��o de Tema
+
+CannotLogin=N�o foi poss�vel efetuar o login
+
+LoginInvalidName=o nome do usu�rio n�o � v�lido
+LoginNoSuchUser=o nome do usu�rio n�o existe
+LoginBadPassword=sua senha n�o est� correta
+LoginUnexpectedError=unexpected error
+LoginUserDisabled=sua conta foi bloqueada. Favor entrar em contato com o administrador.
+
+Enable=Habilitar
+Disable=Desabilitar
+StatusChanged=O estatus do usu�rio foi alterado com sucesso
+
+NotAuth=Voc� n�o tem permiss�o para realizar essa opera��o
+
+# Used by JBoss Portal
+
+REMEMBERME=Lembre-me
+LOGIN=Login
+USERNAME=Usu�rio
+PASSWORD=Senha
+USERLOGIN=Login de Usu�rio
+
+OPTIONAL=Opcional
+REQUIRED=Requerido
+
+255MAX=(M�ximo de 255 caracteres)
+
+NAMENOTAVAILABLE=N/A
+
+#Registration
+REGISTER_REGISTER=N�o possu� conta ainda? Voc� pode
+REGISTER_REGISTER_LINK=criar uma\!
+REGISTER_NEWUSER=Registro de novo usu�rio
+REGISTER_PASSWORDAGAIN=Confirme sua senha
+REGISTER_REALEMAIL=E-mail real
+REGISTER_EMAILNOTPUBLIC=(Esse email n�o ser� mostrado, mas � necess�rio. Ser� usado para enviar sua senha em caso de perda.)
+REGISTER_FAKEEMAIL=E-mail falso
+REGISTER_EMAILPUBLIC=(Esse email ser� mostrado. Entre o que desejar.)
+REGISTER_FAKEEMAIL_EXPLAIN=Se este campo n�o estiver vazio, o email real ser� utilizado apenas para enviar notifica��es
+REGISTER_QUESTION=Pergunta secreta
+REGISTER_ANSWER=Resposta secreta
+REGISTER_ASREGUSER=Como usu�rio registrado voc� pode:
+REGISTER_ASREG6=Selecione temas diferentes
+REGISTER_ASREG5=Personalizar os coment�rios
+REGISTER_ASREG4=Selecionar quantos items ser�o mostrados na p�gina inicial
+REGISTER_ASREG3=Possuir uma janela pessoal na p�gina inicial
+REGISTER_ASREG2=Enviar not�cias com o seu nome
+REGISTER_ASREG1=Postar coment�rios com o seu nome
+REGISTER_REGISTERNOW=Registre agora, � gr�tis!
+REGISTER_WEDONTGIVE=N�s n�o vendemos/distribuimos suas informa��es pessoais.
+REGISTER_ALREADYHAVEACCOUNT=Se voce j� possu� uma conta:
+REGISTER_SIGNIN=Entrar
+REGISTER_GIVENNAME=Primeiro nome
+REGISTER_FAMILYNAME=�ltimo nome
+REGISTER_PERSONALINFO=Informa��es Pessoais
+REGISTER_VIEWREALEMAIL=Permitir que outros usu�rios vejam meu email verdadeiro
+REGISTER_HOMEPAGE=Endere�o de seu site pessoal
+REGISTER_TIMEZONEOFFSET=Fuso hor�rio
+REGISTER_ICQ=ICQ
+REGISTER_AIM=AIM
+REGISTER_YIM=Yahoo
+REGISTER_MSNM=MSN
+REGISTER_SKYPE=Skype
+REGISTER_LOCATION=Localidade
+REGISTER_LANGUAGE=L�ngua preferida
+REGISTER_OCCUPATION=Trabalho
+REGISTER_INTERESTS=Interesses
+REGISTER_SIGNATURE=Assinatura
+REGISTER_EXTRAINFO=Informa��es extras
+REGISTER_CANKNOWABOUT=(255 letras no m�x. Digite o que voc� gostaria que os outros soubessem sobre voc�)
+REGISTER_SAVECHANGES=Salvar atualiza��es
+REGISTER_CONFIRMATIONEMAIL=Email de confirma��o
+
+REGISTER_SHOWMENU=Voltar ao menu de usu�rio
+
+REGISTER_ERROR_INVALIDUSERNAME=Usu�rio inv�lido
+REGISTER_ERROR_EXISTINGUSERNAME=Esse usu�rio j� est� em uso
+REGISTER_ERROR_INVALIDPASSWORD1=Senha inv�lida
+REGISTER_ERROR_INVALIDPASSWORD2=Senha inv�lida
+REGISTER_ERROR_PASSWORDMISMATCH=Senhas n�o conferem
+REGISTER_ERROR_INVALIDREALEMAIL=Email inv�lido
+
+
+MENU_LOGOUT=Sair
+MENU_EDITPROFILE=Editar seu perfil
+MENU_LISTUSERS=Listar todos os usu�rios
+
+LIST_FILTERS=Aplicar filtro
+LIST_USERSPERPAGE=Usu�rios por p�gina
+LIST_USERNAMECONTAINS=Nome cont�m
+LIST_FULLNAME=Nome completo
+LIST_USERNAME=Usu�rio
+LIST_ROLES=Grupos
+LIST_ACTIONS=A��es
+LIST_ACTIONSSHOWPROFILE=Perfil
+LIST_ACTIONADDROLESTOUSER=Grupos
+LIST_ACTIONEDITROLES=Editar Grupos
+FILTER=Filtro
+
+NEXTPAGE=Pr�xima p�gina
+PREVIOUSPAGE=P�gina anterior
+
+ASSIGNROLES=Atribuir grupo
+ROLESAVAILABLE=Grupos dispon�veis
+EDITROLESFORUSER=Editar grupos do usu�rio
+
+
+ROLE_THEREARE=Existem
+ROLE_THEREIS=Existe
+ROLE_ROLESDEFINED=grupos definidos
+ROLE_ROLEDEFINED=grupo definido
+
+ROLE_NAME=Nome do novo grupo
+ROLE_DISPLAYNAME=Nome vis�vel do grupo
+ROLE_NEWDISPLAYNAME=Novo nome vis�vel do grupo
+ROLE_SELECTONETOMODIFY= Selecione o grupo para alterar
+ROLE_SELECTONETODELETE= Selecione o grupo para remover
+ROLE_CREATE=Criar grupo
+ROLE_UPDATE=Atualizar grupo
+ROLE_EDIT=Editar grupo
+ROLE_DELETE=Remover grupo selecionado
+ROLE_DELETED=O grupo foi removido
+ROLE_EDIT_MEMBERS=Editar membros do grupo
+ROLE_MAINLIST=Voltar
+
+ROLE_ERROR_DISPLAYNAMEALREADYEXISTS=J� existe um grupo com esse nome (vis�vel)
+ROLE_ERROR_NAMEALREADYEXISTS=J� existe um grupo com esse nome
+ROLE_ERROR_NAMEEMPTY=O nome n�o pode ser vazio
+ROLE_ERROR_DISPLAYNAMEEMPTY=O nome vis�vel nao pode ser vazio
+ROLE_ERROR_DELETE_FAILED=N�o � poss�vel remover o grupo
+ROLE_EDIT_USER=Editando usu�rios do grupo
+
+MENU_CREATEROLE=Criar novo grupo
+MENU_EDITROLE=Editar grupo
+MENU_EDITROLEMEMBERS=Editar membros do grupo
+
+PERMISSION_PICKPORTLET=Administra��o de Permiss�es de Portlet
+PERMISSION_PERMISSIONS=Permiss�es para modificar
+PERMISSION_TOP=Selecione um Componente para Modificar
+PERMISSION_FINERGRAIN=Selecione um sub-componente para definir suar permiss�es
+PERMISSION_MODIFYROLES=Adicionar/Remover roles
+PERMISSION_MODIFYINGROLES=Modificando roles para
+PERMISSION_DOMAIN=Dominio
+PERMISSION_DOMAIN_MOD=Modificar Dominio
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/nodesk/Modes.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/nodesk/Modes.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/nodesk/Modes.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,10 @@
+edit.0=/nodesk/images/portlet_left_top/edit.gif
+view.0=/nodesk/images/portlet_left_top/view.gif
+help.0=/nodesk/images/portlet_left_top/help.gif
+edit.1=/nodesk/images/portlet_middle_top/edit.gif
+view.1=/nodesk/images/portlet_middle_top/view.gif
+help.1=/nodesk/images/portlet_middle_top/help.gif
+edit.2=/nodesk/images/portlet_right_top/edit.gif
+view.2=/nodesk/images/portlet_right_top/view.gif
+help.2=/nodesk/images/portlet_right_top/help.gif
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/nodesk/WindowStates.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/nodesk/WindowStates.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/nodesk/WindowStates.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,9 @@
+normal.0=/nodesk/images/portlet_left_top/normal.gif
+minimized.0=/nodesk/images/portlet_left_top/minimize.gif
+maximized.0=/nodesk/images/portlet_left_top/maximize.gif
+normal.1=/nodesk/images/portlet_middle_top/normal.gif
+minimized.1=/nodesk/images/portlet_middle_top/minimize.gif
+maximized.1=/nodesk/images/portlet_middle_top/maximize.gif
+normal.2=/nodesk/images/portlet_right_top/normal.gif
+minimized.2=/nodesk/images/portlet_right_top/minimize.gif
+maximized.2=/nodesk/images/portlet_right_top/maximize.gif

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/phalanx/Modes.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/phalanx/Modes.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/phalanx/Modes.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+edit=/phalanx/images/edit.gif
+view=/phalanx/images/view.gif
+help=/phalanx/images/help.gif

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/phalanx/WindowStates.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/phalanx/WindowStates.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/phalanx/WindowStates.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,3 @@
+normal=/phalanx/images/normal.gif
+minimized=/phalanx/images/minimize.gif
+maximized=/phalanx/images/maximize.gif

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/templates/user/emailTemplate.tpl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/templates/user/emailTemplate.tpl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/templates/user/emailTemplate.tpl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+Hello,
+
+you tried to create an account on ${emailDomain} 
+
+The user information are written here for your convenience:
+Username: ${username}
+Password: ${password}
+
+At this time, your account is not activated and you will need to access the following URL to be able to login.
+${activationLink}
+
+If you didn't ask to create an account, we apologize and no further action is required.
+
+Best regards,
+${emailDomain}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/templates/user/emailTemplate_fr.tpl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/templates/user/emailTemplate_fr.tpl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/classes/templates/user/emailTemplate_fr.tpl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+Bonjour
+
+vous avez créé un compte sur ${emailDomain} 
+
+Voici les informations de connexion relatives a ce compte:
+Identifiant: ${username}
+Mot de passe: ${password}
+
+Votre compte n'est pas actif pour le moment et vous devez vous rendre à l'adresse suivante pour l'activer.
+${activationLink}
+
+Si vous n'avez pas créé de compte, nous vous prions de bien vouloir nous excuser et vous pouvez simplement ignorer cet email.
+
+Cordialement,
+${emailDomain}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-app.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-app.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-app.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<jboss-app>
+   <app-name>portal</app-name>
+</jboss-app>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,129 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE portlet-app PUBLIC
+   "-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
+   "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd">
+
+<portlet-app>
+   <portlet>
+      <portlet-name>UserPortlet</portlet-name>
+      <transaction>
+         <trans-attribute>Required</trans-attribute>
+      </transaction>
+   </portlet>
+   <portlet>
+      <portlet-name>RolePortlet</portlet-name>
+      <transaction>
+         <trans-attribute>Required</trans-attribute>
+      </transaction>
+      <header-content>
+         <script type="text/javascript" language="javascript">
+            function hideShow(id)
+            {
+            var navpoint = document.getElementById(id);
+            if (navpoint.className == 'hidden') {
+            navpoint.className = 'shown';
+            } else {
+            navpoint.className = 'hidden';
+            }
+            }
+         </script>
+      </header-content>
+   </portlet>
+
+   <portlet>
+      <portlet-name>CatalogPortlet</portlet-name>
+      <transaction>
+         <trans-attribute>Required</trans-attribute>
+      </transaction>
+   </portlet>
+   <portlet>
+      <portlet-name>PortletContentEditorPortlet</portlet-name>
+      <transaction>
+         <trans-attribute>RequiresNew</trans-attribute>
+      </transaction>
+   </portlet>
+
+   <!-- Service injected in the portlet context. -->
+   <service>
+      <service-name>PortalObjectContainer</service-name>
+      <service-class>org.jboss.portal.core.model.portal.PortalObjectContainer</service-class>
+      <service-ref>:container=PortalObject</service-ref>
+   </service>
+   <service>
+      <service-name>InstanceContainer</service-name>
+      <service-class>org.jboss.portal.core.model.instance.InstanceContainer</service-class>
+      <service-ref>:container=Instance</service-ref>
+   </service>
+   <service>
+      <service-name>ThemeService</service-name>
+      <service-class>org.jboss.portal.theme.ThemeService</service-class>
+      <service-ref>:service=ThemeService</service-ref>
+   </service>
+   <service>
+      <service-name>LayoutService</service-name>
+      <service-class>org.jboss.portal.theme.LayoutService</service-class>
+      <service-ref>:service=LayoutService</service-ref>
+   </service>
+   <service>
+      <service-name>UserModule</service-name>
+      <service-class>org.jboss.portal.identity.UserModule</service-class>
+      <service-ref>:service=Module,type=User</service-ref>
+   </service>
+   <service>
+      <service-name>RoleModule</service-name>
+      <service-class>org.jboss.portal.identity.RoleModule</service-class>
+      <service-ref>:service=Module,type=Role</service-ref>
+   </service>
+   <service>
+      <service-name>UserProfileModule</service-name>
+      <service-class>org.jboss.portal.identity.UserProfileModule</service-class>
+      <service-ref>:service=Module,type=UserProfile</service-ref>
+   </service>
+   <service>
+      <service-name>MembershipModule</service-name>
+      <service-class>org.jboss.portal.identity.MembershipModule</service-class>
+      <service-ref>:service=Module,type=Membership</service-ref>
+   </service>
+   <service>
+      <service-name>MailModule</service-name>
+      <service-class>org.jboss.portal.core.modules.MailModule</service-class>
+      <service-ref>:service=Module,type=Mail</service-ref>
+   </service>
+   <service>
+      <service-name>PortalAuthorizationManagerFactory</service-name>
+      <service-class>org.jboss.portal.security.spi.auth.PortalAuthorizationManagerFactory</service-class>
+      <service-ref>:service=PortalAuthorizationManagerFactory</service-ref>
+   </service>
+   <service>
+      <service-name>AuthorizationDomainRegistry</service-name>
+      <service-class>org.jboss.portal.security.AuthorizationDomainRegistry</service-class>
+      <service-ref>:service=AuthorizationDomainRegistry</service-ref>
+   </service>
+   <service>
+      <service-name>FederatingPortletInvoker</service-name>
+      <service-class>org.jboss.portal.portlet.federation.FederatingPortletInvoker</service-class>
+      <service-ref>:service=PortletInvoker,type=Federating</service-ref>
+   </service>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<jboss-web>
+</jboss-web>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/catalog/index.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/catalog/index.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/catalog/index.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,76 @@
+<%@ page import="org.jboss.portal.api.node.PortalNode" %>
+<%@ page import="org.jboss.portal.api.node.PortalNodeURL" %>
+<%@ page import="java.util.HashMap" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<portlet:defineObjects/>
+
+<%
+   String contextPath = request.getContextPath();
+   String parent = (String) request.getAttribute("parentNode");
+   HashMap parents = (HashMap) request.getAttribute("parents");
+   HashMap parentChildMap = (HashMap) request.getAttribute("pchild");
+   HashMap parentSiblingMap = (HashMap) request.getAttribute("psib");
+%>
+<style>
+
+   <!--
+   .foldinglist {
+      list-style-position: outside;
+      margin-left: 10px;
+      padding: 3px 0 3px 0px;
+      vertical-align: top;
+      list-style-image: url( <%= contextPath %>/images/catalog/bullet.gif )
+   }
+
+   .pagenosub {
+      margin-left: - 20px;
+      list-style-image: url( <%= contextPath %>/images/catalog/bullet.gif )
+   }
+
+   /
+   /
+   -->
+</style>
+
+<%
+String output = new String();
+for (Iterator i = parents.keySet().iterator(); i.hasNext();)
+{
+    String name = (String) i.next();
+	PortalNodeURL nodeURL = (PortalNodeURL) parents.get(name);
+    output = "<a href=\"" + nodeURL.toString() + "\">" + name + "</a> &gt; " + output;
+} 
+output += parent;
+%>
+
+<div class="portlet-form-field-label"><%= output %></div>
+
+<ul id="foldinglist">
+   <li class="pagenosub">
+      <div class="portlet-form-field-label"><%= parent %></div>
+   </li>
+   <%
+      for(Iterator i = parentChildMap.keySet().iterator(); i.hasNext();)
+      {
+         String childName = (String) i.next();
+         PortalNodeURL childURL = (PortalNodeURL) parentChildMap.get(childName);
+   %>
+   <li class="foldinglist"><div class="portlet-form-field-label"><a
+         href="<%= childURL.toString() %>"><%= childName %></a></div></li>
+   <%
+      }
+
+      for(Iterator j = parentSiblingMap.keySet().iterator(); j.hasNext();)
+      {
+         String siblingName = (String) j.next();
+         PortalNodeURL siblingURL = (PortalNodeURL) parentSiblingMap.get(siblingName);
+   %>
+   <li class="pagenosub">
+      <div class="portlet-form-field-label"><a href="<%= siblingURL.toString() %>"><%= siblingName %></a></div></li>
+   <%
+      }
+   %>
+</ul>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/catalog/sitemap.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/catalog/sitemap.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/catalog/sitemap.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,106 @@
+<%@ page import="org.jboss.portlet.JBossRenderResponse" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="org.jboss.portal.api.node.PortalNode"%>
+<%@ page import="org.jboss.portal.api.node.PortalNodeURL"%>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<portlet:defineObjects/>
+
+<%
+   String contextPath = request.getContextPath();
+   PortalNode parent = (PortalNode) request.getAttribute("parentNode");
+   JBossRenderResponse jresponse = (JBossRenderResponse) renderResponse;
+%>
+<style>
+
+   <!--
+   #foldheader {
+      margin-left: - 10px;
+      padding: 0px 0px 0px 0px;
+      cursor: pointer;
+      cursor: hand;
+      list-style-image: url( <%= contextPath %> /images/catalog/bullet.gif );
+   }
+
+   #foldinglist {
+      cursor: pointer;
+      cursor: hand;
+      list-style-position: outside;
+      margin-left: 0px;
+      padding: 0px 0px 0px 0px;
+      vertical-align: top;
+      list-style-image: url( <%= contextPath %> /images/catalog/T.gif )
+   }
+
+   #pagenosub {
+      margin-left: - 10px;
+      list-style-image: url( <%= contextPath %> /images/catalog/bullet.gif )
+   }
+
+   /
+   /
+   -->
+</style>
+
+<table cellspacing="2" cellpadding="5" border="0">
+   <%
+      int colCount = 4;
+      PortalNode rootNode = parent.getRoot();
+      for(Iterator i = rootNode.getChildren().iterator(); i.hasNext();)
+      {
+         if(colCount % 4 == 0) // create new row every 4 columns
+         {
+   %>
+   <tr>
+      <%
+         }
+         PortalNode parentSibling = (PortalNode) i.next();
+         for(Iterator j = parentSibling.getChildren().iterator(); j.hasNext();)
+         {
+            PortalNode child = (PortalNode) j.next();
+            if(child.getType() == PortalNode.TYPE_PAGE)
+            {
+               colCount++;
+               PortalNodeURL childURL = jresponse.createRenderURL(child);
+      %>
+      <td valign="top" class="portlet-section-body">
+      <table width="100%" cellpadding="0" cellspacing="0">
+         <tr>
+            <td colspan="2">
+               <a href="<%= childURL %>"><b><%= child.getName() %></b></a>
+            </td>
+         </tr>
+
+         <%
+            for(Iterator k = child.getChildren().iterator(); k.hasNext();)
+            {
+               PortalNode subChild = (PortalNode) k.next();
+               if(subChild.getType() == PortalNode.TYPE_PAGE)
+               {
+                  // child page
+                  PortalNodeURL subchildURL = jresponse.createRenderURL(subChild);
+         %>
+         <tr>
+            <td><img src="<%= contextPath %>/images/catalog/T.gif"/></td>
+            <td><a href="<%= subchildURL %>"><%= subChild.getName() %></a></td>
+         </tr>
+         <%
+               }
+            }// for children
+         %>
+         <%
+            }
+         %>
+      </table>
+      <%
+         } // for parents
+         if(colCount % 3 == 0)
+         {
+      %>
+   </tr>
+   <%
+         }
+      }
+   %>
+</table>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/content/portlet_editor.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/content/portlet_editor.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/content/portlet_editor.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,95 @@
+<%@ page import="org.jboss.portal.common.util.IteratorStatus" %>
+<%@ page import="org.jboss.portal.core.model.instance.Instance" %>
+<%@ page import="org.jboss.portal.portlet.Portlet" %>
+<%@ page import="org.jboss.portal.portlet.PortletInvokerException" %>
+<%@ page import="org.jboss.portal.portlet.info.MetaInfo" %>
+<%@ page import="java.util.Collection" %>
+<%@ page language="java" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+
+<%
+   Collection instances = (Collection)request.getAttribute("INSTANCES");
+   Instance selectedInstance = (Instance)request.getAttribute("SELECTED_INSTANCE");
+%>
+
+<span class="portlet-font">Portlet instance associated to this window:</span>
+
+<div style="height:300px; width:300px; overflow: auto; overflow-x: hidden; border: 1px solid #333;">
+   <table style="width:100%;" cellspacing="0" cellpadding="0">
+      <%
+         for (IteratorStatus i = new IteratorStatus(instances); i.hasNext();)
+         {
+            Instance instance = (Instance)i.next();
+            String rowClass = instance == selectedInstance ? "portlet-section-selected" : (i.getIndex() % 2 == 0 ? "portlet-section-body" : "portlet-section-alternate");
+      %>
+      <portlet:actionURL var="url">
+         <portlet:param name="content.action.select" value="true"/>
+         <portlet:param name="content.uri" value="<%= instance.getId() %>"/>
+      </portlet:actionURL>
+      <tr class="<%= rowClass %>">
+         <td><a href="<%= url %>"><%= instance.getId() %>
+         </a></td>
+      </tr>
+      <%
+         }
+      %>
+   </table>
+</div>
+
+<%
+   if (selectedInstance != null)
+   {
+%>
+<div class="portlet-font">
+   <div><span class="portlet-form-field-label">Portlet instance:</span><%= selectedInstance.getId() %>
+   </div>
+   <%
+
+
+
+
+
+      Portlet portlet = null;
+      try
+      {
+         portlet = selectedInstance.getPortlet();
+      }
+      catch (PortletInvokerException e)
+      {
+         e.printStackTrace();
+      }
+      if (portlet != null)
+      {
+         MetaInfo metaInfo = portlet.getInfo().getMeta();
+
+
+
+
+
+   %>
+   <div><span
+      class="portlet-form-field-label">Portlet name:</span><%= metaInfo.getMetaValue(MetaInfo.DISPLAY_NAME).getDefaultString() %>
+   </div>
+   <div><span
+      class="portlet-form-field-label">Portlet description:</span><%= metaInfo.getMetaValue(MetaInfo.DESCRIPTION).getDefaultString() %>
+   </div>
+   <div><span
+      class="portlet-form-field-label">Portlet title:</span><%= metaInfo.getMetaValue(MetaInfo.TITLE).getDefaultString() %>
+   </div>
+   <div><span
+      class="portlet-form-field-label">Portlet keywords:</span><%= metaInfo.getMetaValue(MetaInfo.KEYWORDS).getDefaultString() %>
+   </div>
+   <%
+
+
+
+
+
+         }
+      }
+
+
+
+
+
+   %>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/error/page.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/error/page.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/error/page.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,14 @@
+<%@page import="java.lang.Throwable"%>
+<%@page import="org.jboss.portal.common.util.Exceptions"%>
+
+<h2 class="portlet-msg-error"><%= request.getAttribute("org.jboss.portal.control.ERROR_TYPE") %></h2>
+<div class="portlet-font">Cause: <%= request.getAttribute("org.jboss.portal.control.CAUSE") %></div>
+<%
+  if (request.getAttribute("org.jboss.portal.control.MESSAGE") != null)
+  {
+%>  
+<div class="portlet-font">Message: <%= request.getAttribute("org.jboss.portal.control.MESSAGE") %></div>
+<%
+  }
+%>  
+<div class="portlet-font">StackTrace: <%= Exceptions.toHTML((Throwable)request.getAttribute("org.jboss.portal.control.CAUSE")) %></div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/error/portal.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/error/portal.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/error/portal.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,14 @@
+<%@page import="java.lang.Throwable"%>
+<%@page import="org.jboss.portal.common.util.Exceptions"%>
+
+<h2 class="portlet-msg-error"><%= request.getAttribute("org.jboss.portal.control.ERROR_TYPE") %></h2>
+<div class="portlet-font">Cause: <%= request.getAttribute("org.jboss.portal.control.CAUSE") %></div>
+<%
+  if (request.getAttribute("org.jboss.portal.control.MESSAGE") != null)
+  {
+%>  
+<div class="portlet-font">Message: <%= request.getAttribute("org.jboss.portal.control.MESSAGE") %></div>
+<%
+  }
+%>  
+<div class="portlet-font">StackTrace: <%= Exceptions.toHTML((Throwable)request.getAttribute("org.jboss.portal.control.CAUSE")) %></div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/header/header.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/header/header.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/header/header.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,55 @@
+<%@ page import="org.jboss.portal.api.PortalURL" %>
+<%@ page import="org.jboss.portal.identity.User" %>
+
+<%
+   User user = (User)request.getAttribute("org.jboss.portal.header.USER");
+   PortalURL dashboardURL = (PortalURL)request.getAttribute("org.jboss.portal.header.DASHBOARD_URL");
+   PortalURL loginURL = (PortalURL)request.getAttribute("org.jboss.portal.header.LOGIN_URL");
+   PortalURL defaultPortalURL = (PortalURL)request.getAttribute("org.jboss.portal.header.DEFAULT_PORTAL_URL");
+   PortalURL adminPortalURL = (PortalURL)request.getAttribute("org.jboss.portal.header.ADMIN_PORTAL_URL");
+   PortalURL editDashboardURL = (PortalURL)request.getAttribute("org.jboss.portal.header.EDIT_DASHBOARD_URL");
+   PortalURL copyToDashboardURL = (PortalURL)request.getAttribute("org.jboss.portal.header.COPY_TO_DASHBOARD_URL");
+   PortalURL signOutURL = (PortalURL)request.getAttribute("org.jboss.portal.header.SIGN_OUT_URL");
+%>
+
+<%
+   if (user == null)
+   {
+%>
+<a href="<%= loginURL %>">Login</a>
+<%
+}
+else
+{
+%>
+Logged in as: <%= user.getUserName() %><br/><br/>
+
+<%
+   if (dashboardURL != null)
+   {
+%>&nbsp;&nbsp;<a href="<%= dashboardURL %>">Dashboard</a>&nbsp;&nbsp;|<%
+   }
+
+   if (defaultPortalURL != null)
+   {
+%>&nbsp;&nbsp;<a href="<%= defaultPortalURL %>">Portal</a>&nbsp;&nbsp;|<%
+   }
+
+   if (adminPortalURL != null)
+   {
+%>&nbsp;&nbsp;<a href="<%= adminPortalURL %>">Admin</a>&nbsp;&nbsp;|<%
+   }
+
+   if (editDashboardURL != null)
+   {
+%>&nbsp;&nbsp;<a href="<%= editDashboardURL %>">Configure dashboard</a>&nbsp;&nbsp;|<%
+   }
+
+   if (copyToDashboardURL != null)
+   {
+%>&nbsp;&nbsp;<a href="<%= copyToDashboardURL %>">Copy to my dashboard</a>&nbsp;&nbsp;|<%
+   }
+%>&nbsp;&nbsp;<a href="<%= signOutURL %>">Logout</a>
+<%
+   }
+%>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/header/tabs.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/header/tabs.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/header/tabs.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,78 @@
+<%@ page import="java.util.Iterator" %>
+<%@ page import="org.jboss.portal.api.node.PortalNode" %>
+<%@ page import="java.util.Locale" %>
+<%@ page import="java.util.ArrayList" %>
+<%@ page import="org.jboss.portal.api.PortalRuntimeContext" %>
+
+<%
+   PortalNode root = (PortalNode)request.getAttribute("org.jboss.portal.api.PORTAL_NODE");
+   PortalNode portal = root;
+   PortalNode mainPage = portal; 
+   
+   while (portal.getType() != PortalNode.TYPE_PORTAL)
+   {
+      mainPage = portal;
+      portal = portal.getParent();
+   }
+   
+   PortalRuntimeContext context = (PortalRuntimeContext)request.getAttribute("org.jboss.portal.api.PORTAL_RUNTIME_CONTEXT");
+
+   // Get a locale
+   Locale locale = request.getLocale();
+   if (locale == null)
+   {
+      locale = Locale.getDefault();
+   }
+%>
+
+<ul id="tabsHeader">
+<%
+   ArrayList tmp = new ArrayList(10);
+   Iterator childrenIt = portal.getChildren().iterator();
+   while (childrenIt.hasNext())
+   {
+      PortalNode child = (PortalNode)childrenIt.next();
+
+      // Get the list of child pages
+      tmp.clear();
+      for (Iterator i = child.getChildren().iterator();i.hasNext();)
+      {
+         PortalNode childChild = (PortalNode)i.next();
+         if (childChild.getType() == PortalNode.TYPE_PAGE)
+         {
+            tmp.add(childChild);
+         }
+      }
+%>
+  <li <% if(child == mainPage) out.println(" id=\"current\""); %> onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'"><a href="<%= child.createURL(context) %>"><%= child.getDisplayName(locale) %><%      
+      if (tmp.size() == 0)
+      {
+%></a>
+<%
+      }
+      else
+      {
+%>
+    <!--[if IE 7]><!--></a><!--<![endif]-->
+	<!--[if lte IE 6]>&nbsp;&nbsp;&nbsp;<table><tr><td><![endif]-->
+	<ul>	
+<%
+         for (Iterator j = tmp.iterator(); j.hasNext();)
+         {
+            PortalNode childChild = (PortalNode)j.next();
+%>
+             <li><a href='<%= childChild.createURL(context) %>'><%= childChild.getDisplayName(locale) %></a></li>
+<%
+         }
+%>
+    </ul>
+    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
+<%
+      }
+%>
+    </li>
+<%
+   }
+
+%>
+</ul>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/createRole.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/createRole.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/createRole.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,33 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<form name="createRole" action="<portlet:actionURL><portlet:param name="op" value="createRole"/></portlet:actionURL>"
+      method="post">
+   <table border="0" class="portlet-font" cellspacing="0" cellpadding="2">
+      <tr>
+         <td colspan="2" class="portlet-section-alternate">
+            <img border="0" src="<%= renderRequest.getContextPath() %>/images/role/role.gif" align="absmiddle"/>&nbsp;
+            ${n:i18n("ROLE_CREATE")}</td>
+      </tr>
+      <tr>
+         <td class="portlet-section-body">${n:i18n("ROLE_NAME")}:</td>
+         <td class="portlet-section-body"><input class="portlet-form-input-field" type="text" name="rolename"
+                                                 value="${param["rolename"]}" size="21" maxlength="25"> <n:error
+            key="rolename_error"/></td>
+      </tr>
+      <tr>
+         <td class="portlet-section-body">${n:i18n("ROLE_DISPLAYNAME")}:</td>
+         <td class="portlet-section-body"><input class="portlet-form-input-field" type="text" name="roledisplayname"
+                                                 value="${param["roledisplayname"]}" size="21" maxlength="25"> <n:error
+            key="roledisplayname_error"/></td>
+      </tr>
+      <tr>
+         <td colspan="2" align="center">
+            <input name="createRole" type="submit" value="${n:i18n("ROLE_CREATE")}" class="portlet-form-button">
+         </td>
+      </tr>
+   </table>
+</form>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editListRoleMembers.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editListRoleMembers.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editListRoleMembers.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,89 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<p>${n:i18n("ROLE_EDIT_USER")}: ${n:out("displayname")}</p>
+
+<hr/>
+
+<p></p>
+
+<table width="100%" border="0" cellspacing="0" class="portlet-table-body">
+   <tr>
+      <td nowrap="nowrap" class="portlet-table-header">${n:i18n("LIST_FULLNAME")}</td>
+      <td nowrap="nowrap" class="portlet-table-header">${n:i18n("LIST_USERNAME")}</td>
+      <td nowrap="nowrap" class="portlet-table-header">${n:i18n("LIST_ROLES")}</td>
+      <td nowrap="nowrap" class="portlet-table-header">${n:i18n("LIST_ACTIONS")}</td>
+   </tr>
+   <n:iterate ctx="row">
+      <tr class="portlet-section-body">
+         <td nowrap="nowrap" class="portlet-table-text">${n:out("row.fullname")}</td>
+         <td nowrap="nowrap" class="portlet-table-text">${n:out("row.username")}</td>
+         <td nowrap="nowrap" class="portlet-table-text">
+            <n:iterate ctx="roles">${n:out("row.roles.name")}<br/></n:iterate>
+         </td>
+         <td nowrap="nowrap" class="portlet-table-text"><a
+            href="${n:out("row.editURL")}">${n:i18n("LIST_ACTIONEDITROLES")}</a></td>
+      </tr>
+   </n:iterate>
+</table>
+
+<div align="center">
+   <table width="0%" border="0" cellspacing="0" cellpadding="0" class="pagination">
+      <tr>
+         <td nowrap>
+            <ul>
+               <n:if ctx="previouspage">
+                  <li class="previouspage">
+                     <a href="${n:out("previouspage.link")}">${n:i18n("PREVIOUSPAGE")}</a>
+                  </li>
+               </n:if>
+               <n:if ctx="nextpage">
+                  <li class="nextpage">
+                     <a href="${n:out("nextpage.link")}">${n:i18n("NEXTPAGE")}</a>
+                  </li>
+               </n:if>
+            </ul>
+         </td>
+      </tr>
+   </table>
+</div>
+
+<br/>
+
+<form
+   name="<portlet:namespace/>editListRoleMembers"
+   action="<portlet:actionURL><portlet:param name="op" value="showListEditRoleMembers"/></portlet:actionURL>"
+   method="post">
+   <font class="portlet-form-label">${n:i18n("MENU_EDITROLEMEMBERS")}</font><br/>
+   <input type="text" name="usernamefilter" value="${n:out("usernamefilter")}" size="15"/>
+   <select name="roleid" class="portlet-form-input-field">
+      <n:iterate ctx="rolelist">
+         <option value="${n:out("rolelist.id")}" ${n:out("rolelist.selected")}>${n:out("rolelist.displayname")}</option>
+      </n:iterate>
+   </select>
+   <select name="usersperpage">
+      <option value="10">10</option>
+      <option value="20">20</option>
+      <option value="30">30</option>
+      <option value="50">50</option>
+      <option value="75">75</option>
+      <option value="100">100</option>
+   </select>
+   <br/>
+</form>
+<p>
+<input name="Find" class="portlet-form-button" id="Save" type="submit"
+       onclick="document.forms['<portlet:namespace/>editListRoleMembers'].submit();"
+       value="${n:i18n("Search")}"/>
+&nbsp;
+<input name="Cancel" class="portlet-form-button" id="Cancel" type="submit"
+       onclick="document.forms['<portlet:namespace/>cancelEditListRoleMembers'].submit();"
+       value="${n:i18n("Cancel")}"/>
+</p>
+<form
+      name="<portlet:namespace/>cancelEditListRoleMembers"
+      action="<portlet:renderURL windowState="normal"><portlet:param name="op" value="showSummary"/></portlet:renderURL>"
+      method="post"/>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editRole.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editRole.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editRole.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,34 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<div>
+   <h6>${n:i18n("MENU_EDITROLE")}: ${n:out("editroledisplayname")}</h6>
+
+   <form name="<portlet:namespace/>editRole"
+         action="<portlet:actionURL><portlet:param name="op" value="editRole"/></portlet:actionURL>" method="post">
+      <input type="hidden" name="roleid" value="${n:out("editroleid")}"/>
+
+      <p>
+         <label class="portlet-form-label">${n:i18n("ROLE_DISPLAYNAME")}:  </label> 
+         <input name="roledisplayname" type="text" value="${param["editroledisplayname"]}" size="21" maxlength="25"/>
+         <n:error key="roledisplayname_error"/>
+      </p>
+   </form>
+   <form name="<portlet:namespace/>cancelEditRole"
+         action="<portlet:renderURL windowState="normal"><portlet:param name="op" value="showSummary"/></portlet:renderURL>" method="post">
+   </form>
+   <p>
+      <input name="Save" class="portlet-form-button" id="Save" type="submit"
+             onclick="document.forms['<portlet:namespace/>editRole'].submit();"
+             value="${n:i18n("SaveChanges")}"/>
+      &nbsp;
+      <input name="Cancel" class="portlet-form-button" id="Cancel" type="submit"
+             onclick="document.forms['<portlet:namespace/>cancelEditRole'].submit();"
+             value="${n:i18n("Cancel")}"/>
+   </p>
+</div>
+
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editRoleMembers.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editRoleMembers.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editRoleMembers.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,51 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored ="false" %> 
+<portlet:defineObjects/>
+
+<div align="center">
+<form id="editRoleMembers" action="<portlet:actionURL><portlet:param name="op" value="showListEditRoleMembers"/></portlet:actionURL>" method="post">
+   <table border="0" class="portlet-font" cellspacing="0" cellpadding="5">
+      	  <tr>
+	  	<td colspan="2" class="portlet-section-alternate" align="left">
+		<img border="0" src="<%= renderRequest.getContextPath() %>/images/role/role.gif" align="absmiddle"/>&nbsp;
+		${n:i18n("MENU_EDITROLEMEMBERS")}</td>
+	  </tr> 
+      <tr>
+         <td class="portlet-section-body">${n:i18n("ROLE_SELECTONETOMODIFY")}:</td>
+         <td class="portlet-section-body">
+            <select name="roleid" class="portlet-form-input-field">
+               <n:iterate ctx="role">
+                  <option value="${n:out("role.id")}" ${n:out("role.selected")}>${n:out("role.displayname")}</option>
+               </n:iterate>
+            </select> <n:error key="roledelete_error"/>
+         </td>
+      </tr>
+	 <tr>
+	    <td class="portlet-section-body">${n:i18n("LIST_USERNAMECONTAINS")}:</td>
+		<td class="portlet-section-body" align="left">
+			<input type="text" name="usernamefilter" value="${n:out("usernamefilter")}" size="15"  class="portlet-form-input-field"/>
+	  	</td>
+	</tr>
+	<tr>
+  		<td class="portlet-section-body">${n:i18n("LIST_USERSPERPAGE")}:</td>
+		<td class="portlet-section-body" align="left">
+		<select name="usersperpage" class="portlet-form-input-field">
+      <option value="10">10</option>
+      <option value="20">20</option>
+      <option value="30">30</option>
+      <option value="50">50</option>
+      <option value="75">75</option>
+      <option value="100">100</option>
+    </select>
+  		</td>
+	</tr>
+      <tr>
+         <td colspan="2" align="center" class="portlet-section-body">
+            <input type="submit" value="${n:i18n("ROLE_EDIT_MEMBERS")}" class="portlet-form-button">
+         </td>
+      </tr>
+   </table>
+</form>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editUserRoles.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editUserRoles.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/editUserRoles.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,78 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+
+<span><b>${n:i18n("EDITROLESFORUSER")}: "${n:out("username")}"</b>
+   <br/>
+   <br/>
+   <table>
+      <tr>
+         <th>${n:i18n("ROLESAVAILABLE")}</th>
+         <th/>
+         <th>${n:i18n("ASSIGNEDROLES")}</th>
+      </tr>
+      <form name="<portlet:namespace/>editRoles" method="post"
+            action="<portlet:actionURL>
+            <portlet:param name="op" value="addRolesToUser"/>
+            </portlet:actionURL>">
+         <input type="hidden" name="userid" value="${n:out("userid")}"/>
+
+         <input type="hidden" name="usernamefilter" value="${n:out("usernamefilter")}"/>
+         <input type="hidden" name="offset" value="${n:out("offset")}"/>
+         <input type="hidden" name="roleid" value="${n:out("roleid")}"/>
+         <input type="hidden" name="usersperpage" value="${n:out("usersperpage")}"/>
+
+         <n:iterate ctx="userRoles">
+             <input type="hidden" name="assignedRoles" value="${n:out("userRoles.name")}"/>
+         </n:iterate>
+
+         <tr>
+            <td style="vertical-align:top;">
+               <select name="rolesToAdd" size="6" multiple="true">
+                  <n:iterate ctx="allRoles">
+                     <option value="${n:out("allRoles.name")}">${n:out("allRoles.displayname")}</option>
+                  </n:iterate>
+               </select>
+            </td>
+            <td>
+               <input name="addRoles" class="portlet-form-button" type="submit" value="${n:i18n("ROLE_ADD")}"/>
+               <br/>
+               <input name="removeRoles" class="portlet-form-button" type="submit" value="${n:i18n("ROLE_REMOVE")}"/>
+            </td>
+            <td style="vertical-align:top;">
+               <select name="selectedRoles" size="6" multiple="true">
+                  <n:iterate ctx="userRoles">
+                     <option value="${n:out("userRoles.name")}">${n:out("userRoles.displayname")}</option>
+                  </n:iterate>
+               </select>
+            </td>
+         </tr>
+
+
+      </form>
+
+      <tr><td><br/></td></tr>
+      <tr>
+         <td colspan="3">
+            <input name="Save" class="portlet-form-button" id="Assign" type="submit"
+                   onclick="document.forms['<portlet:namespace/>editRoles'].submit();"
+                   value="${n:i18n("ASSIGNROLES")}"/>
+            &nbsp;
+            <input name="Cancel" class="portlet-form-button" id="Cancel" type="submit"
+                   onclick="document.forms['<portlet:namespace/>cancel'].submit();"
+                   value="${n:i18n("Cancel")}"/>
+      </tr>
+      <form
+         name="<portlet:namespace/>cancel"
+         action="<portlet:actionURL windowState="normal">
+         <portlet:param name="op" value="showListEditRoleMembers"/>
+         <portlet:param name="usernamefilter" value="${n:out('usernamefilter')}"/>
+         <portlet:param name="roleid" value="${n:out('roleid')}"/>
+         <portlet:param name="usersperpage" value="${n:out('usersperpage')}"/>
+         <portlet:param name="offset" value="${n:out('offset')}"/>
+         </portlet:actionURL>"
+         method="post"/>
+   </table>
+</span>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/menu.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/menu.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/role/menu.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,75 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+<div class="portlet-section-body">
+   <p>
+      ${n:i18n("ROLE_TEXT_1")}&nbsp;${n:i18n("ROLE_TEXT_2")}
+   <hr/>
+   </p>
+   <table width="100%" border="0" cellspacing="0" class="portlet-table-body">
+      <tr>
+         <td class="portlet-table-text" colspan="3"><strong>${n:out("nbRoles")}</strong></td>
+      </tr>
+      <n:iterate ctx="role">
+         <tr>
+            <td width="100%" class="portlet-table-text"><a href="<portlet:renderURL windowState="maximized">
+            <portlet:param name="op" value="showEditRole" />
+            <portlet:param name="roleid" value="${n:out('role.id')}"/>
+            <portlet:param name="roledisplayname" value="${n:out('role.displayname')}"/>
+            </portlet:renderURL>">${n:out("role.displayname")}</a></td>
+            <td nowrap class="portlet-table-text"><a href="<portlet:actionURL>
+            <portlet:param name="op" value="showListEditRoleMembers"/>
+            <portlet:param name="roleid" value="${n:out('role.id')}"/>
+            <portlet:param name="usersperpage" value="10"/>
+            <portlet:param name="usernamefilter" value=""/>
+            </portlet:actionURL>">Members</a></td>
+            <td nowrap class="portlet-table-text"><a href="<portlet:actionURL>
+            <portlet:param name="op" value="removeRole"/>
+            <portlet:param name="roleid" value="${n:out('role.id')}"/>
+            </portlet:actionURL>"
+            onClick="javascript:return confirm('${n:i18n("ROLE_CONFIRM_DELETE")}')">Delete</a></td>
+         </tr>
+      </n:iterate>
+   </table>
+   <p>
+
+   <form class="addicon">
+      <input type="button"
+             class="portlet-form-button"
+             value="${n:i18n("MENU_CREATEROLE")}"
+             onClick="hideShow('showall');">
+   </form>
+
+   <!--a onclick="hideShow('showall');" href="#" class="addicon">${n:i18n("MENU_CREATEROLE")}</a--></p>
+   <n:error key="rolename_error"/>
+   <br/>
+   <n:error key="roledisplayname_error"/>
+</div>
+<div id="showall" class="hidden">
+   <div>
+      <hr/>
+
+      <h6>${n:i18n("ROLE_CREATE")}</h6>
+
+      <form name="createRole"
+            action="<portlet:actionURL><portlet:param name="op" value="createRole"/></portlet:actionURL>" method="post">
+         <p>
+            <label class="portlet-form-label">${n:i18n("ROLE_NAME")}</label>
+            <br/>
+            <input name="rolename" type="text"/>
+         </p>
+
+         <p>
+            <label class="portlet-form-label">${n:i18n("ROLE_DISPLAYNAME")}</label>
+
+            <br/>
+            <input name="roledisplayname" type="text"/></p>
+
+         <p><input name="Save" type="submit" class="portlet-form-button" id="Save"
+                   value="${n:i18n("SaveChanges")}"/>
+         </p>
+      </form>
+   </div>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIf01.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIf01.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIf01.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored ="false" %> 
+<n:if ctx="IfCond">Some text</n:if>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude01.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude01.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude01.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored ="false" %> 
+BeginInclude:<n:include page="testInclude02.jsp"/>:EndInclude
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude02.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude02.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude02.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1 @@
+Include
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude03.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude03.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testInclude03.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored ="false" %> 
+Foo:<n:include page="testInclude01.jsp"/>:Bar
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate01.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate01.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate01.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored ="false" %> 
+<n:iterate ctx="row">Some text</n:iterate>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate02.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate02.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate02.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored ="false" %> 
+<n:iterate ctx="row">A<n:iterate ctx="col">B</n:iterate>C</n:iterate>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate03.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate03.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testIterate03.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored ="false" %> 
+<n:iterate ctx="row">A<n:iterate ctx="col">B<n:iterate ctx="foo">C</n:iterate></n:iterate>D</n:iterate>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testTaglib01.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testTaglib01.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testTaglib01.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,5 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored ="false" %> 
+${n:out("foo")}:<n:include page="testTaglib02.jsp"/>:${n:out("bar")}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testTaglib02.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testTaglib02.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/test/testTaglib02.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,9 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored ="false" %> 
+${n:out("foo")}:
+<n:iterate ctx="row1">
+${n:out("row1.value1")}:
+</n:iterate>
+${n:out("bar")}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/editProfile.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/editProfile.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/editProfile.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,203 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+
+<p><span class="requiredfield">*</span>&nbsp;${n:i18n("REQUIRED")}</p>
+
+<hr/>
+
+<table cellpadding="0" cellspacing="8" border="0" class="pn-normal">
+<form name="<portlet:namespace/>save" action="<portlet:actionURL><portlet:param name="op" value="storeProfile"/></portlet:actionURL>" method="post">
+<input type="hidden" name="userid" value="${n:out("userid")}"/>
+<tr>
+   <td colspan="3" nowrap><h4>${n:i18n("REGISTER_BASICINFO")}</h4></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_GIVENNAME")}</td>
+   <td><input type="text" name="givenname" value="${n:out("GIVENNAME")}" size="30" maxlength="60"></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_FAMILYNAME")}</td>
+   <td><input type="text" name="familyname" value="${n:out("FAMILYNAME")}" size="30" maxlength="60"></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_REALEMAIL")}<span class="requiredfield">*</span></td>
+   <td><input type="text" name="realemail" value="${n:out("REALEMAIL")}" size="30" maxlength="60">
+      <n:error key="realemail_error"/>
+   </td>
+   <td></td>
+</tr>
+<tr>
+   <td>&nbsp;</td>
+   <td><span class="portlet-form-label">${n:i18n("REGISTER_EMAILNOTPUBLIC")}</span></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_FAKEEMAIL")}</td>
+   <td><input type="text" name="fakeemail" value="${n:out("FAKEEMAIL")}" size="30" maxlength="60">
+      <n:error key="fakeemail_error"/>
+   </td>
+</tr>
+<tr>
+   <td>&nbsp;</td>
+   <td><span class="portlet-form-label">${n:i18n("REGISTER_EMAILPUBLIC")}</span></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_VIEWREALEMAIL")}</td>
+   <td><input type="checkbox" name="viewrealemail" value="true" ${n:out("VIEWREALEMAIL")}/></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_HOMEPAGE")}</td>
+   <td><input type="text" name="homepage" value="${n:out("HOMEPAGE")}" size="30" maxlength="100"></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_LANGUAGE")}</td>
+   <td>
+      <select name="locale" class="pn-normal">
+         <n:iterate ctx="locale">
+            <option value="${n:out("locale.id")}" ${n:out("locale.selected")}>${n:out("locale.name")}</option>
+         </n:iterate>
+      </select>
+   </td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_TIMEZONEOFFSET")}</td>
+   <td>
+      <select name="timezoneoffset" class="pn-normal">
+         <n:iterate ctx="timezone">
+            <option value="${n:out("timezone.id")}" ${n:out("timezone.selected")}>${n:out("timezone.name")}</option>
+         </n:iterate>
+      </select>
+   </td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_THEME")}</td>
+   <td>
+      <select name="theme" class="pn-normal">
+         <option value="" selected>${n:i18n("REGISTER_DEFAULT_THEME")}</option>
+         <n:iterate ctx="theme">
+            <option value="${n:out("theme.id")}" ${n:out("theme.selected")}>${n:out("theme.id")}</option>
+         </n:iterate>
+      </select>
+   </td>
+</tr>
+<%--tr>
+   <td>${n:i18n("REGISTER_YOURAVATAR")}</td>
+   <td>
+      <select name="avatar" class="pn-normal">${param["AVATARS"]}</select>
+      &nbsp;&nbsp;<img src="modules/user/images/avatars/{AVATAR}" name="avatar" width="32" height="32" alt="" align="top">
+   </td>
+</tr>
+<tr>
+   <td>${n:i18n("REGISTER_MESSAGEORDER")}</td>
+   <td class="pn-normal">
+      <div><input type="radio" name="sort_order_desc" value="{ORDER_VALUE_1}" checked="checked"/>{ORDER_LABEL_1}</div>
+      <div><input type="radio" name="sort_order_desc" value="{ORDER_VALUE_2}"/>{ORDER_LABEL_2}</div>
+   </td>
+</tr--%>
+<tr>
+   <td colspan="3" nowrap><h4>${n:i18n("REGISTER_IM")}</h4></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_ICQ")}</td>
+   <td><input type="text" name="icq" value="${n:out("ICQ")}" size="30" maxlength="100"></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_AIM")}</td>
+   <td><input type="text" name="aim" value="${n:out("AIM")}" size="30" maxlength="100"></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_YIM")}</td>
+   <td><input type="text" name="yim" value="${n:out("YIM")}" size="30" maxlength="100"></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_MSNM")}</td>
+   <td><input type="text" name="msnm" value="${n:out("MSNM")}" size="30" maxlength="100"></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_SKYPE")}</td>
+   <td><input type="text" name="skype" value="${n:out("SKYPE")}" size="30" maxlength="100"></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_XMMP")}</td>
+   <td><input type="text" name="xmmp" value="${n:out("XMMP")}" size="30" maxlength="100"></td>
+</tr>
+<tr>
+   <td colspan="3" nowrap><h4>${n:i18n("REGISTER_ADDITIONAL")}</h4></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_LOCATION")}</td>
+   <td><input type="text" name="location" value="${n:out("LOCATION")}" size="30" maxlength="100"></td>
+</tr>
+<!--tr>
+            <td>${n:i18n("REGISTER_LANGUAGE")}</td>
+            <td>
+               <select name="language" class="pn-normal">${param["LANGUAGE"]}</select>
+            </td>
+         </tr-->
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_OCCUPATION")}</td>
+   <td><input type="text" name="occupation" value="${n:out("OCCUPATION")}" size="30" maxlength="100"></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_INTERESTS")}</td>
+   <td><input type="text" name="interests" value="${n:out("INTERESTS")}" size="30" maxlength="100"></td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_SIGNATURE")}</td>
+   <td><textarea wrap="virtual" cols="50" rows="5" name="signature" class="pn-normal">${n:out("SIGNATURE")}</textarea>
+   </td>
+</tr>
+<tr>
+   <td>&nbsp;</td>
+   <td class="portlet-form-label">${n:i18n("255MAX")}</td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_EXTRAINFO")}</td>
+   <td><textarea wrap="virtual" cols="50" rows="5" name="extra" class="pn-normal">${n:out("EXTRA")}</textarea></td>
+</tr>
+<tr>
+   <td>&nbsp;</td>
+   <td class="portlet-form-label">${n:i18n("REGISTER_CANKNOWABOUT")}</td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("PASSWORD")}</td>
+   <td><input type="password" name="pass1" size="10" maxlength="20">&nbsp;
+      <n:error key="pass1_error"/>
+      &nbsp;<input type="password" name="pass2" size="10" maxlength="20">&nbsp;<span
+      class="portlet-form-label">${n:i18n("REGISTER_PASSWORDAGAIN")}</span>
+      <n:error key="pass2_error"/>
+   </td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_QUESTION")}</td>
+   <td class="pn-normal"><input type="text" name="question" value="${n:out("QUESTION")}" size="30" maxlength="100">
+   </td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_ANSWER")}</td>
+   <td class="pn-normal"><input type="text" name="answer" value="${n:out("ANSWER")}" size="30" maxlength="100"></td>
+</tr>
+<tr>
+   <%--<td colspan="3" class="bottombuttonbar"><input class="portlet-form-button" type="submit"
+                                                  value="${n:i18n("REGISTER_SAVECHANGES")}">
+      <span class="portlet-font"><a
+         href="<portlet:renderURL windowState="normal"><portlet:param name="op" value="showMenu"/></portlet:renderURL>">${n:i18n("Cancel")}</a></span>
+   </td>--%>
+</tr>
+</form>
+<tr>
+   <td colspan="3">
+      <input name="Save" class="portlet-form-button" id="Assign" type="submit"
+             onclick="document.forms['<portlet:namespace/>save'].submit();"
+             value="${n:i18n("REGISTER_SAVECHANGES")}"/>
+      &nbsp;
+      <input name="Cancel" class="portlet-form-button" id="Cancel" type="submit"
+             onclick="document.forms['<portlet:namespace/>cancel'].submit();"
+             value="${n:i18n("Cancel")}"/>
+</tr>
+<form
+   name="<portlet:namespace/>cancel"
+   action="<portlet:renderURL windowState="normal"><portlet:param name="op" value="showMenu"/></portlet:renderURL>"
+   method="post"/>
+</table>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/editUserRoles.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/editUserRoles.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/editUserRoles.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,73 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+
+
+<span><b>${n:i18n("EDITROLESFORUSER")}: "${n:out("username")}"</b>
+   <br/>
+   <br/>
+   <table>
+      <tr>
+         <th>${n:i18n("ROLESAVAILABLE")}</th>
+         <th/>
+         <th>${n:i18n("ASSIGNEDROLES")}</th>
+      </tr>
+      <form name="<portlet:namespace/>editRoles" method="post" action="<portlet:actionURL><portlet:param name="op" value="addRolesToUser"/></portlet:actionURL>">
+         <input type="hidden" name="userid" value="${n:out("userid")}"/>
+
+         <input type="hidden" name="usernamefilter" value="${n:out("usernamefilter")}"/>
+         <input type="hidden" name="offset" value="${n:out("offset")}"/>
+         <input type="hidden" name="usersperpage" value="${n:out("usersperpage")}"/>
+
+         <n:iterate ctx="userRoles">
+             <input type="hidden" name="assignedRoles" value="${n:out("userRoles.name")}"/>
+         </n:iterate>
+
+         <tr>
+            <td style="vertical-align:top;">
+               <select name="rolesToAdd" size="6" multiple="true">
+                  <n:iterate ctx="allRoles">
+                     <option value="${n:out("allRoles.name")}">${n:out("allRoles.displayname")}</option>
+                  </n:iterate>
+               </select>
+            </td>
+            <td>
+               <input name="addRoles" class="portlet-form-button" type="submit" value="${n:i18n("ROLE_ADD")}"/>
+               <br/>
+               <input name="removeRoles" class="portlet-form-button" type="submit" value="${n:i18n("ROLE_REMOVE")}"/>
+            </td>
+            <td style="vertical-align:top;">
+               <select name="selectedRoles" size="6" multiple="true">
+                  <n:iterate ctx="userRoles">
+                     <option value="${n:out("userRoles.name")}">${n:out("userRoles.displayname")}</option>
+                  </n:iterate>
+               </select>
+            </td>
+         </tr>
+
+
+      </form>
+
+      <tr><td><br/></td></tr>
+      <tr>
+         <td colspan="3">
+            <input name="Save" class="portlet-form-button" id="Assign" type="submit"
+                   onclick="document.forms['<portlet:namespace/>editRoles'].submit();"
+                   value="${n:i18n("ASSIGNROLES")}"/>
+            &nbsp;
+            <input name="Cancel" class="portlet-form-button" id="Cancel" type="submit"
+                   onclick="document.forms['<portlet:namespace/>cancel'].submit();"
+                   value="${n:i18n("Cancel")}"/>
+      </tr>
+      <form
+         name="<portlet:namespace/>cancel"
+         action="<portlet:actionURL windowState="normal">
+            <portlet:param name="op" value="showListUsers"/>
+            <portlet:param name="usernamefilter" value="${n:out('usernamefilter')}"/>
+            <portlet:param name="usersperpage" value="${n:out('usersperpage')}"/>
+            <portlet:param name="offset" value="${n:out('offset')}"/>
+         </portlet:actionURL>"
+         method="post"/>
+   </table>
+</span>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/listUsers.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/listUsers.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/listUsers.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,100 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<p>${n:i18n("LIST_SEARCHRESULTS")} "${n:out("usernamefilter")}" (${n:out("results")} ${n:i18n("LIST_MATCHING")})</p>
+
+<hr/>
+
+<p></p>
+<table width="100%" border="0" cellspacing="0" class="portlet-table-body">
+   <tr>
+      <td nowrap="nowrap" class="portlet-table-header">${n:i18n("LIST_USERNAME")}</td>
+      <td nowrap="nowrap" class="portlet-table-header">${n:i18n("LIST_FIRSTNAME")}</td>
+      <td nowrap="nowrap" class="portlet-table-header">${n:i18n("LIST_LASTNAME")}</td>
+      <td nowrap="nowrap" class="portlet-table-header">${n:i18n("LIST_ROLES")}</td>
+      <td nowrap="nowrap" class="portlet-table-header">${n:i18n("LIST_ACTIONS")}</td>
+   </tr>
+   <n:iterate ctx="row">
+      <tr>
+         <td nowrap="nowrap" class="${n:out("row.cssClass")}">${n:out("row.username")}</td>
+         <td nowrap="nowrap" class="${n:out("row.cssClass")}">${n:out("row.firstname")}</td>
+         <td nowrap="nowrap" class="${n:out("row.cssClass")}">${n:out("row.lastname")}</td>
+         <td nowrap="nowrap" class="${n:out("row.cssClass")}">
+            <n:iterate ctx="roles">${n:out("row.roles.name")}<br/></n:iterate>
+         </td>
+         <td nowrap="nowrap" class="${n:out("row.cssClass")}"><a
+            href="${n:out("row.editURL")}">${n:i18n("LIST_ACTIONSSHOWPROFILE")}</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
+            href="${n:out("row.rolesURL")}">${n:i18n("LIST_ACTIONADDROLESTOUSER")}</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
+            href="${n:out("row.deleteURL")}"
+            onClick="javascript:return confirm('${n:i18n("LIST_CONFIRMDELETEUSER")}')"
+            >${n:i18n("LIST_ACTIONDELETEUSER")}</a></td>
+      </tr>
+   </n:iterate>
+</table>
+
+<div align="center">
+   <table width="0%" border="0" cellspacing="0" cellpadding="0" class="pagination">
+      <tr>
+         <td nowrap>
+            <ul>
+               <n:if ctx="previouspage">
+                  <li class="previouspage">
+                     <a href="${n:out("previouspage.link")}">${n:i18n("PREVIOUSPAGE")}</a>
+                  </li>
+               </n:if>
+               <n:if ctx="nextpage">
+                  <li class="nextpage">
+                     <a href="${n:out("nextpage.link")}">${n:i18n("NEXTPAGE")}</a>
+                  </li>
+               </n:if>
+            </ul>
+         </td>
+      </tr>
+   </table>
+</div>
+
+<br/>
+<form
+   id="<portlet:namespace/>searchUsers"
+   action="<portlet:actionURL><portlet:param name="op" value="showListUsers"/></portlet:actionURL>"
+   method="post">
+   <font class="portlet-form-label">${n:i18n("REGISTER_ADMIN_SEARCH")}</font><br/>
+   <input type="text" name="usernamefilter" value="${n:out("usernamefilter")}" size="15"/>
+   <select name="usersperpage">
+      <option value="10">10</option>
+      <option value="20">20</option>
+      <option value="30">30</option>
+      <option value="50">50</option>
+      <option value="75">75</option>
+      <option value="100">100</option>
+   </select>
+   <br/>
+</form>
+<input name="Save" class="portlet-form-button" id="Save" type="submit"
+          onclick="document.forms['<portlet:namespace/>searchUsers'].submit();"
+          value="${n:i18n("Search")}"/>
+   &nbsp;
+   <input name="Cancel" class="portlet-form-button" id="Cancel" type="submit"
+          onclick="document.forms['<portlet:namespace/>cancel'].submit();"
+          value="${n:i18n("Cancel")}"/>
+<form
+   name="<portlet:namespace/>cancel"
+   action="<portlet:renderURL windowState="normal"><portlet:param name="op" value="showMenu"/></portlet:renderURL>"
+   method="post"/>
+
+
+<br/>
+<a id="register"
+   href="<portlet:renderURL windowState="maximized"><portlet:param name="op" value="showRegister"/></portlet:renderURL>"><img
+   src="<%= renderRequest.getContextPath() %>/images/user/ico_adduser.gif" border="0"
+   align="absmiddle"/></a>&nbsp;<a
+id="register"
+href="
+<portlet:renderURL windowState="maximized">
+   <portlet:param name="op" value="showRegister"/>
+   <portlet:param name="lastView" value="showListUsers"/>
+</portlet:renderURL>
+">${n:i18n("REGISTER_REGISTER_ADMIN_LINK")}</a>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/login.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/login.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/login.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,20 @@
+<%@ page import="org.jboss.portal.core.CoreConstants" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<div class="box" align="center">
+    <table border="0" class="portlet-font" cellspacing="0" cellpadding="2">
+        <tr>
+            <td colspan="1">
+             <span class="portlet-text">
+                ${n:i18n("REGISTER_NOT_LOGGED_IN")}                 
+             <br/><br/>
+             <a id="register"
+                href="<portlet:renderURL windowState="maximized"><portlet:param name="op" value="showRegister"/></portlet:renderURL>">${n:i18n("REGISTER_REGISTER")}</a></span>
+            </td>
+        </tr>
+    </table>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/menu.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/menu.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/menu.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,65 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<table width="100%" cellpadding="2" border="0">
+
+   <n:if ctx="modifiedProfile">
+     <p class="portlet-form-label">${n:i18n("MODIFIED_PROFILE")}</p>
+   </n:if>
+
+   <n:if ctx="admin">
+      <tr>
+         <td class="portlet-section-body">
+            <form
+               action="<portlet:actionURL><portlet:param name="op" value="showListUsers"/></portlet:actionURL>"
+               method="post">
+               <input type="hidden" name="usersperpage" value="10"/>
+               <font class="portlet-form-label">${n:i18n("REGISTER_ADMIN_SEARCH")}</font><br/>
+               <input type="text" name="usernamefilter" value="${n:out("usernamefilter")}" size="15"/>
+               <input name="Find" type="submit" class="portlet-form-button" id="Find" value="${n:i18n("Search")}"/>
+            </form>
+            <br/>
+         </td>
+      </tr>
+   </n:if>
+
+   <n:if ctx="admin">
+      <tr>
+         <td class="portlet-section-body">
+            <a id="register"
+               href="<portlet:renderURL windowState="maximized"><portlet:param name="op" value="showRegister"/></portlet:renderURL>"><img
+               src="<%= renderRequest.getContextPath() %>/images/user/ico_adduser.gif" border="0"
+               align="absmiddle"/></a>&nbsp;<a
+            id="register"
+            href="<portlet:renderURL windowState="maximized"><portlet:param name="op" value="showRegister"/><portlet:param name="lastView" value="showMenu"/></portlet:renderURL>">${n:i18n("REGISTER_REGISTER_ADMIN_LINK")}</a>
+         </td>
+      </tr>
+   </n:if>
+
+   <tr>
+      <td class="portlet-section-body">
+         <a id="editprofile"
+            href="<portlet:renderURL windowState="maximized"><portlet:param name="op" value="showProfile"/></portlet:renderURL>"><img
+            src="<%= renderRequest.getContextPath() %>/images/user/edit_profile.gif" border="0"
+            align="absmiddle"/></a>&nbsp;<a id="editprofile"
+                                            href="<portlet:renderURL windowState="maximized"><portlet:param name="op" value="showProfile"/></portlet:renderURL>">${n:i18n("MENU_EDITPROFILE")}</a>
+      </td>
+   </tr>
+
+<%--
+   // Removed for 2.6. Its throwing and no point in having logout in two places.
+   <tr>
+      <td class="portlet-section-body">
+         <a id="logout"
+            href="<portlet:actionURL windowState="normal"><portlet:param name="op" value="userLogout"/></portlet:actionURL>"><img
+            src="<%= renderRequest.getContextPath() %>/images/user/logout.gif" border="0"
+            align="absmiddle"/></a>&nbsp;<a id="logout"
+                                            href="<portlet:actionURL windowState="normal"><portlet:param name="op" value="userLogout"/></portlet:actionURL>">${n:i18n("MENU_LOGOUT")}</a>
+      </td>
+   </tr>
+--%>
+
+</table>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/register.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/register.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/register.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,73 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<p><span class="requiredfield">*</span>&nbsp;${n:i18n("REQUIRED")}</p>
+<hr/>
+<table width="100%" cellpadding="0" cellspacing="10" border="0" class="pn-normal">
+    <form name="<portlet:namespace/>register"
+          action="<portlet:actionURL><portlet:param name="op" value="userRegister"/></portlet:actionURL>" method="post">
+        <tr>
+            <td colspan="3" nowrap><h4>${n:i18n("REGISTER_BASICINFO")}</h4></td>
+        </tr>
+        <tr>
+
+            <td class="portlet-form-label" nowrap>${n:i18n("USERNAME")}<span class="requiredfield">*</span></td>
+            <td colspan="2"><input type="text" name="uname" value="${param["USERNAME"]}"
+                                   size="30" maxlength="25">
+                <n:error key="uname_error"/>
+            </td>
+        </tr>
+        <tr>
+            <td class="portlet-form-label" nowrap>${n:i18n("REGISTER_REALEMAIL")}<span class="requiredfield">*</span>
+            </td>
+            <td><input type="text" name="realemail" value="user at portal.com" size="30" maxlength="60">
+                <n:error key="realemail_error"/>
+            </td>
+
+            <td><input type="checkbox" name="viewrealemail" value="true" checked="checked" class="portlet-form-label"/>Allow
+                other users to view my real e-mail address
+            </td>
+        </tr>
+        <tr>
+            <td class="portlet-form-label" nowrap>${n:i18n("REGISTER_FAKEEMAIL")}</td>
+            <td colspan="2"><input type="text" name="fakeemail" value="" size="30" maxlength="60"></td>
+        </tr>
+        <tr>
+            <td class="portlet-form-label" nowrap>${n:i18n("PASSWORD")}<span class="requiredfield">*</span></td>
+
+            <td colspan="2"><input type="password" name="pass1" size="30" maxlength="20">
+                <n:error key="pass1_error"/>
+            </td>
+        </tr>
+        <tr>
+            <td class="portlet-form-label" nowrap>${n:i18n("REGISTER_PASSWORDAGAIN")}<span
+                    class="requiredfield">*</span></td>
+            <td colspan="2"><input type="password" name="pass2" size="30" maxlength="20">
+               <n:error key="pass2_error"/>
+            </td>
+        </tr>
+       <tr>
+          <td class="portlet-form-label" nowrap>${n:i18n("REGISTER_QUESTION")}</td>
+
+          <td class="pn-normal" colspan="2"><input type="text" name="question" value="" size="30" maxlength="100">
+          </td>
+       </tr>
+       <tr>
+          <td class="portlet-form-label" nowrap>${n:i18n("REGISTER_ANSWER")}</td>
+          <td class="pn-normal" colspan="2"><input type="text" name="answer" value="" size="30" maxlength="100">
+          </td>
+       </tr>
+       <tr>
+          <td colspan="3" class="bottombuttonbar">
+          <input name="Save" class="portlet-form-button" id="register" type="submit"
+             value="${n:i18n("REGISTER_NEWUSER")}"/>
+          &nbsp;
+          <input name="Cancel" class="portlet-form-button" id="Cancel" type="submit"
+             value="${n:i18n("Cancel")}"/>
+          </td>
+       </tr>
+    </form>
+</table>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/registerUser.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/registerUser.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/registerUser.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,85 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<p><span class="requiredfield">*</span>&nbsp;${n:i18n("REQUIRED")}</p>
+<hr/>
+<table width="100%" cellpadding="0" cellspacing="10" border="0" class="pn-normal">
+   <form name="<portlet:namespace/>register"
+         action="<portlet:actionURL><portlet:param name="op" value="userRegister"/></portlet:actionURL>" method="post">
+      <input name="lastView" value="${n:out('lastView')}" type="hidden"/>
+      <tr>
+         <td colspan="3" nowrap><h4>${n:i18n("REGISTER_BASICINFO")}</h4></td>
+      </tr>
+      <tr>
+
+         <td class="portlet-form-label" nowrap>${n:i18n("USERNAME")}<span class="requiredfield">*</span></td>
+         <td colspan="2"><input type="text" name="uname" value="${param["USERNAME"]}"
+                                size="30" maxlength="25">
+            <n:error key="uname_error"/>
+         </td>
+      </tr>
+      <tr>
+         <td class="portlet-form-label" nowrap>${n:i18n("REGISTER_REALEMAIL")}<span class="requiredfield">*</span>
+         </td>
+         <td><input type="text" name="realemail" value="user at portal.com" size="30" maxlength="60">
+            <n:error key="realemail_error"/>
+         </td>
+
+         <td><input type="checkbox" name="viewrealemail" value="true" checked="checked" class="portlet-form-label"/>Allow
+            other users to view my real e-mail address
+         </td>
+      </tr>
+      <tr>
+         <td class="portlet-form-label" nowrap>${n:i18n("REGISTER_FAKEEMAIL")}</td>
+         <td colspan="2"><input type="text" name="fakeemail" value="" size="30" maxlength="60"></td>
+      </tr>
+      <tr>
+         <td class="portlet-form-label" nowrap>${n:i18n("PASSWORD")}<span class="requiredfield">*</span></td>
+
+         <td colspan="2"><input type="password" name="pass1" size="30" maxlength="20">
+            <n:error key="pass1_error"/>
+         </td>
+      </tr>
+      <tr>
+         <td class="portlet-form-label" nowrap>${n:i18n("REGISTER_PASSWORDAGAIN")}<span
+            class="requiredfield">*</span></td>
+         <td colspan="2"><input type="password" name="pass2" size="30" maxlength="20">
+            <n:error key="pass2_error"/>
+         </td>
+      </tr>
+      <tr>
+         <%--<td colspan="3" class="bottombuttonbar">
+            <input name="register" type="submit" class="portlet-form-button" 
+                   value="${n:i18n("REGISTER_NEWUSER")}"/>
+         </td>--%>
+      </tr>
+   </form>
+   <tr>
+      <td colspan="3" class="bottombuttonbar">
+         <input name="Save" class="portlet-form-button" id="register" type="submit"
+                onclick="document.forms['<portlet:namespace/>register'].submit();"
+                value="${n:i18n("REGISTER_NEWUSER")}"/>
+         &nbsp;
+         <input name="Cancel" class="portlet-form-button" id="Cancel" type="submit"
+                onclick="document.forms['<portlet:namespace/>cancel'].submit();"
+                value="${n:i18n("Cancel")}"/>
+      </td>
+   </tr>
+   <form
+      name="<portlet:namespace/>cancel"
+      method="post"
+      action="<portlet:renderURL windowState="maximized">
+      <portlet:param name="op" value="${n:out('lastView')}"/>
+      </portlet:renderURL>"/>
+
+
+</table>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/registerUser_admin.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/registerUser_admin.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/registerUser_admin.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,19 @@
+<%@ page import="org.jboss.portal.core.CoreConstants" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<span class="portlet-font"><a
+   href="<portlet:renderURL windowState="normal"><portlet:param name="op" value="showMenu"/></portlet:renderURL>">${n:i18n("REGISTER_SHOWMENU")}</a></span>
+<br/>
+
+<div class="box" align="center">
+   <table border="0" class="portlet-font" cellspacing="0" cellpadding="2">
+      <tr>
+         <td align="center">${n:i18n("REGISTER_CONFIRM")}
+         </td>
+      </tr>
+   </table>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/register_ty.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/register_ty.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/register_ty.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,19 @@
+<%@ page import="org.jboss.portal.core.CoreConstants" %>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+
+<div class="box" align="center">
+    <table border="0" class="portlet-font" cellspacing="0" cellpadding="2">
+        <tr>
+            <td align="center">${n:i18n("REGISTER_TY")}</td>
+        </tr>
+    </table>
+</div>
+<br/>
+<br/>
+<span class="portlet-font"><a
+        href="<portlet:renderURL windowState="normal"><portlet:param name="op" value="showMenu"/></portlet:renderURL>">${n:i18n("REGISTER_SHOWMENU")}</a></span>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/viewProfile.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/viewProfile.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/viewProfile.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,37 @@
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+
+<table cellpadding="0" cellspacing="8" border="0" class="pn-normal">
+
+<tr>
+   <td class="portlet-form-label">${n:i18n("LIST_USERNAME")}</td>
+   <td>${n:out("username")}</td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_GIVENNAME")}</td>
+   <td>${n:out("GIVENNAME")}</td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_FAMILYNAME")}</td>
+   <td>${n:out("FAMILYNAME")}</td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_FAKEEMAIL")}</td>
+   <td>${n:out("FAKEEMAIL")}</td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_HOMEPAGE")}</td>
+   <td>${n:out("HOMEPAGE")}</td>
+</tr>
+<tr>
+   <td class="portlet-form-label">${n:i18n("REGISTER_LOCATION")}</td>
+   <td>${n:out("LOCATION")}</td>
+</tr>
+</table>
+
+<form
+   name="<portlet:namespace/>cancel"
+   action="<portlet:renderURL windowState="normal"><portlet:param name="op" value="showMenu"/></portlet:renderURL>"
+   method="post"/>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/layout/portal-renderSet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/layout/portal-renderSet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/layout/portal-renderSet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<portal-renderSet>
+   <renderSet name="divRenderer">
+      <set content-type="text/html">
+         <ajax-enabled>true</ajax-enabled>
+         <region-renderer>org.jboss.portal.theme.impl.render.div.DivRegionRenderer</region-renderer>
+         <window-renderer>org.jboss.portal.theme.impl.render.div.DivWindowRenderer</window-renderer>
+         <portlet-renderer>org.jboss.portal.theme.impl.render.div.DivPortletRenderer</portlet-renderer>
+         <decoration-renderer>org.jboss.portal.theme.impl.render.div.DivDecorationRenderer</decoration-renderer>
+      </set>
+   </renderSet>
+   <renderSet name="emptyRenderer">
+      <set content-type="text/html">
+         <ajax-enabled>true</ajax-enabled>
+         <region-renderer>org.jboss.portal.theme.impl.render.empty.EmptyRegionRenderer</region-renderer>
+         <window-renderer>org.jboss.portal.theme.impl.render.empty.EmptyWindowRenderer</window-renderer>
+         <portlet-renderer>org.jboss.portal.theme.impl.render.empty.EmptyPortletRenderer</portlet-renderer>
+         <decoration-renderer>org.jboss.portal.theme.impl.render.empty.EmptyDecorationRenderer</decoration-renderer>
+      </set>
+   </renderSet>
+   <renderSet name="divRendererNoAjax">
+      <set content-type="text/html">
+         <ajax-enabled>false</ajax-enabled>
+         <region-renderer>org.jboss.portal.theme.impl.render.div.DivRegionRenderer</region-renderer>
+         <window-renderer>org.jboss.portal.theme.impl.render.div.DivWindowRenderer</window-renderer>
+         <portlet-renderer>org.jboss.portal.theme.impl.render.div.DivPortletRenderer</portlet-renderer>
+         <decoration-renderer>org.jboss.portal.theme.impl.render.div.DivDecorationRenderer</decoration-renderer>
+      </set>
+   </renderSet>
+   <renderSet name="emptyRendererNoAjax">
+      <set content-type="text/html">
+         <ajax-enabled>false</ajax-enabled>
+         <region-renderer>org.jboss.portal.theme.impl.render.empty.EmptyRegionRenderer</region-renderer>
+         <window-renderer>org.jboss.portal.theme.impl.render.empty.EmptyWindowRenderer</window-renderer>
+         <portlet-renderer>org.jboss.portal.theme.impl.render.empty.EmptyPortletRenderer</portlet-renderer>
+         <decoration-renderer>org.jboss.portal.theme.impl.render.empty.EmptyDecorationRenderer</decoration-renderer>
+      </set>
+   </renderSet>
+</portal-renderSet>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-layouts.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-layouts.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-layouts.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<layouts>
+   <!-- layout>
+      <name>nodesk</name>
+      <uri>/nodesk/index.jsp</uri>
+      <uri state="maximized">/nodesk/index.jsp</uri>
+      <regions>
+         <region name="left"/>
+         <region name="center"/>
+      </regions>
+   </layout>
+   <layout>
+      <name>phalanx</name>
+      <uri>/phalanx/index.jsp</uri>
+      <uri state="maximized">/phalanx/index.jsp</uri>
+      <regions>
+         <region name="left"/>
+         <region name="center"/>
+      </regions>
+   </layout-->
+   <layout>
+      <name>generic</name>
+      <uri>/layouts/generic/index.jsp</uri>
+      <uri state="maximized">/layouts/generic/maximized.jsp</uri>
+      <regions>
+         <region name="left"/>
+         <region name="center"/>
+      </regions>
+   </layout>
+   <layout>
+      <name>3columns</name>
+      <uri>/layouts/3columns/index.jsp</uri>
+      <uri state="maximized">/layouts/generic/maximized.jsp</uri>
+      <regions>
+         <region name="left"/>
+         <region name="center"/>
+         <region name="right"/>
+      </regions>
+   </layout>
+   <layout>
+      <name>1column</name>
+      <uri>/layouts/1column/index.jsp</uri>
+      <uri state="maximized">/layouts/generic/maximized.jsp</uri>
+      <regions>
+         <region name="center"/>
+      </regions>
+   </layout>
+</layouts>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-lib.tld
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-lib.tld	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-lib.tld	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,104 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
+        version="2.0">
+   <tlib-version>1.1</tlib-version>
+   <short-name>JBoss-Portal-tags</short-name>
+
+   <tag>
+      <name>if</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.IfTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>ctx</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>iterate</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.IterateTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>ctx</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>include</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.IncludeTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>page</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>error</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.ErrorTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>key</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>errors</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.ErrorsTag</tag-class>
+      <body-content>JSP</body-content>
+   </tag>
+
+   <tag>
+      <name>success</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.SuccessTag</tag-class>
+      <body-content>JSP</body-content>
+   </tag>
+   <function>
+      <name>i18n</name>
+      <function-class>org.jboss.portal.core.servlet.jsp.taglib.PortalLib</function-class>
+      <function-signature>java.lang.String getMessage(java.lang.String)</function-signature>
+   </function>
+
+   <function>
+      <name>out</name>
+      <function-class>org.jboss.portal.core.servlet.jsp.taglib.PortalLib</function-class>
+      <function-signature>java.lang.String out(java.lang.String)</function-signature>
+   </function>
+
+   <function>
+      <name>i18nout</name>
+      <function-class>org.jboss.portal.core.servlet.jsp.taglib.PortalLib</function-class>
+      <function-signature>java.lang.String i18nOut(java.lang.String)</function-signature>
+   </function>
+
+</taglib>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-themes.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-themes.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portal-themes.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<themes>
+   <theme>
+      <name>renaissance</name>
+      <link rel="stylesheet" id="main_css" href="/themes/renaissance/portal_style.css" type="text/css"/>
+      <link rel="shortcut icon" href="/themes/renaissance/images/favicon.ico"/>
+      <link rel="icon" href="/themes/renaissance/images/animated_favicon1.gif" type="image/gif"/>
+   </theme>
+   <theme>
+      <name>industrial</name>
+      <link rel="stylesheet" id="main_css" href="/themes/industrial/portal_style.css" type="text/css"/>
+      <link rel="shortcut icon" href="/themes/industrial/images/favicon.ico"/>
+   </theme>
+   <theme>
+      <name>nphalanx</name>
+      <link rel="stylesheet" id="main_css" href="/themes/phalanx/portal_style.css" type="text/css"/>
+      <link rel="shortcut icon" href="/themes/phalanx/images/favicon.ico"/>
+   </theme>
+   <theme>
+      <name>mission-critical</name>
+      <link rel="stylesheet" id="main_css" href="/themes/mission-critical/portal_style.css" type="text/css"/>
+      <link rel="shortcut icon" href="/themes/mission-critical/images/favicon.ico"/>
+   </theme>
+   <theme>
+      <name>maple</name>
+      <link rel="stylesheet" id="main_css" href="/themes/maple/portal_style.css" type="text/css"/>
+      <link rel="shortcut icon" href="/themes/maple/images/favicon.ico"/>
+   </theme>
+</themes>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portlet-instances.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portlet-instances.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portlet-instances.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,64 @@
+<?xml version="1.0" standalone="yes"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portlet Instances 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
+
+<deployments>
+   <deployment>
+      <instance>
+         <instance-id>UserPortletInstance</instance-id>
+         <portlet-ref>UserPortlet</portlet-ref>
+      </instance>
+   </deployment>
+   <deployment>
+      <instance>
+         <instance-id>RolePortletInstance</instance-id>
+         <portlet-ref>RolePortlet</portlet-ref>
+      </instance>
+   </deployment>
+   <deployment>
+      <instance>
+         <instance-id>CatalogPortletInstance</instance-id>
+         <portlet-ref>CatalogPortlet</portlet-ref>
+      </instance>
+   </deployment>
+   <deployment>
+      <instance>
+         <instance-id>PortletContentEditorInstance</instance-id>
+         <portlet-ref>PortletContentEditorPortlet</portlet-ref>
+         <security-constraint>
+            <policy-permission>
+               <role-name>Admin</role-name>
+               <action-name>view</action-name>
+            </policy-permission>
+            <policy-permission>
+               <role-name>User</role-name>
+               <action-name>view</action-name>
+            </policy-permission>
+         </security-constraint>
+      </instance>
+   </deployment>
+</deployments>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<portlet-app
+   xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   version="1.0">
+   <portlet>
+      <description>Portlet providing user login/logout and profile management</description>
+      <portlet-name>UserPortlet</portlet-name>
+      <display-name>User Portlet</display-name>
+      <portlet-class>org.jboss.portal.core.ui.portlet.user.UserPortlet</portlet-class>
+      <init-param>
+         <description>Whether we should use ssl on login and throughout the Portal. 1=yes;0=no</description>
+         <name>useSSL</name>
+         <value>0</value>
+      </init-param>
+      <init-param>
+         <description>Subscription mode</description>
+         <name>subscriptionMode</name>
+         <value>automatic</value>
+         <!--
+         <value>emailVerification</value>
+         -->
+      </init-param>
+      <init-param>
+         <description>Domain of your website for email verification.</description>
+         <name>emailDomain</name>
+         <value>JBoss.com</value>
+      </init-param>
+      <init-param>
+         <description>Email displayed in the TO field</description>
+         <name>emailFrom</name>
+         <value>jbossportal at example.com</value>
+      </init-param>
+      <init-param>
+         <description>Default role of registered users</description>
+         <name>defaultRole</name>
+         <value>User</value>
+      </init-param>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <supported-locale>en</supported-locale>
+      <supported-locale>fr</supported-locale>
+      <supported-locale>es</supported-locale>
+      <resource-bundle>Resource</resource-bundle>
+      <portlet-info>
+         <title>User portlet</title>
+         <keywords>management,admin</keywords>
+      </portlet-info>
+      <security-role-ref>
+         <role-name>Admin</role-name>
+      </security-role-ref>
+   </portlet>
+   <portlet>
+      <description>Portlet for managing user roles</description>
+      <portlet-name>RolePortlet</portlet-name>
+      <display-name>User Roles Portlet</display-name>
+      <portlet-class>org.jboss.portal.core.ui.portlet.role.RolePortlet</portlet-class>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <supported-locale>en</supported-locale>
+      <supported-locale>fr</supported-locale>
+      <supported-locale>es</supported-locale>
+      <resource-bundle>Resource</resource-bundle>
+      <portlet-info>
+         <title>Role management</title>
+         <keywords>management,admin</keywords>
+      </portlet-info>
+      <security-role-ref>
+         <role-name>Admin</role-name>
+      </security-role-ref>
+   </portlet>
+   <portlet>
+      <description>Portlet providing navigable list of portal pages</description>
+      <portlet-name>CatalogPortlet</portlet-name>
+      <display-name>Portal Pages Catalog Portlet</display-name>
+      <portlet-class>org.jboss.portal.core.ui.portlet.catalog.CatalogPortlet</portlet-class>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <portlet-info>
+         <title>Catalog</title>
+      </portlet-info>
+   </portlet>
+   <portlet>
+      <description>Portlet Content Editor</description>
+      <portlet-name>PortletContentEditorPortlet</portlet-name>
+      <display-name>Portlet Content Editor</display-name>
+      <portlet-class>org.jboss.portal.core.ui.content.portlet.PortletContentEditorPortlet</portlet-class>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+         <portlet-mode>EDIT_CONTENT</portlet-mode>
+      </supports>
+      <portlet-info>
+         <title>Portlet Content Portlet</title>
+         <keywords>management,admin</keywords>
+      </portlet-info>
+   </portlet>
+   <user-attribute>
+      <name>user.name.nickName</name>
+   </user-attribute>
+   <user-attribute>
+      <name>user.business-info.online.email</name>
+   </user-attribute>
+   <user-attribute>
+      <name>user.name.given</name>
+   </user-attribute>
+   <user-attribute>
+      <name>user.name.family</name>
+   </user-attribute>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/theme-basic-lib.tld
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/theme-basic-lib.tld	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/theme-basic-lib.tld	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,68 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
+        version="2.0">
+   <tlib-version>1.1</tlib-version>
+   <short-name>Theme_basic_tags</short-name>
+   <tag>
+      <name>ifRegionIsEmpty</name>
+      <tag-class>org.jboss.portal.theme.tag.basic.IfRegionIsEmptyTag</tag-class>
+      <attribute>
+         <name>region</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+   <tag>
+      <name>ifRegionExists</name>
+      <tag-class>org.jboss.portal.theme.tag.basic.IfRegionExistsTag</tag-class>
+      <attribute>
+         <name>region</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+   <tag>
+      <name>forEachWindowInRegion</name>
+      <tag-class>org.jboss.portal.theme.tag.basic.ForEachWindowInRegionTag</tag-class>
+      <tei-class>org.jboss.portal.theme.tag.basic.ForEachWindowInRegionTEI</tei-class>
+      <attribute>
+         <name>region</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+   <tag>
+      <name>forEachActionInWindow</name>
+      <tag-class>org.jboss.portal.theme.tag.basic.ForEachActionInWindowTag</tag-class>
+      <tei-class>org.jboss.portal.theme.tag.basic.ForEachActionInWindowTEI</tei-class>
+      <attribute>
+         <name>family</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+</taglib>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<web-app
+   xmlns="http://java.sun.com/xml/ns/j2ee"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+   version="2.4">
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/catalog/bullet.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/catalog/bullet.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/favicon.ico
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/back.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/back.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/bullet.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/bullet.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/delete.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/delete.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/next.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/next.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/previous.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/previous.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/role.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/role/role.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/contents.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/contents.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/edit_profile.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/edit_profile.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/exit.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/exit.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/ico_adduser.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/ico_adduser.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/identity.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/identity.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/logout.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/logout.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/new_user.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/new_user.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/redled.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/redled.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/userlist.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/images/user/userlist.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/1column/index.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/1column/index.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/1column/index.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+<%@ page import="org.jboss.portal.server.PortalConstants" %>
+<%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+   <title><%= PortalConstants.VERSION.toString() %></title>
+   <meta http-equiv="Content-Type" content="text/html;"/>
+   <!-- to correct the unsightly Flash of Unstyled Content. -->
+   <script type="text/javascript"></script>
+   <!-- inject the theme, default to the Renaissance theme if nothing is selected for the portal or the page -->
+   <p:theme themeName="renaissance"/>
+   <!-- insert header content that was possibly set by portlets on the page -->
+   <p:headerContent/>
+</head>
+
+<body id="body">
+<p:region regionName='AJAXScripts' regionID='AJAXScripts'/>
+<div id="portal-container">
+   <div id="sizer">
+      <div id="expander">
+         <div id="logoName"></div>
+         <table border="0" cellpadding="0" cellspacing="0" id="header-container">
+            <tr>
+               <td align="center" valign="top" id="header">
+
+                  <!-- Utility controls -->
+                  <p:region regionName='dashboardnav' regionID='dashboardnav'/>
+
+                  <!-- navigation tabs and such -->
+                  <p:region regionName='navigation' regionID='navigation'/>
+                  <div id="spacer"></div>
+               </td>
+            </tr>
+         </table>
+         <div id="content-container">
+            <table width="100%">
+              <tr>
+                <td valign="top">
+                  <!-- insert the content of the 'center' region of the page, and assign the css selector id 'regionB' -->
+                  <p:region regionName='center' regionID='center'/>
+                </td>
+              </tr>
+            </table>
+            <hr class="cleaner"/>
+         </div>
+      </div>
+   </div>
+</div>
+
+<!-- TODO: Fix the auto jump in this tag -->
+<div id="footer-container" class="portal-copyright">Powered by
+<a class="portal-copyright" href="http://www.jboss.com/products/jbossportal">JBoss Portal</a><br/>
+</div>
+
+<p:region regionName='AJAXFooter' regionID='AJAXFooter'/>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/3columns/index.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/3columns/index.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/3columns/index.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,67 @@
+<%@ page import="org.jboss.portal.server.PortalConstants" %>
+<%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+   <title><%= PortalConstants.VERSION.toString() %></title>
+   <meta http-equiv="Content-Type" content="text/html;"/>
+   <!-- to correct the unsightly Flash of Unstyled Content. -->
+   <script type="text/javascript"></script>
+   <!-- inject the theme, default to the Renaissance theme if nothing is selected for the portal or the page -->
+   <p:theme themeName="renaissance"/>
+   <!-- insert header content that was possibly set by portlets on the page -->
+   <p:headerContent/>
+</head>
+
+<body id="body">
+<p:region regionName='AJAXScripts' regionID='AJAXScripts'/>
+<div id="portal-container">
+   <div id="sizer">
+      <div id="expander">
+         <div id="logoName"></div>
+         <table border="0" cellpadding="0" cellspacing="0" id="header-container">
+            <tr>
+               <td align="center" valign="top" id="header">
+
+                  <!-- Utility controls -->
+                  <p:region regionName='dashboardnav' regionID='dashboardnav'/>
+
+                  <!-- navigation tabs and such -->
+                  <p:region regionName='navigation' regionID='navigation'/>
+                  <div id="spacer"></div>
+               </td>
+            </tr>
+         </table>
+         <div id="content-container">
+            <table>
+              <tr>
+                <td valign="top" width="33%">
+                  <!-- insert the content of the 'left' region of the page, and assign the css selector id 'regionA' -->
+                  <p:region regionName='left' regionID='left'/>
+                </td>
+                <td valign="top" width="34%">
+                  <!-- insert the content of the 'center' region of the page, and assign the css selector id 'regionB' -->
+                  <p:region regionName='center' regionID='center'/>
+                </td>
+                <td valign="top" width="33%">
+                  <!-- insert the content of the 'center' region of the page, and assign the css selector id 'regionC' -->
+                  <p:region regionName='right' regionID='right'/>
+                </td>
+              </tr>
+            </table>
+            <hr class="cleaner"/>
+         </div>
+      </div>
+   </div>
+</div>
+
+<!-- TODO: Fix the auto jump in this tag -->
+<div id="footer-container" class="portal-copyright">Powered by
+<a class="portal-copyright" href="http://www.jboss.com/products/jbossportal">JBoss Portal</a><br/>
+</div>
+
+<p:region regionName='AJAXFooter' regionID='AJAXFooter'/>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/generic/index.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/generic/index.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/generic/index.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,54 @@
+<%@ page import="org.jboss.portal.server.PortalConstants" %>
+<%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+   <title><%= PortalConstants.VERSION.toString() %></title>
+   <meta http-equiv="Content-Type" content="text/html;"/>
+   <!-- to correct the unsightly Flash of Unstyled Content. -->
+   <script type="text/javascript"></script>
+   <!-- inject the theme, default to the Renaissance theme if nothing is selected for the portal or the page -->
+   <p:theme themeName="renaissance"/>
+   <!-- insert header content that was possibly set by portlets on the page -->
+   <p:headerContent/>
+</head>
+
+<body id="body">
+<p:region regionName='AJAXScripts' regionID='AJAXScripts'/>
+<div id="portal-container">
+   <div id="sizer">
+      <div id="expander">
+         <div id="logoName"></div>
+         <table border="0" cellpadding="0" cellspacing="0" id="header-container">
+            <tr>
+               <td align="center" valign="top" id="header">
+
+                  <!-- Utility controls -->
+                  <p:region regionName='dashboardnav' regionID='dashboardnav'/>
+
+                  <!-- navigation tabs and such -->
+                  <p:region regionName='navigation' regionID='navigation'/>
+                  <div id="spacer"></div>
+               </td>
+            </tr>
+         </table>
+         <div id="content-container">
+            <!-- insert the content of the 'left' region of the page, and assign the css selector id 'regionA' -->
+            <p:region regionName='left' regionID='regionA'/>
+            <!-- insert the content of the 'center' region of the page, and assign the css selector id 'regionB' -->
+            <p:region regionName='center' regionID='regionB'/>
+            <hr class="cleaner"/>
+         </div>
+      </div>
+   </div>
+</div>
+
+<div id="footer-container" class="portal-copyright">Powered by
+<a class="portal-copyright" href="http://www.jboss.com/products/jbossportal">JBoss Portal</a><br/>
+</div>
+
+<p:region regionName='AJAXFooter' regionID='AJAXFooter'/>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/generic/maximized.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/generic/maximized.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/layouts/generic/maximized.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,50 @@
+<%@ page import="org.jboss.portal.server.PortalConstants" %>
+<%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <title><%= PortalConstants.VERSION.toString() %></title>
+    <meta http-equiv="Content-Type" content="text/html;"/>
+    <!-- to correct the unsightly Flash of Unstyled Content. -->
+    <script type="text/javascript"></script>
+    <!-- use the renaissance theme if nothing else was defined for the portal or the page -->
+    <p:theme themeName="renaissance"/>
+    <!-- inject header content that was generated by the portlets on the requested page -->
+    <p:headerContent/>
+</head>
+
+<body id="body">
+<p:region regionName='AJAXScripts' regionID='AJAXScripts'/>
+<div id="portal-container">
+    <div id="sizer">
+        <div id="expander">
+            <div id="logoName"></div>
+            <table border="0" cellpadding="0" cellspacing="0" id="header-container">
+                <tr>
+                    <td align="center" valign="top" id="header">
+                        <p:region regionName='dashboardnav' regionID='dashboardnav'/>
+
+                        <p:region regionName='navigation' regionID='navigation'/>
+                        <div id="spacer"></div>
+                    </td>
+                </tr>
+            </table>
+            <div id="content-container">
+                <!-- Note: this construct assumes that the 'maximizedRegion' layout strategy was chosen for the layout, page or portal -->
+                <!-- the 'maximizedRegion' strategy assigns the maximized portlet to the 'maximized' region -->
+                <p:region regionName='maximized' regionID='regionMaximized'/>
+                <hr class="cleaner"/>
+
+                <div id="footer-container" class="portal-copyright">Powered by
+                    <a class="portal-copyright" href="http://www.jboss.com/products/jbossportal">JBoss Portal</a><br>
+                    <span id="ThemeBy"></span>
+                </div>
+            </div>
+
+        </div>
+    </div>
+</div>
+<p:region regionName='AJAXFooter' regionID='AJAXFooter'/>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/login/error.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/login/error.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/login/error.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,6 @@
+<html>
+<head/>
+<body>
+bad login
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/login/index.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/login/index.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/login/index.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,22 @@
+<%@ page import="org.jboss.portal.common.util.Tools"%><html>
+<head/>
+<body>
+<form method="POST" action="j_security_check">
+<%--
+<%
+
+   String redirect = request.getParameter("redirect");
+   if (redirect != null)
+   {
+      %>
+<input type="hidden" name="redirect" value="<%= Tools.createXWWWFormURLEncoded(redirect) %>"/>
+      <%
+   }
+%>
+--%>
+<input type="text" name="j_username" value=""/>
+<input type="password" name="j_password" value=""/>
+<input type="submit"/>
+</form>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/css/portal_style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/css/portal_style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/css/portal_style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,311 @@
+body {
+	background-image: url(../images/portal_utils/portal_background.gif);
+	margin: 0px;
+	padding: 0px;
+}
+
+table.portal-table {
+	background-image: url(../images/portal_utils/portal_table_background.gif);
+}
+
+/* Links */
+a {
+	color: #5699B7;
+	text-decoration: none;
+}
+a:hover  {
+	color: #242424;
+	text-decoration: none;
+}
+
+/********
+* FONTS *
+*********/
+
+/* Font attributes for the normal  fragment font.
+   Used for the display of non-accentuated information */
+.portlet-font {
+	color:#4A4A4A;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	margin-top: 7px;
+	margin-bottom: 5px;
+}
+
+/* Font attributes similar to the portlet.font but the color is lighter */
+.portlet-font-dim {
+	color:#FFFFFF;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+/********
+* FORMS *
+*********/
+
+/* Text used for the descriptive label of the whole form (not the label for fields) */
+.portlet-form-label {
+	color:#4A4A4A;
+	text-decoration:none;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+/* Text of the user-input in an input field */
+.portlet-form-input-field {
+	color:#4A4A4A;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+/* Text on a button */
+.portlet-form-button {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #270F07;
+}
+
+/* Text that appears beside a context dependent action icon */
+.portlet-icon-label {
+
+}
+
+/* Text that appears beside a "standard" icon (e.g Ok, or Cancel) */
+.portlet-dlg-icon-label {
+
+}
+
+/* Text for a separator of fields (e.g. checkboxes, etc.) */
+.portlet-form-field-label {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	color: #4A4A4A;
+
+}
+
+/* Text for a field (not input field, eg. checkboxes, etc.) */
+.portlet-form-field {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	color: #4A4A4A;
+	margin-top: 10px;
+
+}
+/* Links */
+.portal-links:link {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+	text-decoration: none;
+}
+.portal-links:hover  {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #5699B7;
+	text-decoration: none;
+}
+.portal-links:active {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+	text-decoration: none;
+}
+.portal-links:visited {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+	text-decoration: none;
+}
+/* title */
+.portal-central-title {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+	text-indent: 5px;
+}
+.portal-left-title-white {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #FFFFFF;
+}
+.portal-left-title-black {
+
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+}
+.portal-right-title-black {
+
+
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+}
+.portal-right-title-white {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #FFFFFF;
+}
+/***********
+* MESSAGES *
+************/
+
+/* Status of the current operation. */
+.portlet-msg-status {
+
+}
+
+/* Help messages, general additional information, etc. */
+.portlet-msg-info {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-style: italic;
+	color: #242424;
+
+}
+
+/* Error messages. */
+.portlet-msg-error {
+	color:red;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+}
+
+/* Warning messages. */
+.portlet-msg-alert {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+
+}
+
+/* Verification of the successful completion of a task. */
+.portlet-msg-success {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #00FF00;
+
+}
+/***********
+* SECTIONS *
+************/
+
+/* Table or section header */
+.portlet-section-header {
+    font-weight: bold;    
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	/*background-image: url(interf/head.jpg);*/
+}
+
+/* Normal text in a table cell */
+.portlet-section-body {
+	background-color: #DBEBF7;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+/* Text in every other row in the cell */
+.portlet-section-alternate {
+	background-color: #C7D6E0;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+/* Text in a selected cell range */
+.portlet-section-selected {
+	background-color: #89AEC6;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+/* Text of a subheading */
+.portlet-section-subheader {
+	font-weight: bold;
+	font-size: 9px;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	color: #FFFFFF;
+	margin: 3px;
+	padding: 3px;
+}
+
+/* Table or section footnote */
+.portlet-section-footer {
+  font-size: 6px;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories
+  (e.g. explanatory or help text that is associated with the section. */
+.portlet-section-text {
+
+}
+
+/********
+* MENUS *
+*********/
+
+.portlet-menu {
+
+}
+
+.portlet-menu-item {
+	color: #242424;
+	text-decoration: none;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+.portlet-menu-item:hover {
+	color: #5699B7;
+	text-decoration: none;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+.portal-title-level1 {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+	color: #FF8A00;
+	font-weight: bold;
+}
+.portlet-form-field-middle {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	color: #4A4A4A;
+	margin-top: 10px;
+	width: 91px;
+}
+.portal-title-level2 {
+
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	color: #002F4E;
+	font-weight: bold;
+}
+
+.portal-copyright {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 8px;
+	color: #002F4E;
+}
+
+/* Links */
+a.portal-copyright {
+	color: #242424;
+	text-decoration: none;
+}
+a.portal-copyright:hover  {
+	color: #002F4E;
+	text-decoration: none;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/css/portal_style_editor.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/css/portal_style_editor.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/css/portal_style_editor.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,311 @@
+body {
+	background-color: #FFFFFF;
+	margin: 0px;
+	padding: 0px;
+}
+
+table.portal-table {
+	background-image: url(../images/portal_utils/portal_table_background.gif);
+}
+
+/* Links */
+a {
+	color: #5699B7;
+	text-decoration: none;
+}
+a:hover  {
+	color: #242424;
+	text-decoration: none;
+}
+
+/********
+* FONTS *
+*********/
+
+/* Font attributes for the normal  fragment font.
+   Used for the display of non-accentuated information */
+.portlet-font {
+	color:#4A4A4A;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	margin-top: 7px;
+	margin-bottom: 5px;
+}
+
+/* Font attributes similar to the portlet.font but the color is lighter */
+.portlet-font-dim {
+	color:#FFFFFF;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+/********
+* FORMS *
+*********/
+
+/* Text used for the descriptive label of the whole form (not the label for fields) */
+.portlet-form-label {
+	color:#4A4A4A;
+	text-decoration:none;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+/* Text of the user-input in an input field */
+.portlet-form-input-field {
+	color:#4A4A4A;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+/* Text on a button */
+.portlet-form-button {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #270F07;
+}
+
+/* Text that appears beside a context dependent action icon */
+.portlet-icon-label {
+
+}
+
+/* Text that appears beside a "standard" icon (e.g Ok, or Cancel) */
+.portlet-dlg-icon-label {
+
+}
+
+/* Text for a separator of fields (e.g. checkboxes, etc.) */
+.portlet-form-field-label {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	color: #4A4A4A;
+
+}
+
+/* Text for a field (not input field, eg. checkboxes, etc.) */
+.portlet-form-field {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	color: #4A4A4A;
+	margin-top: 10px;
+
+}
+/* Links */
+.portal-links:link {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+	text-decoration: none;
+}
+.portal-links:hover  {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #5699B7;
+	text-decoration: none;
+}
+.portal-links:active {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+	text-decoration: none;
+}
+.portal-links:visited {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+	text-decoration: none;
+}
+/* title */
+.portal-central-title {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+	text-indent: 5px;
+}
+.portal-left-title-white {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #FFFFFF;
+}
+.portal-left-title-black {
+
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+}
+.portal-right-title-black {
+
+
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #242424;
+}
+.portal-right-title-white {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #FFFFFF;
+}
+/***********
+* MESSAGES *
+************/
+
+/* Status of the current operation. */
+.portlet-msg-status {
+
+}
+
+/* Help messages, general additional information, etc. */
+.portlet-msg-info {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-style: italic;
+	color: #242424;
+
+}
+
+/* Error messages. */
+.portlet-msg-error {
+	color:red;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+}
+
+/* Warning messages. */
+.portlet-msg-alert {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+
+}
+
+/* Verification of the successful completion of a task. */
+.portlet-msg-success {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	font-weight: bold;
+	color: #00FF00;
+
+}
+/***********
+* SECTIONS *
+************/
+
+/* Table or section header */
+.portlet-section-header {
+    font-weight: bold;    
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 14px;
+	/*background-image: url(interf/head.jpg);*/
+}
+
+/* Normal text in a table cell */
+.portlet-section-body {
+	background-color: #DBEBF7;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+/* Text in every other row in the cell */
+.portlet-section-alternate {
+	background-color: #C7D6E0;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+/* Text in a selected cell range */
+.portlet-section-selected {
+	background-color: #89AEC6;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+/* Text of a subheading */
+.portlet-section-subheader {
+	font-weight: bold;
+	font-size: 9px;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	color: #FFFFFF;
+	margin: 3px;
+	padding: 3px;
+}
+
+/* Table or section footnote */
+.portlet-section-footer {
+  font-size: 6px;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories
+  (e.g. explanatory or help text that is associated with the section. */
+.portlet-section-text {
+
+}
+
+/********
+* MENUS *
+*********/
+
+.portlet-menu {
+
+}
+
+.portlet-menu-item {
+	color: #242424;
+	text-decoration: none;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+.portlet-menu-item:hover {
+	color: #5699B7;
+	text-decoration: none;
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+}
+
+.portal-title-level1 {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 10px;
+	color: #FF8A00;
+	font-weight: bold;
+}
+.portlet-form-field-middle {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	color: #4A4A4A;
+	margin-top: 10px;
+	width: 91px;
+}
+.portal-title-level2 {
+
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 9px;
+	color: #002F4E;
+	font-weight: bold;
+}
+
+.portal-copyright {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 8px;
+	color: #002F4E;
+}
+
+/* Links */
+a.portal-copyright {
+	color: #242424;
+	text-decoration: none;
+}
+a.portal-copyright:hover  {
+	color: #002F4E;
+	text-decoration: none;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/decoration.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/decoration.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/decoration.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,51 @@
+<%@ page import="java.util.Iterator,
+                 java.util.MissingResourceException"%>
+<table border="0" cellpadding="0" cellspacing="0">
+<tr>
+<basic:forEachActionInWindow family="mode">
+   <% if (Boolean.TRUE == enabled)
+   {
+      try
+      {
+         String path = MODES.getString(name + "." + index);
+         %>
+         <td><a href="<%= url %>"><img src="<%= contextPath + path %>" border="0"/></a></td>
+         <%
+      }
+      catch (MissingResourceException e)
+      {
+         e.printStackTrace();
+      }
+   }
+   %>
+</basic:forEachActionInWindow>
+<basic:forEachActionInWindow family="windowstate">
+   <% if (Boolean.TRUE == enabled)
+   {
+      try
+      {
+         String path = WINDOW_STATES.getString(name + "." + index);
+         %>
+         <td><a href="<%= url %>"><img src="<%= contextPath + path %>" border="0"/></a></td>
+         <%
+      }
+      catch (MissingResourceException e)
+      {
+         e.printStackTrace();
+      }
+   }
+   %>
+</basic:forEachActionInWindow>
+<%--
+   <basic:forEachActionInWindow family="move">
+   <% if (Boolean.TRUE == enabled)
+      {
+      %>
+      <td><a href="<%= url %>"><%= name %></a></td>
+      <%
+      }
+   %>
+   </basic:forEachActionInWindow>
+--%>
+</tr>
+</table>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_add.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_add.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_create.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_create.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_01.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_01.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_02.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_02.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_03.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_03.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_04.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_04.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_05.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_05.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_06.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_06.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_07.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_07.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_08.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_08.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_09.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_left/bouton_portlet_left_09.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_01.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_01.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_02.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_02.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_03.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_03.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_04.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_04.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_05.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_05.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_06.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_06.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_07.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_07.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_08.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_08.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_09.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_portlet_middle/portal_btn_09.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_submit.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/btn_submit.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/line.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/line.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_background.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_background.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_border_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_border_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_head.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_head.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_head.jpg
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_head.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_table_background.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portal_utils/portal_table_background.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_01.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_01.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_02.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_02.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_03.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_03.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_04.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_04.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_05.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_05.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_06.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_06.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_07.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_07.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_08.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_08.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_09.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_09.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_10.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_10.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_11.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_11.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_12.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_12.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_13.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_13.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_14.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_14.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_15.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_15.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_16.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_16.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_17.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_17.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_18.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/portlet_black_bottom_18.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_bottom/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_01.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_01.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_02.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_02.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_03.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_03.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_04.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_04.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_05.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_05.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_06.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_06.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_07.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_07.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_08.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_08.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_09.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_09.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_10.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_10.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_11.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_11.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_12.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_12.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_13.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_13.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_14.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_14.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_15.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_15.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_16.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_16.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_17.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_17.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_18.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_18.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_19.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_19.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_20.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/portlet_black_middle_20.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_middle/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_background.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_background.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_01.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_01.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_02.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_02.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_03.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_03.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_04.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_04.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_05.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_05.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_06.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_06.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_07.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_07.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_08.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_08.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_09.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_09.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_10.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_10.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_11.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_11.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_12.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_12.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_13.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_13.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_14.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_14.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_15.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/portlet_black_top_15.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_black_top/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_background.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_background.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_01.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_01.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_02.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_02.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_03.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_03.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_04.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_04.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_05.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_05.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_06.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_06.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_07.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_07.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_08.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_08.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_09.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_09.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_10.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_10.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_11.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_11.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_12.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_12.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_13.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_13.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_14.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_14.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_15.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_15.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_16.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_16.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_17.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_17.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_18.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_left_middle_18.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_middle_top_03.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/portlet_middle_top_03.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_middle/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/edit.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/edit.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/help.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/help.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/maximize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/maximize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/minimize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/minimize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/normal.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/normal.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_background.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_background.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_01.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_01.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_02.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_02.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_03.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_03.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_04.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_04.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_05.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_05.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_06.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_06.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_07.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_07.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_08.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_08.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_12.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_12.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_13.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_13.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_14.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_14.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_15.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_15.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_16.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_16.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_17.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_17.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_18.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_18.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_19.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_19.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_20.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_20.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_21.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/portlet_left_top_21.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/view.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_left_top/view.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_01.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_01.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_02.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_02.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_03.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_03.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_04.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_04.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_05.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_05.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_06.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_06.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_07.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_07.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_08.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_08.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_09.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_09.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_10.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_10.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_11.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_11.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_12.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_12.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_13.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_13.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_14.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_14.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_15.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_15.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_16.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_16.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_17.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_17.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_18.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/portlet_middle_bottom_18.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_bottom/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/edit.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/edit.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/help.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/help.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/maximize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/maximize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/minimize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/minimize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/normal.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/normal.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_01.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_01.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_02.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_02.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_03.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_03.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_04.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_04.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_08.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_08.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_09.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_09.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_10.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_10.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_11.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_11.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_12.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_12.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_13.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_13.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_14.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_14.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_15.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_15.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_16.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_16.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_17.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_17.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_18.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_18.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_19.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/portlet_middle_top_19.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/view.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/images/portlet_middle_top/view.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/index.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/index.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/nodesk/index.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,270 @@
+<%!
+
+   /** Left region index. */
+   private static final int LEFT = 0;
+
+   /** Center region index. */
+   private static final int CENTER = 1;
+
+   /** Right region index. */
+   private static final int RIGHT = 2;
+
+   private static ResourceBundle MODES;
+   private static ResourceBundle WINDOW_STATES;
+
+   static
+   {
+      MODES = ResourceBundle.getBundle("nodesk.Modes");
+      WINDOW_STATES = ResourceBundle.getBundle("nodesk.WindowStates");
+   }
+
+%>
+
+<%@ taglib uri="/WEB-INF/theme-basic-lib.tld" prefix="basic" %>
+<%@ page
+    import="java.util.Iterator,
+            java.io.Writer,
+            java.io.IOException,
+            java.io.StringWriter,
+            java.util.Map,
+            java.util.HashMap,
+            org.jboss.portal.theme.LayoutConstants,
+            org.jboss.portal.theme.page.PageResult,
+            java.util.ResourceBundle"%>
+<%@ page import="org.jboss.portal.server.PortalConstants"%>
+<%
+   String contextPath = request.getContextPath();
+   int nbCol = 3;
+   boolean leftIsEmpty = false;
+   boolean centerIsEmpty = false;
+   boolean rightIsEmpty = false;
+
+   String left = "left";
+   String center = "center";
+   String right = "right";
+
+   PageResult pageResult = (PageResult)request.getAttribute(LayoutConstants.ATTR_PAGE);
+//   String layoutState = (String)request.getAttribute(LayoutConstants.PARAM_LAYOUT_STATE);
+   if ("maximized".equals(pageResult.getLayoutState()))
+   {
+      left = "";
+      center = "left,center,right";
+      right = "";
+      leftIsEmpty = true;
+      centerIsEmpty = false;
+      rightIsEmpty = true;
+   }
+   else
+   {
+      %>
+      <%
+   }
+
+%>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><%= PortalConstants.VERSION %></title>
+<meta http-equiv="Content-Type" content="<%= response.getContentType() %>" />
+<script language="JavaScript" type="text/javascript">
+<!--
+function MM_reloadPage(init) {  //reloads the window if Nav4 resized
+  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
+    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
+  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
+}
+MM_reloadPage(true);
+//-->
+</script>
+<link href="<%= contextPath %>/nodesk/css/portal_style.css" rel="stylesheet" type="text/css" />
+<!--<link href="/portal-forums/subSilver/styles.css" rel="stylesheet" type="text/css" />-->
+<link rel="shortcut icon" href="<%= contextPath %>/images/favicon.ico" />
+</head>
+<body>
+<table width="789" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="portal-table">
+ <!--DWLayoutTable-->
+ <tr>
+  <td height="111" colspan="<%= nbCol %>" align="center" valign="top"><img src="<%= contextPath %>/nodesk/images/portal_utils/portal_head.jpg" width="743" height="109"></td>
+ </tr>
+ <tr>
+  <%
+    if (!leftIsEmpty) {
+      int index = LEFT;
+    %>
+  <td width="221" height="568" valign="top">
+    <table border="0" align="right" cellpadding="0" cellspacing="0" background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_background.gif">
+
+    <basic:forEachWindowInRegion region="<%= left %>">
+   <tr>
+    <td>
+      <table id="left" border="0" cellpadding="0" cellspacing="0">
+      <tr>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_01.gif" width="15" height="5" alt=""></td>
+       <td colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_02.gif" width="100%" height="5" alt=""></td>
+       <td rowspan="2"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_03.gif" width="14" height="21" alt=""></td>
+      </tr>
+      <tr>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_04.gif" width="15" height="16" alt=""></td>
+       <td width="15"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_05.gif" width="15" height="16" alt=""></td>
+       <!--td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_06.gif" width="1" height="16" alt=""></td-->
+       <td nowrap height="16" valign="middle" background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_07.gif" class="portal-left-title-white"><%= title %></td>
+       <td width="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_08.gif" width="4" height="16" alt=""></td>
+       <td background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_07.gif" align="right" width="100%">
+          <%@ include file="decoration.jsp" %>
+       </td>
+      </tr>
+      <tr>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_12.gif" width="15" height="7" alt=""></td>
+       <td colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_13.gif" width="100%" height="7" alt=""></td>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_14.gif" width="14" height="7" alt=""></td>
+      </tr>
+      <tr>
+       <td background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_15.gif"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_15.gif" width="15" height="100%" alt=""></td>
+       <td colspan="4" bgcolor="#FFFFFF"><%= content %></td>
+       <td width="14" background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_17.gif"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_17.gif" width="14" height="100%" alt=""></td>
+      </tr>
+      <tr>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_18.gif" width="15" height="15" alt=""></td>
+       <td colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_19.gif" width="100%" height="15" alt=""></td>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_20.gif" width="14" height="15" alt=""></td>
+      </tr>
+      <tr>
+       <td colspan="6"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_21.gif" width="191" height="1" alt=""></td>
+      </tr>
+      <tr>
+       <td colspan="6"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/spacer.gif" height="1" alt=""></td>
+      </tr>
+     </table>
+     </td>
+     </tr>
+    </basic:forEachWindowInRegion>
+  </table>
+  </td>
+    <%
+  }
+    %>
+
+    <%
+    if (!centerIsEmpty) {
+      int index = CENTER;
+    %>
+  <td width="100%" valign="top">
+    <table id="main" width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
+    <basic:forEachWindowInRegion region="<%= center %>">
+      <tr>
+       <td height="16" width="24" colspan="2" rowspan="2"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_01.gif" width="24" height="16" alt=""></td>
+       <td height="3" colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_02.gif" width="100%" height="3" alt=""></td>
+       <td height="3"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="3" alt=""></td>
+      </tr>
+      <tr>
+       <td height="18" rowspan="2" width="100%" valign="middle" background="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_03.gif" class="portal-left-title-black"><%= title %></td>
+       <td height="18" rowspan="2" background="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_03.gif"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_04.gif" width="9" height="18" alt=""></td>
+
+
+
+       <td height="18" rowspan="2" background="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_03.gif" align="right">
+          <%@ include file="decoration.jsp" %>
+       </td>
+       <td height="18" rowspan="2"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_08.gif" width="17" height="18" alt=""></td>
+       <td height="13"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="13" alt=""></td>
+      </tr>
+      <tr>
+       <td height="11" width="14" rowspan="2"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_09.gif" width="14" height="11" alt=""></td>
+       <td height="5" width="10"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_10.gif" width="10" height="5" alt=""></td>
+       <td height="5"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="5" alt=""></td>
+      </tr>
+      <tr>
+       <td height="6" colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_11.gif" width="100%" height="6" alt=""></td>
+       <td height="6"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_12.gif" width="17" height="6" alt=""></td>
+       <td height="6"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="6" alt=""></td>
+      </tr>
+      <tr>
+       <td background="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_13.gif">&nbsp;</td>
+       <td colspan="4" valign="top" bgcolor="#FFFFFF"><%
+            %>
+            <%= content %>
+        </td>
+       <td background="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_15.gif">&nbsp;</td>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="328" alt=""></td>
+      </tr>
+      <tr>
+       <td height="16"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_16.gif" width="14" height="16" alt=""></td>
+       <td height="16" colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_18.gif" width="100%" height="16" alt=""></td>
+       <td height="16"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_19.gif" width="17" height="16" alt=""></td>
+       <td height="16"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="16" alt=""></td>
+      </tr>
+      <tr>
+       <td colspan="7"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="100%" height="1" alt=""></td>
+      </tr>
+    </basic:forEachWindowInRegion>
+    </table>
+  </td>
+    <%
+  }
+    %>
+
+    <%
+    if (!rightIsEmpty) {
+      int index = RIGHT;
+    %>
+  <td valign="top">
+      <table width="191" border="0" align="right" cellpadding="0" cellspacing="0" background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_background.gif">
+      <basic:forEachWindowInRegion region="<%= right %>">
+   <tr>
+    <td>
+      <table id="right" border="0" cellpadding="0" cellspacing="0">
+      <tr>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_01.gif" width="15" height="5" alt=""></td>
+       <td colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_02.gif" width="100%" height="5" alt=""></td>
+       <td rowspan="2"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_03.gif" width="15" height="21" alt=""></td>
+      </tr>
+      <tr>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_04.gif" width="15" height="16" alt=""></td>
+       <td width="15"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_05.gif" width="15" height="16" alt=""></td>
+       <!--td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_06.gif" width="1" height="16" alt=""></td-->
+       <td nowrap valign="middle" background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_07.gif" class="portal-left-title-white"><%= title %></td>
+       <td width="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_08.gif" width="4" height="16" alt=""></td>
+       <td background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_07.gif" align="right" width="100%">
+          <%@ include file="decoration.jsp" %>
+       </td>
+      </tr>
+      <tr>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_12.gif" width="15" height="7" alt=""></td>
+       <td colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_13.gif" width="100%" height="7" alt=""></td>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_14.gif" width="14" height="7" alt=""></td>
+      </tr>
+      <tr>
+       <td background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_15.gif"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_15.gif" width="15" height="100%" alt=""></td>
+       <td colspan="4" bgcolor="#FFFFFF"><%= content %></td>
+       <td background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_17.gif"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_17.gif" width="14" height="100%" alt=""></td>
+      </tr>
+      <tr>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_18.gif" width="15" height="15" alt=""></td>
+       <td colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_19.gif" width="100%" height="15" alt=""></td>
+       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_20.gif" width="14" height="15" alt=""></td>
+      </tr>
+      <tr>
+       <td colspan="6"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_21.gif" width="191" height="1" alt=""></td>
+      </tr>
+      <tr>
+       <td colspan="6"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/spacer.gif" height="1" alt=""></td>
+      </tr>
+     </table>
+     </td>
+     </tr>
+     </basic:forEachWindowInRegion>
+</table>
+
+  </td>
+ </tr>
+ <% } %>
+
+ <tr>
+  <td class="portal-copyright" height="10" colspan="<%= nbCol %>" align="center" valign="top">Powered by <a class="portal-copyright" href="http://www.jboss.com/products/jbossportal">JBoss Portal</a><br>
+  Theme by <a class="portal-copyright" href="http://www.nodesk.org">Nodesk</a>
+  </td>
+ </tr>
+</table>
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/css/portal_style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/css/portal_style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/css/portal_style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,88 @@
+body {
+   margin: 0px;
+   padding: 0px;
+}
+
+/* Links */
+a {
+   color: #4566D4;
+   text-decoration: none;
+}
+
+a:hover {
+   color: #336699;
+   text-decoration: none;
+}
+
+/*Fonts*/
+.portlet-font {
+   color: #000000;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+.portlet-font-dim {
+   color: #777777;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+h2 {
+   color: #000000;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 14px;
+   padding: 0px;
+   margin: 0px;
+}
+
+/*Tables*/
+.portlet-section-header {
+   font-weight: bold;
+   color: #000000;
+   font-size: 13px;
+   background-color: #CBD4E6;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+}
+
+.portlet-section-body {
+   background-color: #FFFFFF;
+}
+
+.portlet-section-alternate {
+   background-color: #E2E9F6;
+}
+
+.portlet-section-selected {
+   background-color: #89AEC6;
+   font-size: 10px;
+}
+
+.portlet-section-subheader {
+   font-weight: bold;
+   font-size: 10px;
+}
+
+.portlet-section-footer {
+   font-size: 6px;
+}
+
+/*Forms*/
+.portlet-form-label {
+   color: #4A4A4A;
+   text-decoration: none;
+   font-size: 9px;
+}
+
+.portlet-form-input-field {
+   color: #FFFFFF;
+   font-size: 12px;
+   border-color: #000000;
+   border-style: solid;
+   border-width: 1px;
+   background-color: #336699;
+}
+
+.portlet-form-button {
+   font-size: 10px;
+   color: #000000;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/decoration.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/decoration.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/decoration.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+<%@ page
+      import="java.util.MissingResourceException" %>
+
+<basic:forEachActionInWindow family="mode">
+   <%
+      if(Boolean.TRUE == enabled)
+      {
+         try
+         {
+            String path = MODES.getString(name);
+   %>
+   <a href="<%= url %>"><img src="<%= contextPath + path %>" height="20" border="0"alt="<%= name %>"/></a>
+   <%
+         }
+         catch(MissingResourceException e)
+         {
+            e.printStackTrace();
+         }
+      }
+   %>
+</basic:forEachActionInWindow>
+<basic:forEachActionInWindow family="windowstate">
+   <%
+      if(Boolean.TRUE == enabled)
+      {
+         try
+         {
+            String path = WINDOW_STATES.getString(name);
+   %>
+   <a href="<%= url %>"><img src="<%= contextPath + path %>" height="20" border="0" alt="<%= name %>"/></a>
+   <%
+         }
+         catch(MissingResourceException e)
+         {
+            e.printStackTrace();
+         }
+      }
+   %>
+</basic:forEachActionInWindow>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/edit.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/edit.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/header_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/header_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/header_border_bottom.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/header_border_bottom.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/header_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/header_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/help.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/help.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/maximize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/maximize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/minimize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/minimize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/modes_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/modes_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/modes_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/modes_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/modes_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/modes_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/normal.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/normal.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_bottom.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_bottom.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_top.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/page_border_top.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_header_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_header_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_border_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_border_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_btm_center.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_btm_center.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_btm_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_btm_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_btm_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_btm_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_top_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_top_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_top_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/portlet_window_top_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/view.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/images/view.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/index.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/index.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/index.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,135 @@
+<%@ taglib uri="/WEB-INF/theme-basic-lib.tld" prefix="basic" %>
+<%@ page
+      import="org.jboss.portal.server.PortalConstants" %>
+<%@ page import="java.util.ResourceBundle"%>
+<%@ page import="org.jboss.portal.theme.page.PageResult"%>
+<%@ page import="org.jboss.portal.theme.LayoutConstants"%>
+
+<%!
+   /** Left region index. */
+   private static final int LEFT = 0;
+
+   /** Center region index. */
+   private static final int CENTER = 1;
+
+   private static ResourceBundle MODES;
+   private static ResourceBundle WINDOW_STATES;
+
+   static
+   {
+      MODES = ResourceBundle.getBundle("phalanx.Modes");
+      WINDOW_STATES = ResourceBundle.getBundle("phalanx.WindowStates");
+   }
+%>
+
+<%
+   String contextPath = request.getContextPath();
+   String left = "left";
+   String center = "center";
+   boolean leftIsEmpty = false;
+   boolean centerIsEmpty = false;
+   boolean maximized = false;
+
+   PageResult pageResult = (PageResult)request.getAttribute(LayoutConstants.ATTR_PAGE);
+   if ("maximized".equals(pageResult.getLayoutState()))
+   {
+      center = "maximized";
+      maximized = true;
+   }
+%>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+   <title><%= PortalConstants.VERSION %></title>
+   <meta http-equiv="Content-Type" content="<%= response.getContentType() %>"/>
+   <link rel="shortcut icon" href="<%= contextPath %>/phalanx/images/favicon.ico"/>
+   <link href="<%= contextPath %>/phalanx/css/portal_style.css" rel="stylesheet" type="text/css" />
+   <!--<link href="/portal-forums/subSilver/styles.css" rel="stylesheet" type="text/css" />-->
+</head>
+
+<body bgcolor="#E7E7E7">
+
+<div align="center">
+   <table cellspacing="0" cellpadding="0" width="95%">
+      <tr>
+         <td colspan="3"><img src="<%= contextPath %>/phalanx/images/page_border_top.gif" width="100%" height="3"></td>
+      </tr>
+      <tr>
+         <td background="<%= contextPath %>/phalanx/images/page_border_left.gif"><img
+               src="<%= contextPath %>/phalanx/images/page_border_left.gif" height="100%" width="3"></td>
+         <td background="<%= contextPath %>/phalanx/images/header_bg.gif" height="126" width="100%">
+            <!-- begin main table -->
+            <table width="100%" cellspacing="0" cellpadding="0">
+               <tr>
+                  <td height="126" align="left"><img src="<%= contextPath %>/phalanx/images/logo.gif" border="0" alt="JBoss Portal - The Open Source Portal"></td>
+                  <td align="right"><img src="<%= contextPath %>/phalanx/images/header_right.gif"></td>
+               </tr>
+               <tr>
+                  <td colspan="2"><img src="<%= contextPath %>/phalanx/images/header_border_bottom.gif" width="100%" height="3"></td>
+               </tr>
+               <tr>
+                  <td colspan="2">
+                     <!-- main content space -->
+                     <table width="100%" bgcolor="#FFFFFF" cellspacing="0" cellpadding="5">
+                        <tr>
+                           <!-- left region -->
+                           <%
+                              if (maximized)
+                              {
+                           %>
+                           <td width="100%" valign="top">
+                              <basic:forEachWindowInRegion region="<%= center %>">
+                                 <%@ include file="window.jsp" %>
+                              </basic:forEachWindowInRegion>
+                           </td>
+                           <% }  else { %>
+                           <td width="30%" valign="top">
+                           <%
+                           if (!leftIsEmpty) {
+                           %>
+                              <basic:forEachWindowInRegion region="<%= left %>">
+                                 <%@ include file="window.jsp" %>
+                              </basic:forEachWindowInRegion>
+                           <% } %>
+                           </td>
+                           <!-- center region -->
+                           <td width="70%" valign="top">
+                           <%
+                           if (!centerIsEmpty) {
+                           %>
+                              <basic:forEachWindowInRegion region="<%= center %>">
+                                 <%@ include file="window.jsp" %>
+                              </basic:forEachWindowInRegion>
+                           <% } %>
+                           </td>
+                           <% } %>
+                        </tr>
+                     </table>
+                  </td>
+               </tr>
+            </table>
+            <!-- end main table -->
+         </td>
+         <td background="<%= contextPath %>/phalanx/images/page_border_right.gif"><img
+               src="<%= contextPath %>/phalanx/images/page_border_right.gif" height="100%" width="3"></td>
+      </tr>
+      <tr>
+         <td colspan="3"><img src="<%= contextPath %>/phalanx/images/page_border_bottom.gif" width="100%" height="3"></td>
+      </tr>
+   </table>
+
+   <!-- footer table -->
+   <table cellspacing="0" cellpadding="0" border="0" width="95%">
+      <tr>
+         <td align="left"><div class="portlet-font-dim" style="font-size:10px">
+            Copyright 2005, JBoss Inc.<br>
+            Powered by <a href="http://www.jboss.com/products/jbossportal" target="_blank">JBoss Portal</a>
+            </div></td>
+      </tr>
+   </table>
+</div>
+<br>
+</body>
+</html>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/window.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/window.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/phalanx/window.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,59 @@
+<table width="100%" cellpadding="0" cellspacing="0" border="0">
+   <tr>
+      <td width="8" height="33"><img
+            src="<%= contextPath %>/phalanx/images/portlet_window_top_left.gif"></td>
+      <td height="33" background="<%= contextPath %>/phalanx/images/portlet_header_bg.gif">
+         <table cellpadding="0" cellspacing="0" border="0" width="100%">
+            <tr>
+               <td align="left">
+                  <font face="Verdana, Arial, Helvetica, sans-serif" style="font-size:14px">
+                     <b><%= title %></b></font>
+               </td>
+               <td align="right">
+                  <table cellpadding="0" cellspacing="0" border="0">
+                     <tr>
+                        <td align="right" height="20" background="<%= contextPath %>/phalanx/images/modes_bg.gif">
+                           <img src="<%= contextPath %>/phalanx/images/modes_left.gif">
+                           <%@ include file="decoration.jsp" %>
+                           <img src="<%= contextPath %>/phalanx/images/modes_right.gif">
+                        </td>
+                     </tr>
+                  </table>
+               </td>
+            </tr>
+         </table>
+      </td>
+      <td height="33" width="12"><img
+            src="<%= contextPath %>/phalanx/images/portlet_window_top_right.gif" height="33"
+            width="12"></td>
+   </tr>
+<%
+   // hack for minimized windows
+   if (content != null)
+   {
+%>
+   <tr>
+      <td colspan="3">
+         <table width="100%" cellpadding="0" cellspacing="0" border="0">
+            <tr>
+               <td bgcolor="#535353"><img src="<%= contextPath %>/phalanx/images/spacer.gif">
+               </td>
+               <td width="100%" bgcolor="#FFFFFF" style="padding:5px;" align="left"><div
+                     class="portlet-font"><%= content %></div></td>
+               <td background="<%= contextPath %>/phalanx/images/portlet_window_border_right.gif">
+                  <img src="<%= contextPath %>/phalanx/images/spacer.gif" width="4">
+               </td>
+            </tr>
+         </table>
+      </td>
+   </tr>
+<% }  %>
+   <tr>
+      <td><img src="<%= contextPath %>/phalanx/images/portlet_window_btm_left.gif"></td>
+      <td width="100%"
+          background="<%= contextPath %>/phalanx/images/portlet_window_btm_center.gif"></td>
+      <td><img src="<%= contextPath %>/phalanx/images/portlet_window_btm_right.gif"></td>
+   </tr>
+
+</table>
+<br/>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/JBossLogo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/JBossLogo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/JBossLogoV2.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/JBossLogoV2.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/Thumbs.db
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/Thumbs.db
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/activeTab.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/activeTab.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/admin.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/admin.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/edit.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/edit.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/favicon.ico
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/header.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/header.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/help.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/help.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/highlightedTab.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/highlightedTab.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/ico_addcontent.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/ico_addcontent.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/maximize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/maximize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/minimize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/minimize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/normal.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/normal.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portal_background.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portal_background.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-bottom-left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-bottom-left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-bottom-middle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-bottom-middle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-bottom-right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-bottom-right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-left-vertical.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-left-vertical.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-right-vertical.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-right-vertical.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-top-left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-top-left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-top-middle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-top-middle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-top-right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-top-right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-win-decoration.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/portlet-win-decoration.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/reload.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/reload.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/remove.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/remove.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/view.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/images/view.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/portal_style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/portal_style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/industrial/portal_style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1033 @@
+/*****************************
+* JBoss Industrial Theme CSS *
+******************************/
+
+#body {
+   background-image: url( images/portal_background.gif );
+   margin: 0px;
+   padding: 0px;
+}
+
+/*****************
+* Portal Header  *
+******************/
+
+/* spacer to keep header at certain width regardless of display size
+done to avoid overlapping of tab navigation in header */
+#spacer {
+   width: 1024px;
+   line-height: 0px;
+   font-size: 0px;
+   height: 0px;
+}
+
+/* Wrapper for Header */
+#header-container {
+   background-image: url( images/portal_background.gif );
+   background-repeat: repeat-y;
+   height: 100%;
+   min-width: 1000px;
+   width: 100%;
+   /* test to reposition header on page
+  position: absolute;
+  bottom: 5px;*/
+}
+
+/* Header background */
+#header {
+   background-image: url( images/header.gif );
+   background-repeat: repeat-x;
+   height: 100px;
+   padding: 0px; /*margin: 0 25% 0 25%;*/
+}
+
+#logoName {
+/*	Original Logo...*/
+   background-image: url( images/JBossLogo.gif );
+   background-repeat: no-repeat;
+   width: 187px;
+   height: 35px;
+   position: absolute;
+   left: 15px;
+   top: 16px;
+
+   /* alt Smokestack Logo in header...
+      background-image: url(images/JBossLogoV2.gif);
+      background-repeat: no-repeat;
+      width: 576px;
+      height: 71px;
+      position: absolute;
+      left: 0px;
+      top: 1px;	*/
+
+   z-index: 2;
+
+}
+
+/************************
+* Portal Layout Regions *
+*************************/
+
+/* wrapper for entire portal. starts/ends after/before body tag */
+#portal-container {
+/*width: 100%;*/
+
+/*part of below IE hack to preserve min-width for portlet regions */
+   padding: 0 350px 0 350px;
+}
+
+/* min width hack for IE */
+#expander {
+   margin: 0 -350px 0 -350px;
+   position: relative;
+}
+
+/* min width hack for IE */
+#sizer {
+   width: 100%;
+}
+
+/* IE Hack \*/
+* html #portal-container,
+   * html #sizer,
+   * html #expander {
+   height: 0;
+}
+
+/* end IE min-width hack */
+
+/*table that contains all regions. does not include header*/
+#content-container {
+   height: 100%; /*width: 100%;*/
+   /*margin:1em auto;
+border: 1px solid black;*/
+   text-align: left;
+   max-width: 1600px;
+   min-width: 800px;
+
+   /*part of below IE hack
+padding: 0 350px 0 350px;*/
+}
+
+/* Login JSP Selectors */
+#login-container {
+   position: relative;
+   left: 35%;
+   top: 55px;
+   right: 45%;
+   width: 320px;
+   height: 250px;
+   margin: 0px;
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 10px;
+}
+
+#login-container fieldset {
+   background-color: transparent;
+}
+
+#login-container label, #login-container input {
+   display: block;
+   float: left;
+   width: auto;
+   margin-top: 15px;
+}
+
+#login-container label {
+   text-align: right;
+   padding-right: 20px;
+   width: 95px;
+}
+
+#login-container br {
+   clear: left;
+}
+
+#login-container legend {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 13px;
+   font-weight: bold;
+   color: #596874;
+}
+
+#loginForm {
+   margin: 0px;
+   padding: 0px;
+}
+
+/* end Login Page Selectors */
+
+/* portlet regions within content-container. this includes footer-container. */
+#regionA {
+   /* test to swap columns...
+ float: right; */
+
+   width: 30%;
+   float: left;
+   margin: 0px;
+   padding: 0px;
+   min-width: 250px;
+   height: 300px;
+}
+
+#regionB {
+   /*test to swap columns...
+margin: 0 30% 0 0; */
+
+/* two column layout*/
+   margin: 0 0 0 30%;
+   padding: 0;
+   width: 69%;
+   height: 300px;
+
+   /* test to add 3rd region in layout...
+  width: 40%;
+  float: left;*/
+}
+
+#regionC {
+   /* inclusion of 3rd region - comment out for 2 region testing
+  padding: 0px;
+  width: 27%;
+  float: left;*/
+   display: none;
+   height: 300px;
+}
+
+/* give a maximized portlet more space */
+#regionMaximized {
+   width: 100%;
+   float: left;
+   margin: 0px;
+   padding: 0px;
+   min-width: 400px;
+}
+
+#footer-container {
+/* margin: 30px 25% 0 25%;*/
+   text-align: center;
+   width: 99.5%;
+}
+
+#navigation-container {
+
+}
+
+#sub-navigation-container {
+
+}
+
+/* used to clear float in regionA,B,C divs so that
+footer spans bottom of page */
+hr.cleaner {
+   clear: both;
+   height: 1px;
+   margin: -1px 0 0 0;
+   padding: 0;
+   border: none;
+   visibility: hidden;
+}
+
+/****************************
+* Tab Navigation for Header *
+*****************************/
+
+UL#tabsHeader {
+   margin: 0;
+   padding-left: 300px;
+   min-width: 550px;
+   z-index: 100; /* added for submenu hover */
+   position: relative; /* added for submenu hover */
+}
+
+UL#tabsHeader li {
+   list-style: none;
+   float: left;
+   margin-left: -1px;
+   margin-top: 74px;
+   margin-right: 0px;
+   line-height: 16px;
+   padding: 0px;
+   border-right: 1px solid #72828E;
+   border-left: 1px solid #72828E;
+}
+
+UL#tabsHeader li:hover {
+   background-image: url( images/highlightedTab.gif );
+   background-repeat: repeat-x;
+}
+
+/* hover selectors for main header tabs done to deal
+with IE not liking hover pseudo class on li */
+UL#tabsHeader li.hoverOn {
+   background-image: url( images/highlightedTab.gif );
+   background-repeat: repeat-x;
+}
+
+UL#tabsHeader li.hoverOff {
+   background-image: none;
+}
+
+UL#tabsHeader a {
+   display: block;
+   float: left;
+   padding: 4px 15px 5px 15px;
+   text-decoration: none;
+   font: 13px / normal Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   background: 100% 0 no-repeat;
+   color: #596874;
+}
+
+UL#tabsHeader a:hover {
+   text-decoration: underline;
+}
+
+UL#tabsHeader #current, UL#tabsHeader #current a {
+   font: 13px / normal Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-weight: 600;
+   color: #EBEAEA;
+   background-image: url( images/activeTab.gif );
+   background-repeat: repeat-x;
+}
+
+/* Begin Submenu selectors */
+
+/* hide the sub levels and give them a positon absolute so that they take up no room */
+UL#tabsHeader ul {
+   visibility: hidden;
+   position: absolute;
+   height: 0;
+   top: 0px;
+   left: 0;
+   width: 150px;
+   text-align: left;
+   margin: 0px;
+   padding: 0px;
+   margin-top: 22px;
+}
+
+UL#tabsHeader ul a {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+
+}
+
+UL#tabsHeader ul a:hover {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+}
+
+UL#tabsHeader #current ul a {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+}
+
+UL#tabsHeader li:hover ul {
+   visibility: visible;
+}
+
+UL#tabsHeader ul li {
+   background: #EDECEC;
+   color: #5078aa;
+   padding: 3px;
+   width: 120px;
+
+   border: 1px solid #FFFFFF;
+   border-width: 1px 1px 0 0;
+
+   margin-left: 0px;
+   margin-top: 0px;
+   margin-right: 0px;
+}
+
+UL#tabsHeader ul li:hover {
+   background: #E2E2E2;
+}
+
+/* End Submenu selectors */
+
+/* used for sub navigation if applicable
+UL#tabsHeader #currentSubNav, UL#tabsHeader #currentSubNav a {
+  color: #000;
+  line-height: 19px;
+  padding-top: 0px;
+  padding-bottom: 1px;
+  margin-bottom: -1px;
+  background: #eeeeef;
+}*/
+
+/* Tab background color for selected global nav item */
+li.currentTabBackground {
+   background: #fff;
+}
+
+/* used for sub navigation if applicable
+li.currentTabBackgroundSubNav {
+  background: #eeeeef;
+}*/
+
+/* backslash hack for IE5-Mac \*/
+UL#tabsHeader a {
+   float: none;
+}
+
+/* End Mac Hack */
+html>body UL#tabsHeader a {
+   width: auto;
+}
+
+/* fixes IE6 win hack */
+
+/***************************
+*  Utility Navigation  *
+*****************************/
+
+#dashboardnav {
+   float: right;
+   font-size: 10px;
+   padding: 6px 12px 0px 0px;
+   color: #FFFFFF;
+   z-index: 20;
+}
+
+#dashboardnav a {
+   color: #FFFFFF;
+}
+
+#dashboardnav .addcontent {
+   background-image: url( images/ico_addcontent.gif );
+   background-repeat: no-repeat;
+   background-position: left;
+   height: 20px;
+   width: 20px;
+   padding-left: 16px;
+}
+
+/****************************
+* Portlet Container Windows *
+*****************************/
+
+.portlet-container {
+/*margin: 10px;*/
+   padding: 10px;
+}
+
+.portlet-titlebar-title {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   font-weight: 500;
+   color: #596874;
+   white-space: nowrap;
+   line-height: 100%;
+   float: left;
+   text-indent: 15px;
+}
+
+.portlet-titlebar-decoration {
+   background-image: url( images/portlet-win-decoration.gif );
+   background-repeat: no-repeat;
+   height: 11px;
+   width: 11px;
+   float: left;
+   position: relative;
+   top: 6px;
+}
+
+/* wrapper for floating portlet window modes */
+.portlet-mode-container {
+   float: right;
+}
+
+.portlet-titlebar-left {
+   background-image: url( images/portlet-top-left.gif );
+   background-repeat: no-repeat;
+   width: 9px;
+   height: 33px;
+   background-position: right;
+   min-width: 9px;
+}
+
+.portlet-titlebar-center {
+   background-image: url( images/portlet-top-middle.gif );
+   background-repeat: repeat-x;
+   height: 33px;
+}
+
+.portlet-titlebar-right {
+   background-image: url( images/portlet-top-right.gif );
+   background-repeat: no-repeat;
+   width: 10px;
+   height: 33px;
+   min-width: 10px;
+}
+
+.portlet-content-left {
+   background-image: url( images/portlet-left-vertical.gif );
+   height: 100%;
+   background-repeat: repeat-y;
+   background-position: right;
+   width: 9px;
+   min-width: 9px;
+}
+
+.portlet-content-center {
+   background-color: #f7f7f7;
+   background-repeat: repeat;
+   vertical-align: top;
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+}
+
+.portlet-body {
+   background-color: #f7f7f7;
+}
+
+.portlet-content-right {
+   background-image: url( images/portlet-right-vertical.gif );
+   height: 100%;
+   background-repeat: repeat-y;
+   background-position: left;
+   width: 10px;
+   min-width: 10px;
+}
+
+.portlet-footer-left {
+   background-image: url( images/portlet-bottom-left.gif );
+   width: 9px;
+   height: 9px;
+   background-repeat: no-repeat;
+   background-position: top right;
+   min-width: 9px;
+}
+
+.portlet-footer-center {
+   background-image: url( images/portlet-bottom-middle.gif );
+   height: 14px;
+   background-repeat: repeat-x;
+}
+
+.portlet-footer-right {
+   background-image: url( images/portlet-bottom-right.gif );
+   width: 10px;
+   height: 9px;
+   background-repeat: no-repeat;
+   min-width: 10px;
+}
+
+/***********************
+* Portlet Window Modes *
+************************/
+.portlet-mode-maximized {
+   background-image: url( images/maximize.gif );
+   width: 16px;
+   height: 23px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-minimized {
+   background-image: url( images/minimize.gif );
+   width: 16px;
+   height: 23px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-normal {
+   background-image: url( images/normal.gif );
+   width: 16px;
+   height: 23px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-admin {
+   background-image: url( images/admin.gif );
+   width: 16px;
+   height: 23px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-help {
+   background-image: url( images/help.gif );
+   width: 16px;
+   height: 23px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-edit {
+   background-image: url( images/edit.gif );
+   width: 16px;
+   height: 23px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-remove {
+   background-image: url( images/remove.gif );
+   width: 16px;
+   height: 23px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-view {
+   background-image: url( images/view.gif );
+   width: 16px;
+   height: 23px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-reload {
+   background-image: url( images/reload.gif );
+   width: 16px;
+   height: 23px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+/**********************
+* Copyright Selectors *
+***********************/
+.portal-copyright {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 9px;
+   color: #5E6D7A;
+}
+
+a.portal-copyright {
+   color: #768591;
+   text-decoration: none;
+}
+
+a.portal-copyright:hover {
+   color: #96A5B1;
+   text-decoration: none;
+}
+
+#ThemeBy:before {
+   content: "Theme by Novell";
+}
+
+/*************
+*  Elements  *
+**************/
+a {
+   color: #768591;
+   text-decoration: none;
+}
+
+a:hover {
+   color: #96A5B1;
+   text-decoration: none;
+}
+
+INPUT {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+}
+
+SELECT {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+}
+
+FONT {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   color: #768591;
+}
+
+FIELDSET {
+   background-color: #f7f7f7;
+   border: 1px solid #BABDB6;
+   padding: 6px;
+}
+
+LEGEND {
+   background-color: transparent;
+   padding-left: 6px;
+   padding-right: 6px;
+   padding-bottom: 0px;
+   font-size: 12px;
+}
+
+/*******************
+* Table Selectors  *
+********************/
+/* Table header */
+.portlet-table-header {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 12px;
+   font-weight: bold;
+   background-color: #768591;
+   color: #fff;
+}
+
+/* Normal text in a table cell */
+.portlet-table-body {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+}
+
+/* Text in every other row in the table */
+.portlet-table-alternate {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   background-color: #ececec;
+}
+
+/* Text in a selected cell range */
+.portlet-table-selected {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   background-color: #768591;
+   color: #fff;
+}
+
+/* Text of a subheading */
+.portlet-table-subheader {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-weight: bold;
+}
+
+/* Table footer */
+.portlet-table-footer {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 10px;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories (e.g. explanatory or help text that is associated with the table). */
+.portlet-table-text {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-style: italic;
+}
+
+/********
+* FONTS *
+*********/
+
+/* Font attributes for the normal  fragment font.
+Used for the display of non-accentuated information */
+.portlet-font {
+   color: #000;
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   /*margin-top: 7px;
+  margin-bottom: 5px;*/
+}
+
+/* Font attributes similar to the portlet.font but the color is lighter */
+.portlet-font-dim {
+   color: #888385;
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+}
+
+/********
+* FORMS *
+*********/
+
+/* Text used for the descriptive label of the whole form (not the label for fields)...why not call this portlet-form-title? */
+.portlet-form-label {
+   color: #000;
+   text-decoration: none;
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-weight: bold;
+}
+
+/* Text on a form button */
+.portlet-form-button {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   color: #000;
+}
+
+/* Text that appears beside a context dependent action icon */
+.portlet-icon-label {
+
+}
+
+/* Text that appears beside a "standard" icon (e.g Ok, or Cancel)
+not sure if we need this one?.. */
+.portlet-dlg-icon-label {
+
+}
+
+/* Text for form field labels */
+.portlet-form-field-label {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   color: #000;
+   vertical-align: bottom;
+}
+
+/* Text for a form field */
+.portlet-form-field {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   color: #000;
+   margin-top: 10px;
+}
+
+/* Text of the user-input in an input field. not sure if we need this guy? */
+.portlet-form-input-field {
+   color: #000;
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+}
+
+/********
+* LINKS *
+*********/
+
+.portal-links:link {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-weight: bold;
+   color: #242424;
+   text-decoration: none;
+}
+
+.portal-links:hover {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-weight: bold;
+   color: #5699B7;
+   text-decoration: none;
+}
+
+.portal-links:active {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-weight: bold;
+   color: #242424;
+   text-decoration: none;
+}
+
+.portal-links:visited {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-weight: bold;
+   color: #242424;
+   text-decoration: none;
+}
+
+/***********
+* MESSAGES *
+************/
+
+/* Status of the current operation. */
+.portlet-msg-status {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-style: normal;
+   color: #788793;
+}
+
+/* Help messages, general additional information, etc. */
+.portlet-msg-info {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-style: italic;
+   color: #000;
+}
+
+/* Error messages. */
+.portlet-msg-error {
+   color: red;
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-weight: bold;
+}
+
+/* Warning messages. */
+.portlet-msg-alert {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-weight: bold;
+   color: #821717;
+}
+
+/* Verification of the successful completion of a task. */
+.portlet-msg-success {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   font-weight: bold;
+   color: #359630;
+}
+
+/***********
+* SECTIONS *
+************/
+
+/* Table or section header */
+.portlet-section-header {
+   font-weight: bold;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+   color: #768591;
+   background-color: #f7f7f7; /*background-image: url(interf/head.jpg);*/
+}
+
+/* Normal text in a table cell */
+.portlet-section-body {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 11px;
+}
+
+/* Text in every other row in the cell */
+.portlet-section-alternate {
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   background-color: #ececec;
+}
+
+/* Text in a selected cell range */
+.portlet-section-selected {
+   background-color: #768591;
+   font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
+   font-size: 11px;
+   color: #fff;
+}
+
+/* Text of a subheading */
+.portlet-section-subheader {
+   font-weight: bold;
+   font-size: 11px;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   color: #000;
+   /*margin: 3px;
+  padding: 3px;*/
+}
+
+/* Table or section footnote */
+.portlet-section-footer {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   background-color: #f7f7f7;
+   font-size: 10px;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories
+(e.g. explanatory or help text that is associated with the section. */
+.portlet-section-text {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   font-style: italic;
+}
+
+/********
+* MENUS *
+*********/
+
+/*General menu settings such as background color, margins, etc. */
+.portlet-menu {
+
+}
+
+/* Normal, unselected menu item. */
+.portlet-menu-item {
+   color: #242424;
+   text-decoration: none;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 9px;
+}
+
+.portlet-menu-item:hover {
+   color: #5699B7;
+   text-decoration: none;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 9px;
+}
+
+/* Selected menu item. */
+.portlet-menu-item-selected {
+
+}
+
+/* Selected menu item when the mouse hovers over it. */
+.portlet-menu-item-selected:hover {
+
+}
+
+/* Normal, unselected menu item that has sub-menus. */
+.portlet-menu-cascade-item {
+
+}
+
+/* Selected sub-menu item that has sub-menus */
+.portlet-menu-cascade-item-selected {
+
+}
+
+/* Descriptive text for the menu (e.g. in a help context below the menu) */
+.portlet-menu-description {
+
+}
+
+/* Menu caption */
+.portlet-menu-caption {
+
+}
+
+/* A separator bar similar to a horizontal rule, but with styling matching the page */
+.portlet-horizontal-separator {
+}
+
+/* Allows portlets to mimic the title bar when nesting something */
+.portlet-nestedTitle-bar {
+}
+
+/* Allows portlets to match the textual character of the title on the title bar. */
+.portlet-nestedTitle {
+}
+
+/* Support portlets having tabs in the same style as the page or other portlets */
+.portlet-tab {
+}
+
+/* Highlight the tab currently being shown */
+.portlet-tab-active {
+}
+
+/* Highlight the selected tab (not yet active) */
+.portlet-tab-selected {
+}
+
+/* A tab which can not be currently activated */
+.portlet-tab-disabled {
+}
+
+/* Top level style for the content of a tab. */
+.portlet-tab-area {
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/Thumbs.db
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/Thumbs.db
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/activeTab.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/activeTab.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/activeTabLeft.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/activeTabLeft.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/admin.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/admin.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/bullet.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/bullet.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/edit.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/edit.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/favicon.ico
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/faviconv2.ico
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/faviconv2.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/header.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/header.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/help.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/help.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/ico_addcontent.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/ico_addcontent.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/maximize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/maximize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/minimize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/minimize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/nav-bar-header.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/nav-bar-header.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/normal.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/normal.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portal-background.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portal-background.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-bottom-left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-bottom-left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-bottom-middle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-bottom-middle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-bottom-right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-bottom-right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-left-vertical.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-left-vertical.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-right-vertical.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-right-vertical.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-titlebar-decoration.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-titlebar-decoration.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-top-left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-top-left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-top-middle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-top-middle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-top-right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/portlet-top-right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/reload.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/reload.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/remove.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/remove.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/thumb_Maple.jpg
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/thumb_Maple.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/view.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/images/view.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/portal_style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/portal_style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/portal_style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1065 @@
+/* *************************************************** */
+/*      Maple theme for JBoss Portal                   */
+/*      Author: Mark Fernandes                         */
+/* *************************************************** */
+
+#body {
+   background-image: url( images/portal-background.gif );
+   background-repeat: repeat-x;
+   background-color: #95A490;
+   /*background-image: url(images/brown_bg.gif);
+    background-repeat: repeat-x repeat-y;*/
+
+   height: 100%;
+   margin: 0px;
+   padding: 0px;
+   color: #000;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+/*****************
+* Portal Header  *
+******************/
+
+/* spacer to keep header at certain width regardless of display size
+done to avoid overlapping of tab navigation in header */
+#spacer {
+   line-height: 0px;
+   font-size: 0px;
+   height: 0px;
+   min-width: 804px;
+}
+
+/* Wrapper for Header */
+#header-container {
+   background-image: url( images/header.gif );
+   background-position: right top;
+   background-repeat: repeat-x;
+   height: 100%;
+   width: 100%;
+   border-right-style: solid;
+   border-right-width: 1px;
+   border-right-color: #9F625D;
+   border-left-style: solid;
+   border-left-width: 1px;
+   border-left-color: #9F625D;
+   border-top-style: solid;
+   border-top-width: 1px;
+   border-top-color: #9F625D;
+}
+
+/* Header background */
+#header {
+   background-image: url( images/nav-bar-header.gif );
+   background-repeat: repeat-x;
+   background-position: bottom;
+   height: 132px;
+   padding: 0px;
+   margin: 0px;
+}
+
+#logoName {
+   background-image: url( images/logo.gif );
+   background-repeat: no-repeat;
+   width: 198px;
+   height: 62px;
+   z-index: 2;
+   position: absolute;
+   right: 16px;
+   top: 13px;
+}
+
+/************************
+* Portal Layout Regions *
+*************************/
+
+/* wrapper for entire portal. starts/ends after/before body tag */
+#portal-container {
+   height: 100%;
+   margin: 4px 9% 0 9%; /* part of below IE hack to preserve min-width for portlet regions */
+   padding: 0 400px 0 400px;
+}
+
+/* min width hack for IE */
+#expander {
+   margin: 0 -400px 0 -400px;
+   position: relative;
+   min-width: 804px;
+   height: 100%;
+}
+
+/* min width hack for IE */
+#sizer {
+   width: 100%;
+   height: 100%;
+}
+
+/* IE Hack \*/
+* html #portal-container,
+   * html #sizer,
+   * html #expander {
+   height: 0;
+}
+
+/* end IE min-width hack */
+
+/* table that contains all regions. does not include header */
+#content-container {
+   height: 100%;
+   text-align: left;
+   min-width: 800px;
+   border-right-style: solid;
+   border-right-width: 1px;
+   border-right-color: #9F625D;
+   border-left-style: solid;
+   border-left-width: 1px;
+   border-left-color: #9F625D;
+   background-color: #87868C;
+   border-bottom-style: solid;
+   border-bottom-width: 1px;
+   border-bottom-color: #9F625D;
+}
+
+/* Login JSP Selectors */
+#login-container {
+   position: relative;
+   left: 34%;
+   top: 55px;
+   right: 50%;
+   width: 320px;
+   height: 250px;
+   margin: 0px;
+}
+
+#login-container label, #login-container input {
+   display: block;
+   float: left;
+   width: auto;
+   margin-top: 15px;
+   color: #E4EECC;
+}
+
+#login-container input {
+   color: #000;
+}
+
+#login-container label {
+   text-align: right;
+   padding-right: 20px;
+   width: 95px;
+}
+
+#login-container br {
+   clear: left;
+}
+
+#login-container fieldset {
+   background-color: transparent;
+}
+
+#login-container legend {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 13px;
+   font-weight: bold;
+   color: #E4EECC;
+}
+
+#loginForm {
+   margin: 0px;
+   padding: 0px;
+}
+
+/* end Login Page Selectors */
+
+/* portlet regions within content-container. this includes footer-container. */
+#regionA {
+   /* test to swap columns...
+    float: right; 	*/
+
+   width: 30%;
+   float: left;
+   margin: 0px;
+   padding: 0px;
+   min-width: 250px;
+}
+
+#regionB {
+   /* test to swap columns..
+     margin: 0 30% 0 0; */
+
+   /*two column layout
+margin: 0 0 0 30%;*/
+   padding: 0px; /* test to add 3rd region in layout...*/
+   width: 68.5%;
+   float: left;
+}
+
+#regionC {
+/* inclusion of 3rd region - comment out for 2 region testing */
+   padding: 0px;
+   margin: 0px;
+   width: 28%;
+   float: left; /*hide 3rd region*/
+   display: none;
+}
+
+#footer-container {
+   position: absolute;
+   bottom: -45px;
+   text-align: center;
+   width: 99.5%;
+}
+
+#navigation-container {
+}
+
+/* used to clear float in regionA,B,C divs so that
+footer spans bottom of page */
+/* used to clear float in regionA,B,C divs so that
+footer spans bottom of page */
+hr.cleaner {
+   clear: both;
+   height: 1px;
+   margin: -1px 0 0 0;
+   padding: 0;
+   border: none;
+   visibility: hidden;
+}
+
+/****************************
+* Tab Navigation for Header *
+*****************************/
+
+UL#tabsHeader {
+   margin: 0;
+   padding-left: 10px;
+   min-width: 550px;
+   z-index: 100; /* added for submenu hover */
+   position: relative; /* added for submenu hover */
+}
+
+UL#tabsHeader li {
+   display: inline;
+   list-style: none;
+   float: left;
+   margin-left: 0px;
+   margin-top: 100px;
+   margin-right: 0px;
+   position: relative;
+   top: 0px;
+   padding-left: 5px;
+   padding-right: 5px;
+   white-space: nowrap;
+}
+
+UL#tabsHeader li {
+}
+
+UL#tabsHeader li:hover {
+   color: #9F625D;
+}
+
+/* hover selectors for main header tabs */
+UL#tabsHeader li.hoverOn {
+   color: #9F625D;
+}
+
+UL#tabsHeader li.hoverOff {
+
+}
+
+UL#tabsHeader a {
+   display: block;
+   float: left;
+   padding: 0px 5px 2px 2px;
+   text-decoration: none;
+   font: 13px / normal Arial, Helvetica, Sans-Serif, sans-serif;
+   background: 100% 0 no-repeat;
+   color: #95A490;
+   line-height: 25px;
+   font-weight: 500;
+}
+
+UL#tabsHeader a:hover {
+   text-decoration: none;
+   color: #9F625D;
+}
+
+UL#tabsHeader #current {
+   background-image: url( images/activeTabLeft.gif );
+   background-repeat: no-repeat;
+}
+
+UL#tabsHeader #current, UL#tabsHeader #current a {
+   font: 13px / normal Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: 500;
+   color: #E4EECC;
+   line-height: 25px;
+   border-right: 0px;
+   border-left: 0px;
+}
+
+UL#tabsHeader #current a {
+   background-image: url( images/activeTab.gif );
+   background-repeat: no-repeat;
+}
+
+
+/* Begin Submenu selectors */
+
+/* hide the sub levels and give them a positon absolute so that they take up no room */
+UL#tabsHeader ul {
+   visibility: hidden;
+   position: absolute;
+   height: 0;
+   top: 0px;
+   left: 0;
+   width: 150px;
+   text-align: left;
+   margin: 0px;
+   padding: 0px;
+   margin-top: 22px;
+}
+
+UL#tabsHeader ul a {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+
+}
+
+UL#tabsHeader ul a:hover {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+}
+
+UL#tabsHeader #current ul a {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+}
+
+UL#tabsHeader li:hover ul {
+   visibility: visible;
+}
+
+UL#tabsHeader ul li {
+   background: #EDECEC;
+   color: #5078aa;
+   padding: 3px;
+   width: 120px;
+
+   border: 1px solid #FFFFFF;
+   border-width: 1px 1px 0 0;
+
+   margin-left: 0px;
+   margin-top: 0px;
+   margin-right: 0px;
+}
+
+UL#tabsHeader ul li:hover {
+   background: #E2E2E2;
+}
+
+/* End Submenu selectors */
+
+/* Tab background color for selected global nav item */
+li.currentTabBackground {
+   background: #fff;
+}
+
+/* backslash hack for IE5-Mac \*/
+UL#tabsHeader a {
+   float: none;
+}
+
+/* End Mac Hack */
+html>body UL#tabsHeader a {
+   width: auto;
+}
+
+/* fixes IE6 win hack */
+
+/***************************
+*  Utility Navigation  *
+*****************************/
+
+#dashboardnav {
+   float: left;
+   font-size: 12px;
+   padding: 6px 12px;
+   color: #FFFFFF;
+   z-index: 20;
+}
+
+#dashboardnav a {
+   color: #FFFFFF;
+}
+
+#dashboardnav .addcontent {
+   background-image: url( images/ico_addcontent.gif );
+   background-repeat: no-repeat;
+   background-position: left;
+   height: 20px;
+   width: 20px;
+   padding-left: 16px;
+}
+
+/****************************
+* Portlet Container Windows *
+*****************************/
+
+.portlet-container {
+   padding: 10px;
+}
+
+.portlet-titlebar-title {
+   color: #E4EECC;
+   font-weight: 500;
+   font-family: "Monotype Corsiva", Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 15px;
+   white-space: nowrap;
+   line-height: 100%;
+   float: left;
+   text-indent: 20px;
+   position: relative;
+   top: 4px;
+}
+
+.portlet-titlebar-decoration {
+   background-image: url( images/portlet-titlebar-decoration.gif );
+   background-repeat: no-repeat;
+   height: 22px;
+   width: 17px;
+   float: left;
+}
+
+/* wrapper for floating portlet window modes */
+.portlet-mode-container {
+   float: right;
+   padding-left: 4px;
+   padding-top: 1px;
+}
+
+.portlet-titlebar-left {
+   background-image: url( images/portlet-top-left.gif );
+   background-repeat: no-repeat;
+   width: 9px;
+   height: 23px;
+   background-position: right;
+   min-width: 9px;
+}
+
+.portlet-titlebar-center {
+   background-image: url( images/portlet-top-middle.gif );
+   background-repeat: repeat-x;
+   height: 23px;
+}
+
+.portlet-titlebar-right {
+   background-image: url( images/portlet-top-right.gif );
+   background-repeat: no-repeat;
+   width: 9px;
+   height: 23px;
+   min-width: 9px;
+}
+
+.portlet-content-left {
+   background-image: url( images/portlet-left-vertical.gif );
+   background-repeat: repeat-y;
+   width: 9px;
+   min-width: 9px;
+}
+
+.portlet-content-center {
+   background-color: #E4EECC;
+   background-repeat: repeat;
+   vertical-align: top;
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   color: #000;
+   padding-top: 1px;
+}
+
+.portlet-body {
+   background-color: #E4EECC;
+}
+
+.portlet-content-right {
+   background-image: url( images/portlet-right-vertical.gif );
+   height: 100%;
+   background-repeat: repeat-y;
+   background-position: right;
+   width: 9px;
+   min-width: 9px;
+}
+
+.portlet-footer-left {
+   background-image: url( images/portlet-bottom-left.gif );
+   width: 9px;
+   height: 14px;
+   background-repeat: no-repeat;
+   background-position: top right;
+   min-width: 9px;
+}
+
+.portlet-footer-center {
+   background-image: url( images/portlet-bottom-middle.gif );
+   height: 14px;
+   background-repeat: repeat-x;
+}
+
+.portlet-footer-right {
+   background-image: url( images/portlet-bottom-right.gif );
+   width: 9px;
+   height: 14px;
+   background-repeat: no-repeat;
+   min-width: 9px;
+}
+
+/***********************
+* Portlet Window Modes *
+************************/
+.portlet-mode-maximized {
+   background-image: url( images/maximize.gif );
+   width: 16px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-minimized {
+   background-image: url( images/minimize.gif );
+   width: 16px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-normal {
+   background-image: url( images/normal.gif );
+   width: 16px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-help {
+   background-image: url( images/help.gif );
+   width: 16px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-edit {
+   background-image: url( images/edit.gif );
+   width: 16px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-admin {
+   background-image: url( images/admin.gif );
+   width: 16px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-remove {
+   background-image: url( images/remove.gif );
+   width: 16px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-view {
+   background-image: url( images/view.gif );
+   width: 17px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-reload {
+   background-image: url( images/reload.gif );
+   width: 16px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+/**********************
+* Copyright Selectors *
+***********************/
+.portal-copyright {
+   font-weight: normal;
+   font-family: "Monotype Corsiva", Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 15px;
+   color: #E4EECC;
+}
+
+a.portal-copyright {
+   color: #E4EECC;
+   text-decoration: none;
+}
+
+a.portal-copyright:hover {
+   color: #9F625D;
+   text-decoration: none;
+}
+
+#ThemeBy:before {
+   content: "Theme by Novell";
+}
+
+/*************
+*  Elements  *
+**************/
+a {
+   color: #9F625D;
+   text-decoration: none;
+}
+
+a:hover {
+   color: #87868C;
+   text-decoration: none;
+}
+
+INPUT {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   color: #000;
+}
+
+SELECT {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   color: #000;
+}
+
+FONT {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+   color: #000;
+}
+
+FIELDSET {
+   background-color: transparent;
+   border: 1px solid #BABDB6;
+   padding: 6px;
+}
+
+LEGEND {
+   background-color: transparent;
+   padding-left: 6px;
+   padding-right: 6px;
+   padding-bottom: 0px;
+   font-size: 13px;
+}
+
+/* below 3 selectors overwrite inline styles for page menu portlet */
+#foldheader {
+   list-style-image: url( images/bullet.gif ) ! Important;
+   vertical-align: middle;
+   cursor: hand !important;
+   margin-left: -10px;
+}
+
+#foldinglist {
+   margin-left: 10px;
+   list-style-image: url( images/bullet.gif ) ! Important;
+   list-style-position: outside;
+   cursor: hand !important;
+   margin-left: -10px;
+}
+
+#pagenosub {
+   list-style-image: url( images/bullet.gif ) ! Important;
+   cursor: hand !important;
+   margin-left: -10px;
+   vertical-align: middle;
+}
+
+/********
+* FONTS *
+*********/
+
+/* Font attributes for the normal  fragment font.
+Used for the display of non-accentuated information */
+.portlet-font {
+   color: #000000;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+/* Font attributes similar to the portlet.font but the color is lighter */
+.portlet-font-dim {
+   color: #87868C;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+/********
+* FORMS *
+*********/
+.portlet-form-label {
+   color: #000;
+   text-decoration: none;
+   font-size: 12px;
+   font-weight: bold;
+}
+
+/* Text of the user-input in an input field. not sure if we need this guy? */
+.portlet-form-input-field {
+   color: #000;
+   font-size: 12px;
+   border-color: #000000;
+   border-style: solid;
+   border-width: 1px;
+   background-color: #D8E2C3;
+}
+
+/* Text on a form button */
+.portlet-form-button {
+   font-size: 12px;
+   color: #000000;
+}
+
+/* Text that appears beside a context dependent action icon */
+.portlet-icon-label {
+
+}
+
+/* Text that appears beside a "standard" icon (e.g Ok, or Cancel)
+not sure if we need this one?.. */
+.portlet-dlg-icon-label {
+
+}
+
+/* Text for form field labels */
+.portlet-form-field-label {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   color: #000;
+   vertical-align: bottom;
+}
+
+/* Text for a form field */
+.portlet-form-field {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   color: #000;
+}
+
+/********
+* LINKS *
+*********/
+
+.portal-links:link {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   color: #9F625D;
+   text-decoration: none;
+}
+
+.portal-links:hover {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   color: #87868C;
+   text-decoration: none;
+}
+
+.portal-links:active {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   color: #000;
+   text-decoration: none;
+}
+
+.portal-links:visited {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   color: #B5C3A9;
+   text-decoration: none;
+}
+
+/***********
+* MESSAGES *
+************/
+
+/* Status of the current operation. */
+.portlet-msg-status {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-style: normal;
+   font-weight: bold;
+   color: #95A490;
+}
+
+/* Help messages, general additional information, etc. */
+.portlet-msg-info {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-style: italic;
+   color: #000;
+}
+
+/* Error messages. */
+.portlet-msg-error {
+   color: red;
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+}
+
+/* Warning messages. */
+.portlet-msg-alert {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   color: #9F625D;
+}
+
+/* Verification of the successful completion of a task. */
+.portlet-msg-success {
+   font-family: Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   color: #705130;
+}
+
+/********
+* MENUS *
+*********/
+
+/*General menu settings such as background color, margins, etc. */
+.portlet-menu {
+
+}
+
+/* Normal, unselected menu item. */
+.portlet-menu-item {
+   color: #9F625D;
+   text-decoration: none;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+.portlet-menu-item:hover {
+   color: #87868C;
+   text-decoration: none;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+/* Selected menu item. */
+.portlet-menu-item-selected {
+
+}
+
+/* Selected menu item when the mouse hovers over it. */
+.portlet-menu-item-selected:hover {
+
+}
+
+/* Normal, unselected menu item that has sub-menus. */
+.portlet-menu-cascade-item {
+
+}
+
+/* Selected sub-menu item that has sub-menus */
+.portlet-menu-cascade-item-selected {
+
+}
+
+/* Descriptive text for the menu (e.g. in a help context below the menu) */
+.portlet-menu-description {
+
+}
+
+/* Menu caption */
+.portlet-menu-caption {
+
+}
+
+/* ===== WSRP 2.0 - As of now proposed additions are:	===== */
+
+/***********
+* SECTIONS *
+************/
+
+/* Table or section header */
+.portlet-section-header {
+   font-weight: bold;
+   color: #000;
+   font-size: 13px;
+   border-bottom: dotted;
+   border-bottom-width: 1px;
+   border-bottom-color: #87868C;
+   padding-top: 2px;
+}
+
+.portlet-section-body {
+   font-size: 12px;
+}
+
+.portlet-section-alternate {
+   font-size: 12px;
+   background-color: #fff;
+}
+
+.portlet-section-selected {
+   font-size: 12px;
+   background-color: #D8E2C3;
+}
+
+.portlet-section-subheader {
+   font-weight: bold;
+   font-size: 12px;
+}
+
+.portlet-section-footer {
+   font-size: 11px;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories
+(e.g. explanatory or help text that is associated with the section. */
+.portlet-section-text {
+   font-size: 12px;
+   color: #000;
+   font-style: italic;
+}
+
+/*******************
+* Table Selectors  *
+********************/
+/* Table header */
+.portlet-table-header {
+   font-weight: bold;
+   color: #FFF;
+   font-size: 13px;
+   background-color: #95A490;
+}
+
+/* Normal text in a table cell */
+.portlet-table-body {
+   color: #000;
+   font-size: 12px;
+}
+
+/* Text in every other row in the table */
+.portlet-table-alternate {
+   color: #000;
+   font-size: 12px;
+   background-color: #fff;
+}
+
+/* Text in a selected cell range */
+.portlet-table-selected {
+   color: #000;
+   font-size: 12px;
+   background-color: #D8E2C3;
+}
+
+/* Text of a subheading */
+.portlet-table-subheader {
+   font-weight: bold;
+   color: #000;
+   font-size: 12px;
+}
+
+/* Table footer */
+.portlet-table-footer {
+   font-size: 11px;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories (e.g. explanatory or help text that is associated with the table). */
+.portlet-table-text {
+   font-size: 12px;
+   color: #000;
+   font-style: italic;
+}
+
+/* A separator bar similar to a horizontal rule, but with styling matching the page */
+.portlet-horizontal-separator {
+   color: #9F625D;
+   height: 1px;
+}
+
+/* Allows portlets to mimic the title bar when nesting something */
+.portlet-nestedTitle-bar {
+
+}
+
+/* Allows portlets to match the textual character of the title on the title bar. */
+.portlet-nestedTitle {
+
+}
+
+/* Support portlets having tabs in the same style as the page or other portlets */
+.portlet-tab {
+
+}
+
+/* Highlight the tab currently being shown */
+.portlet-tab-active {
+
+}
+
+/* Highlight the selected tab (not yet active) */
+.portlet-tab-selected {
+
+}
+
+/* A tab which can not be currently activated */
+.portlet-tab-disabled {
+
+}
+
+/* Top level style for the content of a tab. */
+.portlet-tab-area {
+
+}
+
+/****************** Not sure about the following selectors:
+
+PortletHeaderColor
+PortletHeaderText
+LeftCurve
+PortletHeaderLink
+RightCurve
+RegionBorder
+RegionHeaderColor
+
+**************************************************************/

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/maple/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+JBoss Portal theme information
+November 21, 2005
+
+Ingredients:
+1) Theme name - "Maple"
+2) Theme notes - Description or concept of theme.
+3) Custom branding - Removal of the JBoss branding graphic in the header.
+4) Theme author/designer - Mark Fernandes, Novell
+5) Additional credits
+
+THEME NOTES:
+This theme was designed to present the versatility of the CSS-driven DIV-Renderer method of controlling the portal UI.
+
+This theme includes styles for the header navigation and portal login page. It also includes (via the css), the following copyright text: "Theme by Novell". Note that this text will not appear in IE as the css property that was used ('content' property) is not supported by the browser at this time.
+
+CUSTOM BRANDING:
+To remove, replace or hide the header graphic that contains the JBoss product branding text (the "JBoss Portal" text in the top-right-hand corner of the screen), open the "portal_style.css" file and modify the #logoName selector.
+
+	#logoName {
+	/* Logo...*/
+	   background-image: url(images/logo.gif);
+	   background-repeat: no-repeat;
+	   width: 198px;
+           height: 62px;
+	   z-index: 2;
+	   position: absolute;
+	   right: 16px;
+	   top: 13px;
+	}
+
+You can easily just replace the background image with a custom graphic, or simply comment it out. Adjust the height and width attributes accordingly when replacing this image if necessary. This same approach can also be taken with the entire header background graphic (css selector: #header-container).
+
+CREDITS:
+* Maple tree photo, artwork, and CSS coding by Mark Fernandes. Released under Creative Commons License (by-sa).
+* Copyright GNU LGPL (c) 2005 Novell, Inc.
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/BusinessMan.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/BusinessMan.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/Thumbs.db
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/Thumbs.db
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/admin.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/admin.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/bullet.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/bullet.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/edit.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/edit.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/favicon.ico
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/form-button-bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/form-button-bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/help.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/help.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/ico_addcontent.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/ico_addcontent.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/input-bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/input-bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/maximize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/maximize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/minimize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/minimize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/normal.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/normal.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal-header.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal-header.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal-header.jpg
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal-header.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal_background.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal_background.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal_background.jpg
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portal_background.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-background.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-background.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-bottom-left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-bottom-left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-bottom-middle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-bottom-middle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-bottom-right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-bottom-right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-left-vertical.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-left-vertical.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-right-vertical.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-right-vertical.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-section-alt-bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-section-alt-bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-section-alt-bg2.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-section-alt-bg2.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-section-header.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-section-header.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-top-left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-top-left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-top-middle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-top-middle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-top-right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-top-right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-win-decoration.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/portlet-win-decoration.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/reload.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/reload.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/remove.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/remove.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/restore.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/restore.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/thumb_MissionCritical.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/thumb_MissionCritical.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/view.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/images/view.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/portal_style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/portal_style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/portal_style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1133 @@
+/******************************************************
+* JBoss Theme :: Novell - "Mission Critical" CSS      *
+*                By: paul tamaro, 11/15/05            *
+*******************************************************/
+
+#body {
+   background-image: url( images/portal_background.jpg );
+   background-repeat: repeat-x;
+   background-color: #5c5c5a;
+   margin: 0px;
+   padding: 0px;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+   color: #e2e7bf;
+}
+
+/*****************
+* Portal Header  *
+******************/
+
+/* spacer to keep header at certain width regardless of display size
+done to avoid overlapping of tab navigation in header */
+#spacer {
+   width: 1024px;
+   line-height: 0px;
+   font-size: 0px;
+   height: 0px;
+}
+
+/* Wrapper for Header */
+#header-container {
+   height: 100%;
+   min-width: 1000px;
+   width: 100%;
+   /* test to reposition header on page
+  position: absolute;
+  bottom: 5px;*/
+}
+
+/* Header background */
+#header {
+   padding: 0px;
+}
+
+#logoName {
+/* Logo...*/
+   background-image: url( images/portal-header.gif );
+   background-repeat: no-repeat;
+   width: 440px;
+   height: 440px;
+   z-index: 0;
+   position: absolute;
+   left: 0px;
+   top: -1px;
+}
+
+/************************
+* Portal Layout Regions *
+*************************/
+
+/* wrapper for entire portal. starts/ends after/before body tag */
+#portal-container {
+/*width: 100%;*/
+
+/*part of below IE hack to preserve min-width for portlet regions */
+   padding: 0 350px 0 350px;
+}
+
+/* min width hack for IE */
+#expander {
+   margin: 0 -350px 0 -350px;
+   position: relative;
+}
+
+/* min width hack for IE */
+#sizer {
+   width: 100%;
+}
+
+/* IE Hack \*/
+* html #portal-container,
+   * html #sizer,
+   * html #expander {
+   height: 0;
+}
+
+/* end IE min-width hack */
+
+/*table that contains all regions. does not include header*/
+#content-container {
+   height: 100%;
+   width: 99%;
+   text-align: left;
+   max-width: 1600px;
+   min-width: 800px;
+   position: absolute;
+   top: 100px;
+   left: 12px;
+   z-index: 2;
+   /*part of below IE hack
+padding: 0 350px 0 350px;*/
+}
+
+/* Login JSP Selectors */
+#login-container {
+   position: relative;
+   left: 35%;
+   top: 55px;
+   right: 45%;
+   width: 320px;
+   height: 250px;
+   margin: 0px;
+}
+
+#login-container label, #login-container input {
+   display: block;
+   float: left;
+   width: auto;
+   margin-top: 15px;
+}
+
+#login-container label {
+   text-align: right;
+   padding-right: 20px;
+   width: 95px;
+}
+
+#login-container br {
+   clear: left;
+}
+
+#loginButton {
+
+}
+
+#login-container legend {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 13px;
+   font-weight: bold;
+   color: #768591;
+}
+
+#loginForm {
+   margin: 0px;
+   padding: 0px;
+}
+
+/* end Login Page Selectors */
+
+/* portlet regions within content-container. this includes footer-container. */
+#regionA {
+   /* test to swap columns...
+ float: right; */
+   width: 30%;
+   float: left;
+   margin: 0px;
+   padding: 0px;
+   min-width: 250px;
+   height: 300px;
+}
+
+#regionB {
+   /*test to swap columns...
+margin: 0 30% 0 0; */
+
+/* two column layout*/
+   margin: 0 0 0 30%;
+   padding: 0;
+   width: 69%;
+   height: 300px;
+
+   /* test to add 3rd region in layout...
+  width: 40%;
+  float: left;*/
+}
+
+#regionC {
+/* inclusion of 3rd region - comment out for 2 region testing */
+   /* padding: 0px;
+ width: 27%;
+ float: left; */
+   display: none;
+   height: 300px;
+}
+
+/* give a maximized portlet more space */
+#regionMaximized {
+   width: 100%;
+   float: left;
+   margin: 0px;
+   padding: 0px;
+   min-width: 400px;
+}
+
+#footer-container {
+   margin: 12px 10px 12px 30%;
+   padding: 0px 0px 12px 12px;
+   text-align: left;
+}
+
+#navigation-container {
+   /* no time to get to this yet...
+ border: 1px dotted #fff;
+ height: 22px;
+ width: 400px;
+ top: 80px;
+ left: 200px;
+ z-index: 3; */
+}
+
+#sub-navigation-container {
+/* nothing here yet */
+}
+
+/* used to clear float in regionA,B,C divs so that
+footer spans bottom of page */
+hr.cleaner {
+   clear: both;
+   height: 1px;
+   margin: -1px 0 0 0;
+   padding: 0;
+   border: none;
+   visibility: hidden;
+}
+
+/****************************
+* Tab Navigation for Header *
+*****************************/
+
+UL#tabsHeader {
+   margin: 0;
+   padding-left: 440px;
+   min-width: 550px;
+   z-index: 100; /* added for submenu hover */
+   position: relative; /* added for submenu hover */
+}
+
+UL#tabsHeader li {
+   list-style: none;
+   float: left;
+   margin-left: -1px;
+   margin-top: 74px;
+   margin-right: 0px;
+   line-height: 24px;
+   padding: 0px; /* border-right: 1px dotted #8b8d89;*/
+   border-left: 1px dotted #8b8d89;
+}
+
+UL#tabsHeader li:hover {
+   background-image: url( images/highlightedTab.gif );
+   background-repeat: repeat-x;
+}
+
+/* hover selectors for main header tabs done to deal
+with IE not liking hover pseudo class on li */
+UL#tabsHeader li.hoverOn {
+   background-image: url( images/highlightedTab.gif );
+   background-repeat: repeat-x;
+}
+
+UL#tabsHeader li.hoverOff {
+   background-image: none;
+}
+
+UL#tabsHeader a {
+   display: block;
+   float: left;
+   padding: 0px 15px 0px 15px;
+   text-decoration: none;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+   background: 100% 0 no-repeat;
+   color: #999999;
+}
+
+UL#tabsHeader a:hover {
+   text-decoration: underline;
+}
+
+UL#tabsHeader #current, UL#tabsHeader #current a {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+   font-weight: 600;
+   color: #e1d54b;
+   background-image: url( images/activeTab.gif );
+   background-repeat: repeat-x;
+}
+
+/* Begin Submenu selectors */
+
+/* hide the sub levels and give them a positon absolute so that they take up no room */
+UL#tabsHeader ul {
+   visibility: hidden;
+   position: absolute;
+   height: 0;
+   top: 0px;
+   left: 0;
+   width: 150px;
+   text-align: left;
+   margin: 0px;
+   padding: 0px;
+   margin-top: 22px;
+}
+
+UL#tabsHeader ul a {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+
+}
+
+UL#tabsHeader ul a:hover {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+}
+
+UL#tabsHeader #current ul a {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+}
+
+UL#tabsHeader li:hover ul {
+   visibility: visible;
+}
+
+UL#tabsHeader ul li {
+   background: #EDECEC;
+   color: #5078aa;
+   padding: 3px;
+   width: 120px;
+
+   border: 1px solid #FFFFFF;
+   border-width: 1px 1px 0 0;
+
+   margin-left: 0px;
+   margin-top: 0px;
+   margin-right: 0px;
+}
+
+UL#tabsHeader ul li:hover {
+   background: #E2E2E2;
+}
+
+/* End Submenu selectors */
+
+/* used for sub navigation if applicable
+UL#tabsHeader #currentSubNav, UL#tabsHeader #currentSubNav a {
+  color: #000;
+  line-height: 19px;
+  padding-top: 0px;
+  padding-bottom: 1px;
+  margin-bottom: -1px;
+  background: #eeeeef;
+}*/
+
+/* Tab background color for selected global nav item */
+li.currentTabBackground {
+   background: #fff;
+}
+
+/* used for sub navigation if applicable
+li.currentTabBackgroundSubNav {
+  background: #eeeeef;
+}*/
+
+/* backslash hack for IE5-Mac \*/
+UL#tabsHeader a {
+   float: none;
+}
+
+/* End Mac Hack */
+html>body UL#tabsHeader a {
+   width: auto;
+}
+
+/* fixes IE6 win hack */
+
+/***************************
+*  Utility Navigation  *
+*****************************/
+
+#dashboardnav {
+   float: right;
+   font-size: 10px;
+   padding: 6px 12px 0px 0px;
+   color: #FFFFFF;
+   z-index: 20;
+}
+
+#dashboardnav a {
+   color: #FFFFFF;
+}
+
+#dashboardnav .addcontent {
+   background-image: url( images/ico_addcontent.gif );
+   background-repeat: no-repeat;
+   background-position: left;
+   height: 20px;
+   width: 20px;
+   padding-left: 16px;
+}
+
+/****************************
+* Portlet Container Windows *
+*****************************/
+
+.portlet-container {
+/* margin: 10px; */
+   padding: 10px 7px 11px 7px;
+}
+
+.portlet-titlebar-title {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 9px;
+   font-weight: bold;
+   text-transform: uppercase;
+   color: #444;
+   white-space: nowrap;
+   line-height: 100%;
+   float: left;
+   text-indent: 10px;
+   margin: 0px;
+   padding: 0px;
+   padding-bottom: 1px;
+   top: 0px;
+   vertical-align: top;
+   letter-spacing: 1px;
+   word-spacing: 2px; /* border: 1px dashed #fff */
+}
+
+.portlet-titlebar-decoration {
+   background-image: url( images/portlet-win-decoration.gif );
+   background-repeat: no-repeat;
+   height: 7px;
+   width: 7px;
+   float: left;
+   position: relative;
+   top: 4px;
+   left: 0px;
+}
+
+/* wrapper for floating portlet window modes */
+.portlet-mode-container {
+   float: right;
+   background-image: url( images/portlet-mode-bg.gif );
+   background-repeat: no-repeat;
+}
+
+.portlet-titlebar-left {
+   background-image: url( images/portlet-top-left.gif );
+   background-repeat: no-repeat;
+   background-position: left;
+   height: 15px;
+   width: 5px;
+   min-width: 5px;
+   padding-right: 0px;
+}
+
+.portlet-titlebar-center {
+   background-image: url( images/portlet-top-middle.gif );
+   background-repeat: repeat-x;
+   height: 15px;
+}
+
+.portlet-titlebar-right {
+   background-image: url( images/portlet-top-right.gif );
+   background-repeat: no-repeat;
+   width: 5px;
+   height: 15px;
+   min-width: 5px;
+}
+
+.portlet-content-left {
+   height: 100%;
+   width: 5px;
+   min-width: 5px;
+   /* background-color: #ffffff;
+border-left: 1px solid #858f8c; */
+   background-image: url( images/portlet-left-vertical.gif );
+   background-repeat: repeat-y;
+}
+
+.portlet-content-center {
+   /* background-image: url(images/portlet-background.gif);
+ background-repeat: no-repeat; */
+   background-color: #7a7b77;
+   background-position: bottom left;
+   vertical-align: top;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 13px; /* UNCOMMENT FOR TESTING.... border-right: 1px solid #858f8c; */
+   margin: 0px;
+   padding: 10px;
+
+}
+
+.portlet-body .portlet-text {
+   background-color: #7a7b77;
+   color: #eee;
+}
+
+.portlet-content-right {
+   height: 100%;
+   background-image: url( images/portlet-right-vertical.gif );
+   background-repeat: repeat-y;
+   background-position: left;
+   width: 5px;
+   min-width: 5px;
+   /*background-color: #ffffff;
+border-right: 1px solid #858f8c;*/
+}
+
+.portlet-footer-left {
+   background-image: url( images/portlet-bottom-left.gif );
+   background-repeat: no-repeat;
+   background-position: left;
+   height: 6px;
+   width: 5px;
+}
+
+.portlet-footer-center {
+   background-image: url( images/portlet-bottom-middle.gif );
+   background-repeat: repeat-x;
+   background-position: left;
+   height: 6px;
+   /* background-color: #ffffff;
+border-bottom: 1px solid #858f8c; */
+}
+
+.portlet-footer-right {
+   background-image: url( images/portlet-bottom-right.gif );
+   background-repeat: no-repeat;
+   background-position: right;
+   height: 6px;
+   width: 5px;
+   /* background-color: #ffffff;
+border-right: 1px solid #858f8c;
+border-bottom: 1px solid #858f8c;*/
+}
+
+/***********************
+* Portlet Window Modes *
+************************/
+.portlet-mode-maximized {
+   background-image: url( images/maximize.gif );
+   width: 15px;
+   height: 15px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-minimized {
+   background-image: url( images/minimize.gif );
+   width: 15px;
+   height: 15px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-normal {
+   background-image: url( images/normal.gif );
+   width: 15px;
+   height: 15px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-help {
+   background-image: url( images/help.gif );
+   width: 15px;
+   height: 15px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-edit {
+   background-image: url( images/edit.gif );
+   width: 15px;
+   height: 15px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-edit {
+   background-image: url( images/admin.gif );
+   width: 15px;
+   height: 15px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-remove {
+   background-image: url( images/remove.gif );
+   width: 15px;
+   height: 15px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-view {
+   background-image: url( images/view.gif );
+   width: 15px;
+   height: 15px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-reload {
+   background-image: url( images/reload.gif );
+   width: 15px;
+   height: 15px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+/**********************
+* Copyright Selectors *
+***********************/
+.portal-copyright {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 9px;
+   color: #777;
+}
+
+a.portal-copyright {
+   color: #fff799;
+   text-decoration: none;
+}
+
+a.portal-copyright:hover {
+   color: #fcc24f;
+   text-decoration: underline;
+}
+
+#ThemeBy:before {
+   content: "Theme by Novell";
+}
+
+/*************
+*  Elements  *
+**************/
+a:link {
+   color: #fff799;
+   text-decoration: none;
+}
+
+a:visited {
+   color: #fff699;
+   text-decoration: none;
+}
+
+a:hover a:active {
+   color: #fcc24f;
+   text-decoration: underline;
+}
+
+INPUT {
+   padding: 0px 2px 0px 2px;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   font-weight: normal;
+   color: #444;
+   /* background-color: #999;
+ background-image: url(images/form-button-bg.gif);
+ background-repeat: repeat-x; */
+   border: 1px solid #777;
+   cursor: pointer;
+}
+
+SELECT {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   background-color: #8b8d89;
+   color: #444;
+}
+
+OPTION {
+   background-color: #8b8d89;
+}
+
+FONT {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   color: #768591;
+}
+
+FIELDSET {
+/*background-color: #999;*/
+   border: 1px solid #BABDB6;
+   padding: 6px;
+   background-color: transparent;
+}
+
+LEGEND {
+   text-transform: uppercase;
+   background-color: transparent;
+   padding-left: 6px;
+   padding-right: 6px;
+   padding-bottom: 0px;
+   font-size: 13px;
+   color: #e1d54b;
+}
+
+UL LI#pagenosub {
+   list-style-image: url( images/bullet.gif ) !important;
+}
+
+UL LI#foldheader {
+   list-style-image: url( images/bullet.gif ) !important;
+}
+
+UL#foldinglist LI {
+   list-style-image: url( images/bullet.gif ) !important;
+}
+
+/*******************
+* Table Selectors  *
+********************/
+/* Table header */
+.portlet-table-header {
+   font-weight: bold;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+   color: #e1d54b;
+}
+
+/* Normal text in a table cell */
+.portlet-table-body {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+}
+
+/* Text in every other row in the table */
+.portlet-table-alternate {
+   background-color: #efefef;
+   background-image: url( images/portlet-section-alt-bg2.gif );
+   background-position: bottom left;
+   background-repeat: repeat-x;
+   color: #666;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+}
+
+/* Text in a selected cell range */
+.portlet-table-selected {
+   background-color: #999;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   color: #fff;
+}
+
+/* Text of a subheading */
+.portlet-table-subheader {
+   font-weight: bold;
+   font-size: 11px;
+   font-family: Arial, Helvetica, sans-serif;
+   color: #e1d54b;
+}
+
+/* Table footer */
+.portlet-table-footer {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   color: #e1d54b;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories (e.g. explanatory or help text that is associated with the table). */
+.portlet-table-text {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   font-style: italic;
+}
+
+/********
+* FONTS *
+*********/
+
+/* Font attributes for the normal  fragment font.
+Used for the display of non-accentuated information */
+.portlet-font {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   color: #444;
+}
+
+/* Font attributes similar to the portlet.font but the color is lighter */
+.portlet-font-dim {
+   color: #999c8b;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+}
+
+/********
+* FORMS *
+*********/
+
+/* Text used for the descriptive label of the whole form (not the label for fields)...why not call this portlet-form-title? */
+.portlet-form-label {
+   color: #444;
+   text-decoration: none;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+/* Text on a form button */
+.portlet-form-button {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   font-weight: normal;
+   color: #444;
+   background-image: url( images/form-button-bg.gif );
+   background-repeat: repeat-x;
+   border: 1px solid #777;
+   cursor: pointer;
+}
+
+/* Text that appears beside a context dependent action icon */
+.portlet-icon-label {
+
+}
+
+/* Text that appears beside a "standard" icon (e.g Ok, or Cancel)
+not sure if we need this one?.. */
+.portlet-dlg-icon-label {
+
+}
+
+/* Text for form field labels */
+.portlet-form-field-label {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+}
+
+/* Text for a form field */
+.portlet-form-field {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   background-color: #8b8d89;
+   border: 1px solid #777;
+   margin-top: 10px;
+}
+
+/* Text of the user-input in an input field. not sure if we need this guy? */
+.portlet-form-input-field {
+   color: #444;
+   background-color: #8b8d89;
+   border: 2px solid #777;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   padding: 0px 4px 0px 4px;
+}
+
+/********
+* LINKS *
+*********/
+
+.portal-links:link {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   font-weight: bold;
+   color: #fff799;
+   text-decoration: none;
+}
+
+.portal-links:visited {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   font-weight: bold;
+   color: #fff699;
+   text-decoration: none;
+}
+
+.portal-links:hover .portal-links:active {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   font-weight: bold;
+   color: #fcc24f;
+   text-decoration: underline;
+}
+
+/***********
+* MESSAGES *
+************/
+
+/* Status of the current operation. */
+.portlet-msg-status {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   font-style: normal;
+   color: #660000;
+}
+
+/* Help messages, general additional information, etc. */
+.portlet-msg-info {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   font-style: italic;
+   color: #990000;
+}
+
+/* Error messages. */
+.portlet-msg-error {
+   color: #990000;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   font-style: oblique;
+}
+
+/* Warning messages. */
+.portlet-msg-alert {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   font-style: oblique;
+   color: #cc0000;
+}
+
+/* Verification of the successful completion of a task. */
+.portlet-msg-success {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   font-style: oblique;
+   color: #330000;
+}
+
+/***********
+* SECTIONS *
+************/
+
+/* Table or section header */
+.portlet-section-header {
+   font-weight: bold;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 12px;
+   color: #e1d54b;
+   border-bottom: 1px dotted #8b8d89;
+   padding: 12px 0px 0px 0px;
+   margin: 12px 0px 4px 0px;
+}
+
+/* Normal text in a table cell */
+.portlet-section-body {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+}
+
+/* Text in every other row in the cell */
+.portlet-section-alternate {
+   background-color: #efefef;
+   background-image: url( images/portlet-section-alt-bg2.gif );
+   background-position: bottom left;
+   background-repeat: repeat-x;
+   border: 1px solid #555;
+   color: #666;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   padding: 10px;
+}
+
+/* This fixes the nesting issue on main screen in alt rows... */
+.portlet-section-alternate {
+   color: #666;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+}
+
+.portlet-section-alternate a:link {
+   color: #f90;
+   font-family: Arial, Helvetica, sans-serif;
+   font-weight: bold;
+   font-size: 11px;
+}
+
+.portlet-section-alternate a:visited {
+   color: #f90;
+   font-family: Arial, Helvetica, sans-serif;
+   font-weight: bold;
+   font-size: 11px;
+   text-decoration: line-through;
+}
+
+.portlet-section-alternate a:hover, .portlet-section-alternate a:active {
+   color: #f60;
+   font-family: Arial, Helvetica, sans-serif;
+   font-weight: bold;
+   font-size: 11px;
+   text-decoration: underline;
+}
+
+/* Text in a selected cell range */
+.portlet-section-selected {
+   background-color: #999;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   color: #fff;
+   padding: 10px;
+   border: 1px solid #555;
+}
+
+/* Text of a subheading */
+.portlet-section-subheader {
+   font-weight: bold;
+   font-size: 11px;
+   font-family: Arial, Helvetica, sans-serif;
+   color: #e1d54b;
+}
+
+/* Table or section footnote */
+.portlet-section-footer {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   color: #e1d54b;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories
+(e.g. explanatory or help text that is associated with the section. */
+.portlet-section-text {
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   font-style: italic;
+}
+
+/********
+* MENUS *
+*********/
+
+/*General menu settings such as background color, margins, etc. */
+.portlet-menu {
+
+}
+
+/* Normal, unselected menu item. */
+.portlet-menu-item {
+   color: #242424;
+   text-decoration: none;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+}
+
+.portlet-menu-item:hover {
+   color: #fff;
+   text-decoration: none;
+   font-family: Arial, Helvetica, sans-serif;
+   font-size: 10px;
+}
+
+/* Selected menu item. */
+.portlet-menu-item-selected {
+
+}
+
+/* Selected menu item when the mouse hovers over it. */
+.portlet-menu-item-selected:hover {
+
+}
+
+/* Normal, unselected menu item that has sub-menus. */
+.portlet-menu-cascade-item {
+
+}
+
+/* Selected sub-menu item that has sub-menus */
+.portlet-menu-cascade-item-selected {
+
+}
+
+/* Descriptive text for the menu (e.g. in a help context below the menu) */
+.portlet-menu-description {
+
+}
+
+/* Menu caption */
+.portlet-menu-caption {
+
+}
+
+/* A separator bar similar to a horizontal rule, but with styling matching the page */
+.portlet-horizontal-separator {
+   height: 1px;
+   color: #e1d54b;
+}
+
+/* Allows portlets to mimic the title bar when nesting something */
+.portlet-nestedTitle-bar {
+}
+
+/* Allows portlets to match the textual character of the title on the title bar. */
+.portlet-nestedTitle {
+}
+
+/* Support portlets having tabs in the same style as the page or other portlets */
+.portlet-tab {
+}
+
+/* Highlight the tab currently being shown */
+.portlet-tab-active {
+}
+
+/* Highlight the selected tab (not yet active) */
+.portlet-tab-selected {
+}
+
+/* A tab which can not be currently activated */
+.portlet-tab-disabled {
+}
+
+/* Top level style for the content of a tab. */
+.portlet-tab-area {
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/readme.txt
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/readme.txt	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/mission-critical/readme.txt	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+JBoss Portal theme information
+November 15, 2005
+
+Ingredients:
+1) Theme name - "Mission Critical"
+2) Theme notes - Description or concept of theme.
+3) Custom branding - Removal of the JBoss branding graphic in the header.
+4) Theme author/designer - Paul Tamaro, Novell
+5) Additional credits
+
+THEME NOTES:
+Mission Critical was designed to present the versatility of the CSS-driven DIV-Renderer method of controlling the portal UI. The original idea and concept was "Business Bond." What would James Bond's portal look like anyway? I think it would be far "cooler" than this... Maybe I'll revisit this one after churning-out a few more themes, and see if I can improve it.
+
+This theme does not include styles for navigation, or login.
+
+CUSTOM BRANDING:
+To remove, replace or hide the header graphic that contains the JBoss product branding text (the "JBoss Portal" text in the top-left-hand corner of the screen), open the "portal-styles.css" file and modify the #logoName selector.
+
+#logoName {
+/* Logo...*/
+	background-image: url(images/portal-header.gif);
+	background-repeat: no-repeat;
+	width: 440px;
+	height: 440px;
+	z-index: 0;
+	position: absolute;
+	left: 0px;
+	top: -1px;
+}
+
+You can easily just replace the background image with a custom graphic, or simply comment it out. Adjust the height and width attributes accordingly when replacing this image if necessary.
+
+CREDITS:
+* Concept, artwork, and CSS coding by Paul Tamaro. Released under Creative Commons License (by-sa).
+* Copyright GNU LGPL (c) 2005 Novell, Inc.
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/Thumbs.db
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/Thumbs.db
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/admin.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/admin.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/edit.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/edit.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/header_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/header_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/header_border_bottom.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/header_border_bottom.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/header_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/header_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/help.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/help.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/ico_addcontent.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/ico_addcontent.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/maximize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/maximize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/minimize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/minimize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/modes_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/modes_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/modes_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/modes_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/modes_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/modes_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/normal.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/normal.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_bottom.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_bottom.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_top.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/page_border_top.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-bottom-left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-bottom-left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-bottom-middle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-bottom-middle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-bottom-right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-bottom-right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-content-left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-content-left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-right-vertical.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-right-vertical.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-top-left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-top-left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-top-middle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-top-middle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-top-right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-top-right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-win-decoration.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet-win-decoration.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_header_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_header_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_border_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_border_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_btm_center.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_btm_center.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_btm_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_btm_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_btm_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_btm_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_top_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_top_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_top_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/portlet_window_top_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_left_hover2.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_left_hover2.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_left_unselected.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_left_unselected.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_right_hover2.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_right_hover2.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_right_unselected.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/tab_right_unselected.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/view.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/images/view.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/portal_style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/portal_style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/phalanx/portal_style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1033 @@
+/* *************************************************** */
+/*      Phalanx theme for JBoss Portal                 */
+/* *************************************************** */
+
+#body {
+   background-color: #E6E8E5;
+   margin: 0px;
+   padding: 0px;
+   color: #000000;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+/*****************
+* Portal Header  *
+******************/
+
+/* spacer to keep header at certain width regardless of display size
+done to avoid overlapping of tab navigation in header */
+#spacer {
+/*width: 1024px;*/
+   line-height: 0px;
+   font-size: 0px;
+   height: 0px;
+   min-width: 804px;
+}
+
+/* Wrapper for Header */
+#header-container {
+   background-image: url( images/header_bg.gif );
+   background-repeat: repeat-x;
+   height: 100%; /*	min-width: 1000px;*/
+   width: 100%;
+   border-right-style: solid;
+   border-right-width: 2px;
+   border-right-color: #CFD2CF;
+   border-left-style: solid;
+   border-left-width: 2px;
+   border-left-color: #CFD2CF;
+   border-top-style: solid;
+   border-top-width: 2px;
+   border-top-color: #CFD2CF;
+   margin: 0px -3px 0px 3px;
+
+   z-index: 5;
+}
+
+/* Header background */
+#header {
+   background-image: url( images/header_right.gif );
+   background-repeat: no-repeat;
+   height: 126px;
+   padding: 0px;
+   margin: 0px;
+   background-position: right;
+}
+
+#logoName {
+   background-image: url( images/logo.gif );
+   background-repeat: no-repeat;
+   width: 278px;
+   height: 126px;
+   z-index: 2;
+   position: absolute;
+   left: 0px;
+   top: 0px;
+   border-top-style: solid;
+   border-top-width: 2px;
+   border-top-color: #CFD2CF;
+}
+
+/************************
+* Portal Layout Regions *
+*************************/
+
+/* wrapper for entire portal. starts/ends after/before body tag */
+#portal-container {
+   margin: 4px 2% 0px 2%;
+   background-color: #FEFFFC;
+   background-image: url( images/page_border_bottom.gif );
+   background-position: bottom;
+   background-repeat: repeat-x; /* part of below IE hack to preserve min-width for portlet regions */
+   padding: 0 350px 0 350px;
+}
+
+/* min width hack for IE */
+#expander {
+   margin: 0 -350px 0 -350px;
+   position: relative;
+   min-width: 804px;
+   padding: 0 0 0 0;
+}
+
+/* min width hack for IE */
+#sizer {
+   width: 100%;
+}
+
+/* IE Hack \*/
+* html #portal-container,
+   * html #sizer,
+   * html #expander {
+   height: 0;
+}
+
+/* end IE min-width hack */
+
+/* table that contains all regions. does not include header */
+#content-container {
+   height: 100%;
+   text-align: left; /*   min-width: 800px;*/
+   width: 100%;
+   min-width: 800px;
+   border-right-style: solid;
+   border-right-width: 2px;
+   border-right-color: #CFD2CF;
+   border-left-style: solid;
+   border-left-width: 2px;
+   border-left-color: #CFD2CF;
+   background-color: #FEFFFC;
+   border-bottom-style: solid;
+   border-bottom-width: 2px;
+   border-bottom-color: #CFD2CF;
+
+   background-image: url( images/header_border_bottom.gif );
+   background-position: top;
+   background-repeat: repeat-x;
+}
+
+/* Login JSP Selectors */
+#login-container {
+   position: relative;
+   left: 35%;
+   top: 55px;
+   right: 45%;
+   width: 320px;
+   height: 250px;
+   margin: 0px;
+}
+
+#login-container label, #login-container input {
+   display: block;
+   float: left;
+   width: auto;
+   margin-top: 15px;
+}
+
+#login-container label {
+   text-align: right;
+   padding-right: 20px;
+   width: 95px;
+}
+
+#login-container br {
+   clear: left;
+}
+
+#loginButton {
+
+}
+
+#login-container legend {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 13px;
+   font-weight: bold;
+   color: #768591;
+}
+
+#loginForm {
+   margin: 0px;
+   padding: 0px;
+}
+
+/* end Login Page Selectors */
+
+/* portlet regions within content-container. this includes footer-container. */
+#regionA {
+   /* test to swap columns...
+    float: right; 	*/
+
+   width: 30%;
+   float: left;
+   margin: 0px;
+   padding: 0px;
+   min-width: 250px;
+}
+
+#regionB {
+   /* test to swap columns..
+     margin: 0 30% 0 0; */
+
+   /*two column layout
+margin: 0 0 0 30%;*/
+   padding: 0px; /* test to add 3rd region in layout...*/
+   width: 67%;
+   float: left;
+}
+
+#regionC {
+/* inclusion of 3rd region - comment out for 2 region testing */
+   padding: 0px;
+   margin: 0px;
+   width: 28%;
+   float: left; /*hide 3rd region*/
+   display: none;
+}
+
+#footer-container {
+   position: relative;
+   bottom: -30px;
+   text-align: left;
+}
+
+#navigation-container {
+}
+
+/* used to clear float in regionA,B,C divs so that
+footer spans bottom of page */
+/* used to clear float in regionA,B,C divs so that
+footer spans bottom of page */
+hr.cleaner {
+   clear: both;
+   height: 1px;
+   margin: -1px 0 0 0;
+   padding: 0;
+   border: none;
+   visibility: hidden;
+}
+
+/****************************
+* Tab Navigation for Header *
+*****************************/
+
+UL#tabsHeader {
+   margin: 0;
+   padding-left: 300px;
+   min-width: 550px;
+   z-index: 100; /* added for submenu hover */
+   position: relative; /* added for submenu hover */
+}
+
+UL#tabsHeader li {
+   display: inline;
+   list-style: none;
+   float: left;
+   margin-left: 0px;
+   margin-top: 100px;
+   margin-right: 0px;
+   position: relative;
+   top: 0px;
+   background-image: url( images/tab_right_unselected.gif );
+   background-repeat: no-repeat;
+   background-position: right top;
+   white-space: nowrap;
+}
+
+UL#tabsHeader li:hover {
+   background-image: url( images/tab_right_hover2.gif );
+   background-repeat: no-repeat;
+   background-position: right top;
+   white-space: nowrap;
+}
+
+/* hover selectors for main header tabs */
+UL#tabsHeader li.hoverOn {
+   background-image: url( images/tab_right_hover2.gif );
+   background-repeat: no-repeat;
+   background-position: right top;
+   white-space: nowrap;
+}
+
+UL#tabsHeader li.hoverOff {
+   background-image: url( images/tab_right_unselected.gif );
+   background-repeat: no-repeat;
+   background-position: right top;
+   white-space: nowrap;
+}
+
+UL#tabsHeader a {
+   display: inline;
+   float: left;
+   text-decoration: none;
+   font: 13px / normal Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   color: #425261;
+   line-height: 26px;
+   padding: 5px 15px 1px 15px;
+   background-image: url( images/tab_left_unselected.gif );
+   background-repeat: no-repeat;
+   background-position: top left;
+   width: 90px;
+   white-space: nowrap;
+}
+
+UL#tabsHeader a:hover {
+   text-decoration: none;
+   color: #000;
+   background-image: url( images/tab_left_hover2.gif );
+   background-repeat: no-repeat;
+   background-position: top left;
+   white-space: nowrap;
+   line-height: 26px;
+}
+
+UL#tabsHeader #current {
+   background-color: #fff;
+   background-image: url( images/tab_right.gif );
+   background-repeat: no-repeat;
+   background-position: right bottom;
+   /*   margin-bottom: -3px;
+padding-top: 3px;
+border-bottom: 1px solid #fff;*/
+   line-height: 26px;
+}
+
+UL#tabsHeader #current a, #current a:hover {
+   font: 13px / normal Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: 500;
+   color: #000; /*   line-height: 20px;*/
+   background-image: url( images/tab_left.gif );
+   background-repeat: no-repeat;
+   background-position: top left;
+   /*   margin-top: -3px;
+  padding-bottom: 3px;*/
+   line-height: 26px;
+}
+
+/* Begin Submenu selectors */
+
+/* hide the sub levels and give them a positon absolute so that they take up no room */
+UL#tabsHeader ul {
+   visibility: hidden;
+   position: absolute;
+   height: 0;
+   top: 0px;
+   left: 0;
+   width: 150px;
+   text-align: left;
+   margin: 0px;
+   padding: 0px;
+   margin-top: 22px;
+}
+
+UL#tabsHeader ul a {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+
+}
+
+UL#tabsHeader ul a:hover {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+}
+
+UL#tabsHeader #current ul a {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+}
+
+UL#tabsHeader li:hover ul {
+   visibility: visible;
+}
+
+UL#tabsHeader ul li {
+   background: #EDECEC;
+   color: #5078aa;
+   padding: 3px;
+   width: 120px;
+
+   border: 1px solid #FFFFFF;
+   border-width: 1px 1px 0 0;
+
+   margin-left: 0px;
+   margin-top: 0px;
+   margin-right: 0px;
+}
+
+UL#tabsHeader ul li:hover {
+   background: #E2E2E2;
+}
+
+/* End Submenu selectors */
+
+UL#tabsHeader #current a:hover {
+   text-decoration: none;
+}
+
+/* Tab background color for selected global nav item */
+li.currentTabBackground {
+   background: #fff;
+}
+
+/* backslash hack for IE5-Mac \*/
+UL#tabsHeader a {
+   float: none;
+}
+
+/* End Mac Hack */
+html>body UL#tabsHeader a {
+   width: auto;
+}
+
+/* fixes IE6 win hack */
+
+/***************************
+*  Utility Navigation  *
+*****************************/
+
+#dashboardnav {
+   float: right;
+   font-size: 10px;
+   padding: 6px 12px 0px 0px;
+   color: #FFFFFF;
+   z-index: 20;
+}
+
+#dashboardnav a {
+   color: #FFFFFF;
+}
+
+#dashboardnav .addcontent {
+   background-image: url( images/ico_addcontent.gif );
+   background-repeat: no-repeat;
+   background-position: left;
+   height: 20px;
+   width: 20px;
+   padding-left: 16px;
+}
+
+/****************************
+* Portlet Container Windows *
+*****************************/
+
+.portlet-container {
+/*	margin: 10px;*/
+   padding: 10px;
+}
+
+.portlet-titlebar-title {
+   color: #000000;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   white-space: nowrap;
+   line-height: 100%;
+   float: left;
+   text-indent: 5px;
+}
+
+.portlet-titlebar-decoration {
+   height: 11px;
+   width: 11px;
+   float: left;
+   position: relative;
+   top: 4px;
+}
+
+/* wrapper for floating portlet window modes */
+.portlet-mode-container {
+   float: right;
+   padding-left: 4px;
+}
+
+.portlet-titlebar-left {
+   background-image: url( images/portlet-top-left.gif );
+   background-repeat: no-repeat;
+   width: 9px;
+   height: 30px;
+   background-position: right;
+   min-width: 9px;
+}
+
+.portlet-titlebar-center {
+   background-image: url( images/portlet-top-middle.gif );
+   background-repeat: repeat-x;
+   height: 30px;
+}
+
+.portlet-titlebar-right {
+   background-image: url( images/portlet-top-right.gif );
+   background-repeat: no-repeat;
+   width: 10px;
+   height: 30px;
+   min-width: 10px;
+}
+
+.portlet-content-left {
+   background-image: url( images/portlet-content-left.gif );
+   background-repeat: repeat-y;
+   width: 8px;
+   min-width: 8px;
+}
+
+.portlet-content-center {
+   background-color: #fff;
+   background-repeat: repeat;
+   vertical-align: top;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+}
+
+.portlet-body {
+   background-color: #fff;
+}
+
+.portlet-content-right {
+   background-image: url( images/portlet-right-vertical.gif );
+   height: 100%;
+   background-repeat: repeat-y;
+   background-position: right;
+   width: 4px;
+   min-width: 4px;
+}
+
+.portlet-footer-left {
+   background-image: url( images/portlet-bottom-left.gif );
+   width: 8px;
+   height: 11px;
+   background-repeat: no-repeat;
+   background-position: top right;
+   min-width: 8px;
+}
+
+.portlet-footer-center {
+   background-image: url( images/portlet-bottom-middle.gif );
+   height: 11px;
+   background-repeat: repeat-x;
+}
+
+.portlet-footer-right {
+   background-image: url( images/portlet-bottom-right.gif );
+   width: 12px;
+   height: 11px;
+   background-repeat: no-repeat;
+   min-width: 12px;
+}
+
+/***********************
+* Portlet Window Modes *
+************************/
+.portlet-mode-maximized {
+   background-image: url( images/maximize.gif );
+   width: 15px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-minimized {
+   background-image: url( images/minimize.gif );
+   width: 15px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-normal {
+   background-image: url( images/normal.gif );
+   width: 15px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-help {
+   background-image: url( images/help.gif );
+   width: 15px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-admin {
+   background-image: url( images/admin.gif );
+   width: 15px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-edit {
+   background-image: url( images/edit.gif );
+   width: 15px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-remove {
+   background-image: url( images/remove.gif );
+   width: 15px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-view {
+   background-image: url( images/view.gif );
+   width: 15px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-reload {
+   background-image: url( images/reload.gif );
+   width: 15px;
+   height: 20px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+}
+
+/**********************
+* Copyright Selectors *
+***********************/
+.portal-copyright {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   color: #5E6D7A;
+}
+
+a.portal-copyright {
+   color: #768591;
+   text-decoration: none;
+}
+
+a.portal-copyright:hover {
+   color: #96A5B1;
+   text-decoration: none;
+}
+
+#ThemeBy:before {
+   content: "Theme by Novell";
+}
+
+/*************
+*  Elements  *
+**************/
+a {
+   color: #4566D4;
+   text-decoration: none;
+}
+
+a:hover {
+   color: #336699;
+   text-decoration: none;
+}
+
+INPUT {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+}
+
+SELECT {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+}
+
+FONT {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+   color: #768591;
+}
+
+FIELDSET {
+   background-color: #f7f7f7;
+   border: 1px solid #BABDB6;
+   padding: 6px;
+}
+
+LEGEND {
+   background-color: transparent;
+   padding-left: 6px;
+   padding-right: 6px;
+   padding-bottom: 0px;
+   font-size: 13px;
+}
+
+/********
+* FONTS *
+*********/
+
+/* Font attributes for the normal  fragment font.
+Used for the display of non-accentuated information */
+.portlet-font {
+   color: #000000;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+/* Font attributes similar to the portlet.font but the color is lighter */
+.portlet-font-dim {
+   color: #777777;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+/********
+* FORMS *
+*********/
+.portlet-form-label {
+   color: #336699;
+   text-decoration: none;
+   font-weight: bold;
+   font-size: 12px;
+}
+
+/* Text of the user-input in an input field. not sure if we need this guy? */
+.portlet-form-input-field {
+   color: #FFFFFF;
+   font-size: 12px;
+   border-color: #000000;
+   border-style: solid;
+   border-width: 1px;
+   background-color: #336699;
+}
+
+/* Text on a form button */
+.portlet-form-button {
+   font-size: 12px;
+   color: #000000;
+}
+
+/* Text that appears beside a context dependent action icon */
+.portlet-icon-label {
+
+}
+
+/* Text that appears beside a "standard" icon (e.g Ok, or Cancel)
+not sure if we need this one?.. */
+.portlet-dlg-icon-label {
+
+}
+
+/* Text for form field labels */
+.portlet-form-field-label {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   color: #000;
+   vertical-align: bottom;
+}
+
+/* Text for a form field */
+.portlet-form-field {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   color: #000; /*margin-top: 10px;*/
+}
+
+/********
+* LINKS *
+*********/
+
+.portal-links:link {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   color: #242424;
+   text-decoration: none;
+}
+
+.portal-links:hover {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   color: #5699B7;
+   text-decoration: none;
+}
+
+.portal-links:active {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   color: #242424;
+   text-decoration: none;
+}
+
+.portal-links:visited {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   color: #242424;
+   text-decoration: none;
+}
+
+/***********
+* MESSAGES *
+************/
+
+/* Status of the current operation. */
+.portlet-msg-status {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-style: normal;
+   color: #336699;
+}
+
+/* Help messages, general additional information, etc. */
+.portlet-msg-info {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-style: italic;
+   color: #000;
+}
+
+/* Error messages. */
+.portlet-msg-error {
+   color: red;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+}
+
+/* Warning messages. */
+.portlet-msg-alert {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   color: #821717;
+}
+
+/* Verification of the successful completion of a task. */
+.portlet-msg-success {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   color: #359630;
+}
+
+/***********
+* SECTIONS *
+************/
+
+/* Table or section header */
+.portlet-section-header {
+   font-weight: bold;
+   color: #000;
+   font-size: 13px;
+   background-color: #CBD4E6;
+}
+
+.portlet-section-body {
+   font-size: 12px;
+}
+
+.portlet-section-alternate {
+   font-size: 12px;
+   background-color: #E6E8E5;
+}
+
+.portlet-section-selected {
+   font-size: 12px;
+   background-color: #CBD4E6;
+}
+
+.portlet-section-subheader {
+   font-weight: bold;
+   font-size: 12px;
+}
+
+.portlet-section-footer {
+   font-size: 11px;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories
+(e.g. explanatory or help text that is associated with the section. */
+.portlet-section-text {
+   font-size: 12px;
+   font-style: italic;
+}
+
+/*******************
+* Table Selectors  *
+********************/
+/* Table header */
+.portlet-table-header {
+   font-weight: bold;
+   color: #FFF;
+   font-size: 13px;
+   background-color: #336699;
+}
+
+/* Normal text in a table cell */
+.portlet-table-body {
+   color: #000;
+   font-size: 12px;
+}
+
+/* Text in every other row in the table */
+.portlet-table-alternate {
+   color: #000;
+   font-size: 12px;
+   background-color: #E6E8E5;
+}
+
+/* Text in a selected cell range */
+.portlet-table-selected {
+   color: #000;
+   font-size: 12px;
+   background-color: #CBD4E6;
+}
+
+/* Text of a subheading */
+.portlet-table-subheader {
+   font-weight: bold;
+   color: #000;
+   font-size: 12px;
+}
+
+/* Table footer */
+.portlet-table-footer {
+   font-size: 11px;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories (e.g. explanatory or help text that is associated with the table). */
+.portlet-table-text {
+   font-size: 12px;
+   color: #000;
+   font-style: italic;
+}
+
+/********
+* MENUS *
+*********/
+
+/*General menu settings such as background color, margins, etc. */
+.portlet-menu {
+
+}
+
+/* Normal, unselected menu item. */
+.portlet-menu-item {
+   color: #242424;
+   text-decoration: none;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+.portlet-menu-item:hover {
+   color: #5699B7;
+   text-decoration: none;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+/* Selected menu item. */
+.portlet-menu-item-selected {
+
+}
+
+/* Selected menu item when the mouse hovers over it. */
+.portlet-menu-item-selected:hover {
+
+}
+
+/* Normal, unselected menu item that has sub-menus. */
+.portlet-menu-cascade-item {
+
+}
+
+/* Selected sub-menu item that has sub-menus */
+.portlet-menu-cascade-item-selected {
+
+}
+
+/* Descriptive text for the menu (e.g. in a help context below the menu) */
+.portlet-menu-description {
+
+}
+
+/* Menu caption */
+.portlet-menu-caption {
+
+}
+
+/* ===== WSRP 2.0 - As of now proposed additions are:	===== */
+
+/* A separator bar similar to a horizontal rule, but with styling matching the page */
+.portlet-horizontal-separator {
+   color: #E6E8E5;
+   height: 1px;
+}
+
+/* Allows portlets to mimic the title bar when nesting something */
+.portlet-nestedTitle-bar {
+}
+
+/* Allows portlets to match the textual character of the title on the title bar. */
+.portlet-nestedTitle {
+}
+
+/* Support portlets having tabs in the same style as the page or other portlets */
+.portlet-tab {
+}
+
+/* Highlight the tab currently being shown */
+.portlet-tab-active {
+}
+
+/* Highlight the selected tab (not yet active) */
+.portlet-tab-selected {
+}
+
+/* A tab which can not be currently activated */
+.portlet-tab-disabled {
+}
+
+/* Top level style for the content of a tab. */
+.portlet-tab-area {
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/animated_favicon1.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/animated_favicon1.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/favicon.ico
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/header_bg.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/header_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/homeimg_cornerelement.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/homeimg_cornerelement.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_help.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_help.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_maximize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_maximize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_minimize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_minimize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_normal.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_normal.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_reload.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_reload.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_remove.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_remove.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_swizzleclosed.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_swizzleclosed.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_swizzleopen.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_16_swizzleopen.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_addcontent.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_addcontent.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_admin.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_admin.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_blue_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_blue_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_blue_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_blue_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_grey_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_grey_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_grey_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_arrow_grey_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_cancel.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_cancel.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_edit.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_edit.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_listelement.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/ico_listelement.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/logo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-bottom-left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-bottom-left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-bottom-middle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-bottom-middle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-bottom-right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-bottom-right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-left-vertical.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-left-vertical.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-right-vertical.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-right-vertical.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-top-left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-top-left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-top-middle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-top-middle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-top-right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/portlet-top-right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/spacer.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/spacer.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left_admin.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left_admin.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left_current.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left_current.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left_hover2.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_left_hover2.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right_admin.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right_admin.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right_current.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right_current.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right_hover2.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_right_hover2.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_swizzle.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/images/tab_swizzle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/portal_style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/portal_style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-core.war/themes/renaissance/portal_style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,1352 @@
+/* *************************************************** */
+/*      Default for JBoss Portal                 */
+/* *************************************************** */
+
+#body {
+   background-color: #FFFFFF;
+   background-image: url( images/header_bg.gif );
+   background-repeat: repeat-x;
+   margin: 0px;
+   padding: 0px;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   background-repeat: repeat-x;
+   font-size: 11px;
+   color: #656565;
+}
+
+/*****************
+* Portal Header  *
+******************/
+
+/* spacer to keep header at certain width regardless of display size
+done to avoid overlapping of tab navigation in header */
+#spacer {
+   width: 770px;
+   line-height: 0px;
+   font-size: 0px;
+   height: 0px;
+}
+
+/* Wrapper for Header */
+#header-container {
+   height: 100%;
+   width: 100%;
+   min-width: 770px;
+   z-index: 5;
+   margin: 0px -3px 0px 3px;
+}
+
+/* Header background */
+#header {
+   height: 65px;
+   width: 100%;
+   padding: 0px;
+   margin: 0px;
+   z-index: 1;
+}
+
+#logoName {
+   background-image: url( images/logo.gif );
+   background-repeat: no-repeat;
+   float: left;
+   width: 250px;
+   height: 25px;
+   z-index: 2;
+   position: absolute;
+   left: 20px;
+   top: 10px;
+
+}
+
+/************************
+* Portal Layout Regions *
+*************************/
+
+/* wrapper for entire portal. starts/ends after/before body tag */
+#portal-container {
+/* part of below IE hack to preserve min-width for portlet regions */
+/*width: 100%;*/
+   margin: 4px 2% 0px 2%;
+
+   padding: 0 350px 0 350px;
+}
+
+/* min width for IE */
+#expander {
+   position: relative;
+   padding: 0 0 0 0;
+
+   margin: 0 -350px 0 -350px;
+   min-width: 770px;
+   padding: 0 0 0 0;
+}
+
+/* min width hack for IE */
+#sizer {
+   width: 100%;
+}
+
+/* IE Hack \*/
+* html #portal-container,
+   * html #sizer,
+   * html #expander {
+   height: 0;
+}
+
+/* end IE min-width hack */
+
+/* table that contains all regions. does not include header */
+
+#content-container {
+   height: 100%;
+   text-align: left;
+   width: 100%;
+   min-width: 770px;
+   /*
+   position: absolute;
+   top: 70px;
+   left: 0px; / * z-index: 1; * /
+   / * part of below IE hack
+padding: 0 350px 0 350px; * /
+   padding: 0px 100px 0px 0px;
+   */
+}
+
+/* Login JSP Selectors */
+#login-container {
+   position: relative;
+   left: 35%;
+   top: 55px;
+   right: 45%;
+   width: 320px;
+   height: 250px;
+   margin: 0px;
+}
+
+#login-container label, #login-container input {
+   display: block;
+   float: left;
+   width: auto;
+   margin-top: 15px;
+}
+
+#login-container label {
+   text-align: right;
+   padding-right: 20px;
+   width: 95px;
+}
+
+#login-container br {
+   clear: left;
+}
+
+#loginButton {
+
+}
+
+#login-container legend {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 13px;
+   font-weight: bold;
+   color: #768591;
+}
+
+#loginForm {
+   margin: 0px;
+   padding: 0px;
+}
+
+/* end Login Page Selectors */
+
+/* portlet regions within content-container. this includes footer-container. */
+#regionA {
+   /* test to swap columns...
+      float: right; 	*/
+
+   width: 30%;
+   float: left;
+   margin: 0px;
+   padding: 0px;
+   min-width: 250px; /*height: 300px;*/
+}
+
+#regionB {
+   /* test to swap columns..
+margin: 0 30% 0 0; */
+
+   /*two column layout
+margin: 0 0 0 30%;*/
+   padding: 0px; /* test to add 3rd region in layout...*/
+   width: 67%;
+   float: left; /*height: 300px;*/
+}
+
+#regionC {
+/* inclusion of 3rd region - comment out for 2 region testing */
+   padding: 0px;
+   margin: 0px;
+   width: 28%;
+   float: left; /*hide 3rd region*/
+   display: none;
+}
+
+#footer-container {
+   padding: 10px;
+   text-align: center;
+   clear: both;
+}
+
+#navigation-container {
+   margin: 0px;
+   position: absolute;
+   width: 100%;
+   z-index: -1;
+}
+
+/* used to clear float in regionA,B,C divs so that
+footer spans bottom of page */
+/* used to clear float in regionA,B,C divs so that
+footer spans bottom of page */
+hr.cleaner {
+   clear: both;
+   height: 1px;
+   margin: -1px 0 0 0;
+   padding: 0;
+   border: none;
+   visibility: hidden;
+}
+
+/***************************
+*  Primary Navigation (Tabbed Nav)  *
+*****************************/
+
+ul#tabsHeader {
+   margin: 0;
+   padding-left: 0px;
+   margin-top: 39px;
+   min-width: 550px;
+   z-index: 100; /* added for submenu hover */
+/*position: relative;  added for submenu hover */
+}
+
+ul#tabsHeader li {
+   display: inline;
+   list-style: none;
+   float: left;
+   margin-left: 0px;
+   margin-top: 0px;
+   margin-right: 0px;
+   position: relative;
+   top: 0px;
+   background-image: url( images/tab_right.gif );
+   background-repeat: no-repeat;
+   background-position: right top;
+   white-space: nowrap;
+}
+
+ul#tabsHeader li:hover {
+   background-image: url( images/tab_right_hover2.gif );
+   background-repeat: no-repeat;
+   background-position: right top;
+   white-space: nowrap;
+}
+
+/* hover selectors for main header tabs */
+ul#tabsHeader li.hoverOn {
+   background-image: url( images/tab_right_hover2.gif );
+   background-repeat: no-repeat;
+   background-position: right top;
+   white-space: nowrap;
+}
+
+ul#tabsHeader li.hoverOff {
+   background-image: url( images/tab_right.gif );
+   background-repeat: no-repeat;
+   background-position: top right;
+   white-space: nowrap;
+}
+
+ul#tabsHeader a {
+   display: inline;
+   float: left;
+   text-decoration: none;
+   font: 11px / normal Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: bold;
+   color: #8a8a8a;
+   padding: 5px 15px 3px 15px; /*background-image: url(../images/tab_left.gif);*/
+   background-repeat: no-repeat;
+   background-position: top left;
+   width: 110px;
+   white-space: nowrap;
+   line-height:22px;
+}
+
+ul#tabsHeader a:hover {
+   text-decoration: none;
+   color: #000000; /*background-image: url(../images/tab_left_hover2.gif);*/
+   background-repeat: no-repeat;
+   background-position: top left;
+   white-space: nowrap;
+}
+
+ul#tabsHeader #current {
+   line-height: 22px;
+   background-image: url( images/tab_right_current.gif );
+   background-repeat: no-repeat;
+   background-position: right top;
+}
+
+ul#tabsHeader #current a, #current a:hover {
+   font: 11px / normal Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: bold;
+   color: #000; /*   background-image: url(../images/tab_left_current.gif); */
+   background-repeat: no-repeat;
+   background-position: top left;
+   line-height: 22px;
+}
+
+/* Begin Submenu selectors */
+ul#tabsHeader ul {
+   visibility: hidden;
+   position: absolute;
+   height: 0;
+   top: 0px;
+   left: 0;
+   width: 160px;
+   text-align: left;
+   margin: 0px;
+   padding: 0px;
+   margin-top: 22px;
+}
+
+ul#tabsHeader ul a {
+   text-decoration: none;
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+}
+
+ul#tabsHeader ul a:hover {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+}
+
+ul#tabsHeader #current ul a {
+   font: 11px;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: normal;
+   color: #5078aa;
+}
+
+ul#tabsHeader li:hover ul,
+   ul#tabsHeader a:hover ul {
+   visibility: visible;
+}
+
+ul#tabsHeader ul li {
+   background: #DFE8ED;
+   color: #5078aa;
+   padding: 3px;
+   width: 160px;
+
+   border: 1px solid #98b7c6;
+   border-width: 0px 1px 1px 1px;
+
+   margin-left: 0px;
+   margin-top: 0px;
+   margin-right: 0px;
+}
+
+ul#tabsHeader ul li:hover {
+   background: #C0D3DC;
+}
+
+/* End Submenu selectors */
+
+/* -------- These are new selectors for the admin and add page styles ------- */
+
+ul#tabsHeader #admin {
+   display: inline;
+   background-image: url( images/tab_right_admin.gif );
+   background-repeat: no-repeat;
+   background-position: right top;
+   padding-top: -3px;
+   line-height: 22px;
+}
+
+ul#tabsHeader #admin a {
+   text-decoration: none;
+   color: #4386b5; /*   background-image: url(../images/tab_left_admin.gif);*/
+   background-repeat: no-repeat;
+   background-position: top left;
+   white-space: nowrap;
+   padding-top: -3px;
+   line-height: 22px;
+}
+
+ul#tabsHeader #admin a:hover {
+   text-decoration: underline;
+}
+
+ul#tabsHeader #addpage {
+   display: inline;
+   background-color: none;
+   background-image: none;
+   margin-bottom: -3px;
+   padding-top: 1px;
+}
+
+ul#tabsHeader #addpage a, #addpage a:hover {
+   font: 11px / normal Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-weight: bold;
+   color: white;
+   line-height: 22px;
+   background-image: none;
+   white-space: nowrap;
+}
+
+ul#tabsHeader #addpage a:hover {
+   text-decoration: underline;
+}
+
+/* Tab background color for selected global nav item */
+li.currentTabBackground {
+   background: #fff;
+}
+
+/* backslash hack for IE5-Mac \*/
+ul#tabsHeader a {
+   float: none;
+}
+
+/* End Mac Hack */
+html>body ul#tabsHeader a {
+   width: auto;
+}
+
+/* fixes IE6 win hack */
+
+/***************************
+*  Utility Navigation  *
+*****************************/
+
+#dashboardnav {
+   float: right;
+   font-size: 10px;
+   padding: 6px 12px 0px 0px;
+   color: #fff;
+   z-index: 20;
+}
+
+#dashboardnav a {
+   color: #fff;
+}
+
+#dashboardnav .addcontent {
+   background-image: url( images/ico_addcontent.gif );
+   background-repeat: no-repeat;
+   background-position: left;
+   height: 20px;
+   width: 20px;
+   padding-left: 16px;
+}
+
+/****************************
+* Portlet Container Windows *
+*****************************/
+
+.portlet-container {
+   padding: 10px;
+}
+
+/* wrapper for floating portlet window modes */
+.portlet-mode-container {
+   float: right;
+   padding-top: 4px;
+   white-space: nowrap;
+}
+
+.portlet-titlebar-title {
+   color: #656565;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   white-space: nowrap;
+   line-height: 100%;
+   float: left;
+   text-indent: 5px;
+   padding-top: 5px;
+   padding-bottom: 6px;
+}
+
+/* ------ NOT CURRENTLY IN USE FOR NEW 2.6 FUNCTIONALITY -------
+.portlet-titlebar-decoration {}
+*/
+
+.portlet-titlebar-left {
+   background-image: url( images/portlet-top-left.gif );
+   background-repeat: no-repeat;
+   width: 9px;
+   height: 29px;
+   min-width: 9px;
+   background-position: bottom;
+}
+
+.portlet-titlebar-center {
+   background-image: url( images/portlet-top-middle.gif );
+   background-repeat: repeat-x;
+   height: 29px;
+   background-position: bottom;
+}
+
+.portlet-titlebar-right {
+   background-image: url( images/portlet-top-right.gif );
+   background-repeat: no-repeat;
+   width: 10px;
+   height: 30px;
+   min-width: 10px;
+   background-position: bottom left;
+}
+
+.portlet-content-left {
+   background-image: url( images/portlet-left-vertical.gif );
+   background-repeat: repeat-y;
+   width: 9px;
+   min-width: 9px;
+   /*
+      width:20px;
+      background-color:#FFFFFF;
+      border-left: 1px solid #dfe8ed;
+   */
+}
+
+.portlet-content-center {
+   vertical-align: top;
+   padding: 0;
+   margin: 0;
+}
+
+.portlet-body {
+   background-color: #FFFFFF;
+   padding: 0;
+   margin: 0;
+}
+
+.portlet-content-right {
+   background-image: url( images/portlet-right-vertical.gif );
+   height: 100%;
+   background-repeat: repeat-y;
+   background-position: left;
+   width: 5px;
+   min-width: 5px;
+   padding: 0;
+   margin: 0;
+   /*
+      width:5px;
+      background-color:#FFFFFF;
+      border-right: 1px solid #dfe8ed;
+   */
+}
+
+.portlet-footer-left {
+   background-image: url( images/portlet-bottom-left.gif );
+   width: 9px;
+   height: 4px;
+   background-repeat: no-repeat;
+   background-position: top right;
+   min-width: 9px;
+   padding: 0;
+   margin: 0;
+   /*
+   background-color:#FFFFFF;
+   border-bottom: 1px solid #98b7c6;
+   border-left: 1px solid #dfe8ed;
+   height:5px;
+   */
+}
+
+.portlet-footer-center {
+   background-image: url( images/portlet-bottom-middle.gif );
+   height: 4px;
+   background-repeat: repeat-x;
+   /*	background-color:#FFFFFF;
+      border-bottom: 1px solid #98b7c6;
+      height:5px;
+   */
+}
+
+.portlet-footer-right {
+   background-image: url( images/portlet-bottom-right.gif );
+   width: 5px;
+   height: 4px;
+   background-repeat: no-repeat;
+   min-width: 5px;
+   /*
+      background-color:#FFFFFF;
+      border-bottom: 1px solid #98b7c6;
+      border-right: 1px solid #dfe8ed;
+      height:5px;
+   */
+}
+
+/***********************
+* Portlet Window Modes *
+************************/
+.portlet-mode-maximized {
+   background-image: url( images/ico_16_maximize.gif );
+   background-repeat: no-repeat;
+   width: 16px;
+   height: 16px;
+   float: left;
+   display: inline;
+   cursor: pointer;
+   padding-left: 3px;
+}
+
+.portlet-mode-maximized:hover {
+   text-decoration: none;
+}
+
+.portlet-mode-minimized {
+   background-image: url( images/ico_16_minimize.gif );
+   background-repeat: no-repeat;
+   width: 16px;
+   height: 16px;
+   float: left;
+   display: inline;
+   cursor: pointer;
+   padding-left: 3px;
+}
+
+.portlet-mode-minimized:hover {
+   text-decoration: none;
+}
+
+.portlet-mode-normal {
+   background-image: url( images/ico_16_normal.gif );
+   width: 16px;
+   height: 16px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+   padding-left: 3px;
+}
+
+.portlet-mode-normal:hover {
+   text-decoration: none;
+}
+
+.portlet-mode-help {
+   background-image: url( images/ico_16_help.gif );
+   width: 16px;
+   height: 16px;
+   background-repeat: no-repeat;
+   float: left;
+   display: inline;
+   cursor: pointer;
+   padding-left: 3px;
+}
+
+.portlet-mode-help:hover {
+   text-decoration: none;
+}
+
+.portlet-mode-edit {
+   background-image: url( images/ico_edit.gif );
+   background-repeat: no-repeat;
+   width: 28px;
+   height: 16px;
+   float: left;
+   display: inline;
+   cursor: pointer;
+   padding-left: 3px;
+}
+
+.portlet-mode-edit:hover {
+   text-decoration: none;
+}
+
+.portlet-mode-admin {
+   background-image: url( images/ico_admin.gif );
+   background-repeat: no-repeat;
+   width: 16px;
+   height: 16px;
+   float: left;
+   display: inline;
+   cursor: pointer;
+   padding-left: 3px;
+}
+
+.portlet-mode-admin:hover {
+   text-decoration: none;
+}
+
+.portlet-mode-remove {
+   background-image: url( images/ico_16_remove.gif );
+   background-repeat: no-repeat;
+   width: 16px;
+   height: 16px;
+   float: left;
+   display: inline;
+   cursor: pointer;
+   padding-left: 3px;
+}
+
+.portlet-mode-remove:hover {
+   text-decoration: none;
+}
+
+.portlet-mode-view {
+   background-image: url( images/ico_cancel.gif );
+   background-repeat: no-repeat;
+   width: 28px;
+   height: 16px;
+   float: left;
+   display: inline;
+   cursor: pointer;
+   padding-left: 3px;
+   padding-right: 20px;
+}
+
+.portlet-mode-view:hover {
+   text-decoration: none;
+}
+
+.portlet-mode-reload {
+   background-image: url( images/ico_16_reload.gif );
+   background-repeat: no-repeat;
+   width: 16px;
+   height: 16px;
+   float: left;
+   display: inline;
+   cursor: pointer;
+   padding-left: 3px;
+}
+
+.portlet-mode-reload:hover {
+   text-decoration: none;
+}
+
+.portlet-mode-hide {
+   background-image: url( images/ico_16_swizzleclosed.gif );
+   background-repeat: no-repeat;
+   width: 16px;
+   height: 16px;
+   float: right;
+   display: inline;
+   cursor: pointer;
+}
+
+.portlet-mode-hide:hover {
+   text-decoration: none;
+}
+
+/**********************
+* Copyright Selectors *
+***********************/
+.portal-copyright {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 10px;
+   color: #5E6D7A;
+}
+
+a.portal-copyright {
+   color: #768591;
+   text-decoration: none;
+}
+
+a.portal-copyright:hover {
+   color: #bcbcbc;
+   text-decoration: underline;
+}
+
+#ThemeBy {
+   content: "Theme by JBoss.org Design";
+}
+
+/*************
+*  Elements  *
+**************/
+a {
+   color: #5078aa;
+   text-decoration: none;
+}
+
+a:hover {
+   color: #7eacd6;
+   text-decoration: underline;
+}
+
+hr {
+   border-top: 1px dashed #d5d5d5;
+   border-bottom: 0px;
+   border-left: 0px;
+   border-right: 0px;
+}
+
+ul {
+   padding-left: 20px;
+}
+
+li {
+   list-style: url( images/ico_listelement.gif );
+}
+
+SELECT {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 11px;
+}
+
+FONT {
+}
+
+FIELDSET {
+}
+
+LEGEND {
+}
+
+h1 {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   color: #656565;
+   padding-top: 10px;
+   padding-bottom: 5px;
+   margin: 0px;
+}
+
+h2 {
+}
+
+h3 {
+}
+
+h4 {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   color: #656565;
+   padding-top: 10px;
+   padding-bottom: 5px;
+   margin: 0px;
+}
+
+h5 {
+}
+
+h6 {
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   color: #656565;
+   padding-top: 5px;
+   margin: 0px;
+}
+
+/********
+* FONTS *
+*********/
+
+/* Font attributes for the normal  fragment font.
+Used for the display of non-accentuated information */
+.portlet-font {
+   color: #000000;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 11px;
+}
+
+/* Font attributes similar to the portlet.font but the color is lighter */
+.portlet-font-dim {
+   color: #777777;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 11px;
+}
+
+/********
+* FORMS *
+*********/
+input {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 10px;
+   margin-right: 6px;
+}
+
+.portlet-form-label {
+   font-size: 10px;
+   color: #656565;
+}
+
+/* Text of the user-input in an input field. not sure if we need this guy? */
+.portlet-form-input-field {
+   color: #000000;
+   font-size: 10px;
+}
+
+/* Form Button Style */
+.portlet-form-button {
+   font-size: 10px;
+   font-weight: bold;
+   color: #FFFFFF;
+   background-color: #5078aa;
+   border-top: 1px solid #97B7C6;
+   border-left: 1px solid #97B7C6;
+   border-bottom: 1px solid #254869;
+   border-right: 1px solid #254869;
+}
+
+/* Text that appears beside a context dependent action icon */
+.portlet-icon-label {
+
+}
+
+/* Text that appears beside a "standard" icon (e.g Ok, or Cancel)
+not sure if we need this one?.. */
+.portlet-dlg-icon-label {
+
+}
+
+/* Text for form field labels */
+.portlet-form-field-label{
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 10px;
+   color: #000;
+   vertical-align: bottom;
+   white-space: nowrap
+}
+
+/* Text for a form field */
+.portlet-form-field {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 10px;
+   color: #000; /*margin-top: 10px;*/
+}
+
+.requiredfield {
+   color: #821717;
+}
+
+/********
+* LINKS *
+*********/
+
+.portal-links:link {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   color: #242424;
+   text-decoration: none;
+}
+
+.portal-links:hover {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   color: #5699B7;
+   text-decoration: none;
+}
+
+.portal-links:active {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   color: #242424;
+   text-decoration: none;
+}
+
+.portal-links:visited {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 11px;
+   font-weight: bold;
+   color: #242424;
+   text-decoration: none;
+}
+
+/***********
+* MESSAGES *
+************/
+
+/* Status of the current operation. */
+.portlet-msg-status {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-style: normal;
+   color: #336699;
+}
+
+/* Help messages, general additional information, etc. */
+.portlet-msg-info {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-style: italic;
+   color: #000;
+}
+
+/* Error messages. */
+.portlet-msg-error {
+   color: red;
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+}
+
+/* Warning messages. */
+.portlet-msg-alert {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   color: #821717;
+}
+
+/* Verification of the successful completion of a task. */
+.portlet-msg-success {
+   font-family: Verdana, Arial, Helvetica, Sans-Serif, sans-serif;
+   font-size: 12px;
+   font-weight: bold;
+   color: #359630;
+}
+
+/***********
+* SECTIONS *
+************/
+
+/* Table or section header */
+.portlet-section-header {
+   font-weight: bold;
+   color: #656565;
+   font-size: 12px;
+}
+
+.portlet-section-body {
+   color: #656565;
+}
+
+.portlet-section-alternate {
+   background-color: #F2F2F2;
+}
+
+.portlet-section-selected {
+   background-color: #CBD4E6;
+}
+
+.portlet-section-subheader {
+   font-weight: bold;
+   font-size: 10px;
+}
+
+.portlet-section-footer {
+   font-size: 11px;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories
+(e.g. explanatory or help text that is associated with the section. */
+.portlet-section-text {
+   font-size: 12px;
+   font-style: italic;
+}
+
+/*******************
+* Table Selectors  *
+********************/
+/* Table header */
+.portlet-table-header {
+   background-color: #eef;
+   padding: 0 5px 5px 5px;
+   font-weight: bold;
+   color: #656565;
+   font-size: 12px;
+   border-bottom: 1px solid #d5d5d5;
+}
+
+/* Table footer */
+.portlet-table-footer {
+   padding: 5px 5px 0 5px;
+   font-weight: bold;
+   color: #656565;
+   font-size: 12px;
+   border: none;
+   border-top: 1px solid #d5d5d5;
+}
+
+/* Normal text in a table cell */
+.portlet-table-body {
+
+}
+
+/* Text in every other row in the table */
+.portlet-table-alternate {
+   background-color: #E6E8E5;
+   border-bottom: 1px solid #d5d5d5;
+}
+
+/* Text in a selected cell range */
+.portlet-table-selected {
+   color: #000;
+   font-size: 12px;
+   background-color: #CBD4E6;
+}
+
+/* Text of a subheading */
+.portlet-table-subheader {
+   font-weight: bold;
+   color: #000;
+   font-size: 12px;
+}
+
+/* Text that belongs to the table but does not fall in one of the other categories (e.g. explanatory or help text that is associated with the table). */
+.portlet-table-text {
+   padding: 3px 5px;
+   border-bottom: 1px solid #d5d5d5;
+}
+
+/********
+* MENUS *
+*********/
+
+/*General menu settings such as background color, margins, etc. */
+.portlet-menu {
+
+}
+
+/* Normal, unselected menu item. */
+.portlet-menu-item {
+   color: #242424;
+   text-decoration: none;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+.portlet-menu-item:hover {
+   color: #5699B7;
+   text-decoration: none;
+   font-family: Verdana, Arial, Helvetica, sans-serif;
+   font-size: 12px;
+}
+
+/* Selected menu item. */
+.portlet-menu-item-selected {
+
+}
+
+/* Selected menu item when the mouse hovers over it. */
+.portlet-menu-item-selected:hover {
+
+}
+
+/* Normal, unselected menu item that has sub-menus. */
+.portlet-menu-cascade-item {
+
+}
+
+/* Selected sub-menu item that has sub-menus */
+.portlet-menu-cascade-item-selected {
+
+}
+
+/* Descriptive text for the menu (e.g. in a help context below the menu) */
+.portlet-menu-description {
+
+}
+
+/* Menu caption */
+.portlet-menu-caption {
+
+}
+
+/* ===== WSRP 2.0 - As of now proposed additions are:	===== */
+
+/* A separator bar similar to a horizontal rule, but with styling matching the page */
+.portlet-horizontal-separator {
+}
+
+/* Allows portlets to mimic the title bar when nesting something */
+.portlet-nestedTitle-bar {
+}
+
+/* Allows portlets to match the textual character of the title on the title bar. */
+.portlet-nestedTitle {
+}
+
+/* Support portlets having tabs in the same style as the page or other portlets */
+.portlet-tab {
+}
+
+/* Highlight the tab currently being shown */
+.portlet-tab-active {
+}
+
+/* Highlight the selected tab (not yet active) */
+.portlet-tab-selected {
+}
+
+/* A tab which can not be currently activated */
+.portlet-tab-disabled {
+}
+
+/* Top level style for the content of a tab. */
+.portlet-tab-area {
+}
+
+/*****************
+* AJAX Selectors *
+*****************/
+
+.dnd-droppable {
+   border: #E6E8E5 1px solid;
+}
+
+/*******************************************************************************************************************************
+
+  New Selectors added by JBoss.ORG UI Design for theme development
+
+******************************************************************************************************************************** */
+
+/****************** link styles (active and disabled) for the "Add" icon ***************************/
+
+a.addicon {
+   font-weight: bold;
+   background-image: url( images/ico_addcontent.gif );
+   background-repeat: no-repeat;
+   background-position: left;
+   padding-left: 16px;
+}
+
+/*
+a.addicondisabled {
+   font-weight: bold;
+   color: #d5d5d5;
+   background-image: url( images/ico_addcontent_disa.gif );
+   background-repeat: no-repeat;
+   background-position: left;
+   padding-left: 16px;
+}
+*/
+
+/************** Foat Style (used to float objects on the page) **********************/
+
+.floatobjectright {
+   float: right;
+}
+
+.floatobjectleft {
+   float: left;
+}
+
+/**************** Hide/Show functionality  ******************************************/
+.hidden {
+   display: none;
+}
+
+/************** Pagination ************************/
+.pagination {
+   padding-top: 6px;
+   white-space: nowrap;
+}
+
+.pagination ul {
+   margin: 0;
+   padding: 0;
+   font-size: 10px;
+   text-align: right;
+}
+
+.pagination li {
+   list-style-type: none;
+   display: inline;
+   padding-bottom: 1px;
+}
+
+.pagination a, .pagination a:visited {
+   padding: 0px 2px;
+   text-decoration: none;
+   color: #5078aa;
+}
+
+.pagination a:hover, .pagination a:active {
+   color: #7eacd6;
+   text-decoration: underline;
+}
+
+.pagination li.currentpage {
+   font-weight: bold;
+   padding: 0 2px;
+   color: #000000;
+}
+
+.pagination li.disablepage {
+   padding: 0 5px;
+   color: #656565;
+}
+
+.pagination li.nextpage {
+   font-weight: bold;
+   background-image: url( images/ico_arrow_blue_right.gif );
+   background-repeat: no-repeat;
+   background-position: left;
+   margin-left: 3px;
+   padding-left: 6px;
+}
+
+.pagination li.nextpagedisabled {
+   color: #656565;
+   font-weight: bold;
+   background-image: url( images/ico_arrow_grey_right.gif );
+   background-repeat: no-repeat;
+   background-position: left;
+   margin-left: 3px;
+   padding-left: 8px;
+   padding-right: 2px;
+}
+
+.pagination li.previouspage {
+   font-weight: bold;
+   background-image: url( images/ico_arrow_blue_left.gif );
+   background-repeat: no-repeat;
+   background-position: right;
+   padding-left: 10px;
+   margin-right: 3px;
+   padding-right: 7px;
+}
+
+.pagination li.previouspagedisabled {
+   font-weight: bold;
+   color: #656565;
+   background-image: url( images/ico_arrow_grey_left.gif );
+   background-repeat: no-repeat;
+   background-position: right;
+   padding-left: 12px;
+   margin-right: 3px;
+   padding-right: 9px;
+}
+
+* html .pagination li.currentpage, * html .pagination li.disablepage {
+/*IE 6 and below. Adjust non linked LIs slightly to account for bugs*/
+   margin-right: 5px;
+   padding-right: 0;
+}
+
+/********************* graphic style for bottom button bar in the administration portlets ***********************************/
+
+.bottombuttonbar {
+   background-color: #ececec;
+   border-bottom: 1px solid #d5d5d5;
+   border-top: 1px solid #d5d5d5;
+   margin: 15px 10px 15px 5px;
+   padding: 10px 10px;
+}
+
+/***************  Edit state background for hide/show controls **************************************************
+
+Currently for Role management admin portlet
+
+******************************************************************************************************************/
+
+.editportletbkg {
+   background-color: #eef8fd;
+   padding: 10px;
+   border: 1px solid #000000;
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,142 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<server>
+
+   <mbean
+      code="org.jboss.portal.core.identity.services.impl.IdentityCommandFactoryService"
+      name="portal:commandFactory=IdentityUI"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="InstanceId">IdentityUserPortletInstance</attribute>
+      <depends
+         optional-attribute-name="ValidateEmailService"
+         proxy-type="attribute">portal:service=ValidateEmailService,type=IdentityUI
+      </depends>
+   </mbean>
+   
+   <mbean
+      code="org.jboss.portal.core.model.instance.InstanceURLFactory"
+      name="portal:urlFactory=IdentityUI"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="InstanceId">IdentityUserPortletInstance</attribute>
+      <attribute name="Path">/validateEmail</attribute>
+      <depends
+         optional-attribute-name="Factory"
+         proxy-type="attribute">portal:urlFactory=Delegating</depends>
+   </mbean>
+
+	<mbean
+      code="org.jboss.portal.core.identity.services.metadata.IdentityUIConfigurationServiceImpl"
+      name="portal:service=IdentityUIConfigurationService,type=IdentityUI"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="IdentityServiceController" proxy-type="attribute">
+      	portal:service=Module,type=IdentityServiceController
+      </depends>
+      <attribute name="JNDIName">java:portal/IdentityUIConfigurationService</attribute>  
+     </mbean>
+
+	<mbean
+      code="org.jboss.portal.core.identity.services.impl.IdentityMailServiceImpl"
+      name="portal:service=IdentityMailService,type=Mail"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="MailModule" proxy-type="attribute">portal:service=Module,type=Mail</depends>
+      <depends optional-attribute-name="IdentityUIConfigurationService" proxy-type="attribute">
+      	portal:service=IdentityUIConfigurationService,type=IdentityUI
+      </depends>
+      <attribute name="JNDIName">java:portal/IdentityMailService</attribute>
+     </mbean>
+
+	<mbean
+      code="org.jboss.portal.core.identity.services.impl.IdentityUserManagementServiceImpl"
+      name="portal:service=IdentityUserManagementService,type=IdentityUI"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="IdentityServiceController" proxy-type="attribute">
+      	portal:service=Module,type=IdentityServiceController
+      </depends>
+      <attribute name="JNDIName">java:portal/IdentityUserManagementService</attribute>  
+     </mbean>
+   
+	<mbean
+      code="org.jboss.portal.core.identity.services.workflow.impl.RegistrationServiceImpl"
+      name="portal:service=RegistrationService,type=IdentityUI"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="IdentityUIConfigurationService" proxy-type="attribute">
+      	portal:service=IdentityUIConfigurationService,type=IdentityUI
+      </depends>
+      <depends optional-attribute-name="IdentityUserManagementService" proxy-type="attribute">
+      	portal:service=IdentityUserManagementService,type=IdentityUI
+      </depends>
+     </mbean>
+     
+	<mbean
+      code="org.jboss.portal.core.identity.services.workflow.impl.ValidateEmailServiceImpl"
+      name="portal:service=ValidateEmailService,type=IdentityUI"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="IdentityUIConfigurationService" proxy-type="attribute">
+      	portal:service=IdentityUIConfigurationService,type=IdentityUI
+      </depends>
+      <depends optional-attribute-name="IdentityUserManagementService" proxy-type="attribute">
+      	portal:service=IdentityUserManagementService,type=IdentityUI
+      </depends>
+     </mbean>
+     
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+      name="portal:commandFactory=Delegate,path=validateEmail"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/validateEmail</attribute>
+      <depends
+         optional-attribute-name="DelegatingFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="DelegateFactory"
+         proxy-type="attribute">portal:commandFactory=IdentityUI</depends>
+   </mbean>
+   
+   <mbean
+      code="org.jboss.portal.core.identity.services.WorkflowSoftDependency"
+      name="portal:service=WorkflowSoftDependency"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <depends
+         optional-attribute-name="IdentityUIConfigurationService"
+         proxy-type="attribute">portal:service=IdentityUIConfigurationService,type=IdentityUI</depends>
+      <xmbean/>
+   </mbean>
+</server>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/bundles/Identity.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/bundles/Identity.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/bundles/Identity.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,178 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+IDENTITY_APPLICATION_NOT_AVAILABLE=Porlet not available. Please check your configuration and the error log for further information.
+
+IDENTITY_WELCOME=Welcome
+IDENTITY_REGISTER=Register
+IDENTITY_LOST_PASSWORD=Lost Password
+IDENTITY_NOT_LOGGED_IN=You are currently not logged in.
+IDENTITY_CREATE_ACCOUNT=You can create an account.
+IDENTITY_BUTTON_SUBMIT=Submit
+IDENTITY_BUTTON_EDIT=Edit
+IDENTITY_BUTTON_CANCEL=Cancel
+
+IDENTITY_REGISTER_TITLE=Basic user information
+IDENTITY_REGISTER_TITLE_CONFIRM=Confirmation
+IDENTITY_REGISTER_PASSWORD_CONFIRM=Confirm Password
+IDENTITY_REGISTER_STATUS_TITLE=Registration status
+IDENTITY_REGISTER_SUCCESS_TITLE=Your account has been successfully created. You may want to login now.
+IDENTITY_REGISTER_PENDING_TITLE=An e-mail has been sent to your e-mail address to verify your registration.
+IDENTITY_REGISTER_REQUIRED_INFORMATION=indicates a required field.  
+
+IDENTITY_LOST_PASSWORD_TITLE=Forgot your login data?
+IDENTITY_LOST_PASSWORD_DESCRIPTION=Please enter your username to reset your password.
+IDENTITY_LOST_PASSWORD_ERROR=Failed to reset password.
+IDENTITY_LOST_PASSWORD_STATUS_SUCCESSFUL=You will receive an e-mail with your new password.
+IDENTITY_LOST_PASSWORD_STATUS_404=No account found.
+IDENTITY_LOST_PASSWORD_STATUS_TITLE=Lost password
+
+IDENTITY_EDIT_PROFILE_ERROR=Error while updating the profile.
+IDENTITY_EDIT_PASSWORD_TITLE=Change your password
+IDENTITY_EDIT_PASSWORD_CURRENT=Current password
+IDENTITY_EDIT_CHANGE_PASSWORD=Change password
+IDENTITY_EDIT_CHANGE_PASSWORD_ERROR=Could not change your password.
+IDENTITY_EDIT_CHANGE_PASSWOR_STATUS=Your password has been updated.
+
+IDENTITY_EDIT_EMAIL_TITLE=Change your email address
+IDENTITY_EDIT_EMAIL_NEW=New email address
+IDENTITY_EDIT_CHANGE_EMAIL=Change email
+IDENTITY_EDIT_CHANGE_EMAIL_ERROR=Could not change e-mail address
+IDENTITY_EDIT_CHANGE_EMAIL_STATUS_PENDING=An validation e-mail has been sent to your address.
+IDENTITY_EDIT_CHANGE_EMAIL_STATUS_CHANGED=Your e-mail address has been changed.
+
+IDENTITY_EDIT_PROFILE_TITLE=Edit profile
+IDENTITY_VIEW_PROFILE_TITLE=View profile
+
+IDENTITY_USERNAME=Username
+IDENTITY_PASSWORD=Password
+IDENTITY_EMAIL=E-Mail
+IDENTITY_GIVENNAME=Firstname
+IDENTITY_FAMILYNAME=Lastname
+IDENTITY_SKYPE=Skype ID
+IDENTITY_LOCATION=Location
+IDENTITY_OCCUPATION=Occupation
+IDENTITY_EXTRA=Extra
+IDENTITY_SIGNATURE=Signature
+IDENTITY_INTERESTS=Interests
+IDENTITY_LOCALE=Locale
+IDENTITY_ICQ=Icq ID
+IDENTITY_AIM=Aim ID
+IDENTITY_MSNM= MSN messenger ID
+IDENTITY_YIM=Yahoo ID
+IDENTITY_XMMP=Xmmp ID
+IDENTITY_HOMEPAGE=Homepage
+IDENTITY_TIMEZONE=Time zone offset
+IDENTITY_THEME=Theme
+IDENTITY_SECURITY_QUESTION=Security Question
+IDENTITY_SECURITY_ANSWER=Security Answer
+IDENTITY_LAST_LOGIN=Last login
+IDENTITY_REIGSTRATION_DATE=Registration Date
+IDENTITY_ENABLED=Enabled
+
+IDENTITY_CATEGORY_GENERAL=General Preferences
+IDENTITY_CATEGORY_PERSONAL=Personal Information
+IDENTITY_CATEGORY_INSTANT=Instant Message Identities
+IDENTITY_CATEGORY_ADDITIONAL=Additional Information
+
+IDENTITY_CATEGORY_ADDITIONAL_SIGNATURE=(Signature of 255 characters max)
+IDENTITY_CATEGORY_ADDITIONAL_EXTRA=(255 characters max.)
+
+IDENTITY_MANAGEMENT_ACTION=Actions
+IDENTITY_MANAGEMENT_ACTION_EDIT_PROFILE=Edit user
+IDENTITY_MANAGEMENT_ACTION_ROLES=Roles
+IDENTITY_MANAGEMENT_ACTION_DELETE=Delete
+IDENTITY_MANAGEMENT_USER_MANAGEMENT=User Management
+IDENTITY_MANAGEMENT_ROLE_MANAGEMENT=Role Management
+IDENTITY_MANAGEMENT_SEARCH_USER=Search users
+IDENTITY_MANAGEMENT_CREATE_USER=Create new user account
+IDENTITY_MANAGEMENT_CREATE_USER_CREATED=User created
+IDENTITY_MANAGEMENT_USER_DELETED=User deleted
+IDENTITY_MANAGEMENT_ROLE=Role
+IDENTITY_MANAGEMENT_ROLE_DISPLAY=Display name
+IDENTITY_MANAGEMENT_ROLE_MEMBERS=Members
+IDENTITY_MANAGEMENT_ROLE_ASSIGNED=Assigned roles
+IDENTITY_MANAGEMENT_CREATE_ROLE=Create new role
+IDENTITY_MANAGEMENT_EDIT_ROLE=Edit role
+IDENTITY_MANAGEMENT_CREATE_ROLE=Create role
+IDENTITY_MANAGEMENT_DISABLE=Disable
+IDENTITY_MANAGEMENT_ENABLE=Enable
+IDENTITY_MANAGEMENT_RESET_PASSWORD=Reset password
+IDENTITY_MANAGEMENT_RESET_PASSWORD_FOR_USER=Reset password for user 
+IDENTITY_MANAGEMENT_RESET_PASSWORD_DESCRIPTION=The user will get a random password sent to his e-mail address.
+IDENTITY_MANAGEMENT_ASSIGN_ROLES=Assign roles
+IDENTITY_MANAGEMENT_COUNT_PENDING_USERS=Pending users
+IDENTITY_MANAGEMENT_COUNT_REGISTERED_USERS=Registered users
+IDENTITY_MANAGEMENT_APPROVE_ALL=Approve selected
+IDENTITY_MANAGEMENT_REJECT_ALL=Reject selected
+IDENTITY_MANAGEMENT_SELECT_ALL=select all
+IDENTITY_MANAGEMENT_UNSELECT_ALL=unselect all
+IDENTITY_MANAGEMENT_MATRIX=Matrix
+IDENTITY_MANAGEMENT_SUBSCRIPTION_MODES=Subscription Modes
+
+IDENTITY_MANAGEMENT_PENDING_REGISTRATIONS=Pending registrations
+IDENTITY_MANAGEMENT_PENDING_BPM_ID=Id
+IDENTITY_MANAGEMENT_PENDING_APPROVE=approve
+IDENTITY_MANAGEMENT_PENDING_REJECT=reject
+
+IDENTITY_MANAGEMENT_SUBSCRIPTION_MODE=Subscription mode
+IDENTITY_MANAGEMENT_SUBSCRIPTION_ADMIN_MODE=Admin subscription mode
+IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_CUSTOM=Custom subscription mode.
+IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_AUTOMATIC=Automatic - no e-mail validation, no admin approval.
+IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_EMAIL=E-Mail validation, no admin approval.
+IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_EMAIL_ADMIN= E-Mail validation and admin approval.
+
+IDENTITY_REGISTER_VERIFY_CAPTCHA=Verify captcha
+IDENTITY_REGISTER_TITLE_CONFIRM_DELETE=Confirmation: Delete
+IDENTITY_WARNING_CONFIRM_DELETE_USER=Warning! You are about to delete the user
+IDENTITY_WARNING_CONFIRM_DELETE_ROLE=Warning! You are about to delete the role
+IDENTITY_REGISTER_CONFIRMATIONEMAIL=Confirm your subscription
+
+IDENTITY_MAIL_SUBJECT_LOST_PASSWORD=Reset your password
+IDENTITY_MAIL_SUBJECT_REGISTER=Confirm registration
+IDENTITY_MAIL_SUBJECT_CHANGE_EMAIL=Confirm email address
+
+IDENTITY_MANAGEMENT_ERROR_ACTION_ROLE=Unable to perform action on role. Please take a look at the logfile for further information.
+IDENTITY_MANAGEMENT_ERROR_ACTION_USER=Unable to perform action on user. Please take a look at the logfile for further information.
+
+IDENTITY_VERIFICATION_RETURN=Return to portal
+IDENTITY_VERIFICATION_LOGIN=Login
+IDENTITY_VERIFICATION_STATUS_EROOR=Error while validating e-mail address.
+IDENTITY_VERIFICATION_STATUS_FAILED=Can not validate the e-mail address.
+IDENTITY_VERIFICATION_STATUS_VALIDATED=E-Mail address validated.
+IDENTITY_VERIFICATION_STATUS_REGISTER_SUCCESS=Your account has been activated. You may log in now.
+IDENTITY_VERIFICATION_STATUS_REGISTER_APPROVAL=Your e-mail address has been verified, but your account needs to be approved by the administrator.
+IDENTITY_VERIFICATION_STATUS_REGISTER_CUSTOM=Your account has been activated. You may log in now.
+
+IDENTITY_VALIDATION_ERROR_REGISTRATION=Failed to register user.
+IDENTITY_VALIDATION_ERROR_USERNAME_TAKEN=This username is already taken. 
+IDENTITY_VALIDATION_ERROR_USERNAME_ERROR=Error while validating username.
+IDENTITY_VALIDATION_ERROR_PASSWORD_DOESNT_MATCH=The passwords doesn't match.
+IDENTITY_VALIDATION_ERROR_PASSWORD_ERROR=Error while validating password.
+IDENTITY_VALIDATION_ERROR_INVALID_EMAIL=Invalid E-Mail address.
+IDENTITY_VALIDATION_ERROR_INVALID_PASSWORD=Invalid password
+IDENTITY_VALIDATION_ERROR_CAPTCHA_INCORRECT=Captcha incorrect
+
+# Example usage for dynamic values
+IDENTITY_DYNAMIC_VALUE_TEST=test label
+IDENTITY_DYNAMIC_VALUE_TEST2=test label2
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/bundles/Identity_de.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/bundles/Identity_de.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/bundles/Identity_de.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+IDENTITY_WELCOME=Willkommen
+IDENTITY_VIEW_PROFILE_TITLE=Profilansicht
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/identity-ui-configuration.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/identity-ui-configuration.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/identity-ui-configuration.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<identity-ui-configuration>
+	<!-- 
+		subscription mode - defines the workflow used for registering users
+		available default options:
+			- automatic: No email validation, No admin approval
+			- jbp_identity_validation_workflow: Email verification, No admin approval
+			- jbp_identity_validation_approval_workflow: Email verification, Admin approval
+	 -->
+	<subscription-mode>automatic</subscription-mode>
+	<!-- 
+		overwrite-workflow: overwrites existing process definitions 
+	 -->
+	<overwrite-workflow>false</overwrite-workflow>
+	<!-- 
+		email-domain: used in the email template sent for email verification
+	 -->
+	<email-domain>jboss.org</email-domain>
+	<!-- 
+		email-from: sender address
+	 -->
+	<email-from>do-no-reply at jboss.com</email-from>
+	<!-- 
+		password-generation-characters: characters used for generating a random password
+	 -->
+	<password-generation-characters>0123456789aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWyYzZ*#!+-/"</password-generation-characters>
+	<!-- 
+		default-roles: roles set on user registration
+	 -->
+	<default-roles>
+		<role>User</role>
+	</default-roles>
+
+	<!-- user interface components -->
+	<ui-components>
+		<ui-component name="givenname">
+			<property-ref>user.name.given</property-ref>
+		</ui-component>
+		<ui-component name="familyname">
+			<property-ref>user.name.family</property-ref>
+		</ui-component>
+		<ui-component name="location">
+			<property-ref>portal.user.location</property-ref>
+		</ui-component>
+		<ui-component name="occupation">
+			<property-ref>portal.user.occupation</property-ref>
+		</ui-component>
+		<ui-component name="extra">
+			<property-ref>portal.user.extra</property-ref>
+		</ui-component>
+		<ui-component name="signature">
+			<property-ref>portal.user.signature</property-ref>
+		</ui-component>
+		<ui-component name="interests">
+			<property-ref>portal.user.interests</property-ref>
+		</ui-component>
+		<ui-component name="icq">
+			<property-ref>portal.user.im.icq</property-ref>
+		</ui-component>
+		<ui-component name="aim">
+			<property-ref>portal.user.im.aim</property-ref>
+		</ui-component>
+		<ui-component name="msnm">
+			<property-ref>portal.user.im.msnm</property-ref>
+		</ui-component>
+		<ui-component name="yim">
+			<property-ref>portal.user.im.yim</property-ref>
+		</ui-component>
+		<ui-component name="skype">
+			<property-ref>portal.user.im.skype</property-ref>
+		</ui-component>
+		<ui-component name="xmmp">
+			<property-ref>portal.user.im.xmmp</property-ref>
+		</ui-component>
+		<ui-component name="homepage">
+			<property-ref>portal.user.homepage</property-ref>
+		</ui-component>
+		<ui-component name="securityquestion">
+			<property-ref>portal.user.security.question</property-ref>
+		</ui-component>
+		<ui-component name="securityanswer">
+			<property-ref>portal.user.security.answer</property-ref>
+		</ui-component>
+		<ui-component name="timezone">
+			<property-ref>portal.user.time-zone-offset</property-ref>
+			<values>
+				<value key="org.jboss.portal.core.identity.timezone" />
+			</values>
+		</ui-component>
+		<ui-component name="theme">
+			<property-ref>portal.user.theme</property-ref>
+			<values>
+				<value key="org.jboss.portal.core.identity.theme" />
+			</values>
+		</ui-component>
+		<ui-component name="locale">
+			<property-ref>portal.user.locale</property-ref>
+			<values>
+				<value key="org.jboss.portal.core.identity.locale" />
+			</values>
+		</ui-component>		
+		<ui-component name="email">
+			<property-ref>user.business-info.online.email</property-ref>
+			<validators>
+				<validator>EmailValidator</validator>
+			</validators>
+			<required>true</required>
+		</ui-component>
+		<ui-component name="registrationdate">
+			<property-ref>portal.user.registration-date</property-ref>
+		</ui-component>
+		<ui-component name="enabled">
+			<property-ref>portal.user.enabled</property-ref>
+		</ui-component>
+		<ui-component name="lastlogin">
+			<property-ref>portal.user.last-login-date</property-ref>
+		</ui-component>
+		<ui-component name="nickname">
+			<property-ref>user.name.nickName</property-ref>
+			<required>true</required>
+		</ui-component>
+	</ui-components>
+</identity-ui-configuration>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/custom.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/custom.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/custom.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process-definition name="custom"
+					xmlns="urn:jbpm.org:jpdl-3.1">
+  <start-state>
+	  <transition to="end">
+			<action class="org.jboss.portal.core.identity.services.workflow.impl.CreateUserAction"/>
+	  </transition>	
+  </start-state>
+
+  <end-state name="end"/>
+</process-definition>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validate_email.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validate_email.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validate_email.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ Schema for correct timer usage broken in jBPM 3.1.x
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--> 
+<process-definition name="jbp_identity_validate_email">
+  <start-state>
+  	<transition to="validate_email">
+  		<action class="org.jboss.portal.core.identity.services.workflow.impl.SendValidationMailAction"/>
+  	</transition>			      		
+  </start-state>
+  <state name="validate_email">
+  	  <timer name="time_to_expire" duedate="2 days" transition="timedOut" />
+	  <transition name="validated" to="end">
+	  	 <action class="org.jboss.portal.core.identity.services.workflow.impl.UpdateEmailAction"/>
+	  </transition>
+	  <transition name="timedOut" to="end"/>
+  </state>
+  <end-state name="end"/>
+</process-definition>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validation_approval_workflow.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validation_approval_workflow.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validation_approval_workflow.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ Schema for correct timer usage broken in jBPM 3.1.x
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<process-definition name="jbp_identity_validation_approval_workflow">
+  <start-state>
+  	<transition to="validate_email">
+  	  		<action class="org.jboss.portal.core.identity.services.workflow.impl.SendValidationMailAction"/>
+  	</transition>	      		
+  </start-state>
+  <state name="validate_email">
+  	  <timer name="time_to_expire" duedate="2 days" transition="timedOut" />
+      <transition name="validated" to="admin_approval"/>
+      <transition name="timedOut" to="end"/>
+  </state>
+  <state name="admin_approval">
+      <transition name="approved" to="end">
+      	<action class="org.jboss.portal.core.identity.services.workflow.impl.CreateUserAction"/>
+      </transition>
+      <transition name="rejected" to="end"/>
+  </state>
+  <end-state name="end"/>		          
+</process-definition>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validation_workflow.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validation_workflow.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/processes/jbp_identity_validation_workflow.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ Schema for correct timer usage broken in jBPM 3.1.x
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<process-definition name="jbp_identity_validation_workflow">
+  <start-state>
+  	<transition to="validate_email">
+  	  		<action class="org.jboss.portal.core.identity.services.workflow.impl.SendValidationMailAction"/>
+  	</transition>	      		
+  </start-state>
+  <state name="validate_email">
+      <timer name="time_to_expire" duedate="2 days" transition="timedOut" />
+      <transition name="validated" to="end">
+			<action class="org.jboss.portal.core.identity.services.workflow.impl.CreateUserAction"/>
+      </transition>
+      <transition name="timedOut" to="end"/>
+  </state>
+  <end-state name="end"/>		          
+</process-definition>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/schema/identity-ui-configuration.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/schema/identity-ui-configuration.xsd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/schema/identity-ui-configuration.xsd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,146 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:jbxb="http://www.jboss.org/xml/ns/jbxb"
+	elementFormDefault="qualified">
+
+<xsd:element name="identity-ui-configuration">
+	<xsd:complexType>
+        <xsd:annotation>
+           <xsd:appinfo>
+           	 <jbxb:class impl="org.jboss.portal.core.identity.services.metadata.IdentityUIConfiguration"/>
+           </xsd:appinfo>
+        </xsd:annotation>
+
+		<xsd:choice>
+			<!-- User portlet and user management portlet preferences -->
+			<xsd:element name="subscription-mode" type="subscriptionMode" default="jbp_identity_validation_workflow"/>
+			<xsd:element name="admin-subscription-mode" type="subscriptionMode" default="automatic"/>
+			<xsd:element name="overwrite-workflow" type="xsd:boolean" default="false"/>
+			<xsd:element name="email-domain" minOccurs="1" maxOccurs="1" type="xsd:string" default="example.com" />
+			<xsd:element name="email-from" minOccurs="1" maxOccurs="1" type="xsd:string" default="no-reply at example.com" />
+			<xsd:element name="password-generation-characters" minOccurs="1" maxOccurs="1" type="xsd:string"/>
+			<xsd:element name="default-roles" type="defaultRoles" minOccurs="1" maxOccurs="1"/>
+
+			<!-- user interface components -->
+			<xsd:element name="ui-components">
+				<xsd:annotation>
+					<xsd:appinfo>
+			   			<jbxb:class impl="java.util.HashMap"/>
+					</xsd:appinfo>
+			    </xsd:annotation>
+			    <xsd:complexType>
+			    	<xsd:sequence>
+			     		<xsd:element name="ui-component" minOccurs="1" maxOccurs="unbounded" type="UIComponent" />
+			    	</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+			<!-- end: user interface components -->
+		</xsd:choice>
+	</xsd:complexType>
+</xsd:element>
+
+<!-- restictions for subscription-modes -->
+
+<xsd:simpleType name="subscriptionMode">
+	<xsd:restriction base="xsd:string">
+		<xsd:enumeration value="custom" />
+		<xsd:enumeration value="automatic" />
+		<xsd:enumeration value="jbp_identity_validation_workflow" />
+		<xsd:enumeration value="jbp_identity_validation_approval_workflow" />
+	</xsd:restriction>
+</xsd:simpleType>
+
+<xsd:complexType name="defaultRoles">
+	<xsd:sequence>
+		<xsd:element name="role" minOccurs="1" type="xsd:string" maxOccurs="unbounded"/>
+	</xsd:sequence>
+</xsd:complexType>
+
+<xsd:complexType name="validators">
+	<xsd:sequence>
+		<xsd:element name="validator" minOccurs="1" type="xsd:string" maxOccurs="unbounded"/>
+	</xsd:sequence>
+</xsd:complexType>
+
+<xsd:complexType name="componentValues">
+	<xsd:annotation>
+		<xsd:appinfo>
+			<jbxb:mapEntry nonNullValue="true"/>
+		</xsd:appinfo>
+	</xsd:annotation>
+	<xsd:choice minOccurs="1" maxOccurs="1">
+         <xsd:element name="value" maxOccurs="unbounded">
+            <xsd:complexType>
+               <xsd:annotation>
+                  <xsd:appinfo>
+                     <jbxb:mapEntry/>
+                     <jbxb:characters>
+                        <jbxb:mapEntryValue/>
+                     </jbxb:characters>
+                  </xsd:appinfo>
+               </xsd:annotation>
+               <xsd:simpleContent>
+                  <xsd:extension base="xsd:string">
+                     <xsd:attribute name="key" type="xsd:string">
+                        <xsd:annotation>
+                           <xsd:appinfo>
+                              <jbxb:mapEntryKey/>
+                           </xsd:appinfo>
+                        </xsd:annotation>
+                     </xsd:attribute>
+                  </xsd:extension>
+               </xsd:simpleContent>
+            </xsd:complexType>
+         </xsd:element>
+	</xsd:choice>
+</xsd:complexType>
+
+<xsd:complexType name="UIComponent">
+	<xsd:annotation>
+		<xsd:appinfo>
+			<jbxb:mapEntry impl="org.jboss.portal.core.identity.services.metadata.UIComponentConfiguration" getKeyMethod="getName" setKeyMethod="setName" />
+		</xsd:appinfo>
+	</xsd:annotation>
+	<xsd:choice>
+		<xsd:element name="property-ref" maxOccurs="1" minOccurs="1" type="xsd:string" />
+		<xsd:element name="localization-bundle" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+		<xsd:element name="validators" type="validators" />
+		<xsd:element name="converter" type="xsd:string" />
+		<xsd:element name="required" type="xsd:boolean" default="false"/>
+		<xsd:element name="read-only" type="xsd:boolean" default="false" />
+		<xsd:element name="values" type="componentValues">
+			<xsd:annotation>
+		         <xsd:appinfo>
+            		<jbxb:class impl="java.util.HashMap"/>
+         		</xsd:appinfo>
+      		</xsd:annotation>
+		</xsd:element>
+	</xsd:choice>
+	<!-- attribute name -->
+	<xsd:attribute name="name" type="xsd:string" use="required" />
+</xsd:complexType>
+
+</xsd:schema>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/changeEmail/emailTemplate.tpl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/changeEmail/emailTemplate.tpl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/changeEmail/emailTemplate.tpl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,9 @@
+Hello,
+
+you tried to change your e-mail address on ${emailDomain} 
+
+Follow this link to verify your new address:
+${activationLink}
+
+Best regards,
+${emailDomain}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/lostPassword/emailTemplate.tpl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/lostPassword/emailTemplate.tpl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/lostPassword/emailTemplate.tpl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,12 @@
+Hello,
+
+we have received your request to reset your password on ${emailDomain}.
+
+The user information are written here for your convenience:
+Username: ${username}
+Password: ${password}
+
+It is highly recommended that you change the generated password after your next login.
+
+Best regards,
+${emailDomain}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/register/emailTemplate.tpl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/register/emailTemplate.tpl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/register/emailTemplate.tpl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+Hello,
+
+you tried to create an account on ${emailDomain} 
+
+The user information are written here for your convenience:
+Username: ${username}
+Password: ${password}
+
+At this time, your account is not activated and you will need to access the following URL to be able to login.
+${activationLink}
+
+If you didn't ask to create an account, we apologize and no further action is required.
+
+Best regards,
+${emailDomain}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/register/emailTemplate_fr.tpl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/register/emailTemplate_fr.tpl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/conf/templates/register/emailTemplate_fr.tpl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,15 @@
+Bonjour
+
+vous avez créé un compte sur ${emailDomain} 
+
+Voici les informations de connexion relatives a ce compte:
+Identifiant: ${username}
+Mot de passe: ${password}
+
+Votre compte n'est pas actif pour le moment et vous devez vous rendre à l'adresse suivante pour l'activer.
+${activationLink}
+
+Si vous n'avez pas créé de compte, nous vous prions de bien vouloir nous excuser et vous pouvez simplement ignorer cet email.
+
+Cordialement,
+${emailDomain}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/lib/jcaptcha.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/lib/jcaptcha.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/lib/portal-core-identity-services-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/lib/portal-core-identity-services-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/lib/portal-faces-loader-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/lib/portal-faces-loader-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/faces-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/faces-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/faces-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,486 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!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>
+	<application>
+		<variable-resolver>org.jboss.portal.core.identity.ui.faces.PortletVariableResolver</variable-resolver>
+		<property-resolver>org.jboss.portal.core.identity.ui.faces.PortletDelegatingPropertyResolver</property-resolver>
+		<view-handler>com.sun.facelets.FaceletPortletViewHandler</view-handler>
+	</application>
+
+	<managed-bean>
+		<managed-bean-name>configurationbean</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.common.ConfigurationBean</managed-bean-class>
+		<managed-bean-scope>application</managed-bean-scope>
+		<managed-property>
+			<property-name>identityUIConfigurationService</property-name>
+			<value>#{applicationScope.IdentityUIConfigurationService}</value>
+		</managed-property>
+	</managed-bean>
+	<managed-bean>
+		<managed-bean-name>metadataservice</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.common.MetaDataServiceBean</managed-bean-class>
+		<managed-bean-scope>application</managed-bean-scope>
+	</managed-bean>
+	<managed-bean>
+		<managed-bean-name>identityrolemgr</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.common.IdentityRoleBean</managed-bean-class>
+		<managed-bean-scope>application</managed-bean-scope>
+		<managed-property>
+			<property-name>roleModule</property-name>
+			<value>#{applicationScope.RoleModule}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>membershipModule</property-name>
+			<value>#{applicationScope.MembershipModule}</value>
+		</managed-property>
+	</managed-bean>
+	<managed-bean>
+		<managed-bean-name>identityusermgr</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.common.IdentityUserBean</managed-bean-class>
+		<managed-bean-scope>application</managed-bean-scope>
+		<managed-property>
+			<property-name>userModule</property-name>
+			<value>#{applicationScope.UserModule}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>userProfileModule</property-name>
+			<value>#{applicationScope.UserProfileModule}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>metaDataService</property-name>
+			<value>#{metadataservice}</value>
+		</managed-property>
+	</managed-bean>
+
+	<managed-bean>
+		<managed-bean-name>editprofilemgr</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.actions.EditProfileAction</managed-bean-class>
+		<managed-bean-scope>session</managed-bean-scope>
+		<managed-property>
+			<property-name>identityUserBean</property-name>
+			<value>#{identityusermgr}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>validateEmailService</property-name>
+			<value>#{applicationScope.ValidateEmailService}</value>
+		</managed-property>
+	</managed-bean>
+	<managed-bean>
+		<managed-bean-name>userregistermgr</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.actions.CreateUserAction</managed-bean-class>
+		<managed-bean-scope>session</managed-bean-scope>
+		<managed-property>
+			<property-name>identityUserBean</property-name>
+			<value>#{identityusermgr}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>defaultRoles</property-name>
+			<value>#{configurationbean.configuration.defaultRoles}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>registrationService</property-name>
+			<value>#{applicationScope.RegistrationService}</value>
+		</managed-property>
+	</managed-bean>
+	<managed-bean>
+		<managed-bean-name>assignrolemgr</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.actions.AssignRoleAction</managed-bean-class>
+		<managed-bean-scope>session</managed-bean-scope>
+		<managed-property>
+			<property-name>identityUserBean</property-name>
+			<value>#{identityusermgr}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>identityRoleBean</property-name>
+			<value>#{identityrolemgr}</value>
+		</managed-property>
+	</managed-bean>   
+	<managed-bean>
+		<managed-bean-name>useradministrationbean</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.admin.UserAdministrationBean</managed-bean-class>
+		<managed-bean-scope>session</managed-bean-scope>
+		<managed-property>
+			<property-name>subscriptionMode</property-name>
+			<value>#{configurationbean.configuration.subscriptionMode}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>adminSubscriptionMode</property-name>
+			<value>#{configurationbean.configuration.adminSubscriptionMode}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>identityUserBean</property-name>
+			<value>#{identityusermgr}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>identityRoleBean</property-name>
+			<value>#{identityrolemgr}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>registrationService</property-name>
+			<value>#{applicationScope.RegistrationService}</value>
+		</managed-property>
+	</managed-bean>
+	<managed-bean>
+		<managed-bean-name>rolemanagementbean</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.admin.RoleManagementBean</managed-bean-class>
+		<managed-bean-scope>session</managed-bean-scope>
+		<managed-property>
+			<property-name>identityRoleBean</property-name>
+			<value>#{identityrolemgr}</value>
+		</managed-property>
+	</managed-bean>
+	<managed-bean>
+		<managed-bean-name>editrolemgr</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.actions.EditRoleAction</managed-bean-class>
+		<managed-bean-scope>session</managed-bean-scope>
+		<managed-property>
+			<property-name>identityRoleBean</property-name>
+			<value>#{identityrolemgr}</value>
+		</managed-property>
+	</managed-bean>
+	<managed-bean>
+		<managed-bean-name>lostpasswordmgr</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.actions.LostPasswordAction</managed-bean-class>
+		<managed-bean-scope>request</managed-bean-scope>
+		<managed-property>
+			<property-name>passwordCharacters</property-name>
+			<value>#{configurationbean.configuration.passwordGenerationCharacters}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>identityUserBean</property-name>
+			<value>#{identityusermgr}</value>
+		</managed-property>
+		<managed-property>
+			<property-name>identityMailService</property-name>
+			<value>#{applicationScope.IdentityMailService}</value>
+		</managed-property>
+	</managed-bean>
+	<managed-bean>
+		<managed-bean-name>createrolemgr</managed-bean-name>
+		<managed-bean-class>org.jboss.portal.core.identity.ui.actions.CreateRoleAction</managed-bean-class>
+		<managed-bean-scope>request</managed-bean-scope>
+		<managed-property>
+			<property-name>identityRoleBean</property-name>
+			<value>#{identityrolemgr}</value>
+		</managed-property>
+	</managed-bean>
+   
+	<validator>
+		<validator-id>EmailValidator</validator-id>	
+		<validator-class>org.jboss.portal.core.identity.ui.validators.EmailValidator</validator-class>
+	</validator>
+	<validator>
+		<validator-id>UsernameValidator</validator-id>	
+		<validator-class>org.jboss.portal.core.identity.ui.validators.UsernameValidator</validator-class>
+	</validator>
+	<validator>
+		<validator-id>PasswordValidator</validator-id>	
+		<validator-class>org.jboss.portal.core.identity.ui.validators.PasswordValidator</validator-class>
+	</validator>
+	<validator>
+		<validator-id>CurrentPasswordValidator</validator-id>	
+		<validator-class>org.jboss.portal.core.identity.ui.validators.CurrentPasswordValidator</validator-class>
+	</validator>
+	<validator>
+		<validator-id>CaptchaValidator</validator-id>	
+		<validator-class>org.jboss.portal.core.identity.ui.validators.CaptchaValidator</validator-class>
+	</validator>
+   
+	<navigation-rule>
+		<navigation-case>
+			<from-outcome>start</from-outcome>
+			<to-view-id>/WEB-INF/jsf/index.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<navigation-case>
+			<from-outcome>lostPassword</from-outcome>
+			<to-view-id>/WEB-INF/jsf/lostPassword/lost.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/lostPassword/lost.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>status</from-outcome>
+			<to-view-id>/WEB-INF/jsf/lostPassword/status.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<navigation-case>
+			<from-outcome>register</from-outcome>
+			<to-view-id>/WEB-INF/jsf/register/register.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/register/register.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>register</from-outcome>
+			<to-view-id>/WEB-INF/jsf/register/confirm.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/register/confirm.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>revise</from-outcome>
+			<to-view-id>/WEB-INF/jsf/register/register.xhtml</to-view-id>
+		</navigation-case>
+		<navigation-case>
+			<from-outcome>registered</from-outcome>
+			<to-view-id>/WEB-INF/jsf/register/success.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<navigation-case>
+			<from-outcome>changePassword</from-outcome>
+			<to-view-id>/WEB-INF/jsf/profile/changePassword.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/profile/changePassword.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>status</from-outcome>
+			<to-view-id>/WEB-INF/jsf/profile/viewProfile.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<navigation-case>
+			<from-outcome>changeEmail</from-outcome>
+			<to-view-id>/WEB-INF/jsf/profile/changeEmail.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/profile/changeEmail.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>status</from-outcome>
+			<to-view-id>/WEB-INF/jsf/profile/viewProfile.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/index.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>editProfile</from-outcome>
+			<to-view-id>/WEB-INF/jsf/profile/editProfileRedirect.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/profile/*</from-view-id>
+		<navigation-case>
+			<from-outcome>editProfile</from-outcome>
+			<to-view-id>/WEB-INF/jsf/profile/editProfileRedirect.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+   
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/*</from-view-id>
+		<navigation-case>
+			<from-outcome>userAdmin</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/index.xhtml</to-view-id>
+		</navigation-case>
+		<navigation-case>
+			<from-outcome>start</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/index.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/*</from-view-id>
+		<navigation-case>
+			<from-outcome>roleAdmin</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/roles.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>  
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/index.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>createUser</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/createUser.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/*</from-view-id>
+		<navigation-case>
+			<from-outcome>searchUsers</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/searchUsers.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/index.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>showPendingUsers</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/pendingUsers.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/user/pendingUsers.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>confirmPendingAction</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/confirmPendingAction.xhtml</to-view-id>
+		</navigation-case>
+		<navigation-case>
+			<from-outcome>cancel</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/index.xthml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/user/confirmPendingAction.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>revise</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/pendingUsers.xhtml</to-view-id>
+		</navigation-case>
+		<navigation-case>
+			<from-outcome>success</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/index.xthml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/user/searchUsers.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>deleteUser</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/deleteUser.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/editProfile.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>adminChangePassword</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/changePassword.xhtml</to-view-id>
+		</navigation-case>
+		<navigation-case>
+			<from-outcome>start</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/searchUsers.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/*</from-view-id>
+		<navigation-case>
+			<from-outcome>start</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/searchUsers.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/*</from-view-id>
+		<navigation-case>
+			<from-action>#{editprofilemgr.adminEditProfile}</from-action>
+			<from-outcome>editProfile</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/editProfile.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/*</from-view-id>
+		<navigation-case>
+			<from-action>#{assignrolemgr.assignRoles}</from-action>
+			<from-outcome>assignRoles</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/assignRoles.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/user/createUser.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>register</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/registerRoles.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>       
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/user/registerRoles.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>register</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/registerConfirm.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>    
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/user/registerConfirm.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>revise</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/createUser.xhtml</to-view-id>
+		</navigation-case>
+		<navigation-case>
+			<from-outcome>registered</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/index.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/roles.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>createRole</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/roles/createRole.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/roles.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>editRole</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/roles/editRole.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/roles.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>viewMembers</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/roles/roleMembers.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/roles.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>deleteRole</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/roles/deleteRole.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>   
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/editProfile.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>resetPassword</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/resetPassword.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/user/resetPassword.xhtml</from-view-id>
+		<navigation-case>
+			<from-action>#{lostpasswordmgr.doomed}</from-action>
+   			<from-outcome>status</from-outcome>
+   			<to-view-id>/WEB-INF/jsf/admin/user/searchUsers.xhtml</to-view-id>
+   		</navigation-case>
+   		<navigation-case>
+   			<from-action>#{lostpasswordmgr.doomed}</from-action>
+   			<from-outcome>lostPassword</from-outcome>
+   			<to-view-id>/WEB-INF/jsf/admin/editProfile.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+	<navigation-rule>
+		<from-view-id>/WEB-INF/jsf/admin/user/changePassword.xhtml</from-view-id>
+		<navigation-case>
+			<from-outcome>status</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/searchUsers.xhtml</to-view-id>
+		</navigation-case>
+		<navigation-case>
+			<from-outcome>searchUsers</from-outcome>
+			<to-view-id>/WEB-INF/jsf/admin/user/searchUsers.xhtml</to-view-id>
+		</navigation-case>
+	</navigation-rule>
+   
+</faces-config>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jboss-portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jboss-portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jboss-portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,100 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE portlet-app PUBLIC
+   "-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
+   "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd">
+
+<portlet-app>
+   <portlet>
+      <portlet-name>IdentityUserPortlet</portlet-name>
+      <ajax>
+         <partial-refresh>false</partial-refresh>
+      </ajax>
+      <transaction>
+         <trans-attribute>Required</trans-attribute>
+      </transaction>
+      <header-content>
+         <link rel="stylesheet" type="text/css" href="/style.css" media="screen"/>
+      </header-content>
+   </portlet>
+   <portlet>
+      <portlet-name>IdentityAdminPortlet</portlet-name>
+      <ajax>
+         <partial-refresh>false</partial-refresh>
+      </ajax>
+      <transaction>
+         <trans-attribute>Required</trans-attribute>
+      </transaction>
+      <header-content>
+         <link rel="stylesheet" type="text/css" href="/style.css" media="screen"/>
+      </header-content>
+   </portlet>
+   
+   <!-- Injecting of required services into the portlet context. -->
+   <service>
+      <service-name>UserModule</service-name>
+      <service-class>org.jboss.portal.identity.UserModule</service-class>
+      <service-ref>:service=Module,type=User</service-ref>
+   </service>
+   <service>
+      <service-name>RoleModule</service-name>
+      <service-class>org.jboss.portal.identity.RoleModule</service-class>
+      <service-ref>:service=Module,type=Role</service-ref>
+   </service>
+   <service>
+      <service-name>UserProfileModule</service-name>
+      <service-class>org.jboss.portal.identity.UserProfileModule</service-class>
+      <service-ref>:service=Module,type=UserProfile</service-ref>
+   </service>
+   <service>
+      <service-name>MembershipModule</service-name>
+      <service-class>org.jboss.portal.identity.MembershipModule</service-class>
+      <service-ref>:service=Module,type=Membership</service-ref>
+   </service>
+   <service>
+      <service-name>ThemeService</service-name>
+      <service-class>org.jboss.portal.theme.ThemeService</service-class>
+      <service-ref>:service=ThemeService</service-ref>
+   </service>
+   <service>
+      <service-name>IdentityUIConfigurationService</service-name>
+      <service-class>org.jboss.portal.core.identity.services.metadata.IdentityUIConfigurationService</service-class>
+      <service-ref>:service=IdentityUIConfigurationService,type=IdentityUI</service-ref>
+   </service>
+   <service>
+      <service-name>IdentityMailService</service-name>
+      <service-class>org.jboss.portal.core.identity.services.IdentityMailService</service-class>
+      <service-ref>:service=IdentityMailService,type=Mail</service-ref>
+   </service>
+   <service>
+      <service-name>RegistrationService</service-name>
+      <service-class>org.jboss.portal.core.identity.services.workflow.RegistrationService</service-class>
+      <service-ref>:service=RegistrationService,type=IdentityUI</service-ref>
+   </service>
+   <service>
+      <service-name>ValidateEmailService</service-name>
+      <service-class>org.jboss.portal.core.identity.services.workflow.ValidateEmailService</service-class>
+      <service-ref>:service=ValidateEmailService,type=IdentityUI</service-ref>
+   </service>
+</portlet-app>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/assignRoles.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/assignRoles.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/assignRoles.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="pathItem">
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ASSIGN_ROLES}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{assignrolemgr.uiUser.username}" />
+	</li>
+</ui:define>
+
+<ui:define name="content">
+	<h:form>
+		<h:selectManyCheckbox id="roles" value="#{assignrolemgr.roles}">
+			<f:selectItems value="#{identityrolemgr.roleSelectItems}" />
+		</h:selectManyCheckbox>
+		<hr/>
+	<p style="text-align: right;">
+		<h:commandButton value="#{bundle.IDENTITY_BUTTON_SUBMIT}" action="#{assignrolemgr.updateRoles}" styleClass="portlet-form-button"/>
+		<h:commandButton id="cancel" action="searchUsers" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true" styleClass="portlet-form-button"/>
+	</p>	
+	</h:form>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/editProfile.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/editProfile.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/editProfile.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="pathItem">
+		<h:outputText value="#{bundle.IDENTITY_EDIT_PROFILE_TITLE}" /> 
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{editprofilemgr.uiUser.username}" /> 
+	</li>
+</ui:define>
+
+<ui:define name="content">
+
+	<ui:decorate template="/WEB-INF/jsf/common/profile.xhtml">
+		<ui:param name="manager" value="#{editprofilemgr}"/>
+		<ui:param name="adminMode" value="true"/>
+	</ui:decorate>
+
+</ui:define>
+
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/index.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/index.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/index.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,94 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+<ui:define name="title">
+	<li class="selected">
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+</ui:define>
+
+<ui:define name="content">
+	<h:message id="status" for="status" infoClass="portlet-msg-success" errorClass="portlet-msg-error"
+              fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+	<h:form>
+	<h:panelGrid>
+			<h:commandLink value="#{bundle.IDENTITY_MANAGEMENT_SEARCH_USER}" action="searchUsers"
+						styleClass="actionDetails"/>
+		
+		<c:if test="#{useradministrationbean.pendingCount > 0}">
+			<h:commandLink value="Show pending registrations" action="showPendingUsers" styleClass="actionPreferences"/>
+		</c:if>
+		
+		<h:commandLink value="#{bundle.IDENTITY_MANAGEMENT_CREATE_USER}" action="createUser" styleClass="actionCreateInstance"/>
+	</h:panelGrid>
+	</h:form>
+	<br/>
+	<table style="width: 100%;">
+		<tr>
+			<th colspan="2" class="portlet-section-header"><h:outputText value="#{bundle.IDENTITY_MANAGEMENT_MATRIX}" /></th>
+		</tr>
+		<tr class="portlet-section-body">
+			<td><h:outputText value="#{bundle.IDENTITY_MANAGEMENT_COUNT_REGISTERED_USERS}"/></td>
+			<td>
+				<h:outputText value="#{useradministrationbean.userCount}" />
+			</td>
+		</tr>
+		<c:if test="#{useradministrationbean.pendingCount > 0}">
+			<tr class="portlet-section-body">
+				<td> <h:outputText value="#{bundle.IDENTITY_MANAGEMENT_COUNT_PENDING_USERS}" /></td>
+				<td><h:outputText value="#{useradministrationbean.pendingCount}" /></td>
+			</tr>
+		</c:if>
+		<tr>
+			<th colspan="2" class="portlet-section-header"><h:outputText value="#{bundle.IDENTITY_MANAGEMENT_SUBSCRIPTION_MODES}" /></th>
+		</tr>
+		<tr class="portlet-section-body">
+			<td><h:outputText value="#{bundle.IDENTITY_MANAGEMENT_SUBSCRIPTION_MODE}" /></td>
+			<td>
+			<c:choose>
+				<c:when test="#{useradministrationbean.subscriptionMode == 'automatic'}">
+					<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_AUTOMATIC}" />
+				</c:when>
+				<c:when test="#{useradministrationbean.subscriptionMode == 'jbp_identity_validation_approval_workflow'}">
+					<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_EMAIL_ADMIN}" />
+				</c:when>
+				<c:when test="#{useradministrationbean.subscriptionMode == 'jbp_identity_validation_workflow'}">
+					<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_EMAIL}" />
+				</c:when>
+				<c:otherwise>
+					<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_CUSTOM}" />		
+				</c:otherwise>
+			</c:choose>
+			</td>
+		</tr>
+		<tr class="portlet-section-body">
+			<td><h:outputText value="#{bundle.IDENTITY_MANAGEMENT_SUBSCRIPTION_ADMIN_MODE}" /></td>
+			<td>
+			<c:choose>
+				<c:when test="#{useradministrationbean.adminSubscriptionMode == 'automatic'}">
+					<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_AUTOMATIC}" />
+				</c:when>
+				<c:when test="#{useradministrationbean.adminSubscriptionMode == 'jbp_identity_validation_approval_workflow'}">
+					<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_EMAIL_ADMIN}" />
+				</c:when>
+				<c:when test="#{useradministrationbean.adminSubscriptionMode == 'jbp_identity_validation_workflow'}">
+					<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_EMAIL}" />
+				</c:when>
+				<c:otherwise>
+					<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_DESCRIPTION_SUBSCRIPTION_CUSTOM}" />		
+				</c:otherwise>
+			</c:choose>
+			</td>
+		</tr>
+	</table>
+
+</ui:define>
+
+</ui:composition>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/createRole.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/createRole.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/createRole.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/roles/roleTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="roleAdmin" value="#{bundle.IDENTITY_MANAGEMENT_ROLE_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_CREATE_ROLE}"/>
+	</li> 
+</ui:define>
+
+<ui:define name="content">
+<h:form>
+	<h:panelGrid columns="2">
+	<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ROLE}"/>
+	<h:inputText id="rolename" value="#{createrolemgr.uiRole.name}" required="true"/>
+	
+	<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ROLE_DISPLAY}"/>
+	<h:inputText id="roledisplayname" value="#{createrolemgr.uiRole.displayName}"/>
+	</h:panelGrid>
+	<hr/>
+	<p style="text-align: right;">
+		<h:commandButton value="#{bundle.IDENTITY_BUTTON_SUBMIT}" action="#{createrolemgr.createRole}" styleClass="portlet-form-button"/>
+		<h:commandButton id="cancel" action="roleAdmin" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true" styleClass="portlet-form-button"/>
+	</p>
+</h:form>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/deleteRole.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/deleteRole.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/deleteRole.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,49 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/roles/roleTemplate.xhtml">
+
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="roleAdmin" value="#{bundle.IDENTITY_MANAGEMENT_ROLE_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="pathItem">
+		<h:outputText value="#{bundle.IDENTITY_REGISTER_TITLE_CONFIRM_DELETE}" />  
+	</li> 
+	<li class="selected">
+		<h:outputText value="#{rolemanagementbean.uiRole.name}"/>
+	</li>
+</ui:define>
+<ui:define name="content">
+         <div class="portlet-msg">
+            <div class="portlet-msg-icon"><h:graphicImage url="/img/msgIcon_Warning.gif" alt="/!\"/></div>
+            <div class="portlet-msg-body">
+            <h3>
+            	<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION_DELETE}" /> 
+            	<h:outputText id="rolename" value="#{rolemanagementbean.uiRole.name}"/> 
+            	<h:outputText value="(#{rolemanagementbean.uiRole.displayName})" /> 
+            </h3>
+            <p class="portlet-msg-alert">
+            	#{bundle.IDENTITY_WARNING_CONFIRM_DELETE_ROLE} 
+            	#{rolemanagementbean.uiRole.name}
+            </p>
+	<h:form>
+		<h:commandButton value="#{bundle.IDENTITY_BUTTON_CANCEL}" action="roleAdmin"
+							styleClass="portlet-form-button portlet-section-buttonrow" />
+							
+		<h:commandButton value="#{bundle.IDENTITY_BUTTON_SUBMIT}" action="#{rolemanagementbean.confirmedDelete}"
+							styleClass="portlet-form-button portlet-section-buttonrow" />
+	</h:form>
+</div>
+</div>
+	
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/editRole.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/editRole.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/editRole.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,42 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/roles/roleTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="roleAdmin" value="#{bundle.IDENTITY_MANAGEMENT_ROLE_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="pathItem">
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_EDIT_ROLE}"/>
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText id="rolename" value="#{editrolemgr.uiRole.name}" />
+	</li> 
+</ui:define>
+
+<ui:define name="content">
+<h:form>
+	<h:panelGrid columns="2">
+	<h:outputText for="rolename" value="#{bundle.IDENTITY_MANAGEMENT_ROLE}"/>
+	<h:outputText id="rolename" value="#{editrolemgr.uiRole.name}" />
+	
+	<h:outputText for="roledisplayname" value="#{bundle.IDENTITY_MANAGEMENT_ROLE_DISPLAY}"/>
+	<h:inputText value="#{editrolemgr.uiRole.displayName}"/>
+	</h:panelGrid>
+	<hr/>
+ <p style="text-align: right;">
+	<h:commandButton value="#{bundle.IDENTITY_BUTTON_SUBMIT}" action="#{editrolemgr.updateRole}" styleClass="portlet-form-button"/>
+	<h:commandButton id="cancel" action="roleAdmin" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true" styleClass="portlet-form-button"/>
+ </p>
+</h:form>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/roleMembers.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/roleMembers.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/roleMembers.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,97 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/roles/roleTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="roleAdmin" value="#{bundle.IDENTITY_MANAGEMENT_ROLE_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="pathItem">
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ROLE_MEMBERS}"/>
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{rolemanagementbean.uiRole.name}"/>
+	</li>
+</ui:define>
+
+<ui:define name="content">
+
+<h:form>
+	<h:dataTable value="#{rolemanagementbean.roleMembers}" var="uiUser" rows="#{rolemanagementbean.limit}" rendered="#{rolemanagementbean.roleMembers.rowCount > 0}" rowClasses="portlet-section-body,portlet-section-alternate" headerClass="portlet-section-header" width="100%">
+		<h:column>
+			<f:facet name="header">
+				<h:outputText value="#{bundle.IDENTITY_USERNAME}"/>
+			</f:facet>
+			<h:outputText value="#{uiUser.username}"/>
+		</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_EMAIL}"/>
+		</f:facet>
+		<a href="mailto:#{uiUser.attribute.email}">
+			<h:outputText value="#{uiUser.attribute.email}"/>
+		</a>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_GIVENNAME}"/>
+		</f:facet>
+		<h:outputText value="#{uiUser.attribute.givenname}"/>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_FAMILYNAME}"/>
+		</f:facet>
+		<h:outputText value="#{uiUser.attribute.familyname}"/>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_ENABLED}"/>
+		</f:facet>
+		<h:selectBooleanCheckbox id="enabled" value="#{uiUser.attribute.enabled}" disabled="true" />
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION}"/>
+		</f:facet>
+		<h:commandLink action="#{editprofilemgr.adminEditProfile}" styleClass="actionRename">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION_EDIT_PROFILE}"/>
+			<f:param name="currentUser" value="#{uiUser.username}"/>
+		</h:commandLink> | 
+		<h:commandLink action="#{assignrolemgr.assignRoles}" styleClass="actionPreferences">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION_ROLES}"/>
+			<f:param name="currentUser" value="#{uiUser.username}"/>
+	    </h:commandLink>
+	</h:column>
+	</h:dataTable>
+</h:form>
+<p style="text-align: center;">
+	<h:commandButton value=" &#60; " action="#{rolemanagementbean.prevPage}" rendered="#{rolemanagementbean.page > 1}" styleClass="portlet-form-button"/> 
+	<h:commandButton value=" &#62; " action="#{rolemanagementbean.nextPage}" rendered="#{rolemanagementbean.roleMembers.rowCount > rolemanagementbean.limit}" styleClass="portlet-form-button"/>
+</p>
+<br/>
+<hr/>
+<h:form>
+	<h4><h:outputText value="#{bundle.IDENTITY_MANAGEMENT_SEARCH_USER}"/></h4>
+	<h:panelGrid columns="3">
+		<h:inputText id="searchString" value="#{rolemanagementbean.userNameFilter}" />
+		<h:commandButton value="Search" action="#{rolemanagementbean.viewRoleMembers}" styleClass="portlet-form-button" />
+		<h:selectOneMenu id="limit" value="#{rolemanagementbean.limit}">
+			<f:selectItem id="limit1" itemValue="10"/>
+			<f:selectItem id="limit2" itemValue="20"/>
+			<f:selectItem id="limit5" itemValue="50"/>
+			<f:selectItem id="limit10" itemValue="100"/> 
+		</h:selectOneMenu>
+	</h:panelGrid>
+</h:form>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/roleTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/roleTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles/roleTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+<c:choose>
+	<c:when test="#{configurationbean.validConfiguration}">	
+	<h:form>
+      <ul class="topnav">
+		<li>
+            <h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}"/>
+         </li>
+         <li id="currentTab"><h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ROLE_MANAGEMENT}"/></li>
+      </ul>
+   </h:form>
+
+<ui:decorate template="/WEB-INF/jsf/common/tabContainer.xhtml">
+	<ui:define name="tab-container-content">
+	<!-- Title -->
+	<h:form>
+	<ul class="objectpath">
+		<ui:insert name="title">Title</ui:insert>
+	</ul>
+	</h:form>
+
+	<br/>
+   <!-- Content -->
+   <ui:insert name="content">Content</ui:insert>
+	</ui:define>
+</ui:decorate>
+	</c:when>
+	<c:otherwise>
+		<span class="portlet-msg-error"><h:outputText value="#{bundle.IDENTITY_APPLICATION_NOT_AVAILABLE}" /></span>
+   	</c:otherwise>
+</c:choose>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/roles.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,61 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/roles/roleTemplate.xhtml">
+<ui:define name="title">
+	<li class="selected">
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ROLE_MANAGEMENT}" />
+	</li>
+</ui:define>
+
+<ui:define name="content">
+	<h:messages id="status" for="status" infoClass="portlet-msg-success" errorClass="portlet-msg-error"
+              fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+    <br/>
+             
+<h:form>
+	<h:dataTable id="userlist" value="#{rolemanagementbean.roleList}" var="role" rowClasses="portlet-section-body,portlet-section-alternate" headerClass="portlet-section-header" width="100%">
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ROLE}" />
+		</f:facet>
+		<h:outputText value="#{role.name}"/>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ROLE_DISPLAY}" />
+		</f:facet>
+		<h:outputText value="#{role.displayName}"/>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION}"/>
+		</f:facet>
+		<h:commandLink action="#{editrolemgr.editRole}">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_EDIT_ROLE}" styleClass="actionRename"/>
+			<f:param name="currentRole" value="#{role.name}"/>
+		</h:commandLink>
+		| <h:commandLink action="#{rolemanagementbean.viewRoleMembers}" styleClass="actionPreferences">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ROLE_MEMBERS}"/>
+			<f:param name="currentRole" value="#{role.name}"/>
+		  </h:commandLink>
+		| <h:commandLink action="#{rolemanagementbean.deleteRole}" styleClass="actionDelete">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION_DELETE}"/>
+			<f:param name="currentRole" value="#{role.name}"/>
+		  </h:commandLink> 
+	</h:column>
+	</h:dataTable>
+	</h:form>
+	
+	<hr/>
+	<h:form>
+		<p style="text-align: right; padding-right: 5px;"><h:commandLink value="Create new role" action="createRole" styleClass="actionCreateInstance"/></p>
+	</h:form>
+</ui:define>
+</ui:composition>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/changePassword.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/changePassword.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/changePassword.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,56 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="pathItem">
+		<h:outputText value="#{bundle.IDENTITY_EDIT_CHANGE_PASSWORD}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{editprofilemgr.currentUser}" />
+	</li>
+</ui:define>
+<ui:define name="content">
+<br/>
+	<h:form>
+	<h:panelGrid columns="3" cellpadding="3">
+
+  		<h:outputText value="#{bundle.IDENTITY_USERNAME}"/>
+  		<h:outputText id="username" value="#{editprofilemgr.currentUser}" />
+  		<h:message for="username"/>
+		
+  		<h:outputText value="#{bundle.IDENTITY_PASSWORD}"/>
+  		<h:inputSecret id="password" required="true" value="#{editprofilemgr.password}">
+  			<f:validateLength minimum="6"/>
+  		</h:inputSecret>
+  		<h:message for="password"/>
+
+  		<h:outputText value="#{bundle.IDENTITY_REGISTER_PASSWORD_CONFIRM}"/>
+  		<h:inputSecret id="passwordCheck" required="true">
+  			<f:validator validatorId="PasswordValidator"/>
+  		</h:inputSecret>
+  		<h:message for="passwordCheck"/>
+  		</h:panelGrid>
+  		
+		<hr/>
+	<p style="text-align: right;">
+		<h:commandButton value="Submit" action="#{editprofilemgr.changePassword}" styleClass="portlet-form-button"/>
+		<h:commandButton id="cancel" action="searchUsers" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true" styleClass="portlet-form-button"/>
+	</p>
+</h:form>
+	
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/confirmPendingAction.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/confirmPendingAction.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/confirmPendingAction.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,69 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+
+<ui:define name="title">
+
+	<li class="pathItem">
+		<h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="pathItem">
+		<h:commandLink action="revise" value="#{bundle.IDENTITY_MANAGEMENT_PENDING_REGISTRATIONS}" /> 
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_APPROVE_ALL}" rendered="#{useradministrationbean.pendingUserAction == 'approve'}" />
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_REJECT_ALL}" rendered="#{useradministrationbean.pendingUserAction == 'reject'}" />
+	</li>
+</ui:define>
+<ui:define name="content">
+<br/>
+<h:form>
+<h:dataTable value="#{useradministrationbean.pendingActionList}" var="user" rowClasses="portlet-section-body,portlet-section-alternate" headerClass="portlet-section-header" width="100%">
+	<h:column>
+		<h:selectBooleanCheckbox value="#{user.selected}" disabled="true" />
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_PENDING_BPM_ID}"/>
+		</f:facet>
+		<h:outputText value="#{user.processId}" />
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_USERNAME}"/>
+		</f:facet>
+		<h:outputText value="#{user.username}"/>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_EMAIL}"/>
+		</f:facet>
+		<h:outputText value="#{user.email}"/>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_REIGSTRATION_DATE}"/>
+		</f:facet>
+		<h:outputText value="#{user.registrationDate}">
+			<f:convertDateTime dateStyle="medium" type="both" />
+		</h:outputText>
+	</h:column>		
+</h:dataTable>
+<br/>
+	<p style="text-align: right;">  
+		<h:commandButton value="#{bundle.IDENTITY_MANAGEMENT_APPROVE_ALL}" action="#{useradministrationbean.confirmPendingAction}" styleClass="portlet-form-button" rendered="#{useradministrationbean.pendingUserAction == 'approve'}" />
+		<h:commandButton value="#{bundle.IDENTITY_MANAGEMENT_REJECT_ALL}" action="#{useradministrationbean.confirmPendingAction}" styleClass="portlet-form-button" rendered="#{useradministrationbean.pendingUserAction == 'reject'}" />
+		<h:commandButton value="#{bundle.IDENTITY_BUTTON_CANCEL}" action="revise" styleClass="portlet-form-button"/>
+	</p> 
+</h:form>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/createUser.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/createUser.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/createUser.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,30 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{bundle.IDENTITY_REGISTER_TITLE}" />
+	</li>
+</ui:define>
+
+<ui:define name="content">
+
+	<ui:decorate template="/WEB-INF/jsf/common/register.xhtml">
+		<ui:param name="manager" value="#{userregistermgr}"/>
+	</ui:decorate>
+
+</ui:define>
+
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/deleteUser.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/deleteUser.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/deleteUser.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,49 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="pathItem">
+		<h:outputText value="#{bundle.IDENTITY_REGISTER_TITLE_CONFIRM_DELETE}" /> 
+	</li>
+	<li class="selected">
+		<h:outputText value="#{useradministrationbean.uiUser.username}"/>
+	</li>
+</ui:define>
+<ui:define name="content">
+         <div class="portlet-msg">
+            <div class="portlet-msg-icon"><h:graphicImage url="/img/msgIcon_Warning.gif" alt="/!\"/></div>
+            <div class="portlet-msg-body">
+            <h3>
+            	<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION_DELETE}" /> 
+            	<h:outputText value="#{useradministrationbean.uiUser.username}" /> 
+            	<h:outputText value="(#{useradministrationbean.uiUser.attribute.email})" />
+            </h3>
+            <p class="portlet-msg-alert">
+            	#{bundle.IDENTITY_WARNING_CONFIRM_DELETE_USER} 
+            	#{useradministrationbean.uiUser.username}
+            </p>
+	<h:form>
+		<h:commandButton value="#{bundle.IDENTITY_BUTTON_CANCEL}" action="searchUsers"
+							styleClass="portlet-form-button portlet-section-buttonrow" />
+							
+		<h:commandButton value="#{bundle.IDENTITY_BUTTON_SUBMIT}" action="#{useradministrationbean.confirmedDelete}"
+							styleClass="portlet-form-button portlet-section-buttonrow" />
+	</h:form>
+</div>
+</div>
+	
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/pendingUsers.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/pendingUsers.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/pendingUsers.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,111 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_PENDING_REGISTRATIONS}" />
+	</li>
+</ui:define>
+
+<ui:define name="content">
+<f:verbatim>
+<script type="text/javascript">
+// <![CDATA[
+function selectAll() {
+	var form=$('pending');
+	var i=form.getElements('checkbox');
+	i.each(function(item) {
+		item.checked=true
+	});
+}
+function unSelectAll() {
+	var form=$('pending');
+	var i=form.getElements('checkbox');
+	i.each(function(item) {
+		item.checked=false
+	});
+}
+// ]]>
+</script>
+</f:verbatim>
+<br/>
+<h:form id="pending">
+<h:dataTable value="#{useradministrationbean.pendingUsers}" var="user" rowClasses="portlet-section-body,portlet-section-alternate" headerClass="portlet-section-header" width="100%">
+	<h:column>
+		<h:selectBooleanCheckbox id="selected" value="#{user.selected}" />
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_PENDING_BPM_ID}"/>
+		</f:facet>
+		<h:outputText value="#{user.processId}" />
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_USERNAME}"/>
+		</f:facet>
+		<h:outputText value="#{user.username}"/>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_EMAIL}"/>
+		</f:facet>
+		<a href="mailto:#{user.email}">
+			<h:outputText value="#{user.email}"/>
+		</a>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_REIGSTRATION_DATE}"/>
+		</f:facet>
+		<h:outputText value="#{user.registrationDate}">
+			<f:convertDateTime dateStyle="medium" type="both" />
+		</h:outputText>
+	</h:column>		
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION}"/>
+		</f:facet>
+		<h:outputText value="Pending" rendered="#{user.currentNode == 'validate_email'}"/>
+			<h:commandLink action="#{useradministrationbean.approveRegistration}" rendered="#{user.currentNode == 'admin_approval'}" styleClass="actionDefault">
+				<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_PENDING_APPROVE}"/>
+				<f:param name="processId" value="#{user.processId}" />
+				<f:param name="action" value="approve" />
+			</h:commandLink>
+			<h:outputText value=" | " rendered="#{user.currentNode == 'admin_approval'}" /> 
+			<h:commandLink action="#{useradministrationbean.approveRegistration}" rendered="#{user.currentNode == 'admin_approval'}" styleClass="actionDelete">
+				<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_PENDING_REJECT}"/>
+				<f:param name="processId" value="#{user.processId}" />
+				<f:param name="action" value="reject" />
+			</h:commandLink>
+	</h:column>
+</h:dataTable>
+<br/>
+<table border="0" cellspacing="3" style="width: 100%;" >
+	<tr>
+		<td style="text-align: left;" >
+			<a href="#" onClick="selectAll()"><h:outputText value="#{bundle.IDENTITY_MANAGEMENT_SELECT_ALL}" /></a> | 
+			<a href="#" onClick="unSelectAll()"><h:outputText value="#{bundle.IDENTITY_MANAGEMENT_UNSELECT_ALL}" /></a>
+		</td>
+		<td style="text-align: right;">  
+			<h:commandButton value="#{bundle.IDENTITY_MANAGEMENT_APPROVE_ALL}" action="#{useradministrationbean.approveList}" styleClass="portlet-form-button"/>  
+			<h:commandButton value="#{bundle.IDENTITY_MANAGEMENT_REJECT_ALL}" action="#{useradministrationbean.rejectList}" styleClass="portlet-form-button"/>
+			<h:commandButton value="#{bundle.IDENTITY_BUTTON_CANCEL}" action="userAdmin" styleClass="portlet-form-button"/>
+		</td>
+	</tr>
+</table>
+</h:form>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/registerConfirm.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/registerConfirm.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/registerConfirm.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,29 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{bundle.IDENTITY_REGISTER_TITLE_CONFIRM}" />
+	</li>
+</ui:define>
+<ui:define name="content">
+	<ui:decorate template="/WEB-INF/jsf/common/confirm.xhtml">
+		<ui:param name="manager" value="#{userregistermgr}"/>
+		<ui:param name="show_roles" value="true"/>
+		<ui:param name="subscriptionMode" value="admin" />
+	</ui:decorate>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/registerRoles.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/registerRoles.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/registerRoles.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="pathItem">
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ASSIGN_ROLES}" />  
+	</li>	
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{userregistermgr.uiUser.username}" />
+	</li>
+</ui:define>
+
+<ui:define name="content">
+<br/>
+	<h:form>
+		<h:selectManyCheckbox id="roles" value="#{userregistermgr.roles}">
+			<f:selectItems value="#{identityrolemgr.roleSelectItems}" />
+		</h:selectManyCheckbox>
+		<hr/>
+	<p style="text-align: right;">
+		<h:commandButton value="#{bundle.IDENTITY_BUTTON_SUBMIT}" action="register" styleClass="portlet-form-button"/>
+		<h:commandButton id="cancel" action="#{userregistermgr.cancelRegistration}" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true" styleClass="portlet-form-button"/>
+	</p>	
+	</h:form>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/resetPassword.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/resetPassword.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/resetPassword.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,49 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="pathItem">
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_RESET_PASSWORD}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">  
+		<h:outputText value="#{lostpasswordmgr.username}" />
+	</li>
+</ui:define>
+
+<ui:define name="content">
+
+         <div class="portlet-msg">
+            <div class="portlet-msg-icon"><h:graphicImage url="/img/msgIcon_Warning.gif" alt="/!\"/></div>
+            <div class="portlet-msg-body">
+            <h3>
+				<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_RESET_PASSWORD_FOR_USER} " />   
+				<h:outputText value="#{lostpasswordmgr.username}" />.
+            </h3>
+            <p class="portlet-msg-alert">
+				<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_RESET_PASSWORD_DESCRIPTION}" />
+            </p>
+	<h:form>
+		<h:commandButton id="cancel" action="userAdmin" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true"
+							styleClass="portlet-form-button portlet-section-buttonrow" />
+							
+		<h:commandButton action="#{lostpasswordmgr.doomed}" value="#{bundle.IDENTITY_BUTTON_SUBMIT}"
+							styleClass="portlet-form-button portlet-section-buttonrow" />
+	</h:form>
+</div>
+</div>
+
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/searchUsers.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/searchUsers.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/searchUsers.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,102 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/admin/user/userTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink action="userAdmin" value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}" />
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_SEARCH_USER}"/>
+	</li>
+</ui:define>
+
+<ui:define name="content">
+	<h:form>
+	<h:panelGrid columns="4">
+		<h:inputText id="searchString" value="#{useradministrationbean.searchString}" />
+		<h:commandButton id ="search" value="#{bundle.IDENTITY_MANAGEMENT_SEARCH_USER}" action="#{useradministrationbean.searchUsers}" styleClass="portlet-form-button"/>
+		
+		<h:selectOneMenu id="limit" value="#{useradministrationbean.limit}">
+			<f:selectItem id="limit1" itemValue="10" />
+			<f:selectItem id="limit2" itemValue="20" />
+			<f:selectItem id="limit5" itemValue="50" />
+			<f:selectItem id="limit10" itemValue="100" /> 
+ 		</h:selectOneMenu>
+		<h:message for="limit" />
+	</h:panelGrid>
+	</h:form>
+	<br/>
+	<h:form>
+	<h:dataTable id="userlist" value="#{useradministrationbean.userList}" var="uiUser" rendered="#{useradministrationbean.userList.rowCount > 0}" rows="#{useradministrationbean.limit}" rowClasses="portlet-section-body,portlet-section-alternate" headerClass="portlet-section-header" width="100%">
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_USERNAME}"/>
+		</f:facet>
+		<h:outputText value="#{uiUser.username}"/>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_EMAIL}"/>
+		</f:facet>
+		<a href="mailto:#{uiUser.attribute.email}">
+			<h:outputText value="#{uiUser.attribute.email}"/>
+		</a>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_GIVENNAME}"/>
+		</f:facet>
+		<h:outputText value="#{uiUser.attribute.givenname}"/>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_FAMILYNAME}"/>
+		</f:facet>
+		<h:outputText value="#{uiUser.attribute.familyname}"/>
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_ENABLED}"/>
+		</f:facet>
+		<h:selectBooleanCheckbox id="enabled" value="#{uiUser.attribute.enabled}" disabled="true" />
+	</h:column>
+	<h:column>
+		<f:facet name="header">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION}"/>
+		</f:facet>
+		<h:commandLink action="#{editprofilemgr.adminEditProfile}" styleClass="actionRename">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION_EDIT_PROFILE}"/>
+			<f:param name="currentUser" value="#{uiUser.username}"/>
+		</h:commandLink> | 
+		<h:commandLink action="#{assignrolemgr.assignRoles}" styleClass="actionProperties">
+			<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION_ROLES}"/>
+			<f:param name="currentUser" value="#{uiUser.username}"/>
+	    </h:commandLink> | 
+		<h:commandLink action="#{useradministrationbean.enableUser}" styleClass="#{uiUser.attribute.enabled == true ? 'actionDefault' : 'actionMakeDefault'}">
+			<h:outputText value="#{uiUser.attribute.enabled == true ? bundle.IDENTITY_MANAGEMENT_DISABLE : bundle.IDENTITY_MANAGEMENT_ENABLE}" />
+			<f:param name="currentUser" value="#{uiUser.username}"/>
+			<f:param name="enableAction" value="#{uiUser.attribute.enabled == true ? 'disable' : 'enable'}" />
+		</h:commandLink> | 
+	    <h:commandLink action="#{useradministrationbean.deleteUser}" styleClass="actionDelete">
+	    	<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ACTION_DELETE}"/>
+	    	<f:param name="currentUser" value="#{uiUser.username}"/>
+	    </h:commandLink>
+	</h:column>
+	</h:dataTable>
+	<p style="text-align: center;">
+	<h:commandButton value=" &#60; " action="#{useradministrationbean.prevPage}" rendered="#{useradministrationbean.page > 1}" styleClass="portlet-form-button"/>   
+	<h:commandButton value=" &#62; " action="#{useradministrationbean.nextPage}" rendered="#{useradministrationbean.userList.rowCount > useradministrationbean.limit}" styleClass="portlet-form-button"/>
+	</p>
+	</h:form>
+	<br/>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/userTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/userTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/admin/user/userTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+<c:choose>
+	<c:when test="#{configurationbean.validConfiguration}">
+	<h:form>
+      <ul class="topnav">
+         <li id="currentTab"><h:outputText value="#{bundle.IDENTITY_MANAGEMENT_USER_MANAGEMENT}"/></li>
+         <li>
+            <h:commandLink action="roleAdmin" value="#{bundle.IDENTITY_MANAGEMENT_ROLE_MANAGEMENT}"/>
+         </li>
+      </ul>
+   </h:form>
+   
+<ui:decorate template="/WEB-INF/jsf/common/tabContainer.xhtml">
+	<ui:define name="tab-container-content">
+	<!-- Title -->
+	<h:form>
+	<ul class="objectpath">
+		<ui:insert name="title"><li>Title</li></ui:insert>
+	</ul>
+	</h:form>
+	<br/>
+   <!-- Content -->
+   <ui:insert name="content">Content</ui:insert>
+   
+   </ui:define>
+</ui:decorate>
+	</c:when>
+	<c:otherwise>
+		<span class="portlet-msg-error"><h:outputText value="#{bundle.IDENTITY_APPLICATION_NOT_AVAILABLE}" /></span>
+   	</c:otherwise>
+</c:choose>
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/captcha.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/captcha.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/captcha.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<c:if test="#{portletPreferenceValue.captcha == true}">
+	<hr/>
+	<div id="captchaContainer" style="width: 200px; height: 100px">
+		<h:graphicImage id="jcaptcha" url="/jcaptcha" />
+	</div>
+	<h:panelGrid columns="2">
+		<h:outputText value="#{bundle.IDENTITY_REGISTER_VERIFY_CAPTCHA} *" />
+		<h:inputText id="validateCaptcha" value="" required="true">
+			<f:validator validatorId="CaptchaValidator" />
+		</h:inputText>
+		<h:panelGroup />
+		<h:message for="validateCaptcha" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+	</h:panelGrid>
+	</c:if>
+
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/confirm.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/confirm.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/confirm.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<h:form>
+	<h:panelGrid columns="2">
+		<h:outputText for="username" value="#{bundle.IDENTITY_USERNAME}"/>
+		<h:outputText id="username" value="#{manager.uiUser.username}"/>
+		
+		<h:outputText for="email" value="#{bundle.IDENTITY_EMAIL}"/>
+		<h:outputText id="email" value="#{manager.uiUser.attribute.email}"/>
+		
+		<h:outputText for="password" value="#{bundle.IDENTITY_PASSWORD}"/>
+		<h:outputText id="password">******</h:outputText>
+	</h:panelGrid>
+	<br/>
+	<c:if test="#{show_roles == true}">
+	<!-- assigned roles -->
+	<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_ROLE_ASSIGNED}" />
+	<h:dataTable id="roleslist" value="#{manager.roles}" var="role">
+		<h:column>
+			<h:outputText value="#{role}"/>
+		</h:column>
+	</h:dataTable>
+	</c:if>
+	<h:messages />
+	<hr/>
+<p style="text-align: right;">
+	<h:commandButton value="#{bundle.IDENTITY_BUTTON_EDIT}" action="revise" styleClass="portlet-form-button"/>
+	<h:commandButton id="#{subscriptionMode}" value="#{bundle.IDENTITY_BUTTON_SUBMIT}" actionListener="#{manager.register}" action="registered" styleClass="portlet-form-button"/>
+	<h:commandButton id="cancel" action="#{manager.cancelRegistration}" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true" styleClass="portlet-form-button"/>
+</p>
+</h:form>
+	
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/noTabContainer.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/noTabContainer.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/noTabContainer.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,10 @@
+<ui:composition
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:ui="http://java.sun.com/jsf/facelets">
+
+   <div class="no-tab-container">
+      <ui:insert name="tab-container-content"/>
+   </div>
+
+</ui:composition>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/profile.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/profile.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/profile.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,217 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<h:form>
+
+	<ui:include src="/WEB-INF/jsf/common/userInfo.xhtml" />
+
+	<!-- User Profile -->
+	<h:panelGrid columns="2" cellpadding="3">	
+	<h:panelGroup/>
+	<h:panelGroup>
+	<ul class="topnav">
+		<li id="currentTab">
+			<h:outputText value="#{bundle.IDENTITY_CATEGORY_GENERAL}" />
+		</li>
+	</ul>
+	</h:panelGroup>
+	
+	<h:panelGroup>
+  		<h:outputText value="#{bundle.IDENTITY_TIMEZONE}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.timezone.required}" />
+  	</h:panelGroup>
+  	<h:selectOneMenu id="timezone" value="#{manager.uiUser.attribute.timezone}"  required="#{metadataservice.timezone.required}">
+  		<f:selectItems value="#{metadataservice.timezone.values}" />
+  	</h:selectOneMenu>
+  	<h:panelGroup />
+  	<h:message for="timezone" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+	<h:panelGroup>
+  		<h:outputText value="#{bundle.IDENTITY_THEME}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.theme.required}" />
+  	</h:panelGroup>
+  	<h:selectOneMenu id="theme" value="#{manager.uiUser.attribute.theme}"  required="#{metadataservice.theme.required}">
+  		<f:selectItems value="#{metadataservice.theme.values}" />
+  	</h:selectOneMenu>
+  	<h:panelGroup />
+  	<h:message for="theme" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_LOCALE}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.locale.required}" />
+  	</h:panelGroup>
+  	<h:selectOneMenu id="locale" value="#{manager.uiUser.attribute.locale}" required="#{metadataservice.locale.required}">
+  		<f:selectItems value="#{metadataservice.locale.values}" />
+  	</h:selectOneMenu>
+  	<h:panelGroup />
+  	<h:message for="locale" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+	<h:panelGroup/>
+	<h:panelGroup>
+	<ul class="topnav">
+		<li id="currentTab">
+			<h:outputText value="#{bundle.IDENTITY_CATEGORY_PERSONAL}" />
+		</li>
+	</ul>
+	</h:panelGroup>
+		
+	
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_GIVENNAME}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.givenname.required}" />
+  	</h:panelGroup>
+  	<h:inputText id="givenname" value="#{manager.uiUser.attribute.givenname}" required="#{metadataservice.givenname.required}"/>
+  	<h:panelGroup />
+  	<h:message for="givenname" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_FAMILYNAME}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.familyname.required}" />
+  	</h:panelGroup>
+  	<h:inputText id="lastname"  value="#{manager.uiUser.attribute.familyname}" required="#{metadataservice.familyname.required}"/>
+  	<h:panelGroup />
+  	<h:message for="lastname" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_LOCATION}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.location.required}" />
+  	</h:panelGroup>
+	<h:inputText id="location"  value="#{manager.uiUser.attribute.location}" required="#{metadataservice.location.required}"/>
+  	<h:panelGroup />
+	<h:message for="location" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+	<h:panelGroup/>
+	<h:panelGroup>
+	<ul class="topnav">
+		<li id="currentTab">
+			<h:outputText value="#{bundle.IDENTITY_CATEGORY_INSTANT}" />
+		</li>
+	</ul>
+	</h:panelGroup>
+
+  		
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_SKYPE}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.skype.required}" />
+  	</h:panelGroup>
+  		<h:inputText id="skype"  value="#{manager.uiUser.attribute.skype}" required="#{metadataservice.skype.required}"/>
+  		<h:panelGroup />
+  		<h:message for="skype" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_ICQ}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.icq.required}" />
+  	</h:panelGroup>
+  		<h:inputText id="icq"  value="#{manager.uiUser.attribute.icq}" required="#{metadataservice.icq.required}"/>
+  		<h:panelGroup />
+  		<h:message for="icq" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  	  	
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_AIM}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.aim.required}" />
+  	</h:panelGroup>
+  		<h:inputText id="aim"  value="#{manager.uiUser.attribute.aim}" required="#{metadataservice.aim.required}"/>
+  		<h:panelGroup />
+  		<h:message for="aim" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  	
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_MSNM}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.msnm.required}" />
+  	</h:panelGroup>
+  		<h:inputText id="msnm"  value="#{manager.uiUser.attribute.msnm}" required="#{metadataservice.msnm.required}"/>
+  		<h:panelGroup />
+  		<h:message for="msnm" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_YIM}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.yim.required}" />
+  	</h:panelGroup>
+  		<h:inputText id="yim"  value="#{manager.uiUser.attribute.yim}" required="#{metadataservice.yim.required}"/>
+  		<h:panelGroup />
+  		<h:message for="yim" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_XMMP}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.xmmp.required}" />
+  	</h:panelGroup>
+  		<h:inputText id="xmmp"  value="#{manager.uiUser.attribute.xmmp}" required="#{metadataservice.xmmp.required}"/>
+  		<h:panelGroup />
+  		<h:message for="xmmp" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+	<h:panelGroup/>
+	<h:panelGroup>
+	<ul class="topnav">
+		<li id="currentTab">
+			<h:outputText value="#{bundle.IDENTITY_CATEGORY_ADDITIONAL}" />
+		</li>
+	</ul>
+	</h:panelGroup>
+  		
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_HOMEPAGE}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.homepage.required}" />
+  	</h:panelGroup>
+  	<h:inputText id="homepage"  value="#{manager.uiUser.attribute.homepage}" required="#{metadataservice.homepage.required}"/>
+  	<h:panelGroup />
+  	<h:message for="homepage" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  		
+  		
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_OCCUPATION}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.occupation.required}" />
+  	</h:panelGroup>
+  		<h:inputText id="occupation"  value="#{manager.uiUser.attribute.occupation}" required="#{metadataservice.occupation.required}"/>
+  		<h:panelGroup />
+  		<h:message for="occupation" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  		
+  		
+	<h:panelGroup>
+		<h:outputText value="#{bundle.IDENTITY_INTERESTS}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.interests.required}" />
+  	</h:panelGroup>
+  		<h:inputText id="interests" value="#{manager.uiUser.attribute.interests}" required="#{metadataservice.interests.required}"/>
+  		<h:panelGroup />
+  		<h:message for="interests" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  		
+  		
+		<h:panelGroup>
+			<h:outputText value="#{bundle.IDENTITY_SIGNATURE}"/>
+	  		<h:outputText value=" *" rendered="#{metadataservice.signature.required}" />
+	  	</h:panelGroup>
+  		<h:panelGroup>
+  			<h:inputTextarea id="signature" value="#{manager.uiUser.attribute.signature}" cols="50" rows="5" required="#{metadataservice.signature.required}"/><br/>	
+  			<h:outputText value="#{bundle.IDENTITY_CATEGORY_ADDITIONAL_SIGNATURE}" />
+  		</h:panelGroup>
+  		<h:panelGroup />
+  		<h:message for="signature" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+  		
+		<h:panelGroup>
+			<h:outputText value="#{bundle.IDENTITY_EXTRA}"/>
+	  		<h:outputText value=" *" rendered="#{metadataservice.extra.required}" />
+	  	</h:panelGroup>
+  		<h:panelGroup>
+  			<h:inputTextarea id="extra" value="#{manager.uiUser.attribute.extra}" cols="50" rows="5" required="#{metadataservice.extra.required}"/><br/>
+  			<h:outputText value="#{bundle.IDENTITY_CATEGORY_ADDITIONAL_EXTRA}" />
+  		</h:panelGroup>
+  		<h:panelGroup />
+  		<h:message for="extra" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  		
+	</h:panelGrid>
+	
+	<hr/>
+		<p style="text-align: left;">
+			<h:outputText value="* #{bundle.IDENTITY_REGISTER_REQUIRED_INFORMATION}" />
+		</p>
+		<p style="text-align: right;">
+			<h:commandButton id="submit" value="#{bundle.IDENTITY_BUTTON_SUBMIT}" action="#{manager.updateProfile}" styleClass="portlet-form-button"/>
+			<h:commandButton id="cancel" action="#{editprofilemgr.viewStart}" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true" styleClass="portlet-form-button"/>
+		</p>
+  	</h:form>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/register.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/register.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/register.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,56 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<h:form>
+  	<h:panelGrid columns="2" cellpadding="3">
+  	<h:outputText value="#{bundle.IDENTITY_USERNAME} *"/>
+  	<h:inputText id="username" value="#{manager.uiUser.username}" required="true">
+  		<f:validator validatorId="UsernameValidator"/>
+  	</h:inputText>
+  	<h:panelGroup />
+  	<h:message for="username" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  	
+  	<h:panelGroup>
+  		<h:outputText value="#{bundle.IDENTITY_EMAIL}"/>
+  		<h:outputText value=" *" rendered="#{metadataservice.email.required}" />
+  	</h:panelGroup>
+  	<h:inputText id="#{metadataservice.email.name}" value="#{manager.uiUser.attribute.email}" required="#{metadataservice.email.required}">
+  		<f:validator validatorId="#{metadataservice.email.validator}"/>
+  	</h:inputText>
+  	<h:panelGroup />
+  	<h:message for="#{metadataservice.email.name}" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  	
+  	<h:outputText value="#{bundle.IDENTITY_PASSWORD} *"/>
+  	<h:inputSecret id="password" value="#{manager.uiUser.password}" required="true">
+  		<f:validateLength minimum="6"/>
+  	</h:inputSecret>
+  	<h:panelGroup />
+  	<h:message for="password" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  	<h:outputText value="#{bundle.IDENTITY_REGISTER_PASSWORD_CONFIRM} *"/>
+  	<h:inputSecret id="passwordCheck" required="true">
+  		<f:validator validatorId="PasswordValidator"/>
+  	</h:inputSecret>
+  	<h:panelGroup />
+  	<h:message for="passwordCheck" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  	
+  	
+	</h:panelGrid>
+	
+	<!-- include captcha -->
+	<ui:include src="/WEB-INF/jsf/common/captcha.xhtml" />
+	
+	<hr/>
+		<p style="text-align: left;">
+			<h:outputText value="* #{bundle.IDENTITY_REGISTER_REQUIRED_INFORMATION}" />
+		</p>
+		<p style="text-align: right;">
+			<h:commandButton id="submit" action="register" value="#{bundle.IDENTITY_BUTTON_SUBMIT}" styleClass="portlet-form-button"/>
+			<h:commandButton id="cancel" action="#{manager.cancelRegistration}" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true" styleClass="portlet-form-button"/>
+		</p>
+   </h:form>
+   </div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/tabContainer.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/tabContainer.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/tabContainer.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,10 @@
+<ui:composition
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:ui="http://java.sun.com/jsf/facelets">
+
+   <div class="tab-container">
+      <ui:insert name="tab-container-content"/>
+   </div>
+
+</ui:composition>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/userInfo.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/userInfo.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/common/userInfo.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,91 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<h:panelGrid columns="3" cellpadding="5" width="50%">
+	<c:choose>
+	<c:when test="#{adminMode == true}">
+
+			<h:outputText value="#{bundle.IDENTITY_USERNAME}"/> 
+			<h:outputText id="username" value="#{manager.uiUser.username}"/>
+			<h:message for="username" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+			
+  			<h:panelGroup>
+  				<h:outputText value="#{bundle.IDENTITY_EMAIL}"/>
+  				<h:outputText value=" *" rendered="#{metadataservice.email.required}" />
+  			</h:panelGroup>
+		  	<h:inputText id="#{metadataservice.email.name}" value="#{manager.uiUser.attribute.email}" required="#{metadataservice.email.required}">
+		  		<f:validator validatorId="#{metadataservice.email.validator}" infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+		  	</h:inputText>
+		  	<h:message for="#{metadataservice.email.name}"/>
+		  	
+		  	<c:choose>
+		  	<c:when test="#{portletPreferenceValue.resetPassword == true}">
+			  	<h:outputText value="#{bundle.IDENTITY_PASSWORD}"/>
+				<h:commandLink action="#{lostpasswordmgr.adminResetPassword}">
+					<h:outputText value="#{bundle.IDENTITY_MANAGEMENT_RESET_PASSWORD}" />
+					<f:param name="currentUser" value="#{manager.uiUser.username}" />
+				</h:commandLink> 
+				<h:panelGroup />
+			</c:when>
+			<c:otherwise>
+			  	<h:outputText value="#{bundle.IDENTITY_PASSWORD}"/>
+				<h:commandLink action="#{manager.adminChangePassword}">
+					<h:outputText value="#{bundle.IDENTITY_EDIT_CHANGE_PASSWORD}" />
+					<f:param name="currentUser" value="#{manager.uiUser.username}" />
+				</h:commandLink>
+				<h:panelGroup />						
+			</c:otherwise>
+			</c:choose>
+	</c:when>
+	<c:otherwise>
+
+			<h:outputText value="#{bundle.IDENTITY_USERNAME}"/> 
+			<h:outputText id="username" value="#{manager.uiUser.username}"/>
+			<h:panelGroup />
+			
+			<h:outputText value="#{bundle.IDENTITY_EMAIL}"/>
+			<h:outputText id="email" value="#{manager.uiUser.attribute.email}"/>
+			<h:panelGroup />
+			
+			<h:panelGroup />
+			<h:commandLink value="#{bundle.IDENTITY_EDIT_CHANGE_EMAIL}" action="changeEmail" />
+			<h:panelGroup />
+			
+		  	<h:outputText value="#{bundle.IDENTITY_PASSWORD}"/>
+			<h:commandLink action="changePassword">
+				<h:outputText value="#{bundle.IDENTITY_EDIT_CHANGE_PASSWORD}" />
+				<f:param name="currentUser" value="#{manager.uiUser.username}" />
+			</h:commandLink>
+			<h:panelGroup />	
+	</c:otherwise>
+	</c:choose>
+</h:panelGrid>
+<br/>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/index.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/index.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/index.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+	<c:choose>
+	<c:when test="#{portletRenderParameter.operation != null}">
+			<ui:include src="/WEB-INF/jsf/validationStatus/jbp_status.xhtml" />
+	</c:when>
+	<c:otherwise>
+			<c:choose>
+			<c:when test="#{facesContext.externalContext.remoteUser != null}">
+				<ui:include src="/WEB-INF/jsf/profile/viewProfile.xhtml"/>
+			</c:when>
+			<c:otherwise>
+				<ui:include src="/WEB-INF/jsf/register/overview.xhtml"/>
+			</c:otherwise>
+			</c:choose>
+		</c:otherwise>
+	</c:choose>
+	<h:messages />
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/lost.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/lost.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/lost.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+   
+<ui:composition template="/WEB-INF/jsf/lostPassword/lostTemplate.xhtml">
+
+<ui:define name="title">
+	<h:outputText value="#{bundle.IDENTITY_LOST_PASSWORD_TITLE}" />
+</ui:define>
+<ui:define name="content">
+<h:form>
+	<p><h:outputText value="#{bundle.IDENTITY_LOST_PASSWORD_DESCRIPTION}" /></p>
+	<h:panelGrid columns="2" cellpadding="3">
+		<h:outputText for="username" value="#{bundle.IDENTITY_USERNAME}"/>
+		<h:inputText id="username" value="#{lostpasswordmgr.username}" required="true"/>
+  		<h:panelGroup />
+		<h:message for="username"  infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+	</h:panelGrid>
+
+	<!-- include captcha -->
+	<ui:include src="/WEB-INF/jsf/common/captcha.xhtml" />
+
+	<hr/>
+	<p style="text-align: right;">
+	<h:commandButton id="submit" value="#{bundle.IDENTITY_BUTTON_SUBMIT}" action="#{lostpasswordmgr.doomed}" styleClass="portlet-form-button"/>
+	<h:commandButton id="cancel" action="start" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true" styleClass="portlet-form-button"/>
+	</p>
+</h:form>  
+</ui:define>
+</ui:composition>
+</div>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/lostTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/lostTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/lostTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,43 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+<c:choose>
+	<c:when test="#{configurationbean.validConfiguration}">
+   <h:form>
+      <ul class="topnav">
+         <li>
+            <h:commandLink value="#{bundle.IDENTITY_WELCOME}" action="start"/>
+         </li>
+         <li>
+            <h:commandLink value="#{bundle.IDENTITY_REGISTER}" action="register"/>
+         </li>
+         <li id="currentTab">
+            <h:outputText value="#{bundle.IDENTITY_LOST_PASSWORD}" />
+         </li>
+      </ul>
+   </h:form>
+	<ui:decorate template="/WEB-INF/jsf/common/noTabContainer.xhtml">
+	<ui:define name="tab-container-content">
+	<!-- Title -->
+	<ul class="objectpath">
+		<li class="selected">
+			<ui:insert name="title">Title</ui:insert>
+		</li>
+	</ul>
+	<br/>
+   <!-- Content -->
+   <ui:insert name="content">Content</ui:insert>
+   	</ui:define>
+   	</ui:decorate>
+	</c:when>
+	<c:otherwise>
+		<span class="portlet-msg-error"><h:outputText value="#{bundle.IDENTITY_APPLICATION_NOT_AVAILABLE}" /></span>
+   	</c:otherwise>
+</c:choose>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/status.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/status.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/lostPassword/status.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,19 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+   
+<ui:composition template="/WEB-INF/jsf/lostPassword/lostTemplate.xhtml">
+
+<ui:define name="title">
+	<h:outputText value="#{bundle.IDENTITY_LOST_PASSWORD_STATUS_TITLE}" />
+</ui:define>
+<ui:define name="content">
+	<h:messages />
+</ui:define>
+</ui:composition>
+</div>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/changeEmail.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/changeEmail.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/changeEmail.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,48 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+   <f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+<ui:composition template="/WEB-INF/jsf/profile/editProfileTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink value="#{bundle.IDENTITY_EDIT_PROFILE_TITLE}" action="editProfile" />	
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+		<h:outputText value="#{bundle.IDENTITY_EDIT_EMAIL_TITLE}"/>
+	</li>
+</ui:define>
+
+<ui:define name="content">
+	<h:form>
+		<h:panelGrid columns="2" cellpadding="3">
+		<h:outputText value="#{bundle.IDENTITY_EDIT_PASSWORD_CURRENT}"/>
+		<h:inputSecret id="currentPassword" value="currentPassword" required="true">
+			<f:validator validatorId="CurrentPasswordValidator"/>
+  		</h:inputSecret>
+  		<h:panelGroup />
+  		<h:message for="currentPassword"  infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  		
+  		<h:outputText value="#{bundle.IDENTITY_EDIT_EMAIL_NEW}"/>
+		<h:inputText id="email" value="#{editprofilemgr.email}" required="true">
+			<f:validator validatorId="EmailValidator" />
+		</h:inputText>
+  		<h:panelGroup />
+		<h:message for="email"  infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+		</h:panelGrid>
+		<hr/>
+	<p style="text-align: right;">
+		<h:commandButton value="#{bundle.IDENTITY_BUTTON_SUBMIT}" action="#{editprofilemgr.changeEmail}" styleClass="portlet-form-button"/>
+		<h:commandButton id="cancel" action="editProfile" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true" styleClass="portlet-form-button"/>
+	</p>
+  	</h:form>
+</ui:define>
+
+</ui:composition>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/changePassword.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/changePassword.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/changePassword.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,56 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+   <f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+<ui:composition template="/WEB-INF/jsf/profile/editProfileTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="pathItem">
+		<h:commandLink value="#{bundle.IDENTITY_EDIT_PROFILE_TITLE}" action="editProfile" />	
+	</li>
+	<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+	<li class="selected">
+ 		<h:outputText value="#{bundle.IDENTITY_EDIT_PASSWORD_TITLE}"/>
+	</li>
+</ui:define>
+
+<ui:define name="content">
+	<h:form>
+		<h:panelGrid columns="2" cellpadding="3">
+		<h:outputText value="#{bundle.IDENTITY_EDIT_PASSWORD_CURRENT}"/>
+		<h:inputSecret id="currentPassword" value="currentPassword" required="true">
+			<f:validator validatorId="CurrentPasswordValidator"/>
+  		</h:inputSecret>
+  		<h:panelGroup />
+  		<h:message for="currentPassword"  infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+		
+  		<h:outputText value="#{bundle.IDENTITY_PASSWORD}"/>
+  		<h:inputSecret id="password" required="true" value="#{editprofilemgr.password}">
+  			<f:validateLength minimum="6"/>
+  		</h:inputSecret>
+  		<h:panelGroup />
+  		<h:message for="password"  infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+  		<h:outputText value="#{bundle.IDENTITY_REGISTER_PASSWORD_CONFIRM}"/>
+  		<h:inputSecret id="passwordCheck" required="true">
+  			<f:validator validatorId="PasswordValidator"/>
+  		</h:inputSecret>
+		<h:panelGroup />
+  		<h:message for="passwordCheck"  infoClass="portlet-msg-success" errorClass="portlet-msg-error" fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+  		</h:panelGrid>
+  		
+		<hr/>
+	<p style="text-align: right;">
+		<h:commandButton id="submit" value="#{bundle.IDENTITY_BUTTON_SUBMIT}" action="#{editprofilemgr.changePassword}" styleClass="portlet-form-button"/>
+		<h:commandButton id="cancel" action="editProfile" value="#{bundle.IDENTITY_BUTTON_CANCEL}" immediate="true" styleClass="portlet-form-button"/>
+	</p>
+  	</h:form>
+</ui:define>
+
+</ui:composition>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfile.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfile.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfile.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+
+	<ui:composition template="/WEB-INF/jsf/profile/editProfileTemplate.xhtml">
+	<ui:define name="title">
+		<li class="selected">
+			<h:outputText value="#{bundle.IDENTITY_EDIT_PROFILE_TITLE}" /> 
+		</li>
+	</ui:define>
+	<ui:define name="content">
+		<ui:decorate template="/WEB-INF/jsf/common/profile.xhtml">
+			<ui:param name="manager" value="#{editprofilemgr}"/>
+			<ui:param name="adminMode" value="false"/>
+		</ui:decorate>
+	</ui:define>
+	</ui:composition>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfileRedirect.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfileRedirect.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfileRedirect.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,21 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+
+<c:choose>
+<c:when test="#{editprofilemgr.currentWindowState == 'maximized'}">
+	<!-- Show edit profile page --> 
+	<ui:include src="/WEB-INF/jsf/profile/editProfile.xhtml" />
+</c:when>
+<c:otherwise>
+	<!-- Show view profile page -->
+	<ui:include src="/WEB-INF/jsf/profile/viewProfile.xhtml" />
+</c:otherwise>
+</c:choose>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfileTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfileTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/editProfileTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+	
+<c:choose>
+	<c:when test="#{configurationbean.validConfiguration}">
+	<h:form>
+		<ul class="topnav">
+			<li>
+				<h:commandLink value="#{bundle.IDENTITY_VIEW_PROFILE_TITLE}" action="start"/>
+			</li>
+			<li id="currentTab"><h:outputText value="#{bundle.IDENTITY_EDIT_PROFILE_TITLE}" /></li>
+		</ul>
+	</h:form>
+	<ui:decorate template="/WEB-INF/jsf/common/noTabContainer.xhtml">
+		<ui:define name="tab-container-content">
+		<!-- Title -->
+		<h:form>
+		<ul class="objectpath">
+			<ui:insert name="title">Title</ui:insert>
+		</ul>
+		</h:form>
+		<br/>
+		<!-- Content -->
+		<ui:insert name="content">Content</ui:insert>
+		</ui:define>
+	</ui:decorate>
+	</c:when>
+	<c:otherwise>
+		<span class="portlet-msg-error"><h:outputText value="#{bundle.IDENTITY_APPLICATION_NOT_AVAILABLE}" /></span>
+	</c:otherwise>
+</c:choose>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/status.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/status.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/status.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,24 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+   <f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+
+<ui:composition template="/WEB-INF/jsf/profile/editProfileTemplate.xhtml">
+
+<ui:define name="title">
+	<li class="selected">
+		<h:outputText value="#{bundle.IDENTITY_EDIT_PROFILE_TITLE}" />
+	</li>
+</ui:define>
+
+<ui:define name="content">
+		<h3><h:messages /></h3>
+</ui:define>
+
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/viewProfile.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/viewProfile.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/viewProfile.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,46 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+
+<ui:composition template="/WEB-INF/jsf/profile/viewProfileTemplate.xhtml">
+
+<ui:define name="title">
+	<h:outputText value="#{bundle.IDENTITY_VIEW_PROFILE_TITLE}" />
+</ui:define>
+
+<ui:define name="content">
+	<h:message id="status" for="status" infoClass="portlet-msg-success" errorClass="portlet-msg-error"
+		fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+	<h:panelGrid columns="2">
+	<h:outputText value="#{bundle.IDENTITY_USERNAME}:"/>
+	<h:outputText value="#{editprofilemgr.uiUser.username}"/>
+	
+	<h:outputText value="#{bundle.IDENTITY_EMAIL}:" rendered="#{editprofilemgr.uiUser.attribute.email != null}"/>
+	<h:outputText value="#{editprofilemgr.uiUser.attribute.email}" rendered="#{editprofilemgr.uiUser.attribute.email != null}"/>
+	
+	<h:outputText value="#{bundle.IDENTITY_GIVENNAME}:" rendered="#{editprofilemgr.uiUser.attribute.givenname != null}"/>
+	<h:outputText value="#{editprofilemgr.uiUser.attribute.givenname}" rendered="#{editprofilemgr.uiUser.attribute.givenname != null}"/>
+	
+	<h:outputText value="#{bundle.IDENTITY_FAMILYNAME}:" rendered="#{editprofilemgr.uiUser.attribute.familyname != null}"/>
+	<h:outputText value="#{editprofilemgr.uiUser.attribute.familyname}"  rendered="#{editprofilemgr.uiUser.attribute.familyname != null}"/>
+	
+	<h:outputText value="#{bundle.IDENTITY_LOCATION}:" rendered="#{editprofilemgr.uiUser.attribute.location != null}"/>
+	<h:outputText value="#{editprofilemgr.uiUser.attribute.location}" rendered="#{editprofilemgr.uiUser.attribute.location != null}"/>
+	
+	<h:outputText value="#{bundle.IDENTITY_HOMEPAGE}:" rendered="#{editprofilemgr.uiUser.attribute.homepage != null}"/>
+	<h:outputText value="#{editprofilemgr.uiUser.attribute.homepage}" rendered="#{editprofilemgr.uiUser.attribute.homepage != null}"/>
+	
+	</h:panelGrid>
+</ui:define>
+
+</ui:composition>
+
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/viewProfileTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/viewProfileTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/profile/viewProfileTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,39 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+<c:choose>
+	<c:when test="#{configurationbean.validConfiguration}">
+   <h:form>
+      <ul class="topnav">
+         <li id="currentTab"><h:outputText value="#{bundle.IDENTITY_VIEW_PROFILE_TITLE}" /></li>
+         <li>
+            <h:commandLink value="#{bundle.IDENTITY_EDIT_PROFILE_TITLE}" action="#{editprofilemgr.userEditProfile}"/>
+         </li>
+      </ul>
+   </h:form>
+	<ui:decorate template="/WEB-INF/jsf/common/noTabContainer.xhtml">
+	<ui:define name="tab-container-content">
+	<!-- Title -->
+	<ul class="objectpath">
+		<li class="selected">
+			<ui:insert name="title">Title</ui:insert>
+		</li>
+	</ul>
+	<br/>
+   <!-- Content -->
+   <ui:insert name="content">Content</ui:insert>
+   	</ui:define>
+   	</ui:decorate>
+	</c:when>
+	<c:otherwise>
+		<span class="portlet-msg-error"><h:outputText value="#{bundle.IDENTITY_APPLICATION_NOT_AVAILABLE}" /></span>
+   	</c:otherwise>
+</c:choose>
+
+</div>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/confirm.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/confirm.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/confirm.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,21 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/register/registerTemplate.xhtml">
+
+<ui:define name="title">
+	<h:outputText value="#{bundle.IDENTITY_REGISTER_TITLE_CONFIRM}" />
+</ui:define>
+<ui:define name="content">
+	<ui:decorate template="/WEB-INF/jsf/common/confirm.xhtml">
+		<ui:param name="manager" value="#{userregistermgr}"/>
+		<ui:param name="subscriptionMode" value="user" />
+	</ui:decorate>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/overview.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/overview.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/overview.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,20 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+   
+<ui:composition template="/WEB-INF/jsf/startTemplate.xhtml">
+
+<ui:define name="title">
+	<h:outputText value="#{bundle.IDENTITY_NOT_LOGGED_IN}" />
+</ui:define>
+<ui:define name="content">
+	<h:form>
+	<p style="text-align:center;"><h:commandLink value="#{bundle.IDENTITY_CREATE_ACCOUNT}" action="register"/></p>
+	</h:form>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/register.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/register.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/register.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,25 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/register/registerTemplate.xhtml">
+
+<ui:define name="title">
+	<h:outputText value="#{bundle.IDENTITY_REGISTER_TITLE}" />
+</ui:define>
+
+<ui:define name="content">
+
+	<ui:decorate template="/WEB-INF/jsf/common/register.xhtml">
+		<ui:param name="manager" value="#{userregistermgr}"/>
+		<ui:param name="showCaptcha" value="true"/>
+	</ui:decorate>
+
+</ui:define>
+
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/registerTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/registerTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/registerTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,47 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+
+<c:choose>
+	<c:when test="#{configurationbean.validConfiguration}">
+   <h:form>
+      <ul class="topnav">
+         <li>
+            <h:commandLink value="#{bundle.IDENTITY_WELCOME}" action="start"/>
+         </li>
+         <li id="currentTab">
+            <h:outputText value="#{bundle.IDENTITY_REGISTER}"/>
+         </li>
+         <!--  check if we should enable lostPassword -->
+         <c:if test="#{portletPreferenceValue.lostPassword == true}">
+         <li>
+            <h:commandLink value="#{bundle.IDENTITY_LOST_PASSWORD}" action="lostPassword"/>
+         </li>
+         </c:if>
+      </ul>
+   </h:form>
+	<ui:decorate template="/WEB-INF/jsf/common/noTabContainer.xhtml">
+	<ui:define name="tab-container-content">
+	<!-- Title -->
+	<ul class="objectpath">
+		<li class="selected">
+			<ui:insert name="title">Title</ui:insert>
+		</li>
+	</ul>
+	<br/>
+   <!-- Content -->
+   <ui:insert name="content">Content</ui:insert>
+   	</ui:define>
+   	</ui:decorate>
+	</c:when>
+	<c:otherwise>
+		<span class="portlet-msg-error"><h:outputText value="#{bundle.IDENTITY_APPLICATION_NOT_AVAILABLE}" /></span>
+   	</c:otherwise>
+</c:choose>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/success.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/success.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/register/success.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,18 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+<ui:composition template="/WEB-INF/jsf/register/registerTemplate.xhtml">
+
+<ui:define name="title">
+	<h:outputText value="#{bundle.IDENTITY_REGISTER_STATUS_TITLE}"/>
+</ui:define>
+<ui:define name="content">
+	<h3><h:messages /></h3>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/startTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/startTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/startTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,47 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+
+<c:choose>
+	<c:when test="#{configurationbean.validConfiguration}">
+		<h:form>
+			<ul class="topnav">
+				<li id="currentTab">
+					<h:outputText value="#{bundle.IDENTITY_WELCOME}"/>
+				</li>
+				<li>
+					<h:commandLink value="#{bundle.IDENTITY_REGISTER}" action="register"/>
+				</li>
+         <!--  check if we should enable lostPassword -->
+				<c:if test="#{portletPreferenceValue.lostPassword == true}">
+				<li>
+					<h:commandLink value="#{bundle.IDENTITY_LOST_PASSWORD}" action="lostPassword"/>
+				</li>
+				</c:if>
+			</ul>
+		</h:form>
+	<ui:decorate template="/WEB-INF/jsf/common/noTabContainer.xhtml">
+	<ui:define name="tab-container-content">
+		<!-- Title -->
+		<ul class="objectpath">
+			<li class="selected">
+				<ui:insert name="title">Title</ui:insert>
+			</li>
+		</ul>
+		<br/>
+		<!-- Content -->
+		<ui:insert name="content">Content</ui:insert>
+   	</ui:define>
+   	</ui:decorate>
+	</c:when>
+	<c:otherwise>
+		<span class="portlet-msg-error"><h:outputText value="#{bundle.IDENTITY_APPLICATION_NOT_AVAILABLE}" /></span>
+   	</c:otherwise>
+</c:choose>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/validationStatus/jbp_status.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/validationStatus/jbp_status.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/jsf/validationStatus/jbp_status.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,52 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:c="http://java.sun.com/jstl/core"
+   class="identity-ui">
+
+	<f:loadBundle var="bundle" basename="conf.bundles.Identity" />
+
+	<div style="height: 200px; padding-top: 30px; vertical-align:top; text-align: center;">
+
+	<b>
+	<c:choose>
+	<c:when test="#{portletRenderParameter.operation == 'validation_error'}">
+		<h:outputText value="#{bundle.IDENTITY_VERIFICATION_STATUS_ERROR}" />
+	</c:when>
+	<c:when test="#{portletRenderParameter.operation == 'validation_failed'}">
+		<h:outputText value="#{bundle.IDENTITY_VERIFICATION_STATUS_FAILED}" />
+	</c:when>
+	<c:when test="#{portletRenderParameter.operation == 'jbp_identity_validate_email'}">
+		<h:outputText value="#{bundle.IDENTITY_VERIFICATION_STATUS_VALIDATED}" />
+	</c:when>
+	<c:when test="#{portletRenderParameter.operation == 'jbp_identity_validation_workflow'}">
+		<h:outputText value="#{bundle.IDENTITY_VERIFICATION_STATUS_REGISTER_SUCCESS}" />
+	</c:when>
+	<c:when test="#{portletRenderParameter.operation == 'jbp_identity_validation_approval_workflow'}">
+		<h:outputText value="#{bundle.IDENTITY_VERIFICATION_STATUS_REGISTER_APPROVAL}" />
+	</c:when>
+	<c:otherwise>
+		<h:outputText value="#{bundle.IDENTITY_VERIFICATION_STATUS_REGISTER_CUSTOM}" />
+	</c:otherwise>	
+	</c:choose>
+	</b>
+
+	<ul>
+		<li>
+			<a href="#{metadataservice.portalContextPath}">
+				<h:outputText value="#{bundle.IDENTITY_VERIFICATION_RETURN}" />
+			</a>
+		</li>
+		<c:if test="#{portletRenderParameter.operation == 'jbp_identity_validation_workflow'}">
+		<!--  login link -->
+			<li>
+				<a href="#{metadataservice.portalContextPath}/auth">
+					<h:outputText value="#{bundle.IDENTITY_VERIFICATION_LOGIN}" />
+				</a>
+			</li>
+		</c:if>
+	</ul>
+	</div>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-beanutils.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-beanutils.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-digester.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-digester.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-el.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-el.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-lang.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/commons-lang.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/el-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/el-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/el-ri.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/el-ri.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-example.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-example.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jstl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jstl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/myfaces-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/myfaces-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/myfaces-impl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/myfaces-impl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-core-identity-ui-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-core-identity-ui-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portal.taglib.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portal.taglib.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portal.taglib.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "facelet-taglib_1_0.dtd">
+<facelet-taglib>
+    <namespace>http://www.jboss.org/portal</namespace>
+    <tag>
+        <tag-name>scroller</tag-name>
+        <component>
+            <component-type>org.jboss.portal.Scroller</component-type>
+            <renderer-type>default</renderer-type>
+        </component>
+    </tag>
+   <tag>
+       <tag-name>portlet</tag-name>
+       <component>
+           <component-type>org.jboss.portal.Portlet</component-type>
+           <renderer-type>default</renderer-type>
+           <handler-class>org.jboss.portal.faces.component.portlet.PortletHandler</handler-class>
+       </component>
+   </tag>
+</facelet-taglib>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portlet-instances.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portlet-instances.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portlet-instances.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,48 @@
+<?xml version="1.0" standalone="yes"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portlet Instances 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
+
+<deployments>
+   <deployment>
+      <instance>
+         <instance-id>IdentityUserPortletInstance</instance-id>
+         <portlet-ref>IdentityUserPortlet</portlet-ref>
+      </instance>
+   </deployment>
+   <deployment>
+      <instance>
+         <instance-id>IdentityAdminPortletInstance</instance-id>
+         <portlet-ref>IdentityAdminPortlet</portlet-ref>
+         <security-constraint>
+            <policy-permission>
+               <role-name>Admin</role-name>
+               <action-name>view</action-name>
+            </policy-permission>
+         </security-constraint>
+      </instance>
+   </deployment>
+</deployments>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<portlet-app
+   xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   version="1.0">
+   
+   <portlet>
+      <description>Identity user portlet</description>
+      <portlet-name>IdentityUserPortlet</portlet-name>
+      <display-name>Identity user portlet</display-name>
+      <portlet-class>org.jboss.portal.faces.loader.FacesPortlet</portlet-class>
+      <init-param>
+         <name>default-view</name>
+         <value>/WEB-INF/jsf/index.xhtml</value>
+      </init-param>
+      <expiration-cache>-1</expiration-cache>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <portlet-info>
+         <title>User portlet</title>
+         <keywords>management,user</keywords>
+      </portlet-info>
+      <portlet-preferences>
+      	<preference>
+      		<!-- Use captcha verification -->
+      		<name>captcha</name>
+      		<value>false</value>
+      	</preference>
+      	<preference>
+      		<!-- 
+      			Use lost password service
+      			requires correct mail service configuration
+      		 -->
+      		<name>lostPassword</name>
+      		<value>false</value>
+      	</preference>
+      </portlet-preferences>
+   </portlet>
+   
+   <portlet>
+      <description>Identity admin portlet</description>
+      <portlet-name>IdentityAdminPortlet</portlet-name>
+      <display-name>Identity admin portlet</display-name>
+      <portlet-class>org.jboss.portal.faces.loader.FacesPortlet</portlet-class>
+      <init-param>
+         <name>default-view</name>
+         <value>/WEB-INF/jsf/admin/index.xhtml</value>
+      </init-param>
+      <expiration-cache>-1</expiration-cache>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>EDIT</portlet-mode>
+      </supports>
+      <portlet-info>
+         <title>User management portlet</title>
+         <keywords>management,admin</keywords>
+      </portlet-info>
+      <portlet-preferences>
+      	<preference>
+      		<!-- 
+      			Use reset password in user management
+      			requires correct mail service configuration
+      		 -->
+      		<name>resetPassword</name>
+      		<value>false</value>
+      	</preference>
+      </portlet-preferences>
+   </portlet>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,94 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<web-app
+   xmlns="http://java.sun.com/xml/ns/j2ee"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+   version="2.4">
+
+   <!-- MyFaces specific configuration -->
+   <context-param>
+      <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
+      <param-value>true</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
+      <param-value>true</param-value>
+   </context-param>
+
+   <!-- Facelet configuration -->
+   <context-param>
+      <param-name>facelets.DEVELOPMENT</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>facelets.SKIP_COMMENTS</param-name>
+      <param-value>true</param-value>
+   </context-param>
+   <context-param>
+      <param-name>facelets.LIBRARIES</param-name>
+      <param-value>/WEB-INF/portal.taglib.xml</param-value>
+   </context-param>
+
+   <!-- JSF configuration -->
+   <context-param>
+      <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+      <param-value>.xhtml</param-value>
+   </context-param>
+   <context-param>
+      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+      <param-value>server</param-value>
+   </context-param>
+
+   <!-- The JSF servlet -->
+   <servlet>
+       <servlet-name>Faces Servlet</servlet-name>
+       <servlet-class>org.jboss.portal.faces.loader.FacesLoaderServlet</servlet-class>
+       <load-on-startup>1</load-on-startup>
+   </servlet>
+   
+   <!--  Captcha Servlet and Mapping -->
+   <servlet>
+        <servlet-name>jcaptcha</servlet-name>
+        <servlet-class>org.jboss.portal.core.identity.services.captcha.ImageCaptchaServlet</servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+	<servlet-mapping>
+		<servlet-name>jcaptcha</servlet-name>
+		<url-pattern>/jcaptcha</url-pattern>
+	</servlet-mapping>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Add.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Add.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_CreateInstance.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_CreateInstance.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Delete.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Delete.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Details.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Details.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_IsDefault.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_IsDefault.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Layout.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Layout.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_MakeDefault.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_MakeDefault.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_MoveDown.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_MoveDown.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_MoveUp.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_MoveUp.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Properties.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Properties.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Rename.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Rename.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Security.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Security.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Theme.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/actionIcon_Theme.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/msgIcon_Warning.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/msgIcon_Warning.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/objectPath_Arrow.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/objectPath_Arrow.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/pathBackground.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/pathBackground.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/pathSeparator.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/img/pathSeparator.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-identity.sar/portal-identity.war/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,501 @@
+/* No border container for user portlets */
+div.identity-ui div.no-tab-container{
+   padding: 15px 0 10px 0;
+}
+
+/* Redefine spacing for tables. */
+
+a {
+   color: #446688;
+   text-decoration: none;
+}
+
+a:hover {
+   color: #5078aa;
+   text-decoration: underline;
+}
+
+.identity-ui table {
+   border: 0;
+}
+
+div.identity-ui div.tab-container{
+   border-bottom:1px solid #B3C0C7;
+   border-right:1px solid #B3C0C7;
+   border-left:1px solid #B3C0C7;
+   padding: 15px 0 10px 0;
+}
+
+.identity-ui th {
+   text-align: left;
+   border: 0;
+   border-bottom: 1px solid;
+   padding-bottom: 2px;
+   padding-top: 2px;
+   font-size: 11px;
+}
+
+.identity-ui td {
+   padding-bottom: 2px;
+   padding-top: 2px;
+}
+
+/* Pagination. */
+
+.identity-ui ul.pagination {
+   margin: 0;
+   padding: .2em;
+}
+
+.identity-ui ul.pagination li {
+   text-align: center;
+   list-style-type: none;
+   display: inline;
+   margin-right: 2px;
+}
+
+.identity-ui ul.pagination li.selected {
+   font-weight: bold;
+   background-color: #eef;
+   border-bottom: 2px solid #656565;
+}
+
+.pagination a, .pagination a:visited, .pagination a:hover {
+   text-decoration: none;
+}
+
+/* Top nav. */
+
+.identity-ui ul.topnav {
+   margin: 0;
+   padding: 4px 0px 3px;
+   border-bottom: 1px solid #b3c0c7;
+}
+
+.identity-ui ul.topnav li {
+   list-style-type: none;
+   display: inline;
+   margin: 0;
+   padding: 3px 0.5em;
+   margin-left: 5px;
+   border: 1px solid #b3c0c7;
+   border-bottom: none;
+   background-color: #f2f4f5;
+}
+
+.identity-ui ul.topnav li:hover {
+   background-color: #fff;
+}
+
+.identity-ui ul.topnav li#currentTab {
+   background-color: white;
+   border-bottom: 1px solid white;
+}
+
+.identity-ui ul.topnav li#currentTab a:hover {
+}
+
+
+/* Object path. */
+
+.identity-ui ul.objectpath {
+   list-style-type: none;
+   font-size: 11px;
+   border: solid 1px #bbb;
+   border-left: solid 1px #eee;
+   border-right: solid 1px #eee;
+   background-color: #d5d5d5;
+   background-image: url( img/pathBackground.png );
+   background-position: left;
+   background-repeat: repeat-x;
+   height: 21px;
+   margin: 0px;
+   padding: 0px;
+   padding-left: 2px;
+}
+
+.identity-ui ul.objectpath li {
+   list-style-type: none;
+   display: block;
+   float: left;
+}
+
+.identity-ui ul li.pathItem {
+   padding-top: 4px;
+   padding-left: 3px;
+   padding-right: 2px;
+}
+
+/*
+.identity-ui ul.li.pathSeparator {
+   background-image: url(img/pathSeparator.png);
+   background-position: center center;
+   background-repeat: no-repeat;
+   width: 7px;
+}
+*/
+
+.identity-ui ul.objectpath li.selected {
+   font-weight: bold;
+   padding-top: 4px;
+   padding-left: 3px;
+   padding-right: 2px;
+}
+
+.identity-ui ul.objectpath a {
+   color: #333333;
+   text-decoration: none;
+}
+
+.identity-ui ul.objectpath a:hover {
+   color: #5078aa;
+   text-decoration: none;
+}
+
+/* Resize combo lists */
+.identity-ui select {
+   padding: 2px 4px 2px 1px;
+}
+
+.identity-ui select.contentType {
+   width: 8em;
+}
+
+.identity-ui select.instanceList {
+   width: 11em;
+}
+
+.identity-ui select.windowList {
+   width: 95%;
+   overflow: auto;
+}
+
+/* Style a table for form layout */
+.identity-ui table form {
+   margin: 0;
+}
+
+.identity-ui table form td.label {
+   text-align: right;
+   vertical-align: top;
+   padding-top: 0.4em;
+}
+
+.identity-ui table form td.widget {
+   text-align: left;
+}
+
+/* Area header. */
+
+.identity-ui .portlet-area-header {
+   border: 1px solid #54708c;
+   font-weight: bold;
+   color: #fff;
+   font-size: 11px;
+   background-color: #5986b3;
+   padding: 2px;
+   padding-left: 4px;
+   margin: 0;
+}
+
+.identity-ui .portlet-area-body {
+   border: 1px solid #d5d5d5;
+   border-top: 0px;
+   background-color: #fff;
+   padding: 4px;
+   margin: 0;
+}
+
+/* Styles updated and enhanced from the main portal css */
+
+.identity-ui th.portlet-section-title {
+   font-weight: bold;
+   color: #656565;
+   font-size: 11px;
+   border: 1px solid #999;
+   background-color: #ebf2f5;
+   padding-left: 6px;
+}
+
+.identity-ui h3.sectionTitle {
+   font-weight: bold;
+   color: #656565;
+   font-size: 11px;
+   border-top: 1px solid #999;
+   background-color: #ebf2f5;
+   padding: 2px;
+   padding-left: 4px;
+}
+
+.identity-ui .portlet-section-header {
+   background-image: url( img/pathBackground.png );
+   background-position: left;
+   background-repeat: repeat-x;
+   font-weight: bold;
+   color: #656565;
+   font-size: 10px;
+   border-top: 1px solid #ddd;
+   border-bottom: 1px solid #999;
+   padding-left: 4px;
+}
+
+.identity-ui .portlet-section-header th {
+   background-image: url( img/pathBackground.png );
+   background-position: left;
+   background-repeat: repeat-x;
+   font-weight: bold;
+   color: #656565;
+   font-size: 10px;
+   border-top: 1px solid #ddd;
+   border-bottom: 1px solid #999;
+   padding-left: 4px;
+}
+
+.identity-ui .portlet-section-body {
+   color: #656565;
+   border: 1px solid #d5d5d5;
+   border-top: 0px;
+}
+
+.identity-ui .portlet-section-alternate {
+   background-color: #F2F2F2;
+   border: 1px solid #d5d5d5;
+}
+
+.identity-ui .portlet-section-selected {
+   background-color: #CBD4E6;
+}
+
+.identity-ui .actionDetails {
+   background-image: url( img/actionIcon_Details.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   line-height: 14px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.identity-ui .actionLayout {
+   background-image: url( img/actionIcon_Layout.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   line-height: 14px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.identity-ui .actionSecurity {
+   background-image: url( img/actionIcon_Security.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   line-height: 14px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.identity-ui .actionProperties {
+   background-image: url( img/actionIcon_Properties.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   padding-left: 18px;
+   white-space: nowrap;
+   height: 22px;
+}
+
+.identity-ui .actionTheme {
+   background-image: url( img/actionIcon_Theme.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.identity-ui .actionRename {
+   background-image: url( img/actionIcon_Rename.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.identity-ui .actionDelete {
+   background-image: url( img/actionIcon_Delete.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.identity-ui .actionMakeDefault {
+   background-image: url( img/actionIcon_MakeDefault.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.identity-ui .actionDefault {
+   background-image: url( img/actionIcon_IsDefault.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.identity-ui .actionPreferences {
+   background-image: url( img/actionIcon_Properties.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.identity-ui .actionCreateInstance {
+   background-image: url( img/actionIcon_CreateInstance.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.identity-ui .portlet-content-center {
+   padding: 0;
+   margin: 0;
+}
+
+.identity-ui .portlet-body {
+   padding: 0;
+   margin: 0;
+}
+
+.identity-ui .portlet-content-right {
+   padding: 0;
+   margin: 0;
+}
+
+.identity-ui .portlet-footer-left {
+   padding: 0;
+   margin: 0;
+}
+
+.identity-ui .portlet-table-header {
+   background-color: #eef;
+}
+
+.identity-ui .portlet-section-buttonrow {
+   margin-top: 6px;
+   margin-bottom: 6px;
+   float: right;
+}
+
+/* Change dashed line to solid. */
+
+.identity-ui hr {
+   border-top-style: solid;
+}
+
+.identity-ui .wizardStepBox {
+   display: inline;
+   float: left;
+   border: 1px solid #98B7C6;
+   height: 7em;
+   width: 9em;
+   background-color: #DFE8ED;
+   margin: .5em;
+}
+
+.identity-ui .wizardButtonBox {
+   margin: 1em;
+}
+
+.identity-ui .wizardContent {
+   clear: both;
+}
+
+.identity-ui form {
+   padding: 0;
+   margin: 0;
+}
+
+.identity-ui #selected.wizardStepBox {
+   background-color: #C8DCC4;
+   border: 1px solid black;
+   border-bottom: 5px solid black;
+}
+
+.identity-ui .stepNumber {
+   font-size: 2em;
+   text-align: center;
+   margin-top: 5px;
+   margin-bottom: 0;
+}
+
+.identity-ui .stepText {
+   text-align: center;
+}
+
+.identity-ui .layout-button {
+   width: 50px;
+   margin: 2px;
+   padding: 2px;
+}
+
+.identity-ui .createObjectForm {
+   display: block;
+   padding: 1em 0 0 0;
+}
+
+.identity-ui .objectList {
+   width: 100%;
+}
+
+.identity-ui .objectList .objectNameColumn {
+   width: 25%;
+}
+
+.identity-ui .objectList .objectActionColumn {
+   width: 75%;
+}
+
+.identity-ui .portlet-msg {
+   border: 1px solid #bbb;
+   margin: 2em auto;
+   padding: 1em;
+   width: 60%;
+}
+
+.identity-ui .portlet-msg-body {
+   position: relative;
+   top: -3em;
+   left: 3em;
+   width: 95%;
+}
+
+.identity-label {
+   padding: 0 4px 3px 0;
+   display: inline-block;
+   vertical-align: middle;
+}

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-management.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-management.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-management.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<server>
+
+   <!-- Portlet discovery executed every 30 seconds -->
+   <mbean
+      code="org.jboss.varia.scheduler.Scheduler"
+      name="portal:service=Management,type=Scheduler">
+      <attribute name="SchedulableMBean">portal:service=Management,type=PortletDiscoveryManagement,name=Default</attribute>
+      <attribute name="SchedulableMBeanMethod">processPortletDiscovery()</attribute>
+      <attribute name="InitialStartDate">NOW</attribute>
+      <attribute name="SchedulePeriod">30000</attribute>
+      <attribute name="InitialRepetitions">-1</attribute>
+      <attribute name="StartAtStartup">true</attribute>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.core.management.PortalImpl"
+      name="portal.management:service=Management,type=Portal,name=Default"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <depends
+         optional-attribute-name="ContainerContext"
+         proxy-type="attribute">portal:service=InstanceContainerContext</depends>
+      <xmbean/>
+   </mbean>  
+      
+   <mbean
+      code="org.jboss.portal.identity.management.Identity"
+      name="portal.management:service=Management,type=Identity,name=Default">
+      <depends>portal:service=Module,type=IdentityServiceController</depends>
+      <xmbean/>
+   </mbean>  
+   
+   <mbean
+      code="org.jboss.portal.core.management.PortletDiscoveryService"
+      name="portal:service=Management,type=PortletDiscoveryManagement,name=Default"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <depends
+         optional-attribute-name="FederatingPortletInvoker"
+         proxy-type="attribute">portal:service=PortletInvoker,type=Federating</depends>
+      <depends
+         optional-attribute-name="Interceptor"
+         proxy-type="attribute">portal:service=Interceptor,type=Portlet,name=PortletContainerManagement</depends>
+      <xmbean/>
+   </mbean>  
+
+   <mbean
+      code="org.jboss.portal.portlet.management.PortletContainerManagementInterceptorImpl"
+      name="portal:service=Interceptor,type=Portlet,name=PortletContainerManagement"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.server.impl.invocation.JBossInterceptorRegistration"
+      name="portal:service=InterceptorRegistration,type=Portlet,name=PortletContainerManagement"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="StackFactory">portal:service=InterceptorStackFactory,type=Instance</depends>
+      <depends
+         optional-attribute-name="InterceptorName">portal:service=Interceptor,type=Portlet,name=PortletContainerManagement</depends>
+   </mbean>
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-management.sar/lib/portal-core-management-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-management.sar/lib/portal-core-management-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/context.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/context.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/context.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<Context>
+
+
+
+   <!--
+     | Uncomment to enable CAS server based SSO authentication.
+   -->
+
+   <!--
+   <Valve className="org.jboss.portal.identity.sso.cas.CASAuthenticationValve"
+   	casLogin="https://localhost/cas/login"
+   	casValidate="https://localhost/cas/serviceValidate"
+   	casServerName="localhost"
+   	authType="FORM"
+   />
+    -->
+
+   <!--
+     | Uncomment to enable JOSSO server based SSO authentication.
+   -->
+
+   <!--
+   <Valve className="org.jboss.portal.identity.sso.josso.JOSSOLogoutValve"/>
+   -->
+
+   <!--
+     | Uncomment to enable OpenSSO server based SSO authentication.
+   -->
+
+   <!--
+   <Valve className="org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve"
+   	loginURL="http://www.domain.com/opensso"
+   	logoutURL="http://www.domain.com/opensso/UI/Logout"
+   	appendLoginGoto="true"
+   	appendLogoutGoto="true"
+   	authType="FORM"
+   />
+   -->
+   
+</Context>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/jboss-web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/jboss-web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<jboss-web>
+   <security-domain>java:jaas/portal</security-domain>
+   <context-root>/portal</context-root>
+   <replication-config>
+      <replication-trigger>SET</replication-trigger>
+   </replication-config>
+   <resource-ref>
+      <res-ref-name>jdbc/PortalDS</res-ref-name>
+      <jndi-name>java:PortalDS</jndi-name>
+   </resource-ref>
+</jboss-web>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,226 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE web-app PUBLIC
+   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+   "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+   <description>JBoss Portal</description>
+   <!-- Comment/Uncomment to enable portal session replication
+   <distributable/>
+   -->
+
+   <!-- Bridge portal user events -->
+   <listener>
+      <listener-class>org.jboss.portal.core.impl.api.event.ServletEventBridge</listener-class>
+   </listener>
+
+   <!-- The portal servlet is the main entrance point -->
+   <servlet>
+      <servlet-name>PortalServletWithPathMapping</servlet-name>
+      <servlet-class>org.jboss.portal.server.servlet.PortalServlet</servlet-class>
+      <init-param>
+         <param-name>asDefaultServlet</param-name>
+         <param-value>false</param-value>
+         <description>The servlet needs to know wether it is set as a default servlet or not</description>
+      </init-param>
+      <init-param>
+         <param-name>controllerFactoryName</param-name>
+         <param-value>portal:service=ControllerFactory</param-value>
+         <description>The request controller factory for the portal servlet</description>
+      </init-param>
+      <load-on-startup>0</load-on-startup>
+      <security-role-ref>
+        <role-name>Authenticated</role-name>
+        <role-link>Authenticated</role-link>
+      </security-role-ref>
+   </servlet>
+
+   <!-- The portal servlet is the main entrance point -->
+   <servlet>
+      <servlet-name>PortalServletWithDefaultServletMapping</servlet-name>
+      <servlet-class>org.jboss.portal.server.servlet.PortalServlet</servlet-class>
+      <init-param>
+         <param-name>asDefaultServlet</param-name>
+         <param-value>true</param-value>
+         <description>The servlet needs to know wether it is set as a default servlet or not</description>
+      </init-param>
+      <init-param>
+         <param-name>controllerFactoryName</param-name>
+         <param-value>portal:service=ControllerFactory</param-value>
+         <description>The request controller factory for the portal servlet</description>
+      </init-param>
+      <load-on-startup>0</load-on-startup>
+      <security-role-ref>
+        <role-name>Authenticated</role-name>
+        <role-link>Authenticated</role-link>
+      </security-role-ref>
+   </servlet>
+
+   <!-- Provide access to unauthenticated users -->
+   <servlet-mapping>
+      <servlet-name>PortalServletWithPathMapping</servlet-name>
+      <url-pattern>/*</url-pattern>
+   </servlet-mapping>
+
+   <!-- Provide secure access to unauthenticated users -->
+   <servlet-mapping>
+      <servlet-name>PortalServletWithPathMapping</servlet-name>
+      <url-pattern>/sec/*</url-pattern>
+   </servlet-mapping>
+
+   <!-- Provide access to authenticated users -->
+   <servlet-mapping>
+      <servlet-name>PortalServletWithPathMapping</servlet-name>
+      <url-pattern>/auth/*</url-pattern>
+   </servlet-mapping>
+
+   <!-- Provide secure access to authenticated users -->
+   <servlet-mapping>
+      <servlet-name>PortalServletWithPathMapping</servlet-name>
+      <url-pattern>/authsec/*</url-pattern>
+   </servlet-mapping>
+
+   <!-- Force the mapping of the jsp and images because of the default servlet replacement -->
+   <servlet-mapping>
+      <servlet-name>jsp</servlet-name>
+      <url-pattern>/login.jsp</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>jsp</servlet-name>
+      <url-pattern>/error.jsp</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>default</servlet-name>
+      <url-pattern>/images/login_bottom.png</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>default</servlet-name>
+      <url-pattern>/images/login_bottom_left.png</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>default</servlet-name>
+      <url-pattern>/images/login_bottom_right.png</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>default</servlet-name>
+      <url-pattern>/images/login_left.png</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>default</servlet-name>
+      <url-pattern>/images/login_right.png</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>default</servlet-name>
+      <url-pattern>/images/login_top.png</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>default</servlet-name>
+      <url-pattern>/images/login_top_left.png</url-pattern>
+   </servlet-mapping>
+   <servlet-mapping>
+      <servlet-name>default</servlet-name>
+      <url-pattern>/images/login_top_right.png</url-pattern>
+   </servlet-mapping>
+
+   <session-config>
+      <session-timeout>15</session-timeout>
+   </session-config>
+
+   <!--
+     | JDBC usage must be done with
+     | DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/PortalDS";
+     -->
+   <resource-ref>
+      <res-ref-name>jdbc/PortalDS</res-ref-name>
+      <res-type>javax.sql.DataSource</res-type>
+      <res-auth>Container</res-auth>
+      <res-sharing-scope>Shareable</res-sharing-scope>
+   </resource-ref>
+
+   <security-constraint>
+      <web-resource-collection>
+         <web-resource-name>Authenticated</web-resource-name>
+         <description></description>
+         <url-pattern>/auth/*</url-pattern>
+      </web-resource-collection>
+      <auth-constraint>
+         <role-name>Authenticated</role-name>
+      </auth-constraint>
+   </security-constraint>
+
+   <security-constraint>
+     <web-resource-collection>
+       <web-resource-name>Secure</web-resource-name>
+       <url-pattern>/sec/*</url-pattern>
+     </web-resource-collection>
+     <user-data-constraint>
+       <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+     </user-data-constraint>
+   </security-constraint>
+
+   <security-constraint>
+     <web-resource-collection>
+       <web-resource-name>Secure+Authenticated</web-resource-name>
+       <url-pattern>/authsec/*</url-pattern>
+     </web-resource-collection>
+     <auth-constraint>
+       <role-name>Authenticated</role-name>
+     </auth-constraint>
+     <user-data-constraint>
+       <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+     </user-data-constraint>
+   </security-constraint>
+
+   <!--
+     | Uncomment to use BASIC authentication scheme. Don't forget to comment other
+     | form authentication.
+     -->
+   <!--
+   <login-config>
+      <auth-method>BASIC</auth-method>
+      <realm-name>JBoss Portal</realm-name>
+   </login-config>
+   -->
+
+   <!--
+     | Uncomment to use FORM authentication scheme. Don't forget to comment other
+     | form authentication.
+     -->
+   <!--
+   -->
+   <login-config>
+      <auth-method>FORM</auth-method>
+      <realm-name>JBoss Portal</realm-name>
+      <form-login-config>
+         <form-login-page>/login.jsp</form-login-page>
+         <form-error-page>/error.jsp</form-error-page>
+      </form-login-config>
+   </login-config>
+
+   <security-role>
+      <role-name>Authenticated</role-name>
+   </security-role>
+
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/error.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/error.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/error.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,115 @@
+<%--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                             ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                  ~
+  ~ contributors as indicated by the @authors tag. See the                   ~
+  ~ copyright.txt in the distribution for a full listing of                  ~
+  ~ individual contributors.                                                 ~
+  ~                                                                          ~
+  ~ This is free software; you can redistribute it and/or modify it          ~
+  ~ under the terms of the GNU Lesser General Public License as              ~
+  ~ published by the Free Software Foundation; either version 2.1 of         ~
+  ~ the License, or (at your option) any later version.                      ~
+  ~                                                                          ~
+  ~ This software is distributed in the hope that it will be useful,         ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of           ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU         ~
+  ~ Lesser General Public License for more details.                          ~
+  ~                                                                          ~
+  ~ You should have received a copy of the GNU Lesser General Public         ~
+  ~ License along with this software; if not, write to the Free              ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA       ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                 ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--%>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<!--
+ | Uncomment to enable JOSSO server based SSO authentication.
+ | Redirects the user to the propper login page.  Configured as the login url the web.xml for this application.
+-->
+
+<%
+ /* response.sendRedirect(request.getContextPath() + "/josso_login/"); */
+%>
+
+<html>
+<head>
+   <style>
+      body {
+         background-color: #FFFFFF;
+      }
+      td {
+         color: #000000;
+         font-family: verdana, arial, sans-serif;
+         font-size: 12px;
+         line-height: 130%;
+      }
+   </style>
+</head>
+
+<body OnLoad="document.loginform.j_username.focus();">
+
+<table width="100%" height="600" cellpadding="0" cellspacing="1" >
+   <tr>
+      <td valign="middle" align="center">
+         <form method="POST" action="<%= response.encodeURL("j_security_check") %>" name="loginform" id="loginForm">
+
+            <% String prefix = request.getContextPath(); %>
+
+		  <table  cellspacing="0" cellpadding="0">
+		  <tr>
+		  <td ><img src="<%= prefix %>/images/login_top_left.png" /></td>
+		  <td style="background-image:url('<%= prefix %>/images/login_top.png')"></td>
+		  <td><img src="<%= prefix %>/images/login_top_right.png" /></td>
+		  </tr>
+		  <tr>
+		  <td style="background-image:url('<%= prefix %>/images/login_left.png')"></td>
+				<!-- REAL CONTENT CELL : begin -->
+				<td style="background-color:#b4b4b4" align="center">
+					<b>JBoss Portal Login</b><br/><br/>
+					<p style="color:red"><%= request.getAttribute("org.jboss.portal.loginError") %></p>
+					<table>
+				       <tr>
+					  <td align="right" width="50">
+					     Username:&nbsp;
+					  </td>
+					  <td align="left">
+					     <input type="text" name="j_username" value=""/>
+					  </td>
+				       </tr>
+				       <tr>
+					  <td align="right" width="50">
+					     Password:&nbsp;
+					  </td>
+					  <td align="left">
+					     <input type="password" name="j_password" value=""/>
+					  </td>
+				       </tr>
+					<tr>
+					  <td colspan="2" align="right">
+					     <input type="submit" name="login" value="Login"/>
+					  </td>
+				       </tr>
+				    </table>
+
+				</td>
+				<!-- REAL CONTENT CELL : end -->
+		  <td style="background-image:url('<%= prefix %>/images/login_right.png')"></td>
+		  </tr>
+		  <tr>
+		  <td><img src="<%= prefix %>/images/login_bottom_left.png" /></td>
+		  <td style="background-image:url('<%= prefix %>/images/login_bottom.png')"></td>
+		  <td><img src="<%= prefix %>/images/login_bottom_right.png" /></td>
+		  </tr>
+		  </table>
+
+
+         </form>
+
+      </td>
+   </tr>
+</table>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_bottom.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_bottom.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_bottom_left.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_bottom_left.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_bottom_right.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_bottom_right.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_left.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_left.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_right.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_right.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_top.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_top.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_top_left.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_top_left.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_top_right.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/images/login_top_right.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/login.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/login.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-server.war/login.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,115 @@
+<%--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                             ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                  ~
+  ~ contributors as indicated by the @authors tag. See the                   ~
+  ~ copyright.txt in the distribution for a full listing of                  ~
+  ~ individual contributors.                                                 ~
+  ~                                                                          ~
+  ~ This is free software; you can redistribute it and/or modify it          ~
+  ~ under the terms of the GNU Lesser General Public License as              ~
+  ~ published by the Free Software Foundation; either version 2.1 of         ~
+  ~ the License, or (at your option) any later version.                      ~
+  ~                                                                          ~
+  ~ This software is distributed in the hope that it will be useful,         ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of           ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU         ~
+  ~ Lesser General Public License for more details.                          ~
+  ~                                                                          ~
+  ~ You should have received a copy of the GNU Lesser General Public         ~
+  ~ License along with this software; if not, write to the Free              ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA       ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                 ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--%>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<!--
+ | Uncomment to enable JOSSO server based SSO authentication.
+ | Redirects the user to the propper login page.  Configured as the login url the web.xml for this application.
+-->
+
+<%
+ /* response.sendRedirect(request.getContextPath() + "/josso_login/"); */
+%>
+
+
+<html>
+<head>
+   <style>
+      body {
+         background-color: #FFFFFF;
+      }
+      td {
+         color: #000000;
+         font-family: verdana, arial, sans-serif;
+         font-size: 12px;
+         line-height: 130%;
+      }
+   </style>
+</head>
+
+<body OnLoad="document.loginform.j_username.focus();">
+
+<table width="100%" height="600" cellpadding="0" cellspacing="1" >
+   <tr>
+      <td valign="middle" align="center">
+         <form method="POST" action="<%= response.encodeURL("j_security_check") %>" name="loginform" id="loginForm">
+
+            <% String prefix = request.getContextPath(); %>
+
+		  <table  cellspacing="0" cellpadding="0">
+		  <tr>
+		  <td ><img src="<%= prefix %>/images/login_top_left.png" /></td>
+		  <td style="background-image:url('<%= prefix %>/images/login_top.png')"></td>
+		  <td><img src="<%= prefix %>/images/login_top_right.png" /></td>
+		  </tr>
+		  <tr>
+		  <td style="background-image:url('<%= prefix %>/images/login_left.png')"></td>
+				<!-- REAL CONTENT CELL : begin -->
+				<td style="background-color:#b4b4b4" align="center">
+					<b>JBoss Portal Login</b><br/><br/>
+					<table>
+				       <tr>
+					  <td align="right" width="50">
+					     Username:&nbsp;
+					  </td>
+					  <td align="left">
+					     <input type="text" name="j_username" value=""/>
+					  </td>
+				       </tr>
+				       <tr>
+					  <td align="right" width="50">
+					     Password:&nbsp;
+					  </td>
+					  <td align="left">
+					     <input type="password" name="j_password" value=""/>
+					  </td>
+				       </tr>
+					<tr>
+					  <td colspan="2" align="right">
+					     <input type="submit" name="login" value="Login"/>
+					  </td>
+				       </tr>
+				    </table>
+
+				</td>
+				<!-- REAL CONTENT CELL : end -->
+		  <td style="background-image:url('<%= prefix %>/images/login_right.png')"></td>
+		  </tr>
+		  <tr>
+		  <td><img src="<%= prefix %>/images/login_bottom_left.png" /></td>
+		  <td style="background-image:url('<%= prefix %>/images/login_bottom.png')"></td>
+		  <td><img src="<%= prefix %>/images/login_bottom_right.png" /></td>
+		  </tr>
+		  </table>
+
+
+         </form>
+
+      </td>
+   </tr>
+</table>
+
+</body>
+</html>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/jsp/edit.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/jsp/edit.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/jsp/edit.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,262 @@
+<%@ page import="org.jboss.portal.widget.google.provider.GGQueryResult" %>
+<%@ page import="org.jboss.portal.widget.google.provider.GGProvider" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="org.jboss.portal.widget.google.GGWidget" %>
+<%@ page import="org.jboss.portal.widget.google.info.GGPreferenceInfo" %>
+<%@ page import="org.jboss.portal.widget.google.type.DataType" %>
+<%@ page import="org.jboss.portal.widget.google.info.GGWidgetCategoryInfo" %>
+<%@ page import="org.jboss.portal.widget.google.provider.GGQuery" %>
+<%@ page import="org.jboss.portal.widget.google.type.EnumType" %>
+<%@ page import="javax.portlet.PortletURL" %>
+<%@ page import="org.jboss.portal.common.util.IteratorStatus" %>
+<%@ page import="java.util.Collection" %>
+<%@ page language="java"%>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="p" %>
+<%@ page isELIgnored="false" %>
+
+<p:defineObjects/>
+<div>
+
+<%
+   // Get useful request attributes
+   GGProvider provider = (GGProvider)request.getAttribute("provider");
+
+   // Get the selected widget if any
+   GGWidget selWidget = null;
+   String uri = request.getParameter("content.uri");
+   if (uri != null)
+   {
+      selWidget = provider.getWidget(uri);
+   }
+
+   // Get query term
+   String queryTerm = request.getParameter("query");
+   if (queryTerm == null)
+   {
+      queryTerm = "";
+   }
+
+   // Get category term
+   String catTerm = request.getParameter("cat");
+   if (catTerm == null)
+   {
+      catTerm = "";
+   }
+
+   // Compute query
+   GGQuery query = new GGQuery(0, catTerm, queryTerm, request.getLocale());
+   Collection widgets = provider.search(query);
+
+   String ggPickMethod = request.getParameter("gg_pick_method");
+   boolean uriPickMethod = false;
+   if (ggPickMethod != null && ggPickMethod.equals("uri"))
+   {
+      uriPickMethod = true;
+   }
+   else
+   {
+   }
+%>
+<div id="<p:namespace/>selection">
+   <input type="RADIO" name="gg_pick_method" value="directory" <%= !uriPickMethod ? "CHECKED" : "" %> onclick="document.getElementById('<p:namespace/>directory_search_div').style.display = 'block'; document.getElementById('<p:namespace/>gadget_url_div').style.display = 'none'; "> Gadget Directory
+   <input type="RADIO" name="gg_pick_method" value="uri" <%= uriPickMethod ? "CHECKED" : "" %> onclick="document.getElementById('<p:namespace/>directory_search_div').style.display = 'none'; document.getElementById('<p:namespace/>gadget_url_div').style.display = 'block'; "> Gadget URI
+   <br>
+   <hr>
+</div>
+
+<div id="<p:namespace/>gadget_url_div" style="display: <%= uriPickMethod ? "block" : "none" %>;">
+   <%
+      PortletURL contentURL = renderResponse.createActionURL();
+      contentURL.setParameter("content.action.select","content.action.select");
+      contentURL.setParameter("gg_pick_method", "uri");
+   %>
+   <form action="<%= contentURL %>" method="post">
+
+      <%
+         if (uri != null && selWidget == null)
+         {
+
+      %>
+      <p style="color: red;">
+         <%
+            out.println("Failed to obtain widget with URI: " + uri);     
+         %>
+      </p>
+      <%
+         }
+         else if (selWidget != null)
+         {
+      %>
+      <p style="color: blue;">
+         Selected Widget: <%= selWidget.getDirectoryTitle().getDefaultString().length() > 0 ? selWidget.getDirectoryTitle().getDefaultString() : selWidget.getTitle().getDefaultString() %>
+      </p>
+      <%
+         }
+      %>
+
+      <input type="text" name="content.uri" value="<%= uri != null ? uri : "" %>" class="portlet-form-field"/>
+      <input type="submit" value="Select Gadget" class="portlet-form-button"/>
+   </form>
+</div>
+
+<div id="<p:namespace/>directory_search_div" style="display: <%= !uriPickMethod ? "block" : "none" %>;">
+
+   <form action="<p:renderURL></p:renderURL>" method="post">
+      <input type="text" name="query" class="portlet-form-field"/>
+      <select name="cat" class="portlet-form-field">
+         <option value="">&nbsp;</option>
+         <%
+            for (Iterator i = provider.getCategories().iterator(); i.hasNext();)
+            {
+               GGWidgetCategoryInfo cat = (GGWidgetCategoryInfo)i.next();
+               boolean selected = cat.getName().equals(catTerm);
+         %>
+         <option value="<%= cat.getName() %>" <%= selected ? "selected=\"selected\"" : "" %>><%= cat.getDisplayName() %></option>
+         <%
+            }
+         %>
+      </select>
+      <input type="submit" value="Search Gadgets" class="portlet-form-button"/>
+   </form>
+
+   <p>
+      <table style="width:100%;border:1px solid" cellspacing="0" cellpadding="0">
+         <%
+            for (IteratorStatus i = new IteratorStatus(widgets.iterator()); i.hasNext();)
+            {
+               GGWidget widget = (GGWidget)i.next();
+               boolean selected = selWidget != null && selWidget.getId().equals(widget.getId());
+               PortletURL selectURL = renderResponse.createActionURL();
+
+               // Set parameters for selection
+               selectURL.setParameter("content.action.select", "content.action.select");
+               selectURL.setParameter("content.uri", widget.getId());
+
+               // Set default parametrization state
+               for (Iterator j = widget.getInfo().getPreferences().getPreferences().iterator(); j.hasNext();)
+               {
+                  GGPreferenceInfo prefInfo = (GGPreferenceInfo)j.next();
+                  String paramName = "content.param." + prefInfo.getName();
+                  String defaultValue = prefInfo.getDefaultValue() != null ? prefInfo.getDefaultValue() : "";
+                  selectURL.setParameter(paramName, defaultValue);
+               }
+
+               // Propagage search nav state
+               selectURL.setParameter("cat", catTerm);
+               selectURL.setParameter("query", queryTerm);
+
+               //
+               String rowClass = selected ? "portlet-section-selected" : (i.getIndex() % 2 == 0 ? "portlet-section-body" : "portlet-section-alternate");
+         %>
+         <tr class="<%= rowClass %>">
+            <td><a href="<%= selectURL %>"><%= widget.getDirectoryTitle().getDefaultString().length() > 0 ? widget.getDirectoryTitle().getDefaultString() : widget.getTitle().getDefaultString() %></a></td>
+         </tr>
+         <%
+            }
+         %>
+      </table>
+   </p>
+
+</div>
+<div>
+   <%
+      if (selWidget != null && !selWidget.getInfo().getPreferences().getPreferences().isEmpty())
+      {
+         PortletURL selectURL = renderResponse.createActionURL();
+
+         // Set parameters for selection
+         selectURL.setParameter("content.action.select", "content.action.select");
+         selectURL.setParameter("content.uri", selWidget.getId());
+
+         // Propagage search nav state
+         selectURL.setParameter("cat", catTerm);
+         selectURL.setParameter("query", queryTerm);
+
+         //propagate visable div
+         if (uriPickMethod)
+         {
+            selectURL.setParameter("gg_pick_method", "uri");
+         }
+   %>
+   <p>
+      <form action="<%= selectURL %>" method="post">
+         <%
+            for (Iterator i = selWidget.getInfo().getPreferences().getPreferences().iterator(); i.hasNext();)
+            {
+               GGPreferenceInfo prefInfo = (GGPreferenceInfo)i.next();
+               if (prefInfo.getType().getOrdinal() == DataType.HIDDEN)
+               {
+
+         %>
+         <input type="hidden" name="content.param.<%= prefInfo.getName() %>" value="<%= prefInfo.getDefaultValue() != null ? prefInfo.getDefaultValue() : "" %>"/>
+         <%
+               }
+            }
+         %>
+         <table>
+            <tbody>
+               <%
+                  for (Iterator i = selWidget.getInfo().getPreferences().getPreferences().iterator(); i.hasNext();)
+                  {
+                     GGPreferenceInfo prefInfo = (GGPreferenceInfo)i.next();
+
+                     // Get param value from nav state otherwise we use the default value
+                     String prefValue = request.getParameter("content.param." + prefInfo.getName());
+                     if (prefValue == null)
+                     {
+                        prefInfo.getDefaultValue();
+                     }
+                     if (prefValue == null)
+                     {
+                        prefValue = "";
+                     }
+               %>
+               <tr>
+                  <td><%= prefInfo.getDisplayName() != null ? prefInfo.getDisplayName() : prefInfo.getName() %>:</td>
+                  <%
+                     switch (prefInfo.getType().getOrdinal())
+                     {
+                        case DataType.HIDDEN:
+                           break;
+                        case DataType.ENUM:
+                  %>
+                  <td><select name="content.param.<%= prefInfo.getName() %>" class="portlet-form-field">
+                     <%
+                        EnumType e = (EnumType)prefInfo.getType();
+                        for (int j = 0;j < e.getSize();j++)
+                        {
+                           EnumType.Value value = e.getValue(j);
+                           boolean selected = value.getValue().equals(prefValue);
+                     %>
+                     <option <%= selected ? "selected=\"selected\"" : "" %> value="<%= value.getValue() %>"><%= value.getDisplayValue() != null ? value.getDisplayValue() : value.getValue() %></option>
+                     <%
+                        }
+                     %>
+                  </select></td>
+                  <%
+                        break;
+                     default:
+                  %>
+                  <td><input type="text" name="content.param.<%= prefInfo.getName() %>" class="portlet-form-field" value="<%= prefValue %>"/></td>
+                  <%
+                           break;
+                     }
+                  %>
+               </tr>
+               <%
+                  }
+               %>
+               <tr>
+                  <td colspan="2"><input type="submit" value="Update" class="portlet-form-button"/></td>
+               </tr>
+            </tbody>
+         </table>
+      </form>
+   </p>
+   <%
+      }
+   %>
+</div>
+
+</div>
+   
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/lib/portal-widget-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/lib/portal-widget-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/portlet-instances.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/portlet-instances.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/portlet-instances.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<?xml version="1.0" standalone="yes"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portlet Instances 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
+
+<deployments>
+   <deployment>
+      <instance>
+         <instance-id>GoogleWidgetPortletInstance</instance-id>
+         <portlet-ref>GoogleWidgetPortlet</portlet-ref>
+      </instance>
+   </deployment>
+</deployments>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<portlet-app
+   xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   version="1.0">
+   <portlet>
+      <description>Google Widget Portlet</description>
+      <portlet-name>GoogleWidgetPortlet</portlet-name>
+      <display-name>Google Widget Portlet</display-name>
+      <portlet-class>org.jboss.portal.widget.WidgetPortlet</portlet-class>
+      <init-param>
+         <description>Connection timeout when retreiving gadgets from google directory</description>
+         <name>connectionTimeout</name>
+         <value>5000</value>
+         </init-param>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+         <portlet-mode>EDIT_CONTENT</portlet-mode>
+      </supports>
+      <portlet-info>
+         <title>Google Widget</title>
+         <keywords>widget</keywords>
+      </portlet-info>
+   </portlet>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-widget.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<web-app
+   xmlns="http://java.sun.com/xml/ns/j2ee"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+   version="2.4">
+   <context-param>
+      <param-name>org.jboss.portal.content_type</param-name>
+      <param-value>widget/google</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.jboss.portal.portlet_instance</param-name>
+      <param-value>GoogleWidgetPortletInstance</param-value>
+   </context-param>
+   <listener>
+      <listener-class>org.jboss.portlet.content.ContentTypeRegistration</listener-class>
+   </listener>
+</web-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-workflow.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-workflow.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-workflow.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,75 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<server>
+    <!-- Hibernate service -->   
+	<mbean
+      code="org.jboss.portal.jems.hibernate.SessionFactoryBinder"
+      name="portal:service=Hibernate,type=Workflow"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/hibernate/workflow/hibernate.cfg.xml</attribute>
+      <attribute name="JNDIName">java:/portal/workflow/WorkFlowSessionFactory</attribute>
+   </mbean>
+   
+   <mbean
+      code="org.jboss.portal.workflow.service.JbpmThreadService"
+      name="portal:service=Thread,type=WorkflowService">
+      <depends optional-attribute-name="WorkflowService"
+      			proxy-type="attribute">portal:service=Workflow,type=WorkflowService</depends>
+      <attribute name="SchedulerInterval">60000</attribute>
+   </mbean>  
+   
+    <!-- Workflow service -->   
+	<mbean
+      code="org.jboss.portal.workflow.service.WorkflowServiceImpl"
+      name="portal:service=Workflow,type=WorkflowService"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>portal:service=Hibernate,type=Workflow</depends>  
+      <attribute name="JbpmConfigurationXml">
+      	<![CDATA[
+      	 <jbpm-configuration>	      	      
+	      	<jbpm-context>
+	      	    <service name="persistence" factory="org.jbpm.persistence.db.DbPersistenceServiceFactory" />
+	      		<service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
+     		    <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" />
+	        </jbpm-context>	      	      	      
+	        <string name="resource.hibernate.cfg.xml" value="conf/hibernate/workflow/hibernate.cfg.xml"/>
+	        <string name="resource.business.calendar" value="org/jbpm/calendar/jbpm.business.calendar.properties"/>
+	        <string name="resource.default.modules" value="org/jbpm/graph/def/jbpm.default.modules.properties"/>
+	        <string name="resource.converter" value="org/jbpm/db/hibernate/jbpm.converter.properties"/>
+	        <string name="resource.action.types" value="org/jbpm/graph/action/action.types.xml"/>
+	        <string name="resource.node.types" value="org/jbpm/graph/node/node.types.xml"/>
+	        <string name="resource.varmapping" value="org/jbpm/context/exe/jbpm.varmapping.xml"/>
+	     </jbpm-configuration>
+      	]]>
+      </attribute>                
+      <attribute name="JNDIName">java:/portal/WorkflowService</attribute>
+   </mbean>
+   
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.7.0
+Created-By: 1.5.0_07-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<server>
+   <!-- Producer interceptor stack -->
+   <mbean
+      code="org.jboss.portal.server.impl.invocation.JBossInterceptorStackFactory"
+      name="portal:service=InterceptorStackFactory,type=WSRP"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends-list optional-attribute-name="InterceptorNames">
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=ContextDispatcher</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=WindowStates</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Modes</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=ProducerCache</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!-- The producer portlet invoker -->
+   <mbean
+      code="org.jboss.portal.portlet.state.producer.ProducerPortletInvoker"
+      name="portal:service=PortletInvoker,type=WSRPProducer"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="PortletInvoker"
+         proxy-type="attribute">portal:service=WSRPPortletInvoker,type=Container</depends>
+      <depends
+         optional-attribute-name="PersistenceManager"
+         proxy-type="attribute">portal:service=PersistenceManager,type=Producer</depends>
+      <depends
+         optional-attribute-name="StateManagementPolicy"
+         proxy-type="attribute">portal:service=StateManagementPolicy,type=Producer</depends>
+      <depends
+         optional-attribute-name="StateConverter"
+         proxy-type="attribute">portal:service=StateConverter,type=Producer</depends>
+   </mbean>
+
+   <!-- The portlet container invoker -->
+   <mbean
+      code="org.jboss.portal.portlet.container.PortletContainerInvoker"
+      name="portal:service=WSRPPortletInvoker,type=Container"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="StackFactory" proxy-type="attribute">portal:service=InterceptorStackFactory,type=WSRP</depends>
+      <depends optional-attribute-name="Registry" proxy-type="attribute">portal:service=WebAppRegistry</depends>
+   </mbean>
+
+   <!-- WSRP Producer implementation -->
+   <mbean
+      code="org.jboss.portal.wsrp.producer.WSRPProducerImpl"
+      name="portal.wsrp:service=WSRPProducer"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="Invoker"
+               proxy-type="attribute">portal:service=PortletInvoker,type=WSRPProducer</depends>
+      <depends optional-attribute-name="RegistrationManager" proxy-type="attribute">portal.wsrp:service=RegistrationManager,type=Producer</depends>
+      <depends optional-attribute-name="ProducerConfigurationService" proxy-type="attribute">portal.wsrp:service=ProducerConfiguration</depends>
+   </mbean>
+
+   <!-- Registration manager -->
+   <mbean code="org.jboss.portal.registration.impl.RegistrationManagerImpl"
+          name="portal.wsrp:service=RegistrationManager,type=Producer" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PersistenceManager" proxy-type="attribute">portal.wsrp:service=PersistenceManager</depends>
+   </mbean>
+
+   <!-- Persistence manager for registrations -->
+   <mbean code="org.jboss.portal.core.impl.portlet.state.PersistentPortletStatePersistenceManager"
+          name="portal.wsrp:service=PersistenceManager" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>portal:service=Hibernate,type=Portlet</depends>
+      <attribute name="SessionFactoryJNDIName">java:/portal/PortletSessionFactory</attribute>
+   </mbean>
+
+   <!-- Producer configuration service -->
+   <mbean code="org.jboss.portal.wsrp.producer.config.impl.ProducerConfigurationServiceImpl"
+          name="portal.wsrp:service=ProducerConfiguration" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="ConfigLocation">conf/producer/config.xml</attribute>      
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.server.impl.xml.EntityResolverService"
+      name="portal.wsrp:service=EntityResolver"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="DTDMapping">
+         <properties>
+            <entry
+               key="-//JBoss Portal//DTD WSRP Remote Producer Configuration 2.6//EN">dtd/jboss-wsrp-consumer_2_6.dtd</entry>
+            <entry
+               key="-//JBoss Portal//DTD WSRP Local Producer Configuration 2.6//EN">dtd/jboss-wsrp-producer_2_6.dtd</entry>
+         </properties>
+      </attribute>
+   </mbean>
+
+   <!-- Deployer for *-wsrp.xml files. Deploys default-wsrp.xml which contains the 'self' consumer -->
+   <mbean code="org.jboss.portal.wsrp.deployment.WSRPDeployer" name="portal.wsrp:service=WSRPDeployer">
+      <attribute name="DefaultWSRPLocation">default-wsrp.xml</attribute>
+      <depends>jboss.system:service=MainDeployer</depends>
+      <depends optional-attribute-name="ConsumerRegistry"
+               proxy-type="attribute">portal.wsrp:service=ConsumerRegistry</depends>
+      <depends optional-attribute-name="EntityResolver"
+               proxy-type="attribute">portal.wsrp:service=EntityResolver</depends>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.jems.hibernate.SessionFactoryBinder"
+      name="portal:service=Hibernate,type=WSRPConsumer"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <!-- Uncomment in clustered mode : hibernate depends on its tree cache service 
+         <depends>portal:service=TreeCacheProvider,type=hibernate</depends>
+       -->
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/consumer/hibernate/hibernate.cfg.xml</attribute>
+      <attribute name="JNDIName">java:/portal/WSRPConsumerSessionFactory</attribute>
+   </mbean>
+
+   <!-- Consumers registry for WSRP consumers -->
+   <mbean code="org.jboss.portal.wsrp.consumer.ConsumerRegistryService"
+          name="portal.wsrp:service=ConsumerRegistry"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>portal:service=Hibernate,type=WSRPConsumer</depends>
+      <attribute name="SessionFactoryJNDIName">java:/portal/WSRPConsumerSessionFactory</attribute>
+      <depends optional-attribute-name="FederatingPortletInvoker" proxy-type="attribute">portal:service=PortletInvoker,type=Federating</depends>
+      <depends optional-attribute-name="PortalEventListenerRegistry" proxy-type="attribute">portal:service=ListenerRegistry</depends>
+   </mbean>   
+</server>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/domain.hbm.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/domain.hbm.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/domain.hbm.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,145 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2007, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+   "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+   "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+ <hibernate-mapping>
+   <class name="org.jboss.portal.wsrp.consumer.ProducerInfo" table="JBP_PRODUCER_INFO">
+      <cache usage="read-write"/>
+      <id name="key" column="PK" access="field" type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">wsrpconsumer_seq</param>
+         </generator>
+      </id>
+      <many-to-one name="endpointConfigurationInfo"
+                   column="ENDPOINT_ID"
+                   class="org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo"
+                   unique="true"
+                   not-null="true"
+                   cascade="all"
+                   lazy="false"/>
+      <many-to-one name="registrationInfo"
+                   column="REGISTRATION_ID"
+                   class="org.jboss.portal.wsrp.consumer.RegistrationInfo"
+                   unique="true"
+                   not-null="false"
+                   cascade="all"
+                   lazy="false"/>
+      <property name="expirationCacheSeconds" column="EXPIRATION_CACHE_SECONDS" type="java.lang.Integer"/>
+      <property name="active" not-null="true" column="ACTIVE" type="boolean"/>
+      <property name="persistentId" column="PRODUCER_ID" not-null="true" unique="true" type="java.lang.String"
+                access="field"/>
+   </class>
+
+   <class name="org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo" table="JBP_ENDPOINT_INFO">
+      <cache usage="read-write"/>
+      <id name="key" column="PK" type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">wsrpconsumer_seq</param>
+         </generator>
+      </id>
+      <property name="serviceDescriptionURL" column="SD_URL" type="java.lang.String" not-null="true"/>
+      <property name="markupURL" column="M_URL" type="java.lang.String" not-null="true"/>
+      <property name="portletManagementURL" column="PM_URL" type="java.lang.String" not-null="false"/>
+      <property name="registrationURL" column="R_URL" type="java.lang.String" not-null="false"/>
+      <property name="wsdlDefinitionURL" column="WSDL_URL" type="java.lang.String" not-null="false"/>
+   </class>
+
+   <class name="org.jboss.portal.wsrp.consumer.RegistrationInfo" table="JBP_REGISTRATION_INFO">
+      <cache usage="read-write"/>
+      <id name="key" column="PK" type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">wsrpconsumer_seq</param>
+         </generator>
+      </id>
+      <property name="consumerName" column="CONSUMER_NAME" type="java.lang.String" not-null="true"/>
+      <property name="registrationHandle" column="HANDLE" type="java.lang.String"/>
+      <property name="registrationState" column="STATE" type="binary" length="50000000"/>
+      <map name="persistentRegistrationProperties" cascade="all,delete-orphan" lazy="false" access="field">
+         <cache usage="read-write"/>
+         <key column="REG_PK" not-null="true"/>
+         <map-key type="string" formula="name"/>
+         <one-to-many class="org.jboss.portal.wsrp.consumer.RegistrationProperty"/>
+      </map>
+   </class>
+
+   <class name="org.jboss.portal.wsrp.consumer.RegistrationProperty" table="JBP_REG_PROPERTY">
+      <cache usage="read-write"/>
+      <id name="key" column="PK" type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">wsrpconsumer_seq</param>
+         </generator>
+      </id>
+      <property name="name" column="NAME" type="java.lang.String" not-null="true"/>
+      <property name="value" column="VALUE" type="java.lang.String"/>
+      <property name="invalid" column="INVALID" type="java.lang.Boolean"/>
+      <property name="lang" column="LANG" type="java.lang.String" not-null="true"/>
+      <many-to-one
+         name="description"
+         column="DESC_PK"
+         class="org.jboss.portal.wsrp.registration.RegistrationPropertyDescription"
+         unique="true"
+         cascade="all"
+         lazy="false"/>
+   </class>
+   <class name="org.jboss.portal.wsrp.registration.RegistrationPropertyDescription" table="JBP_REG_PROP_DESC">
+      <cache usage="read-write"/>
+      <id name="key" column="PK" type="java.lang.Long">
+         <generator class="native">
+            <param name="sequence">portlet_seq</param>
+         </generator>
+      </id>
+      <property name="name" column="NAME" type="org.jboss.portal.jems.hibernate.QNameUserType" not-null="true"/>
+      <property name="type" column="TYPE" type="org.jboss.portal.jems.hibernate.QNameUserType" not-null="true"/>
+      <property name="schemaLocation" column="SCHEMA_LOCATION" type="java.lang.String"/>
+      <component name="description" class="org.jboss.portal.wsrp.registration.LocalizedString">
+         <property name="value" column="DESC_VALUE"/>
+         <property name="locale" column="DESC_LOCALE"/>
+         <property name="resourceName" column="DESC_RES"/>
+      </component>
+      <component name="hint" class="org.jboss.portal.wsrp.registration.LocalizedString">
+         <property name="value" column="HINT_VALUE"/>
+         <property name="locale" column="HINT_LOCALE"/>
+         <property name="resourceName" column="HINT_RES"/>
+      </component>
+      <component name="label" class="org.jboss.portal.wsrp.registration.LocalizedString">
+         <property name="value" column="LABEL_VALUE"/>
+         <property name="locale" column="LABEL_LOCALE"/>
+         <property name="resourceName" column="LABEL_RES"/>
+      </component>
+      <array name="usages" table="JBP_REG_PROP_DESC_USAGES" cascade="all" fetch="join">
+         <cache usage="read-write"/>
+         <key column="PK"/>
+         <index column="IDX"/>
+         <element column="USAGE" type="java.lang.String" not-null="true" unique="false"/>
+      </array>
+      <array name="aliases" table="JBP_REG_PROP_DESC_ALIASES" cascade="all" fetch="join">
+         <cache usage="read-write"/>
+         <key column="PK"/>
+         <index column="IDX"/>
+         <element column="ALIAS" type="org.jboss.portal.jems.hibernate.QNameUserType" not-null="true" unique="false"/>
+      </array>
+   </class>
+</hibernate-mapping>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/ehcache.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/ehcache.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/ehcache.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,60 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2007, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<ehcache>
+
+    <!-- Sets the path to the directory where cache .data files are created.
+
+         If the path is a Java System Property it is replaced by
+         its value in the running VM.
+
+         The following properties are translated:
+         user.home - User's home directory
+         user.dir - User's current working directory
+         java.io.tmpdir - Default temp file path -->
+   <diskStore path="java.io.tmpdir/wsrpconsumer"/>
+
+
+   <!--Default Cache configuration. These will applied to caches programmatically created through
+   the CacheManager.
+
+   The following attributes are required for defaultCache:
+
+   maxInMemory       - Sets the maximum number of objects that will be created in memory
+   eternal           - Sets whether elements are eternal. If eternal,  timeouts are ignored and the element
+                       is never expired.
+   timeToIdleSeconds - Sets the time to idle for an element before it expires. Is only used
+                       if the element is not eternal. Idle time is now - last accessed time
+   timeToLiveSeconds - Sets the time to live for an element before it expires. Is only used
+                       if the element is not eternal. TTL is now - creation time
+   overflowToDisk    - Sets whether elements can overflow to disk when the in-memory cache
+                       has reached the maxInMemory limit.
+
+   -->
+   <defaultCache
+      maxElementsInMemory="10000"
+      eternal="false"
+      timeToIdleSeconds="1800"
+      timeToLiveSeconds="1800"
+      overflowToDisk="false"
+      />
+</ehcache>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/hibernate.cfg.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/hibernate.cfg.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/consumer/hibernate/hibernate.cfg.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,58 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2007, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE hibernate-configuration PUBLIC
+   "-//Hibernate/Hibernate Configuration DTD//EN"
+   "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+<hibernate-configuration>
+   <session-factory>
+      <property name="connection.datasource">java:PortalDS</property>
+      <property name="show_sql">@portal.sql.show@</property>
+      <property name="cache.use_second_level_cache">true</property>
+      <property name="cache.use_query_cache">true</property>
+
+      <!--
+         | Uncomment in clustered mode : use transactional replicated cache
+         
+         <property name="cache.provider_class">org.jboss.portal.jems.hibernate.JMXTreeCacheProvider</property>
+         <property name="cache.object_name">portal:service=TreeCacheProvider,type=hibernate</property>
+         
+      -->
+
+      <!--
+         | Comment in clustered mode
+         -->
+         <property name="cache.provider_configuration_file_resource_path">conf/consumer/hibernate/ehcache.xml</property>
+         <property name="cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
+         <!--
+      -->
+
+      <!-- Force the dialect instead of using autodetection -->
+      <!--
+      <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
+      -->
+
+      <!-- Mapping files -->
+      <mapping resource="conf/consumer/hibernate/domain.hbm.xml"/>
+   </session-factory>
+</hibernate-configuration>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/producer/config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/producer/config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/conf/producer/config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,35 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE producer-configuration PUBLIC "-//JBoss Portal//DTD WSRP Local Producer Configuration 2.6//EN"
+   "http://www.jboss.org/portal/dtd/jboss-wsrp-producer_2_6.dtd">
+
+<!-- Configuration using registration with default registration property validator. -->
+<producer-configuration>
+   <registration-configuration fullServiceDescriptionRequiresRegistration="true">
+      <registration-property-validator>org.jboss.portal.registration.policies.DefaultRegistrationPropertyValidator</registration-property-validator>
+   </registration-configuration>
+</producer-configuration>
+
+   <!-- Configuration without registration -->
+   <!--<producer-configuration/>-->
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/default-wsrp.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/default-wsrp.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/default-wsrp.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,86 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC "-//JBoss Portal//DTD WSRP Remote Producer Configuration 2.6//EN"
+   "http://www.jboss.org/portal/dtd/jboss-wsrp-consumer_2_6.dtd">
+
+<deployments>
+   <deployment>
+      <wsrp-producer id="self" expiration-cache="300">
+         <!--
+         we need to use the individual endpoint configuration because the configuration via wsdl forces an
+         immediate attempt to access the web service description which is not available yet at this point of deployment
+         -->
+         <endpoint-config>
+            <service-description-url>http://localhost:8080/portal-wsrp/ServiceDescriptionService</service-description-url>
+            <markup-url>http://localhost:8080/portal-wsrp/MarkupService</markup-url>
+            <registration-url>http://localhost:8080/portal-wsrp/RegistrationService</registration-url>
+            <portlet-management-url>http://localhost:8080/portal-wsrp/PortletManagementService</portlet-management-url>
+         </endpoint-config>
+         <registration-data/>
+      </wsrp-producer>
+   </deployment>
+   <!--<deployment>
+      <wsrp-producer id="NetUnity" expiration-cache="300">
+         <endpoint-wsdl-url>http://wsrp.netunitysoftware.com/WSRPTestService/WSRPTestService.asmx?Operation=WSDL</endpoint-wsdl-url>
+         <registration-data/>
+      </wsrp-producer>
+   </deployment>-->
+   <!--<deployment>
+      <wsrp-producer id="vignette" expiration-cache="300">
+         <endpoint-wsdl-url>http://wsrpdemo.vignette.com:8080/producer/wsdl</endpoint-wsdl-url>
+         <registration-data>
+            <property>
+               <name>com.vignette.wsrp.registration.username</name>
+               <lang>en</lang>
+               <value>test</value>
+            </property>
+            <property>
+               <name>com.vignette.wsrp.registration.password</name>
+               <lang>en</lang>
+               <value>test</value>
+            </property>
+         </registration-data>
+      </wsrp-producer>
+   </deployment>-->
+   <!--<deployment>
+      <wsrp-producer id="bea" expiration-cache="300">
+         <endpoint-wsdl-url>http://wsrp.bea.com:7001/producer/producer?WSDL</endpoint-wsdl-url>
+         <registration-data>
+            <property>
+               <name>registration/consumerRole</name>
+               <lang>en</lang>
+               <value>public</value>
+            </property>
+         </registration-data>
+      </wsrp-producer>
+   </deployment>-->
+   <!--<deployment>
+      <wsrp-producer id="oracle" expiration-cache="300">
+         <endpoint-wsdl-url>http://portalstandards.oracle.com/portletapp/portlets?WSDL</endpoint-wsdl-url>
+         <registration-data/>
+      </wsrp-producer>
+   </deployment>-->
+</deployments>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/dtd/jboss-wsrp-consumer_2_6.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/dtd/jboss-wsrp-consumer_2_6.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/dtd/jboss-wsrp-consumer_2_6.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,85 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+JBoss Portal's WSRP Remote Producer Configuration deployment descriptor for the *-wsrp.xml files used by Portal to be
+able to consume WSRP portlets exposed by a remote producer.
+author: <a href="mailto:chris.laprun at jboss.com">Chris Laprun</a>
+version: 1.1 (Portal 2.6)
+revision: $Revision: 6390 $
+-->
+
+<!-- The root element. Contains deployment elements. -->
+<!ELEMENT deployments ( deployment* )>
+
+<!-- Deployment related information. As of Portal 2.6, the only deployment information relates to WSRP remote producers. -->
+<!ELEMENT deployment ( wsrp-producer )>
+
+<!-- Information on a remote WSRP producer identified by the mandatory producer-id attribute. -->
+<!ELEMENT wsrp-producer ( ( endpoint-config | endpoint-wsdl-url ), registration-data? )>
+
+<!-- The producer identifier. This should be unique for a given Portal deployment. The identifier is used to
+identify the portlet provider in the management interface. -->
+<!ATTLIST wsrp-producer id CDATA #REQUIRED>
+
+<!-- The period of producer information (such as list of offered portlets) cache refreshing in seconds. -->
+<!ATTLIST wsrp-producer expiration-cache CDATA #IMPLIED>
+
+<!-- WSRP endpoints configuration information by interface URL. Mutually exclusive with endpoint-wsdl-url. -->
+<!ELEMENT endpoint-config ( service-description-url, markup-url, registration-url?, portlet-management-url? )>
+
+<!-- The URL for the service description interface endpoint on the remote producer. -->
+<!ELEMENT service-description-url ( #PCDATA )>
+
+<!-- The URL for the markup interface endpoint on the remote producer. -->
+<!ELEMENT markup-url ( #PCDATA )>
+
+<!-- The URL for the optional portlet management interface endpoint on the remote producer. -->
+<!ELEMENT portlet-management-url ( #PCDATA )>
+
+<!-- The URL for the optional registration interface endpoint on the remote producer. -->
+<!ELEMENT registration-url ( #PCDATA )>
+
+<!-- The URL of the WSDL description of the producer's WSRP services. Mutally exclusive with endpoint-config. -->
+<!ELEMENT endpoint-wsdl-url ( #PCDATA )>
+
+<!-- Container for registration information. -->
+<!ELEMENT registration-data ( consumer-name?, property* )>
+
+<!--
+An optional name (preferably unique) that identifies the Consumer. An example of such a name would be the Consumer's URL.
+If no consumer-name is provided, one will be automatically generated by JBoss Portal.
+-->
+<!ELEMENT consumer-name ( #PCDATA )>
+
+<!-- A registration property. -->
+<!ELEMENT property ( name, lang, value )>
+
+<!-- The name of the property. -->
+<!ELEMENT name ( #PCDATA )>
+
+<!-- The language the property is in. -->
+<!ELEMENT lang ( #PCDATA )>
+
+<!-- The value of the property. -->
+<!ELEMENT value ( #PCDATA )>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/dtd/jboss-wsrp-producer_2_6.dtd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/dtd/jboss-wsrp-producer_2_6.dtd	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/dtd/jboss-wsrp-producer_2_6.dtd	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,87 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+A DTD for the configuration of Portal's WSRP producer.
+
+author: <a href="mailto:chris.laprun at jboss.com">Chris Laprun</a>
+version: 1.0 (Portal 2.6)
+revision: $Revision: 5561 $
+-->
+
+<!-- Root element for the producer configuration. Contains a single registration-configuration as of Portal 2.6 -->
+<!ELEMENT producer-configuration ( registration-configuration? )>
+
+
+<!-- Allows configuration of whether the producer requires registration or not and how to deal with registrations. -->
+<!ELEMENT registration-configuration ( (registration-property-validator | registration-policy)?, registration-property-description* )>
+
+<!--
+Specifies whether the producer will send a complete service description (that is one including offered portlets) or not
+to unregistered consumers.
+-->
+<!ATTLIST registration-configuration fullServiceDescriptionRequiresRegistration (true | false) "false">
+
+<!--
+A fully-qualified class name for a class implementing the RegistrationPropertyValidator interface. Only makes sense when
+using the default RegistrationPolicy.
+-->
+<!ELEMENT registration-property-validator ( #PCDATA )>
+
+<!--
+A fully-qualified class name for an implementation of the RegistrationPolicy interface, allowing users to customize
+the behavior of the producer when handling registration attempts.
+ -->
+<!ELEMENT registration-policy ( #PCDATA )>
+
+<!--
+The description for a registration property for which the producer will require consumers to provide a value.
+Example:
+<registration-property-description>
+   <name>name1</name>
+   <type>xsd:string</type>
+   <label xml:lang="en" resourceName="resource.label1">label1</label>
+   <hint xml:lang="en" resourceName="resource.hint1">hint1</hint>
+</registration-property-description>
+-->
+<!ELEMENT registration-property-description ( name, type, label, hint? )>
+
+<!-- The name of the registration property -->
+<!ELEMENT name ( #PCDATA )>
+
+<!-- The qualified name of the type of the registration property. As of Portal 2.6, only xsd:string is supported. -->
+<!ELEMENT type ( #PCDATA )>
+
+<!-- A description of the registration property and its usage targeted at end users. -->
+<!ELEMENT hint ( #PCDATA )>
+<!-- The language in which the hint is written. -->
+<!ATTLIST hint xml:lang CDATA #REQUIRED>
+<!-- A resource name identifying the hint in localization bundles (currently unsupported in Portal 2.6). -->
+<!ATTLIST hint resourceName CDATA #IMPLIED>
+
+<!-- A short, human readable name for the property, intended for consumer-generated administration interface. -->
+<!ELEMENT label ( #PCDATA )>
+<!-- The language in which the label is written. -->
+<!ATTLIST label xml:lang CDATA #REQUIRED>
+<!-- A resource name identifying the label in localization bundles (currently unsupported in Portal 2.6). -->
+<!ATTLIST label resourceName CDATA #IMPLIED>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/META-INF/MANIFEST.MF	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.7.0
+Created-By: 1.5.0_07-b03 (Sun Microsystems Inc.)
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/faces-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/faces-config.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/faces-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,93 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2007, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!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>
+
+   <!-- Facelet portlet view handler-->
+   <application>
+      <view-handler>com.sun.facelets.FaceletPortletViewHandler</view-handler>
+   </application>
+
+   <managed-bean>
+      <managed-bean-name>beanContext</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.wsrp.admin.ui.JSFBeanContext</managed-bean-class>
+      <managed-bean-scope>application</managed-bean-scope>
+   </managed-bean>
+   <managed-bean>
+      <managed-bean-name>consumersMgr</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.wsrp.admin.ui.ConsumerManagerBean</managed-bean-class>
+      <managed-bean-scope>session</managed-bean-scope>
+      <managed-property>
+         <property-name>registry</property-name>
+         <property-class>org.jboss.portal.wsrp.consumer.ConsumerRegistry</property-class>
+         <value>#{applicationScope.ConsumerRegistry}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>beanContext</property-name>
+         <property-class>org.jboss.portal.wsrp.admin.ui.BeanContext</property-class>
+         <value>#{beanContext}</value>
+      </managed-property>
+   </managed-bean>
+   <managed-bean>
+      <managed-bean-name>consumer</managed-bean-name>
+      <managed-bean-class>org.jboss.portal.wsrp.admin.ui.ConsumerBean</managed-bean-class>
+      <managed-bean-scope>session</managed-bean-scope>
+      <managed-property>
+         <property-name>registry</property-name>
+         <property-class>org.jboss.portal.wsrp.consumer.ConsumerRegistry</property-class>
+         <value>#{applicationScope.ConsumerRegistry}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>id</property-name>
+         <value>#{sessionScope.consumerId}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>manager</property-name>
+         <value>#{consumersMgr}</value>
+      </managed-property>
+      <managed-property>
+         <property-name>beanContext</property-name>
+         <property-class>org.jboss.portal.wsrp.admin.ui.BeanContext</property-class>
+         <value>#{beanContext}</value>
+      </managed-property>
+   </managed-bean>
+
+   <navigation-rule>
+      <navigation-case>
+         <from-outcome>index</from-outcome>
+         <to-view-id>/WEB-INF/jsf/consumers/consumers.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>configureConsumer</from-outcome>
+         <to-view-id>/WEB-INF/jsf/consumers/editConsumer.xhtml</to-view-id>
+      </navigation-case>
+      <navigation-case>
+         <from-outcome>producer</from-outcome>
+         <to-view-id>/WEB-INF/jsf/producer.xhtml</to-view-id>
+      </navigation-case>
+   </navigation-rule>  
+</faces-config>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jboss-portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jboss-portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jboss-portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<!DOCTYPE portlet-app PUBLIC "-//JBoss Portal//DTD JBoss Portlet 2.6//EN" "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd">
+<portlet-app>
+   <portlet>
+      <portlet-name>WSRPConsumersConfigurationPortlet</portlet-name>
+      <transaction>
+         <trans-attribute>Required</trans-attribute>
+      </transaction>
+      <header-content>
+         <link rel="stylesheet" type="text/css" href="/style.css" media="screen"/>
+      </header-content>
+   </portlet>
+   <service>
+      <service-name>ConsumerRegistry</service-name>
+      <service-class>org.jboss.portal.wsrp.consumer.ConsumerRegistry</service-class>
+      <service-ref>portal.wsrp:service=ConsumerRegistry</service-ref>
+   </service>
+</portlet-app>
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/common/tabContainer.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/common/tabContainer.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/common/tabContainer.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,10 @@
+<ui:composition
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:ui="http://java.sun.com/jsf/facelets">
+
+   <div class="tab-container">
+      <ui:insert name="tab-container-content"/>
+   </div>
+
+</ui:composition>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/consumerTemplate.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/consumerTemplate.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/consumerTemplate.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,50 @@
+<div class="wsrp-consumers-ui"
+     xmlns="http://www.w3.org/1999/xhtml"
+     xmlns:ui="http://java.sun.com/jsf/facelets"
+     xmlns:h="http://java.sun.com/jsf/html"
+     xmlns:f="http://java.sun.com/jsf/core"
+     xmlns:c="http://java.sun.com/jstl/core">
+
+   <h:form>
+      <ul class="topnav">
+         <li id="currentTab">Consumers</li>
+         <li>
+            <h:commandLink value="Producer" action="producer"/>
+         </li>
+      </ul>
+   </h:form>
+
+
+   <ui:decorate template="../common/tabContainer.xhtml">
+      <ui:define name="tab-container-content">
+
+         <h:form>
+            <ul class="objectpath">
+               <li class="#{!empty title ? 'selected' : 'pathItem'}">
+                  <h:commandLink action="#{consumersMgr.listConsumers}" value="Consumers"/>
+               </li>
+               <c:if test="#{empty title}">
+                  <li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
+                  <li
+                     class="#{consumer.active ? 'active' : 'inactive'} #{consumer.refreshNeeded ? 'needsRefresh' : ''}">
+                     Consumer '#{consumer.id}' configuration (#{consumer.active ? 'active' : 'inactive'})
+                     #{consumer.refreshNeeded ? '(refresh needed)' : ''}
+                  </li>
+               </c:if>
+            </ul>
+         </h:form>
+
+         <c:if test="#{!empty title}">
+            <h3 class="sectionTitle">${title}</h3>
+         </c:if>
+
+         <!-- Status message -->
+         <h:message id="status" for="status" infoClass="portlet-msg-success" errorClass="portlet-msg-error"
+                    fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+         <!-- Content -->
+         <ui:insert name="content">Content</ui:insert>
+
+      </ui:define>
+   </ui:decorate>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/consumers.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/consumers.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/consumers.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,81 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+   <ui:composition template="consumerTemplate.xhtml">
+
+      <ui:param name="title" value="Manage Consumers"/>
+
+      <ui:define name="content">
+
+         <!-- Consumer creation -->
+         <h:form styleClass="createObjectForm">
+            <span class="portlet-font">Create a consumer named: </span>
+            <h:inputText value="#{consumersMgr.selectedId}" id="consumerName" styleClass="portlet-form-input-field"
+                         required="true"/>
+            <h:commandButton action="#{consumersMgr.createConsumer}" value="Create Consumer"
+                             styleClass="portlet-form-button"/>
+            <h:message for="consumerName" errorClass="portlet-msg-error"/>
+         </h:form>
+
+         <!-- Separation -->
+         <hr/>
+
+         <table width="100%" class="portlet-table-body" style="margin-bottom: 1em;">
+            <thead class="portlet-section-header">
+               <tr>
+                  <th>Consumer
+                     <div style="font-size: 90%; display:inline; font-weight: normal;">
+                        [status: <span class="active">active</span>, <span class="inactive">inactive</span>,
+                        <span class="needsRefresh">needs refresh</span>]
+                     </div>
+                  </th>
+                  <th>Actions</th>
+               </tr>
+            </thead>
+            <tbody>
+               <h:form>
+                  <c:forEach items="#{consumersMgr.consumers}" var="consumer" varStatus="status">
+                     <tr>
+                        <td
+                           class="#{consumer.active ? 'active' : 'inactive'} #{consumer.refreshNeeded ? 'needsRefresh' : ''}">
+                           <h:outputText value="#{consumer.producerId} (#{consumer.active ? 'active' : 'inactive'})
+                     #{consumer.refreshNeeded ? '(refresh needed)' : ''}"/>
+                        </td>
+                        <td class="#{status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
+                           <h:commandLink action="#{consumersMgr.configureConsumer}" styleClass="actionConfigure">
+                              <f:param name="id" value="#{consumer.producerId}"/>
+                              <h:outputText value="Configure"/>
+                           </h:commandLink> | <h:commandLink action="#{consumersMgr.refreshConsumer}"
+                                                             styleClass="actionRefresh">
+                           <f:param name="id" value="#{consumer.producerId}"/>
+                           <h:outputText value="Refresh"/>
+                        </h:commandLink> | <h:commandLink action="#{consumersMgr.activateConsumer}"
+                                                          styleClass="#{consumer.active ? 'actionDeactivate' : 'actionActivate'}">
+                           <f:param name="id" value="#{consumer.producerId}"/>
+                           <f:param name="activate" value="#{!consumer.active}"/>
+                           <h:outputText value="#{consumer.active ? 'Deactivate' : 'Activate'}"/>
+                        </h:commandLink>
+                           <c:if
+                              test="#{!consumer.refreshNeeded and consumer.active and consumer.producerInfo.registrationRequired}">
+                              | <h:commandLink action="#{consumersMgr.registerConsumer}">
+                              <f:param name="id" value="#{consumer.producerId}"/>
+                              <f:param name="register" value="#{!consumer.producerInfo.registered}"/>
+                              <h:outputText value="#{consumer.producerInfo.registered ? 'Deregister' : 'Register'}"/>
+                           </h:commandLink>
+                           </c:if> | <h:commandLink action="#{consumersMgr.destroyConsumer}" styleClass="actionDelete">
+                           <f:param name="id" value="#{consumer.producerId}"/>
+                           <h:outputText value="Delete"/>
+                        </h:commandLink>
+                        </td>
+                     </tr>
+                  </c:forEach>
+               </h:form>
+            </tbody>
+         </table>
+      </ui:define>
+   </ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/editConsumer.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/editConsumer.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/consumers/editConsumer.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,185 @@
+<div
+   xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:c="http://java.sun.com/jstl/core">
+
+<ui:composition template="consumerTemplate.xhtml">
+
+<ui:param name="title" value=""/>
+
+<ui:define name="content">
+
+<hr/>
+
+<h:form>
+<h:messages errorClass="portlet-msg-error" infoClass="portlet-msg-success"/>
+<table width="100%" class="portlet-table-body #{consumer.active ? 'active' : 'inactive'}">
+<tr>
+   <th>Producer id:</th>
+   <td>
+      <h:inputText id="id" value="#{consumer.id}"/> <h:message styleClass="portlet-msg-error" for="id"/>
+   </td>
+</tr>
+<tr>
+   <th>Cache expiration:</th>
+   <td>
+      <h:inputText id="cache" value="#{consumer.cache}"/> (seconds before expiration) <h:message
+      styleClass="portlet-msg-error"
+      for="cache"/>
+   </td>
+</tr>
+<tr>
+   <th>Endpoint configuration:</th>
+   <td>
+      <h:selectBooleanCheckbox id="useWSDL" value="#{consumer.useWSDL}" onchange="this.form.submit()"
+                               valueChangeListener="#{consumer.useWSDLListener}" immediate="true"/>Use WSDL?
+      <h:message styleClass="portlet-msg-error" for="useWSDL"/>
+      <c:choose>
+         <c:when test="#{consumer.useWSDL}">
+            <h:inputText id="wsdl" size="70" value="#{consumer.wsdl}"/> <h:message styleClass="portlet-msg-error"
+                                                                                   for="wsdl"/>
+         </c:when>
+
+         <c:otherwise>
+            <table border="0" class='portlet-table-body'>
+               <tr>
+                  <th>Service Description URL:</th>
+                  <td>
+                     <h:inputText id="sd" size="70" value="#{consumer.serviceDescription}"/> <h:message
+                     styleClass="portlet-msg-error" for="sd"/>
+                  </td>
+               </tr>
+               <tr>
+                  <th>Markup URL:</th>
+                  <td>
+                     <h:inputText id="m" size="70" value="#{consumer.markup}"/> <h:message
+                     styleClass="portlet-msg-error" for="m"/>
+                  </td>
+               </tr>
+               <tr>
+                  <th>Registration URL:</th>
+                  <td>
+                     <h:inputText id="r" size="70" value="#{consumer.registration}"/> <h:message
+                     styleClass="portlet-msg-error"
+                     for="r"/>
+                  </td>
+               </tr>
+               <tr>
+                  <th>Portlet Management URL:</th>
+                  <td>
+                     <h:inputText id="pm" size="70" value="#{consumer.portletManagement}"/> <h:message
+                     styleClass="portlet-msg-error" for="pm"/>
+                  </td>
+               </tr>
+            </table>
+         </c:otherwise>
+      </c:choose>
+   </td>
+</tr>
+<c:if test="#{consumer.localInfoPresent or !consumer.refreshNeeded}">
+   <tr>
+      <th>Registration information</th>
+      <td>
+         <c:choose>
+            <c:when test="#{consumer.localInfoPresent}">
+               <c:choose>
+                  <c:when test="#{!empty consumer.producerInfo.registrationInfo.registrationProperties}">
+                     <table border='1' cellspacing='0' class='registration-prop-table'>
+                        <tr>
+                           <th>Name</th>
+                           <th>Value</th>
+                        </tr>
+                        <c:forEach items="#{consumer.producerInfo.registrationInfo.registrationProperties}" var="prop">
+                           <tr title="#{prop.description.label.value}">
+                              <td>
+                                 <h:outputText value="#{prop.name}"/>
+                              </td>
+                              <td>
+                                 <h:inputText value="#{prop.value}" size="40" onchange="this.form.submit()"
+                                              immediate="true" valueChangeListener="#{consumer.regPropListener}"/>
+                                 <h:outputText styleClass="portlet-msg-error" value="#{prop.status}"
+                                               rendered="#{prop.determinedInvalid}"/>
+                              </td>
+                           </tr>
+                        </c:forEach>
+                     </table>
+                  </c:when>
+                  <c:otherwise>
+                     Registration is indicated as required without registration properties.
+                  </c:otherwise>
+               </c:choose>
+            </c:when>
+            <c:when test="#{consumer.registrationChecked and !consumer.registrationRequired}">
+               Producer doesn't require registration.
+            </c:when>
+         </c:choose>
+      </td>
+   </tr>
+   <c:if test="#{!empty consumer.producerInfo.registrationInfo.registrationHandle}">
+      <tr>
+         <th>Registration context:</th>
+         <td>Handle:
+            <h:outputText value="#{consumer.producerInfo.registrationInfo.registrationHandle}"/>
+         </td>
+      </tr>
+   </c:if>
+   <c:choose>
+      <c:when test="#{consumer.registrationCheckNeeded}">
+         <tr>
+            <td colspan="2">
+               <p class="portlet-msg-alert">Registration information hasn't been validated with the Producer. You should
+                  validate
+                  it.</p>
+               <h:commandLink action="#{consumer.refreshRegistrationInfo}" value="Validate"
+                              title="Validate registration info from Producer" styleClass="portlet-form-button">
+                  <f:param name="mergeLocalInfo" value="true"/>
+               </h:commandLink>
+            </td>
+         </tr>
+      </c:when>
+      <c:otherwise>
+         <c:if
+            test="#{!empty consumer.producerInfo.registrationInfo.registrationHandle and !consumer.registrationValid}">
+            <tr>
+               <td colspan="2">
+                  <p class="portlet-msg-error">Registration is not valid. You can try to fix the problems and modify the
+                     registration.</p>
+                  <h:commandLink action="#{consumer.modifyRegistration}" value="Modify registration"
+                                 title="Modify the registration held with this Producer"
+                                 styleClass="portlet-form-button"/>
+               </td>
+            </tr>
+         </c:if>
+      </c:otherwise>
+   </c:choose>
+   <c:if test="#{consumer.registrationModified}">
+      <tr>
+         <td colspan="2">
+            <h:commandLink action="#{consumer.modifyRegistration}" value="Modify registration"
+                           title="Modify the registration held with this Producer"
+                           styleClass="portlet-form-button"/>
+         </td>
+      </tr>
+   </c:if>
+</c:if>
+<tr>
+   <td colspan="2" style="padding: 1em 1em 1em 0;">
+      <h:commandButton action="#{consumer.update}" value="Save" styleClass="portlet-form-button">
+         <f:param name="id" value="#{consumer.id}"/>
+      </h:commandButton>
+      <h:commandLink action="#{consumer.refreshConsumer}" value="Save &amp; Refresh"
+                     title="Save changes and refresh information from Producer"
+                     styleClass="portlet-form-button">
+         <f:param name="id" value="#{consumer.id}"/>
+      </h:commandLink>
+      <h:commandLink action="#{consumersMgr.listConsumers}" value="Cancel" immediate="true"
+                     styleClass="portlet-form-button"/>
+   </td>
+</tr>
+</table>
+</h:form>
+</ui:define>
+</ui:composition>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/producer.xhtml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/producer.xhtml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/jsf/producer.xhtml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,31 @@
+<div class="wsrp-consumers-ui"
+     xmlns="http://www.w3.org/1999/xhtml"
+     xmlns:ui="http://java.sun.com/jsf/facelets"
+     xmlns:h="http://java.sun.com/jsf/html"
+     xmlns:f="http://java.sun.com/jsf/core"
+     xmlns:c="http://java.sun.com/jstl/core">
+
+   <h:form>
+      <ul class="topnav">
+         <li><h:commandLink action="#{consumersMgr.listConsumers}" value="Consumers"/></li>
+         <li class="currentTab">Producer</li>
+      </ul>
+   </h:form>
+
+
+   <ui:decorate template="common/tabContainer.xhtml">
+      <ui:define name="tab-container-content">
+         <h3 class="sectionTitle">Producer configuration</h3>
+
+         <!-- Status message -->
+         <h:message id="status" for="status" infoClass="portlet-msg-success" errorClass="portlet-msg-error"
+                    fatalClass="portlet-msg-error" warnClass="portlet-msg-alert"/>
+
+         <p>Feature not quite ready yet! Please refer to Portal's
+            <a href="http://docs.jboss.com/jbportal/v2.6/referenceGuide/html/wsrp.html#d0e5264">documentation</a> to
+            learn how to configure JBoss Portal's WSRP producer.
+         </p>
+
+      </ui:define>
+   </ui:decorate>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib/portal-faces-loader-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib/portal-faces-loader-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-beanutils.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-beanutils.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-digester.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-digester.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-el.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-el.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-lang.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/commons-lang.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/el-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/el-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/el-ri.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/el-ri.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/jsf-example.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/jsf-example.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/jsf-facelets.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/jsf-facelets.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/jstl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/jstl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/myfaces-api.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/myfaces-api.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/myfaces-impl.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/myfaces-impl.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/portal-faces-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/portal-faces-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/portal-wsrp-admin-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/lib2/portal-wsrp-admin-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/portlet-instances.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/portlet-instances.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/portlet-instances.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,38 @@
+<?xml version="1.0" standalone="yes"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2007, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<deployments>
+   <deployment>
+      <instance>
+         <instance-id>WSRPConsumersConfigurationPortletInstance</instance-id>
+         <portlet-ref>WSRPConsumersConfigurationPortlet</portlet-ref>
+         <security-constraint>
+            <policy-permission>
+               <role-name>Admin</role-name>
+               <action-name>view</action-name>
+            </policy-permission>
+         </security-constraint>
+      </instance>
+   </deployment>
+</deployments>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,46 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2007, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<portlet-app
+   xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   version="1.0">
+   <portlet>
+      <description>Configuration portlet for WSRP remote producers.</description>
+      <portlet-name>WSRPConsumersConfigurationPortlet</portlet-name>
+      <display-name>WSRP Consumers Configuration</display-name>
+      <portlet-class>org.jboss.portal.faces.loader.FacesPortlet</portlet-class>
+      <init-param>
+         <name>default-view</name>
+         <value>/WEB-INF/jsf/consumers/consumers.xhtml</value>
+      </init-param>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <portlet-info>
+         <title>WSRP Consumers Configuration</title>
+         <keywords>management,admin,wsrp</keywords>
+      </portlet-info>
+   </portlet>
+</portlet-app>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/web.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+         version="2.4">
+
+   <!-- MyFaces specific configuration -->
+   <context-param>
+      <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
+      <param-value>true</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
+      <param-value>true</param-value>
+   </context-param>
+
+   <!-- Facelet configuration -->
+   <context-param>
+      <param-name>facelets.DEVELOPMENT</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   <context-param>
+      <param-name>facelets.SKIP_COMMENTS</param-name>
+      <param-value>true</param-value>
+   </context-param>
+
+   <!-- JSF configuration -->
+   <context-param>
+      <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+      <param-value>.xhtml</param-value>
+   </context-param>
+   <context-param>
+      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+      <param-value>server</param-value>
+   </context-param>
+
+   <!-- JSF entry point -->
+   <servlet>
+       <servlet-name>Faces Servlet</servlet-name>
+       <servlet-class>org.jboss.portal.faces.loader.FacesLoaderServlet</servlet-class>
+       <load-on-startup>1</load-on-startup>
+   </servlet>
+
+</web-app>
+
+

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/wsrp-object.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/wsrp-object.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/WEB-INF/wsrp-object.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2007, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC "-//JBoss Portal//DTD Portal Object 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
+
+<deployments>
+   <deployment>
+      <parent-ref>admin</parent-ref>
+      <if-exists>keep</if-exists>
+      <page>
+         <page-name>WSRP</page-name>
+         <security-constraint>
+            <policy-permission>
+               <action-name>viewrecursive</action-name>
+               <role-name>Admin</role-name>
+            </policy-permission>
+         </security-constraint>
+         <properties>
+            <property>
+               <name>layout.id</name>
+               <value>1column</value>
+            </property>
+         </properties>
+         <window>
+            <window-name>WSRPConsumersConfigurationPortletWindow</window-name>
+            <instance-ref>WSRPConsumersConfigurationPortletInstance</instance-ref>
+            <region>center</region>
+            <height>0</height>
+            <properties>
+               <property>
+                  <name>theme.renderSetId</name>
+                  <value>emptyRenderer</value>
+               </property>
+            </properties>
+         </window>
+      </page>
+   </deployment>
+</deployments>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Activate.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Activate.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Configure.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Configure.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Deactivate.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Deactivate.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Delete.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/actionIcon_Delete.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/pathBackground.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/pathBackground.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/pathSeparator.png
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/img/pathSeparator.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/style.css
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/style.css	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war/style.css	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,268 @@
+.wsrp-consumers-ui table {
+   border: 0;
+   border-collapse: separate;
+}
+
+.wsrp-consumers-ui form {
+   margin: 0;
+   border: 0;
+}
+
+.wsrp-consumers-ui hr {
+   border-top-style: solid;
+}
+
+/* Top nav. */
+
+.wsrp-consumers-ui ul.topnav {
+   padding: 4px 0px 3px;
+   border-bottom: 1px solid #b3c0c7;
+   margin: 0;
+}
+
+.wsrp-consumers-ui ul.topnav li {
+   list-style-type: none;
+   display: inline;
+   margin: 0;
+   padding: 3px 0.5em;
+   margin-left: 5px;
+   border: 1px solid #b3c0c7;
+   border-bottom: none;
+   background-color: #f2f4f5;
+}
+
+.wsrp-consumers-ui ul.topnav li:hover {
+   background-color: #fff;
+}
+
+.wsrp-consumers-ui ul.topnav li#currentTab {
+   background-color: white;
+   border-bottom: 1px solid white;
+}
+
+.wsrp-consumers-ui ul.topnav li#currentTab a:hover {
+}
+
+.wsrp-consumers-ui div.tab-container {
+   border-bottom: 1px solid #B3C0C7;
+   border-right: 1px solid #B3C0C7;
+   border-left: 1px solid #B3C0C7;
+   padding: 15px 0 10px 0;
+}
+
+/* Object path. */
+
+.wsrp-consumers-ui ul.objectpath {
+   list-style-type: none;
+   font-size: 11px;
+   border: solid 1px #bbb;
+   border-left: solid 1px #eee;
+   border-right: solid 1px #eee;
+   background-color: #d5d5d5;
+   background-image: url( img/pathBackground.png );
+   background-position: left;
+   background-repeat: repeat-x;
+   height: 21px;
+   margin: 0px;
+   padding: 0px;
+   padding-left: 2px;
+}
+
+.wsrp-consumers-ui ul.objectpath li {
+   list-style-type: none;
+   display: block;
+   float: left;
+}
+
+.wsrp-consumers-ui ul li.pathItem {
+   padding-top: 4px;
+   padding-left: 3px;
+   padding-right: 2px;
+}
+
+.wsrp-consumers-ui ul.objectpath li.selected {
+   font-weight: bold;
+   padding-top: 4px;
+   padding-left: 3px;
+   padding-right: 2px;
+}
+
+.wsrp-consumers-ui ul.objectpath a {
+   color: #333333;
+   text-decoration: none;
+}
+
+.wsrp-consumers-ui ul.objectpath a:hover {
+   color: #5078aa;
+   text-decoration: none;
+}
+
+/*  Override theme styles */
+.wsrp-consumers-ui h3.sectionTitle {
+   font-weight: bold;
+   color: #656565;
+   font-size: 11px;
+   border-top: 1px solid #999;
+   background-color: #ebf2f5;
+   padding: 2px;
+   padding-left: 4px;
+}
+
+.wsrp-consumers-ui .portlet-section-header {
+   background-image: url( img/pathBackground.png );
+   background-position: left;
+   background-repeat: repeat-x;
+   font-weight: bold;
+   color: #656565;
+   font-size: 10px;
+   border-top: 1px solid #ddd;
+   border-bottom: 1px solid #999;
+   padding-left: 4px;
+}
+
+.wsrp-consumers-ui .portlet-section-header th {
+   background-image: url( img/pathBackground.png );
+   background-position: left;
+   background-repeat: repeat-x;
+   font-weight: bold;
+   color: #656565;
+   font-size: 10px;
+   border-top: 1px solid #ddd;
+   border-bottom: 1px solid #999;
+   padding-left: 4px;
+}
+
+.wsrp-consumers-ui .actionConfigure {
+   background-image: url( img/actionIcon_Configure.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   line-height: 14px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.wsrp-consumers-ui .actionDelete {
+   background-image: url( img/actionIcon_Delete.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.wsrp-consumers-ui .actionActivate {
+   background-image: url( img/actionIcon_Activate.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.wsrp-consumers-ui .actionDeactivate {
+   background-image: url( img/actionIcon_Deactivate.gif );
+   background-position: left;
+   background-repeat: no-repeat;
+   padding-top: 2px;
+   padding-bottom: 2px;
+   line-height: 18px;
+   padding-left: 18px;
+   white-space: nowrap;
+}
+
+.wsrp-consumers-ui td {
+   border: 0;
+   padding-bottom: 2px;
+   padding-top: 2px;
+}
+
+.wsrp-consumers-ui th {
+   text-align: left;
+   border: 0;
+   vertical-align: top;
+}
+
+.wsrp-consumers-ui .active {
+   background-color: #C7DDB7;
+   font-weight: bold;
+}
+
+.wsrp-consumers-ui table.active {
+   border-bottom: 4px solid #C7DDB7;
+   border-top: 4px solid #C7DDB7;
+   background: inherit;
+   font-weight: normal;
+}
+
+.wsrp-consumers-ui li.active {
+   font-weight: normal;
+   padding-top: 4px;
+   padding-left: 3px;
+   padding-right: 2px;
+   background: inherit;
+}
+
+.wsrp-consumers-ui li.active:before {
+   content: "__";
+   padding: 1px;
+   background-color: #C7DDB7;
+   color: #C7DDB7;
+   border: 1px solid #999;
+}
+
+.wsrp-consumers-ui .inactive {
+   background-color: #EBD1B8;
+}
+
+.wsrp-consumers-ui table.inactive {
+   border-bottom: 4px solid #EBD1B8;
+   border-top: 4px solid #EBD1B8;
+   background: inherit;
+}
+
+.wsrp-consumers-ui li.inactive {
+   font-weight: normal;
+   padding-top: 4px;
+   padding-left: 3px;
+   padding-right: 2px;
+   background: inherit;
+}
+
+.wsrp-consumers-ui li.inactive:before {
+   content: "__";
+   padding: 1px;
+   background-color: #EBD1B8;
+   color: #EBD1B8;
+   border: 1px solid #999;
+}
+
+.wsrp-consumers-ui .needsRefresh {
+   font-style: italic;
+}
+
+.wsrp-consumers-ui .registration-prop-table {
+   text-align: left;
+   border: 0;
+   border-collapse: separate;
+}
+
+.wsrp-consumers-ui .portlet-form-button {
+   padding: .2em;
+   margin: 0 .3em;
+}
+
+.portlet-msg-status:before {
+   content: "Info: "
+}
+
+.portlet-msg-error:before {
+   content: "Error: "
+}
+
+.portlet-msg-alert:before {
+   content: "Warning: "
+}
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-client.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-client.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.jse
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.jse
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/wsrp-aop.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/wsrp-aop.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/portal-wsrp.sar/wsrp-aop.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,79 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<aop>
+   <metadata tag="transaction" class="org.jboss.portal.wsrp.consumer.ConsumerRegistryService">
+      <method name="startService">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+      <method name="persistConsumer">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+      <method name="activateConsumerWith">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+      <method name="updateProducerInfo">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+      <method name="createConsumer">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+      <method name="destroyConsumer">
+         <trans-attribute>Required</trans-attribute>
+      </method>
+   </metadata>
+
+   <!-- TRANSACTIONS -->
+   <interceptor class="org.jboss.aspects.tx.TxPropagationInterceptor" scope="PER_VM"/>
+   <interceptor factory="org.jboss.aspects.tx.TxInterceptorFactory" scope="PER_CLASS_JOINPOINT"/>
+
+   <bind pointcut="all(@transaction)">
+      <interceptor-ref name="org.jboss.aspects.tx.TxInterceptorFactory"/>
+   </bind>
+
+   <interceptor name="class-txsynchronized" factory="org.jboss.aspects.txlock.TxLockInterceptorFactory"
+                scope="PER_CLASS"/>
+   <interceptor name="instance-txsynchronized" factory="org.jboss.aspects.txlock.TxLockInterceptorFactory"
+                scope="PER_INSTANCE"/>
+
+   <bind pointcut="execution(static * *->@TxSynchronized(..)) OR execution(*->@TxSynchronized(..))">
+      <interceptor-ref name="class-txsynchronized"/>
+   </bind>
+
+   <bind pointcut="execution(!static * *->@TxSynchronized(..))">
+      <interceptor-ref name="instance-txsynchronized"/>
+   </bind>
+
+   <bind pointcut="all(@org.jboss.aspects.tx.Tx)">
+      <interceptor-ref name="org.jboss.aspects.tx.TxInterceptorFactory"/>
+   </bind>
+
+   <bind
+      pointcut="execution(static * *->@org.jboss.aspects.txlock.TxSynchronized(..)) OR execution(*->@org.jboss.aspects.txlock.TxSynchronized(..))">
+      <interceptor-ref name="class-txsynchronized"/>
+   </bind>
+
+   <bind pointcut="execution(!static * *->@org.jboss.aspects.txlock.TxSynchronized(..))">
+      <interceptor-ref name="instance-txsynchronized"/>
+   </bind>
+</aop>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/jsp/jsp/view.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/jsp/jsp/view.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/jsp/jsp/view.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,63 @@
+<%@ page import="org.jboss.portal.server.PortalConstants" %>
+<%--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~ JBoss, a division of Red Hat                                             ~
+~ Copyright 2006, Red Hat Middleware, LLC, and individual                  ~
+~ contributors as indicated by the @authors tag. See the                   ~
+~ copyright.txt in the distribution for a full listing of                  ~
+~ individual contributors.                                                 ~
+~                                                                          ~
+~ This is free software; you can redistribute it and/or modify it          ~
+~ under the terms of the GNU Lesser General Public License as              ~
+~ published by the Free Software Foundation; either version 2.1 of         ~
+~ the License, or (at your option) any later version.                      ~
+~                                                                          ~
+~ This software is distributed in the hope that it will be useful,         ~
+~ but WITHOUT ANY WARRANTY; without even the implied warranty of           ~
+~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU         ~
+~ Lesser General Public License for more details.                          ~
+~                                                                          ~
+~ You should have received a copy of the GNU Lesser General Public         ~
+~ License along with this software; if not, write to the Free              ~
+~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA       ~
+~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                 ~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--%>
+
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+
+<table border="0" cellspacing="2" cellpadding="2">
+   <tr>
+      <td align="center"><a href="http://portal.demo.jboss.com" target="_blank"><img
+         src="<%= renderRequest.getContextPath() %>/images/dodemo.gif" border="0"
+         alt="Try the latest release of JBoss Portal, live and online."></a>
+         <a href="http://labs.jboss.com/portal/jbossportal/download/index.html" target="_blank"><img
+            src="<%= renderRequest.getContextPath() %>/images/getcode.gif" border="0"
+            alt="Download JBoss Portal and have it up and running in minutes."></a>
+         <a href="http://www.portletswap.com" target="_blank"><img
+            src="<%= renderRequest.getContextPath() %>/images/accessorize.gif" border="0"
+            alt="Download portlets and layouts for your new JBoss Portal installation."></a></td>
+   </tr>
+   <tr>
+      <td></td>
+   </tr>
+   <tr>
+      <td class="portlet-section-alternate">
+         <font class="portlet-font">This is a basic installation of <b><%= PortalConstants.VERSION %></b>. You may
+            log in at any time, using the <i>Login</i> link at the top-right of this page, with the following
+            credentials:</font>
+      </td>
+   </tr>
+   <tr>
+      <td class="portlet-section-alternate" align="center">
+         <b>user/user</b> or <b>admin/admin</b>
+      </td>
+   </tr>
+   <tr>
+      <td align="center">
+         If you are in need of guidance with regards to navigating, configuring, or operating the portal, please view
+         our <a href="http://labs.jboss.com/portal/jbossportal/docs/index.html" target="_blank">online documentation</a>.
+      </td>
+   </tr>
+</table>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/lib/portal-jsp-samples-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/lib/portal-jsp-samples-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/portlet-instances.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/portlet-instances.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/portlet-instances.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<?xml version="1.0" standalone="yes"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portlet Instances 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
+
+<deployments>
+   <deployment>
+      <instance>
+         <instance-id>JSPPortletInstance</instance-id>
+         <portlet-ref>JSPPortlet</portlet-ref>
+      </instance>
+   </deployment>
+</deployments>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<portlet-app
+   xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   version="1.0">
+   <portlet>
+      <description>Simple JSP portlet</description>
+      <portlet-name>JSPPortlet</portlet-name>
+      <display-name>JSP Portlet</display-name>
+      <portlet-class>org.jboss.portal.core.samples.jsp.JSPPortlet</portlet-class>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <portlet-info>
+         <title>Greetings!</title>
+         <keywords>sample,test</keywords>
+      </portlet-info>
+   </portlet>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/images/accessorize.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/images/accessorize.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/images/dodemo.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/images/dodemo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/images/getcode.gif
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-jsp-samples.war/images/getcode.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/default-object.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/default-object.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/default-object.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portal Object 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
+   
+<deployments>
+   <deployment>
+      <parent-ref>default</parent-ref>
+      <if-exists>keep</if-exists>
+      <page>
+         <page-name>News</page-name>
+         <properties>
+            <property>
+               <name>order</name>
+               <value>3</value>
+            </property>
+         </properties>
+         <window>
+            <window-name>NewsPortletWindow</window-name>
+            <instance-ref>NewsPortletInstance</instance-ref>
+            <region>center</region>
+            <height>1</height>
+         </window>
+         <window>
+            <window-name>NewsPortletWindow2</window-name>
+            <instance-ref>NewsPortletInstance2</instance-ref>
+            <region>center</region>
+            <height>2</height>
+         </window>
+      </page>
+   </deployment>
+</deployments>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/jsp/news/edit.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/jsp/news/edit.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/jsp/news/edit.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,37 @@
+<%--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                             ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                  ~
+  ~ contributors as indicated by the @authors tag. See the                   ~
+  ~ copyright.txt in the distribution for a full listing of                  ~
+  ~ individual contributors.                                                 ~
+  ~                                                                          ~
+  ~ This is free software; you can redistribute it and/or modify it          ~
+  ~ under the terms of the GNU Lesser General Public License as              ~
+  ~ published by the Free Software Foundation; either version 2.1 of         ~
+  ~ the License, or (at your option) any later version.                      ~
+  ~                                                                          ~
+  ~ This software is distributed in the hope that it will be useful,         ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of           ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU         ~
+  ~ Lesser General Public License for more details.                          ~
+  ~                                                                          ~
+  ~ You should have received a copy of the GNU Lesser General Public         ~
+  ~ License along with this software; if not, write to the Free              ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA       ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                 ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--%>
+
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+
+<div align="center">
+   <br/>
+   <font class="portlet-font">Change News Feed URL:</font>
+   <form method="post" action="
+<portlet:actionURL></portlet:actionURL>">
+      <input class="portlet-form-input-field" type="text" value="<%= renderRequest.getPreferences().getValue("RssXml", "") %>" size="25" name="newurl">
+      <input class="portlet-form-button" type="submit" name="submit" value="submit">
+   </form>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/lib/portal-news-samples-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/lib/portal-news-samples-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/portlet-instances.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/portlet-instances.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/portlet-instances.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,53 @@
+<?xml version="1.0" standalone="yes"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portlet Instances 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
+
+<deployments>
+   <deployment>
+      <instance>
+         <instance-id>NewsPortletInstance</instance-id>
+         <portlet-ref>NewsPortlet</portlet-ref>
+      </instance>
+   </deployment>
+   <deployment>
+      <if-exists>overwrite</if-exists>
+      <instance>
+         <instance-id>NewsPortletInstance2</instance-id>
+         <portlet-ref>NewsPortlet</portlet-ref>
+         <preferences>
+            <preference>
+               <name>expires</name>
+               <value>180</value>
+            </preference>
+            <preference>
+               <name>RssXml</name>
+               <value>http://finance.yahoo.com/rss/headline?s=rht</value>
+            </preference>
+         </preferences>
+      </instance>
+   </deployment>
+</deployments>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<portlet-app
+   xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   version="1.0">
+   <portlet>
+      <description>Portlet aggregating news from different feeds</description>
+      <portlet-name>NewsPortlet</portlet-name>
+      <display-name>News Portlet</display-name>
+      <portlet-class>org.jboss.portal.core.samples.news.NewsPortlet</portlet-class>
+      <init-param>
+         <name>RSS1_XSL</name>
+         <value>/WEB-INF/Rss1.xsl</value>
+      </init-param>
+      <init-param>
+         <name>RSS2_XSL</name>
+         <value>/WEB-INF/Rss2.xsl</value>
+      </init-param>
+      <init-param>
+         <name>base_url</name>
+         <value>http://feeds.feedburner.com/JBossPortal</value>
+      </init-param>
+      <expiration-cache>180</expiration-cache>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+         <portlet-mode>EDIT</portlet-mode>
+      </supports>
+      <supported-locale>en</supported-locale>
+      <supported-locale>fr</supported-locale>
+      <resource-bundle>NewsResource</resource-bundle>
+      <portlet-info>
+         <title>News Feeds</title>
+         <keywords>sample,news</keywords>
+      </portlet-info>
+      <portlet-preferences>
+         <preference>
+            <name>expires</name>
+            <value>180</value>
+         </preference>
+         <preference>
+            <name>RssXml</name>
+            <value>http://feeds.feedburner.com/JBossPortal</value>
+            <read-only>false</read-only>
+         </preference>
+      </portlet-preferences>
+   </portlet>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/xsl/news/Rss1.xsl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/xsl/news/Rss1.xsl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/xsl/news/Rss1.xsl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<xsl:stylesheet
+   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+   version="1.0">
+
+   <xsl:output method="html"/>
+
+   <xsl:template match="/">
+      <TABLE WIDTH="100%" BORDER="0" CELLPADDING="2" CELLSPACING="0">
+         <xsl:apply-templates/>
+      </TABLE>
+   </xsl:template>
+
+   <xsl:template match="item">
+      <TR>
+         <TD>
+            -
+            <A TARGET="_popup" STYLE="text-decoration: none;">
+               <xsl:attribute name="HREF">
+                  <xsl:value-of select="link"/>
+               </xsl:attribute>
+               <xsl:value-of select="title"/>
+            </A>
+         </TD>
+      </TR>
+      <xsl:apply-templates/>
+   </xsl:template>
+
+   <xsl:template match="text()"/>
+</xsl:stylesheet>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/xsl/news/Rss2.xsl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/xsl/news/Rss2.xsl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-news-samples.war/WEB-INF/xsl/news/Rss2.xsl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,46 @@
+<?xml version="1.0" ?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+   <xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
+   
+   <xsl:variable name="link-path">
+      <xsl:value-of select="rss/channel/link"/>
+   </xsl:variable>
+
+   <xsl:template match="/">
+      <div style="font-size: 1.5em;" class="portlet-section-header">
+         <a href="{$link-path}" target="_blank">
+            <xsl:value-of select="rss/channel/title"/> - <xsl:value-of select="rss/channel/description"/>
+         </a>
+      </div>
+      <ul>
+         <xsl:for-each select="rss/channel/item">
+            <xsl:variable name="this-link">
+               <xsl:value-of select="link"/>
+            </xsl:variable>
+            <li>
+               <div class="portlet-section-subheader">
+                 <a href="{$this-link}" target="_blank">
+                   <xsl:value-of select="title"/>
+                 </a>
+               </div>
+               <div class="portlet-font-dim">
+                   <xsl:if test="string(author)">
+                     <xsl:value-of select="author"/>
+                   </xsl:if>
+                   <xsl:if test="string(author) and string(pubDate)">
+                     &#160;-&#160;
+                   </xsl:if>
+                   <xsl:if test="string(pubDate)">
+                     <xsl:value-of select="pubDate"/>
+                   </xsl:if>
+               </div>
+            </li>
+            <!--         <xsl:value-of select="description" disable-output-escaping="yes"/>
+         <br/>-->
+         </xsl:for-each>
+      </ul>
+      <br/>
+      <br/>
+      <xsl:value-of select="rss/channel/copyright"/>
+   </xsl:template>
+</xsl:stylesheet>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/META-INF/jboss-service.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<server>
+
+   <mbean
+      code="org.jboss.portal.core.event.PortalEventListenerServiceImpl"
+      name="portal:service=ListenerService,type=counter_listener"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="Registry"
+         proxy-type="attribute">portal:service=ListenerRegistry</depends>
+      <attribute name="RegistryId">counter_listener</attribute>
+      <attribute name="ListenerClassName">org.jboss.portal.core.samples.users.event.UserEventListener</attribute>
+   </mbean>
+
+</server>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/lib/portal-users-samples-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/lib/portal-users-samples-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/classes/Resource.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/classes/Resource.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/classes/Resource.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+NO_USERS_ONLINE=No logged-in user
+ONE_USER_ONLINE_0=There is <b>
+ONE_USER_ONLINE_1=</b> logged-in user:
+ONE_USER_IS_0=<b>
+ONE_USER_IS_1=</b>
+USERS_ONLINE_0=There are <b>
+USERS_ONLINE_1=</b> logged-in users:
+USERS_ARE_0=<b>
+USERS_ARE_1=</b>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/classes/Resource_it.properties
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/classes/Resource_it.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/classes/Resource_it.properties	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,32 @@
+################################################################################
+# JBoss, a division of Red Hat                                                 #
+# Copyright 2006, Red Hat Middleware, LLC, and individual                      #
+# contributors as indicated by the @authors tag. See the                       #
+# copyright.txt in the distribution for a full listing of                      #
+# individual contributors.                                                     #
+#                                                                              #
+# This is free software; you can redistribute it and/or modify it              #
+# under the terms of the GNU Lesser General Public License as                  #
+# published by the Free Software Foundation; either version 2.1 of             #
+# the License, or (at your option) any later version.                          #
+#                                                                              #
+# This software is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU             #
+# Lesser General Public License for more details.                              #
+#                                                                              #
+# You should have received a copy of the GNU Lesser General Public             #
+# License along with this software; if not, write to the Free                  #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA           #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.                     #
+################################################################################
+
+NO_USERS_ONLINE=Nessun utente e' online
+ONE_USER_ONLINE_0=Al momento c'e' <b>
+ONE_USER_ONLINE_1=</b> utente online:
+ONE_USER_IS_0=<b>
+ONE_USER_IS_1=</b>
+USERS_ONLINE_0=Al momento ci sono <b>
+USERS_ONLINE_1=</b> utenti online:
+USERS_ARE_0=<b>
+USERS_ARE_1=</b>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jboss-portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jboss-portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jboss-portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE portlet-app PUBLIC
+   "-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
+   "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd">
+
+<portlet-app>
+   <remotable>true</remotable>
+
+   <portlet>
+      <portlet-name>CurrentUsersPortlet</portlet-name>
+   </portlet>
+   
+   <service>
+      <service-name>UsersActivityStats</service-name>
+      <service-class>org.jboss.portal.core.identity.UsersActivityStatsService</service-class>
+      <service-ref>:service=Module,type=UsersActivityStatsService</service-ref>
+   </service>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/noUser.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/noUser.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/noUser.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+<%@ page import="org.jboss.portal.core.CoreConstants" %>
+<%--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~ JBoss, a division of Red Hat                                             ~
+~ Copyright 2006, Red Hat Middleware, LLC, and individual                  ~
+~ contributors as indicated by the @authors tag. See the                   ~
+~ copyright.txt in the distribution for a full listing of                  ~
+~ individual contributors.                                                 ~
+~                                                                          ~
+~ This is free software; you can redistribute it and/or modify it          ~
+~ under the terms of the GNU Lesser General Public License as              ~
+~ published by the Free Software Foundation; either version 2.1 of         ~
+~ the License, or (at your option) any later version.                      ~
+~                                                                          ~
+~ This software is distributed in the hope that it will be useful,         ~
+~ but WITHOUT ANY WARRANTY; without even the implied warranty of           ~
+~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU         ~
+~ Lesser General Public License for more details.                          ~
+~                                                                          ~
+~ You should have received a copy of the GNU Lesser General Public         ~
+~ License along with this software; if not, write to the Free              ~
+~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA       ~
+~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                 ~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--%>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<div class="box">
+    <table border="0" class="portlet-font" cellspacing="0" cellpadding="2">
+        <tr>
+            <td colspan="1">
+             <span class="portlet-text">
+                ${n:i18n("NO_USERS_ONLINE")}
+             </span>
+            </td>
+        </tr>
+    </table>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/oneUser.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/oneUser.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/oneUser.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,46 @@
+<%@ page import="org.jboss.portal.core.CoreConstants" %>
+<%--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~ JBoss, a division of Red Hat                                             ~
+~ Copyright 2006, Red Hat Middleware, LLC, and individual                  ~
+~ contributors as indicated by the @authors tag. See the                   ~
+~ copyright.txt in the distribution for a full listing of                  ~
+~ individual contributors.                                                 ~
+~                                                                          ~
+~ This is free software; you can redistribute it and/or modify it          ~
+~ under the terms of the GNU Lesser General Public License as              ~
+~ published by the Free Software Foundation; either version 2.1 of         ~
+~ the License, or (at your option) any later version.                      ~
+~                                                                          ~
+~ This software is distributed in the hope that it will be useful,         ~
+~ but WITHOUT ANY WARRANTY; without even the implied warranty of           ~
+~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU         ~
+~ Lesser General Public License for more details.                          ~
+~                                                                          ~
+~ You should have received a copy of the GNU Lesser General Public         ~
+~ License along with this software; if not, write to the Free              ~
+~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA       ~
+~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                 ~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--%>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<div class="box">
+    <table border="0" class="portlet-font" cellspacing="0" cellpadding="2">
+        <tr>
+            <td colspan="1">
+             <span class="portlet-text">
+                ${n:i18n("ONE_USER_ONLINE_0")}
+                ${n:out("USERS_COUNT")}
+                ${n:i18n("ONE_USER_ONLINE_1")}                
+             <br/><br/>
+                ${n:i18n("ONE_USER_IS_0")}
+                ${n:out("USERS")}
+                ${n:i18n("ONE_USER_IS_1")}   
+             </span>
+            </td>
+        </tr>
+    </table>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/users.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/users.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/jsp/users/users.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,46 @@
+<%@ page import="org.jboss.portal.core.CoreConstants" %>
+<%--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~ JBoss, a division of Red Hat                                             ~
+~ Copyright 2006, Red Hat Middleware, LLC, and individual                  ~
+~ contributors as indicated by the @authors tag. See the                   ~
+~ copyright.txt in the distribution for a full listing of                  ~
+~ individual contributors.                                                 ~
+~                                                                          ~
+~ This is free software; you can redistribute it and/or modify it          ~
+~ under the terms of the GNU Lesser General Public License as              ~
+~ published by the Free Software Foundation; either version 2.1 of         ~
+~ the License, or (at your option) any later version.                      ~
+~                                                                          ~
+~ This software is distributed in the hope that it will be useful,         ~
+~ but WITHOUT ANY WARRANTY; without even the implied warranty of           ~
+~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU         ~
+~ Lesser General Public License for more details.                          ~
+~                                                                          ~
+~ You should have received a copy of the GNU Lesser General Public         ~
+~ License along with this software; if not, write to the Free              ~
+~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA       ~
+~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                 ~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--%>
+<%@ page language="java" extends="org.jboss.portal.core.servlet.jsp.PortalJsp" %>
+<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="n" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+<portlet:defineObjects/>
+
+<div class="box">
+    <table border="0" class="portlet-font" cellspacing="0" cellpadding="2">
+        <tr>
+            <td colspan="1">
+             <span class="portlet-text">
+                ${n:i18n("USERS_ONLINE_0")}
+                ${n:out("USERS_COUNT")}
+                ${n:i18n("USERS_ONLINE_1")}                
+             <br/><br/>
+                ${n:i18n("USERS_ARE_0")}
+                ${n:out("USERS")}
+                ${n:i18n("USERS_ARE_1")}   
+             </span>
+            </td>
+        </tr>
+    </table>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portal-lib.tld
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portal-lib.tld	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portal-lib.tld	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,104 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
+        version="2.0">
+   <tlib-version>1.1</tlib-version>
+   <short-name>JBoss-Portal-tags</short-name>
+
+   <tag>
+      <name>if</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.IfTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>ctx</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>iterate</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.IterateTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>ctx</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>include</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.IncludeTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>page</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>error</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.ErrorTag</tag-class>
+      <body-content>JSP</body-content>
+      <attribute>
+         <name>key</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+      </attribute>
+   </tag>
+
+   <tag>
+      <name>errors</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.ErrorsTag</tag-class>
+      <body-content>JSP</body-content>
+   </tag>
+
+   <tag>
+      <name>success</name>
+      <tag-class>org.jboss.portal.core.servlet.jsp.taglib.SuccessTag</tag-class>
+      <body-content>JSP</body-content>
+   </tag>
+   <function>
+      <name>i18n</name>
+      <function-class>org.jboss.portal.core.servlet.jsp.taglib.PortalLib</function-class>
+      <function-signature>java.lang.String getMessage(java.lang.String)</function-signature>
+   </function>
+
+   <function>
+      <name>out</name>
+      <function-class>org.jboss.portal.core.servlet.jsp.taglib.PortalLib</function-class>
+      <function-signature>java.lang.String out(java.lang.String)</function-signature>
+   </function>
+
+   <function>
+      <name>i18nout</name>
+      <function-class>org.jboss.portal.core.servlet.jsp.taglib.PortalLib</function-class>
+      <function-signature>java.lang.String i18nOut(java.lang.String)</function-signature>
+   </function>
+
+</taglib>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portlet-instances.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portlet-instances.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portlet-instances.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<?xml version="1.0" standalone="yes"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portlet Instances 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
+
+<deployments>
+   <deployment>
+      <instance>
+         <instance-id>CurrentUsersPortletInstance</instance-id>
+         <portlet-ref>CurrentUsersPortlet</portlet-ref>
+      </instance>
+   </deployment>
+</deployments>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samples.war/WEB-INF/portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<portlet-app
+   xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   version="1.0">
+   <portlet>
+      <description>Current users portlet</description>
+      <portlet-name>CurrentUsersPortlet</portlet-name>
+      <display-name>Current Users Portlet</display-name>
+      <portlet-class>org.jboss.portal.core.samples.users.CurrentUsersPortlet</portlet-class>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+      </supports>
+      <supported-locale>en</supported-locale>
+      <supported-locale>it</supported-locale>
+      <resource-bundle>Resource</resource-bundle>
+      <portlet-info>
+         <title>Current users</title>
+         <keywords>sample,test</keywords>
+      </portlet-info>
+   </portlet>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/default-object.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/default-object.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/default-object.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portal Object 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
+   
+<deployments>
+   <deployment>
+      <parent-ref>default</parent-ref>
+      <if-exists>keep</if-exists>
+      <page>
+         <page-name>Weather</page-name>
+         <properties>
+            <property>
+               <name>order</name>
+               <value>3</value>
+            </property>
+         </properties>
+         <window>
+            <window-name>WeatherPortletWindow</window-name>
+            <instance-ref>WeatherPortletInstance</instance-ref>
+            <region>center</region>
+            <height>0</height>
+         </window>
+      </page>
+   </deployment>
+</deployments>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/jsp/weather/edit.jsp
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/jsp/weather/edit.jsp	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/jsp/weather/edit.jsp	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,40 @@
+<%--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                             ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                  ~
+  ~ contributors as indicated by the @authors tag. See the                   ~
+  ~ copyright.txt in the distribution for a full listing of                  ~
+  ~ individual contributors.                                                 ~
+  ~                                                                          ~
+  ~ This is free software; you can redistribute it and/or modify it          ~
+  ~ under the terms of the GNU Lesser General Public License as              ~
+  ~ published by the Free Software Foundation; either version 2.1 of         ~
+  ~ the License, or (at your option) any later version.                      ~
+  ~                                                                          ~
+  ~ This software is distributed in the hope that it will be useful,         ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of           ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU         ~
+  ~ Lesser General Public License for more details.                          ~
+  ~                                                                          ~
+  ~ You should have received a copy of the GNU Lesser General Public         ~
+  ~ License along with this software; if not, write to the Free              ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA       ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                 ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--%>
+
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page isELIgnored="false" %>
+
+<portlet:defineObjects/>
+
+<div align="center">
+   <br/>
+   <font class="portlet-font">Change Weather Location:</font>
+
+   <form method="post" action="
+<portlet:actionURL></portlet:actionURL>">
+      <font class="portlet-font">Zip Code:</font><br/>
+      <input class="portlet-form-input-field" type="text" value="" size="12" name="newzip">
+      <br/>
+      <input class="portlet-form-input-field" type="submit" name="submit" value="submit">
+   </form>
+</div>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/lib/portal-weather-samples-lib.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/lib/portal-weather-samples-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/portlet-instances.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/portlet-instances.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/portlet-instances.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,36 @@
+<?xml version="1.0" standalone="yes"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portlet Instances 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
+
+<deployments>
+   <deployment>
+      <instance>
+         <instance-id>WeatherPortletInstance</instance-id>
+         <portlet-ref>WeatherPortlet</portlet-ref>
+      </instance>
+   </deployment>
+</deployments>
\ No newline at end of file

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/portlet.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/portlet.xml	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/portlet.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<portlet-app
+   xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+   version="1.0">
+   <portlet>
+      <description>Portlet providing weather forecast</description>
+      <portlet-name>WeatherPortlet</portlet-name>
+      <display-name>Weather Portlet</display-name>
+      <portlet-class>org.jboss.portal.core.samples.weather.WeatherPortlet</portlet-class>
+      <init-param>
+         <name>default_zipcode</name>
+         <value>33145</value>
+      </init-param>
+      <init-param>
+         <name>RSS_XSL</name>
+         <value>/WEB-INF/xsl/weather/Rss.xsl</value>
+      </init-param>
+      <init-param>
+         <name>base_url</name>
+         <value>http://xml.weather.yahoo.com/forecastrss?p=</value>
+      </init-param>
+      <expiration-cache>180</expiration-cache>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>VIEW</portlet-mode>
+         <portlet-mode>EDIT</portlet-mode>
+      </supports>
+      <portlet-info>
+         <title>Weather Portlet</title>
+         <keywords>sample,news</keywords>
+      </portlet-info>
+      <portlet-preferences>
+         <preference>
+            <name>expires</name>
+            <value>180</value>
+         </preference>
+         <preference>
+            <name>RssXml</name>
+            <value>http://xml.weather.yahoo.com/forecastrss?p=33145</value>
+            <read-only>false</read-only>
+         </preference>
+      </portlet-preferences>
+   </portlet>
+</portlet-app>

Added: labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/xsl/weather/Rss.xsl
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/xsl/weather/Rss.xsl	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/binaries/portal/to-copy/jboss-portal.sar/samples/portal-weather-samples.war/WEB-INF/xsl/weather/Rss.xsl	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,100 @@
+<?xml version="1.0" ?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+   <xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
+   <xsl:variable name="image-path">http://us.i1.yimg.com/us.yimg.com/i/us/we/52/</xsl:variable>
+   <xsl:variable name="link-path">
+      <xsl:value-of select="rss/channel/link"/>
+   </xsl:variable>
+   <xsl:template match="/">
+      <br/>
+      <div align="center">
+         <font>
+            <b>
+               <xsl:for-each select="rss/channel/location">
+                  <xsl:value-of select="@city"/>, <xsl:value-of select="@region"/>, <xsl:value-of
+                  select="@country"/>
+               </xsl:for-each>
+            </b>
+         </font>
+         <br/>
+         <br/>
+         <table width="130" border="0">
+            <tr>
+               <xsl:for-each select="rss/channel/item/condition">
+                  <td>
+                     <table border="0" height="130">
+                        <tr>
+                           <td class="portlet-section-header" align="center">Currently</td>
+                        </tr>
+                        <tr>
+                           <td class="portlet-section-alternate" align="center" valign="top">
+                              <img src="{$image-path}/{@code}.gif"/>
+                           </td>
+                        </tr>
+                        <tr>
+                           <td class="portlet-section-alternate" align="center" valign="top">
+                              <xsl:value-of select="@text"/>
+                           </td>
+                        </tr>
+                        <tr>
+                           <td class="portlet-section-alternate" align="center" valign="top">
+                              <xsl:value-of select="@temp"/>F</td>
+                        </tr>
+                     </table>
+                  </td>
+               </xsl:for-each>
+               <xsl:for-each select="rss/channel/item/forecast">
+                  <td>
+                     <table border="0" height="130">
+                        <tr>
+                           <td class="portlet-section-header" align="center" valign="top">
+                              <xsl:value-of select="@day"/>
+                           </td>
+                        </tr>
+                        <tr>
+                           <td class="portlet-section-alternate" align="center" valign="top">
+                              <img src="{$image-path}/{@code}.gif"/>
+                           </td>
+                        </tr>
+                        <tr>
+                           <td class="portlet-section-alternate" align="center" valign="top">
+                              <xsl:value-of select="@text"/>
+                           </td>
+                        </tr>
+                        <tr>
+                           <td class="portlet-section-alternate" align="center" valign="top">
+                              <xsl:value-of select="@low"/>F/<xsl:value-of select="@high"/>F</td>
+                        </tr>
+                     </table>
+                  </td>
+               </xsl:for-each>
+            </tr>
+         </table>
+         <br/>
+         <a href="{$link-path}" target="_blank">Complete Forecast</a>
+      </div>
+   </xsl:template>
+</xsl:stylesheet>

Modified: labs/jbosslabs/trunk/portal-extensions/common.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/common.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/common.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -28,6 +28,13 @@
             <version>1.0</version>
             <jar>portal-common-lib.jar</jar>
         </dependency>
+	<dependency>
+            <groupId>jboss</groupId>
+            <artifactId>portal-common-portal-lib</artifactId>
+            <version>1.0</version>
+            <jar>portal-common-portal-lib.jar</jar>
+        </dependency>
+
         <dependency>
             <groupId>jboss</groupId>
             <artifactId>portal-identity-lib</artifactId>

Modified: labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/conf/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/conf/jboss-service.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/conf/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -204,7 +204,11 @@
 
    <mbean code="org.jboss.web.WebService"
       name="jboss:service=WebService">
+      <!-- The Bind address and Port -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>      
       <attribute name="Port">8083</attribute>
+      <!--  The address to use for the host portion of the RMI codebase URL -->
+      <attribute name="Host">${java.rmi.server.hostname}</attribute>
       <!-- Should non-EJB .class files be downloadable -->
       <attribute name="DownloadServerClasses">true</attribute>
       <!-- Should resources other than .class files be downloadable. Both
@@ -214,8 +218,7 @@
          information can be accessed.
        -->
       <attribute name="DownloadResources">false</attribute>
-      <attribute name="Host">${jboss.bind.address}</attribute>
-      <attribute name="BindAddress">${jboss.bind.address}</attribute>
+
       <!-- Use the default thread pool for dynamic class loading -->
       <depends optional-attribute-name="ThreadPool"
          proxy-type="attribute">jboss.system:service=ThreadPool</depends>
@@ -225,6 +228,15 @@
    <!-- JNDI                                                                 -->
    <!-- ==================================================================== -->
 
+   <!-- A simple mbean wrapper around the jndi Naming object. This
+   only handles an in memory instance. The NamingService uses this
+   as the JNDI store and exposes it remotely.
+   -->
+   <mbean code="org.jnp.server.NamingBeanImpl"
+      name="jboss:service=NamingBeanImpl"
+      xmbean-dd="resource:xmdesc/NamingBean-xmbean.xml">
+   </mbean>
+   
    <mbean code="org.jboss.naming.NamingService"
       name="jboss:service=Naming"
       xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
@@ -248,6 +260,12 @@
       <!-- The thread pool service used to control the bootstrap lookups -->
       <depends optional-attribute-name="LookupPool"
          proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+      <!-- An example of using the unifed invoker as the transport.
+         <depends optional-attribute-name="InvokerProxyFactory"
+         proxy-type="attribute">jboss:service=proxyFactory,type=unified,target=Naming</depends>
+      -->
+      <depends optional-attribute-name="Naming"
+         proxy-type="attribute">jboss:service=NamingBeanImpl</depends>
    </mbean>
 
    <mbean code="org.jboss.naming.JNDIView"
@@ -295,6 +313,15 @@
       AuthenticationCacheJndiName has been changed from the default value.
       -->
       <attribute name="DefaultCacheResolution">60</attribute>
+      <!-- DeepCopySubjectMode: This set the copy mode of subjects done by the
+      security managers to be deep copies that makes copies of the subject
+      principals and credentials if they are cloneable. It should be set to
+      true if subject include mutable content that can be corrupted when
+      multiple threads have the same identity and cache flushes/logout clearing
+      the subject in one thread results in subject references affecting other
+      threads.
+      -->
+      <attribute name="DeepCopySubjectMode">false</attribute>
    </mbean>
 
    <!-- ==================================================================== -->
@@ -308,23 +335,33 @@
 
    <!--
       | The fast in-memory transaction manager.
-    -->
+      | Deprecated in JBossAS v4.2. Use JBossTS JTA instead.
+    - ->
    <mbean code="org.jboss.tm.TransactionManagerService"
       name="jboss:service=TransactionManager"
       xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml">
       <attribute name="TransactionTimeout">300</attribute>
-      <!-- set to false to disable transaction demarcation over IIOP -->
+      <!- - set to false to disable transaction demarcation over IIOP - ->
       <attribute name="GlobalIdsEnabled">true</attribute>
       <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
 
-      <!-- Transaction Integrity Checking -->
-      <!-- Force a rollback if another thread is associated with the transaction at commit -->
-      <!--depends optional-attribute-name="TransactionIntegrityFactory" 
+      <!- - Transaction Integrity Checking - ->
+      <!- - Force a rollback if another thread is associated with the transaction at commit - ->
+      <!- -depends optional-attribute-name="TransactionIntegrityFactory" 
                proxy-type="org.jboss.tm.integrity.TransactionIntegrityFactory">
          <mbean code="org.jboss.tm.integrity.FailIncompleteTransaction"
                 name="jboss:service=TransactionManager,plugin=TransactionIntegrity"/>
-      </depends-->
+      </depends- ->
    </mbean>
+   -->
+
+   <!-- JBoss Transactions JTA -->
+   <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService"
+      name="jboss:service=TransactionManager">
+      <attribute name="TransactionTimeout">300</attribute>
+      <attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute> 
+   </mbean>
+
    <!--
       | UserTransaction support.
     -->
@@ -369,6 +406,18 @@
    <!-- Invokers to the JMX node                                             -->
    <!-- ==================================================================== -->
 
+   <!-- Unified invoker (based on remoting) -->
+   <mbean code="org.jboss.invocation.unified.server.UnifiedInvoker"
+      name="jboss:service=invoker,type=unified">
+      <!-- To turn on strict RMI exception propagation uncomment block below -->
+      <!-- This will cause the UnifiedInvokerProxy to wrap RemoteExceptions  -->
+      <!-- within a ServerException, otherwise will throw root exception     -->
+      <!-- (not RemoteException)                                             -->
+      <!-- <attribute name="StrictRMIException">true</attribute> -->
+      <depends>jboss:service=TransactionManager</depends>
+      <depends>jboss.remoting:service=Connector,transport=socket</depends>
+   </mbean>
+
    <!-- RMI/JRMP invoker -->
    <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
       name="jboss:service=invoker,type=jrmp">
@@ -411,6 +460,118 @@
    </mbean>
 
    <!-- ==================================================================== -->
+   <!-- Remoting services 						                                   -->
+   <!-- ==================================================================== -->
+
+   <!-- For detailed description of all these configuration attributes, please see the -->
+   <!-- JBoss Remoting User's Guide or wiki (http://labs.jboss.com/portal/jbossremoting/docs/guide/index.html) -->
+
+    <!-- The NetworkRegistry contains all the local and remote -->
+    <!-- servers that it recognizes.  The remote ones registered -->
+    <!-- are dependant on the detectors running and which domains -->
+    <!-- they are configured to identify.                         -->
+    <mbean code="org.jboss.remoting.network.NetworkRegistry"
+           name="jboss.remoting:service=NetworkRegistry"/>
+
+   <!-- The Connector is the core component of the remoting server service. -->
+   <!-- It binds the remoting invoker (transport protocol, callback configuration, -->
+   <!-- data marshalling, etc.) with the invocation handlers.  -->
+   <mbean code="org.jboss.remoting.transport.Connector"
+          name="jboss.remoting:service=Connector,transport=socket"
+          display-name="Socket transport Connector">
+
+       <!-- Can either just specify the InvokerLocator attribute and not the invoker element in the -->
+       <!-- Configuration attribute, or do the full invoker configuration in the in invoker element -->
+       <!-- of the Configuration attribute. -->
+
+       <!-- Remember that if you do use more than one param on the uri, will have to include as a CDATA, -->
+       <!-- otherwise, parser will complain. -->
+       <!-- <attribute name="InvokerLocator"><![CDATA[socket://${jboss.bind.address}:4446/?datatype=invocation]]></attribute> -->
+
+      <attribute name="Configuration">
+         <!-- Using the following <invoker> element instead of the InvokerLocator above because specific attributes needed. -->
+         <!-- If wanted to use any of the parameters below, can just add them as parameters to the url above if wanted use the InvokerLocator attribute. -->
+         <config>
+            <!-- Other than transport type and handler, none of these configurations are required (will just use defaults). -->
+            <invoker transport="socket">
+               <attribute name="dataType" isParam="true">invocation</attribute>
+               <attribute name="marshaller" isParam="true">org.jboss.invocation.unified.marshall.InvocationMarshaller</attribute>
+               <attribute name="unmarshaller" isParam="true">org.jboss.invocation.unified.marshall.InvocationUnMarshaller</attribute>
+               <!-- This will be port on which the marshall loader port runs on.  -->
+               <!-- <attribute name="loaderport" isParam="true">4447</attribute> -->
+               <!-- The following are specific to socket invoker -->
+               <!-- <attribute name="numAcceptThreads">1</attribute>-->
+               <!-- <attribute name="maxPoolSize">303</attribute>-->
+               <!-- <attribute name="clientMaxPoolSize" isParam="true">304</attribute>-->
+               <attribute name="socketTimeout" isParam="true">600000</attribute>
+               <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
+               <attribute name="serverBindPort">4446</attribute>
+               <!-- <attribute name="clientConnectAddress">216.23.33.2</attribute> -->
+               <!-- <attribute name="clientConnectPort">7777</attribute> -->
+               <attribute name="enableTcpNoDelay" isParam="true">true</attribute>
+               <!-- <attribute name="backlog">200</attribute>-->
+               <!-- The following is for callback configuration and is independant of invoker type -->
+               <!-- <attribute name="callbackMemCeiling">30</attribute>-->
+               <!-- indicates callback store by fully qualified class name -->
+               <!-- <attribute name="callbackStore">org.jboss.remoting.CallbackStore</attribute>-->
+               <!-- indicates callback store by object name -->
+               <!-- <attribute name="callbackStore">jboss.remoting:service=CallbackStore,type=Serializable</attribute> -->
+               <!-- config params for callback store.  if were declaring callback store via object name, -->
+               <!-- could have specified these config params there. -->
+               <!-- StoreFilePath indicates to which directory to write the callback objects. -->
+               <!-- The default value is the property value of 'jboss.server.data.dir' and if this is not set, -->
+               <!-- then will be 'data'. Will then append 'remoting' and the callback client's session id. -->
+               <!-- An example would be 'data\remoting\5c4o05l-9jijyx-e5b6xyph-1-e5b6xyph-2'. -->
+               <!-- <attribute name="StoreFilePath">callback</attribute>-->
+               <!-- StoreFileSuffix indicates the file suffix to use for the callback objects written to disk. -->
+               <!-- The default value for file suffix is 'ser'. -->
+               <!-- <attribute name="StoreFileSuffix">cst</attribute>-->
+            </invoker>
+
+            <!-- At least one handler is required by the connector.  If have more than one, must decalre -->
+            <!-- different subsystem values.  Otherwise, all invocations will be routed to the only one -->
+            <!-- that is declared. -->
+            <handlers>
+               <!-- can also specify handler by fully qualified classname -->
+               <handler subsystem="invoker">jboss:service=invoker,type=unified</handler>
+            </handlers>
+         </config>
+      </attribute>
+      <depends>jboss.remoting:service=NetworkRegistry</depends>
+   </mbean>
+
+
+   <!-- <mbean code="org.jboss.remoting.detection.jndi.JNDIDetector"-->
+   <!--      name="jboss.remoting:service=Detector,transport=jndi">-->
+   <!-- host to which the detector will connect to for the JNDI server. -->
+   <!-- <attribute name="Host">localhost</attribute>-->
+   <!-- port to which detector will connect to for the JNDI server. -->
+   <!-- <attribute name="Port">5555</attribute>-->
+   <!-- context factory string used when connecting to the JNDI server. -->
+   <!-- The default is org.jnp.interfaces.NamingContextFactory. -->
+   <!-- <attribute name="ContextFactory">org.acme.NamingContextFactory</attribute> -->
+   <!-- url package string to use when connecting to the JNDI server. -->
+   <!-- The default is org.jboss.naming:org.jnp.interfaces. -->
+   <!-- <attribute name="URLPackage">org.acme.naming</attribute> -->
+   <!-- Sets the number of detection iterations before manually pinging -->
+   <!-- remote server to make sure still alive. This is needed since remote server -->
+   <!-- could crash and yet still have an entry in the JNDI server, -->
+   <!-- thus making it appear that it is still there. The default value is 5. -->
+   <!-- <attribute name="CleanDetectionNumber">20</attribute>-->
+
+   <!-- Specifies the domains in which the detector will recognize -->
+   <!-- detections.  If servers are not configured to be in these -->
+   <!-- domains, they will not be added to NetworkRegistry. -->
+   <!--      <attribute name="Configuration">-->
+   <!--         <domains>-->
+   <!--            <domain>roxanne</domain>-->
+   <!--            <domain>sparky</domain>-->
+   <!--         </domains>-->
+   <!--      </attribute>-->
+   <!--   </mbean>-->
+
+
+   <!-- ==================================================================== -->
    <!-- Monitoring and Management                                            -->
    <!-- ==================================================================== -->
 

Deleted: labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/ear-deployer.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/ear-deployer.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/ear-deployer.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- The JBoss service configuration file for the EAR deployer service.
-$Id: ear-deployer.xml,v 1.1 2004/09/05 15:50:06 starksm Exp $
--->
-<server>
-   <!-- EAR deployer, remove if you are not using ear deployments -->
-   <mbean code="org.jboss.deployment.EARDeployer"
-      name="jboss.j2ee:service=EARDeployer">
-      <!-- A flag indicating if ear deployments should have their own scoped
-      class loader to isolate their classes from other deployments.
-      -->
-      <attribute name="Isolated">false</attribute>
-      <!-- A flag indicating if the ear components should have in VM call
-      optimization disabled.
-      -->
-      <attribute name="CallByValue">false</attribute>
-   </mbean>
-</server>

Modified: labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/META-INF/jboss-service.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/META-INF/jboss-service.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/META-INF/jboss-service.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -54,7 +54,7 @@
    <!-- Runtime context for running portlet container -->
    <mbean
       code="org.jboss.portal.web.jboss.JBossWebContext"
-      name="portal:service=ServletContainerContext"
+      name="portal:service=ServletContainerFactory"
       xmbean-dd=""
       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
       <xmbean/>
@@ -66,7 +66,7 @@
       name="portal:service=AuthorizationDomainRegistry"
       xmbean-dd=""
       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
-      <xmbean/> 
+      <xmbean/>
    </mbean>
    <mbean
       code="org.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManagerFactory"
@@ -115,11 +115,14 @@
       <xmbean/>
    </mbean>
    <mbean
-      code="org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor"
+      code="org.jboss.portal.server.aspects.server.SignOutInterceptor"
       name="portal:service=Interceptor,type=Server,name=SessionInvalidator"
       xmbean-dd=""
       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
       <xmbean/>
+      <depends
+         optional-attribute-name="ServletContainerFactory"
+         proxy-type="attribute">portal:service=ServletContainerFactory</depends>
    </mbean>
    <mbean
       code="org.jboss.portal.core.aspects.server.UserInterceptor"
@@ -227,6 +230,10 @@
       <depends
          optional-attribute-name="PortalAuthorizationManagerFactory"
          proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+      <depends
+         optional-attribute-name="PortalObjectContainer"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+      
    </mbean>
    <mbean
       code="org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor"
@@ -321,8 +328,8 @@
       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
       <xmbean/>
       <depends
-         optional-attribute-name="ServletContainerContext"
-         proxy-type="attribute">portal:service=ServletContainerContext</depends>
+         optional-attribute-name="ServletContainerFactory"
+         proxy-type="attribute">portal:service=ServletContainerFactory</depends>
    </mbean>
    <mbean
       code="org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor"
@@ -332,7 +339,7 @@
       <xmbean/>
    </mbean>
    <mbean
-      code="org.jboss.portal.bridge.BridgeInterceptor"
+      code="org.jboss.portal.portlet.bridge.BridgeInterceptor"
       name="portal:service=Interceptor,type=Portlet,name=Bridge"
       xmbean-dd=""
       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
@@ -447,7 +454,7 @@
       <attribute name="CacheMode">REPL_SYNC</attribute>
       <attribute name="ClusterName">portal.hibernate</attribute>
       </mbean>
-      
+
       <mbean
       code="org.jboss.portal.jems.hibernate.JBossTreeCacheProvider"
       name="portal:service=TreeCacheProvider,type=hibernate">
@@ -525,7 +532,7 @@
       <xmbean/>
    </mbean>
    <mbean
-      code="org.jboss.portal.identity.IdentityServiceControllerImpl"
+      code="org.jboss.portal.core.identity.service.IdentityServiceControllerImpl"
       name="portal:service=Module,type=IdentityServiceController"
       xmbean-dd=""
       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
@@ -566,6 +573,35 @@
       <attribute name="AuthConfig">conf/login-config.xml</attribute>
    </mbean>
 
+   <!-- a service to schedule activity of the users -->
+   <mbean
+      code="org.jboss.portal.core.identity.UsersActivityStatsServiceImpl"
+      name="portal:service=Module,type=UsersActivityStatsService"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <!--
+        |Uncomment in clustered mode : broadcaster will spread info about user activity in cluster
+      
+
+         <attribute name="ActivityBroadcasterName">portal:service=HAUserActivityNotificationBroadcaster</attribute>
+
+      
+      -->
+   </mbean>
+
+   <!--
+     |Uncomment in clustered mode : broadcaster will spread info about user activity in cluster
+   
+
+   <mbean code="org.jboss.portal.core.identity.UserActivityNotificationBroadcaster" 
+      name="portal:service=HAUserActivityNotificationBroadcaster">
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+   </mbean>
+
+   
+   -->
+
    <!-- Registries -->
    <mbean
       code="org.jboss.portal.portlet.impl.container.PortletApplicationRegistryImpl"
@@ -683,6 +719,9 @@
       <depends
          optional-attribute-name="InstanceContainer"
          proxy-type="attribute">portal:container=Instance</depends>
+      <depends
+         optional-attribute-name="PortalAuthorizationManagerFactory"
+         proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
    </mbean>
 
    <!-- Integrate identity -->
@@ -712,33 +751,34 @@
          optional-attribute-name="DynamicLoginConfig"
          proxy-type="attribute">portal:service=JAASLoginModule</depends>
    </mbean>
-   
-	<!-- Command factories -->
-    <mbean
-       code="org.jboss.portal.core.controller.command.mapper.DelegatingCommandFactoryService"
-       name="portal:commandFactory=Delegating"
-       xmbean-dd=""
-       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
-       <xmbean/>
-       <!-- LABS -->
+
+   <!-- Command factories -->
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.DelegatingCommandFactoryService"
+      name="portal:commandFactory=Delegating"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <!-- LABS -->
        <depends
           optional-attribute-name="NextFactory"
           proxy-type="attribute">portal:commandFactory=LabsMain</depends>
-    </mbean>
-    <mbean
-       code="org.jboss.portal.core.model.portal.DefaultPortalCommandFactory"
-       name="portal:commandFactory=DefaultPortal"
-       xmbean-dd=""
-       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
-       <xmbean/>
-       <depends
-          optional-attribute-name="NextFactory"
-          proxy-type="attribute">portal:commandFactory=Delegating</depends>
-       <depends
-          optional-attribute-name="Container"
-          proxy-type="attribute">portal:container=PortalObject</depends>
-    </mbean>
-    <mbean
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.model.portal.DefaultPortalCommandFactory"
+      name="portal:commandFactory=DefaultPortal"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="NextFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="Container"
+         proxy-type="attribute">portal:container=PortalObject</depends>
+   </mbean>
+
+   <mbean
       code="org.jboss.portal.core.model.portal.command.mapping.DefaultPortalObjectPathMapper"
       name="portal:service=PortalObjectPathMapper,type=Default"
       xmbean-dd=""
@@ -759,44 +799,44 @@
          optional-attribute-name="Mapper"
          proxy-type="attribute">portal:service=PortalObjectPathMapper,type=Default</depends>
    </mbean>
-    <!-- LABS
-    <mbean
-       code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
-       name="portal:commandFactory=Delegate,path=portal"
-       xmbean-dd=""
-       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
-       <xmbean/>
-       <attribute name="Path">/portal</attribute>
-       <depends
-          optional-attribute-name="DelegatingFactory"
-          proxy-type="attribute">portal:commandFactory=Delegating</depends>
-       <depends
-          optional-attribute-name="DelegateFactory"
-          proxy-type="attribute">portal:commandFactory=PortalObject</depends>
-    </mbean> -->
-    <mbean
-       code="org.jboss.portal.core.controller.command.mapper.SimpleCommandFactory"
-       name="portal:commandFactory=SignOut"
-       xmbean-dd=""
-       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
-       <xmbean/>
-       <attribute name="CommandClassName">org.jboss.portal.core.controller.command.SignOutCommand</attribute>
-    </mbean>
-    <mbean
-       code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
-       name="portal:commandFactory=Delegate,path=signout"
-       xmbean-dd=""
-       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
-       <xmbean/>
-       <attribute name="Path">/signout</attribute>
-       <depends
-          optional-attribute-name="DelegatingFactory"
-          proxy-type="attribute">portal:commandFactory=Delegating</depends>
-       <depends
-          optional-attribute-name="DelegateFactory"
-          proxy-type="attribute">portal:commandFactory=SignOut</depends>
-    </mbean>
-    <mbean
+
+   <!--LABS
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+      name="portal:commandFactory=Delegate,path=portal"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/portal</attribute>
+      <depends
+         optional-attribute-name="DelegatingFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="DelegateFactory"
+         proxy-type="attribute">portal:commandFactory=PortalObject</depends>
+   </mbean>-->
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.SignOutCommandFactoryService"
+      name="portal:commandFactory=SignOut"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+      name="portal:commandFactory=Delegate,path=signout"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/signout</attribute>
+      <depends
+         optional-attribute-name="DelegatingFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="DelegateFactory"
+         proxy-type="attribute">portal:commandFactory=SignOut</depends>
+   </mbean>
+   <mbean
       code="org.jboss.portal.core.model.portal.command.mapping.DashboardPortalObjectPathMapper"
       name="portal:service=PortalObjectPathMapper,type=Dashboard"
       xmbean-dd=""
@@ -819,6 +859,7 @@
          optional-attribute-name="Mapper"
          proxy-type="attribute">portal:service=PortalObjectPathMapper,type=Dashboard</depends>
    </mbean>
+
    <mbean
       code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
       name="portal:commandFactory=Delegate,path=dashboard"
@@ -854,9 +895,9 @@
          optional-attribute-name="DelegateFactory"
          proxy-type="attribute">portal:commandFactory=Ajax</depends>
    </mbean>
-   
-   <!-- LABS command factories -->
 
+ <!-- LABS command factories -->
+
     <mbean
        code="org.jboss.labs.mapper.command.MainCF"
        name="portal:commandFactory=LabsMain"
@@ -982,53 +1023,59 @@
           proxy-type="attribute">portal:urlFactory=LabsMain</depends>
     </mbean>
 
-    <!-- URL factories -->
-    <!--<mbean
-       code="org.jboss.portal.core.controller.command.mapper.DelegatingURLFactoryService"
-       name="portal:urlFactory=Delegating"
-       xmbean-dd=""
-       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
-       <xmbean/>
-    </mbean>-->
-    <!-- LABS
-    <mbean
-       code="org.jboss.portal.core.model.portal.PortalObjectURLFactory"
-       name="portal:urlFactory=PortalObject"
-       xmbean-dd=""
-       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
-       <xmbean/>
-       <attribute name="Path">/portal</attribute>
-       <depends
-          optional-attribute-name="Factory"
-          proxy-type="attribute">portal:urlFactory=Delegating</depends>
-    </mbean>  -->
-    <mbean
-       code="org.jboss.portal.core.controller.command.mapper.SimpleURLFactory"
-       name="portal:urlFactory=SignOut"
-       xmbean-dd=""
-       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
-       <xmbean/>
-       <attribute name="Path">/signout</attribute>
-       <attribute name="ClassNames">org.jboss.portal.core.controller.command.SignOutCommand</attribute>
-       <depends
-          optional-attribute-name="Factory"
-          proxy-type="attribute">portal:urlFactory=Delegating</depends>
-    </mbean>
-    <mbean
-       code="org.jboss.portal.core.controller.command.mapper.SimpleURLFactory"
-       name="portal:urlFactory=Dashboard"
-       xmbean-dd=""
-       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
-       <xmbean/>
-       <attribute name="Path">/dashboard</attribute>
-       <attribute name="ClassNames">org.jboss.portal.core.model.portal.command.ViewDashboardCommand</attribute>
-       <depends
-          optional-attribute-name="Factory"
-          proxy-type="attribute">portal:urlFactory=Delegating</depends>
-    </mbean>
 
-    <!-- LABS URL factories -->
+   <!-- URL factories -->
+   <!--mbean
+      code="org.jboss.portal.core.controller.command.mapper.DelegatingURLFactoryService"
+      name="portal:urlFactory=Delegating"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.model.portal.PortalObjectURLFactory"
+      name="portal:urlFactory=PortalObject,type=Default"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Namespace"><![CDATA[]]></attribute>
+      <attribute name="Path">/portal</attribute>
+      <depends
+         optional-attribute-name="Factory"
+         proxy-type="attribute">portal:urlFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="Mapper"
+         proxy-type="attribute">portal:service=PortalObjectPathMapper,type=Default</depends>
+   </mbean-->
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.SignOutURLFactory"
+      name="portal:urlFactory=SignOut"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/signout</attribute>
+      <depends
+         optional-attribute-name="Factory"
+         proxy-type="attribute">portal:urlFactory=Delegating</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.model.portal.PortalObjectURLFactory"
+      name="portal:urlFactory=PortalObject,type=Dashboard"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Namespace">dashboard</attribute>
+      <attribute name="Path">/dashboard</attribute>
+      <depends
+         optional-attribute-name="Factory"
+         proxy-type="attribute">portal:urlFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="Mapper"
+         proxy-type="attribute">portal:service=PortalObjectPathMapper,type=Dashboard</depends>
+   </mbean>
 
+<!-- LABS URL factories -->
+
     <mbean
        code="org.jboss.labs.mapper.url.LabsMainUrlFactory"
        name="portal:urlFactory=LabsMain"
@@ -1305,8 +1352,8 @@
          optional-attribute-name="Config"
          proxy-type="attribute">portal:service=ServerConfig</depends>
       <depends
-         optional-attribute-name="ServletContainerContext"
-         proxy-type="attribute">portal:service=ServletContainerContext</depends>
+         optional-attribute-name="ServletContainerFactory"
+         proxy-type="attribute">portal:service=ServletContainerFactory</depends>
    </mbean>
 
    <!-- -->

Modified: labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/conf/login-config.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/conf/login-config.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/conf/login-config.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -1,13 +1,38 @@
 <?xml version='1.0'?>
-<!-- 
-  JBoss, the OpenSource J2EE webOS
-  Distributable under LGPL license.
-  See terms of license at gnu.org. 
- -->
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
 <!DOCTYPE policy PUBLIC
-      "-//JBoss//DTD JBOSS Security Config 3.0//EN"
-      "http://www.jboss.org/j2ee/dtd/security_config.dtd">
+   "-//JBoss//DTD JBOSS Security Config 3.0//EN"
+   "http://www.jboss.org/j2ee/dtd/security_config.dtd">
 <policy>
+   <!-- For the JCR CMS -->
+   <application-policy name="cms">
+      <authentication>
+         <login-module code="org.apache.jackrabbit.core.security.SimpleLoginModule" flag="required"/>
+      </authentication>
+   </application-policy>
+   
    <application-policy name="portal">
       <authentication>
          <!-- this JAAS module is used by manual user initiated Login -->
@@ -35,7 +60,7 @@
 		     <module-option name="password-stacking">useFirstPass</module-option>
 		     <module-option name="jbossdb">java:JBossDS</module-option>
          </login-module>
-         
+
       </authentication>
    </application-policy>
    

Modified: labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/portal-server.war/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/portal-server.war/WEB-INF/web.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/jboss-portal.sar/portal-server.war/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -132,7 +132,18 @@
       <filter-name>moveMeta</filter-name>
       <url-pattern>/*</url-pattern>
    </filter-mapping>
+   
+   <filter>
+      <filter-name>charcaterFilter</filter-name>
+      <filter-class>org.jboss.forge.portal.CharacterFilter</filter-class>
+   </filter>
 
+   <filter-mapping>
+      <filter-name>charcaterFilter</filter-name>
+      <!-- <url-pattern>/*</url-pattern> -->
+      <servlet-name>PortalServletWithPathMapping</servlet-name>
+   </filter-mapping>
+
     <!-- SSL Processor -->
    <filter>
       <filter-name>SSLProcessor</filter-name>

Modified: labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/portal-login-ds.xml.sample
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/portal-login-ds.xml.sample	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/configuration/to-copy/server/default/deploy/portal-login-ds.xml.sample	2007-11-12 17:19:26 UTC (rev 16539)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <datasources>
-  <local-tx-datasource>
+  <no-tx-datasource>
     <jndi-name>JBossDS</jndi-name>
     <connection-url>jdbc:mysql://</connection-url>
     <driver-class>org.gjt.mm.mysql.Driver</driver-class>
     <user-name></user-name>
     <password></password>
-  </local-tx-datasource>
+  </no-tx-datasource>
 </datasources>

Added: labs/jbosslabs/trunk/portal-extensions/configuration/to-copy-install/bin/debug.sh
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/configuration/to-copy-install/bin/debug.sh	                        (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/configuration/to-copy-install/bin/debug.sh	2007-11-12 17:19:26 UTC (rev 16539)
@@ -0,0 +1,247 @@
+#!/bin/sh
+### ====================================================================== ###
+##                                                                          ##
+##  JBoss Bootstrap Script                                                  ##
+##                                                                          ##
+### ====================================================================== ###
+
+### $Id: run.sh 64199 2007-07-23 15:57:38Z cazzius $ ###
+
+DIRNAME=`dirname $0`
+PROGNAME=`basename $0`
+GREP="grep"
+
+# Use the maximum available, or set MAX_FD != -1 to use that
+MAX_FD="maximum"
+
+#
+# Helper to complain.
+#
+warn() {
+    echo "${PROGNAME}: $*"
+}
+
+#
+# Helper to puke.
+#
+die() {
+    warn $*
+    exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+darwin=false;
+linux=false;
+case "`uname`" in
+    CYGWIN*)
+        cygwin=true
+        ;;
+
+    Darwin*)
+        darwin=true
+        ;;
+        
+    Linux)
+        linux=true
+        ;;
+esac
+
+# Read an optional running configuration file
+if [ "x$RUN_CONF" = "x" ]; then
+    RUN_CONF="$DIRNAME/run.conf"
+fi
+if [ -r "$RUN_CONF" ]; then
+    . "$RUN_CONF"
+fi
+
+# Force IPv4 on Linux systems since IPv6 doesn't work correctly with jdk5 and lower
+if [ "$linux" = "true" ]; then
+   JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+    [ -n "$JBOSS_HOME" ] &&
+        JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"`
+    [ -n "$JAVA_HOME" ] &&
+        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+    [ -n "$JAVAC_JAR" ] &&
+        JAVAC_JAR=`cygpath --unix "$JAVAC_JAR"`
+fi
+
+# Setup JBOSS_HOME
+if [ "x$JBOSS_HOME" = "x" ]; then
+    # get the full path (without any relative bits)
+    JBOSS_HOME=`cd $DIRNAME/..; pwd`
+fi
+export JBOSS_HOME
+
+# Increase the maximum file descriptors if we can
+if [ "$cygwin" = "false" ]; then
+    MAX_FD_LIMIT=`ulimit -H -n`
+    if [ $? -eq 0 ]; then
+	if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
+	    # use the system max
+	    MAX_FD="$MAX_FD_LIMIT"
+	fi
+
+	ulimit -n $MAX_FD
+	if [ $? -ne 0 ]; then
+	    warn "Could not set maximum file descriptor limit: $MAX_FD"
+	fi
+    else
+	warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
+    fi
+fi
+
+# Setup the JVM
+if [ "x$JAVA" = "x" ]; then
+    if [ "x$JAVA_HOME" != "x" ]; then
+	JAVA="$JAVA_HOME/bin/java"
+    else
+	JAVA="java"
+    fi
+fi
+
+# Setup the classpath
+runjar="$JBOSS_HOME/bin/run.jar"
+if [ ! -f "$runjar" ]; then
+    die "Missing required file: $runjar"
+fi
+JBOSS_BOOT_CLASSPATH="$runjar"
+
+# Tomcat uses the JDT Compiler
+# Only include tools.jar if someone wants to use the JDK instead.
+# compatible distribution which JAVA_HOME points to
+if [ "x$JAVAC_JAR" = "x" ]; then
+    JAVAC_JAR_FILE="$JAVA_HOME/lib/tools.jar"
+else
+    JAVAC_JAR_FILE="$JAVAC_JAR"
+fi
+if [ ! -f "$JAVAC_JAR_FILE" ]; then
+   # MacOSX does not have a seperate tools.jar
+   if [ "$darwin" != "true" -a "x$JAVAC_JAR" != "x" ]; then
+      warn "Missing file: JAVAC_JAR=$JAVAC_JAR"
+      warn "Unexpected results may occur."
+   fi
+   JAVAC_JAR_FILE=
+fi
+
+if [ "x$JBOSS_CLASSPATH" = "x" ]; then
+    JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH"
+else
+    JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH"
+fi
+if [ "x$JAVAC_JAR_FILE" != "x" ]; then
+    JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JAVAC_JAR_FILE"
+fi
+
+# If -server not set in JAVA_OPTS, set it, if supported
+SERVER_SET=`echo $JAVA_OPTS | $GREP "\-server"`
+if [ "x$SERVER_SET" = "x" ]; then
+
+    # Check for SUN(tm) JVM w/ HotSpot support
+    if [ "x$HAS_HOTSPOT" = "x" ]; then
+	HAS_HOTSPOT=`"$JAVA" -version 2>&1 | $GREP -i HotSpot`
+    fi
+
+    # Enable -server if we have Hotspot, unless we can't
+    if [ "x$HAS_HOTSPOT" != "x" ]; then
+	# MacOS does not support -server flag
+	if [ "$darwin" != "true" ]; then
+	    JAVA_OPTS="-server $JAVA_OPTS"
+	fi
+    fi
+fi
+
+# Setup JBosst Native library path
+JBOSS_NATIVE_DIR="$JBOSS_HOME/bin/native"
+if [ -d "$JBOSS_NATIVE_DIR" ]; then
+    if $cygwin ; then
+        export PATH="$JBOSS_NATIVE_DIR:$PATH"
+        JBOSS_NATIVE_DIR=`cygpath --dos "$JBOSS_NATIVE_DIR"`
+    fi
+    if [ "x$LD_LIBRARY_PATH" = "x" ]; then
+        LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR"
+    else
+        LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR:$LD_LIBRARY_PATH"
+    fi
+    export LD_LIBRARY_PATH
+    if [ "x$JAVA_OPTS" = "x" ]; then
+        JAVA_OPTS="-Djava.library.path=$JBOSS_NATIVE_DIR"
+    else
+        JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$JBOSS_NATIVE_DIR"
+    fi
+fi
+
+# Setup JBoss specific properties and debug data
+JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"
+
+# Setup the java endorsed dirs
+JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+    JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+    JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"`
+    JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"`
+fi
+
+# Display our environment
+echo "========================================================================="
+echo ""
+echo "  JBoss Bootstrap Environment"
+echo ""
+echo "  JBOSS_HOME: $JBOSS_HOME"
+echo ""
+echo "  JAVA: $JAVA"
+echo ""
+echo "  JAVA_OPTS: $JAVA_OPTS"
+echo ""
+echo "  CLASSPATH: $JBOSS_CLASSPATH"
+echo ""
+echo "========================================================================="
+echo ""
+
+while true; do
+   if [ "x$LAUNCH_JBOSS_IN_BACKGROUND" = "x" ]; then
+      # Execute the JVM in the foreground
+      "$JAVA" $JAVA_OPTS \
+         -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
+         -classpath "$JBOSS_CLASSPATH" \
+         org.jboss.Main "$@"
+      JBOSS_STATUS=$?
+   else
+      # Execute the JVM in the background
+      "$JAVA" $JAVA_OPTS \
+         -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
+         -classpath "$JBOSS_CLASSPATH" \
+         org.jboss.Main "$@" &
+      JBOSS_PID=$!
+      # Trap common signals and relay them to the jboss process
+      trap "kill -HUP  $JBOSS_PID" HUP
+      trap "kill -TERM $JBOSS_PID" INT
+      trap "kill -QUIT $JBOSS_PID" QUIT
+      trap "kill -PIPE $JBOSS_PID" PIPE
+      trap "kill -TERM $JBOSS_PID" TERM
+      # Wait until the background process exits
+      WAIT_STATUS=0
+      while [ "$WAIT_STATUS" -ne 127 ]; do
+         JBOSS_STATUS=$WAIT_STATUS
+         wait $JBOSS_PID 2>/dev/null
+         WAIT_STATUS=$?
+      done
+   fi
+   # If restart doesn't work, check you are running JBossAS 4.0.4+
+   #    http://jira.jboss.com/jira/browse/JBAS-2483
+   # or the following if you're running Red Hat 7.0
+   #    http://developer.java.sun.com/developer/bugParade/bugs/4465334.html   
+   if [ $JBOSS_STATUS -eq 10 ]; then
+      echo "Restarting JBoss..."
+   else
+      exit $JBOSS_STATUS
+   fi
+done
+


Property changes on: labs/jbosslabs/trunk/portal-extensions/configuration/to-copy-install/bin/debug.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: labs/jbosslabs/trunk/portal-extensions/configuration/to-copy-install/bin/run.conf
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/configuration/to-copy-install/bin/run.conf	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/configuration/to-copy-install/bin/run.conf	2007-11-12 17:19:26 UTC (rev 16539)
@@ -4,7 +4,7 @@
 ##                                                                          ##
 ##############################################################################
 
-### $Id: run.conf 55224 2006-08-04 17:36:47Z dimitris at jboss.org $
+### $Id: run.conf 62747 2007-05-02 17:43:36Z dimitris at jboss.org $
 
 #
 # This file is optional; it may be removed if not needed.
@@ -40,12 +40,11 @@
 # Specify options to pass to the Java VM.
 #
 if [ "x$JAVA_OPTS" = "x" ]; then
-   JAVA_OPTS="-Xms512m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
+   JAVA_OPTS="-XX:MaxPermSize=512m -Xms512m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
 fi
 
 # Sample JPDA settings for remote socket debuging
-#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"
+#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
 
 # Sample JPDA settings for shared memory debugging 
-#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
-
+#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"

Modified: labs/jbosslabs/trunk/portal-extensions/forge-blog/binaries/jboss-blog.sar/jboss-blog.war/WEB-INF/lib/jstl.jar
===================================================================
(Binary files differ)

Modified: labs/jbosslabs/trunk/portal-extensions/forge-blog/binaries/jboss-blog.sar/lib/portal-identity-lib.jar
===================================================================
(Binary files differ)

Modified: labs/jbosslabs/trunk/portal-extensions/forge-blog/forge-blog.iml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-blog/forge-blog.iml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-blog/forge-blog.iml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -1,7 +1,35 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<module version="4" relativePaths="true" type="JAVA_MODULE">
-  <component name="ModuleRootManager" />
-  <component name="NewModuleRootManager" inherit-compiler-output="false">
+<module relativePaths="true" type="JAVA_MODULE" version="4">
+  <component name="FacetManager">
+    <facet type="web" name="Web">
+      <configuration>
+        <descriptors>
+          <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/binaries/jboss-blog.sar/jboss-blog.war/WEB-INF/web.xml" optional="false" version="2.5" />
+        </descriptors>
+        <webroots>
+          <root url="file://$MODULE_DIR$/binaries/jboss-blog.sar/jboss-blog.war" relative="/" />
+        </webroots>
+        <building>
+          <setting name="EXPLODED_URL" value="file://" />
+          <setting name="EXPLODED_ENABLED" value="false" />
+          <setting name="JAR_URL" value="file://" />
+          <setting name="JAR_ENABLED" value="false" />
+          <setting name="BUILD_MODULE_ON_FRAME_DEACTIVATION" value="false" />
+          <setting name="BUILD_EXTERNAL_DEPENDENCIES" value="false" />
+          <setting name="EXCLUDE_EXPLODED_DIRECTORY" value="true" />
+          <setting name="RUN_JASPER_VALIDATION" value="true" />
+          <setting name="BUILD_ONLY_WEB_RESOURCES" value="false" />
+        </building>
+        <packaging>
+          <containerElement type="module" name="forge-blog">
+            <attribute name="method" value="1" />
+            <attribute name="URI" value="/WEB-INF/classes" />
+          </containerElement>
+        </packaging>
+      </configuration>
+    </facet>
+  </component>
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
     <output url="file://$MODULE_DIR$/target" />
     <exclude-output />
     <content url="file://$MODULE_DIR$">

Modified: labs/jbosslabs/trunk/portal-extensions/forge-blog/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-blog/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-blog/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -54,13 +54,19 @@
             <jar>shotoku-feeds.jar</jar>
         </dependency>
 
+	<dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
+
         <dependency>
-            <groupId>jboss</groupId>
-            <artifactId>javax.servlet</artifactId>
-            <version>1.0</version>
-            <jar>javax.servlet.jar</jar>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
         </dependency>
-        <dependency>
+        
+	<dependency>
             <groupId>jboss</groupId>
             <artifactId>jboss-system</artifactId>
             <jar>jboss-system.jar</jar>

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -18,17 +18,15 @@
     
     <dependencies>
 	<dependency>
-            <groupId>jboss</groupId>
-            <artifactId>javax.servlet</artifactId>
-            <version>1.0</version>
-            <jar>javax.servlet.jar</jar>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
         </dependency>
 
         <dependency>
-            <groupId>jboss</groupId>
-            <artifactId>javax.servlet.jsp</artifactId>
-            <version>1.0</version>
-            <jar>javax.servlet.jsp.jar</jar>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
         </dependency>
 	<dependency>
 		<groupId>jaxb</groupId>
@@ -101,7 +99,14 @@
             <version>1.0</version>
             <jar>portal-server-lib.jar</jar>
         </dependency>
-    	
+
+        <dependency>
+            <groupId>jboss</groupId>
+            <artifactId>jboss-client</artifactId>
+            <version>1.0</version>
+            <jar>jboss-client.jar</jar>
+        </dependency>    
+	
 	<dependency>
 		<groupId>jboss</groupId>
 		<artifactId>ejb3-persistence</artifactId>
@@ -134,11 +139,6 @@
 		<jar>jboss-annotations-ejb3.jar</jar>
     </dependency>
     	<dependency>
-    			<groupId>jboss</groupId>
-    			<artifactId>jbossall-client</artifactId>
-    			<version>3.2.3</version>
-    		</dependency>
-    	<dependency>
             <groupId>myfaces</groupId>
             <artifactId>myfaces-all</artifactId>
             <version>1.1.1</version>

Modified: labs/jbosslabs/trunk/portal-extensions/forge-contributor/forge-contributor.iml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-contributor/forge-contributor.iml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-contributor/forge-contributor.iml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -1,7 +1,65 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<module version="4" relativePaths="true" type="JAVA_MODULE">
-  <component name="ModuleRootManager" />
-  <component name="NewModuleRootManager" inherit-compiler-output="false">
+<module relativePaths="true" type="JAVA_MODULE" version="4">
+  <component name="FacetManager">
+    <facet type="web" name="Web">
+      <configuration>
+        <descriptors>
+          <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/web/WEB-INF/web.xml" optional="false" version="2.5" />
+        </descriptors>
+        <webroots>
+          <root url="file://$MODULE_DIR$/src/web" relative="/" />
+        </webroots>
+        <building>
+          <setting name="EXPLODED_URL" value="file://" />
+          <setting name="EXPLODED_ENABLED" value="false" />
+          <setting name="JAR_URL" value="file://" />
+          <setting name="JAR_ENABLED" value="false" />
+          <setting name="BUILD_MODULE_ON_FRAME_DEACTIVATION" value="false" />
+          <setting name="BUILD_EXTERNAL_DEPENDENCIES" value="false" />
+          <setting name="EXCLUDE_EXPLODED_DIRECTORY" value="true" />
+          <setting name="RUN_JASPER_VALIDATION" value="true" />
+          <setting name="BUILD_ONLY_WEB_RESOURCES" value="false" />
+        </building>
+        <packaging>
+          <containerElement type="module" name="forge-contributor">
+            <attribute name="method" value="1" />
+            <attribute name="URI" value="/WEB-INF/classes" />
+          </containerElement>
+        </packaging>
+      </configuration>
+      <facet type="jsf" name="JSF">
+        <configuration />
+      </facet>
+    </facet>
+    <facet type="web" name="Web2">
+      <configuration>
+        <descriptors>
+          <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/target/forge-contributor/WEB-INF/web.xml" optional="false" version="2.5" />
+        </descriptors>
+        <webroots>
+          <root url="file://$MODULE_DIR$/target/forge-contributor" relative="/" />
+        </webroots>
+        <building>
+          <setting name="EXPLODED_URL" value="file://" />
+          <setting name="EXPLODED_ENABLED" value="false" />
+          <setting name="JAR_URL" value="file://" />
+          <setting name="JAR_ENABLED" value="false" />
+          <setting name="BUILD_MODULE_ON_FRAME_DEACTIVATION" value="false" />
+          <setting name="BUILD_EXTERNAL_DEPENDENCIES" value="false" />
+          <setting name="EXCLUDE_EXPLODED_DIRECTORY" value="true" />
+          <setting name="RUN_JASPER_VALIDATION" value="true" />
+          <setting name="BUILD_ONLY_WEB_RESOURCES" value="false" />
+        </building>
+        <packaging>
+          <containerElement type="module" name="forge-contributor">
+            <attribute name="method" value="1" />
+            <attribute name="URI" value="/WEB-INF/classes" />
+          </containerElement>
+        </packaging>
+      </configuration>
+    </facet>
+  </component>
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
     <output url="file://$MODULE_DIR$/target" />
     <exclude-output />
     <content url="file://$MODULE_DIR$">

Modified: labs/jbosslabs/trunk/portal-extensions/forge-contributor/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-contributor/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-contributor/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -34,12 +34,18 @@
 			<groupId>myfaces</groupId>
 			<artifactId>myfaces-api</artifactId>
 			<version>1.1.4</version>
-		</dependency>
+            <properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+        </dependency>
 		<dependency>
 			<groupId>myfaces</groupId>
 			<artifactId>myfaces-impl</artifactId>
 			<version>1.1.4</version>
-		</dependency>
+            <properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+        </dependency>
 
 		<dependency>
 			<groupId>myfaces</groupId>
@@ -49,14 +55,53 @@
 				<war.bundle>true</war.bundle>
 			</properties>
 		</dependency>
+        
+        <dependency>
+			<groupId>commons-fileupload</groupId>
+			<artifactId>commons-fileupload.jar</artifactId>
+			<version>1.1</version>
+			<jar>commons-fileupload-1.1.jar</jar>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
 		<dependency>
+			<groupId>commons-logging</groupId>
+			<artifactId>commons-logging</artifactId>
+			<version>1.1</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+        <dependency>
+			<groupId>commons-el</groupId>
+			<artifactId>commons-el</artifactId>
+			<version>1.0</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+        <dependency>
+			<groupId>commons-collections</groupId>
+			<artifactId>commons-collections</artifactId>
+			<version>3.2</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+        <dependency>
 			<groupId>commons-digester</groupId>
 			<artifactId>commons-digester</artifactId>
-			<version>1.6</version>
+			<version>1.8</version>
 			<properties>
 				<war.bundle>true</war.bundle>
 			</properties>
 		</dependency>
+
 		<dependency>
 			<groupId>commons-beanutils</groupId>
 			<artifactId>commons-beanutils</artifactId>
@@ -65,38 +110,46 @@
 				<war.bundle>true</war.bundle>
 			</properties>
 		</dependency>
+
 		<dependency>
-			<groupId>commons-codec</groupId>
-			<artifactId>commons-codec</artifactId>
-			<version>1.3</version>
+			<groupId>commons-lang</groupId>
+			<artifactId>commons-lang</artifactId>
+			<version>2.3</version>
 			<properties>
 				<war.bundle>true</war.bundle>
 			</properties>
 		</dependency>
+
 		<dependency>
-			<groupId>commons-collections</groupId>
-			<artifactId>commons-collections</artifactId>
-			<version>3.1</version>
+			<groupId>commons-io</groupId>
+			<artifactId>commons-io</artifactId>
+			<version>1.3</version>
 			<properties>
 				<war.bundle>true</war.bundle>
 			</properties>
 		</dependency>
+
 		<dependency>
-			<groupId>commons-logging</groupId>
-			<artifactId>commons-logging</artifactId>
-			<version>1.0</version>
+			<groupId>commons-codec</groupId>
+			<artifactId>commons-codec</artifactId>
+			<version>1.3</version>
 			<properties>
 				<war.bundle>true</war.bundle>
 			</properties>
 		</dependency>
 
 		<dependency>
-			<groupId>jboss</groupId>
-			<artifactId>javax.servlet</artifactId>
-			<version>1.0</version>
-			<jar>javax.servlet.jar</jar>
-		</dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
 
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
+
 		<dependency>
 			<groupId>xerces</groupId>
 			<artifactId>xercesImpl</artifactId>

Modified: labs/jbosslabs/trunk/portal-extensions/forge-contributor/src/web/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-contributor/src/web/WEB-INF/web.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-contributor/src/web/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -10,7 +10,12 @@
 		</listener-class>
 	</listener>
 
-	<filter>
+    <context-param>
+	  <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
+	  <param-value>true</param-value>
+	</context-param>
+
+    <filter>
 		<filter-name>filesFromRepoFilter</filter-name>
 		<filter-class>
 			org.jboss.forge.common.FilesFromRepoFilter

Modified: labs/jbosslabs/trunk/portal-extensions/forge-file-access/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-file-access/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-file-access/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -51,13 +51,18 @@
 	</dependency>
 	
 	<dependency>
-            <groupId>jboss</groupId>
-            <artifactId>javax.servlet</artifactId>
-            <version>1.0</version>
-            <jar>javax.servlet.jar</jar>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
         </dependency>
 
         <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
+
+        <dependency>
             <groupId>xerces</groupId>
             <artifactId>xercesImpl</artifactId>
             <version>2.6.2</version>

Modified: labs/jbosslabs/trunk/portal-extensions/forge-kosmos-portlets/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-kosmos-portlets/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-kosmos-portlets/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -89,19 +89,17 @@
     		<jar>jaxb-api.jar</jar>
     	</dependency>
 
-    	<dependency>
-    		<groupId>jboss</groupId>
-    		<artifactId>javax.servlet</artifactId>
-    		<version>1.0</version>
-    		<jar>javax.servlet.jar</jar>
-    	</dependency>
+	<dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
 
-    	<dependency>
-    		<groupId>jboss</groupId>
-    		<artifactId>javax.servlet.jsp</artifactId>
-    		<version>1.0</version>
-    		<jar>javax.servlet.jsp.jar</jar>
-    	</dependency>
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
 
     	<dependency>
     		<groupId>shotoku-cache</groupId>

Modified: labs/jbosslabs/trunk/portal-extensions/forge-login/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-login/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-login/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -40,11 +40,16 @@
     <jar>jbosssx.jar</jar>
 </dependency>
 <dependency>
-	    <groupId>jboss</groupId>
-	    <artifactId>javax.servlet</artifactId>
-	    <version>1.0</version>
-	    <jar>javax.servlet.jar</jar>
-</dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
 <dependency>
 	    <groupId>jboss-forge</groupId>
 	    <artifactId>forge-common</artifactId>

Modified: labs/jbosslabs/trunk/portal-extensions/forge-login/src/java/org/jboss/labs/login/LabsLoginModule.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-login/src/java/org/jboss/labs/login/LabsLoginModule.java	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-login/src/java/org/jboss/labs/login/LabsLoginModule.java	2007-11-12 17:19:26 UTC (rev 16539)
@@ -58,335 +58,344 @@
 /**
  * A login module that use hibernate as underlying operational environment
  * modified to take passwords from JBoss main db
- * 
+ * <p/>
  * This file is intended to work with JBoss Portal 2.2+
- * 
+ *
  * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  * @author <a href="mailto:tomasz.szymanski at jboss.com">Tomasz Szymanski</a>
- * 
  */
 public class LabsLoginModule extends UsernamePasswordLoginModule {
 
-	protected String userModuleJNDIName;
+    protected String userModuleJNDIName;
 
-	protected String additionalRole;
+    protected String additionalRole;
 
-	protected String havingRole;
+    protected String havingRole;
 
-	protected String jbossDB;
+    protected String jbossDB;
 
-	private static final String PASS_TOKEN = "AutoLoginToken.";
+    private static final String PASS_TOKEN = "AutoLoginToken.";
 
-	private static final String TOKENIZER = "<!AutoLoginTokenizer!>";
+    private static final String TOKENIZER = "<!AutoLoginTokenizer!>";
 
-	private static final String AUTLOGIN_PASSWORD = "Autologin:password";
-	
-	private UserModule userModule;
-	private RoleModule roleModule;
-	private UserProfileModule userProfileModule;
-	private MembershipModule membershipModule;
-	
-	public void initialize(Subject subject, CallbackHandler callbackHandler,
-			Map sharedState, Map options) {
-		super.initialize(subject, callbackHandler, sharedState, options);
+    private static final String AUTLOGIN_PASSWORD = "Autologin:password";
 
-		// Get data
-		userModuleJNDIName = (String) options.get("userModuleJNDIName");
-		additionalRole = (String) options.get("additionalRole");
-		havingRole = (String) options.get("havingRole");
-		jbossDB = (String) options.get("jbossdb");
+    private UserModule userModule;
+    private RoleModule roleModule;
+    private UserProfileModule userProfileModule;
+    private MembershipModule membershipModule;
 
-		try {
-			userModule = (UserModule)new InitialContext().lookup("java:portal/UserModule");
-			roleModule = (RoleModule)new InitialContext().lookup("java:portal/RoleModule");
-			userProfileModule = (UserProfileModule)new InitialContext().lookup("java:portal/UserProfileModule");
-			membershipModule = (MembershipModule)new InitialContext().lookup("java:portal/MembershipModule");
-		} catch (NamingException e) {
-			log.error(e);
-		}
-		
-		// Some info
-		log.trace("userModuleJNDIName = " + userModuleJNDIName);
-		log.trace("additionalRole = " + additionalRole);
-		log.trace("havingRole = " + havingRole);
-		log.trace("jbossdb = " + jbossDB);
-	}
+    public void initialize(Subject subject, CallbackHandler callbackHandler,
+                           Map sharedState, Map options) {
+        super.initialize(subject, callbackHandler, sharedState, options);
 
-	protected boolean validatePassword(String inputPassword,
-			String expectedPassword) {
-		final String inPassword = inputPassword;
+        // Get data
+        userModuleJNDIName = (String) options.get("userModuleJNDIName");
+        additionalRole = (String) options.get("additionalRole");
+        havingRole = (String) options.get("havingRole");
+        jbossDB = (String) options.get("jbossdb");
 
-		try {
-			TransactionManager tm = (TransactionManager) new InitialContext()
-			.lookup("java:/TransactionManager");
+        try {
+            userModule = (UserModule) new InitialContext().lookup("java:portal/UserModule");
+            roleModule = (RoleModule) new InitialContext().lookup("java:portal/RoleModule");
+            userProfileModule = (UserProfileModule) new InitialContext().lookup("java:portal/UserProfileModule");
+            membershipModule = (MembershipModule) new InitialContext().lookup("java:portal/MembershipModule");
+        } catch (NamingException e) {
+            log.error(e);
+        }
 
-			Boolean passwordValid;
+        // Some info
+        log.trace("userModuleJNDIName = " + userModuleJNDIName);
+        log.trace("additionalRole = " + additionalRole);
+        log.trace("havingRole = " + havingRole);
+        log.trace("jbossdb = " + jbossDB);
+    }
 
-			if (inputPassword.startsWith(PASS_TOKEN)) {
-				
-				log.debug("Perforiming autologin");
-				
-				String password = inputPassword.substring(PASS_TOKEN.length());
-				
-				log.debug("Whole: " + password);
-				
-				String[] tokens = password.split(TOKENIZER);
-				String key = tokens[1];
-				String pass = tokens[2];
-				//String key = ip + browser + getUsername();
-				//String pass = tokens[3];
-				
-				pass = ForgeHelper.encodeToMD5(pass);
-				
-				log.debug("Encoded pass: "+pass);
-				
-				PropertyService service = LabsServices.getPropertyService();
-				
-				String persistedPass = (String)service.getProperty(key, AUTLOGIN_PASSWORD);
-				
-				log.debug("Ip: " + "Key: " + key + "Pass: " + pass + "PersPass: " + persistedPass);
-				
-				return pass.equals(persistedPass);
-			} else {
-				passwordValid = (Boolean) Transactions.required(tm,
-						new Transactions.Runnable() {
-							public Object run() throws Exception {
-								try {
-									UserModule module = getUserModule();
-									try {
-										User user = module
-												.findUserByUserName(getUsername());
-										if (havingRole == null
-												|| PermissionTools
-														.getRoleNames(user)
-														.contains(havingRole)) {
-											if (!user.getUserName().equals(
-													"admin")) {
-												checkIfPasswordChanged(user);
-												return user
-														.validatePassword(inPassword);
-											} else {
-												return user
-														.validatePassword(inPassword);
-											}
-										} else {
-											return false;
-										}
-									} catch (NoSuchUserException e) {
-										return lookForNewUser(getRoleModule()).equals(inPassword);
-									}
-								} catch (Exception e) {
-									throw new LoginException(e.toString());
-								}
-							}
+    protected boolean validatePassword(String inputPassword,
+                                       String expectedPassword) {
+        final String inPassword = inputPassword;
 
-						});
+        try {
+            final TransactionManager tm = (TransactionManager) new InitialContext()
+                    .lookup("java:/TransactionManager");
 
-				// Returning null as password is enough to veto the login
-				return passwordValid;
-			}
+            Boolean passwordValid;
 
-		} catch (Exception e) {
-			return false;
-		}
-	}
+            if (inputPassword.startsWith(PASS_TOKEN)) {
 
-	protected String getUsersPassword() throws LoginException {
-		return "";
-	}
+                log.debug("Perforiming autologin");
 
-	private String checkIfPasswordChanged(User user) throws LoginException {
-		String password = null;
+                String password = inputPassword.substring(PASS_TOKEN.length());
 
-		if (!getUsername().equals("admin")) {
-			/*
-			 * check if password in the main db changed (not for admin account)
-			 */
-			try {
-				DataSource ds = (DataSource) new InitialContext()
-						.lookup(jbossDB);
+                log.debug("Whole: " + password);
 
-				Connection conn = ds.getConnection();
+                String[] tokens = password.split(TOKENIZER);
+                String key = tokens[1];
+                String pass = tokens[2];
+                //String key = ip + browser + getUsername();
+                //String pass = tokens[3];
 
-				Statement st = conn.createStatement();
+                pass = ForgeHelper.encodeToMD5(pass);
 
-				String sql = "SELECT * FROM nuke_users WHERE pn_uname='"
-						+ getUsername() + "';";
+                log.debug("Encoded pass: " + pass);
 
-				ResultSet rs = st.executeQuery(sql);
+                PropertyService service = LabsServices.getPropertyService();
 
-				if (rs.next()) {
-					if (!user.validatePassword(rs.getString("pn_pass"))) {
-						/*
-						 * User user = userModule
-						 * .findUserByUserName(getUsername());
-						 */
-						user.updatePassword(rs.getString("pn_pass"));
-					}
-					password = rs.getString("pn_pass");
-				}
+                String persistedPass = (String) service.getProperty(key, AUTLOGIN_PASSWORD);
 
-				conn.close();
-			} catch (Exception e) {
-				log.error("Couldn't connect to nukes database", e);
-				throw new LoginException(e.toString());
-			}
-		} else {
-			// don't execute this for admin
-			return null;
-		}
+                log.debug("Ip: " + "Key: " + key + "Pass: " + pass + "PersPass: " + persistedPass);
 
-		return password;
-	}
+                return pass.equals(persistedPass);
+            } else {
+                passwordValid =
 
-	private String lookForNewUser(RoleModule roleModule) throws LoginException {
-		// no such user (yet) - look it up in Nukes
-		// db and create if it exists
+                        (Boolean) Transactions.required(tm,
+                                new Transactions.Runnable() {
+                                    public Object run() throws Exception {
+                                        return passwordValid(inPassword);
+                                    }
 
-		String password = null;
+                                });
 
-		try {
-			/*
-			 * take password from jboss database and update forge db with pass
-			 * and user
-			 */
+                // Returning null as password is enough to veto the login
+                return passwordValid;
+            }
 
-			DataSource ds = (DataSource) new InitialContext().lookup(jbossDB);
+        } catch (Exception e) {
+            return false;
+        }
+    }
 
-			Connection conn = ds.getConnection();
+    private boolean passwordValid(String inPassword) throws LoginException {
+        try {
+            UserModule module = getUserModule();
 
-			Statement st = conn.createStatement();
+            try {
 
-			log.debug("Looking for the user " + getUsername()
-					+ " in the JBoss Database");
+                //TODO Todac tranzakcje
 
-			String sql = "SELECT * FROM nuke_users WHERE pn_uname='"
-					+ getUsername() + "';";
+                User user = module
+                        .findUserByUserName(getUsername());
+                if (havingRole == null
+                        || PermissionTools
+                        .getRoleNames(user)
+                        .contains(havingRole)) {
+                    if (!user.getUserName().equals(
+                            "admin")) {
+                        checkIfPasswordChanged(user);
+                        return user
+                                .validatePassword(inPassword);
+                    } else {
+                        return user
+                                .validatePassword(inPassword);
+                    }
+                } else {
+                    return false;
+                }
+            } catch (NoSuchUserException e) {
+                return lookForNewUser(getRoleModule()).equals(inPassword);
+            }
+        } catch (Exception e) {
+            throw new LoginException(e.toString());
+        }
+    }
 
-			ResultSet rs = st.executeQuery(sql);
+    protected String getUsersPassword() throws LoginException {
+        return "";
+    }
 
-			User user = null;
+    private String checkIfPasswordChanged(User user) throws LoginException {
+        String password = null;
 
-			if (rs.next()) {
-				log.debug("User " + getUsername()
-						+ " found in the JBoss Database.");
-				try {
-					// System.out.println("Taking pass for user " +
-					// getUsername());
+        if (!getUsername().equals("admin")) {
+            /*
+                * check if password in the main db changed (not for admin account)
+                */
+            try {
+                DataSource ds = (DataSource) new InitialContext()
+                        .lookup(jbossDB);
 
-					user = userModule.createUser(getUsername(), rs
-							.getString("pn_pass"));
-					userProfileModule.setProperty(user, User.INFO_USER_EMAIL_REAL, rs.getString("pn_email"));
-					userProfileModule.setProperty(user, User.INFO_USER_EMAIL_FAKE, rs.getString("pn_femail"));
-					userProfileModule.setProperty(user, User.INFO_USER_NAME_GIVEN, rs.getString("pn_fname"));
-					userProfileModule.setProperty(user, User.INFO_USER_NAME_FAMILY, rs.getString("pn_lname"));
-					userProfileModule.setProperty(user, User.INFO_USER_ENABLED, true);
+                Connection conn = ds.getConnection();
 
-					log.info("User " + getUsername()
-							+ " added to Labs Database.");
+                Statement st = conn.createStatement();
 
-					// Add the user to the default
-					// user role
-					String defaultRole = "User";// getPortletConfig().getInitParameter(UserPortletConstants.DEFAULT_ROLE);
-					if (defaultRole != null) {
-						Set roleSet = new HashSet();
-						Role role = roleModule.findRoleByName(defaultRole);
-						if (role != null) {
-							roleSet.add(role);
-							membershipModule.assignRoles(user, roleSet);
-						} else {
-							log
-									.error("The role you specified as default role does not exist, check your portlet configuration");
-						}
-					} else {
-						log
-								.info("You didn't specify a default role in the portlet init configuration, please refer to the documentation");
-					}
-				} catch (IllegalArgumentException e) {
-					log.error("Cannot create user " + getUsername(), e);
+                String sql = "SELECT * FROM nuke_users WHERE pn_uname='"
+                        + getUsername() + "';";
 
-					throw new LoginException(e.toString());
-				}
+                ResultSet rs = st.executeQuery(sql);
 
-				if (user != null
-						&& (havingRole == null || PermissionTools.getRoleNames(
-								user).contains(havingRole))) {
-					/*
-					 * User has been just created and it's only in the defaule
-					 * role.
-					 */
-					password = rs.getString("pn_pass");
-				} else {
-					return null;
-				}
+                if (rs.next()) {
+                    if (!user.validatePassword(rs.getString("pn_pass"))) {
+                        /*
+                               * User user = userModule
+                               * .findUserByUserName(getUsername());
+                               */
+                        user.updatePassword(rs.getString("pn_pass"));
+                    }
+                    password = rs.getString("pn_pass");
+                }
 
-			} else {
-				log.info("User " + getUsername()
-						+ " couldn't been found in the JBoss Database.");
-			}
-			conn.close();
-		} catch (Exception e) {
-			log.error("Couldn't connect to nukes database", e);
-			throw new LoginException(e.toString());
-		}
-		return password;
-	}
+                conn.close();
+            } catch (Exception e) {
+                log.error("Couldn't connect to nukes database", e);
+                throw new LoginException(e.toString());
+            }
+        } else {
+            // don't execute this for admin
+            return null;
+        }
 
-	protected Group[] getRoleSets() throws LoginException {
-		try {
-			TransactionManager tm = (TransactionManager) new InitialContext()
-					.lookup("java:/TransactionManager");
-			return (Group[]) Transactions.required(tm,
-					new Transactions.Runnable() {
-						public Object run() throws Exception {
-							try {
-								UserModule module = getUserModule();
-								User user = module
-										.findUserByUserName(getUsername());
-								List<String> roleNames = PermissionTools
-										.getRoleNames(user);
+        return password;
+    }
 
-								//
-								Group rolesGroup = new SimpleGroup("Roles");
+    private String lookForNewUser(RoleModule roleModule) throws LoginException {
+        // no such user (yet) - look it up in Nukes
+        // db and create if it exists
 
-								//
-								if (additionalRole != null) {
-									rolesGroup
-											.addMember(createIdentity(additionalRole));
-								}
+        String password = null;
 
-								//
-								for (Iterator iterator = roleNames.iterator(); iterator
-										.hasNext();) {
-									String roleName = (String) iterator.next();
-									try {
-										Principal p = createIdentity(roleName);
-										rolesGroup.addMember(p);
-									} catch (Exception e) {
-										log.debug("Failed to create principal "
-												+ roleName, e);
-									}
-								}
+        try {
+            /*
+                * take password from jboss database and update forge db with pass
+                * and user
+                */
 
-								//
-								return new Group[] { rolesGroup };
-							} catch (Exception e) {
-								throw new LoginException(e.toString());
-							}
-						}
-					});
-		} catch (Exception e) {
-			Throwable cause = e.getCause();
-			throw new LoginException(cause.toString());
-		}
-	}
+            DataSource ds = (DataSource) new InitialContext().lookup(jbossDB);
 
-	public RoleModule getRoleModule() {
-		return roleModule;
-	}
+            Connection conn = ds.getConnection();
 
-	public UserModule getUserModule() {
-		return userModule;
-	}
+            Statement st = conn.createStatement();
 
+            log.debug("Looking for the user " + getUsername()
+                    + " in the JBoss Database");
+
+            String sql = "SELECT * FROM nuke_users WHERE pn_uname='"
+                    + getUsername() + "';";
+
+            ResultSet rs = st.executeQuery(sql);
+
+            User user = null;
+
+            if (rs.next()) {
+                log.debug("User " + getUsername()
+                        + " found in the JBoss Database.");
+                try {
+                    // System.out.println("Taking pass for user " +
+                    // getUsername());
+
+                    user = userModule.createUser(getUsername(), rs
+                            .getString("pn_pass"));
+                    userProfileModule.setProperty(user, User.INFO_USER_EMAIL_REAL, rs.getString("pn_email"));
+                    userProfileModule.setProperty(user, User.INFO_USER_EMAIL_FAKE, rs.getString("pn_femail"));
+                    userProfileModule.setProperty(user, User.INFO_USER_NAME_GIVEN, rs.getString("pn_fname"));
+                    userProfileModule.setProperty(user, User.INFO_USER_NAME_FAMILY, rs.getString("pn_lname"));
+                    userProfileModule.setProperty(user, User.INFO_USER_ENABLED, true);
+
+                    log.info("User " + getUsername()
+                            + " added to Labs Database.");
+
+                    // Add the user to the default
+                    // user role
+                    String defaultRole = "User";// getPortletConfig().getInitParameter(UserPortletConstants.DEFAULT_ROLE);
+                    if (defaultRole != null) {
+                        Set roleSet = new HashSet();
+                        Role role = roleModule.findRoleByName(defaultRole);
+                        if (role != null) {
+                            roleSet.add(role);
+                            membershipModule.assignRoles(user, roleSet);
+                        } else {
+                            log
+                                    .error("The role you specified as default role does not exist, check your portlet configuration");
+                        }
+                    } else {
+                        log
+                                .info("You didn't specify a default role in the portlet init configuration, please refer to the documentation");
+                    }
+                } catch (IllegalArgumentException e) {
+                    log.error("Cannot create user " + getUsername(), e);
+
+                    throw new LoginException(e.toString());
+                }
+
+                if (user != null
+                        && (havingRole == null || PermissionTools.getRoleNames(
+                        user).contains(havingRole))) {
+                    /*
+                          * User has been just created and it's only in the defaule
+                          * role.
+                          */
+                    password = rs.getString("pn_pass");
+                } else {
+                    return null;
+                }
+
+            } else {
+                log.info("User " + getUsername()
+                        + " couldn't been found in the JBoss Database.");
+            }
+            conn.close();
+        } catch (Exception e) {
+            log.error("Couldn't connect to nukes database", e);
+            throw new LoginException(e.toString());
+        }
+        return password;
+    }
+
+    protected Group[] getRoleSets() throws LoginException {
+        try {
+            TransactionManager tm = (TransactionManager) new InitialContext()
+                    .lookup("java:/TransactionManager");
+            return (Group[]) Transactions.required(tm,
+                    new Transactions.Runnable() {
+                        public Object run() throws Exception {
+                            try {
+                                UserModule module = getUserModule();
+                                User user = module
+                                        .findUserByUserName(getUsername());
+                                List<String> roleNames = PermissionTools
+                                        .getRoleNames(user);
+
+                                //
+                                Group rolesGroup = new SimpleGroup("Roles");
+
+                                //
+                                if (additionalRole != null) {
+                                    rolesGroup
+                                            .addMember(createIdentity(additionalRole));
+                                }
+
+                                //
+                                for (Iterator iterator = roleNames.iterator(); iterator
+                                        .hasNext();) {
+                                    String roleName = (String) iterator.next();
+                                    try {
+                                        Principal p = createIdentity(roleName);
+                                        rolesGroup.addMember(p);
+                                    } catch (Exception e) {
+                                        log.debug("Failed to create principal "
+                                                + roleName, e);
+                                    }
+                                }
+
+                                //
+                                return new Group[]{rolesGroup};
+                            } catch (Exception e) {
+                                throw new LoginException(e.toString());
+                            }
+                        }
+                    });
+        } catch (Exception e) {
+            Throwable cause = e.getCause();
+            throw new LoginException(cause.toString());
+        }
+    }
+
+    public RoleModule getRoleModule() {
+        return roleModule;
+    }
+
+    public UserModule getUserModule() {
+        return userModule;
+    }
+
 }

Modified: labs/jbosslabs/trunk/portal-extensions/forge-login-portlet/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-login-portlet/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-login-portlet/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -24,11 +24,17 @@
 	    <version>1.0</version>
 	</dependency>
     
-    <dependency>
-                <groupId>jboss</groupId>
-                <artifactId>javax.servlet</artifactId>
-                <version>1.0</version>
-                <jar>javax.servlet.jar</jar>
-    </dependency>
-   </dependencies>
+   
+	<dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
+</dependencies>
 </project>

Modified: labs/jbosslabs/trunk/portal-extensions/forge-mapper/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-mapper/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-mapper/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -21,14 +21,19 @@
                 <artifactId>forge-common</artifactId>
                 <version>1.0</version>
             </dependency>
-            <dependency>
+	<dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>    
+	<dependency>
                 <groupId>jboss</groupId>
-                <artifactId>javax.servlet</artifactId>
-                <version>1.0</version>
-                <jar>javax.servlet.jar</jar>
-            </dependency>
-	    <dependency>
-                <groupId>jboss</groupId>
                 <artifactId>portal-core-lib</artifactId>
                 <version>1.0</version>
                 <jar>portal-core-lib.jar</jar>

Modified: labs/jbosslabs/trunk/portal-extensions/forge-mapper/src/java/org/jboss/labs/mapper/command/PortalObjectCFImpl.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-mapper/src/java/org/jboss/labs/mapper/command/PortalObjectCFImpl.java	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-mapper/src/java/org/jboss/labs/mapper/command/PortalObjectCFImpl.java	2007-11-12 17:19:26 UTC (rev 16539)
@@ -75,7 +75,7 @@
         
         // Get the window navigational state
         WindowNavigationalState windowNavState = MapperTools.getWindowNavState(controllerContext, window);
-
+              
         //
         WindowState windowState = decoder.getWindowState();
         if (windowState == null) {

Modified: labs/jbosslabs/trunk/portal-extensions/forge-portal-attr/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-portal-attr/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-portal-attr/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -24,11 +24,16 @@
 	</dependency>
     
 	<dependency>
-            <groupId>jboss</groupId>
-            <artifactId>javax.servlet</artifactId>
-            <version>1.0</version>
-            <jar>javax.servlet.jar</jar>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
         </dependency>
+
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
 	
 	<dependency>
             <groupId>jboss</groupId>

Modified: labs/jbosslabs/trunk/portal-extensions/forge-portlets/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-portlets/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-portlets/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -40,23 +40,105 @@
             </properties>
         </dependency>
         <dependency>
-            <groupId>jboss</groupId>
-            <artifactId>javax.servlet.jsp</artifactId>
-            <version>1.0</version>
-            <jar>javax.servlet.jsp.jar</jar>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
         </dependency>
+
         <dependency>
-            <groupId>jboss</groupId>
-            <artifactId>javax.servlet</artifactId>
-            <version>1.0</version>
-            <jar>javax.servlet.jar</jar>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
         </dependency>
-        <dependency>
+	<dependency>
             <groupId>myfaces</groupId>
             <artifactId>myfaces-all</artifactId>
             <version>1.1.1</version>
+            <properties>
+				<war.bundle>true</war.bundle>
+			</properties>
         </dependency>
         <dependency>
+			<groupId>commons-fileupload</groupId>
+			<artifactId>commons-fileupload.jar</artifactId>
+			<version>1.1</version>
+			<jar>commons-fileupload-1.1.jar</jar>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+        <dependency>
+			<groupId>commons-logging</groupId>
+			<artifactId>commons-logging</artifactId>
+			<version>1.1</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+        <dependency>
+			<groupId>commons-el</groupId>
+			<artifactId>commons-el</artifactId>
+			<version>1.0</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+        <dependency>
+			<groupId>commons-collections</groupId>
+			<artifactId>commons-collections</artifactId>
+			<version>3.2</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+        <dependency>
+			<groupId>commons-digester</groupId>
+			<artifactId>commons-digester</artifactId>
+			<version>1.8</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+		<dependency>
+			<groupId>commons-beanutils</groupId>
+			<artifactId>commons-beanutils</artifactId>
+			<version>1.7.0</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+		<dependency>
+			<groupId>commons-lang</groupId>
+			<artifactId>commons-lang</artifactId>
+			<version>2.3</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+		<dependency>
+			<groupId>commons-io</groupId>
+			<artifactId>commons-io</artifactId>
+			<version>1.3</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+		<dependency>
+			<groupId>commons-codec</groupId>
+			<artifactId>commons-codec</artifactId>
+			<version>1.3</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+        <dependency>
             <groupId>jaxb</groupId>
             <artifactId>JAXB2</artifactId>
             <version>2.0</version>

Modified: labs/jbosslabs/trunk/portal-extensions/forge-portlets/src/web/WEB-INF/web.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-portlets/src/web/WEB-INF/web.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-portlets/src/web/WEB-INF/web.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -24,6 +24,11 @@
 	  <dispatcher>INCLUDE</dispatcher>
 	</filter-mapping>
     -->
+
+    <context-param>
+	  <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
+	  <param-value>true</param-value>
+	</context-param>
     
     <!-- MyFaces --> 
     <listener>

Modified: labs/jbosslabs/trunk/portal-extensions/forge-theme/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-theme/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/forge-theme/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -40,11 +40,15 @@
 	</dependency>
 	
 	<dependency>
-	    	<groupId>jboss</groupId>
-	        <artifactId>javax.servlet</artifactId>
-	        <version>1.0</version>
-	        <jar>javax.servlet.jar</jar>
-	</dependency>	
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
 
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
     </dependencies>
 </project>

Modified: labs/jbosslabs/trunk/portal-extensions/jboss-forums/forums-portlets/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/jboss-forums/forums-portlets/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/jboss-forums/forums-portlets/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -37,11 +37,16 @@
 			</properties>
 		</dependency>
 		<dependency>
-			<groupId>jboss</groupId>
-			<artifactId>javax.servlet</artifactId>
-			<version>1.0</version>
-			<jar>javax.servlet.jar</jar>
-		</dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
 		<dependency>
 			<groupId>myfaces</groupId>
 			<artifactId>myfaces-all</artifactId>

Modified: labs/jbosslabs/trunk/portal-extensions/jbosswiki/forge-wiki/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/jbosswiki/forge-wiki/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/jbosswiki/forge-wiki/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -51,13 +51,19 @@
 			</properties>
 		</dependency>   -->
 
+	
 		<dependency>
-			<groupId>jboss</groupId>
-			<artifactId>javax.servlet</artifactId>
-			<version>1.0</version>
-			<jar>javax.servlet.jar</jar>
-		</dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
 
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
+
 		<dependency>
 			<groupId>wiki-common</groupId>
 			<artifactId>wiki-common</artifactId>
@@ -70,13 +76,6 @@
 
 		<dependency>
 			<groupId>jboss</groupId>
-			<artifactId>javax.servlet.jsp</artifactId>
-			<version>1.0</version>
-			<jar>javax.servlet.jsp.jar</jar>
-		</dependency>
-
-		<dependency>
-			<groupId>jboss</groupId>
 			<artifactId>activation</artifactId>
 			<version>1.0</version>
 			<jar>activation.jar</jar>
@@ -93,6 +92,24 @@
 		</dependency>
 		
 		<dependency>
+			<groupId>commons-logging</groupId>
+			<artifactId>commons-logging</artifactId>
+			<version>1.1</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+        <dependency>
+			<groupId>commons-el</groupId>
+			<artifactId>commons-el</artifactId>
+			<version>1.0</version>
+			<properties>
+				<war.bundle>true</war.bundle>
+			</properties>
+		</dependency>
+
+        <dependency>
 			<groupId>commons-collections</groupId>
 			<artifactId>commons-collections</artifactId>
 			<version>3.2</version>
@@ -100,8 +117,8 @@
 				<war.bundle>true</war.bundle>
 			</properties>
 		</dependency>
-		
-		<dependency>
+
+        <dependency>
 			<groupId>commons-digester</groupId>
 			<artifactId>commons-digester</artifactId>
 			<version>1.8</version>

Modified: labs/jbosslabs/trunk/portal-extensions/jbosswiki/wiki-common/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/jbosswiki/wiki-common/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/jbosswiki/wiki-common/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -43,18 +43,16 @@
 	<dependencies>
 
 		<dependency>
-			<groupId>jboss</groupId>
-			<artifactId>javax.servlet</artifactId>
-			<version>1.0</version>
-			<jar>javax.servlet.jar</jar>
-		</dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
 
-		<dependency>
-			<groupId>jboss</groupId>
-			<artifactId>javax.servlet.jsp</artifactId>
-			<version>1.0</version>
-			<jar>javax.servlet.jsp.jar</jar>
-		</dependency>
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
 
 		<dependency>
 			<groupId>junit</groupId>

Modified: labs/jbosslabs/trunk/portal-extensions/jbosswiki/wiki-test/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/jbosswiki/wiki-test/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/jbosswiki/wiki-test/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -58,18 +58,16 @@
 	    </dependency>
 	    
 		<dependency>
-	        <groupId>jboss</groupId>
-	        <artifactId>javax.servlet</artifactId>
-	        <version>1.0</version>
-	        <jar>javax.servlet.jar</jar>
-	    </dependency>
-	
-		<dependency>
-	        <groupId>jboss</groupId>
-	        <artifactId>javax.servlet.jsp</artifactId>
-	        <version>1.0</version>
-	        <jar>javax.servlet.jsp.jar</jar>
-	    </dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
 	    
 	    <dependency>
             <groupId>junit</groupId>

Modified: labs/jbosslabs/trunk/portal-extensions/maven.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/maven.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/maven.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -16,9 +16,9 @@
 
     <!-- AOP instrumentation -->
     <goal name="aop-instrument">
-        <ant:taskdef name="aopc" classname="org.jboss.aop.ant.AopC">
+	<ant:taskdef name="aopc" classname="org.jboss.aop.ant.AopC">
             <ant:classpath>
-                <ant:path refid="maven.dependency.classpath"/>
+		<ant:path refid="maven.dependency.classpath"/>
             </ant:classpath>
         </ant:taskdef>
         <ant:aopc verbose="false">
@@ -28,7 +28,8 @@
             <ant:classpath>
                 <ant:path refid="maven.dependency.classpath"/>
                 <ant:pathelement location="${maven.build.dest}" />
-            </ant:classpath>
+            	<ant:fileset dir="${maven.repo.local}/jboss/jars" />
+	    </ant:classpath>
         </ant:aopc>
     </goal>
 
@@ -123,6 +124,9 @@
 		<ant:copy todir="${maven.repo.local}/jboss/jars" overwrite="true">
 			<ant:fileset dir="binaries/as/to-copy/lib/endorsed" />
 		</ant:copy>
+                <ant:copy todir="${maven.repo.local}/jboss/jars" overwrite="true">
+                        <ant:fileset dir="binaries/as/to-copy/client" />
+                </ant:copy>
 		<ant:copy todir="${maven.repo.local}/jboss/jars" overwrite="true">
 			<ant:fileset dir="binaries/as/to-copy/server/default/lib" />
 		</ant:copy>
@@ -133,7 +137,9 @@
 			<ant:fileset dir="binaries/as/to-copy/server/default/deploy/jboss-aop-jdk50.deployer" includes="*.jar" />
 		</ant:copy>
 		<ant:copy todir="${maven.repo.local}/jboss/jars" overwrite="true">
-			<ant:fileset dir="binaries/portal/to-copy/jboss-portal.sar/lib" />
+			<ant:fileset dir="binaries/portal/to-copy/jboss-portal.sar/lib">
+				<exclude name="**/javassist*" />
+			</ant:fileset>
 		</ant:copy>
 		<ant:copy todir="${maven.repo.local}/jboss/jars" overwrite="true"
 				file="binaries/portal/to-copy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-faces-lib.jar" />
@@ -195,7 +201,7 @@
 
 Available goals:
 - help - prints this info
-- install - install JBoss AS, EJB3, Portal into a directory specified in build.properties.
+- install - install JBoss AS, Portal into a directory specified in build.properties.
 - clean - clean all projects.
 - build - build all projects.
 - deploy - deploy all projects.
@@ -225,7 +231,7 @@
 
 	<goal name="install">
 		<echo>
-Installing JBoss AS 4.0.5, EJB3 RC9, Portal 2.6.1 to the specified directory (${local.deploy.dir}).
+Installing JBoss AS 4.2.2, Portal 2.6.2 to the specified directory (${local.deploy.dir}).
 		</echo>
 		
 		<attainGoal name="install-as" />

Modified: labs/jbosslabs/trunk/portal-extensions/portal-default/project.xml
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/portal-default/project.xml	2007-11-12 16:06:05 UTC (rev 16538)
+++ labs/jbosslabs/trunk/portal-extensions/portal-default/project.xml	2007-11-12 17:19:26 UTC (rev 16539)
@@ -21,11 +21,16 @@
                 <artifactId>forge-common</artifactId>
                 <version>1.0</version>
             </dependency>
-            <dependency>
-                <groupId>jboss</groupId>
-                <artifactId>javax.servlet</artifactId>
-                <version>1.0</version>
-                <jar>javax.servlet.jar</jar>
-            </dependency>
-        </dependencies>
+       		<dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.4</version>
+        </dependency>
+	</dependencies>
 </project>




More information about the jboss-svn-commits mailing list